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. --- .../013_nxcompext_makefile-uninstall+autoconf.full.patch | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'debian/patches/013_nxcompext_makefile-uninstall+autoconf.full.patch') diff --git a/debian/patches/013_nxcompext_makefile-uninstall+autoconf.full.patch b/debian/patches/013_nxcompext_makefile-uninstall+autoconf.full.patch index b704fc1bd..300c0a39e 100644 --- a/debian/patches/013_nxcompext_makefile-uninstall+autoconf.full.patch +++ b/debian/patches/013_nxcompext_makefile-uninstall+autoconf.full.patch @@ -37,11 +37,11 @@ Last-Update: 2012-02-14 install.bin: +install.lib: all -+ ./mkinstalldirs $(DESTDIR)${libdir}/nx ++ ./mkinstalldirs $(DESTDIR)${libdir} + ./mkinstalldirs $(DESTDIR)${includedir}/nx -+ $(INSTALL_DATA) $(LIBFULL) $(DESTDIR)${libdir}/nx -+ $(INSTALL_LINK) libXcompext.so.3 $(DESTDIR)${libdir}/nx -+ $(INSTALL_LINK) libXcompext.so $(DESTDIR)${libdir}/nx ++ $(INSTALL_DATA) $(LIBFULL) $(DESTDIR)${libdir} ++ $(INSTALL_LINK) libXcompext.so.3 $(DESTDIR)${libdir} ++ $(INSTALL_LINK) libXcompext.so $(DESTDIR)${libdir} + $(INSTALL_DATA) NX*.h $(DESTDIR)${includedir}/nx + echo "Running ldconfig tool, this may take a while..." && ldconfig || true + @@ -52,9 +52,9 @@ Last-Update: 2012-02-14 +uninstall.bin: + +uninstall.lib: -+ $(RM_FILE) $(DESTDIR)${libdir}/nx/$(LIBFULL) -+ $(RM_FILE) $(DESTDIR)${libdir}/nx/libXcompext.so.3 -+ $(RM_FILE) $(DESTDIR)${libdir}/nx/libXcompext.so ++ $(RM_FILE) $(DESTDIR)${libdir}/$(LIBFULL) ++ $(RM_FILE) $(DESTDIR)${libdir}/libXcompext.so.3 ++ $(RM_FILE) $(DESTDIR)${libdir}/libXcompext.so + $(RM_FILE) $(DESTDIR)${includedir}/nx/NXlib.h + $(RM_FILE) $(DESTDIR)${includedir}/nx/NXlibint.h + echo "Running ldconfig tool, this may take a while..." && ldconfig || true -- cgit v1.2.3