[Midnightbsd-cvs] mports: mports/x11-toolkits: add eel for gnome apps

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Sep 1 02:36:20 EDT 2007


Log Message:
-----------
add eel for gnome apps

Modified Files:
--------------
    mports/x11-toolkits:
        Makefile (r1.29 -> r1.30)

Added Files:
-----------
    mports/x11-toolkits/eel:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/x11-toolkits/eel/files:
        patch-Makefile.in (r1.1)
        patch-eel_eel-editable-label.c (r1.1)
        patch-eel_eel-gnome-extensions.c (r1.1)
        patch-eel_eel-open-with-dialog.c (r1.1)
        patch-eel_eel-stock-dialogs.c (r1.1)

-------------- next part --------------
--- /dev/null
+++ x11-toolkits/eel/pkg-descr
@@ -0,0 +1,7 @@
+The eel library contains a number of useful classes and functions which
+extend glib, gtk, gnome-libs, and other widely-used GNOME platform libraries.
+
+Almost all of the eel library was previously part of Nautilus, but is now
+a separate package so it can be used by other applications.
+
+WWW: http://www.gnome.org/
--- /dev/null
+++ x11-toolkits/eel/pkg-plist
@@ -0,0 +1,149 @@
+include/eel-2/eel/eel-accessibility.h
+include/eel-2/eel/eel-alert-dialog.h
+include/eel-2/eel/eel-art-extensions.h
+include/eel-2/eel/eel-art-gtk-extensions.h
+include/eel-2/eel/eel-background-box.h
+include/eel-2/eel/eel-background.h
+include/eel-2/eel/eel-canvas-rect-ellipse.h
+include/eel-2/eel/eel-canvas-util.h
+include/eel-2/eel/eel-canvas.h
+include/eel-2/eel/eel-dateedit-extensions.h
+include/eel-2/eel/eel-debug-drawing.h
+include/eel-2/eel/eel-debug.h
+include/eel-2/eel/eel-editable-label.h
+include/eel-2/eel/eel-enumeration.h
+include/eel-2/eel/eel-features.h
+include/eel-2/eel/eel-gconf-extensions.h
+include/eel-2/eel/eel-gdk-extensions.h
+include/eel-2/eel/eel-gdk-pixbuf-extensions.h
+include/eel-2/eel/eel-glib-extensions.h
+include/eel-2/eel/eel-gnome-extensions.h
+include/eel-2/eel/eel-graphic-effects.h
+include/eel-2/eel/eel-gtk-container.h
+include/eel-2/eel/eel-gtk-extensions.h
+include/eel-2/eel/eel-gtk-macros.h
+include/eel-2/eel/eel-i18n.h
+include/eel-2/eel/eel-image-table.h
+include/eel-2/eel/eel-labeled-image.h
+include/eel-2/eel/eel-marshal.h
+include/eel-2/eel/eel-mime-application-chooser.h
+include/eel-2/eel/eel-mime-extensions.h
+include/eel-2/eel/eel-open-with-dialog.h
+include/eel-2/eel/eel-pango-extensions.h
+include/eel-2/eel/eel-preferences-glade.h
+include/eel-2/eel/eel-preferences.h
+include/eel-2/eel/eel-self-checks.h
+include/eel-2/eel/eel-stock-dialogs.h
+include/eel-2/eel/eel-string-list.h
+include/eel-2/eel/eel-string.h
+include/eel-2/eel/eel-type-builtins.h
+include/eel-2/eel/eel-types.h
+include/eel-2/eel/eel-vfs-extensions.h
+include/eel-2/eel/eel-wrap-table.h
+include/eel-2/eel/eel-xml-extensions.h
+include/eel-2/eel/eel.h
+lib/libeel-2.a
+lib/libeel-2.la
+lib/libeel-2.so
+lib/libeel-2.so.2
+libdata/pkgconfig/eel-2.0.pc
+share/locale/am/LC_MESSAGES/eel-2.0.mo
+share/locale/ang/LC_MESSAGES/eel-2.0.mo
+share/locale/ar/LC_MESSAGES/eel-2.0.mo
+share/locale/az/LC_MESSAGES/eel-2.0.mo
+share/locale/be/LC_MESSAGES/eel-2.0.mo
+share/locale/bg/LC_MESSAGES/eel-2.0.mo
+share/locale/bn/LC_MESSAGES/eel-2.0.mo
+share/locale/bn_IN/LC_MESSAGES/eel-2.0.mo
+share/locale/br/LC_MESSAGES/eel-2.0.mo
+share/locale/bs/LC_MESSAGES/eel-2.0.mo
+share/locale/ca/LC_MESSAGES/eel-2.0.mo
+share/locale/cs/LC_MESSAGES/eel-2.0.mo
+share/locale/cy/LC_MESSAGES/eel-2.0.mo
+share/locale/da/LC_MESSAGES/eel-2.0.mo
+share/locale/de/LC_MESSAGES/eel-2.0.mo
+share/locale/dz/LC_MESSAGES/eel-2.0.mo
+share/locale/el/LC_MESSAGES/eel-2.0.mo
+share/locale/en_CA/LC_MESSAGES/eel-2.0.mo
+share/locale/en_GB/LC_MESSAGES/eel-2.0.mo
+share/locale/es/LC_MESSAGES/eel-2.0.mo
+share/locale/et/LC_MESSAGES/eel-2.0.mo
+share/locale/eu/LC_MESSAGES/eel-2.0.mo
+share/locale/fa/LC_MESSAGES/eel-2.0.mo
+share/locale/fi/LC_MESSAGES/eel-2.0.mo
+share/locale/fr/LC_MESSAGES/eel-2.0.mo
+share/locale/ga/LC_MESSAGES/eel-2.0.mo
+share/locale/gl/LC_MESSAGES/eel-2.0.mo
+share/locale/gu/LC_MESSAGES/eel-2.0.mo
+share/locale/he/LC_MESSAGES/eel-2.0.mo
+share/locale/hi/LC_MESSAGES/eel-2.0.mo
+share/locale/hr/LC_MESSAGES/eel-2.0.mo
+share/locale/hu/LC_MESSAGES/eel-2.0.mo
+share/locale/id/LC_MESSAGES/eel-2.0.mo
+share/locale/is/LC_MESSAGES/eel-2.0.mo
+share/locale/it/LC_MESSAGES/eel-2.0.mo
+share/locale/ja/LC_MESSAGES/eel-2.0.mo
+share/locale/ka/LC_MESSAGES/eel-2.0.mo
+share/locale/kn/LC_MESSAGES/eel-2.0.mo
+share/locale/ko/LC_MESSAGES/eel-2.0.mo
+share/locale/ku/LC_MESSAGES/eel-2.0.mo
+share/locale/ky/LC_MESSAGES/eel-2.0.mo
+share/locale/li/LC_MESSAGES/eel-2.0.mo
+share/locale/lt/LC_MESSAGES/eel-2.0.mo
+share/locale/lv/LC_MESSAGES/eel-2.0.mo
+share/locale/mk/LC_MESSAGES/eel-2.0.mo
+share/locale/ml/LC_MESSAGES/eel-2.0.mo
+share/locale/mn/LC_MESSAGES/eel-2.0.mo
+share/locale/mr/LC_MESSAGES/eel-2.0.mo
+share/locale/ms/LC_MESSAGES/eel-2.0.mo
+share/locale/nb/LC_MESSAGES/eel-2.0.mo
+share/locale/ne/LC_MESSAGES/eel-2.0.mo
+share/locale/nl/LC_MESSAGES/eel-2.0.mo
+share/locale/nn/LC_MESSAGES/eel-2.0.mo
+share/locale/or/LC_MESSAGES/eel-2.0.mo
+share/locale/pa/LC_MESSAGES/eel-2.0.mo
+share/locale/pl/LC_MESSAGES/eel-2.0.mo
+share/locale/pt/LC_MESSAGES/eel-2.0.mo
+share/locale/pt_BR/LC_MESSAGES/eel-2.0.mo
+share/locale/ro/LC_MESSAGES/eel-2.0.mo
+share/locale/ru/LC_MESSAGES/eel-2.0.mo
+share/locale/rw/LC_MESSAGES/eel-2.0.mo
+share/locale/sk/LC_MESSAGES/eel-2.0.mo
+share/locale/sl/LC_MESSAGES/eel-2.0.mo
+share/locale/sq/LC_MESSAGES/eel-2.0.mo
+share/locale/sr/LC_MESSAGES/eel-2.0.mo
+share/locale/sr at Latn/LC_MESSAGES/eel-2.0.mo
+share/locale/sv/LC_MESSAGES/eel-2.0.mo
+share/locale/ta/LC_MESSAGES/eel-2.0.mo
+share/locale/th/LC_MESSAGES/eel-2.0.mo
+share/locale/tr/LC_MESSAGES/eel-2.0.mo
+share/locale/ug/LC_MESSAGES/eel-2.0.mo
+share/locale/uk/LC_MESSAGES/eel-2.0.mo
+share/locale/vi/LC_MESSAGES/eel-2.0.mo
+share/locale/wa/LC_MESSAGES/eel-2.0.mo
+share/locale/xh/LC_MESSAGES/eel-2.0.mo
+share/locale/zh_CN/LC_MESSAGES/eel-2.0.mo
+share/locale/zh_HK/LC_MESSAGES/eel-2.0.mo
+share/locale/zh_TW/LC_MESSAGES/eel-2.0.mo
+ at dirrm include/eel-2/eel
+ at dirrm include/eel-2
+ at dirrmtry share/locale/zh_HK/LC_MESSAGES
+ at dirrmtry share/locale/zh_HK
+ at dirrmtry share/locale/xh/LC_MESSAGES
+ at dirrmtry share/locale/xh
+ at dirrmtry share/locale/ug/LC_MESSAGES
+ at dirrmtry share/locale/ug
+ at dirrmtry share/locale/rw/LC_MESSAGES
+ at dirrmtry share/locale/rw
+ at dirrmtry share/locale/mr/LC_MESSAGES
+ at dirrmtry share/locale/mr
+ at dirrmtry share/locale/ky/LC_MESSAGES
+ at dirrmtry share/locale/ky
+ at dirrmtry share/locale/ku/LC_MESSAGES
+ at dirrmtry share/locale/ku
+ at dirrmtry share/locale/dz/LC_MESSAGES
+ at dirrmtry share/locale/dz
+ at dirrmtry share/locale/bn_IN/LC_MESSAGES
+ at dirrmtry share/locale/bn_IN
+ at dirrmtry share/locale/ang/LC_MESSAGES
+ at dirrmtry share/locale/ang
--- /dev/null
+++ x11-toolkits/eel/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for:    eel2
+# Date created:         		8th May 2001
+# Whom:                 		Ade Lovett <ade at FreeBSD.org>
+#
+# $MidnightBSD: mports/x11-toolkits/eel/Makefile,v 1.1 2007/09/01 06:36:18 laffer1 Exp $
+# $FreeBSD: ports/x11-toolkits/eel/Makefile,v 1.33 2007/07/03 17:08:19 mezz Exp $
+#   $MCom: ports/x11-toolkits/eel/Makefile,v 1.51 2007/03/12 15:59:00 ahze Exp $
+#
+
+PORTNAME=	eel
+PORTVERSION=	2.18.3
+CATEGORIES=	x11-toolkits gnome
+MASTER_SITES=	${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR=	sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+DIST_SUBDIR=	gnome2
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Generally useful classes and extensions to GNOME
+
+USE_GETTEXT=	yes
+USE_BZIP2=	yes
+USE_GMAKE=	yes
+USE_XLIB=	yes
+GNOME_DESKTOP_VERSION=2
+USE_GNOME=	gnomeprefix gnomehack gail gnomedesktop gnomemenus ltverhack
+USE_AUTOTOOLS=	libtool:15
+USE_LDCONFIG=	yes
+CONFIGURE_ARGS=	--enable-shared --enable-static
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|applications.menu|gnome-applications.menu|; \
+		s|%%LOCALBASE%%|${LOCALBASE}|g' \
+		${WRKSRC}/eel/eel-open-with-dialog.c
+
+.include <bsd.port.mk>
--- /dev/null
+++ x11-toolkits/eel/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/eel-2.18.3.tar.bz2) = c51fea61eb99eaa7995754b8acf787ff
+SHA256 (gnome2/eel-2.18.3.tar.bz2) = ff84e4947638fa24e02aebb2d12d1f29c045e3a5384fbc346919a1558a016b6f
+SIZE (gnome2/eel-2.18.3.tar.bz2) = 643862
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/x11-toolkits/Makefile,v
retrieving revision 1.29
retrieving revision 1.30
diff -Lx11-toolkits/Makefile -Lx11-toolkits/Makefile -u -r1.29 -r1.30
--- x11-toolkits/Makefile
+++ x11-toolkits/Makefile
@@ -4,6 +4,7 @@
     COMMENT = X11 toolkits
     
     SUBDIR += Xaw3d
+    SUBDIR += eel
     SUBDIR += gdl
     SUBDIR += gnustep-art
     SUBDIR += gnustep-back
--- /dev/null
+++ x11-toolkits/eel/files/patch-eel_eel-editable-label.c
@@ -0,0 +1,13 @@
+--- eel/eel-editable-label.c.orig	Mon Mar 21 06:20:09 2005
++++ eel/eel-editable-label.c	Mon Mar 21 06:20:12 2005
+@@ -3998,7 +3998,10 @@
+ static gboolean
+ eel_editable_label_accessible_idle_notify_insert (gpointer data)
+ {
++  GDK_THREADS_ENTER ();
+   eel_editable_label_accessible_notify_insert (data);
++  GDK_THREADS_LEAVE ();
++
+   return FALSE;
+ }
+ 
--- /dev/null
+++ x11-toolkits/eel/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	Mon Jan 16 12:53:35 2006
++++ Makefile.in	Mon Jan 16 12:54:04 2006
+@@ -239,7 +239,7 @@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ NULL = 
+-SUBDIRS = eel test po
++SUBDIRS = eel po
+ EXTRA_DIST = \
+ 	COPYING.LIB				\
+ 	HACKING					\
--- /dev/null
+++ x11-toolkits/eel/files/patch-eel_eel-stock-dialogs.c
@@ -0,0 +1,40 @@
+--- eel/eel-stock-dialogs.c.orig	Mon Mar 21 06:35:10 2005
++++ eel/eel-stock-dialogs.c	Mon Mar 21 06:36:23 2005
+@@ -104,6 +104,8 @@
+ {
+ 	guint handler_id;
+ 
++	GDK_THREADS_ENTER ();
++
+ 	handler_id = GPOINTER_TO_UINT (g_object_get_data (G_OBJECT (callback_data),
+ 							  "eel-stock-dialogs/delayed_close_handler_timeout_id"));
+ 	
+@@ -113,6 +115,8 @@
+ 	
+ 	gtk_object_destroy (GTK_OBJECT (callback_data));
+ 
++	GDK_THREADS_LEAVE ();
++
+ 	return FALSE;
+ }
+ 
+@@ -202,7 +206,10 @@
+ 
+ 	wait = callback_data;
+ 
++	GDK_THREADS_ENTER ();
++
+ 	if (gnome_authentication_manager_dialog_is_visible ()) {
++		GDK_THREADS_LEAVE ();
+ 		return TRUE;
+ 	}
+ 	
+@@ -249,6 +256,8 @@
+ 
+ 	wait->timeout_handler_id = 0;
+ 	wait->dialog = dialog;
++
++	GDK_THREADS_LEAVE ();
+ 	
+ 	return FALSE;
+ }
--- /dev/null
+++ x11-toolkits/eel/files/patch-eel_eel-gnome-extensions.c
@@ -0,0 +1,12 @@
+--- eel/eel-gnome-extensions.c.orig	Mon Mar 21 06:20:58 2005
++++ eel/eel-gnome-extensions.c	Mon Mar 21 06:21:00 2005
+@@ -246,7 +246,9 @@
+ 	IconSelectionData *selection_data;
+ 
+ 	selection_data = (IconSelectionData *) callback_data;
++	GDK_THREADS_ENTER ();
+ 	gtk_widget_destroy (selection_data->dialog);
++	GDK_THREADS_LEAVE ();
+ 	g_free (selection_data);	
+ 	return FALSE;
+ }
--- /dev/null
+++ x11-toolkits/eel/files/patch-eel_eel-open-with-dialog.c
@@ -0,0 +1,52 @@
+--- eel/eel-open-with-dialog.c.orig	Mon Mar 21 06:25:51 2005
++++ eel/eel-open-with-dialog.c	Mon Mar 21 06:39:29 2005
+@@ -422,7 +422,7 @@
+ 	gtk_file_chooser_set_select_multiple (GTK_FILE_CHOOSER (chooser),
+ 					      FALSE);
+ 	gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (chooser),
+-					     "/usr/bin");
++					     "%%LOCALBASE%%/bin");
+ 
+ 	gtk_widget_show (chooser);
+ }
+@@ -452,10 +452,13 @@
+ 	char         *file;
+ 	gboolean      long_operation;
+ 
++	GDK_THREADS_ENTER ();
++
+ 	long_operation = FALSE;
+ 	do {
+ 		if (!dialog->details->add_icon_paths) {
+ 			dialog->details->add_icons_idle_id = 0;
++			GDK_THREADS_LEAVE ();
+ 			return FALSE;
+ 		}
+ 
+@@ -508,6 +511,8 @@
+ 	/* don't go back into the main loop if this wasn't very hard to do */
+ 	} while (!long_operation);
+ 
++	GDK_THREADS_LEAVE ();
++
+ 	return TRUE;
+ }
+ 
+@@ -575,6 +580,8 @@
+ 	GSList            *l;
+ 	const char        *prev_name;
+ 
++	GDK_THREADS_ENTER ();
++
+ 	/* create list store */
+ 	dialog->details->program_list_store = gtk_list_store_new (NUM_COLUMNS,
+ 								  GDK_TYPE_PIXBUF,
+@@ -633,6 +640,8 @@
+                                              NULL);
+ 					          
+ 	gtk_tree_view_append_column (GTK_TREE_VIEW (dialog->details->program_list), column);
++
++	GDK_THREADS_LEAVE ();
+ 
+ 	dialog->details->add_icon_paths = g_slist_reverse (dialog->details->add_icon_paths);
+ 


More information about the Midnightbsd-cvs mailing list