FS#13905 - [awesome] .in files in package
Attached to Project:
Community Packages
Opened by Damjan Georgievski (damjan) - Saturday, 21 March 2009, 18:48 GMT
Last edited by Ronald van Haren (pressh) - Thursday, 04 June 2009, 11:26 GMT
Opened by Damjan Georgievski (damjan) - Saturday, 21 March 2009, 18:48 GMT
Last edited by Ronald van Haren (pressh) - Thursday, 04 June 2009, 11:26 GMT
|
Details
The awesome package contains .in file like for ex:
awesome /usr/share/awesome/lib/awful/client.lua awesome /usr/share/awesome/lib/awful/client.lua.in the .in files are used in the build system and are templates for the actual .lua files that are used. As such they are totally unneeded in /usr/share. I don't know if this is a bug with the Arch package or upstream. Additional info: Repository : community Name : awesome Version : 3.2-1 |
This task depends upon
Closed by Ronald van Haren (pressh)
Thursday, 04 June 2009, 11:26 GMT
Reason for closing: Implemented
Additional comments about closing: awesome 3.3-1
Thursday, 04 June 2009, 11:26 GMT
Reason for closing: Implemented
Additional comments about closing: awesome 3.3-1
Also .. my specifics would be lost where noone can see them.
Do you thinkg I'm doning this to annoy you?!? Or to make Arch's packages better? C'mon.
The problem is that the Arch package didn't properly build Awesome in the first place, but awesome also didn't make it easy to be properly built. I've suggested a patch to the awesome project and it was implemented, now the PKGBUILD in Arch needs to be changed.
a little context: the build system of Awesome was desinged so that it's built in a separate "build" directory. That's what just "make" in the root of the source directory would do.
Invoking "cmake ..." in the root of the source directory would overwrite the original Makefile, and break this. But there was no easy way to specify install PREFIX and other cmake parameters otherwise.
But now, in at least 3.3-rc2, awesome already has a patch that makes it very easy, the PKGBUILD will need to something like this:
build () {
cd ${srcdir}/${pkgname}-${pkgver}
make CMAKE_ARGS=" -DPREFIX=/usr -DSYSCONFDIR=/etc -DCMAKE_BUILD_TYPE=RELEASE" || return 1
make DESTDIR=${pkgdir} install || return 1
...
so, no explicit invocation of "cmake" is needed.
I was wrong, this is the commit just after -rc2 was tagged.