Commit 40617634 authored by Ari Pollak's avatar Ari Pollak Committed by Jeremy Bicha

Import Debian changes 2+0.9-1

gimp-help (2+0.9-1) unstable; urgency=low

  * New upstream release (Closes: #327806)

gimp-help (2+0.8-3) unstable; urgency=low

  * Add imagemagick to build-depends (Closes: #315036) 

gimp-help (2+0.8-2) unstable; urgency=low

  * Correct lang=en to lang=it in src/concepts/selection.xml (Closes: #314885)
  * Manually add /usr/share/doc/gimp-help-<lang> symlinks in postinst for
    all languages except it and nl if those exist as empty directories
  * Include upstream NEWS file in docs (Closes: #302856)

gimp-help (2+0.8-1) unstable; urgency=low

  * New upstream release
parent b4b1d73a
gimp-help (2+0.9-1) unstable; urgency=low
* New upstream release (Closes: #327806)
-- Ari Pollak <ari@debian.org> Mon, 12 Sep 2005 13:59:21 -0400
gimp-help (2+0.8-3) unstable; urgency=low
* Add imagemagick to build-depends (Closes: #315036)
-- Ari Pollak <ari@debian.org> Mon, 20 Jun 2005 11:54:24 -0400
gimp-help (2+0.8-2) unstable; urgency=low
* Correct lang=en to lang=it in src/concepts/selection.xml (Closes: #314885)
* Manually add /usr/share/doc/gimp-help-<lang> symlinks in postinst for
all languages except it and nl if those exist as empty directories
* Include upstream NEWS file in docs (Closes: #302856)
-- Ari Pollak <ari@debian.org> Sun, 19 Jun 2005 13:04:53 -0400
gimp-help (2+0.8-1) unstable; urgency=low
* New upstream release
-- Ari Pollak <ari@debian.org> Tue, 17 May 2005 19:11:04 -0400
gimp-help (2+0.7-5) unstable; urgency=high
* Fix doc-base entry for gimp-help-zh-cn to point to correct directory
......
......@@ -2,7 +2,7 @@ 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-xsl
Build-Depends-Indep: debhelper (>= 4.0.0), xsltproc (>= 1.1.12), docbook-xsl, imagemagick
Standards-Version: 3.6.1
Package: gimp-help-cs
......@@ -69,6 +69,40 @@ Description: Documentation for the GIMP (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
Provides: gimp-help
Replaces: gimp-help (<< 2+0.3-1)
Conflicts: gimp-help (<< 2+0.3-1)
Enhances: gimp
Description: Documentation for the GIMP (Italian)
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 Italian.
.
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
Provides: gimp-help
Replaces: gimp-help (<< 2+0.3-1)
Conflicts: gimp-help (<< 2+0.3-1)
Enhances: gimp
Description: Documentation for the GIMP (Dutch)
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 Dutch.
.
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
......
#!/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#
#!/bin/sh -e
# if /usr/share/doc/gimp-help-de is a directory, it's probably from an older
# package, so remove it and make the symlink
if [ ! -L /usr/share/doc/gimp-help-de -a -d /usr/share/doc/gimp-help-de ];
then
rmdir /usr/share/doc/gimp-help-de
fi
if [ ! -e /usr/share/doc/gimp-help-de ]; then
ln -s gimp-help-common /usr/share/doc/gimp-help-de
fi
#DEBHELPER#
#!/bin/sh -e
# if /usr/share/doc/gimp-help-en is a directory, it's probably from an older
# package, so remove it and make the symlink
if [ ! -L /usr/share/doc/gimp-help-en -a -d /usr/share/doc/gimp-help-en ];
then
rmdir /usr/share/doc/gimp-help-en
fi
if [ ! -e /usr/share/doc/gimp-help-en ]; then
ln -s gimp-help-common /usr/share/doc/gimp-help-en
fi
#DEBHELPER#
#!/bin/sh -e
# if /usr/share/doc/gimp-help-fr is a directory, it's probably from an older
# package, so remove it and make the symlink
if [ ! -L /usr/share/doc/gimp-help-fr -a -d /usr/share/doc/gimp-help-fr ];
then
rmdir /usr/share/doc/gimp-help-fr
fi
if [ ! -e /usr/share/doc/gimp-help-fr ]; then
ln -s gimp-help-common /usr/share/doc/gimp-help-fr
fi
#DEBHELPER#
Document: gimp-help-it
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
Format: HTML
Index: /usr/share/doc/gimp-help-common/html/it/index.html
Files: /usr/share/doc/gimp-help-common/html/it/*.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
Document: gimp-help-nl
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
Format: HTML
Index: /usr/share/doc/gimp-help-common/html/nl/index.html
Files: /usr/share/doc/gimp-help-common/html/nl/*.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
#!/bin/sh -e
# if /usr/share/doc/gimp-help-sv is a directory, it's probably from an older
# package, so remove it and make the symlink
if [ ! -L /usr/share/doc/gimp-help-sv -a -d /usr/share/doc/gimp-help-sv ];
then
rmdir /usr/share/doc/gimp-help-sv
fi
if [ ! -e /usr/share/doc/gimp-help-sv ]; then
ln -s gimp-help-common /usr/share/doc/gimp-help-sv
fi
#DEBHELPER#
#!/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#
......@@ -27,10 +27,6 @@ endif
config.status: configure
dh_testdir
cp -f \
/usr/share/xml/docbook/stylesheet/nwalsh/profiling/profile{,-mode}.xsl \
stylesheets/
# 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
......@@ -54,9 +50,8 @@ clean:
# Add here commands to clean up after the build process.
-$(MAKE) distclean
rm -f *.stamp
rm -f stylesheets/profile{,-mode}.xsl
rm -rf html/ pdf/ xml/
rm -rf stamps/
#ifneq "$(wildcard /usr/share/misc/config.sub)" ""
# cp -f /usr/share/misc/config.sub config.sub
......
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<!-- Copy all non-element nodes -->
<xsl:template match="@*|text()|comment()|processing-instruction()" mode="profile">
<xsl:copy/>
</xsl:template>
<!-- Profile elements based on input parameters -->
<xsl:template match="*" mode="profile">
<xsl:variable name="arch.content">
<xsl:if test="@arch">
<xsl:call-template name="cross.compare">
<xsl:with-param name="a" select="$profile.arch"/>
<xsl:with-param name="b" select="@arch"/>
</xsl:call-template>
</xsl:if>
</xsl:variable>
<xsl:variable name="arch.ok" select="not(@arch) or not($profile.arch) or
$arch.content != '' or @arch = ''"/>
<xsl:variable name="condition.content">
<xsl:if test="@condition">
<xsl:call-template name="cross.compare">
<xsl:with-param name="a" select="$profile.condition"/>
<xsl:with-param name="b" select="@condition"/>
</xsl:call-template>
</xsl:if>
</xsl:variable>
<xsl:variable name="condition.ok" select="not(@condition) or not($profile.condition) or
$condition.content != '' or @condition = ''"/>
<xsl:variable name="conformance.content">
<xsl:if test="@conformance">
<xsl:call-template name="cross.compare">
<xsl:with-param name="a" select="$profile.conformance"/>
<xsl:with-param name="b" select="@conformance"/>
</xsl:call-template>
</xsl:if>
</xsl:variable>
<xsl:variable name="conformance.ok" select="not(@conformance) or not($profile.conformance) or
$conformance.content != '' or @conformance = ''"/>
<xsl:variable name="lang.content">
<xsl:if test="@lang">
<xsl:call-template name="cross.compare">
<xsl:with-param name="a" select="$profile.lang"/>
<xsl:with-param name="b" select="@lang"/>
</xsl:call-template>
</xsl:if>
</xsl:variable>
<xsl:variable name="lang.ok" select="not(@lang) or not($profile.lang) or
$lang.content != '' or @lang = ''"/>
<xsl:variable name="os.content">
<xsl:if test="@os">
<xsl:call-template name="cross.compare">
<xsl:with-param name="a" select="$profile.os"/>
<xsl:with-param name="b" select="@os"/>
</xsl:call-template>
</xsl:if>
</xsl:variable>
<xsl:variable name="os.ok" select="not(@os) or not($profile.os) or
$os.content != '' or @os = ''"/>
<xsl:variable name="revision.content">
<xsl:if test="@revision">
<xsl:call-template name="cross.compare">
<xsl:with-param name="a" select="$profile.revision"/>
<xsl:with-param name="b" select="@revision"/>
</xsl:call-template>
</xsl:if>
</xsl:variable>
<xsl:variable name="revision.ok" select="not(@revision) or not($profile.revision) or
$revision.content != '' or @revision = ''"/>
<xsl:variable name="revisionflag.content">
<xsl:if test="@revisionflag">
<xsl:call-template name="cross.compare">
<xsl:with-param name="a" select="$profile.revisionflag"/>
<xsl:with-param name="b" select="@revisionflag"/>
</xsl:call-template>
</xsl:if>
</xsl:variable>
<xsl:variable name="revisionflag.ok" select="not(@revisionflag) or not($profile.revisionflag) or
$revisionflag.content != '' or @revisionflag = ''"/>
<xsl:variable name="role.content">
<xsl:if test="@role">
<xsl:call-template name="cross.compare">
<xsl:with-param name="a" select="$profile.role"/>
<xsl:with-param name="b" select="@role"/>
</xsl:call-template>
</xsl:if>
</xsl:variable>
<xsl:variable name="role.ok" select="not(@role) or not($profile.role) or
$role.content != '' or @role = ''"/>
<xsl:variable name="security.content">
<xsl:if test="@security">
<xsl:call-template name="cross.compare">
<xsl:with-param name="a" select="$profile.security"/>
<xsl:with-param name="b" select="@security"/>
</xsl:call-template>
</xsl:if>
</xsl:variable>
<xsl:variable name="security.ok" select="not(@security) or not($profile.security) or
$security.content != '' or @security = ''"/>
<xsl:variable name="userlevel.content">
<xsl:if test="@userlevel">
<xsl:call-template name="cross.compare">
<xsl:with-param name="a" select="$profile.userlevel"/>
<xsl:with-param name="b" select="@userlevel"/>
</xsl:call-template>
</xsl:if>
</xsl:variable>
<xsl:variable name="userlevel.ok" select="not(@userlevel) or not($profile.userlevel) or
$userlevel.content != '' or @userlevel = ''"/>
<xsl:variable name="vendor.content">
<xsl:if test="@vendor">
<xsl:call-template name="cross.compare">
<xsl:with-param name="a" select="$profile.vendor"/>
<xsl:with-param name="b" select="@vendor"/>
</xsl:call-template>
</xsl:if>
</xsl:variable>
<xsl:variable name="vendor.ok" select="not(@vendor) or not($profile.vendor) or
$vendor.content != '' or @vendor = ''"/>
<xsl:variable name="attribute.content">
<xsl:if test="@*[local-name()=$profile.attribute]">
<xsl:call-template name="cross.compare">
<xsl:with-param name="a" select="$profile.value"/>
<xsl:with-param name="b" select="@*[local-name()=$profile.attribute]"/>
</xsl:call-template>
</xsl:if>
</xsl:variable>
<xsl:variable name="attribute.ok"
select="not(@*[local-name()=$profile.attribute]) or not($profile.value) or
$attribute.content != '' or
@*[local-name()=$profile.attribute] = '' or not($profile.attribute)"/>
<xsl:if test="$arch.ok and $condition.ok and $conformance.ok and $lang.ok and $os.ok
and $revision.ok and $revisionflag.ok and $role.ok and $security.ok
and $userlevel.ok and $vendor.ok and $attribute.ok">
<xsl:copy>
<xsl:apply-templates select="@*|node()" mode="profile"/>
</xsl:copy>
</xsl:if>
</xsl:template>
<!-- Returns non-empty string if list in $b contains one ore more values from list $a -->
<xsl:template name="cross.compare">
<xsl:param name="a"/>
<xsl:param name="b"/>
<xsl:param name="sep" select="$profile.separator"/>
<xsl:variable name="head" select="substring-before(concat($a, $sep), $sep)"/>
<xsl:variable name="tail" select="substring-after($a, $sep)"/>
<xsl:if test="contains(concat($sep, $b, $sep), concat($sep, $head, $sep))">1</xsl:if>
<xsl:if test="$tail">
<xsl:call-template name="cross.compare">
<xsl:with-param name="a" select="$tail"/>
<xsl:with-param name="b" select="$b"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
<xsl:import
href="http://docbook.sourceforge.net/release/xsl/current/profiling/profile.xsl" />
<!-- Generate DocBook instance with correct DOCTYPE -->
<xsl:output method="xml" encoding="utf-8"
doctype-public="-//OASIS//DTD DocBook XML V4.3//EN"
doctype-system="http://www.docbook.org/xml/4.3/docbookx.dtd"/>
</xsl:stylesheet>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment