- Add patch to fix the crash[1]

- Reorder USES
- Add a DEPRECATION notice as the upstream development has been
  stalled for quite sometime

PR:		217586
Submitted by:	tobik [1]
Reported by:	rozhuk.im at gmail dot com
This commit is contained in:
Ashish SHUKLA 2018-10-22 06:17:51 +00:00
parent ceaa2cafa4
commit c95f24a51b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=482732
4 changed files with 23 additions and 18 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= giggle
PORTVERSION= 0.7
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= GNOME
@ -13,6 +13,9 @@ COMMENT= GTK+ frontend for git version control system
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
DEPRECATED= Development stalled. Please switch to devel/gitg.
EXPIRATION_DATE=2018-11-22
BUILD_DEPENDS= git:devel/git \
p5-XML-Parser>=0:textproc/p5-XML-Parser \
itstool:textproc/itstool
@ -22,8 +25,8 @@ OPTIONS_DEFINE= NLS
#VTE_DESC= Terminal Widget
GNU_CONFIGURE= yes
USE_GNOME= glib20 gtk30 intltool libglade2 gtksourceview3 gdkpixbuf2
USES= desktop-file-utils gmake libtool pkgconfig tar:xz
USE_GNOME= glib20 gtk30 intltool libglade2 gtksourceview3 gdkpixbuf2
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include

View File

@ -0,0 +1,10 @@
--- src/giggle-diff-view.c.orig 2012-11-01 05:29:01 UTC
+++ src/giggle-diff-view.c
@@ -27,6 +27,7 @@
#include <libgiggle-git/giggle-git-diff.h>
#include <glib/gi18n.h>
+#include <gtksourceview/gtksource.h>
#include <string.h>
typedef struct GiggleDiffViewPriv GiggleDiffViewPriv;

View File

@ -1,10 +0,0 @@
--- src/giggle-diff-view.c.orig 2012-11-01 06:29:01.000000000 +0100
+++ src/giggle-diff-view.c 2014-10-01 23:37:28.640714979 +0200
@@ -27,6 +27,7 @@
#include <libgiggle-git/giggle-git-diff.h>
#include <glib/gi18n.h>
+#include <gtksourceview/gtksourcebuffer.h>
#include <string.h>
typedef struct GiggleDiffViewPriv GiggleDiffViewPriv;

View File

@ -1,10 +1,12 @@
--- src/giggle-view-file.c.orig 2012-11-01 06:29:01.000000000 +0100
+++ src/giggle-view-file.c 2014-10-01 23:37:28.646714997 +0200
@@ -39,6 +39,7 @@
--- src/giggle-view-file.c.orig 2012-11-01 05:29:01 UTC
+++ src/giggle-view-file.c
@@ -38,8 +38,7 @@
#include <gio/gio.h>
#include <glib/gi18n.h>
#include <gtksourceview/gtksourcelanguagemanager.h>
+#include <gtksourceview/gtksourcebuffer.h>
#include <gtksourceview/gtksourceview.h>
-#include <gtksourceview/gtksourcelanguagemanager.h>
-#include <gtksourceview/gtksourceview.h>
+#include <gtksourceview/gtksource.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))