Package: lynx-cur Version: 2.8.9dev6-3 Severity: normal Tags: patch Hi lynx maintainers,
please find attached patch to break out a lynx-cur-common package. This package contains files shared by the lynx-cur package over any arch available in Debian. Examples of such shared files are: manpages, locale and mimetype definitions, and configuration files. Lintian won't note an "arch-dep-package-has-big-usr-share" anymore. We'll save arround 1,1M per (arch-1). Around 2M (depands on arch) are preserved for the binary package. Please check the patch before applying it to the git repo. Although I have an alioth account I can't check in https://alioth.debian.org/projects/pkg-lynx/. So I created the attached git-diff. It would be a great pleasure if I could join the team ;-) Thanks Elimar -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (990, 'unstable'), (100, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.2.0-rc8-pipin-lxtec-amd64 (SMP w/8 CPU cores; PREEMPT) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages lynx-cur depends on: ii libbsd0 0.7.0-2 ii libbz2-1.0 1.0.6-8 ii libc6 2.19-19 ii libgnutls-deb0-28 3.3.17-1 ii libidn11 1.32-1 ii libncursesw5 6.0+20150810-1 ii libtinfo5 6.0+20150810-1 ii zlib1g 1:1.2.8.dfsg-2+b1 Versions of packages lynx-cur recommends: ii mime-support 3.59 lynx-cur suggests no packages. -- no debconf information
diff --git a/debian/changelog b/debian/changelog index 258a54c..c10ae8d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,7 +4,13 @@ lynx-cur (2.8.9dev6-4) UNRELEASED; urgency=medium * 40_reproducible_build.diff: Sort cfg_defs.h independent of locale. Closes: #792770 - -- Andreas Metzler <ametz...@debian.org> Sat, 18 Jul 2015 16:36:13 +0200 + [ Elimar Riesebieter ] + * Break out lynx-cur-common. Lintian won't note an + "arch-dep-package-has-big-usr-share" anymore. We'll save arround 1,1M per + (arch-1). Around 2M (depands on arch) are preserved for the binary package. + * Add myself to uploaders. + + -- Elimar Riesebieter <riese...@lxtec.de> Sun, 30 Aug 2015 09:48:14 +0200 lynx-cur (2.8.9dev6-3) unstable; urgency=medium diff --git a/debian/control b/debian/control index 18a2ffb..fcc2047 100644 --- a/debian/control +++ b/debian/control @@ -5,7 +5,8 @@ Maintainer: Debian Lynx Packaging Team <pkg-lynx-ma...@lists.alioth.debian.org> Uploaders: Axel Beckert <a...@debian.org>, Denis Briand <deb...@denis-briand.fr>, Andreas Metzler <ametz...@debian.org>, - Andy Valencia <lynxoma...@gmail.com> + Andy Valencia <lynxoma...@gmail.com>, + Elimar Riesebieter <riese...@lxtec.de> Homepage: http://lynx.isc.org/ Build-Depends: autotools-dev, debhelper (>= 9), @@ -23,11 +24,25 @@ Standards-Version: 3.9.6 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-lynx/lynx-cur.git/ Vcs-Git: git://anonscm.debian.org/pkg-lynx/lynx-cur.git +Package: lynx-cur-common +Architecture: any +Depends: ${misc:Depends}, + ${shlibs:Depends} +Recommends: lynx-cur +Description: shared files for lynx-cur package + In continuous development since 1992, Lynx sets the standard for + text-mode web clients. + . + This package contains files shared by the lynx-cur package over any arch + available in Debian. Examples of such shared files are: manpages, locale and + mimetype definitions, and configuration files. + Package: lynx-cur Architecture: any Multi-Arch: foreign Depends: ${misc:Depends}, - ${shlibs:Depends} + ${shlibs:Depends}, + lynx-cur-common Provides: news-reader, www-browser Breaks: lynx (<< 2.8.7dev9-1.1), diff --git a/debian/doc-base b/debian/doc-base index 37cc438..5de4e4c 100644 --- a/debian/doc-base +++ b/debian/doc-base @@ -6,5 +6,5 @@ Abstract: This manual describes what lynx-cur is Section: Network/Web Browsing Format: HTML -Index: /usr/share/doc/lynx-cur/lynx_help/lynx_help_main.html.gz -Files: /usr/share/doc/lynx-cur/lynx_help/*.html.gz +Index: /usr/share/doc/lynx-cur-common/lynx_help/lynx_help_main.html.gz +Files: /usr/share/doc/lynx-cur-common/lynx_help/*.html.gz diff --git a/debian/lynx-cur-common.docs b/debian/lynx-cur-common.docs new file mode 100644 index 0000000..cdeace8 --- /dev/null +++ b/debian/lynx-cur-common.docs @@ -0,0 +1,2 @@ +debian/tmp/usr/share/lynx_doc/* +debian/tmp/usr/share/lynx_help diff --git a/debian/lynx-cur-common.install b/debian/lynx-cur-common.install new file mode 100644 index 0000000..9a5eb0d --- /dev/null +++ b/debian/lynx-cur-common.install @@ -0,0 +1,3 @@ +etc/* +usr/share/locale/* +usr/share/man/*/* diff --git a/debian/lynx-cur.docs b/debian/lynx-cur.docs deleted file mode 100644 index cdeace8..0000000 --- a/debian/lynx-cur.docs +++ /dev/null @@ -1,2 +0,0 @@ -debian/tmp/usr/share/lynx_doc/* -debian/tmp/usr/share/lynx_help diff --git a/debian/lynx-cur.install b/debian/lynx-cur.install index 7026a61..1df36c6 100644 --- a/debian/lynx-cur.install +++ b/debian/lynx-cur.install @@ -1,4 +1 @@ -etc/* usr/bin/* -usr/share/locale/* -usr/share/man/*/* diff --git a/debian/lynx-cur.links b/debian/lynx-cur.links new file mode 100644 index 0000000..19d93ce --- /dev/null +++ b/debian/lynx-cur.links @@ -0,0 +1,3 @@ +/usr/share/doc/lynx-cur-common /usr/share/doc/lynx-cur + + diff --git a/debian/lynx-cur.menu b/debian/lynx-cur.menu new file mode 100644 index 0000000..857598c --- /dev/null +++ b/debian/lynx-cur.menu @@ -0,0 +1,2 @@ +?package(lynx-cur):needs="text" section="Applications/Network/Web Browsing"\ + title="Lynx-cur" command="lynx" diff --git a/debian/menu b/debian/menu deleted file mode 100644 index 857598c..0000000 --- a/debian/menu +++ /dev/null @@ -1,2 +0,0 @@ -?package(lynx-cur):needs="text" section="Applications/Network/Web Browsing"\ - title="Lynx-cur" command="lynx" diff --git a/debian/rules b/debian/rules index 3612909..7935a01 100755 --- a/debian/rules +++ b/debian/rules @@ -44,6 +44,8 @@ override_dh_auto_install: cd debian/tmp/usr/share/lynx_help && rm -vf COPYING COPYHEADER cd debian/tmp/usr/share/lynx_doc && rm -rvf CHANGES \ COPYHEADER.asc COPYING COPYING.asc samples test - +override_dh_link: + rm -rf debian/lynx-cur/usr/share/doc/lynx-cur + dh_link %: dh $@ --parallel --with autotools_dev