[arch-commits] CVS update of extra/office/stardict (PKGBUILD gtk_gthread_fixes.patch)

Aaron Griffin aaron at archlinux.org
Thu Sep 13 05:03:22 UTC 2007


    Date: Thursday, September 13, 2007 @ 01:03:22
  Author: aaron
    Path: /home/cvs-extra/extra/office/stardict

   Added: gtk_gthread_fixes.patch (1.1)
Modified: PKGBUILD (1.6 -> 1.7)

upgpkg: stardict 3.0.0-1


-------------------------+
 PKGBUILD                |   20 +++++++++++++-------
 gtk_gthread_fixes.patch |   31 +++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+), 7 deletions(-)


Index: extra/office/stardict/PKGBUILD
diff -u extra/office/stardict/PKGBUILD:1.6 extra/office/stardict/PKGBUILD:1.7
--- extra/office/stardict/PKGBUILD:1.6	Fri Jul 21 13:08:27 2006
+++ extra/office/stardict/PKGBUILD	Thu Sep 13 01:03:22 2007
@@ -1,24 +1,30 @@
-# $Id: PKGBUILD,v 1.6 2006/07/21 17:08:27 ganja_guru Exp $
+# $Id: PKGBUILD,v 1.7 2007/09/13 05:03:22 aaron Exp $
 # Maintainer: Aaron Griffin <aaron at archlinux.org>
 # Contributor: Neil Lin <neil at vip.url.com.tw>
 
 pkgname=stardict
-pkgver=2.4.8
+pkgver=3.0.0
 pkgrel=1
 pkgdesc="StarDict is a powerful international dictionary written in Gtk2."
 arch=(i686 x86_64)
 url="http://stardict.sourceforge.net/"
-licenses=('GPL')
+license=('GPL')
 depends=('gtk2' 'gcc')
 makedepends=('perlxml' 'popt')
-source=(http://dl.sourceforge.net/sourceforge/stardict/$pkgname-$pkgver.tar.bz2)
-md5sums=('2f743d809737ca157bad71791c45ce63')
+source=(http://downloads.sourceforge.net/sourceforge/stardict/$pkgname-$pkgver.tar.bz2
+        gtk_gthread_fixes.patch)
+md5sums=('23bbfd0a75baab5d0def5596f19b80cb' 'b9d471f0a119a86251c7dd0f593b3d50')
 
 build()
 {
    cd $startdir/src/$pkgname-$pkgver
-   ./configure 	PKG_CONFIG=/usr/bin/pkg-config --prefix=/usr --sysconfdir=/etc\
-        --mandir=/usr/man --disable-gnome-support --disable-schemas-install
+
+   patch -up1 < $startdir/src/gtk_gthread_fixes.patch
+   autoreconf
+
+   ./configure 	PKG_CONFIG=/usr/bin/pkg-config --prefix=/usr --sysconfdir=/etc \
+        --mandir=/usr/man --disable-gnome-support --disable-schemas-install \
+        --disable-espeak
    make || return 1
    make DESTDIR=$startdir/pkg install
 }
Index: extra/office/stardict/gtk_gthread_fixes.patch
diff -u /dev/null extra/office/stardict/gtk_gthread_fixes.patch:1.1
--- /dev/null	Thu Sep 13 01:03:22 2007
+++ extra/office/stardict/gtk_gthread_fixes.patch	Thu Sep 13 01:03:22 2007
@@ -0,0 +1,31 @@
+--- a/src/prefsdlg.cpp	2007-09-12 23:37:46.000000000 -0500
++++ b/src/prefsdlg.cpp	2007-09-12 23:38:54.000000000 -0500
+@@ -726,7 +726,7 @@
+ 	GtkWidget *vbox1 = gtk_vbox_new(false, 6);
+ 	gtk_box_pack_start(GTK_BOX(vbox),vbox1,false,false, 0);
+ 
+-	GtkWidget *check_button;
++	GtkWidget *check_button, *label;
+ 	check_button = gtk_check_button_new_with_mnemonic(_("_Enable sound event."));
+ 	bool enable=
+ 		conf->get_bool_at("dictionary/enable_sound_event");
+@@ -748,7 +748,7 @@
+ 	gtk_box_pack_start(GTK_BOX(vbox1), hbox2, FALSE, FALSE, 0);
+ #endif
+ 
+-	GtkWidget *label = gtk_label_new(_("RealPeopleTTS search path:"));
++	label = gtk_label_new(_("RealPeopleTTS search path:"));
+ 	gtk_misc_set_alignment(GTK_MISC(label), 0, .5);
+ 	gtk_box_pack_start(GTK_BOX(vbox1),label,false,false,0);
+ 	tts_textview = gtk_text_view_new();
+--- a/configure.in	2007-09-12 23:52:01.000000000 -0500
++++ b/configure.in	2007-09-12 23:52:33.000000000 -0500
+@@ -192,7 +192,7 @@
+ elif test "x${enable_maemo_support}" = "xyes" ; then
+   DEP_MODULES="gtk+-2.0 >= 2.6 gconf-2.0 >= 2.6 hildon-libs >= 0.12"
+ elif test "x${enable_gnome_support}" = "xno" ; then
+-  DEP_MODULES="gtk+-2.0 >= 2.6"
++  DEP_MODULES="gtk+-2.0 >= 2.6 gthread-2.0"
+ else
+   DEP_MODULES="libgnomeui-2.0 >= 2.2.0"
+ fi




More information about the arch-commits mailing list