[pkg-lynx-commits] [lynx-cur] 03/05: Break out a lynx-common package

Axel Beckert abe at deuxchevaux.org
Mon Dec 7 03:42:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch renaming-back
in repository lynx-cur.

commit 99a670011009041ec8c792678c55705946532bc0
Author: Elimar Riesebieter <riesebie at lxtec.de>
Date:   Mon Dec 7 04:01:20 2015 +0100

    Break out a lynx-common package
    
    This package contains files shared by the lynx 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.
    
    [Patch slightly fine-tuned by Axel to match his renaming-back branch.]
---
 debian/changelog                               |  8 +++++++-
 debian/control                                 | 15 ++++++++++++++-
 debian/{lynx.doc-base => lynx-common.doc-base} |  4 ++--
 debian/{lynx.docs => lynx-common.docs}         |  0
 debian/{lynx.install => lynx-common.install}   |  1 -
 debian/{lynx.mime => lynx-common.mime}         |  0
 debian/lynx.install                            |  3 ---
 debian/lynx.links                              |  1 +
 debian/rules                                   |  4 +++-
 9 files changed, 27 insertions(+), 9 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 11dd93e..2564731 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
 lynx (2.8.9dev6-6) UNRELEASED; urgency=medium
 
+  [ Axel Beckert ]
   * Prefix all debhelper files with the according package name for
     consistency.
   * Rename source and primary binary package back to "lynx" again, make
@@ -8,7 +9,12 @@ lynx (2.8.9dev6-6) UNRELEASED; urgency=medium
     dates back to the time where lynx and lynx-cur both were
     non-transitional packages and shipped different versions.)
 
- -- Axel Beckert <abe at debian.org>  Sat, 28 Nov 2015 22:35:26 +0100
+  [ Elimar Riesebieter ]
+  * Break out lynx-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 (depends on arch) are preserved for the binary package.
+
+ -- Elimar Riesebieter <riesebie at lxtec.de>  Sun, 30 Aug 2015 09:48:14 +0200
 
 lynx-cur (2.8.9dev6-5) unstable; urgency=medium
 
diff --git a/debian/control b/debian/control
index b2817d0..976e5bf 100644
--- a/debian/control
+++ b/debian/control
@@ -23,11 +23,24 @@ Standards-Version: 3.9.6
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-lynx/lynx.git/
 Vcs-Git: git://anonscm.debian.org/pkg-lynx/lynx.git
 
+Package: lynx-common
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: lynx
+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
 Architecture: any
 Multi-Arch: foreign
 Depends: ${misc:Depends},
-         ${shlibs:Depends}
+         ${shlibs:Depends},
+         lynx-common
 Provides: news-reader,
           www-browser
 Breaks: lynx-cur (<< 2.8.9dev6-6~),
diff --git a/debian/lynx.doc-base b/debian/lynx-common.doc-base
similarity index 64%
rename from debian/lynx.doc-base
rename to debian/lynx-common.doc-base
index f4c847e..9368d13 100644
--- a/debian/lynx.doc-base
+++ b/debian/lynx-common.doc-base
@@ -6,5 +6,5 @@ Abstract: This manual describes what lynx is
 Section: Network/Web Browsing
 
 Format: HTML
-Index: /usr/share/doc/lynx/lynx_help/lynx_help_main.html.gz
-Files: /usr/share/doc/lynx/lynx_help/*.html.gz
+Index: /usr/share/doc/lynx-common/lynx_help/lynx_help_main.html.gz
+Files: /usr/share/doc/lynx-common/lynx_help/*.html.gz
diff --git a/debian/lynx.docs b/debian/lynx-common.docs
similarity index 100%
rename from debian/lynx.docs
rename to debian/lynx-common.docs
diff --git a/debian/lynx.install b/debian/lynx-common.install
similarity index 81%
copy from debian/lynx.install
copy to debian/lynx-common.install
index 7026a61..9a5eb0d 100644
--- a/debian/lynx.install
+++ b/debian/lynx-common.install
@@ -1,4 +1,3 @@
 etc/*
-usr/bin/*
 usr/share/locale/*
 usr/share/man/*/*
diff --git a/debian/lynx.mime b/debian/lynx-common.mime
similarity index 100%
rename from debian/lynx.mime
rename to debian/lynx-common.mime
diff --git a/debian/lynx.install b/debian/lynx.install
index 7026a61..1df36c6 100644
--- a/debian/lynx.install
+++ b/debian/lynx.install
@@ -1,4 +1 @@
-etc/*
 usr/bin/*
-usr/share/locale/*
-usr/share/man/*/*
diff --git a/debian/lynx.links b/debian/lynx.links
new file mode 100644
index 0000000..5355f7b
--- /dev/null
+++ b/debian/lynx.links
@@ -0,0 +1 @@
+/usr/share/doc/lynx-common	/usr/share/doc/lynx
diff --git a/debian/rules b/debian/rules
index 71af74b..678c03f 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-lynx/lynx-cur.git



More information about the pkg-lynx-commits mailing list