dlm: master - dlm: clear out old stuff and build system
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi David,
you have gone a bit too heavy handed on this one :)
On 09/30/2011 11:57 PM, David Teigland wrote:
dlm: clear out old stuff and build system
---
dlm/libdlm/libdlm.pc.in | 11 - dlm/libdlm/libdlm_lt.pc.in | 11 -
dropping the .pc file is going to break dlm users.
pc files are used by different build systems (not just autotools/autoconf) to detect libdlm and link against it correctly.
Similar to what you use for libxml2 in your new build system, they provide pkg-config information.
doc/COPYING.applications | 339 -------- doc/COPYING.libraries | 510 ------------ doc/COPYRIGHT | 42 - doc/README.licence | 33 -
You need those files to keep the project under the proper licence and copyright to the right people.
Even if they are not in this exact form, you will need COPYING.app|libs and a COPYRIGHT file. Alternatively you need to add those info to each file in the project.
Fabio
Quoted 10 lines
dlm/libdlm/libdlm.pc.in | 11 - dlm/libdlm/libdlm_lt.pc.in | 11 -dropping the .pc file is going to break dlm users.
pc files are used by different build systems (not just autotools/autoconf) to detect libdlm and link against it correctly.
Similar to what you use for libxml2 in your new build system, they provide pkg-config information.
ok, I've pushed this out, including this which I suspect is not quite correct:
DESTDIR=
PREFIX=/usr
LIBDIR=/usr/lib64
HDRDIR=/usr/include
MANDIR=/usr/share/man
PKGDIR=/usr/lib64/pkgconfig
UDEVDIR=/etc/udev/rules.d
Should all references to /usr be $(PREFIX) instead?
Quoted 3 lines
Even if they are not in this exact form, you will need COPYING.app|libs and a COPYRIGHT file. Alternatively you need to add those info to each file in the project.
yep, getting there
Quoted 22 lines · David Teigland
Quoted 10 lines
dlm/libdlm/libdlm.pc.in | 11 - dlm/libdlm/libdlm_lt.pc.in | 11 -dropping the .pc file is going to break dlm users.
pc files are used by different build systems (not just autotools/autoconf) to detect libdlm and link against it correctly.
Similar to what you use for libxml2 in your new build system, they provide pkg-config information.
ok, I've pushed this out, including this which I suspect is not quite correct:
DESTDIR=
PREFIX=/usr
LIBDIR=/usr/lib64
HDRDIR=/usr/include
MANDIR=/usr/share/man
PKGDIR=/usr/lib64/pkgconfig
UDEVDIR=/etc/udev/rules.d
Quoted 1 line
Should all references to /usr be $(PREFIX) instead?
yes, that's correct. /usr -> $(PREFIX)
There is also a more generic problem that lib64 is not always correct and depends on architecture, distribution and in some extreme cases multiarch implementation (something somewhat new that's being pushed hard in Debian)
Most ./configure would detect it correctly, but in your case, set a default that allows override (same way as you handle PREFIX).
One minor nit-pick, UDEVDIR upstream has changed to /lib/udev/rules.d (/lib is hardcoded and doesn't change to /lib64 like it does for libraries). We never changed STABLE31 since /etc/ still works, but by the time the new dlm will be available, we should move it in the right location.
Fabio