From b3d32ec569b8cd7efcb7a332d896eecd9681af02 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 27 Jan 2015 13:56:36 +0100 Subject: Fully rework the way nx-libs gets packaged for Debian/Ubuntu. * Debian/Ubuntu packaging: + Fully rework the way nx-libs gets packaged for Debian/Ubuntu. + Split up libnx-x11 into individual packages. + Provide dbg:packages for each bin:package containing binaries. + Use Makefile logic to install files into DESTDIR. + Provide dev:packages for each lib:package individually. + Provide nx-x11proto-*-dev packages for all libnx-* libraries. + Install _all_ library files (*.so*) to /usr/lib//, so no extra settings of LD_LIBRARY_PATH is necessary. --- ...4_nxcompshad_makefile-uninstall+autoconf.full.patch | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'debian/patches/014_nxcompshad_makefile-uninstall+autoconf.full.patch') diff --git a/debian/patches/014_nxcompshad_makefile-uninstall+autoconf.full.patch b/debian/patches/014_nxcompshad_makefile-uninstall+autoconf.full.patch index 057763505..921eccc4f 100644 --- a/debian/patches/014_nxcompshad_makefile-uninstall+autoconf.full.patch +++ b/debian/patches/014_nxcompshad_makefile-uninstall+autoconf.full.patch @@ -38,12 +38,12 @@ Last-Update: 2012-02-14 install.bin: +install.lib: all -+ $(INSTALL_DIR) $(DESTDIR)${libdir}/nx ++ $(INSTALL_DIR) $(DESTDIR)${libdir} + $(INSTALL_DIR) $(DESTDIR)${includedir}/nx -+ $(INSTALL_DATA) $(LIBFULL) $(DESTDIR)${libdir}/nx -+ $(INSTALL_LINK) libXcompshad.so.3 $(DESTDIR)${libdir}/nx -+ $(INSTALL_LINK) libXcompshad.so $(DESTDIR)${libdir}/nx -+ $(INSTALL_DATA) *.a $(DESTDIR)${libdir}/nx ++ $(INSTALL_DATA) $(LIBFULL) $(DESTDIR)${libdir} ++ $(INSTALL_LINK) libXcompshad.so.3 $(DESTDIR)${libdir} ++ $(INSTALL_LINK) libXcompshad.so $(DESTDIR)${libdir} ++ $(INSTALL_DATA) *.a $(DESTDIR)${libdir} + $(INSTALL_DATA) *.h $(DESTDIR)${includedir}/nx + echo "Running ldconfig tool, this may take a while..." && ldconfig || true + @@ -54,10 +54,10 @@ Last-Update: 2012-02-14 +uninstall.bin: + +uninstall.lib: -+ $(RM_FILE) $(DESTDIR)${libdir}/nx/$(LIBFULL) -+ $(RM_FILE) $(DESTDIR)${libdir}/nx/libXcompshad.so.3 -+ $(RM_FILE) $(DESTDIR)${libdir}/nx/libXcompshad.so -+ $(RM_FILE) $(DESTDIR)${libdir}/nx/libXcompshad.a ++ $(RM_FILE) $(DESTDIR)${libdir}/$(LIBFULL) ++ $(RM_FILE) $(DESTDIR)${libdir}/libXcompshad.so.3 ++ $(RM_FILE) $(DESTDIR)${libdir}/libXcompshad.so ++ $(RM_FILE) $(DESTDIR)${libdir}/libXcompshad.a + for header in *.h; do $(RM_FILE) $(DESTDIR)${includedir}/nx/$$header; done + $(RM_DIR) $(DESTDIR)${libdir}/nx/ + $(RM_DIR) $(DESTDIR)${includedir}/nx/ -- cgit v1.2.3