From baef1646ac879c1f19e3307b642ae58475aa7a76 Mon Sep 17 00:00:00 2001 From: Andreas Metzler Date: Mon, 16 Aug 2010 16:34:54 +0200 Subject: [PATCH] Ship libWUtils and libWINGs in dedicated packages Shared libraries need to be shipped in separate packages with shlibs information. Add libwutil1 and libwings2 packages and let libwings-dev depend on them. --- debian/control | 34 +++++++++++++++++++++++++++++++++- debian/libwings2.files | 1 + debian/libwutil1.files | 1 + debian/rules | 3 ++- 4 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 debian/libwings2.files create mode 100644 debian/libwutil1.files diff --git a/debian/control b/debian/control index 4890a50b..dc98b96a 100644 --- a/debian/control +++ b/debian/control @@ -46,7 +46,9 @@ Package: libwings-dev Architecture: any Section: libdevel Priority: optional -Depends: libc6-dev, libx11-dev, libxext-dev, libwraster3-dev, libxft-dev, libfontconfig1-dev, ${misc:Depends} +Depends: libc6-dev, libx11-dev, libxext-dev, libwraster3-dev, libxft-dev, + libfontconfig1-dev, libwutil1 (= ${binary:Version}), + libwings2 (= ${binary:Version}), ${misc:Depends} Description: Window Maker's own widget set WINGs Is Not GNUstep (WINGs) is a small widget set with the NeXTSTEP look and feel. Its API is inspired in OpenSTEP and its @@ -54,3 +56,33 @@ Description: Window Maker's own widget set widgets, sufficient for building small applications like a CDPlayer or hacking something like rxvt. It is used for basic widgets in the WindowMaker window manager. + +Package: libwutil1 +Architecture: any +Section: libs +Priority: optional +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Window Maker's own widget set - utility library + WINGs Is Not GNUstep (WINGs) is a small widget set with the NeXTSTEP + look and feel. Its API is inspired in OpenSTEP and its + implementation borrows some ideas from Tk. It has a reasonable set of + widgets, sufficient for building small applications like a CDPlayer + or hacking something like rxvt. It is used for basic widgets in + the WindowMaker window manager. + . + This package contains the libWUtils runtime library. + +Package: libwings2 +Architecture: any +Section: libs +Priority: optional +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Window Maker's own widget set - runtime library + WINGs Is Not GNUstep (WINGs) is a small widget set with the NeXTSTEP + look and feel. Its API is inspired in OpenSTEP and its + implementation borrows some ideas from Tk. It has a reasonable set of + widgets, sufficient for building small applications like a CDPlayer + or hacking something like rxvt. It is used for basic widgets in + the WindowMaker window manager. + . + This package contains the libWINGs runtime library. diff --git a/debian/libwings2.files b/debian/libwings2.files new file mode 100644 index 00000000..92da05d7 --- /dev/null +++ b/debian/libwings2.files @@ -0,0 +1 @@ +usr/lib/libWINGs.so.* diff --git a/debian/libwutil1.files b/debian/libwutil1.files new file mode 100644 index 00000000..9c78a3fc --- /dev/null +++ b/debian/libwutil1.files @@ -0,0 +1 @@ +usr/lib/libWUtil.so.* diff --git a/debian/rules b/debian/rules index a3867414..5a727223 100755 --- a/debian/rules +++ b/debian/rules @@ -185,7 +185,8 @@ binary-arch: build dh_fixperms -a cd debian && find -name \*.la -exec chmod a-X {} \; dh_installdeb -a - dh_makeshlibs -p$(LIBWRASTER) -V '$(LIBWRASTER) $(libwraster_deps)' + #dh_makeshlibs -p$(LIBWRASTER) -V '$(LIBWRASTER) $(libwraster_deps)' + dh_makeshlibs dh_shlibdeps dh_gencontrol -a dh_md5sums -a