Initial debian directory

This commit is contained in:
Christian Marillat 2001-10-24 12:49:00 +00:00
parent 49d9a12883
commit 433b6bc0c0
11 changed files with 675 additions and 0 deletions

428
debian/changelog vendored Normal file
View file

@ -0,0 +1,428 @@
control-center (1:1.5.8cvs-1) unstable; urgency=low
* New upstream release.
-- Christian Marillat <marillat@debian.org> Sat, 6 Oct 2001 19:12:41 +0200
control-center (1:1.5.4-1) unstable; urgency=low
* New upstream release.
* debian/*.sgml Use docbook 4.1
-- Christian Marillat <marillat@debian.org> Mon, 6 Aug 2001 15:30:44 +0200
control-center (1:1.4.0.1-11) unstable; urgency=low
* Update config.sub and config.guess (Closes: #103733, #103903)
* Remove libtool hack.
-- Christian Marillat <marillat@debian.org> Sun, 8 Jul 2001 11:36:30 +0200
control-center (1:1.4.0.1-10) unstable; urgency=low
* Switch to debhelper V3
* Change the WPrefs location in WindowMaker.desktop (Closes: #101148)
* Change libraries versionning to (>= 1:1.4.0.1-6) instead of the latest
package number.
-- Christian Marillat <marillat@debian.org> Fri, 22 Jun 2001 16:48:15 +0200
control-center (1:1.4.0.1-9) unstable; urgency=low
* Rewrote the callbacks.c patch (not complete) (Closes: #98085)
-- Christian Marillat <marillat@debian.org> Sun, 20 May 2001 09:36:48 +0200
control-center (1:1.4.0.1-8) unstable; urgency=low
* Depends on gnome-bin (Closes: #97677)
* Depends on xbase-clients
-- Christian Marillat <marillat@debian.org> Fri, 18 May 2001 00:06:13 +0200
control-center (1:1.4.0.1-7) unstable; urgency=low
* Patch callbacks.c to reflect change in the new xscreensaver package (3.32-1)
and update the suggests field. Thaks to Roderich Schupp. (Closes: #96542)
-- Christian Marillat <marillat@debian.org> Sun, 6 May 2001 22:34:12 +0200
control-center (1:1.4.0.1-6) unstable; urgency=low
* Build against the latest gnome-libs 1.2.13-5.
-- Christian Marillat <marillat@debian.org> Tue, 24 Apr 2001 12:39:50 +0200
control-center (1:1.4.0.1-5) unstable; urgency=low
* Typo in build depends (Closes: #93267)
* Rewrote Flame.desktop
-- Christian Marillat <marillat@debian.org> Sat, 14 Apr 2001 15:32:28 +0200
control-center (1:1.4.0.1-4) unstable; urgency=low
* Really add docbook-to-man in build-depends (Closes: #93190)
* Replace libungif3g-dev by libungif4-dev in build-depends (Closes: #93197)
-- Christian Marillat <marillat@debian.org> Sat, 7 Apr 2001 12:18:03 +0200
control-center (1:1.4.0.1-3) unstable; urgency=low
* Remove unused Flame.desktop (Closes: #92850)
* Patch po/Makefile.in.in to use DESTDIR
* Add scrollkeeper in depends (Closes: #93007)
-- Christian Marillat <marillat@debian.org> Thu, 5 Apr 2001 18:30:35 +0200
control-center (1:1.4.0.1-2) unstable; urgency=low
* Add docbook-to-man in build-depends (Closes: #92421)
* Don't compress control-center.sgml (Closes: #92603)
* Call scrollkeeper-update in postinst and prerm for gnome-control-center
-- Christian Marillat <marillat@debian.org> Mon, 2 Apr 2001 21:35:15 +0200
control-center (1:1.4.0.1-1) unstable; urgency=low
* New upstream release.
* Write 12 manpages (Closes: #87098)
-- Christian Marillat <marillat@debian.org> Fri, 30 Mar 2001 19:38:51 +0200
control-center (1:1.4.0-1) unstable; urgency=low
* New upstream release.
* debian/control build-depends on libgnome-vfs-dev and xml-i18n-tools
-- Christian Marillat <marillat@debian.org> Mon, 19 Mar 2001 11:10:30 +0100
control-center (1:1.2.4-1) unstable; urgency=low
* New upstream release.
* Add libgdk-pixbuf-dev in build-depends (Closes: #87416)
* debian/menu The session properties capplet is now on the gnome-core
package, remove this menu entry.
-- Christian Marillat <marillat@debian.org> Thu, 8 Mar 2001 00:12:29 +0100
control-center (1:1.2.3-1) unstable; urgency=low
* New upstream release.
* Removed locale and callback patchs included by upstream.
* No more lockup while closing desktop (Closes: #76215)
-- Christian Marillat <marillat@debian.org> Sun, 18 Feb 2001 15:57:25 +0100
control-center (1:1.2.2-10) unstable; urgency=low
* Build against the latest gnome-libs 1.2.11
-- Christian Marillat <marillat@debian.org> Mon, 5 Feb 2001 14:53:58 +0100
control-center (1:1.2.2-9) unstable; urgency=low
* Remove xpm4g-dev from Build-depends (Closes: #82556)
-- Christian Marillat <marillat@debian.org> Wed, 17 Jan 2001 10:04:01 +0100
control-center (1:1.2.2-8) unstable; urgency=low
* Patch to show the right debian version (Closes: #82391)
-- Christian Marillat <marillat@debian.org> Mon, 15 Jan 2001 15:35:59 +0100
control-center (1:1.2.2-7) unstable; urgency=low
* Remove imlib-progs from depends. Move gnome-core from depends to Suggests.
-- Christian Marillat <marillat@debian.org> Thu, 30 Nov 2000 11:59:04 +0100
control-center (1:1.2.2-6) unstable; urgency=low
* Change fonts attribute in callback.dpatch (Closes: #75320)
* Install symlinks in /usr/share/doc for -dev package.
-- Christian Marillat <marillat@debian.org> Thu, 2 Nov 2000 17:48:11 +0100
control-center (1:1.2.2-5) unstable; urgency=low
* Patch all capplets to add a call to setlocale(LC_ALL, "").
-- Christian Marillat <marillat@debian.org> Fri, 20 Oct 2000 15:55:34 +0200
control-center (1:1.2.2-4) unstable; urgency=low
* Add a patch to display russian and other 8 byte character correctly
thanks to ChiDeok Hwang <hwang@mizi.co.kr>
* New version close this old bug (Closes: #58797)
-- Christian Marillat <marillat@debian.org> Wed, 11 Oct 2000 17:54:29 +0200
control-center (1:1.2.2-3) unstable; urgency=low
* Fix bad symlink in gnome-control-center (Closes: #74279)
-- Christian Marillat <marillat@debian.org> Mon, 9 Oct 2000 15:02:57 +0200
control-center (1:1.2.2-2) unstable; urgency=low
* Arrange documentation for dhelp.
-- Christian Marillat <marillat@debian.org> Fri, 6 Oct 2000 17:09:54 +0200
control-center (1:1.2.2-1) unstable; urgency=low
* Return to the 1.2 branch, because 1.3 is ...
* Switch to debhelper V2.
* New/old GUI (Closes: #71043, #71040, #71039, #71038)
-- Christian Marillat <marillat@debian.org> Mon, 25 Sep 2000 17:33:23 +0200
control-center (1.3.0-5) unstable; urgency=low
* Add debhelper in Build-Depends (Closes: #70220)
* Build against libungif4g (Closes: #71236)
-- Christian Marillat <marillat@debian.org> Sun, 10 Sep 2000 00:48:36 +0200
control-center (1.3.0-4) unstable; urgency=low
* Patch configure to install session-properties-capplet.
-- Christian Marillat <marillat@debian.org> Thu, 24 Aug 2000 20:35:38 +0200
control-center (1.3.0-3) unstable; urgency=low
* Install screensaver-properties.desktop in the right place (Closes: #69502).
* Install Documents.directory and Session.directory files.
-- Christian Marillat <marillat@debian.org> Mon, 21 Aug 2000 00:59:43 +0200
control-center (1.3.0-2) unstable; urgency=low
* debian/control Added imlib-progs in the dependencies field (Closes: #69427).
-- Christian Marillat <marillat@debian.org> Sat, 19 Aug 2000 22:31:37 +0200
control-center (1.3.0-1) unstable; urgency=low
* New upstream release.
-- Christian Marillat <marillat@debian.org> Mon, 14 Aug 2000 15:32:43 +0200
control-center (1.2.1-1) unstable; urgency=low
* New upstrem release.
* debian/patches Added 2 patches for IceWM.desktop and WindowMaker.desktop
(Closes: #47353, #48099).
* New e-mail address.
* Removed 2 undocumented manpages (bell-properties-capplet.1, e-conf.1).
* Removed property-background patche.
* debian/menu removed entry for bell-properties and put all entrys in
System/Gnome.
-- Christian Marillat <marillat@debian.org> Wed, 2 Aug 2000 09:03:59 +0200
control-center (1.2.0-2) unstable; urgency=low
* Updated the Build-depends field. (Closes: #64904)
-- Christian Marillat <marillat.christian@wanadoo.fr> Tue, 30 May 2000 10:15:38 +0200
control-center (1.2.0-1) unstable; urgency=low
* New upstream source (Closes: #64584)
* debian/control removed depends libcapplet0 provided by shlibs:Depends.
* Updated Standards-Version to 3.1.1.1 added Build-depends field.
-- Christian Marillat <marillat.christian@wanadoo.fr> Thu, 25 May 2000 19:21:14 +0200
control-center (1.0.53-1) unstable; urgency=low
* New upstream source.
-- Christian Marillat <marillat.christian@wanadoo.fr> Fri, 31 Mar 2000 11:32:47 +0200
control-center (1.0.51-5) frozen unstable; urgency=low
* debian/copyright updated to the new directory.
-- Christian Marillat <marillat.christian@wanadoo.fr> Wed, 22 Mar 2000 23:17:17 +0100
control-center (1.0.51-4) frozen unstable; urgency=low
* Apply a patch I wrote to fix the RCB. Closes: #51568
* New maintainer. Christian Marillat is taking the package over.
I'm sponsoring him for the moment ...
* Changed the description. Removed the part about beta software.
Closes: #54979
* Applied the patch for centering the background picture.
Closes: #54285
* Added patch-on-the-fly support to debian/rules.
-- Raphael Hertzog <hertzog@debian.org> Tue, 21 Mar 2000 20:31:20 +0100
control-center (1.0.51-3) frozen unstable; urgency=low
* NMU.
* Fixes RC bug #56769, WindowMaker wm settings fixed.
-- Chris McKillop <cdm@debian.org> Thu, 3 Feb 2000 07:13:39 -0500
control-center (1.0.51-2) frozen unstable; urgency=low
* Orphaned.
-- Michael Alan Dorman <mdorman@debian.org> Thu, 3 Feb 2000 07:13:29 -0500
control-center (1.0.51-1) unstable; urgency=low
* Officially claimed as my own.
* libcapplet has been stripped for a while (closes: bug#31245)
* We've updated... (closes: bug#44136)
* Correct xworm definition for screensaver (closes: bug#51514)
* The libc/libglib issues are resolved now (closes: bug#37535)
* control-center is much more stable, and should work with window-maker (closes: bug#38706)
* gnomecc seems to respect current bg color better (closes: bug#38917)
* Couldn't reproduce this error with current versions (closes: bug#38995)
* Invoking individual capplets seems to work now (closes: bug#39135)
* Screensavers seem to be more stable now (closes: bug#41992)
* URL handler assignments seems to work now (closes: bug#44983)
* Fudged dependency on esd to get rid of versioned depends (closes: bug#52353)
* Totally revamped build process (closes: bug#33848, bug#38344)
* Appears to have been fixed (closes: bug#33736, bug#33472))
-- Michael Alan Dorman <mdorman@debian.org> Mon, 20 Dec 1999 14:19:48 -0500
control-center (1.0.51-0.2) unstable; urgency=low
* Fix from Christian Marillat <marillat@alpes-net.fr> for wm-properties
-- Michael Alan Dorman <mdorman@debian.org> Tue, 19 Oct 1999 14:22:43 -0400
control-center (1.0.51-0.1) unstable; urgency=low
* New upstream version. NMU.
-- Michael Alan Dorman <mdorman@debian.org> Sun, 10 Oct 1999 16:48:39 -0400
control-center (1.0.50-0.1) unstable; urgency=low
* New upstream version. NMU
-- Michael Alan Dorman <mdorman@debian.org> Thu, 30 Sep 1999 22:24:11 -0400
control-center (1.0.5-2) unstable; urgency=low
* Actually changed maintainer address in debian/control
* Fixed up WindowMaker and IceWM paths for wm-properties
-- Steve Haslam <araqnid@debian.org> Thu, 27 May 1999 02:05:10 +0100
control-center (1.0.5-1) unstable; urgency=low
* New maintainer.
* Moved "xscreensaver" to "Suggests:" field. (Bug#32724)
* Called dh_strip when making libcapplet-dev
-- Steve Haslam <araqnid@debian.org> Thu, 20 May 1999 03:50:25 +0100
control-center (1.0.5-0.1) unstable; urgency=low
* Non-maintainer upload
* New upstream version
-- Steve Haslam <araqnid@debian.org> Mon, 19 Apr 1999 10:08:13 +0100
control-center (1.0.1-0.1) unstable; urgency=low
* NMU for GNOME-1.0
-- Jules Bean <jules@debian.org> Fri, 5 Mar 1999 10:34:56 +0000
control-center (0.99.3-3) unstable; urgency=low
* Patched to remove #define HAVE_REDHAT_SCREENSAVER_RPM.
Also, added Recommends: xscreensaver
Fixes: BUG#32462
-- Jim Pick <jim@jimpick.com> Wed, 27 Jan 1999 21:40:24 -0800
control-center (0.99.3-2) unstable; urgency=low
* Recompiled due to dependencies.
-- Jim Pick <jim@jimpick.com> Sun, 24 Jan 1999 01:11:12 -0800
control-center (0.99.3-1) unstable; urgency=low
* New upstream release.
-- Jim Pick <jim@jimpick.com> Thu, 21 Jan 1999 21:31:48 -0800
gnome-core (0.30-2) frozen unstable; urgency=low
* Recompiled with new libs.
* Fixed reference to /usr/X11R6 in README.Debian.
* Added warnings (Gnome is ALPHA).
* Patched dialer_applet to use pon/poff.
* Patched drivemount_applet to default to /floppy.
-- Jim Pick <jim@jimpick.com> Tue, 24 Nov 1998 10:56:08 -0800
gnome-core (0.30-1) unstable; urgency=low
* New upstream release.
-- Jim Pick <jim@jimpick.com> Thu, 24 Sep 1998 21:28:02 -0700
gnome-core (0.28.1-1) unstable; urgency=low
* New upstream release.
* Hopefully fixes panel applet bug.
-- Jim Pick <jim@jimpick.com> Wed, 19 Aug 1998 20:12:25 -0700
gnome-core (0.28-1) unstable; urgency=low
* New upstream release.
-- Jim Pick <jim@jimpick.com> Mon, 17 Aug 1998 12:59:26 -0700
gnome-core (0.27-1) unstable; urgency=low
* New upstream release.
* Added /usr/doc/gnome
-- Jim Pick <jim@jimpick.com> Sat, 15 Aug 1998 14:21:06 -0700
gnome-core (0.25-1) unstable; urgency=low
* New upstream release.
-- Jim Pick <jim@jimpick.com> Thu, 6 Aug 1998 22:51:22 -0700
gnome-core (0.20-2) unstable; urgency=low
* Added Debian menu-method for gnome-panel. Fixed Bug #24025
(Thanks to Ray Dassen for reporting the bug, and Riku Voipio
who wrote the menu method for Gnome 0.12)
-- Jim Pick <jim@jimpick.com> Wed, 22 Jul 1998 20:22:00 -0700
gnome-core (0.20-1) unstable; urgency=low
* New upstream release.
-- Jim Pick <jim@jimpick.com> Mon, 8 Jun 1998 12:00:08 -0700
gnome-core (0.13-1) unstable; urgency=low
* Initial Release.
-- Jim Pick <jim@jimpick.com> Mon, 16 Mar 1998 15:27:43 -0800
Local variables:
mode: debian-changelog
End:

51
debian/control vendored Normal file
View file

@ -0,0 +1,51 @@
Source: control-center
Section: x11
Priority: optional
Maintainer: Christian Marillat <marillat@debian.org>
Standards-Version: 3.5.6.0
Build-Depends: libgtkhtml-dev, libgal-dev (>= 0.13), pkg-config (>= 0.8.0),
libbonobo-conf-dev (>= 0.12), automake, intltool, libtiff3g-dev,
libgdk-pixbuf-gnome-dev, debhelper (>> 3), libglade-gnome0-dev (>= 0.13-2),
zlib1g-dev, flex, imlib-dev (>= 1.9.8-4), libgtkxmhtml-dev (>= 1.2.0),
orbit, libwrap0-dev, libgnome-dev (>= 1.2.13-5), libjpeg62-dev,
libungif4-dev (>= 4.1-4), libpng2-dev, xscreensaver, libcapplet-dev (>= 1.5.4),
libgnome-vfs-dev (>= 1.0.2)
Package: gnome-control-center
Architecture: any
Depends: ${shlibs:Depends}, gnome-bin (>= 1.2.13-5), scrollkeeper (>= 0.2-1), xbase-clients (>= 4.0.3-1)
Replaces: gnome-desktop, gnome-core
Suggests: gnome-core, gnome-audio, xscreensaver (>= 3.32-1), doc-base
Description: The Gnome Control Center
Gnome is the "GNU Network Object Model Environment"
.
It is a project to build a complete, user-friendly desktop based
entirely on free software.
.
This package contains utilities to configure your desktop background,
screen saver, keyboard and mouse properties.
Package: libconfig-archiver0
Section: libs
Architecture: any
Depends: ${shlibs:Depends}
Description: Library for Gnome Control Center applets
Gnome is the "GNU Network Object Model Environment"
.
It is a project to build a complete, user-friendly desktop based
entirely on free software.
.
This library is used by Gnome control center applets.
Package: libconfig-archiver-dev
Section: devel
Architecture: any
Depends: libconfig-archiver0 (>= 1.5.0)
Description: Library for Gnome Control Center applets - Development
Gnome is the "GNU Network Object Model Environment"
.
It is a project to build a complete, user-friendly desktop based
entirely on free software.
.
This packages provides the include files and static library
for the Gnome control center applet library functions.

10
debian/copyright vendored Normal file
View file

@ -0,0 +1,10 @@
This package was debianized by Jim Pick jim@jimpick.com on
Sat, 14 Mar 1998 20:12:23 -0800.
It was downloaded from ftp://ftp.gnome.org/pub/GNOME/stable/sources/control-center
Copyright: 1998,99,2000 Free Software Foundation, Inc.
This code is released under the terms of the GPL license.
See /usr/share/common-licenses/GPL for the full license.

3
debian/libconfig-archiver-dev.files vendored Normal file
View file

@ -0,0 +1,3 @@
usr/lib/libconfig_archiver.{so,a,la}
usr/lib/config_archiverConf.sh
usr/include/

1
debian/libconfig-archiver-dev.links vendored Normal file
View file

@ -0,0 +1 @@
usr/share/doc/libconfig-archiver0 usr/share/doc/libconfig-archiver-dev

1
debian/libconfig-archiver0.files vendored Normal file
View file

@ -0,0 +1 @@
usr/lib/libconfig_archiver.so.*

24
debian/menu vendored Normal file
View file

@ -0,0 +1,24 @@
?package(gnome-control-center):needs=X11 section=Apps/System/Gnome\
hints="Gnome" title="Background Properties" command="/usr/bin/background-properties-capplet"
?package(gnome-control-center):needs=X11 section=Apps/System/Gnome\
hints="Gnome" title="Default Editor" command="/usr/bin/gnome-edit-properties-capplet"
?package(gnome-control-center):needs=X11 section=Apps/System/Gnome\
hints="Gnome" title="Gnome Control Center" command="/usr/bin/gnomecc"
?package(gnome-control-center):needs=X11 section=Apps/System/Gnome\
hints="Gnome" title="Keyboard Properties" command="/usr/bin/keyboard-properties"
?package(gnome-control-center):needs=X11 section=Apps/System/Gnome\
hints="Gnome" title="Mime Types" command="/usr/bin/mime-type-capplet"
?package(gnome-control-center):needs=X11 section=Apps/System/Gnome\
hints="Gnome" title="Mouse Properties" command="/usr/bin/mouse-properties-capplet"
?package(gnome-control-center):needs=X11 section=Apps/System/Gnome\
hints="Gnome" title="Screensaver" command="/usr/bin/screensaver-properties-capplet"
?package(gnome-control-center):needs=X11 section=Apps/System/Gnome\
hints="Gnome" title="Sound" command="/usr/bin/sound-properties"
?package(gnome-control-center):needs=X11 section=Apps/System/Gnome\
hints="Gnome" title="Theme Selector" command="/usr/bin/theme-selector-capplet"
?package(gnome-control-center):needs=X11 section=Apps/System/Gnome\
hints="Gnome" title="UI Properties" command="/usr/bin/ui-properties"
?package(gnome-control-center):needs=X11 section=Apps/System/Gnome\
hints="Gnome" title="URL Handlers" command="/usr/bin/url-properties"
?package(gnome-control-center):needs=X11 section=Apps/System/Gnome\
hints="Gnome" title="Window Manager" command="/usr/bin/wm-properties-capplet"

10
debian/postinst vendored Normal file
View file

@ -0,0 +1,10 @@
#!/bin/sh -e
# Call scrollkeeper
if [ "$1" = configure ]; then
scrollkeeper-update
fi
#DEBHELPER#
exit 0

10
debian/postrm vendored Normal file
View file

@ -0,0 +1,10 @@
#!/bin/sh -e
# Remove documentation with scrollkeeper
if [ "$1" = remove ]; then
scrollkeeper-update
fi
#DEBHELPER#
exit 0

10
debian/preinst vendored Normal file
View file

@ -0,0 +1,10 @@
#!/bin/sh -e
if [ -d /usr/share/gnome/help/control-center ]; then
rm -rf /usr/share/gnome/help/control-center
fi
#DEBHELPER#
exit 0

127
debian/rules vendored Executable file
View file

@ -0,0 +1,127 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Order of patches is important. Hideous, huh?
debian_patches =
export DH_COMPAT=3
build: build-stamp
build-stamp: config-stamp
dh_testdir
$(MAKE) -j 2
touch build-stamp
clean: reverse-patches
dh_testdir
dh_testroot
dh_clean *-stamp debian/shlibs.local \
xml-i18n-extract xml-i18n-merge xml-i18n-update
[ ! -f Makefile ] || $(MAKE) distclean
config: config-stamp
config-stamp: patched-stamp
dh_testdir
srcdir=`pwd` PKG_NAME="gnome-control-center" ./autogen.sh \
--prefix=/usr --localstatedir=/var/lib --sysconfdir=/etc \
--mandir=/usr/share/man --datadir=/usr/share
touch config-stamp
install: install-stamp
install-stamp: build-stamp
dh_testdir
dh_installdirs
$(MAKE) install DESTDIR=`pwd`/debian/gnome-control-center
touch install-stamp
arrange: arrange-stamp
arrange-stamp: install-stamp
dh_movefiles --sourcedir=debian/gnome-control-center
# Prune empty directories
-find debian -type d | sort -r | xargs rmdir --ignore-fail-on-non-empty
touch arrange-stamp
# mv debian/gnome-control-center/usr/share/control-center/capplets/Gnome.directory \
# debian/gnome-control-center/usr/share/control-center/capplets/.directory
binary: binary-stamp
binary-stamp: binary-arch-stamp binary-indep-stamp
binary-arch-stamp: binary-arch
binary-arch: arrange-stamp
dh_testdir
dh_testroot
dh_installdocs
# dh_installexamples
dh_installmenu
# dh_installemacsen
# dh_installinit
# dh_installcron
# dh_installman
dh_undocumented
dh_installchangelogs ChangeLog
rm -rf debian/libconfig-archiver-dev/usr/share/doc/libconfig-archiver-dev
dh_strip
dh_link
dh_compress
dh_fixperms
dh_installdeb
dh_makeshlibs -V 'libconfig-archiver0 (>= 1:1.5.2)'
dh_shlibdeps -ldebian/libconfig-archiver0/usr/lib
dh_gencontrol
dh_md5sums
dh_builddeb
binary-indep-stamp: binary-indep
binary-indep: arrange-stamp
dh_testdir
.PHONY: build clean binary-indep binary-arch binary install force-clean
# ---------------------------------------------------------------------------
# various rules to unpack addons and (un)apply patches.
# borrowed from egcs package
patch_dir = debian/patches
apply-patches: patched-stamp
reverse-patches:
@for stamp in none patched-*; do \
case "$$stamp" in none|patched-stamp|patched-\*) continue; esac; \
patch=`echo $$stamp | sed -e 's/patched-//'`; \
echo "trying to revert patch $$patch ..."; \
if [ -x $(patch_dir)/$$patch.dpatch ]; then true; else \
chmod +x $(patch_dir)/$$patch.dpatch; fi; \
if $(patch_dir)/$$patch.dpatch -unpatch; then \
echo "reverted $$patch patch."; \
rm -f $$stamp; \
else \
echo "error in reverting $$patch patch."; \
exit 1; \
fi; \
done
rm -f patched-stamp
patched-%: $(patch_dir)/%.dpatch
@if [ -x $< ]; then true; else chmod +x $<; fi
@if [ -f $@ ]; then \
echo "$* patches already applied."; exit 1; \
fi
$< -patch
@echo "$* patches applied." > $@
patched-stamp: $(foreach p,$(debian_patches),patched-$(p))
@echo -e "\nPatches applied:" >> pxxx
@for i in none $(debian_patches); do \
if [ -r debian/patches/$$i.dpatch ]; then \
echo -e "\n$$i:" >> pxxx; \
sed -n 's/^# *DP: */ /p' debian/patches/$$i.dpatch >> pxxx; \
fi \
done
mv -f pxxx patched-stamp