update to gedit-code-assistance-3.14.0
This commit is contained in:
parent
3deaaa6eaf
commit
bccf73c50f
@ -1,12 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.23 2014/12/07 13:04:34 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.24 2014/12/07 20:00:55 jasper Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= code assistance for Gedit
|
||||
|
||||
GNOME_PROJECT= gedit-code-assistance
|
||||
GNOME_VERSION= 0.3.1
|
||||
REVISION= 0
|
||||
GNOME_VERSION= 3.14.0
|
||||
|
||||
CATEGORIES= editors devel
|
||||
|
||||
@ -24,19 +23,17 @@ WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 graphite2 gthread-2.0
|
||||
WANTLIB += gtk-3 gtksourceview-3.0 harfbuzz
|
||||
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre peas-1.0
|
||||
WANTLIB += peas-gtk-1.0 pixman-1 png pthread pthread-stubs
|
||||
WANTLIB += xcb xcb-render xcb-shm xml2 z
|
||||
WANTLIB += xcb xcb-render xcb-shm xml2 z lzma
|
||||
|
||||
MODGNOME_TOOLS += gobject-introspection
|
||||
MODGNOME_TOOLS += gobject-introspection vala
|
||||
LIB_DEPENDS= devel/libgee
|
||||
|
||||
# XXX: Remove 'lang/vala' when updating
|
||||
BUILD_DEPENDS= x11/gnome/gedit \
|
||||
lang/vala
|
||||
BUILD_DEPENDS= x11/gnome/gedit>=3.14.0
|
||||
|
||||
RUN_DEPENDS= x11/gnome/code-assistance \
|
||||
x11/gnome/gedit
|
||||
x11/gnome/gedit>=3.14.0
|
||||
|
||||
post-install:
|
||||
rm ${PREFIX}/lib/gedit/plugins/*.{a,la}
|
||||
rm ${PREFIX}/lib/gedit/plugins{,/gca/indent-backends}/*.{a,la}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (gnome/gedit-code-assistance-0.3.1.tar.xz) = 94KHt/nwjhb6DR3bb0IuvgQPAGluyEP43efVMNCyquU=
|
||||
SIZE (gnome/gedit-code-assistance-0.3.1.tar.xz) = 317064
|
||||
SHA256 (gnome/gedit-code-assistance-3.14.0.tar.xz) = HONnvYiEagTTLRu+eYtgbD/QV6fiU6W5E9gyykLn+m8=
|
||||
SIZE (gnome/gedit-code-assistance-3.14.0.tar.xz) = 334304
|
||||
|
@ -1,42 +0,0 @@
|
||||
$OpenBSD: patch-src_gca-diagnostic-message_vala,v 1.1 2014/12/07 13:04:34 jasper Exp $
|
||||
|
||||
From 1459da0dbba48b7ae395dfb7e6213061a0b2c5ff Mon Sep 17 00:00:00 2001
|
||||
From: Elad Alfassa <elad@fedoraproject.org>
|
||||
Date: Fri, 5 Sep 2014 15:41:56 +0300
|
||||
Subject: Fix crash in gca_diagnostic_message_reposition
|
||||
|
||||
From a44cf7f9b6dc23ba274d070b758924684f24ae0d Mon Sep 17 00:00:00 2001
|
||||
From: Elad Alfassa <elad@fedoraproject.org>
|
||||
Date: Fri, 5 Sep 2014 18:00:00 +0300
|
||||
Subject: Fix potential crash in gca-diagnostic-message get_preferred_height()
|
||||
|
||||
--- src/gca-diagnostic-message.vala.orig Sun Dec 7 13:52:53 2014
|
||||
+++ src/gca-diagnostic-message.vala Sun Dec 7 13:56:13 2014
|
||||
@@ -347,12 +347,13 @@ class DiagnosticMessage : EventBox
|
||||
d_view.add_child_in_window(this, TextWindowType.TEXT, 0, 0);
|
||||
}
|
||||
|
||||
+ int natwidth;
|
||||
int minwidth;
|
||||
- base.get_preferred_width(null, out minwidth);
|
||||
+ base.get_preferred_width(out minwidth, out natwidth);
|
||||
|
||||
- if (minwidth < width)
|
||||
+ if (natwidth < width)
|
||||
{
|
||||
- width = minwidth;
|
||||
+ width = natwidth;
|
||||
}
|
||||
|
||||
int natural_height;
|
||||
@@ -376,8 +377,9 @@ class DiagnosticMessage : EventBox
|
||||
out int natural_height)
|
||||
{
|
||||
int minwidth;
|
||||
+ int natwidth;
|
||||
|
||||
- get_preferred_width(out minwidth, null);
|
||||
+ get_preferred_width(out minwidth, out natwidth);
|
||||
get_preferred_height_for_width(minwidth, out minimum_height, out natural_height);
|
||||
}
|
||||
|
@ -1,18 +0,0 @@
|
||||
$OpenBSD: patch-src_gca-document_vala,v 1.1 2014/12/07 13:04:34 jasper Exp $
|
||||
|
||||
From 31a3e0ba3f7887b91e8fc8cfd09167db1981aaca Mon Sep 17 00:00:00 2001
|
||||
From: Elad Alfassa <elad@fedoraproject.org>
|
||||
Date: Fri, 5 Sep 2014 14:55:47 +0300
|
||||
Subject: Adapt to gedit API changes
|
||||
|
||||
--- src/gca-document.vala.orig Sun Feb 9 21:44:24 2014
|
||||
+++ src/gca-document.vala Sun Dec 7 13:59:52 2014
|
||||
@@ -107,7 +107,7 @@ public class Document : Object
|
||||
}
|
||||
else
|
||||
{
|
||||
- d_location = document.location;
|
||||
+ d_location = document.get_location();
|
||||
}
|
||||
|
||||
update_path();
|
@ -1,5 +1,14 @@
|
||||
@comment $OpenBSD: PLIST,v 1.9 2014/03/30 13:13:08 jasper Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.10 2014/12/07 20:00:55 jasper Exp $
|
||||
include/gedit-3.0/
|
||||
include/gedit-3.0/gca/
|
||||
include/gedit-3.0/gca/gca.h
|
||||
lib/gedit/plugins/codeassistance.plugin
|
||||
lib/gedit/plugins/gca/
|
||||
lib/gedit/plugins/gca/indent-backends/
|
||||
lib/gedit/plugins/gca/indent-backends/gcaindentbackendc.plugin
|
||||
lib/gedit/plugins/gca/indent-backends/libgcaindentbackendc.so
|
||||
lib/gedit/plugins/libcodeassistance.so
|
||||
share/appdata/gedit-code-assistance.metainfo.xml
|
||||
share/gedit/plugins/codeassistance/
|
||||
share/gedit/plugins/codeassistance/codeassistance.css
|
||||
share/vala/vapi/gca.vapi
|
||||
|
Loading…
x
Reference in New Issue
Block a user