[Bug 810059] opencl-utils - Useful OpenCL tools and utilities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=810059

--- Comment #10 from Jeremy Newton <alexjnewt@xxxxxxxxxxx> 2012-04-06 11:34:43 EDT ---
(In reply to comment #8)
> Basically, its all about the Makefile. Although it's extremely small, it's
> broken: the dependencies are wrong, make clean is incomplete, it does not
> respect CFLAGS.
> 
> I attach a new Makefile. It's so small that a diff makes no sense. It can be
> used something like this:
> 
> env CFLAGS="%{optflags} -Wl,-soname=libcrun.so.%{version}" make
> 
> Doing so, the debuginfo thing should be solver as well as the missing
> %{optflags}
> 
> I'm still worried about the packages. Basically, this is just a library and as
> such the "standard procedure" would be:
> 
> Base package: opencl-utils: *.so.*, %doc e. g. the example files.
> Devel package: the header files
> debug packagge.
> 
> I just don't see why this should be different. Why package the complete
> sources? Why have a separate package for for clrun? In particular, packaging
> sources in the include directory is plain wrong IMHO. If they need to be
> packaged (why) they should live somewhere else e. g. in /usr/share/opencl-utils
> or just as %doc.

I guess the non header files can be removed now that I don't need them anymore,
I can agree in some sense to remove them.
As for the separate package for clrun, I'm only matching upstream's naming
scheme. Sure it may not make sense but there doesn't seem to be any guideline
speaking against it, and if anything the guidelines encourages to be as close
to upstream as possible.
The organization seems to make sense:
CLRUN - just the library
CLRUN-devel - the devel files for CLRUN
devel - The files not specific to CLRUN

The main point is that if anyone decides to contribute another library to this
package it should be fairly easy without having to move everything around.

(In reply to comment #9)
> Created attachment 575645 [details]
> ALternative Makefile, clean-up, respects CFLAGS.

Thanks a lot! I'll give it a shot :)

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]