* debian/libgtk3.0-bin.{preinst,postrm}:

+ Add #DEBHELPER# token. Make errors fatal with set -e.
* debian/rules:
  + Exclude .in files from the dh_installdocs call, so that
    it picks the real .doc-base files and not the .in ones.
* debian/libgtk3.0-doc.doc-base.gdk{,.in}:
  + Don't hardcode the package name, generate it at build time.
* debian/libgail3.0-doc.doc-base.gail-reference:
  + Fix paths to the manual.
This commit is contained in:
Emilio Pozuelo Monfort 2010-11-16 05:31:14 +00:00
parent c2915321c1
commit b82b5c1cc2
6 changed files with 21 additions and 7 deletions

11
debian/changelog vendored
View File

@ -7,8 +7,17 @@ gtk+3.0 (2.91.4-1) experimental; urgency=low
- Bump glib2.0 build requirement.
+ debian/patches/*:
- Refreshed.
* debian/libgtk3.0-bin.{preinst,postrm}:
+ Add #DEBHELPER# token. Make errors fatal with set -e.
* debian/rules:
+ Exclude .in files from the dh_installdocs call, so that
it picks the real .doc-base files and not the .in ones.
* debian/libgtk3.0-doc.doc-base.gdk{,.in}:
+ Don't hardcode the package name, generate it at build time.
* debian/libgail3.0-doc.doc-base.gail-reference:
+ Fix paths to the manual.
-- Emilio Pozuelo Monfort <pochu@debian.org> Mon, 15 Nov 2010 23:45:43 +0100
-- Emilio Pozuelo Monfort <pochu@debian.org> Tue, 16 Nov 2010 06:30:33 +0100
gtk+3.0 (2.91.3-1) experimental; urgency=low

View File

@ -5,6 +5,5 @@ Abstract: This manual describes APIs for libgail-util
Section: Accessibility
Format: HTML
Index: /usr/share/gtk-doc/html/gail-libgail-util-3.0/index.html
Files: /usr/share/gtk-doc/html/gail-libgail-util-3.0/*.html
Index: /usr/share/gtk-doc/html/gail-libgail-util3/index.html
Files: /usr/share/gtk-doc/html/gail-libgail-util3/*.html

View File

@ -1,4 +1,5 @@
#!/bin/sh -e
set -e
if [ "$1" = remove ] ; then
dpkg-divert --remove --package libgtk3.0-bin --rename \
@ -9,4 +10,6 @@ if [ "$1" = remove ] ; then
/usr/share/man/man8/update-icon-caches.8.gz
fi
#DEBHELPER#
exit 0

View File

@ -1,4 +1,5 @@
#!/bin/sh -e
set -e
if [ "$1" = install ] || [ "$1" = upgrade ] ; then
dpkg-divert --add --package libgtk3.0-bin --rename \
@ -9,4 +10,6 @@ if [ "$1" = install ] || [ "$1" = upgrade ] ; then
/usr/share/man/man8/update-icon-caches.8.gz
fi
#DEBHELPER#
exit 0

View File

@ -9,5 +9,5 @@ Abstract: The GDK library provides an OS-independant wrapper around the
Section: Programming/C
Format: HTML
Index: /usr/share/doc/libgtk3.0-doc/gdk3/index.html
Files: /usr/share/doc/libgtk3.0-doc/gdk3/*.html
Index: /usr/share/doc/@DOC_PKG@/gdk3/index.html
Files: /usr/share/doc/@DOC_PKG@/gdk3/*.html

2
debian/rules vendored
View File

@ -271,7 +271,7 @@ binary-indep: build $(maybe_check) install $(call dh_subst_files,$(BINARY_INDEP_
# do not merge the calls: dh_installdocs will only install some files
# in the first package
dh_installdocs -p$(COMMON_PKG) $(DH_INSTALLDOCS_FILES)
dh_installdocs -p$(DOC_PKG) $(DH_INSTALLDOCS_FILES)
dh_installdocs -p$(DOC_PKG) -X.in $(DH_INSTALLDOCS_FILES)
# install copyright in all packages; the -p is for the special behavior
# of dh_installdocs (ship README.Debian etc. in the first package)
dh_installdocs -p$(COMMON_PKG) -i