From 1b2c2d73e29576dc3226dd6f5d8eb09ff8a9af0ad8a2ae5444a8ac696499771c Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Tue, 6 Dec 2011 17:17:33 +0000 Subject: [PATCH 1/4] Updating link to change in openSUSE:Factory/gtranslator revision 20.0 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gtranslator?expand=0&rev=bae4f5ff695cf9005a3cf3cdb003a79d --- gtranslator.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtranslator.spec b/gtranslator.spec index ff3f9bc..93600b6 100644 --- a/gtranslator.spec +++ b/gtranslator.spec @@ -20,7 +20,7 @@ Name: gtranslator Version: 2.90.7 Release: 1 -License: GPLv3+ +License: GPL-3.0+ Summary: A GNOME po file editor with many bells and whistles Url: http://gtranslator.sourceforge.net Group: Development/Tools/Other @@ -62,7 +62,7 @@ It features many useful function which ease the work of translators of po files imminently. %package devel -License: GPLv3+ +License: GPL-3.0+ Summary: A GNOME po file editor with many bells and whistles Group: Development/Tools/Other From fd0926c25db11799dc6e14f792425eeaaf54e7d9623b734b986dd3ea5adb6796 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 10 Feb 2012 19:36:55 +0000 Subject: [PATCH 2/4] Accepting request 103754 from home:Zaitor:branches:GNOME:Apps Fixed sr as per Dimstars instructions :-) OBS-URL: https://build.opensuse.org/request/show/103754 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gtranslator?expand=0&rev=33 --- gtranslator-2.90.7.tar.bz2 | 3 - gtranslator-2.90.8.tar.xz | 3 + gtranslator-gtkspell3.patch | 40 ------------- gtranslator-libgda-5.0.patch | 106 ----------------------------------- gtranslator.changes | 15 +++++ gtranslator.spec | 25 ++------- 6 files changed, 24 insertions(+), 168 deletions(-) delete mode 100644 gtranslator-2.90.7.tar.bz2 create mode 100644 gtranslator-2.90.8.tar.xz delete mode 100644 gtranslator-gtkspell3.patch delete mode 100644 gtranslator-libgda-5.0.patch diff --git a/gtranslator-2.90.7.tar.bz2 b/gtranslator-2.90.7.tar.bz2 deleted file mode 100644 index 0142659..0000000 --- a/gtranslator-2.90.7.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:55845ad665f5e55265dd017d1c96e41a72c4c5691eb218ba9db6985b66afa556 -size 5194082 diff --git a/gtranslator-2.90.8.tar.xz b/gtranslator-2.90.8.tar.xz new file mode 100644 index 0000000..f214a5a --- /dev/null +++ b/gtranslator-2.90.8.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89f6be55d901d62e09065ed92f471eb569834eaa7babc8a48b2255c26a105037 +size 4559228 diff --git a/gtranslator-gtkspell3.patch b/gtranslator-gtkspell3.patch deleted file mode 100644 index f5ee622..0000000 --- a/gtranslator-gtkspell3.patch +++ /dev/null @@ -1,40 +0,0 @@ -diff -u -r gtranslator-2.90.5-orig/configure.ac gtranslator-2.90.5/configure.ac ---- gtranslator-2.90.5-orig/configure.ac 2011-08-28 18:59:30.000000000 +0400 -+++ gtranslator-2.90.5/configure.ac 2011-08-28 19:02:23.000000000 +0400 -@@ -87,7 +87,7 @@ - GDA_REQUIRED=4.2.3 - PEAS_REQUIRED=1.0.0 - GDICT_OPTIONAL=0.11.0 --GTKSPELL_OPTIONAL=2.0.16 -+GTKSPELL_OPTIONAL=3.0.0 - JSON_GLIB_OPTIONAL=0.12.0 - - AC_ARG_WITH(gda, -@@ -167,7 +167,7 @@ - fi - - dnl ------------------------------------------------------------------- --dnl Check for gtkspell >= 2.0 and use it if found -+dnl Check for gtkspell >= 3.0 and use it if found - dnl ------------------------------------------------------------------- - have_gtkspell=no - AC_ARG_WITH(gtkspell3, -@@ -177,7 +177,7 @@ - if test x"$with_gtkspell" != "xno" - then - PKG_CHECK_MODULES([GTKSPELL], [ -- gtkspell3-2.0 >= $GTKSPELL_OPTIONAL -+ gtkspell-3.0 >= $GTKSPELL_OPTIONAL - ], have_gtkspell=yes, have_gtkspell=no) - - if test x"$have_gtkspell" = "xyes" -@@ -335,7 +335,7 @@ - echo "Building spell support: ................................YES" - else - echo "Building spell support: ................................NO" -- echo " Requires gtkspell >= $GTKSPELL_OPTIONAL" -+ echo " Requires gtkspell3 >= $GTKSPELL_OPTIONAL" - fi - - echo " -Только в gtranslator-2.90.5: configure.ac~ diff --git a/gtranslator-libgda-5.0.patch b/gtranslator-libgda-5.0.patch deleted file mode 100644 index 3cd9188..0000000 --- a/gtranslator-libgda-5.0.patch +++ /dev/null @@ -1,106 +0,0 @@ -Index: gtranslator-2.90.5/configure.ac -=================================================================== ---- gtranslator-2.90.5.orig/configure.ac -+++ gtranslator-2.90.5/configure.ac -@@ -84,12 +84,16 @@ GLIB_REQUIRED=2.28.0 - LIBXML_REQUIRED=2.4.12 - SOURCEVIEW_REQUIRED=3.0.0 - GDL_REQUIRED=2.91.1 --GDA_REQUIRED=4.2.0 -+GDA_REQUIRED=4.2.3 - PEAS_REQUIRED=1.0.0 - GDICT_OPTIONAL=0.11.0 - GTKSPELL_OPTIONAL=2.0.16 - JSON_GLIB_OPTIONAL=0.12.0 - -+AC_ARG_WITH(gda, -+ AS_HELP_STRING([--with-gda={4.0|5.0}],[Define which version of libgda to use]),, -+ with_gda=4.0) -+ - PKG_CHECK_MODULES(GTRANSLATOR, [ - libxml-2.0 >= $LIBXML_REQUIRED - gthread-2.0 >= $GTHREAD_REQUIRED -@@ -99,7 +103,7 @@ PKG_CHECK_MODULES(GTRANSLATOR, [ - gtksourceview-3.0 >= $SOURCEVIEW_REQUIRED - gdl-3.0 >= $GDL_REQUIRED - gsettings-desktop-schemas -- libgda-4.0 >= $GDA_REQUIRED -+ libgda-$with_gda >= $GDA_REQUIRED - libpeas-1.0 >= $PEAS_REQUIRED - libpeas-gtk-1.0 >= $PEAS_REQUIRED - ]) -Index: gtranslator-2.90.5/src/translation-memory/gda/gtr-gda.c -=================================================================== ---- gtranslator-2.90.5.orig/src/translation-memory/gda/gtr-gda.c -+++ gtranslator-2.90.5/src/translation-memory/gda/gtr-gda.c -@@ -775,38 +775,38 @@ gtr_gda_init (GtrGda * self) - GDA_CONNECTION_OPTIONS_NONE, - NULL); - -- gda_execute_non_select_command (self->priv->db, -- "create table WORD (" -- "ID integer primary key autoincrement," -- "VALUE text unique)", -- NULL); -- -- gda_execute_non_select_command (self->priv->db, -- "create table WORD_ORIG_LINK (" -- "WORD_ID integer," -- "ORIG_ID integer," -- "primary key (WORD_ID, ORIG_ID))", -- NULL); -- -- gda_execute_non_select_command (self->priv->db, -- "create table ORIG (" -- "ID integer primary key autoincrement," -- "VALUE text unique," -- "SENTENCE_SIZE integer)", -- NULL); -- -- gda_execute_non_select_command (self->priv->db, -- "create table TRANS (" -- "ID integer primary key autoincrement," -- "ORIG_ID integer," -- "VALUE text)", -- NULL); -- -- gda_execute_non_select_command (self->priv->db, -- "create index " -- "if not exists IDX_TRANS_ORIG_ID " -- "on TRANS (ORIG_ID)", -- NULL); -+ gda_connection_execute_non_select_command (self->priv->db, -+ "create table WORD (" -+ "ID integer primary key autoincrement," -+ "VALUE text unique)", -+ NULL); -+ -+ gda_connection_execute_non_select_command (self->priv->db, -+ "create table WORD_ORIG_LINK (" -+ "WORD_ID integer," -+ "ORIG_ID integer," -+ "primary key (WORD_ID, ORIG_ID))", -+ NULL); -+ -+ gda_connection_execute_non_select_command (self->priv->db, -+ "create table ORIG (" -+ "ID integer primary key autoincrement," -+ "VALUE text unique," -+ "SENTENCE_SIZE integer)", -+ NULL); -+ -+ gda_connection_execute_non_select_command (self->priv->db, -+ "create table TRANS (" -+ "ID integer primary key autoincrement," -+ "ORIG_ID integer," -+ "VALUE text)", -+ NULL); -+ -+ gda_connection_execute_non_select_command (self->priv->db, -+ "create index " -+ "if not exists IDX_TRANS_ORIG_ID " -+ "on TRANS (ORIG_ID)", -+ NULL); - - /* prepare statements */ - diff --git a/gtranslator.changes b/gtranslator.changes index 5d18ceb..c50f2fd 100644 --- a/gtranslator.changes +++ b/gtranslator.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Tue Feb 7 18:45:52 UTC 2012 - zaitor@opensuse.org + +- Update to version 2.90.8: + + Make it build with latest GTK+. + + Add support for gda 5. + + Misc bugfixes. + + Updated translations. +- Dropped gtranslator-libgda-5.0.patch - fixed upstream. +- Dropped gtranslator-gtkspell3.patch - fixed upstream. +- Dropped BuildRequires: gnome-common (only needed for + gtranslator-libgda-5.0.patch). +- Switched to xz tarball. Not adding BuildRequires: xz - package + does not build for 12.1 and older anyway. + ------------------------------------------------------------------- Wed Oct 19 16:43:06 UTC 2011 - zaitor@opensuse.org diff --git a/gtranslator.spec b/gtranslator.spec index 93600b6..b3fcd37 100644 --- a/gtranslator.spec +++ b/gtranslator.spec @@ -1,7 +1,7 @@ # # spec file for package gtranslator # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,23 +15,15 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - Name: gtranslator -Version: 2.90.7 -Release: 1 -License: GPL-3.0+ +Version: 2.90.8 +Release: 0 Summary: A GNOME po file editor with many bells and whistles -Url: http://gtranslator.sourceforge.net +License: GPL-3.0+ Group: Development/Tools/Other -Source: http://download.gnome.org/sources/gtranslator/2.90/%{name}-%{version}.tar.bz2 -# PATCH-FIX-UPSTREAM gtranslator-libgda-5.0.patch bgo#652639 dimstar@opensuse.org -- Add support for libgda 5.0 -Patch0: gtranslator-libgda-5.0.patch -# PATCH-FIX-UPSTREAM gtranslator-gtkspell3.patch bgo#660709 gankov@opensuse.org -- Add support for gtkspell3 -Patch1: gtranslator-gtkspell3.patch +Url: http://gtranslator.sourceforge.net +Source: http://download.gnome.org/sources/gtranslator/2.90/%{name}-%{version}.tar.xz BuildRequires: fdupes -# Needed by patch0 -BuildRequires: gnome-common BuildRequires: gnome-doc-utils-devel BuildRequires: intltool # Not using a pkgconfig() BuildRequires, to allow building against libgda 4.0 and 5.0 @@ -62,7 +54,6 @@ It features many useful function which ease the work of translators of po files imminently. %package devel -License: GPL-3.0+ Summary: A GNOME po file editor with many bells and whistles Group: Development/Tools/Other @@ -74,13 +65,9 @@ files imminently. %lang_package %prep %setup -q -%patch0 -p1 -%patch1 -p1 translation-update-upstream %build -# Required by patch0 and patch1 -NOCONFIGURE=1 gnome-autogen.sh %configure \ --disable-static \ --disable-scrollkeeper \ From 0b44e36910e18f5879c8f3587ac796ad3651e3712a18a2410f05bb6586028f5b Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 10 Feb 2012 19:42:06 +0000 Subject: [PATCH 3/4] Accepting request 103756 from home:dimstar:branches:GNOME:Apps minor tweaking and cleaning OBS-URL: https://build.opensuse.org/request/show/103756 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gtranslator?expand=0&rev=34 --- gtranslator.changes | 15 +++++++-------- gtranslator.spec | 1 + 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gtranslator.changes b/gtranslator.changes index c50f2fd..6cae063 100644 --- a/gtranslator.changes +++ b/gtranslator.changes @@ -5,13 +5,12 @@ Tue Feb 7 18:45:52 UTC 2012 - zaitor@opensuse.org + Make it build with latest GTK+. + Add support for gda 5. + Misc bugfixes. - + Updated translations. -- Dropped gtranslator-libgda-5.0.patch - fixed upstream. -- Dropped gtranslator-gtkspell3.patch - fixed upstream. -- Dropped BuildRequires: gnome-common (only needed for - gtranslator-libgda-5.0.patch). -- Switched to xz tarball. Not adding BuildRequires: xz - package - does not build for 12.1 and older anyway. + + Updated translations. +- Drop upstream fixed patches: + + gtranslator-libgda-5.0.patch + + gtranslator-gtkspell3.patch +- Remove gnome-common BuildRequires and gnome-autogen.sh call: we + don't carry any patches touching the build system anymore. ------------------------------------------------------------------- Wed Oct 19 16:43:06 UTC 2011 - zaitor@opensuse.org @@ -20,7 +19,7 @@ Wed Oct 19 16:43:06 UTC 2011 - zaitor@opensuse.org + Relicense some files as GPLv3+. + Don't normalize translations stored in the translation memory. + Update translation. - + ------------------------------------------------------------------- Wed Oct 12 12:23:12 UTC 2011 - vuntz@opensuse.org diff --git a/gtranslator.spec b/gtranslator.spec index b3fcd37..3ff024e 100644 --- a/gtranslator.spec +++ b/gtranslator.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: gtranslator Version: 2.90.8 Release: 0 From ef7239f8720c8383c4e46aa75b2aa58d47422fcde2351315d37aef287213ecab Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Tue, 14 Feb 2012 09:21:39 +0000 Subject: [PATCH 4/4] Accepting request 104928 from home:vuntz:branches:GNOME:Apps Tss OBS-URL: https://build.opensuse.org/request/show/104928 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gtranslator?expand=0&rev=35 --- gtranslator.changes | 2 +- gtranslator.spec | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/gtranslator.changes b/gtranslator.changes index 6cae063..b00e23e 100644 --- a/gtranslator.changes +++ b/gtranslator.changes @@ -6,7 +6,7 @@ Tue Feb 7 18:45:52 UTC 2012 - zaitor@opensuse.org + Add support for gda 5. + Misc bugfixes. + Updated translations. -- Drop upstream fixed patches: +- Drop patches fixed upstream: + gtranslator-libgda-5.0.patch + gtranslator-gtkspell3.patch - Remove gnome-common BuildRequires and gnome-autogen.sh call: we diff --git a/gtranslator.spec b/gtranslator.spec index 3ff024e..b3fcd37 100644 --- a/gtranslator.spec +++ b/gtranslator.spec @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - Name: gtranslator Version: 2.90.8 Release: 0