Package: gnash
Version: 0.8.2-1~bpo40+2
Severity: wishlist
Tags: patch

Upstream provides HTML documentation which isn't included with the package.
This patch enables it (in a separate gnash-doc deb).

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)

Versions of packages gnash depends on:
ii  gnash-common           0.8.2-1~bpo40+2   free Flash movie player - common f
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  libgcc1                1:4.1.1-21        GCC support library
ii  libglib2.0-0           2.12.4-2          The GLib library of C routines
ii  libgtk2.0-0            2.8.20-7          The GTK+ graphical user interface 
ii  libstdc++6             4.1.1-21          The GNU Standard C++ Library v3
ii  libx11-6               2:1.0.3-7         X11 client-side library
ii  libxext6               1:1.0.1-2         X11 miscellaneous extension librar

gnash recommends no packages.

-- no debconf information
diff -Nur gnash-0.8.2/debian/control gnash-0.8.2.doc/debian/control
--- gnash-0.8.2/debian/control  2008-04-23 13:45:24.000000000 +0200
+++ gnash-0.8.2.doc/debian/control      2008-04-23 14:06:38.000000000 +0200
@@ -22,6 +22,7 @@
 Depends: ${shlibs:Depends}, ${misc:Depends}, base-files (>= 4.0.1~),
  gstreamer0.10-plugins-base, gstreamer0.10-videosink | 
gstreamer0.10-plugins-good, gstreamer0.10-audiosink | gstreamer0.10-alsa
 Recommends: gstreamer0.10-fluendo-mp3, gstreamer0.10-ffmpeg, 
gstreamer0.10-gnomevfs
+Suggests: gnash-doc
 Conflicts: libgnash0 (<< 0.8.1~), gnash (<< 0.8.1~), libklash0 (<< 0.8.1~)
 Replaces: libgnash0 (<< 0.8.1~), gnash (<< 0.8.1~), libklash0 (<< 0.8.1~)
 Description: free Flash movie player - common files/libraries
@@ -111,3 +112,12 @@
  browser plugin for Firefox, Mozilla, and Konqueror.
  .
  This package includes the plugin for Konqueror.
+
+Package: gnash-doc
+Section: doc
+Architecture: all
+Description: free Flash movie player - Documentation
+ Gnash is a free GPL'd Flash movie player, which works either standalone, or as
+ browser plugin for Firefox, Mozilla, and Konqueror.
+ .
+ This package includes documentation in HTML form.
diff -Nur gnash-0.8.2/debian/gnash-doc.docs 
gnash-0.8.2.doc/debian/gnash-doc.docs
--- gnash-0.8.2/debian/gnash-doc.docs   1970-01-01 01:00:00.000000000 +0100
+++ gnash-0.8.2.doc/debian/gnash-doc.docs       2008-04-23 14:08:53.000000000 
+0200
@@ -0,0 +1 @@
+debian/tmp/usr/share/doc/gnash/*
diff -Nur gnash-0.8.2/debian/rules gnash-0.8.2.doc/debian/rules
--- gnash-0.8.2/debian/rules    2008-04-23 13:45:24.000000000 +0200
+++ gnash-0.8.2.doc/debian/rules        2008-04-23 14:14:52.000000000 +0200
@@ -151,12 +151,10 @@
 
 # CREATE PACKAGES
 
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
+# Must not depend on anything. This is to be called by
+# binary-arch/binary-indep
+# in another 'make' thread.
+binary-common:
        dh_testdir
        dh_testroot
        dh_installchangelogs ChangeLog
@@ -186,6 +184,14 @@
        dh_md5sums
        dh_builddeb
 
+# Build architecture independant packages using the common target.
+binary-indep: build install
+       $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: build install
+       $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
+
 VERSION_DATE = $(shell /bin/date --utc +%0Y%0m%0d.%0k%0M)
 VERSION_ID = 0.8.2+cvs$(VERSION_DATE)
 get-cvs-source:

Reply via email to