[arch-commits] Commit in giggle/repos (10 files)

Jan Steffens heftig at archlinux.org
Sun Sep 28 21:50:00 UTC 2014


    Date: Sunday, September 28, 2014 @ 23:50:00
  Author: heftig
Revision: 119716

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  giggle/repos/community-testing-i686/
  giggle/repos/community-testing-i686/PKGBUILD
    (from rev 119715, giggle/trunk/PKGBUILD)
  giggle/repos/community-testing-i686/giggle.install
    (from rev 119715, giggle/trunk/giggle.install)
  giggle/repos/community-testing-i686/gtksourceview3.7.patch
    (from rev 119715, giggle/trunk/gtksourceview3.7.patch)
  giggle/repos/community-testing-i686/vte2.91.patch
    (from rev 119715, giggle/trunk/vte2.91.patch)
  giggle/repos/community-testing-x86_64/
  giggle/repos/community-testing-x86_64/PKGBUILD
    (from rev 119715, giggle/trunk/PKGBUILD)
  giggle/repos/community-testing-x86_64/giggle.install
    (from rev 119715, giggle/trunk/giggle.install)
  giggle/repos/community-testing-x86_64/gtksourceview3.7.patch
    (from rev 119715, giggle/trunk/gtksourceview3.7.patch)
  giggle/repos/community-testing-x86_64/vte2.91.patch
    (from rev 119715, giggle/trunk/vte2.91.patch)

-------------------------------------------------+
 community-testing-i686/PKGBUILD                 |   42 ++++++++++++++++++
 community-testing-i686/giggle.install           |   13 +++++
 community-testing-i686/gtksourceview3.7.patch   |   36 +++++++++++++++
 community-testing-i686/vte2.91.patch            |   50 ++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD               |   42 ++++++++++++++++++
 community-testing-x86_64/giggle.install         |   13 +++++
 community-testing-x86_64/gtksourceview3.7.patch |   36 +++++++++++++++
 community-testing-x86_64/vte2.91.patch          |   50 ++++++++++++++++++++++
 8 files changed, 282 insertions(+)

Copied: giggle/repos/community-testing-i686/PKGBUILD (from rev 119715, giggle/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2014-09-28 21:50:00 UTC (rev 119716)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: neodreams <yanbrodeur at gmail.com>
+
+pkgname=giggle
+pkgver=0.7
+pkgrel=3
+pkgdesc="Git repository viewer"
+arch=(i686 x86_64)
+url="https://wiki.gnome.org/Apps/giggle"
+license=(GPL)
+depends=(git gtksourceview3 vte3 desktop-file-utils hicolor-icon-theme)
+makedepends=(intltool itstool gnome-common yelp-tools)
+install=giggle.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/giggle/0.7/$pkgname-$pkgver.tar.xz
+        gtksourceview3.7.patch vte2.91.patch)
+sha256sums=('ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59'
+            'ca0b841d11bb5072741784dbeb72705eddf8e2bde780b8712355d5b66e456b37'
+            '2eba9ff9b11ac8ae2d1f3d104a61026b0b04e745f810f719c8f4657f8c23ce02')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../gtksourceview3.7.patch
+  patch -Np1 -i ../vte2.91.patch
+  NOCONFIGURE=1 AUTOPOINT=intltoolize gnome-autogen.sh
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: giggle/repos/community-testing-i686/giggle.install (from rev 119715, giggle/trunk/giggle.install)
===================================================================
--- community-testing-i686/giggle.install	                        (rev 0)
+++ community-testing-i686/giggle.install	2014-09-28 21:50:00 UTC (rev 119716)
@@ -0,0 +1,13 @@
+post_install() {
+  gtk-update-icon-cache -f -t -q /usr/share/icons/hicolor
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}
+

Copied: giggle/repos/community-testing-i686/gtksourceview3.7.patch (from rev 119715, giggle/trunk/gtksourceview3.7.patch)
===================================================================
--- community-testing-i686/gtksourceview3.7.patch	                        (rev 0)
+++ community-testing-i686/gtksourceview3.7.patch	2014-09-28 21:50:00 UTC (rev 119716)
@@ -0,0 +1,36 @@
+From 9999a7ff573b7f3320c2065e8d0eaf0fea32a41b Mon Sep 17 00:00:00 2001
+From: Dominique Leuenberger <dimstar at 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

Copied: giggle/repos/community-testing-i686/vte2.91.patch (from rev 119715, giggle/trunk/vte2.91.patch)
===================================================================
--- community-testing-i686/vte2.91.patch	                        (rev 0)
+++ community-testing-i686/vte2.91.patch	2014-09-28 21:50:00 UTC (rev 119716)
@@ -0,0 +1,50 @@
+diff -u -r giggle-0.7/configure.ac giggle-0.7-vte2.91/configure.ac
+--- giggle-0.7/configure.ac	2012-11-01 06:29:01.000000000 +0100
++++ giggle-0.7-vte2.91/configure.ac	2014-09-28 23:31:40.389429740 +0200
+@@ -56,7 +56,7 @@
+ GTK_REQUIRED_VERSION=3.3.12
+ GTKSOURCE_REQUIRED_VERSION=3.0
+ EDS_REQUIRED_VERSION=3.2
+-VTE_REQUIRED_VERSION=0.28
++VTE_REQUIRED_VERSION=0.38
+ 
+ 
+ PKG_CHECK_MODULES(GIGGLE, [
+@@ -109,7 +109,7 @@
+ AS_IF([test "x$enable_terminal" = "xyes"],
+       [
+         PKG_CHECK_MODULES([VTE],
+-                          [vte-2.90 >= $VTE_REQUIRED_VERSION],
++                          [vte-2.91 >= $VTE_REQUIRED_VERSION],
+                           [have_vte=yes
+                            AC_DEFINE([HAVE_VTE], [1],
+                                      [Use features from vte])
+diff -u -r giggle-0.7/plugins/giggle-view-terminal.c giggle-0.7-vte2.91/plugins/giggle-view-terminal.c
+--- giggle-0.7/plugins/giggle-view-terminal.c	2012-11-01 06:29:01.000000000 +0100
++++ giggle-0.7-vte2.91/plugins/giggle-view-terminal.c	2014-09-28 23:46:07.965686517 +0200
+@@ -186,15 +186,16 @@
+ 	real_argv[1] = NULL;
+ 	spawn_flags = G_SPAWN_CHILD_INHERITS_STDIN | G_SPAWN_SEARCH_PATH | G_SPAWN_FILE_AND_ARGV_ZERO;
+ 
+-	succes = vte_terminal_fork_command_full (VTE_TERMINAL (terminal),
+-	                                         pty_flags,
+-	                                         directory,
+-	                                         real_argv,
+-	                                         NULL,
+-	                                         spawn_flags,
+-	                                         NULL, NULL,
+-	                                         NULL,
+-	                                         &error);
++	succes = vte_terminal_spawn_sync (VTE_TERMINAL (terminal),
++	                                  pty_flags,
++	                                  directory,
++	                                  real_argv,
++	                                  NULL,
++	                                  spawn_flags,
++	                                  NULL, NULL,
++	                                  NULL,
++                                          NULL,
++	                                  &error);
+ 	g_strfreev (real_argv);
+ 
+ 	if (succes == FALSE) {

Copied: giggle/repos/community-testing-x86_64/PKGBUILD (from rev 119715, giggle/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2014-09-28 21:50:00 UTC (rev 119716)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: neodreams <yanbrodeur at gmail.com>
+
+pkgname=giggle
+pkgver=0.7
+pkgrel=3
+pkgdesc="Git repository viewer"
+arch=(i686 x86_64)
+url="https://wiki.gnome.org/Apps/giggle"
+license=(GPL)
+depends=(git gtksourceview3 vte3 desktop-file-utils hicolor-icon-theme)
+makedepends=(intltool itstool gnome-common yelp-tools)
+install=giggle.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/giggle/0.7/$pkgname-$pkgver.tar.xz
+        gtksourceview3.7.patch vte2.91.patch)
+sha256sums=('ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59'
+            'ca0b841d11bb5072741784dbeb72705eddf8e2bde780b8712355d5b66e456b37'
+            '2eba9ff9b11ac8ae2d1f3d104a61026b0b04e745f810f719c8f4657f8c23ce02')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../gtksourceview3.7.patch
+  patch -Np1 -i ../vte2.91.patch
+  NOCONFIGURE=1 AUTOPOINT=intltoolize gnome-autogen.sh
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: giggle/repos/community-testing-x86_64/giggle.install (from rev 119715, giggle/trunk/giggle.install)
===================================================================
--- community-testing-x86_64/giggle.install	                        (rev 0)
+++ community-testing-x86_64/giggle.install	2014-09-28 21:50:00 UTC (rev 119716)
@@ -0,0 +1,13 @@
+post_install() {
+  gtk-update-icon-cache -f -t -q /usr/share/icons/hicolor
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}
+

Copied: giggle/repos/community-testing-x86_64/gtksourceview3.7.patch (from rev 119715, giggle/trunk/gtksourceview3.7.patch)
===================================================================
--- community-testing-x86_64/gtksourceview3.7.patch	                        (rev 0)
+++ community-testing-x86_64/gtksourceview3.7.patch	2014-09-28 21:50:00 UTC (rev 119716)
@@ -0,0 +1,36 @@
+From 9999a7ff573b7f3320c2065e8d0eaf0fea32a41b Mon Sep 17 00:00:00 2001
+From: Dominique Leuenberger <dimstar at 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

Copied: giggle/repos/community-testing-x86_64/vte2.91.patch (from rev 119715, giggle/trunk/vte2.91.patch)
===================================================================
--- community-testing-x86_64/vte2.91.patch	                        (rev 0)
+++ community-testing-x86_64/vte2.91.patch	2014-09-28 21:50:00 UTC (rev 119716)
@@ -0,0 +1,50 @@
+diff -u -r giggle-0.7/configure.ac giggle-0.7-vte2.91/configure.ac
+--- giggle-0.7/configure.ac	2012-11-01 06:29:01.000000000 +0100
++++ giggle-0.7-vte2.91/configure.ac	2014-09-28 23:31:40.389429740 +0200
+@@ -56,7 +56,7 @@
+ GTK_REQUIRED_VERSION=3.3.12
+ GTKSOURCE_REQUIRED_VERSION=3.0
+ EDS_REQUIRED_VERSION=3.2
+-VTE_REQUIRED_VERSION=0.28
++VTE_REQUIRED_VERSION=0.38
+ 
+ 
+ PKG_CHECK_MODULES(GIGGLE, [
+@@ -109,7 +109,7 @@
+ AS_IF([test "x$enable_terminal" = "xyes"],
+       [
+         PKG_CHECK_MODULES([VTE],
+-                          [vte-2.90 >= $VTE_REQUIRED_VERSION],
++                          [vte-2.91 >= $VTE_REQUIRED_VERSION],
+                           [have_vte=yes
+                            AC_DEFINE([HAVE_VTE], [1],
+                                      [Use features from vte])
+diff -u -r giggle-0.7/plugins/giggle-view-terminal.c giggle-0.7-vte2.91/plugins/giggle-view-terminal.c
+--- giggle-0.7/plugins/giggle-view-terminal.c	2012-11-01 06:29:01.000000000 +0100
++++ giggle-0.7-vte2.91/plugins/giggle-view-terminal.c	2014-09-28 23:46:07.965686517 +0200
+@@ -186,15 +186,16 @@
+ 	real_argv[1] = NULL;
+ 	spawn_flags = G_SPAWN_CHILD_INHERITS_STDIN | G_SPAWN_SEARCH_PATH | G_SPAWN_FILE_AND_ARGV_ZERO;
+ 
+-	succes = vte_terminal_fork_command_full (VTE_TERMINAL (terminal),
+-	                                         pty_flags,
+-	                                         directory,
+-	                                         real_argv,
+-	                                         NULL,
+-	                                         spawn_flags,
+-	                                         NULL, NULL,
+-	                                         NULL,
+-	                                         &error);
++	succes = vte_terminal_spawn_sync (VTE_TERMINAL (terminal),
++	                                  pty_flags,
++	                                  directory,
++	                                  real_argv,
++	                                  NULL,
++	                                  spawn_flags,
++	                                  NULL, NULL,
++	                                  NULL,
++                                          NULL,
++	                                  &error);
+ 	g_strfreev (real_argv);
+ 
+ 	if (succes == FALSE) {



More information about the arch-commits mailing list