import gedit 3.0.2, still has some issues so not hooking it up yet
This commit is contained in:
parent
ed7cfcb5e6
commit
359fe89ec2
59
x11/gnome3/gedit/Makefile
Normal file
59
x11/gnome3/gedit/Makefile
Normal file
@ -0,0 +1,59 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2011/05/14 22:17:15 jasper Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= lightweight GNOME text editor
|
||||
|
||||
GNOME_PROJECT= gedit
|
||||
GNOME_VERSION= 3.0.2
|
||||
|
||||
CATEGORIES= editors
|
||||
|
||||
SHARED_LIBS += gedit-private 0.0 # 0.0
|
||||
|
||||
HOMEPAGE= http://projects.gnome.org/gedit/
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB += GL ICE SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp
|
||||
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0
|
||||
WANTLIB += c cairo cairo-gobject drm enchant expat ffi fontconfig
|
||||
WANTLIB += freetype gdk-3 gdk_pixbuf-2.0 gio-2.0 girepository-1.0
|
||||
WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 gtk-3
|
||||
WANTLIB += gtksourceview-3.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
|
||||
WANTLIB += pcre peas-1.0 peas-gtk-1.0 pixman-1 png pthread pthread-stubs
|
||||
WANTLIB += stdc++ xcb xcb-render xcb-shm xml2 z
|
||||
|
||||
MODULES= devel/dconf \
|
||||
devel/gettext \
|
||||
lang/python \
|
||||
x11/gnome
|
||||
|
||||
BUILD_DEPENDS= devel/gobject-introspection \
|
||||
devel/gsettings-desktop-schemas \
|
||||
devel/iso-codes
|
||||
LIB_DEPENDS= devel/libpeas \
|
||||
textproc/enchant \
|
||||
x11/gtksourceview3
|
||||
RUN_DEPENDS= devel/gobject-introspection \
|
||||
devel/gsettings-desktop-schemas
|
||||
|
||||
MODGNOME_HELP_FILES= Yes
|
||||
DESKTOP_FILES= Yes
|
||||
LIBTOOL_FLAGS= --tag=disable-static
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
||||
--enable-python \
|
||||
--disable-updater \
|
||||
--enable-introspection
|
||||
CONFIGURE_ARGS+= --enable-gvfs-metadata
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib -lm -lstdc++ -lintl -liconv"
|
||||
USE_GROFF = Yes
|
||||
|
||||
.include <bsd.port.mk>
|
5
x11/gnome3/gedit/distinfo
Normal file
5
x11/gnome3/gedit/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (gnome/gedit-3.0.2.tar.bz2) = 7I3DkZXsdnqxA5fXMC7gsg==
|
||||
RMD160 (gnome/gedit-3.0.2.tar.bz2) = rY9sLGWWpg+ZpffKAMjY1gSDn4E=
|
||||
SHA1 (gnome/gedit-3.0.2.tar.bz2) = bCaIGwK0PdUrt5OzZybgNDrqrdM=
|
||||
SHA256 (gnome/gedit-3.0.2.tar.bz2) = qR/P4yHY1dj+XGwR87BTif6+OW76IXK16my3nS8Wsts=
|
||||
SIZE (gnome/gedit-3.0.2.tar.bz2) = 3525355
|
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-gedit_gedit-metadata-manager_c,v 1.1.1.1 2011/05/14 22:17:15 jasper Exp $
|
||||
|
||||
gedit-2.28.0.log:gedit-metadata-manager.c: In function `save_item':
|
||||
gedit-2.28.0.log:gedit-metadata-manager.c:455: warning: long int format, different type arg (arg 2)
|
||||
|
||||
--- gedit/gedit-metadata-manager.c.orig Thu Jan 27 10:56:44 2011
|
||||
+++ gedit/gedit-metadata-manager.c Sat May 14 23:00:51 2011
|
||||
@@ -474,7 +474,7 @@ save_item (const gchar *key, const gpointer *data, xml
|
||||
gedit_debug_message (DEBUG_METADATA, "uri: %s", key);
|
||||
#endif
|
||||
|
||||
- atime = g_strdup_printf ("%ld", item->atime);
|
||||
+ atime = g_strdup_printf ("%lld", (long long)item->atime);
|
||||
xmlSetProp (xml_node, (const xmlChar *)"atime", (const xmlChar *)atime);
|
||||
|
||||
#ifdef GEDIT_METADATA_VERBOSE_DEBUG
|
6
x11/gnome3/gedit/pkg/DESCR
Executable file
6
x11/gnome3/gedit/pkg/DESCR
Executable file
@ -0,0 +1,6 @@
|
||||
gedit is a small and lightweight UTF-8 text editor for the GNOME
|
||||
environment. gedit uses a Multiple Document Interface (MDI), which lets
|
||||
you edit more than one document at the same time.
|
||||
|
||||
gedit supports most standard editing features, plus several not found in
|
||||
your average text editor (plugins being the most notable of these).
|
1525
x11/gnome3/gedit/pkg/PLIST
Normal file
1525
x11/gnome3/gedit/pkg/PLIST
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user