diff options
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/control | 22 | ||||
-rw-r--r-- | debian/hurd-libs0.3-udeb.install.in | 1 | ||||
-rw-r--r-- | debian/hurd-libs0.3.install.in | 1 | ||||
-rw-r--r-- | debian/hurd-udeb.install.in | 1 | ||||
-rw-r--r-- | debian/hurd.install.in | 1 | ||||
-rwxr-xr-x | debian/rules | 3 |
7 files changed, 25 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog index 8fceee74..51f0c86c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,6 +16,7 @@ hurd (20130226-2) UNRELEASED; urgency=low * Call dh_install with --list-missing. * Install the hurd libraries in multiarch library directories, but not in the udeb. + * Split the hurd libraries in own hurd-libs0.3{,-udeb} packages. -- Samuel Thibault <sthibault@debian.org> Tue, 26 Feb 2013 23:51:12 +0100 diff --git a/debian/control b/debian/control index 7904f8ca..0dbe2f3f 100644 --- a/debian/control +++ b/debian/control @@ -15,9 +15,18 @@ Homepage: http://www.gnu.org/software/hurd/hurd.html Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-hurd/hurd.git Vcs-Git: git://anonscm.debian.org/pkg-hurd/hurd.git +Package: hurd-libs0.3 +Section: libs +Pre-Depends: ${misc:Pre-Depends} +Depends: ${misc:Depends}, ${shlibs:Depends} +Architecture: hurd-any +Multi-Arch: same +Description: GNU Hurd (libraries) + This package contains the libraries used by GNU Hurd. + Package: hurd Essential: yes -Depends: ${misc:Depends}, sysv-rc, netdde (>= 0.0.20120518~), ${shlibs:Depends}, xkb-data +Depends: ${misc:Depends}, hurd-libs0.3 (= ${binary:Version}), sysv-rc, netdde (>= 0.0.20120518~), ${shlibs:Depends}, xkb-data Breaks: gnumach (<< 2:1.3.99.dfsg.cvs20070526-1), libc0.3 (<< 2.11.2-12), netdde (<< 0.0.20121127-2) Suggests: hurd-doc Recommends: bf-utf-source @@ -56,12 +65,21 @@ Suggests: www-browser Description: GNU Hurd manual This package includes the manual in info and HTML format. +Package: hurd-libs0.3-udeb +Section: debian-installer +Package-Type: udeb +Priority: optional +Architecture: hurd-any +Depends: ${misc:Depends} +Description: GNU Hurd (libraries) - udeb + This package contains the libraries used by GNU Hurd udeb. + Package: hurd-udeb Package-Type: udeb Priority: optional Section: debian-installer Architecture: hurd-any -Depends: ${misc:Depends}, xkb-data-udeb +Depends: ${misc:Depends}, hurd-libs0.3-udeb (= ${binary:Version}), xkb-data-udeb Provides: hurd, ext2-modules, fat-modules, ipv6-modules, isofs-modules, loop-modules, mouse-modules, nfs-modules, socket-modules, ufs-modules Description: GNU Hurd - udeb This is the GNU Hurd udeb package. It contains essential system software and diff --git a/debian/hurd-libs0.3-udeb.install.in b/debian/hurd-libs0.3-udeb.install.in new file mode 100644 index 00000000..8b69f0c1 --- /dev/null +++ b/debian/hurd-libs0.3-udeb.install.in @@ -0,0 +1 @@ +debian/tmp/lib/@DEB_HOST_MULTIARCH@/*.so.* lib diff --git a/debian/hurd-libs0.3.install.in b/debian/hurd-libs0.3.install.in new file mode 100644 index 00000000..5c37f7cd --- /dev/null +++ b/debian/hurd-libs0.3.install.in @@ -0,0 +1 @@ +debian/tmp/lib/@DEB_HOST_MULTIARCH@/*.so.* diff --git a/debian/hurd-udeb.install.in b/debian/hurd-udeb.install.in index 196b22a4..4618f10b 100644 --- a/debian/hurd-udeb.install.in +++ b/debian/hurd-udeb.install.in @@ -3,7 +3,6 @@ debian/local/setup-translators usr/lib/hurd debian/local/partman lib debian/local/finish-install.d usr/lib debian/local/X11/locale usr/share/X11 -debian/tmp/lib/@DEB_HOST_MULTIARCH@/*.so.* lib debian/tmp/lib/@DEB_HOST_MULTIARCH@/hurd/console/pc_kbd.so.* usr/lib/hurd/console debian/tmp/lib/@DEB_HOST_MULTIARCH@/hurd/console/pc_mouse.so.* usr/lib/hurd/console debian/tmp/lib/@DEB_HOST_MULTIARCH@/hurd/console/vga.so.* usr/lib/hurd/console diff --git a/debian/hurd.install.in b/debian/hurd.install.in index 70d48c38..41e39f54 100644 --- a/debian/hurd.install.in +++ b/debian/hurd.install.in @@ -2,7 +2,6 @@ debian/local/setup-translators usr/lib/hurd debian/local/random-hurd.sh hurd debian/local/urandom-hurd.sh hurd debian/local/securetty etc -debian/tmp/lib/@DEB_HOST_MULTIARCH@/*.so.* debian/tmp/lib/@DEB_HOST_MULTIARCH@/hurd/console/*.so.* usr/lib/hurd/console debian/tmp/hurd/* debian/tmp/lib/hurd/rc etc/hurd diff --git a/debian/rules b/debian/rules index ab9b802b..e28ac252 100755 --- a/debian/rules +++ b/debian/rules @@ -80,7 +80,7 @@ override_dh_installinit: dh_installinit --remaining-packages override_dh_strip: - dh_strip -phurd --dbg-package=hurd-dbg + dh_strip -phurd-libs0.3 -phurd --dbg-package=hurd-dbg dh_strip --remaining-packages override_dh_fixperms: @@ -88,6 +88,7 @@ override_dh_fixperms: chmod u+s $(patsubst %,$(CURDIR)/debian/hurd%,$(SUID_PROGRAMS)) override_dh_makeshlibs: + dh_makeshlibs -phurd-libs0.3 --add-udeb=hurd-libs0.3-udeb dh_makeshlibs -phurd --add-udeb=hurd-udeb dh_makeshlibs --remaining-packages |