forked from pool/gtranslator
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
This commit is contained in:
parent
1b2c2d73e2
commit
fd0926c25d
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:55845ad665f5e55265dd017d1c96e41a72c4c5691eb218ba9db6985b66afa556
|
|
||||||
size 5194082
|
|
3
gtranslator-2.90.8.tar.xz
Normal file
3
gtranslator-2.90.8.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:89f6be55d901d62e09065ed92f471eb569834eaa7babc8a48b2255c26a105037
|
||||||
|
size 4559228
|
@ -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~
|
|
@ -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 */
|
|
||||||
|
|
@ -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
|
Wed Oct 19 16:43:06 UTC 2011 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gtranslator
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,23 +15,15 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: gtranslator
|
Name: gtranslator
|
||||||
Version: 2.90.7
|
Version: 2.90.8
|
||||||
Release: 1
|
Release: 0
|
||||||
License: GPL-3.0+
|
|
||||||
Summary: A GNOME po file editor with many bells and whistles
|
Summary: A GNOME po file editor with many bells and whistles
|
||||||
Url: http://gtranslator.sourceforge.net
|
License: GPL-3.0+
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
Source: http://download.gnome.org/sources/gtranslator/2.90/%{name}-%{version}.tar.bz2
|
Url: http://gtranslator.sourceforge.net
|
||||||
# PATCH-FIX-UPSTREAM gtranslator-libgda-5.0.patch bgo#652639 dimstar@opensuse.org -- Add support for libgda 5.0
|
Source: http://download.gnome.org/sources/gtranslator/2.90/%{name}-%{version}.tar.xz
|
||||||
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
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
# Needed by patch0
|
|
||||||
BuildRequires: gnome-common
|
|
||||||
BuildRequires: gnome-doc-utils-devel
|
BuildRequires: gnome-doc-utils-devel
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
# Not using a pkgconfig() BuildRequires, to allow building against libgda 4.0 and 5.0
|
# 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.
|
files imminently.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: GPL-3.0+
|
|
||||||
Summary: A GNOME po file editor with many bells and whistles
|
Summary: A GNOME po file editor with many bells and whistles
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
|
|
||||||
@ -74,13 +65,9 @@ files imminently.
|
|||||||
%lang_package
|
%lang_package
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
|
||||||
%patch1 -p1
|
|
||||||
translation-update-upstream
|
translation-update-upstream
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Required by patch0 and patch1
|
|
||||||
NOCONFIGURE=1 gnome-autogen.sh
|
|
||||||
%configure \
|
%configure \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--disable-scrollkeeper \
|
--disable-scrollkeeper \
|
||||||
|
Loading…
Reference in New Issue
Block a user