[ Josselin Mouette ]
* Use cdbs for the rules file.
* preinst: removed, unuseful.
* Standards-version is 3.7.2.
* Move some b-d-i to b-d.
-- Josselin Mouette <joss@debian.org> Thu, 18 May 2006 08:09:22 +0200
Josselin Mouette
17 years ago
0 | 0 | gnome-user-docs (2.14.2-1) unstable; urgency=low |
1 | 1 | |
2 | [ Jose Carlos Garcia Sogo ] | |
2 | 3 | * New upstream version. (Closes: #317924) |
3 | 4 | + Report version as 2.14.2 (Closes: #317926) |
4 | 5 | * debian/control: |
5 | 6 | + Changed source to gnome-user-docs and binary to gnome-user-guide. |
6 | + Bumped Standars-Version to 3.6.2. No changes needed. | |
7 | 7 | + Added gnome-doc-utils and pkg-config to build dependencies. |
8 | 8 | * debian/rules: |
9 | 9 | + add --disable-scrollkeeper to configure target. |
14 | 14 | + documentation is actually under GFDL. (Closes: #348494) |
15 | 15 | + list actual copyright holders for every guide. |
16 | 16 | * debian/compat: bump compat level to 4, as prior levels are deprecated now. |
17 | * | |
18 | 17 | |
19 | -- Jose Carlos Garcia Sogo <jsogo@debian.org> Thu, 20 Apr 2006 20:17:00 +0200 | |
18 | [ Josselin Mouette ] | |
19 | * Use cdbs for the rules file. | |
20 | * preinst: removed, unuseful. | |
21 | * Standards-version is 3.7.2. | |
22 | * Move some b-d-i to b-d. | |
23 | ||
24 | -- Josselin Mouette <joss@debian.org> Thu, 18 May 2006 08:09:22 +0200 | |
20 | 25 | |
21 | 26 | gnome2-user-docs (2.8.1-2) unstable; urgency=low |
22 | 27 |
1 | 1 | Section: gnome |
2 | 2 | Priority: optional |
3 | 3 | Maintainer: Jose Carlos Garcia Sogo <jsogo@debian.org> |
4 | Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Akira TAGOH <tagoh@debian.org>, Andreas Rottmann <rotty@debian.org>, Andrew Lau <netsnipe@users.sourceforge.net>, Clément Stenac <zorglub@debian.org>, Dafydd Harries <daf@debian.org>, Ed Boraas <ed@debian.org>, Emil Soleyman-Zomalan <emil@nishra.com>, Guilherme de S. Pastore <gpastore@debian.org>, Gustavo Noronha Silva <kov@debian.org>, J.H.M. Dassen (Ray) <jdassen@debian.org>, Joe Drew <drew@debian.org>, Johannes Rohr <jr.debian@rohr.org>, Jordi Mallach <jordi@debian.org>, Josselin Mouette <joss@debian.org>, Loic Minier <lool@dooz.org>, Marc 'HE' Brockschmidt <he@debian.org>, Ondřej Surý <ondrej@debian.org>, Rob Bradford <rob@debianplanet.org>, Robert McQueen <robot101@debian.org>, Ross Burton <ross@debian.org>, Sebastien Bacher <seb128@debian.org>, Sjoerd Simons <sjoerd@debian.org>, Takuo KITAME <kitame@debian.org> | |
5 | Standards-Version: 3.6.1 | |
6 | Build-Depends-Indep: scrollkeeper, debhelper (>= 3.4.4), gnome-pkg-tools, gnome-doc-utils, pkg-config | |
4 | Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Akira TAGOH <tagoh@debian.org>, Andreas Rottmann <rotty@debian.org>, Andrew Lau <netsnipe@users.sourceforge.net>, Clément Stenac <zorglub@debian.org>, Dafydd Harries <daf@debian.org>, Guilherme de S. Pastore <gpastore@debian.org>, Gustavo Franco <stratus@debian.org>, Gustavo Noronha Silva <kov@debian.org>, J.H.M. Dassen (Ray) <jdassen@debian.org>, Jordi Mallach <jordi@debian.org>, Josselin Mouette <joss@debian.org>, Loic Minier <lool@dooz.org>, Marc 'HE' Brockschmidt <he@debian.org>, Marco Cabizza <marco87@gmail.com>, Ondřej Surý <ondrej@debian.org>, Ross Burton <ross@debian.org>, Sebastien Bacher <seb128@debian.org>, Sjoerd Simons <sjoerd@debian.org>, Takuo KITAME <kitame@debian.org> | |
5 | Standards-Version: 3.7.2 | |
6 | Build-Depends: debhelper (>= 4.1), cdbs, gnome-pkg-tools | |
7 | Build-Depends-Indep: scrollkeeper, gnome-doc-utils, pkg-config | |
7 | 8 | |
8 | 9 | Package: gnome-user-guide |
9 | 10 | Architecture: all |
10 | Depends: scrollkeeper (>= 0.3.14-5) | |
11 | Depends: ${misc:Depends} | |
11 | 12 | Provides: gnome2-user-guide |
12 | 13 | Conflicts: gnome-intro |
13 | 14 | Replaces: gnome2-user-guide |
14 | Description: GNOME 2 User's Guide | |
15 | Description: GNOME user's guide | |
15 | 16 | Documentation for using the GNOME 2 desktop environment and its components. |
16 | 17 | It covers usage and setup of the core GNOME 2 programs. |
2 | 2 | Priority: optional |
3 | 3 | Maintainer: Jose Carlos Garcia Sogo <jsogo@debian.org> |
4 | 4 | Uploaders: @GNOME_TEAM@ |
5 | Standards-Version: 3.6.1 | |
6 | Build-Depends-Indep: scrollkeeper, debhelper (>= 3.4.4), gnome-pkg-tools, gnome-doc-utils, pkg-config | |
5 | Standards-Version: 3.7.2 | |
6 | Build-Depends: debhelper (>= 4.1), cdbs, gnome-pkg-tools | |
7 | Build-Depends-Indep: scrollkeeper, gnome-doc-utils, pkg-config | |
7 | 8 | |
8 | 9 | Package: gnome-user-guide |
9 | 10 | Architecture: all |
10 | Depends: scrollkeeper (>= 0.3.14-5) | |
11 | Depends: ${misc:Depends} | |
11 | 12 | Provides: gnome2-user-guide |
12 | 13 | Conflicts: gnome-intro |
13 | 14 | Replaces: gnome2-user-guide |
14 | Description: GNOME 2 User's Guide | |
15 | Description: GNOME user's guide | |
15 | 16 | Documentation for using the GNOME 2 desktop environment and its components. |
16 | 17 | It covers usage and setup of the core GNOME 2 programs. |
0 | #! /bin/sh -e | |
1 | ||
2 | if [ "$1" = "upgrade" ]; then | |
3 | if test -d /usr/share/doc/gnome2-user-guide/html; then | |
4 | rm -rf /usr/share/doc/gnome2-user-guide/html | |
5 | fi | |
6 | fi | |
7 | ||
8 | #DEBHELPER# | |
9 | ||
10 | exit 0 |
0 | 0 | #!/usr/bin/make -f |
1 | 1 | |
2 | #export DH_VERBOSE=1 | |
3 | ||
4 | version := $(shell sed -n 's/Package: \(.*\)/\1/p' debian/control | head -n 1) | |
5 | ||
2 | include /usr/share/cdbs/1/rules/debhelper.mk | |
3 | include /usr/share/cdbs/1/class/gnome.mk | |
6 | 4 | include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk |
7 | 5 | |
8 | configure: configure-stamp | |
9 | configure-stamp: | |
10 | dh_testdir | |
11 | ||
12 | ./configure --prefix=/usr --disable-scrollkeeper | |
13 | ||
14 | touch configure-stamp | |
15 | ||
16 | build: build-stamp | |
17 | build-stamp: patch-stamp configure-stamp | |
18 | dh_testdir | |
19 | ||
20 | $(MAKE) | |
21 | ||
22 | touch build-stamp | |
23 | ||
24 | clean:: | |
25 | dh_testdir | |
26 | dh_testroot | |
27 | rm -f build-stamp configure-stamp | |
28 | ||
29 | [ ! -f Makefile ] || $(MAKE) distclean | |
30 | ||
31 | debian/rules unpatch | |
32 | ||
33 | find -name *.omf.out | xargs -r rm | |
34 | ||
35 | dh_clean omf-install/*.omf | |
36 | ||
37 | install: build | |
38 | dh_testdir | |
39 | dh_testroot | |
40 | dh_clean -k | |
41 | dh_installdirs | |
42 | ||
43 | $(MAKE) install prefix=$(CURDIR)/debian/${version}/usr | |
44 | ||
45 | rm -rf debian/${version}/usr/var | |
46 | ||
47 | # Fix permissions | |
48 | find debian/${version}/usr/share/gnome/help -name *.xml -exec chmod 0644 {} \; | |
49 | ||
50 | # Prune empty directories | |
51 | find debian -type d | xargs rmdir -p --ignore-fail-on-non-empty | |
52 | ||
53 | # Build architecture-independent files here. | |
54 | binary-indep: build install | |
55 | dh_testdir -i | |
56 | dh_testroot -i | |
57 | dh_installdocs -i -A AUTHORS | |
58 | dh_installchangelogs -i ChangeLog | |
59 | dh_scrollkeeper | |
60 | dh_link -i | |
61 | dh_compress -i -X.xml | |
62 | dh_fixperms -i | |
63 | dh_installdeb -i | |
64 | dh_gencontrol -i | |
65 | dh_md5sums -i | |
66 | dh_builddeb -i | |
67 | ||
68 | # Build architecture-dependent files here. | |
69 | binary-arch: build install | |
70 | ||
71 | ||
72 | binary: binary-indep binary-arch | |
73 | .PHONY: build clean binary-indep binary-arch binary install configure patch unpatch | |
74 | ||
75 | DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) | |
76 | DPATCH_ARCH := ${DEB_BUILD_ARCH} | |
77 | PATCHLIST_ALL = $(shell test -f debian/patches/00list && grep -v ^\# debian/patches/00list) | |
78 | PATCHLIST_ARCH = $(shell test -f debian/patches/00list.${DPATCH_ARCH} && grep -v ^\# debian/patches/00list.${DPATCH_ARCH}) | |
79 | PATCHLIST ?= $(shell echo ${PATCHLIST_ALL} ${PATCHLIST_ARCH}) | |
80 | ||
81 | UNPATCHLIST = $(shell echo ${PATCHLIST} | tr ' ' '\n' | tac) | |
82 | ||
83 | # Expand them right now | |
84 | PATCHLIST := ${PATCHLIST} | |
85 | UNPATCHLIST := ${UNPATCHLIST} | |
86 | ||
87 | patch: patch-stamp | |
88 | patch-stamp: | |
89 | test -d debian/patched || install -d debian/patched | |
90 | @echo "Patches applied in the Debian version of ${PACKAGE}:" > $@T | |
91 | @for patch in ${PATCHLIST}; do \ | |
92 | patchdir=$${patch%/*}; \ | |
93 | test "x$$patchdir" = "x$$patch" || \ | |
94 | install -d debian/patched/$$patchdir; \ | |
95 | stamp=debian/patched/$${patch%%.dpatch}.dpatch; \ | |
96 | test -e debian/patches/$$patch || ext=.dpatch; \ | |
97 | patch=debian/patches/$$patch$$ext; \ | |
98 | author=`sed -n "s,^#* *.*dpatch by *,,p" $$patch`; \ | |
99 | test -x $$patch || chmod +x $$patch; \ | |
100 | if test -f $$stamp; then \ | |
101 | echo "$$patch already applied."; \ | |
102 | echo -e "\n$$patch ($$author):" >> $@T; \ | |
103 | sed -n 's/^#* *DP: */ /p' $$patch >> $@T; \ | |
104 | else \ | |
105 | echo -n "applying patch $$patch..."; \ | |
106 | if $$patch -patch >$$stamp.new 2>&1; then \ | |
107 | mv $$stamp.new $$stamp; \ | |
108 | touch $$stamp; \ | |
109 | echo -e "\n$$patch ($$author):" >> $@T; \ | |
110 | sed -n 's/^#* *DP: */ /p' $$patch >> $@T; \ | |
111 | echo " ok."; \ | |
112 | else \ | |
113 | echo " failed."; \ | |
114 | exit 1; \ | |
115 | fi; \ | |
116 | fi; \ | |
117 | done | |
118 | mv -f $@T $@ | |
119 | ||
120 | unpatch: | |
121 | @for patch in ${UNPATCHLIST}; do \ | |
122 | stamp=debian/patched/$${patch%%.dpatch}.dpatch; \ | |
123 | test -e debian/patches/$$patch || ext=.dpatch; \ | |
124 | patch=debian/patches/$$patch$$ext; \ | |
125 | test -x $$patch || chmod +x $$patch; \ | |
126 | if test -f $$stamp; then \ | |
127 | echo -n "reverting patch $$patch..."; \ | |
128 | if $$patch -unpatch 2>&1 >/dev/null; then \ | |
129 | rm -f $$stamp; \ | |
130 | echo " ok."; \ | |
131 | else \ | |
132 | echo " failed."; \ | |
133 | exit 1; \ | |
134 | fi; \ | |
135 | fi; \ | |
136 | done | |
137 | rm -rf patch-stamp patch-stampT debian/patched | |
6 | DEB_CONFIGURE_EXTRA_FLAGS := --disable-scrollkeeper |