diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-08-07 18:52:44 (GMT) |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-08-07 18:52:44 (GMT) |
commit | 158d86a7a8d556c8e1163acc2438531c0b0fdc05 (patch) | |
tree | e77c22bb55f446f6139ee29e7f2f2618e0dfccc5 | |
parent | 828d7f9c851cc0961ec7eb28b05ac9f2842c1263 (diff) |
Add danish l10n. Implement DEB_MAINTAINER_MODE.
* Add patch 1001 adding danish l10n.
* Add patch 2991 to enable danish l10n in configure.
* Add DEB_MAINTAINER_MODE in debian/rules (thanks to Romain Beauxis).
-rw-r--r-- | debian/changelog | 3 | ||||
-rw-r--r-- | debian/control | 2 | ||||
-rw-r--r-- | debian/patches/1001_enable_danish_l10n.patch | 44 | ||||
-rw-r--r-- | debian/patches/2991_enable_danish_l10n.patch | 13 | ||||
-rw-r--r-- | debian/patches/README | 3 | ||||
-rw-r--r-- | debian/patches/series | 2 | ||||
-rwxr-xr-x | debian/rules | 6 |
7 files changed, 72 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index a00d08e..4328392 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ sugar-base (0.82.1-1) unstable; urgency=low * New upstream release. + * Add patch 1001 adding danish l10n. + * Add patch 2991 to enable danish l10n in configure. * Update local cdbs snippets: + Restructure output of copyright-check.mk to match new proposed copyright-format at @@ -9,6 +11,7 @@ sugar-base (0.82.1-1) unstable; urgency=low + Add new local package-relations.mk to merge duplicate build-dependencies and more. Drop cleanup in debian/rules. + Update README.cdbs-tweaks. + * Add DEB_MAINTAINER_MODE in debian/rules (thanks to Romain Beauxis). -- Jonas Smedegaard <dr@jones.dk> Thu, 07 Aug 2008 20:08:04 +0200 diff --git a/debian/control b/debian/control index 42d03de..b3ba328 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: python Priority: optional Maintainer: Debian OLPC <debian-olpc-devel@lists.alioth.debian.org> Uploaders: Jonas Smedegaard <dr@jones.dk> -Build-Depends: cdbs (>= 0.4.39), autotools-dev, devscripts (>= 2.10.7), debhelper (>= 5.0.44), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), dh-buildinfo, python-gtk2-dev, python-gobject-dev (>= 2) | python-gtk2-dev (<< 2.9), chrpath +Build-Depends: cdbs (>= 0.4.39), autotools-dev, devscripts (>= 2.10.7), quilt, patchutils (>= 0.2.25), debhelper (>= 5.0.44), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), dh-buildinfo, python-gtk2-dev, python-gobject-dev (>= 2) | python-gtk2-dev (<< 2.9), chrpath Standards-Version: 3.7.3 Vcs-Git: git://git.debian.org/git/collab-maint/sugar-base.git Vcs-Browser: http://git.debian.org/?p=collab-maint/sugar-base.git;a=summary diff --git a/debian/patches/1001_enable_danish_l10n.patch b/debian/patches/1001_enable_danish_l10n.patch new file mode 100644 index 0000000..8fd0dbb --- /dev/null +++ b/debian/patches/1001_enable_danish_l10n.patch @@ -0,0 +1,44 @@ +diff --git a/po/da.po b/po/da.po +new file mode 100644 +index 0000000..8c815ea +--- /dev/null ++++ b/po/da.po +@@ -0,0 +1,38 @@ ++# Danish translations for sugar-base package ++# Danske oversættelser for pakke sugar-base. ++# Copyright (C) 2008 Jonas Smedegaard <dr@jones.dk> ++# This file is distributed under the same license as the sugar-base package. ++# Jonas Smedegaard <dr@jones.dk>, 2008. ++# ++msgid "" ++msgstr "" ++"Project-Id-Version: sugar-base 0.82.1\n" ++"Report-Msgid-Bugs-To: None\n" ++"POT-Creation-Date: 2008-08-07 20:41+0200\n" ++"PO-Revision-Date: 2008-08-07 20:42+0200\n" ++"Last-Translator: Jonas Smedegaard <dr@jones.dk>\n" ++"Language-Team: None\n" ++"MIME-Version: 1.0\n" ++"Content-Type: text/plain; charset=UTF-8\n" ++"Content-Transfer-Encoding: 8bit\n" ++"Plural-Forms: nplurals=2; plural=(n != 1);\n" ++ ++#: /home/jonas/src/GITauth/collab-maint/sugar-base/./po/../src/sugar/mime.py:32 ++msgid "Text" ++msgstr "Tekst" ++ ++#: /home/jonas/src/GITauth/collab-maint/sugar-base/./po/../src/sugar/mime.py:40 ++msgid "Image" ++msgstr "Billede" ++ ++#: /home/jonas/src/GITauth/collab-maint/sugar-base/./po/../src/sugar/mime.py:45 ++msgid "Audio" ++msgstr "Lyd" ++ ++#: /home/jonas/src/GITauth/collab-maint/sugar-base/./po/../src/sugar/mime.py:50 ++msgid "Video" ++msgstr "Video" ++ ++#: /home/jonas/src/GITauth/collab-maint/sugar-base/./po/../src/sugar/mime.py:55 ++msgid "Link" ++msgstr "Henvisning" diff --git a/debian/patches/2991_enable_danish_l10n.patch b/debian/patches/2991_enable_danish_l10n.patch new file mode 100644 index 0000000..f746d0a --- /dev/null +++ b/debian/patches/2991_enable_danish_l10n.patch @@ -0,0 +1,13 @@ +diff --git a/configure b/configure +index 4c66748..798f974 100755 +--- a/configure ++++ b/configure +@@ -19852,7 +19852,7 @@ fi + + # Setup GETTEXT + # +-ALL_LINGUAS="af am ar ay bg bn bn_IN ca de dz el en es fa fa_AF ff fr gu ha hi ht ig is it ja km ko mk ml mn mr mvo nb ne nl pa pap pis pl ps pt pt_BR qu ro ru rw sd si sl te th tpi tr ur vi yo zh_CN zh_TW" ++ALL_LINGUAS="af am ar ay bg bn bn_IN ca da de dz el en es fa fa_AF ff fr gu ha hi ht ig is it ja km ko mk ml mn mr mvo nb ne nl pa pap pis pl ps pt pt_BR qu ro ru rw sd si sl te th tpi tr ur vi yo zh_CN zh_TW" + + GETTEXT_PACKAGE=sugar-base + diff --git a/debian/patches/README b/debian/patches/README new file mode 100644 index 0000000..80c1584 --- /dev/null +++ b/debian/patches/README @@ -0,0 +1,3 @@ +0xxx: Grabbed from upstream development. +1xxx: Possibly relevant for upstream adoption. +2xxx: Only relevant for official Debian release. diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..8e92a82 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +1001_enable_danish_l10n.patch +2991_enable_danish_l10n.patch diff --git a/debian/rules b/debian/rules index 87fa4cf..6ffd2be 100755 --- a/debian/rules +++ b/debian/rules @@ -5,8 +5,14 @@ # NB! Local CDBS tweaks in use. More info in README.cdbs-tweaks DEB_BUILDDIR = build DEB_PYTHON_SYSTEM = pycentral +ifneq (,$(DEB_MAINTAINER_MODE)) + # Enable stuff not policy compliant (eg. unsuitable for build daemons) + DEB_COPYRIGHT_CHECK_STRICT = yes + DEB_AUTO_UPDATE_DEBIAN_CONTROL = yes +endif include debian/cdbs/1/rules/upstream-tarball.mk include debian/cdbs/1/rules/copyright-check.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk include /usr/share/cdbs/1/rules/debhelper.mk include debian/cdbs/1/class/python-autotools.mk include debian/cdbs/1/rules/buildinfo.mk |