--- gtranslator-1.1.7.orig/debian/patches/02_hebrew-translation-list.patch +++ gtranslator-1.1.7/debian/patches/02_hebrew-translation-list.patch @@ -0,0 +1,12 @@ +diff -urN gtranslator-1.1.6.orig/src/languages.c gtranslator-1.1.6/src/languages.c +--- gtranslator-1.1.6.orig/src/languages.c 2005-02-05 10:41:39.000000000 +0100 ++++ gtranslator-1.1.6/src/languages.c 2006-08-17 19:01:22.000000000 +0200 +@@ -151,7 +151,7 @@ + }, + { + N_("Hebrew"), "he", "UTF-8", +- "", "8bit" ++ "debian-hebrew-common@lists.alioth.debian.org", "8bit" + }, + { + N_("Hindi"), "hi", "UTF-8", --- gtranslator-1.1.7.orig/debian/patches/30_superfluous-underscores-in-desktop-file.patch +++ gtranslator-1.1.7/debian/patches/30_superfluous-underscores-in-desktop-file.patch @@ -0,0 +1,15 @@ +Malone #91862; fixes presence of gtranslator in GNOME menu + +diff -Nur gtranslator-1.1.7/data/desktop/gtranslator.desktop.in gtranslator-1.1.7.new/data/desktop/gtranslator.desktop.in +--- gtranslator-1.1.7/data/desktop/gtranslator.desktop.in 2006-10-14 15:50:34.000000000 +0200 ++++ gtranslator-1.1.7.new/data/desktop/gtranslator.desktop.in 2007-03-13 16:14:25.000000000 +0100 +@@ -1,7 +1,7 @@ + [Desktop Entry] + Encoding=UTF-8 +-_Name=gtranslator +-_Comment=The GNOME translation program ++Name=gtranslator ++Comment=The GNOME translation program + Icon=gtranslator.png + Exec=gtranslator + Terminal=false --- gtranslator-1.1.7.orig/debian/control.in +++ gtranslator-1.1.7/debian/control.in @@ -0,0 +1,29 @@ +Source: gtranslator +Section: text +Priority: optional +Maintainer: Jordi Mallach +Uploaders: @GNOME_TEAM@ +Build-Depends: cdbs, + debhelper (>= 5), + gettext, + gnome-doc-tools, + scrollkeeper (>= 0.1.4), + libgnomeui-dev (>= 2.6.0), + libgtkspell-dev, + libxml-parser-perl, + gnome-pkg-tools +Standards-Version: 3.7.2 + +Package: gtranslator +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Description: PO-file editor for the GNOME Desktop + Gtranslator is a po file editor which makes translating gettext applications + as easy as possible, even for people with no translation experience. + . + It supports the usage of translation memories, syntax highlighting, spell + checking, undoing of insertions and deletions and general integration with + the GNOME Desktop. + . + For more information, visit . --- gtranslator-1.1.7.orig/debian/control +++ gtranslator-1.1.7/debian/control @@ -0,0 +1,29 @@ +Source: gtranslator +Section: text +Priority: optional +Maintainer: Jordi Mallach +Uploaders: Debian GNOME Maintainers , Loic Minier +Build-Depends: cdbs, + debhelper (>= 5), + gettext, + gnome-doc-tools, + scrollkeeper (>= 0.1.4), + libgnomeui-dev (>= 2.6.0), + libgtkspell-dev, + libxml-parser-perl, + gnome-pkg-tools +Standards-Version: 3.7.2 + +Package: gtranslator +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Description: PO-file editor for the GNOME Desktop + Gtranslator is a po file editor which makes translating gettext applications + as easy as possible, even for people with no translation experience. + . + It supports the usage of translation memories, syntax highlighting, spell + checking, undoing of insertions and deletions and general integration with + the GNOME Desktop. + . + For more information, visit . --- gtranslator-1.1.7.orig/debian/compat +++ gtranslator-1.1.7/debian/compat @@ -0,0 +1 @@ +5 --- gtranslator-1.1.7.orig/debian/menu +++ gtranslator-1.1.7/debian/menu @@ -0,0 +1,2 @@ +?package(gtranslator):needs="X11" section="Apps/Text" \ + hints="gettext,l10n" title="GTranslator" command="/usr/bin/gtranslator" --- gtranslator-1.1.7.orig/debian/watch +++ gtranslator-1.1.7/debian/watch @@ -0,0 +1,4 @@ +version=2 +http://prdownloads.sourceforge.net/gtranslator/ \ + /gtranslator/gtranslator-(.*).tar.gz \ + debian uupdate --- gtranslator-1.1.7.orig/debian/changelog +++ gtranslator-1.1.7/debian/changelog @@ -0,0 +1,334 @@ +gtranslator (1.1.7-3) unstable; urgency=low + + * Remove desktop/gtranslator.desktop in clean instead of patching it in + 30_superfluous-underscores-in-desktop-file; fixes FTBFS on double build; + closes: #424395. + * Wrap build-deps and deps. + * Cleanups. + + -- Loic Minier Wed, 16 May 2007 16:24:34 +0200 + +gtranslator (1.1.7-2) unstable; urgency=high + + * Add a get-orig-source target to retrieve the upstream tarball. + * New patch, 30_superfluous-underscores-in-desktop-file, makes gtranslator + appear in GNOME menu again; thanks Sébastien Bacher; Malone #91862. + + -- Loic Minier Tue, 13 Mar 2007 16:14:41 +0100 + +gtranslator (1.1.7-1) unstable; urgency=low + + * New upstream stable release; fix for the crasher (see 1.1.6-8), fix for + custom font (closes: #225570), improve Content-Type's charset parsing, + new translation, new supported languages. + - Drop patch 01_gcc-4.0_xmlSetProp_signedness, the affected upstream code + was redundant and hence dropped in this release. + - Drop patch 10_unref-selection-buffer, merged upstream. + + -- Loic Minier Tue, 28 Nov 2006 11:15:17 +0100 + +gtranslator (1.1.6-8) unstable; urgency=high + + * Drop patch 10_nullify-static-selection-buffer and replace it with + 10_unref-selection-buffer; thanks Dafydd Harries; closes: #400048. + + -- Loic Minier Mon, 27 Nov 2006 15:32:41 +0100 + +gtranslator (1.1.6-7) unstable; urgency=low + + * New patch, 10_nullify-static-selection-buffer, to set the static + selection_buffer to NULL after g_free()ing it; fixes a double free() + crasher; thanks Martin Hawlisch for the report and bt; closes: #400048. + + -- Loic Minier Sat, 25 Nov 2006 13:50:47 +0100 + +gtranslator (1.1.6-6) unstable; urgency=low + + * Rebuild against unstable's glib, ups. + + -- Loic Minier Thu, 17 Aug 2006 19:58:21 +0200 + +gtranslator (1.1.6-5) unstable; urgency=low + + * Bump up Standards-Version to 3.7.2. + * Bump up Debhelper compatibility level to 5. + * New patch, 02_hebrew-translation-list, to set the Hebrew translation list + as suggested by Lior Kaplan. (Closes: #382629) + + -- Loic Minier Thu, 17 Aug 2006 19:02:28 +0200 + +gtranslator (1.1.6-4) unstable; urgency=low + + * debian/menu: add "l10n,gettext" hints to be in sync with PoEdit, as + discussed on the BTS (closes: #311739), and add some missing quoting. + * debian/control: bump Standards-Version to 3.6.2.1 (no changes required). + + -- Jordi Mallach Thu, 16 Mar 2006 15:04:24 +0100 + +gtranslator (1.1.6-3) unstable; urgency=low + + * debian/rules: cleanup src/includes.h before building (closes: #319046). + * debian/control.in: revert change in -2 as the C++ transition didn't + affect libaspell after all. + + -- Jordi Mallach Wed, 10 Aug 2005 13:01:48 +0200 + +gtranslator (1.1.6-2) unstable; urgency=low + + * debian/control.in: build-depend on libgtkspell-dev (>= 2.0.10-3) for + the C++ ABI transition. + + -- Jordi Mallach Thu, 14 Jul 2005 17:54:08 +0300 + +gtranslator (1.1.6-1) unstable; urgency=low + + * New upstream release. + - fixes "fuzzy strings can get negative" (closes: #257183). + * debian/patches/02_content_type_parsing.patch: removed, applied upstream. + * debian/control.in: add libgtkspell-dev to build-depends. + + -- Jordi Mallach Fri, 11 Feb 2005 13:01:45 +0100 + +gtranslator (1.1.5-2) unstable; urgency=low + + * Jordi Mallach: + - debian/{control.in,copyright}: fix upstream URL, gtranslator.org does + not exist anymore (closes: #254469, #264667). + - debian/patches/01_gcc4.0_xmlSetProp_signedness.patch: fix FTBFS using + gcc-4.0 on amd64 (closes: #286952). + * Loic Minier: + - debian/patches/02_content_type_parsing.patch: fix parsing of + Content-Type field in .po files (might break with po files which + were relying on the old behavior) (closes: #242927). + + -- Jordi Mallach Sat, 29 Jan 2005 00:42:05 +0100 + +gtranslator (1.1.5-1) unstable; urgency=low + + * New upstream release. + + doesn't use -Werror by default anymore. + + fixes a few compile warnings (closes: #250449). + + fixes truncated translator comments (closes: #238998). + + fixes "Please enter your name" bug (closes: #228146). + + fixes crashes when toggling fuzzy status (closes: #225239). + + changes keybinding to move between messages to make it compatible + with common GNOME bindings, using Alt (closes: #241305). + + fixes a gnome-vfs2 conflict for the "application/x-po-Z" MIME type + (closes: #229552). + + fixes bad display of the comment window (closes: #225536). + * debian/control.in: require libgnomeui (>= 2.6). + + -- Jordi Mallach Sat, 29 May 2004 15:56:44 +0200 + +gtranslator (1.1.4-1) unstable; urgency=low + + * New upstream release. + * debian/control: rename to control.in for autogeneration. + * debian/control.in: + + add GNOME Team required changes. + + add build dependency on libxml-parser-perl. + + change short description a bit. + * debian/rules: + + include gnome-pkg-tools cdbs rule to autogenerate debian/control. + + include simple-patchsys.mk. + * debian/patches/01_use_libgnomeui_colorpicker.patch: revert patch to use + GtkColorPicker, only available in GTK 2.3. + + -- Jordi Mallach Tue, 20 Jan 2004 15:48:35 +0100 + +gtranslator (1.0-3) unstable; urgency=low + + * debian/postinst: removed temporarily. Right now, the script only tried to + register schemas, which don't yet exist in gtranslator 1.0. Older packages + of gtranslator may have left behind a schema file which is now unusable + due to a non-UTF-8 encoding, making the package uninstallable + (closes: #210569). + + -- Jordi Mallach Fri, 12 Sep 2003 12:47:33 +0200 + +gtranslator (1.0-2) unstable; urgency=low + + * debian/control: + + build-depend on scrollkeeper. + + extend the description mentioning the project url and a few features. + * debian/copyright: change Fatih's email address. + + -- Jordi Mallach Thu, 11 Sep 2003 13:34:58 +0200 + +gtranslator (1.0-1) unstable; urgency=low + + * New upstream release. + * New maintainer, package resurrected. + * Repackaged the tarball without a debian/ dir. + * debian/control: + + update Build-Depends: for the GNOME2 platform. + + change the explicit scrollkeeper dep to ${misc:Depends}. + + Standards-Version: 3.6.1.0. + * debian/conffiles: removed. + * debian/copyright: + + updated upstream authors list. + + added more packaging history info. + * debian/{preinst,prerm,postrm}: removed, handled by debhelper. + * debian/postinst: install schemas. + * debian/rules: switch to CDBS. + + -- Jordi Mallach Thu, 4 Sep 2003 12:29:38 +0200 + +gtranslator (0.43-2) unstable; urgency=low + + * Recompile against libgal21 (closes: #171242) + * Remove /usr/doc transition code. + + -- Ryan Murray Thu, 5 Dec 2002 20:01:19 -0800 + +gtranslator (0.43-1) unstable; urgency=low + + * New upstream release + * use -q option to scrollkeeper-update (closes: #151790) + + -- Ryan Murray Sat, 14 Sep 2002 01:03:58 -0700 + +gtranslator (0.42-1) unstable; urgency=low + + * New upstream release + + -- Ryan Murray Mon, 1 Jul 2002 03:16:39 -0700 + +gtranslator (0.41-1) unstable; urgency=low + + * New upstream release + * Add debian/watch file (version 2 style, which is needed to work correctly) + + -- Ryan Murray Sat, 27 Apr 2002 00:03:57 -0700 + +gtranslator (0.40-1) unstable; urgency=low + + * New upstream release + + -- Ryan Murray Fri, 1 Mar 2002 00:40:40 -0800 + +gtranslator (0.39.1+0.39.2.20020119-4) unstable; urgency=low + + * Comment out gconftool installation in package build + * Install conffiles file (closes: #132846) + * Install preinst script + + -- Ryan Murray Mon, 18 Feb 2002 00:51:55 -0800 + +gtranslator (0.39.1+0.39.2.20020119-3) unstable; urgency=low + + * Remove multiline strings (closes: #130382) + + -- Ryan Murray Sat, 26 Jan 2002 23:39:43 -0800 + +gtranslator (0.39.1+0.39.2.20020119-2) unstable; urgency=low + + * Run configure with /bin/sh, so it works if configure is not executable. + + -- Ryan Murray Sun, 20 Jan 2002 16:27:20 -0800 + +gtranslator (0.39.1+0.39.2.20020119-1) unstable; urgency=low + + * New CVS snapshot, requested by upstream + * Recompile for libgal19 + * Add menu hint (closes: #121019) + + -- Ryan Murray Sat, 19 Jan 2002 21:31:10 -0800 + +gtranslator (0.39.1-1) unstable; urgency=low + + * New upstream release + * Use gnome-doc-tools instead of docbook-tools + * Change db2html calls to use gnome-db2html + + -- Ryan Murray Sun, 2 Dec 2001 11:26:33 -0800 + +gtranslator (0.39+0.39.1.20011009-2) unstable; urgency=low + + * Fix build for 64-bit architectures + * Take upstream's fix for #117919 + + -- Ryan Murray Sun, 11 Nov 2001 11:28:46 -0800 + +gtranslator (0.39+0.39.1.20011009-1) unstable; urgency=low + + * New upstream CVS snapshot (closes: #117946, #116579) + * Update languages.c from latest cvs (closes: #114325) + * Change flag value from -1 to '\0' (closes: #117919) + + -- Ryan Murray Fri, 9 Nov 2001 17:23:21 -0800 + +gtranslator (0.39-2) unstable; urgency=low + + * Apply upstream patch that should allow building on 64-bit archs. + * Recompile for libgal14 + + -- Ryan Murray Tue, 16 Oct 2001 23:26:38 -0700 + +gtranslator (0.39-1) unstable; urgency=low + + * New upstream release (closes: #110526) + + -- Ryan Murray Sat, 8 Sep 2001 01:29:58 -0700 + +gtranslator (0.38-3) unstable; urgency=low + + * Recompile for libgal8 + + -- Ryan Murray Sun, 22 Jul 2001 13:49:25 -0700 + +gtranslator (0.38-2) unstable; urgency=low + + * Updated build depends (closes: #103512) + + -- Ryan Murray Wed, 11 Jul 2001 09:32:56 -0700 + +gtranslator (0.38-1) unstable; urgency=low + + * New upstream release (closes: #98112) + * New Maintainer + * Update build-depends (closes: #88207) + * Build nautilus view + * Remove pozilla.sh.1 manpage (one exists upstream) + + -- Ryan Murray Sat, 2 Jun 2001 08:39:58 -0700 + +gtranslator (0.35-2) unstable; urgency=low + + * Fix build-depends (Closes: #88207) + * Include a useful manpage for pozilla.sh (Closes: #87632) + + -- Martijn van de Streek Fri, 2 Mar 2001 08:55:34 +0100 + +gtranslator (0.35-1) unstable; urgency=low + + * New upstream version + * Upstream cleanups: no more libraries + + -- Martijn van de Streek Thu, 22 Feb 2001 20:43:21 +0100 + +gtranslator (0.32-1) unstable; urgency=low + + * New upstream version + + -- Martijn van de Streek Sat, 13 Jan 2001 11:37:25 +0100 + +gtranslator (0.31-1) unstable; urgency=low + + * New upstream release + + -- Martijn van de Streek Mon, 27 Nov 2000 20:17:01 +0100 + +gtranslator (0.30-1) unstable; urgency=low + + * New upstream version + * Fix Build-Depends to include debhelper + * Magic to close ITP (closes: #71653) + + -- Martijn van de Streek Mon, 6 Nov 2000 14:35:52 +0100 + +gtranslator (0.21-1) unstable; urgency=low + + * Initial Release. + + -- Martijn van de Streek Mon, 18 Sep 2000 22:19:41 +0200 --- gtranslator-1.1.7.orig/debian/copyright +++ gtranslator-1.1.7/debian/copyright @@ -0,0 +1,17 @@ +This package was debianized by Martijn van de Streek on +Mon, 18 Sep 2000 22:19:41 +0200. +Ryan Murray took over the packaging of gtranslator on +2 Jun 2001 08:39:58 -0700 +Jordi Mallach is the current maintainer since +Thu, 4 Sep 2003 12:29:38 +0200 + +It was downloaded from . + +Upstream Authors: Ross Golder , + Fatih Demir . + + +Copyright: GNU General Public License. + +On a Debian system, /usr/share/common-licenses/GPL has full details of the +license. --- gtranslator-1.1.7.orig/debian/docs +++ gtranslator-1.1.7/debian/docs @@ -0,0 +1,5 @@ +AUTHORS +NEWS +README +THANKS +TODO --- gtranslator-1.1.7.orig/debian/rules +++ gtranslator-1.1.7/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/class/gnome.mk +include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk +-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk + +# see Malone #91862; fixes presence of gtranslator in GNOME menu +clean:: + rm -f desktop/gtranslator.desktop + +clean:: + rm -f data/mime/gtranslator.keys + rm -f help/C/gtranslator-C.omf.out + rm -f po/POTFILES + +makebuilddir/gtranslator:: + rm -f src/defines.h