[arch-commits] Commit in empathy/repos (3 files)

Jan de Groot jgc at archlinux.org
Wed Nov 22 14:21:15 UTC 2017


    Date: Wednesday, November 22, 2017 @ 14:21:13
  Author: jgc
Revision: 310596

archrelease: copy trunk to staging-x86_64

Added:
  empathy/repos/staging-x86_64/
  empathy/repos/staging-x86_64/PKGBUILD
    (from rev 310595, empathy/trunk/PKGBUILD)
  empathy/repos/staging-x86_64/enchant-2.patch
    (from rev 310595, empathy/trunk/enchant-2.patch)

-----------------+
 PKGBUILD        |   61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 enchant-2.patch |   13 +++++++++++
 2 files changed, 74 insertions(+)

Copied: empathy/repos/staging-x86_64/PKGBUILD (from rev 310595, empathy/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2017-11-22 14:21:13 UTC (rev 310596)
@@ -0,0 +1,61 @@
+# $Id$
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=empathy
+pkgver=3.25.90+33+g1453dc4e7
+pkgrel=1
+pkgdesc="A GNOME instant messaging client using the Telepathy framework"
+url="https://wiki.gnome.org/Apps/Empathy"
+arch=(x86_64)
+license=(GPL2)
+depends=(clutter-gst clutter-gtk folks gcr iso-codes libcanberra libpulse webkit2gtk
+         telepathy-farstream telepathy-glib telepathy-logger telepathy-mission-control geoclue2
+         geocode-glib cheese libchamplain libgudev)
+makedepends=(intltool itstool docbook-xsl python gnome-common git)
+optdepends=('telepathy-gabble: XMPP/Jabber support'
+            'telepathy-idle: IRC support'
+            'telepathy-salut: Link-local XMPP support'
+            'telepathy-rakia: SIP support'
+            'telepathy-haze: libpurple support')
+groups=(gnome)
+_commit=1453dc4e777d28df59cac2df45d607371c79c813  # master
+source=("git+https://git.gnome.org/browse/empathy#commit=$_commit"
+        "git+https://git.gnome.org/browse/telepathy-account-widgets"
+        enchant-2.patch)
+sha256sums=('SKIP'
+            'SKIP'
+            'cfb8e4c1fde981393090c5f4c51e8f4eace54acaa16a7aed3c7f1cd31658c167')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^EMPATHY_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+
+  git submodule init
+  git config --local submodule.telepathy-account-widgets.url "$srcdir/telepathy-account-widgets"
+  git submodule update
+
+  patch -Np1 -i ../enchant-2.patch
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  export LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
+  ./configure --prefix=/usr \
+      --sysconfdir=/etc  \
+      --libexecdir=/usr/lib/empathy \
+      --disable-static \
+      --disable-Werror
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}

Copied: empathy/repos/staging-x86_64/enchant-2.patch (from rev 310595, empathy/trunk/enchant-2.patch)
===================================================================
--- staging-x86_64/enchant-2.patch	                        (rev 0)
+++ staging-x86_64/enchant-2.patch	2017-11-22 14:21:13 UTC (rev 310596)
@@ -0,0 +1,13 @@
+diff --git a/libempathy-gtk/empathy-spell.c b/libempathy-gtk/empathy-spell.c
+index 27f27f902..bb0159fd8 100644
+--- a/libempathy-gtk/empathy-spell.c
++++ b/libempathy-gtk/empathy-spell.c
+@@ -424,7 +424,7 @@ empathy_spell_add_to_dictionary (const gchar *code,
+ 	if (lang == NULL)
+ 		return;
+ 
+-	enchant_dict_add_to_pwl (lang->speller, word, strlen (word));
++	enchant_dict_add (lang->speller, word, strlen (word));
+ }
+ 
+ #else /* not HAVE_ENCHANT */



More information about the arch-commits mailing list