Commit 57cdc72b authored by Ari Pollak's avatar Ari Pollak Committed by Jeremy Bicha

Import Debian changes 2.6.1-1

gimp-help (2.6.1-1) unstable; urgency=low

  * New upstream release (Closes: #523295, #550535)
    - git archive GIMP_HELP_2_6_1 | gzip > ../gimp-help_2.6.1.orig.tar.gz
  * Changed location of upstream source in copyright file
  * Use debhelper 7 with short rules file
  * Use machine-readable copyright file

gimp-help (2.4.1-2) unstable; urgency=low

  * Don't use a custom version of dh_installdocs anymore (Closes: #521933)

gimp-help (2.4.1-1) unstable; urgency=low

  * New upstream release
  * Remove executable bit from images (Closes: #394907)

gimp-help (2.4.0-2) unstable; urgency=low

  * Changed gimp-helpbrowser dependency to gimp
  * Remove bashism in debian/rules when cleaning up images from missing
    languages (Closes: #459191)

gimp-help (2.4.0-1) unstable; urgency=low

  * New upstream release
parent fc465230
- undo symlinks since -common is useless
- need .preinst to convert links to dirs
- also need to change the .doc-base files and debian/rules
gimp-help (2.6.1-1) unstable; urgency=low
* New upstream release (Closes: #523295, #550535)
- git archive GIMP_HELP_2_6_1 | gzip > ../gimp-help_2.6.1.orig.tar.gz
* Changed location of upstream source in copyright file
* Use debhelper 7 with short rules file
* Use machine-readable copyright file
-- Ari Pollak <ari@debian.org> Sat, 14 Aug 2010 01:02:20 -0400
gimp-help (2.4.1-2) unstable; urgency=low
* Don't use a custom version of dh_installdocs anymore (Closes: #521933)
-- Ari Pollak <ari@debian.org> Sun, 12 Apr 2009 16:36:19 -0400
gimp-help (2.4.1-1) unstable; urgency=low
* New upstream release
* Remove executable bit from images (Closes: #394907)
-- Ari Pollak <ari@debian.org> Fri, 11 Apr 2008 19:05:53 -0400
gimp-help (2.4.0-2) unstable; urgency=low
* Changed gimp-helpbrowser dependency to gimp
* Remove bashism in debian/rules when cleaning up images from missing
languages (Closes: #459191)
-- Ari Pollak <ari@debian.org> Fri, 04 Jan 2008 15:14:19 -0500
gimp-help (2.4.0-1) unstable; urgency=low
* New upstream release
-- Ari Pollak <ari@debian.org> Sat, 01 Dec 2007 14:06:09 -0500
gimp-help (2+0.13-1) unstable; urgency=low
* New upstream release
......
Makefile.in
aclocal.m4
configure
install-sh
missing
quickreference/Makefile.in
stylesheets/profile-mode.xsl
stylesheets/profile.xsl.debdiff
......@@ -2,28 +2,24 @@ Source: gimp-help
Section: doc
Priority: optional
Maintainer: Ari Pollak <ari@debian.org>
Build-Depends-Indep: debhelper (>= 4.0.0), xsltproc (>= 1.1.12), docbook-xml, docbook-xsl, imagemagick
Standards-Version: 3.6.1
Build-Depends: debhelper (>= 7.0.50~), automake (>= 1.10), autoconf, pkg-config,
dh-autoreconf
Build-Depends-Indep: xsltproc (>= 1.1.12), docbook-xml, docbook-xsl,
gnome-doc-utils
Build-Conflicts: dblatex, docbook2odf
Standards-Version: 3.9.2
Homepage: http://www.gimp.org
Package: gimp-help-cs
Package: gimp-help-common
Architecture: all
Depends: gimp-help-common (= ${source:Version}), gimp-helpbrowser | www-browser
Recommends: gimp-help-en
Provides: gimp-help
Enhances: gimp
Description: Documentation for the GIMP (Czech)
This package contains the documentation files for the GIMP designed for use
with the internal GIMP help browser or external web browsers.
.
This package contains the documentation for the GIMP in Czech.
.
gimp-help-en is recommended because it is automatically the fallback
for pages which have not yet been translated.
Depends: ${misc:Depends}
Description: Data files for the GIMP documentation
This package contains necessary files common to all GIMP help
packages, such as graphics and screenshots.
Package: gimp-help-de
Architecture: all
Depends: gimp-help-common (= ${source:Version}), gimp-helpbrowser | www-browser
Recommends: gimp-help-en
Depends: ${misc:Depends}, gimp-help-common (= ${source:Version}), gimp-helpbrowser | www-browser
Provides: gimp-help
Enhances: gimp
Description: Documentation for the GIMP (German)
......@@ -31,14 +27,10 @@ Description: Documentation for the GIMP (German)
with the internal GIMP help browser or external web browsers.
.
This package contains the documentation for the GIMP in German.
.
gimp-help-en is recommended because it is automatically the fallback
for pages which have not yet been translated.
Package: gimp-help-en
Architecture: all
Depends: gimp-help-common (= ${source:Version}), gimp-helpbrowser | www-browser
Depends: ${misc:Depends}, gimp-help-common (= ${source:Version}), gimp-helpbrowser | www-browser
Provides: gimp-help
Enhances: gimp
Description: Documentation for the GIMP (English)
......@@ -47,10 +39,20 @@ Description: Documentation for the GIMP (English)
.
This package contains the documentation for the GIMP in English.
Package: gimp-help-es
Architecture: all
Depends: ${misc:Depends}, gimp-help-common (= ${source:Version}), gimp-helpbrowser | www-browser
Provides: gimp-help
Enhances: gimp
Description: Documentation for the GIMP (Spanish)
This package contains the documentation files for the GIMP designed for use
with the internal GIMP help browser or external web browsers.
.
This package contains the documentation for the GIMP in Spanish.
Package: gimp-help-fr
Architecture: all
Depends: gimp-help-common (= ${source:Version}), gimp-helpbrowser | www-browser
Recommends: gimp-help-en
Depends: ${misc:Depends}, gimp-help-common (= ${source:Version}), gimp-helpbrowser | www-browser
Provides: gimp-help
Enhances: gimp
Description: Documentation for the GIMP (French)
......@@ -58,14 +60,10 @@ Description: Documentation for the GIMP (French)
with the internal GIMP help browser or external web browsers.
.
This package contains the documentation for the GIMP in French.
.
gimp-help-en is recommended because it is automatically the fallback
for pages which have not yet been translated.
Package: gimp-help-it
Architecture: all
Depends: gimp-help-common (= ${source:Version}), gimp-helpbrowser | www-browser
Recommends: gimp-help-en
Depends: ${misc:Depends}, gimp-help-common (= ${source:Version}), gimp-helpbrowser | www-browser
Provides: gimp-help
Enhances: gimp
Description: Documentation for the GIMP (Italian)
......@@ -73,14 +71,10 @@ Description: Documentation for the GIMP (Italian)
with the internal GIMP help browser or external web browsers.
.
This package contains the documentation for the GIMP in Italian.
.
gimp-help-en is recommended because it is automatically the fallback
for pages which have not yet been translated.
Package: gimp-help-ko
Architecture: all
Depends: gimp-help-common (= ${source:Version}), gimp-helpbrowser | www-browser
Recommends: gimp-help-en
Depends: ${misc:Depends}, gimp-help-common (= ${source:Version}), gimp-helpbrowser | www-browser
Provides: gimp-help
Enhances: gimp
Description: Documentation for the GIMP (Korean)
......@@ -88,14 +82,10 @@ Description: Documentation for the GIMP (Korean)
with the internal GIMP help browser or external web browsers.
.
This package contains the documentation for the GIMP in Korean.
.
gimp-help-en is recommended because it is automatically the fallback
for pages which have not yet been translated.
Package: gimp-help-nl
Architecture: all
Depends: gimp-help-common (= ${source:Version}), gimp-helpbrowser | www-browser
Recommends: gimp-help-en
Depends: ${misc:Depends}, gimp-help-common (= ${source:Version}), gimp-helpbrowser | www-browser
Provides: gimp-help
Enhances: gimp
Description: Documentation for the GIMP (Dutch)
......@@ -103,14 +93,10 @@ Description: Documentation for the GIMP (Dutch)
with the internal GIMP help browser or external web browsers.
.
This package contains the documentation for the GIMP in Dutch.
.
gimp-help-en is recommended because it is automatically the fallback
for pages which have not yet been translated.
Package: gimp-help-no
Package: gimp-help-nn
Architecture: all
Depends: gimp-help-common (= ${source:Version}), gimp-helpbrowser | www-browser
Recommends: gimp-help-en
Depends: ${misc:Depends}, gimp-help-common (= ${source:Version}), gimp-helpbrowser | www-browser
Provides: gimp-help
Enhances: gimp
Description: Documentation for the GIMP (Norwegian)
......@@ -118,14 +104,21 @@ Description: Documentation for the GIMP (Norwegian)
with the internal GIMP help browser or external web browsers.
.
This package contains the documentation for the GIMP in Norwegian.
Package: gimp-help-pl
Architecture: all
Depends: ${misc:Depends}, gimp-help-common (= ${source:Version}), gimp-helpbrowser | www-browser
Provides: gimp-help
Enhances: gimp
Description: Documentation for the GIMP (Polish)
This package contains the documentation files for the GIMP designed for use
with the internal GIMP help browser or external web browsers.
.
gimp-help-en is recommended because it is automatically the fallback
for pages which have not yet been translated.
This package contains the documentation for the GIMP in Polish.
Package: gimp-help-ru
Architecture: all
Depends: gimp-help-common (= ${source:Version}), gimp-helpbrowser | www-browser
Recommends: gimp-help-en
Depends: ${misc:Depends}, gimp-help-common (= ${source:Version}), gimp-helpbrowser | www-browser
Provides: gimp-help
Enhances: gimp
Description: Documentation for the GIMP (Russian)
......@@ -133,14 +126,10 @@ Description: Documentation for the GIMP (Russian)
with the internal GIMP help browser or external web browsers.
.
This package contains the documentation for the GIMP in Russian.
.
gimp-help-en is recommended because it is automatically the fallback
for pages which have not yet been translated.
Package: gimp-help-sv
Architecture: all
Depends: gimp-help-common (= ${source:Version}), gimp-helpbrowser | www-browser
Recommends: gimp-help-en
Depends: ${misc:Depends}, gimp-help-common (= ${source:Version}), gimp-helpbrowser | www-browser
Provides: gimp-help
Enhances: gimp
Description: Documentation for the GIMP (Swedish)
......@@ -148,27 +137,3 @@ Description: Documentation for the GIMP (Swedish)
with the internal GIMP help browser or external web browsers.
.
This package contains the documentation for the GIMP in Swedish.
.
gimp-help-en is recommended because it is automatically the fallback
for pages which have not yet been translated.
Package: gimp-help-zh-cn
Architecture: all
Depends: gimp-help-common (= ${source:Version}), gimp-helpbrowser | www-browser
Recommends: gimp-help-en
Provides: gimp-help
Enhances: gimp
Description: Documentation for the GIMP (Chinese Simplified)
This package contains the documentation files for the GIMP designed for use
with the internal GIMP help browser or external web browsers.
.
This package contains the documentation for the GIMP in Chinese Simplified.
.
gimp-help-en is recommended because it is automatically the fallback
for pages which have not yet been translated.
Package: gimp-help-common
Architecture: all
Description: Data files for the GIMP documentation
This package contains necessary files common to all GIMP help
packages, such as graphics and screenshots.
This diff is collapsed.
usr/share/gimp/2.0/help/images/
Document: gimp-help-cs
Title: GIMP User's Manual (Czech)
Author: Various
Abstract: This manual contains documentation for using the
GNU Image Manipulation Program (The GIMP) in the Czech language.
Section: Apps/Graphics
Format: HTML
Index: /usr/share/doc/gimp-help-common/html/cs/index.html
Files: /usr/share/doc/gimp-help-common/html/cs/*.html
/usr/share/gimp/2.0/help/cs/
/usr/share/gimp/2.0/help/images/*/cs/
usr/share/doc/gimp-help-common usr/share/doc/gimp-help-cs
#!/bin/sh -e
# if /usr/share/doc/gimp-help-cs is a directory, it's probably from an older
# package, so remove it and make the symlink
if [ ! -L /usr/share/doc/gimp-help-cs -a -d /usr/share/doc/gimp-help-cs ];
then
rmdir /usr/share/doc/gimp-help-cs
fi
if [ ! -e /usr/share/doc/gimp-help-cs ]; then
ln -s gimp-help-common /usr/share/doc/gimp-help-cs
fi
#DEBHELPER#
......@@ -3,7 +3,7 @@ Title: GIMP User's Manual (German)
Author: Various
Abstract: This manual contains documentation for using the
GNU Image Manipulation Program (The GIMP) in the German language.
Section: Apps/Graphics
Section: Graphics
Format: HTML
Index: /usr/share/doc/gimp-help-common/html/de/index.html
......
/usr/share/gimp/2.0/help/de/
/usr/share/gimp/2.0/help/images/*/de/
usr/share/doc/gimp-help-common usr/share/doc/gimp-help-de
......@@ -3,7 +3,7 @@ Title: GIMP User's Manual (English)
Author: Various
Abstract: This manual contains documentation for using the
GNU Image Manipulation Program (The GIMP) in the English language.
Section: Apps/Graphics
Section: Graphics
Format: HTML
Index: /usr/share/doc/gimp-help-common/html/en/index.html
......
usr/share/doc/gimp-help-common usr/share/doc/gimp-help-en
Document: gimp-help-es
Title: GIMP User's Manual (Spanish)
Author: Various
Abstract: This manual contains documentation for using the
GNU Image Manipulation Program (The GIMP) in the Spanish language.
Section: Graphics
Format: HTML
Index: /usr/share/doc/gimp-help-common/html/es/index.html
Files: /usr/share/doc/gimp-help-common/html/es/*.html
/usr/share/gimp/2.0/help/es/
......@@ -3,7 +3,7 @@ Title: GIMP User's Manual (French)
Author: Various
Abstract: This manual contains documentation for using the
GNU Image Manipulation Program (The GIMP) in the French language.
Section: Apps/Graphics
Section: Graphics
Format: HTML
Index: /usr/share/doc/gimp-help-common/html/fr/index.html
......
/usr/share/gimp/2.0/help/fr/
/usr/share/gimp/2.0/help/images/*/fr/
usr/share/doc/gimp-help-common usr/share/doc/gimp-help-fr
......@@ -3,7 +3,7 @@ Title: GIMP User's Manual (Italian)
Author: Various
Abstract: This manual contains documentation for using the
GNU Image Manipulation Program (The GIMP) in the Italian language.
Section: Apps/Graphics
Section: Graphics
Format: HTML
Index: /usr/share/doc/gimp-help-common/html/it/index.html
......
/usr/share/gimp/2.0/help/it/
/usr/share/gimp/2.0/help/images/*/it/
usr/share/doc/gimp-help-common usr/share/doc/gimp-help-it
......@@ -3,7 +3,7 @@ Title: GIMP User's Manual (Korean)
Author: Various
Abstract: This manual contains documentation for using the
GNU Image Manipulation Program (The GIMP) in the Korean language.
Section: Apps/Graphics
Section: Graphics
Format: HTML
Index: /usr/share/doc/gimp-help-common/html/ko/index.html
......
/usr/share/gimp/2.0/help/ko/
/usr/share/gimp/2.0/help/images/*/ko/
usr/share/doc/gimp-help-common usr/share/doc/gimp-help-ko
......@@ -3,7 +3,7 @@ Title: GIMP User's Manual (Dutch)
Author: Various
Abstract: This manual contains documentation for using the
GNU Image Manipulation Program (The GIMP) in the Dutch language.
Section: Apps/Graphics
Section: Graphics
Format: HTML
Index: /usr/share/doc/gimp-help-common/html/nl/index.html
......
/usr/share/gimp/2.0/help/nl/
/usr/share/gimp/2.0/help/images/*/nl/
usr/share/doc/gimp-help-common usr/share/doc/gimp-help-nl
Document: gimp-help-no
Document: gimp-help-nn
Title: GIMP User's Manual (Norwegian)
Author: Various
Abstract: This manual contains documentation for using the
GNU Image Manipulation Program (The GIMP) in the Norwegian language.
Section: Apps/Graphics
Section: Graphics
Format: HTML
Index: /usr/share/doc/gimp-help-common/html/no/index.html
Files: /usr/share/doc/gimp-help-common/html/no/*.html
Index: /usr/share/doc/gimp-help-common/html/nn/index.html
Files: /usr/share/doc/gimp-help-common/html/nn/*.html
/usr/share/gimp/2.0/help/nn/
/usr/share/gimp/2.0/help/no/
/usr/share/gimp/2.0/help/images/*/no/
usr/share/doc/gimp-help-common usr/share/doc/gimp-help-no
Document: gimp-help-pl
Title: GIMP User's Manual (Polish)
Author: Various
Abstract: This manual contains documentation for using the
GNU Image Manipulation Program (The GIMP) in the Polish language.
Section: Graphics
Format: HTML
Index: /usr/share/doc/gimp-help-common/html/pl/index.html
Files: /usr/share/doc/gimp-help-common/html/pl/*.html
/usr/share/gimp/2.0/help/pl/
......@@ -3,7 +3,7 @@ Title: GIMP User's Manual (Russian)
Author: Various
Abstract: This manual contains documentation for using the
GNU Image Manipulation Program (The GIMP) in the Russian language.
Section: Apps/Graphics
Section: Graphics
Format: HTML
Index: /usr/share/doc/gimp-help-common/html/ru/index.html
......
/usr/share/gimp/2.0/help/ru/
/usr/share/gimp/2.0/help/images/*/ru/
usr/share/doc/gimp-help-common usr/share/doc/gimp-help-ru
......@@ -3,7 +3,7 @@ Title: GIMP User's Manual (Swedish)
Author: Various
Abstract: This manual contains documentation for using the
GNU Image Manipulation Program (The GIMP) in the Swedish language.
Section: Apps/Graphics
Section: Graphics
Format: HTML
Index: /usr/share/doc/gimp-help-common/html/sv/index.html
......
/usr/share/gimp/2.0/help/sv/
/usr/share/gimp/2.0/help/images/*/sv/
usr/share/doc/gimp-help-common usr/share/doc/gimp-help-sv
Document: gimp-help-zh-cn
Title: GIMP User's Manual (Chinese Simplified)
Author: Various
Abstract: This manual contains documentation for using the
GNU Image Manipulation Program (The GIMP) in the Chinese Simplified language.
Section: Apps/Graphics
Format: HTML
Index: /usr/share/doc/gimp-help-common/html/zh_CN/index.html
Files: /usr/share/doc/gimp-help-common/html/zh_CN/*.html
/usr/share/gimp/2.0/help/zh_CN/
/usr/share/gimp/2.0/help/images/*/zh_CN/
usr/share/doc/gimp-help-common usr/share/doc/gimp-help-zh-cn
#!/bin/sh -e
# if /usr/share/doc/gimp-help-zh-cn is a directory, it's probably from an older
# package, so remove it and make the symlink
if [ ! -L /usr/share/doc/gimp-help-zh-cn -a -d /usr/share/doc/gimp-help-zh-cn ];
then
rmdir /usr/share/doc/gimp-help-zh-cn
fi
if [ ! -e /usr/share/doc/gimp-help-zh-cn ]; then
ln -s gimp-help-common /usr/share/doc/gimp-help-zh-cn
fi
#DEBHELPER#
#!/usr/bin/perl -w
=head1 NAME
installdocbase - modified version of dh_installdocs to only install the
*.doc-base files in the debian/ directory.
=cut
use strict;
use Debian::Debhelper::Dh_Lib;
=head1 OPTIONS
=over 4
=item B<-A>, B<--all>
Install all files specified by command line parameters in ALL packages
acted on.
=item B<-n>, B<--noscripts>
Do not modify postinst/prerm scripts.
=item B<-Xitem>, B<--exclude=item>
Exclude files that contain "item" anywhere in their filename from
being installed.
=item I<file ...>
Install these files as documentation into the first package acted on. (Or
in all packages if B<-A> is specified).
=back
=cut
init();
foreach my $package (@{$dh{DOPACKAGES}}) {
next if is_udeb($package);
my $tmp=tmpdir($package);
# Handle doc-base files. There are two filename formats, the usual
# plus an extended format (debian/package.*).
my %doc_ids;
opendir(DEB,"debian/") || error("can't read debian directory: $!");
# If this is the main package, we need to handle unprefixed filenames.
# For all packages, we must support both the usual filename format plus
# that format with a period an something appended.
my $regexp="\Q$package\E\.";
if ($package eq $dh{MAINPACKAGE}) {
$regexp="(|$regexp)";
}
foreach my $fn (grep {/^${regexp}doc-base(\..*)?$/} readdir(DEB)) {
# .EX are example files, generated by eg, dh-make
next if $fn=~/\.EX$/;
# Parse the file to get the doc id.
open (IN, "debian/$fn") || die "Cannot read debian/$fn.";
while (<IN>) {
if (/^Document:\s+(.*)(\s+)?/) {
$doc_ids{$fn}=$1;
last;
}
}
close IN;
}
closedir(DEB);
if (%doc_ids) {
if (! -d "$tmp/usr/share/doc-base/") {
doit("install","-g",0,"-o",0,"-d","$tmp/usr/share/doc-base/");
}
}
foreach my $fn (keys %doc_ids) {
doit("install","-g",0,"-o",0,"-m644","-p","debian/$fn",
"$tmp/usr/share/doc-base/$doc_ids{$fn}");
if (! $dh{NOSCRIPTS}) {
autoscript($package,"postinst","postinst-doc-base",
"s/#DOC-ID#/$doc_ids{$fn}/",
);
autoscript($package,"prerm","prerm-doc-base",
"s/#DOC-ID#/$doc_ids{$fn}/",
);
}
}
}
=head1 SEE ALSO
L<debhelper(7)>
This program is a part of debhelper.
=head1 AUTHOR
Joey Hess <joeyh@debian.org>
=cut
Description: disable running configure
since dh_autoreconf won't let us pass --without-gimp to this.
(Debian Bug #623229
Index: gimp-help-2.6.1/autogen.sh
===================================================================
--- gimp-help-2.6.1.orig/autogen.sh
+++ gimp-help-2.6.1/autogen.sh
@@ -58,18 +58,18 @@ test $TEST_TYPE $FILE || {
}
-echo
-echo "I am going to run ./configure with the following arguments:"
-echo
-echo " --enable-maintainer-mode --enable-build $AUTOGEN_CONFIGURE_ARGS $@"
-echo
-
-if test -z "$*"; then
- echo "If you wish to pass additional arguments, please specify them "
- echo "on the $0 command line or set the AUTOGEN_CONFIGURE_ARGS "
- echo "environment variable."
- echo
-fi
+#echo
+#echo "I am going to run ./configure with the following arguments:"
+#echo
+#echo " --enable-maintainer-mode --enable-build $AUTOGEN_CONFIGURE_ARGS $@"
+#echo
+#
+#if test -z "$*"; then
+# echo "If you wish to pass additional arguments, please specify them "
+# echo "on the $0 command line or set the AUTOGEN_CONFIGURE_ARGS "
+# echo "environment variable."
+# echo
+#fi
if test -z "$ACLOCAL_FLAGS"; then
acdir=`$ACLOCAL --print-ac-dir`
@@ -96,7 +96,7 @@ if test $RC -ne 0; then
exit 1
fi
-$AUTOMAKE --add-missing || exit 1
+$AUTOMAKE --add-missing --copy || exit 1
if [ -e Makefile.in ]; then
sed -e 's/^# HIDE FROM AUTOMAKE #//' \
-e '/^all\(-local\)\?:/i\
@@ -114,11 +114,11 @@ rm -rf autom4te.cache
cd $ORIGDIR
-if $srcdir/configure --enable-maintainer-mode "$@"; then
- echo
- echo "Now type 'make' to compile $PROJECT."
-else
- echo
- echo "Configure failed or did not finish!"
- exit 1
-fi
+#if $srcdir/configure --enable-maintainer-mode "$@"; then
+# echo
+# echo "Now type 'make' to compile $PROJECT."
+#else
+# echo
+# echo "Configure failed or did not finish!"
+# exit 1
+#fi
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@ --with=autoreconf #--builddirectory=build
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
# Commands not to run:
override_dh_auto_test:
override_dh_autoreconf:
dh_autoreconf ./autogen.sh
CFLAGS = -Wall -g
override_dh_auto_configure:
dh_auto_configure -- --without-gimp --enable-build
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
override_dh_auto_install:
dh_auto_install
# Remove old (unmaintained?) language
rm -rf debian/tmp/usr/share/gimp/2.0/help/zh_CN
# Remove execute bit from images
find debian/tmp/usr/share/gimp/2.0/help/*/images -type f \
-exec chmod -x '{}' ';'
config.status: configure
dh_testdir
# Add here commands to configure the package.
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --without-gimp --enable-build
override_dh_installdocs:
dh_installdocs --link-doc=gimp-help-common -A AUTHORS NEWS README
override_dh_clean:
dh_clean
find tools/xml2po/ -name '*.pyc' -type f -delete
rm -f po/*/*/*.po
build: build-stamp
build-stamp: config.status
dh_testdir
# Add here commands to compile the package.
$(MAKE)