Date: Monday, April 22, 2013 @ 00:17:13 Author: heftig Revision: 88692
db-move: moved gtranslator from [community-testing] to [community] (i686, x86_64) Added: gtranslator/repos/community-i686/PKGBUILD (from rev 88672, gtranslator/repos/community-testing-i686/PKGBUILD) gtranslator/repos/community-i686/gtkspell3-port.patch (from rev 88672, gtranslator/repos/community-testing-i686/gtkspell3-port.patch) gtranslator/repos/community-i686/gtranslator.changelog (from rev 88672, gtranslator/repos/community-testing-i686/gtranslator.changelog) gtranslator/repos/community-i686/gtranslator.install (from rev 88672, gtranslator/repos/community-testing-i686/gtranslator.install) gtranslator/repos/community-x86_64/PKGBUILD (from rev 88672, gtranslator/repos/community-testing-x86_64/PKGBUILD) gtranslator/repos/community-x86_64/gtkspell3-port.patch (from rev 88672, gtranslator/repos/community-testing-x86_64/gtkspell3-port.patch) gtranslator/repos/community-x86_64/gtranslator.changelog (from rev 88672, gtranslator/repos/community-testing-x86_64/gtranslator.changelog) gtranslator/repos/community-x86_64/gtranslator.install (from rev 88672, gtranslator/repos/community-testing-x86_64/gtranslator.install) Deleted: gtranslator/repos/community-i686/PKGBUILD gtranslator/repos/community-i686/gtkspell3-port.patch gtranslator/repos/community-i686/gtranslator.changelog gtranslator/repos/community-i686/gtranslator.install gtranslator/repos/community-testing-i686/ gtranslator/repos/community-testing-x86_64/ gtranslator/repos/community-x86_64/PKGBUILD gtranslator/repos/community-x86_64/gtkspell3-port.patch gtranslator/repos/community-x86_64/gtranslator.changelog gtranslator/repos/community-x86_64/gtranslator.install ----------------------------------------+ /PKGBUILD | 84 +++++++++++++ /gtkspell3-port.patch | 194 +++++++++++++++++++++++++++++++ /gtranslator.changelog | 122 +++++++++++++++++++ /gtranslator.install | 26 ++++ community-i686/PKGBUILD | 40 ------ community-i686/gtkspell3-port.patch | 97 --------------- community-i686/gtranslator.changelog | 61 --------- community-i686/gtranslator.install | 13 -- community-x86_64/PKGBUILD | 40 ------ community-x86_64/gtkspell3-port.patch | 97 --------------- community-x86_64/gtranslator.changelog | 61 --------- community-x86_64/gtranslator.install | 13 -- 12 files changed, 426 insertions(+), 422 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2013-04-21 22:17:11 UTC (rev 88691) +++ community-i686/PKGBUILD 2013-04-21 22:17:13 UTC (rev 88692) @@ -1,40 +0,0 @@ -# $Id$ -# Maintainer: Jaroslav Lichtblau <dragonl...@aur.archlinux.org> -# Contributor: Hugo Doria <h...@archlinux.org> -# Contributor: Christer Solskogen (solsko...@carebears.mine.nu) - -pkgname=gtranslator -pkgver=2.91.6 -pkgrel=3 -pkgdesc="An enhanced gettext po file editor for the GNOME" -arch=('i686' 'x86_64') -url="http://projects.gnome.org/gtranslator/" -license=('GPL') -depends=('desktop-file-utils' 'gdl' 'gettext' 'gtksourceview3' 'gtkspell3' 'iso-codes' 'libgda' 'libpeas' 'gsettings-desktop-schemas' 'hicolor-icon-theme' 'dconf') -makedepends=('intltool' 'itstool' 'gnome-doc-utils' 'gucharmap' 'json-glib' 'gnome-common' 'yelp-tools') -optdepends=('gucharmap: for charmap plugin' - 'json-glib: for open-tran plugin') -options=('!libtool') -install=$pkgname.install -changelog=$pkgname.changelog -source=(http://ftp.acc.umu.se/pub/GNOME/sources/$pkgname/2.91/$pkgname-$pkgver.tar.xz - gtkspell3-port.patch) -sha256sums=('a1fd4b17b1f32cc7223a31d34e34f95b20acc7b5a23768351a34ff0b7a4bcdf6' - '29afb55c692869cbd47d0181ddd93acdd53f5b236ebabd9a96a983da66d4cb9d') - -build() { - cd ${srcdir}/${pkgname}-${pkgver} - - # Port to the new gtkspell3 - patch -Np1 -i "$srcdir/gtkspell3-port.patch" - - autoreconf -fi - ./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-compile - make -} - -package() { - cd ${srcdir}/${pkgname}-${pkgver} - - make DESTDIR=${pkgdir} install -} Copied: gtranslator/repos/community-i686/PKGBUILD (from rev 88672, gtranslator/repos/community-testing-i686/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-04-21 22:17:13 UTC (rev 88692) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau <dragonl...@aur.archlinux.org> +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Contributor: Hugo Doria <h...@archlinux.org> +# Contributor: Christer Solskogen (solsko...@carebears.mine.nu) + +pkgname=gtranslator +pkgver=2.91.6 +pkgrel=4 +pkgdesc='Enhanced gettext po file editor for the GNOME' +arch=('x86_64' 'i686') +url='http://projects.gnome.org/gtranslator/' +license=('GPL') +depends=('desktop-file-utils' 'gdl' 'gettext' 'gtksourceview3' 'gtkspell3' 'iso-codes' 'libgda' 'libpeas' 'gsettings-desktop-schemas' 'hicolor-icon-theme' 'dconf') +makedepends=('intltool' 'itstool' 'gnome-doc-utils' 'gucharmap' 'json-glib' 'gnome-common' 'yelp-tools') +optdepends=('gucharmap: for charmap plugin' + 'json-glib: for open-tran plugin') +options=('!libtool') +install="$pkgname.install" +source=("http://ftp.acc.umu.se/pub/GNOME/sources/$pkgname/2.91/$pkgname-$pkgver.tar.xz" + 'gtkspell3-port.patch') +sha256sums=('a1fd4b17b1f32cc7223a31d34e34f95b20acc7b5a23768351a34ff0b7a4bcdf6' + '29afb55c692869cbd47d0181ddd93acdd53f5b236ebabd9a96a983da66d4cb9d') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # port to the new gtkspell3 + patch -Np1 -i "$srcdir/gtkspell3-port.patch" + + autoreconf -fi + ./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-compile + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: Deleted: community-i686/gtkspell3-port.patch =================================================================== --- community-i686/gtkspell3-port.patch 2013-04-21 22:17:11 UTC (rev 88691) +++ community-i686/gtkspell3-port.patch 2013-04-21 22:17:13 UTC (rev 88692) @@ -1,97 +0,0 @@ -From cf33d8761dbfc7f6c8b27c3146efcad81f8fbde9 Mon Sep 17 00:00:00 2001 -From: Kalev Lember <kalevlem...@gmail.com> -Date: Sun, 13 Jan 2013 13:19:40 +0000 -Subject: Port to gtkspell3 - -https://bugzilla.gnome.org/show_bug.cgi?id=691655 ---- -diff --git a/configure.ac b/configure.ac -index c1ba5b6..3fe9c46 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -84,7 +84,7 @@ GDL_REQUIRED=3.6.0 - GDA_REQUIRED=4.2.3 - PEAS_REQUIRED=1.2.0 - GDICT_OPTIONAL=0.11.0 --GTKSPELL_OPTIONAL=2.99.99 -+GTKSPELL_OPTIONAL=3.0.0 - JSON_GLIB_OPTIONAL=0.12.0 - - AC_ARG_WITH(gda, -@@ -174,14 +174,14 @@ dnl ------------------------------------------------------------------- - dnl Check for gtkspell >= 3.0 and use it if found - dnl ------------------------------------------------------------------- - have_gtkspell=no --AC_ARG_WITH(gtkspell3, -+AC_ARG_WITH(gtkspell, - AS_HELP_STRING([--with-gtkspell],[Build with spell support]),, - with_gtkspell=auto) - - if test x"$with_gtkspell" != "xno" - then - PKG_CHECK_MODULES([GTKSPELL], [ -- gtkspell-3.0 >= $GTKSPELL_OPTIONAL -+ gtkspell3-3.0 >= $GTKSPELL_OPTIONAL - ], have_gtkspell=yes, have_gtkspell=no) - - if test x"$have_gtkspell" = "xyes" -@@ -339,7 +339,7 @@ if [ test x"$have_gtkspell" = "xyes" ]; then - echo "Building spell support: ................................YES" - else - echo "Building spell support: ................................NO" -- echo " Requires gtkspell >= $GTKSPELL_OPTIONAL" -+ echo " Requires gtkspell3 >= $GTKSPELL_OPTIONAL" - fi - - echo " -diff --git a/src/gtr-view.c b/src/gtr-view.c -index 59f18e8..b9c4f6a 100644 ---- a/src/gtr-view.c -+++ b/src/gtr-view.c -@@ -65,7 +65,7 @@ struct _GtrViewPrivate - gchar *search_text; - - #ifdef HAVE_GTKSPELL -- GtkSpell *spell; -+ GtkSpellChecker *spell; - #endif - }; - -@@ -75,11 +75,10 @@ gtr_attach_gtkspell (GtrView * view) - { - GError *error = NULL; - gchar *errortext = NULL; -- view->priv->spell = NULL; - -- view->priv->spell = -- gtkspell_new_attach (GTK_TEXT_VIEW (view), NULL, &error); -- if (view->priv->spell == NULL) -+ view->priv->spell = gtk_spell_checker_new (); -+ gtk_spell_checker_set_language (view->priv->spell, NULL, &error); -+ if (error) - { - g_warning (_("gtkspell error: %s\n"), error->message); - errortext = -@@ -90,6 +89,11 @@ gtr_attach_gtkspell (GtrView * view) - g_error_free (error); - g_free (errortext); - } -+ else -+ { -+ gtk_spell_checker_attach (view->priv->spell, -+ GTK_TEXT_VIEW (view)); -+ } - } - #endif - -@@ -263,7 +267,7 @@ gtr_view_enable_spellcheck (GtrView * view, gboolean enable) - #ifdef HAVE_GTKSPELL - if (!view->priv->spell) - return; -- gtkspell_detach (view->priv->spell); -+ gtk_spell_checker_detach (view->priv->spell); - #endif - } - } --- -cgit v0.9.1 Copied: gtranslator/repos/community-i686/gtkspell3-port.patch (from rev 88672, gtranslator/repos/community-testing-i686/gtkspell3-port.patch) =================================================================== --- community-i686/gtkspell3-port.patch (rev 0) +++ community-i686/gtkspell3-port.patch 2013-04-21 22:17:13 UTC (rev 88692) @@ -0,0 +1,97 @@ +From cf33d8761dbfc7f6c8b27c3146efcad81f8fbde9 Mon Sep 17 00:00:00 2001 +From: Kalev Lember <kalevlem...@gmail.com> +Date: Sun, 13 Jan 2013 13:19:40 +0000 +Subject: Port to gtkspell3 + +https://bugzilla.gnome.org/show_bug.cgi?id=691655 +--- +diff --git a/configure.ac b/configure.ac +index c1ba5b6..3fe9c46 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -84,7 +84,7 @@ GDL_REQUIRED=3.6.0 + GDA_REQUIRED=4.2.3 + PEAS_REQUIRED=1.2.0 + GDICT_OPTIONAL=0.11.0 +-GTKSPELL_OPTIONAL=2.99.99 ++GTKSPELL_OPTIONAL=3.0.0 + JSON_GLIB_OPTIONAL=0.12.0 + + AC_ARG_WITH(gda, +@@ -174,14 +174,14 @@ dnl ------------------------------------------------------------------- + dnl Check for gtkspell >= 3.0 and use it if found + dnl ------------------------------------------------------------------- + have_gtkspell=no +-AC_ARG_WITH(gtkspell3, ++AC_ARG_WITH(gtkspell, + AS_HELP_STRING([--with-gtkspell],[Build with spell support]),, + with_gtkspell=auto) + + if test x"$with_gtkspell" != "xno" + then + PKG_CHECK_MODULES([GTKSPELL], [ +- gtkspell-3.0 >= $GTKSPELL_OPTIONAL ++ gtkspell3-3.0 >= $GTKSPELL_OPTIONAL + ], have_gtkspell=yes, have_gtkspell=no) + + if test x"$have_gtkspell" = "xyes" +@@ -339,7 +339,7 @@ if [ test x"$have_gtkspell" = "xyes" ]; then + echo "Building spell support: ................................YES" + else + echo "Building spell support: ................................NO" +- echo " Requires gtkspell >= $GTKSPELL_OPTIONAL" ++ echo " Requires gtkspell3 >= $GTKSPELL_OPTIONAL" + fi + + echo " +diff --git a/src/gtr-view.c b/src/gtr-view.c +index 59f18e8..b9c4f6a 100644 +--- a/src/gtr-view.c ++++ b/src/gtr-view.c +@@ -65,7 +65,7 @@ struct _GtrViewPrivate + gchar *search_text; + + #ifdef HAVE_GTKSPELL +- GtkSpell *spell; ++ GtkSpellChecker *spell; + #endif + }; + +@@ -75,11 +75,10 @@ gtr_attach_gtkspell (GtrView * view) + { + GError *error = NULL; + gchar *errortext = NULL; +- view->priv->spell = NULL; + +- view->priv->spell = +- gtkspell_new_attach (GTK_TEXT_VIEW (view), NULL, &error); +- if (view->priv->spell == NULL) ++ view->priv->spell = gtk_spell_checker_new (); ++ gtk_spell_checker_set_language (view->priv->spell, NULL, &error); ++ if (error) + { + g_warning (_("gtkspell error: %s\n"), error->message); + errortext = +@@ -90,6 +89,11 @@ gtr_attach_gtkspell (GtrView * view) + g_error_free (error); + g_free (errortext); + } ++ else ++ { ++ gtk_spell_checker_attach (view->priv->spell, ++ GTK_TEXT_VIEW (view)); ++ } + } + #endif + +@@ -263,7 +267,7 @@ gtr_view_enable_spellcheck (GtrView * view, gboolean enable) + #ifdef HAVE_GTKSPELL + if (!view->priv->spell) + return; +- gtkspell_detach (view->priv->spell); ++ gtk_spell_checker_detach (view->priv->spell); + #endif + } + } +-- +cgit v0.9.1 Deleted: community-i686/gtranslator.changelog =================================================================== --- community-i686/gtranslator.changelog 2013-04-21 22:17:11 UTC (rev 88691) +++ community-i686/gtranslator.changelog 2013-04-21 22:17:13 UTC (rev 88692) @@ -1,61 +0,0 @@ -2013-03-28 Balló György <ballogyor+arch at gmail dot com> - * gtranslator 2.91.6-3 - rebuild for the new gtkspell3 - -2013-01-18 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> - * gtranslator 2.91.6-1 - -2012-11-05 Balló György <ballogyor+arch at gmail dot com> - * gtranslator 2.91.5-2 - rebuild for gdl 3.6 - tempolary disable dockbar, because layout loading is completely broken with gdl 3.6 - -2012-07-30 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> - * gtranslator 2.91.5-1 - -2012-05-12 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> - * gtranslator 2.91.4-1 - -2012-04-23 Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> - * gtranslator 2.91.3-2 - rebuild for gdl 3.4.2 - -2012-04-21 Balló György <ballogyor+arch at gmail dot com> - * gtranslator 2.91.3-1 - -2012-04-09 Balló György <ballogyor+arch at gmail dot com> - * gtranslator 2.91.2-1 - replace gtkspell dependency with gtkspell3 - remove unused libunique dependency - remove broken dictionary plugin - -2012-03-18 Jaroslav Lichtblau <dragonl...@aur.archlinux.org> - * gtranslator 2.90.8-1 - -2011-10-28 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> - * gtranslator 2.90.7-1 - -2011-08-20 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> - * gtranslator 2.90.5-1 - -2011-05-12 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> - * gtranslator 2.90.3-1 - -2011-01-09 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> - * gtranslator-1.9.13-1 - -2010-08-30 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> - * gtranslator-1.9.11-1 - -2010-02-23 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> - * gtranslator-1.9.7-1 - -2007-06-19 Eric Belanger (Snowman) <e...@archlinux.org> - * gtranslator-1.1.7-3 - added x86_64 to arch field - added license - removed gnome.sh sourcing : no longer necessary - -2007-05-29 Alessio 'mOLOk' Bolognino <themo...@gmail.com> - * gtranslator-1.1.7-3 - move from /opt/gnome to /usr Copied: gtranslator/repos/community-i686/gtranslator.changelog (from rev 88672, gtranslator/repos/community-testing-i686/gtranslator.changelog) =================================================================== --- community-i686/gtranslator.changelog (rev 0) +++ community-i686/gtranslator.changelog 2013-04-21 22:17:13 UTC (rev 88692) @@ -0,0 +1,61 @@ +2013-03-28 Balló György <ballogyor+arch at gmail dot com> + * gtranslator 2.91.6-3 + rebuild for the new gtkspell3 + +2013-01-18 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> + * gtranslator 2.91.6-1 + +2012-11-05 Balló György <ballogyor+arch at gmail dot com> + * gtranslator 2.91.5-2 + rebuild for gdl 3.6 + tempolary disable dockbar, because layout loading is completely broken with gdl 3.6 + +2012-07-30 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> + * gtranslator 2.91.5-1 + +2012-05-12 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> + * gtranslator 2.91.4-1 + +2012-04-23 Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + * gtranslator 2.91.3-2 + rebuild for gdl 3.4.2 + +2012-04-21 Balló György <ballogyor+arch at gmail dot com> + * gtranslator 2.91.3-1 + +2012-04-09 Balló György <ballogyor+arch at gmail dot com> + * gtranslator 2.91.2-1 + replace gtkspell dependency with gtkspell3 + remove unused libunique dependency + remove broken dictionary plugin + +2012-03-18 Jaroslav Lichtblau <dragonl...@aur.archlinux.org> + * gtranslator 2.90.8-1 + +2011-10-28 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> + * gtranslator 2.90.7-1 + +2011-08-20 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> + * gtranslator 2.90.5-1 + +2011-05-12 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> + * gtranslator 2.90.3-1 + +2011-01-09 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> + * gtranslator-1.9.13-1 + +2010-08-30 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> + * gtranslator-1.9.11-1 + +2010-02-23 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> + * gtranslator-1.9.7-1 + +2007-06-19 Eric Belanger (Snowman) <e...@archlinux.org> + * gtranslator-1.1.7-3 + added x86_64 to arch field + added license + removed gnome.sh sourcing : no longer necessary + +2007-05-29 Alessio 'mOLOk' Bolognino <themo...@gmail.com> + * gtranslator-1.1.7-3 + move from /opt/gnome to /usr Deleted: community-i686/gtranslator.install =================================================================== --- community-i686/gtranslator.install 2013-04-21 22:17:11 UTC (rev 88691) +++ community-i686/gtranslator.install 2013-04-21 22:17:13 UTC (rev 88692) @@ -1,13 +0,0 @@ -post_install() { - usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - update-desktop-database -q -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} Copied: gtranslator/repos/community-i686/gtranslator.install (from rev 88672, gtranslator/repos/community-testing-i686/gtranslator.install) =================================================================== --- community-i686/gtranslator.install (rev 0) +++ community-i686/gtranslator.install 2013-04-21 22:17:13 UTC (rev 88692) @@ -0,0 +1,13 @@ +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2013-04-21 22:17:11 UTC (rev 88691) +++ community-x86_64/PKGBUILD 2013-04-21 22:17:13 UTC (rev 88692) @@ -1,40 +0,0 @@ -# $Id$ -# Maintainer: Jaroslav Lichtblau <dragonl...@aur.archlinux.org> -# Contributor: Hugo Doria <h...@archlinux.org> -# Contributor: Christer Solskogen (solsko...@carebears.mine.nu) - -pkgname=gtranslator -pkgver=2.91.6 -pkgrel=3 -pkgdesc="An enhanced gettext po file editor for the GNOME" -arch=('i686' 'x86_64') -url="http://projects.gnome.org/gtranslator/" -license=('GPL') -depends=('desktop-file-utils' 'gdl' 'gettext' 'gtksourceview3' 'gtkspell3' 'iso-codes' 'libgda' 'libpeas' 'gsettings-desktop-schemas' 'hicolor-icon-theme' 'dconf') -makedepends=('intltool' 'itstool' 'gnome-doc-utils' 'gucharmap' 'json-glib' 'gnome-common' 'yelp-tools') -optdepends=('gucharmap: for charmap plugin' - 'json-glib: for open-tran plugin') -options=('!libtool') -install=$pkgname.install -changelog=$pkgname.changelog -source=(http://ftp.acc.umu.se/pub/GNOME/sources/$pkgname/2.91/$pkgname-$pkgver.tar.xz - gtkspell3-port.patch) -sha256sums=('a1fd4b17b1f32cc7223a31d34e34f95b20acc7b5a23768351a34ff0b7a4bcdf6' - '29afb55c692869cbd47d0181ddd93acdd53f5b236ebabd9a96a983da66d4cb9d') - -build() { - cd ${srcdir}/${pkgname}-${pkgver} - - # Port to the new gtkspell3 - patch -Np1 -i "$srcdir/gtkspell3-port.patch" - - autoreconf -fi - ./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-compile - make -} - -package() { - cd ${srcdir}/${pkgname}-${pkgver} - - make DESTDIR=${pkgdir} install -} Copied: gtranslator/repos/community-x86_64/PKGBUILD (from rev 88672, gtranslator/repos/community-testing-x86_64/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2013-04-21 22:17:13 UTC (rev 88692) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau <dragonl...@aur.archlinux.org> +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Contributor: Hugo Doria <h...@archlinux.org> +# Contributor: Christer Solskogen (solsko...@carebears.mine.nu) + +pkgname=gtranslator +pkgver=2.91.6 +pkgrel=4 +pkgdesc='Enhanced gettext po file editor for the GNOME' +arch=('x86_64' 'i686') +url='http://projects.gnome.org/gtranslator/' +license=('GPL') +depends=('desktop-file-utils' 'gdl' 'gettext' 'gtksourceview3' 'gtkspell3' 'iso-codes' 'libgda' 'libpeas' 'gsettings-desktop-schemas' 'hicolor-icon-theme' 'dconf') +makedepends=('intltool' 'itstool' 'gnome-doc-utils' 'gucharmap' 'json-glib' 'gnome-common' 'yelp-tools') +optdepends=('gucharmap: for charmap plugin' + 'json-glib: for open-tran plugin') +options=('!libtool') +install="$pkgname.install" +source=("http://ftp.acc.umu.se/pub/GNOME/sources/$pkgname/2.91/$pkgname-$pkgver.tar.xz" + 'gtkspell3-port.patch') +sha256sums=('a1fd4b17b1f32cc7223a31d34e34f95b20acc7b5a23768351a34ff0b7a4bcdf6' + '29afb55c692869cbd47d0181ddd93acdd53f5b236ebabd9a96a983da66d4cb9d') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # port to the new gtkspell3 + patch -Np1 -i "$srcdir/gtkspell3-port.patch" + + autoreconf -fi + ./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-compile + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: Deleted: community-x86_64/gtkspell3-port.patch =================================================================== --- community-x86_64/gtkspell3-port.patch 2013-04-21 22:17:11 UTC (rev 88691) +++ community-x86_64/gtkspell3-port.patch 2013-04-21 22:17:13 UTC (rev 88692) @@ -1,97 +0,0 @@ -From cf33d8761dbfc7f6c8b27c3146efcad81f8fbde9 Mon Sep 17 00:00:00 2001 -From: Kalev Lember <kalevlem...@gmail.com> -Date: Sun, 13 Jan 2013 13:19:40 +0000 -Subject: Port to gtkspell3 - -https://bugzilla.gnome.org/show_bug.cgi?id=691655 ---- -diff --git a/configure.ac b/configure.ac -index c1ba5b6..3fe9c46 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -84,7 +84,7 @@ GDL_REQUIRED=3.6.0 - GDA_REQUIRED=4.2.3 - PEAS_REQUIRED=1.2.0 - GDICT_OPTIONAL=0.11.0 --GTKSPELL_OPTIONAL=2.99.99 -+GTKSPELL_OPTIONAL=3.0.0 - JSON_GLIB_OPTIONAL=0.12.0 - - AC_ARG_WITH(gda, -@@ -174,14 +174,14 @@ dnl ------------------------------------------------------------------- - dnl Check for gtkspell >= 3.0 and use it if found - dnl ------------------------------------------------------------------- - have_gtkspell=no --AC_ARG_WITH(gtkspell3, -+AC_ARG_WITH(gtkspell, - AS_HELP_STRING([--with-gtkspell],[Build with spell support]),, - with_gtkspell=auto) - - if test x"$with_gtkspell" != "xno" - then - PKG_CHECK_MODULES([GTKSPELL], [ -- gtkspell-3.0 >= $GTKSPELL_OPTIONAL -+ gtkspell3-3.0 >= $GTKSPELL_OPTIONAL - ], have_gtkspell=yes, have_gtkspell=no) - - if test x"$have_gtkspell" = "xyes" -@@ -339,7 +339,7 @@ if [ test x"$have_gtkspell" = "xyes" ]; then - echo "Building spell support: ................................YES" - else - echo "Building spell support: ................................NO" -- echo " Requires gtkspell >= $GTKSPELL_OPTIONAL" -+ echo " Requires gtkspell3 >= $GTKSPELL_OPTIONAL" - fi - - echo " -diff --git a/src/gtr-view.c b/src/gtr-view.c -index 59f18e8..b9c4f6a 100644 ---- a/src/gtr-view.c -+++ b/src/gtr-view.c -@@ -65,7 +65,7 @@ struct _GtrViewPrivate - gchar *search_text; - - #ifdef HAVE_GTKSPELL -- GtkSpell *spell; -+ GtkSpellChecker *spell; - #endif - }; - -@@ -75,11 +75,10 @@ gtr_attach_gtkspell (GtrView * view) - { - GError *error = NULL; - gchar *errortext = NULL; -- view->priv->spell = NULL; - -- view->priv->spell = -- gtkspell_new_attach (GTK_TEXT_VIEW (view), NULL, &error); -- if (view->priv->spell == NULL) -+ view->priv->spell = gtk_spell_checker_new (); -+ gtk_spell_checker_set_language (view->priv->spell, NULL, &error); -+ if (error) - { - g_warning (_("gtkspell error: %s\n"), error->message); - errortext = -@@ -90,6 +89,11 @@ gtr_attach_gtkspell (GtrView * view) - g_error_free (error); - g_free (errortext); - } -+ else -+ { -+ gtk_spell_checker_attach (view->priv->spell, -+ GTK_TEXT_VIEW (view)); -+ } - } - #endif - -@@ -263,7 +267,7 @@ gtr_view_enable_spellcheck (GtrView * view, gboolean enable) - #ifdef HAVE_GTKSPELL - if (!view->priv->spell) - return; -- gtkspell_detach (view->priv->spell); -+ gtk_spell_checker_detach (view->priv->spell); - #endif - } - } --- -cgit v0.9.1 Copied: gtranslator/repos/community-x86_64/gtkspell3-port.patch (from rev 88672, gtranslator/repos/community-testing-x86_64/gtkspell3-port.patch) =================================================================== --- community-x86_64/gtkspell3-port.patch (rev 0) +++ community-x86_64/gtkspell3-port.patch 2013-04-21 22:17:13 UTC (rev 88692) @@ -0,0 +1,97 @@ +From cf33d8761dbfc7f6c8b27c3146efcad81f8fbde9 Mon Sep 17 00:00:00 2001 +From: Kalev Lember <kalevlem...@gmail.com> +Date: Sun, 13 Jan 2013 13:19:40 +0000 +Subject: Port to gtkspell3 + +https://bugzilla.gnome.org/show_bug.cgi?id=691655 +--- +diff --git a/configure.ac b/configure.ac +index c1ba5b6..3fe9c46 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -84,7 +84,7 @@ GDL_REQUIRED=3.6.0 + GDA_REQUIRED=4.2.3 + PEAS_REQUIRED=1.2.0 + GDICT_OPTIONAL=0.11.0 +-GTKSPELL_OPTIONAL=2.99.99 ++GTKSPELL_OPTIONAL=3.0.0 + JSON_GLIB_OPTIONAL=0.12.0 + + AC_ARG_WITH(gda, +@@ -174,14 +174,14 @@ dnl ------------------------------------------------------------------- + dnl Check for gtkspell >= 3.0 and use it if found + dnl ------------------------------------------------------------------- + have_gtkspell=no +-AC_ARG_WITH(gtkspell3, ++AC_ARG_WITH(gtkspell, + AS_HELP_STRING([--with-gtkspell],[Build with spell support]),, + with_gtkspell=auto) + + if test x"$with_gtkspell" != "xno" + then + PKG_CHECK_MODULES([GTKSPELL], [ +- gtkspell-3.0 >= $GTKSPELL_OPTIONAL ++ gtkspell3-3.0 >= $GTKSPELL_OPTIONAL + ], have_gtkspell=yes, have_gtkspell=no) + + if test x"$have_gtkspell" = "xyes" +@@ -339,7 +339,7 @@ if [ test x"$have_gtkspell" = "xyes" ]; then + echo "Building spell support: ................................YES" + else + echo "Building spell support: ................................NO" +- echo " Requires gtkspell >= $GTKSPELL_OPTIONAL" ++ echo " Requires gtkspell3 >= $GTKSPELL_OPTIONAL" + fi + + echo " +diff --git a/src/gtr-view.c b/src/gtr-view.c +index 59f18e8..b9c4f6a 100644 +--- a/src/gtr-view.c ++++ b/src/gtr-view.c +@@ -65,7 +65,7 @@ struct _GtrViewPrivate + gchar *search_text; + + #ifdef HAVE_GTKSPELL +- GtkSpell *spell; ++ GtkSpellChecker *spell; + #endif + }; + +@@ -75,11 +75,10 @@ gtr_attach_gtkspell (GtrView * view) + { + GError *error = NULL; + gchar *errortext = NULL; +- view->priv->spell = NULL; + +- view->priv->spell = +- gtkspell_new_attach (GTK_TEXT_VIEW (view), NULL, &error); +- if (view->priv->spell == NULL) ++ view->priv->spell = gtk_spell_checker_new (); ++ gtk_spell_checker_set_language (view->priv->spell, NULL, &error); ++ if (error) + { + g_warning (_("gtkspell error: %s\n"), error->message); + errortext = +@@ -90,6 +89,11 @@ gtr_attach_gtkspell (GtrView * view) + g_error_free (error); + g_free (errortext); + } ++ else ++ { ++ gtk_spell_checker_attach (view->priv->spell, ++ GTK_TEXT_VIEW (view)); ++ } + } + #endif + +@@ -263,7 +267,7 @@ gtr_view_enable_spellcheck (GtrView * view, gboolean enable) + #ifdef HAVE_GTKSPELL + if (!view->priv->spell) + return; +- gtkspell_detach (view->priv->spell); ++ gtk_spell_checker_detach (view->priv->spell); + #endif + } + } +-- +cgit v0.9.1 Deleted: community-x86_64/gtranslator.changelog =================================================================== --- community-x86_64/gtranslator.changelog 2013-04-21 22:17:11 UTC (rev 88691) +++ community-x86_64/gtranslator.changelog 2013-04-21 22:17:13 UTC (rev 88692) @@ -1,61 +0,0 @@ -2013-03-28 Balló György <ballogyor+arch at gmail dot com> - * gtranslator 2.91.6-3 - rebuild for the new gtkspell3 - -2013-01-18 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> - * gtranslator 2.91.6-1 - -2012-11-05 Balló György <ballogyor+arch at gmail dot com> - * gtranslator 2.91.5-2 - rebuild for gdl 3.6 - tempolary disable dockbar, because layout loading is completely broken with gdl 3.6 - -2012-07-30 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> - * gtranslator 2.91.5-1 - -2012-05-12 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> - * gtranslator 2.91.4-1 - -2012-04-23 Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> - * gtranslator 2.91.3-2 - rebuild for gdl 3.4.2 - -2012-04-21 Balló György <ballogyor+arch at gmail dot com> - * gtranslator 2.91.3-1 - -2012-04-09 Balló György <ballogyor+arch at gmail dot com> - * gtranslator 2.91.2-1 - replace gtkspell dependency with gtkspell3 - remove unused libunique dependency - remove broken dictionary plugin - -2012-03-18 Jaroslav Lichtblau <dragonl...@aur.archlinux.org> - * gtranslator 2.90.8-1 - -2011-10-28 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> - * gtranslator 2.90.7-1 - -2011-08-20 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> - * gtranslator 2.90.5-1 - -2011-05-12 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> - * gtranslator 2.90.3-1 - -2011-01-09 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> - * gtranslator-1.9.13-1 - -2010-08-30 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> - * gtranslator-1.9.11-1 - -2010-02-23 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> - * gtranslator-1.9.7-1 - -2007-06-19 Eric Belanger (Snowman) <e...@archlinux.org> - * gtranslator-1.1.7-3 - added x86_64 to arch field - added license - removed gnome.sh sourcing : no longer necessary - -2007-05-29 Alessio 'mOLOk' Bolognino <themo...@gmail.com> - * gtranslator-1.1.7-3 - move from /opt/gnome to /usr Copied: gtranslator/repos/community-x86_64/gtranslator.changelog (from rev 88672, gtranslator/repos/community-testing-x86_64/gtranslator.changelog) =================================================================== --- community-x86_64/gtranslator.changelog (rev 0) +++ community-x86_64/gtranslator.changelog 2013-04-21 22:17:13 UTC (rev 88692) @@ -0,0 +1,61 @@ +2013-03-28 Balló György <ballogyor+arch at gmail dot com> + * gtranslator 2.91.6-3 + rebuild for the new gtkspell3 + +2013-01-18 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> + * gtranslator 2.91.6-1 + +2012-11-05 Balló György <ballogyor+arch at gmail dot com> + * gtranslator 2.91.5-2 + rebuild for gdl 3.6 + tempolary disable dockbar, because layout loading is completely broken with gdl 3.6 + +2012-07-30 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> + * gtranslator 2.91.5-1 + +2012-05-12 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> + * gtranslator 2.91.4-1 + +2012-04-23 Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + * gtranslator 2.91.3-2 + rebuild for gdl 3.4.2 + +2012-04-21 Balló György <ballogyor+arch at gmail dot com> + * gtranslator 2.91.3-1 + +2012-04-09 Balló György <ballogyor+arch at gmail dot com> + * gtranslator 2.91.2-1 + replace gtkspell dependency with gtkspell3 + remove unused libunique dependency + remove broken dictionary plugin + +2012-03-18 Jaroslav Lichtblau <dragonl...@aur.archlinux.org> + * gtranslator 2.90.8-1 + +2011-10-28 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> + * gtranslator 2.90.7-1 + +2011-08-20 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> + * gtranslator 2.90.5-1 + +2011-05-12 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> + * gtranslator 2.90.3-1 + +2011-01-09 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> + * gtranslator-1.9.13-1 + +2010-08-30 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> + * gtranslator-1.9.11-1 + +2010-02-23 Jaroslav Lichtblau (Dragonlord) <dragonl...@aur.archlinux.org> + * gtranslator-1.9.7-1 + +2007-06-19 Eric Belanger (Snowman) <e...@archlinux.org> + * gtranslator-1.1.7-3 + added x86_64 to arch field + added license + removed gnome.sh sourcing : no longer necessary + +2007-05-29 Alessio 'mOLOk' Bolognino <themo...@gmail.com> + * gtranslator-1.1.7-3 + move from /opt/gnome to /usr Deleted: community-x86_64/gtranslator.install =================================================================== --- community-x86_64/gtranslator.install 2013-04-21 22:17:11 UTC (rev 88691) +++ community-x86_64/gtranslator.install 2013-04-21 22:17:13 UTC (rev 88692) @@ -1,13 +0,0 @@ -post_install() { - usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - update-desktop-database -q -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} Copied: gtranslator/repos/community-x86_64/gtranslator.install (from rev 88672, gtranslator/repos/community-testing-x86_64/gtranslator.install) =================================================================== --- community-x86_64/gtranslator.install (rev 0) +++ community-x86_64/gtranslator.install 2013-04-21 22:17:13 UTC (rev 88692) @@ -0,0 +1,13 @@ +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}