summaryrefslogtreecommitdiff
path: root/extra/gjs
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-31 02:01:16 -0700
committerroot <root@rshg054.dnsready.net>2013-07-31 02:01:16 -0700
commitb73aa81c21acc75e383d0e73e0fbf553d2b68232 (patch)
treede88d1ae028f57b9f86759cca80d66ef7b32bf97 /extra/gjs
parent4afc07385539524e7f85fe0d977b90bc6d124cfd (diff)
Wed Jul 31 01:58:05 PDT 2013
Diffstat (limited to 'extra/gjs')
-rw-r--r--extra/gjs/PKGBUILD14
-rw-r--r--extra/gjs/gettext-typo.patch22
2 files changed, 32 insertions, 4 deletions
diff --git a/extra/gjs/PKGBUILD b/extra/gjs/PKGBUILD
index 198d47e91..c35d5566e 100644
--- a/extra/gjs/PKGBUILD
+++ b/extra/gjs/PKGBUILD
@@ -1,18 +1,24 @@
-# $Id: PKGBUILD 183533 2013-04-22 15:40:22Z heftig $
+# $Id: PKGBUILD 191784 2013-07-30 19:02:00Z jgc $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=gjs
pkgver=1.36.1
-pkgrel=1
+pkgrel=2
pkgdesc="Javascript Bindings for GNOME"
arch=(i686 x86_64)
url="http://live.gnome.org/Gjs"
license=(GPL)
depends=(cairo gobject-introspection 'js>=17.0.0')
options=('!libtool')
-source=(http://people.gnome.org/~walters/$pkgname-js17-$pkgver.tar.bz2)
-sha256sums=('5826f74fcf20750538f74e2b0059f392eb139996b80b70ca217f5f7a0d117e27')
+source=(http://people.gnome.org/~walters/$pkgname-js17-$pkgver.tar.bz2
+ gettext-typo.patch)
+sha256sums=('5826f74fcf20750538f74e2b0059f392eb139996b80b70ca217f5f7a0d117e27'
+ 'c2c3ca377d9d69511d5784599ea33d754aed776d5ceefaf384b8e303b54fd038')
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i ../gettext-typo.patch
+}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --disable-static
diff --git a/extra/gjs/gettext-typo.patch b/extra/gjs/gettext-typo.patch
new file mode 100644
index 000000000..9a07b9a71
--- /dev/null
+++ b/extra/gjs/gettext-typo.patch
@@ -0,0 +1,22 @@
+From 178c810b7797ff2fca0440e519ddf4dbede589a1 Mon Sep 17 00:00:00 2001
+From: Giovanni Campagna <gcampagna@src.gnome.org>
+Date: Sun, 12 May 2013 16:46:19 +0000
+Subject: gettext: fix typo
+
+https://bugzilla.gnome.org/show_bug.cgi?id=700336
+---
+diff --git a/modules/gettext.js b/modules/gettext.js
+index 8f73c13..60991e1 100644
+--- a/modules/gettext.js
++++ b/modules/gettext.js
+@@ -46,7 +46,7 @@ function gettext(msgid) {
+ return GLib.dgettext(null, msgid);
+ }
+ function dgettext(domain, msgid) {
+- return GLib.dgetext(domain, msgid);
++ return GLib.dgettext(domain, msgid);
+ }
+ function dcgettext(domain, msgid, category) {
+ return GLib.dcgettext(domain, msgid, category);
+--
+cgit v0.9.2