diff options
author | root <root@rshg054.dnsready.net> | 2013-04-23 01:16:16 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-04-23 01:16:16 -0700 |
commit | d1d93fafb9ef98fdd0c9a5a486c179c03cbbfb33 (patch) | |
tree | da594e49962aa1b32a81dd8066423c4fd5fdcec6 /community/giggle | |
parent | a5f6ca5d4e1aa12dfec53c3061df6e0198126fb4 (diff) |
Tue Apr 23 01:16:16 PDT 2013
Diffstat (limited to 'community/giggle')
-rw-r--r-- | community/giggle/PKGBUILD | 33 | ||||
-rw-r--r-- | community/giggle/gtksourceview3.7.patch | 36 |
2 files changed, 57 insertions, 12 deletions
diff --git a/community/giggle/PKGBUILD b/community/giggle/PKGBUILD index dc22aa950..13b652f78 100644 --- a/community/giggle/PKGBUILD +++ b/community/giggle/PKGBUILD @@ -1,31 +1,40 @@ -# $Id: PKGBUILD 79629 2012-11-09 09:55:35Z ibiru $ +# $Id: PKGBUILD 88688 2013-04-21 22:17:05Z heftig $ # Maintainer : Ionut Biru <ibiru@archlinux.org> # Contributor: neodreams <yanbrodeur@gmail.com> pkgname=giggle pkgver=0.7 -pkgrel=1 +pkgrel=2 pkgdesc="Git repository viewer" -arch=('i686' 'x86_64') +arch=(i686 x86_64) url="http://live.gnome.org/giggle" -license=('GPL') -depends=('git' 'gtksourceview3' 'vte3') -makedepends=('intltool' 'itstool') -source=(http://ftp.gnome.org/pub/GNOME/sources/giggle/0.7/$pkgname-$pkgver.tar.xz) +license=(GPL) +depends=(git gtksourceview3 vte3 desktop-file-utils hicolor-icon-theme) +makedepends=(intltool itstool) options=(!libtool) install=giggle.install -sha256sums=('ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59') +source=(http://ftp.gnome.org/pub/GNOME/sources/giggle/0.7/$pkgname-$pkgver.tar.xz + gtksourceview3.7.patch) +sha256sums=('ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59' + 'ca0b841d11bb5072741784dbeb72705eddf8e2bde780b8712355d5b66e456b37') -build() { +prepare() { cd $pkgname-$pkgver + patch -Np1 -i ../gtksourceview3.7.patch +} - ./configure \ - --prefix=/usr +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr make } -package() { +check() { cd $pkgname-$pkgver + make check +} +package() { + cd $pkgname-$pkgver make DESTDIR="$pkgdir" install } diff --git a/community/giggle/gtksourceview3.7.patch b/community/giggle/gtksourceview3.7.patch new file mode 100644 index 000000000..eb86cdeef --- /dev/null +++ b/community/giggle/gtksourceview3.7.patch @@ -0,0 +1,36 @@ +From 9999a7ff573b7f3320c2065e8d0eaf0fea32a41b Mon Sep 17 00:00:00 2001 +From: Dominique Leuenberger <dimstar@opensuse.org> +Date: Wed, 03 Apr 2013 20:26:17 +0000 +Subject: Directly include gtksourcebuffer.h + +Until gtksourceview 3.7, it was included indirectly by gtksourceview.h. + +https://bugzilla.gnome.org/show_bug.cgi?id=697220 +--- +diff --git a/src/giggle-diff-view.c b/src/giggle-diff-view.c +index 3ded28d..ff6bbe3 100644 +--- a/src/giggle-diff-view.c ++++ b/src/giggle-diff-view.c +@@ -29,6 +29,8 @@ + #include <glib/gi18n.h> + #include <string.h> + ++#include <gtksourceview/gtksourcebuffer.h> ++ + typedef struct GiggleDiffViewPriv GiggleDiffViewPriv; + typedef struct GiggleDiffViewFile GiggleDiffViewFile; + typedef struct GiggleDiffViewHunk GiggleDiffViewHunk; +diff --git a/src/giggle-view-file.c b/src/giggle-view-file.c +index 130af4a..517858d 100644 +--- a/src/giggle-view-file.c ++++ b/src/giggle-view-file.c +@@ -40,6 +40,7 @@ + + #include <gtksourceview/gtksourcelanguagemanager.h> + #include <gtksourceview/gtksourceview.h> ++#include <gtksourceview/gtksourcebuffer.h> + + #define GIGGLE_TYPE_VIEW_FILE_SNAPSHOT (giggle_view_file_snapshot_get_type ()) + #define GIGGLE_VIEW_FILE_SNAPSHOT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIGGLE_TYPE_VIEW_FILE_SNAPSHOT, GiggleViewFileSnapshot)) +-- +cgit v0.9.1 |