diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-01-10 03:55:24 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-01-10 03:55:24 +0800 |
commit | 1f54644c601db9102def6d2a04c4af7db9714511 (patch) | |
tree | 7f88663aed80c12d3d352c2c12c2a2b012e07f3d /devel/gio-fam-backend | |
parent | 868ea39205fb83309080af61df139d23278b8dff (diff) | |
download | marcuscom-ports-1f54644c601db9102def6d2a04c4af7db9714511.tar marcuscom-ports-1f54644c601db9102def6d2a04c4af7db9714511.tar.gz marcuscom-ports-1f54644c601db9102def6d2a04c4af7db9714511.tar.bz2 marcuscom-ports-1f54644c601db9102def6d2a04c4af7db9714511.tar.lz marcuscom-ports-1f54644c601db9102def6d2a04c4af7db9714511.tar.xz marcuscom-ports-1f54644c601db9102def6d2a04c4af7db9714511.tar.zst marcuscom-ports-1f54644c601db9102def6d2a04c4af7db9714511.zip |
Update glib20 to 2.15.1, and break out the GIO FAM backend into a separate
port (gio-fam-backend).
This requires a bit of trickery in bsd.gnome.mk to
avoid a dependency loop, so a new _glib20 component was added that should
only be required by FAM providers. To that end, add gamin, and make gamin
depend on _glib20.
Update gvfs to 0.1.1, and add a new gvfs component to bsd.gnome.mk.
gio-standalone is no longer needed as this code is now part of glib.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10030 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/gio-fam-backend')
-rw-r--r-- | devel/gio-fam-backend/Makefile | 38 | ||||
-rw-r--r-- | devel/gio-fam-backend/distinfo | 3 | ||||
-rw-r--r-- | devel/gio-fam-backend/files/patch-gio_fam_Makefile.in | 27 | ||||
-rw-r--r-- | devel/gio-fam-backend/files/patch-glib_gio_fam_fam-helper.c | 11 | ||||
-rw-r--r-- | devel/gio-fam-backend/files/patch-glib_gio_fam_gfamdirectorymonitor.c | 18 | ||||
-rw-r--r-- | devel/gio-fam-backend/files/patch-glib_gio_fam_gfamfilemonitor.c | 18 | ||||
-rw-r--r-- | devel/gio-fam-backend/pkg-descr | 2 | ||||
-rw-r--r-- | devel/gio-fam-backend/pkg-plist | 5 |
8 files changed, 122 insertions, 0 deletions
diff --git a/devel/gio-fam-backend/Makefile b/devel/gio-fam-backend/Makefile new file mode 100644 index 000000000..7085534a2 --- /dev/null +++ b/devel/gio-fam-backend/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: gio-fam-backend +# Date Created: 22 December 2007 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= gio-fam-backend +PORTVERSION= 2.15.1 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/glib/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/},} \ + ftp://ftp.gtk.org/pub/glib/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/ \ + ftp://ftp.gimp.org/pub/%SUBDIR%/ \ + ftp://ftp.cs.umn.edu/pub/gimp/%SUBDIR%/ \ + http://www.ameth.org/gimp/%SUBDIR%/ \ + ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/gimp/%SUBDIR%,} +MASTER_SITE_SUBDIR= gtk/v${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} +DISTNAME= glib-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= FAM backend for GLib's GIO library + +USE_BZIP2= yes +BUILD_WRKSRC= ${WRKSRC}/gio/fam +INSTALL_WRKSRC= ${BUILD_WRKSRC} +GNU_CONFIGURE= yes +USE_GNOME= gnomehack gnometarget pkgconfig _glib20 +USE_FAM= yes +USE_GMAKE= yes +CONFIGURE_ARGS= --enable-static --with-libiconv=gnu +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -lintl" \ + PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ + PTHREAD_LIBS="${PTHREAD_LIBS}" + +.include <bsd.port.mk> diff --git a/devel/gio-fam-backend/distinfo b/devel/gio-fam-backend/distinfo new file mode 100644 index 000000000..7215bcdad --- /dev/null +++ b/devel/gio-fam-backend/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/glib-2.15.1.tar.bz2) = b3a2ca18e618927d03d39000f2155958 +SHA256 (gnome2/glib-2.15.1.tar.bz2) = 1e380efc1f7906a74672e5088777aea524234c063947cf9c7eab67206ea29c9c +SIZE (gnome2/glib-2.15.1.tar.bz2) = 4238577 diff --git a/devel/gio-fam-backend/files/patch-gio_fam_Makefile.in b/devel/gio-fam-backend/files/patch-gio_fam_Makefile.in new file mode 100644 index 000000000..0f6a9e25e --- /dev/null +++ b/devel/gio-fam-backend/files/patch-gio_fam_Makefile.in @@ -0,0 +1,27 @@ +--- gio/fam/Makefile.in.orig 2008-01-07 19:40:38.000000000 -0500 ++++ gio/fam/Makefile.in 2008-01-07 19:41:53.000000000 -0500 +@@ -59,9 +59,8 @@ am__installdirs = "$(DESTDIR)$(giomodule + giomoduleLTLIBRARIES_INSTALL = $(INSTALL) + LTLIBRARIES = $(giomodule_LTLIBRARIES) + am__DEPENDENCIES_1 = +-libgiofam_la_DEPENDENCIES = $(top_builddir)/gio/libgio-2.0.la \ +- $(top_builddir)/gobject/libgobject-2.0.la \ +- $(top_builddir)/glib/libglib-2.0.la $(am__DEPENDENCIES_1) \ ++libgiofam_la_DEPENDENCIES = \ ++ $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) + am__objects_1 = + am_libgiofam_la_OBJECTS = libgiofam_la-fam-helper.lo \ +@@ -321,9 +320,9 @@ libgiofam_la_CFLAGS = \ + + libgiofam_la_LDFLAGS = $(module_flags) + libgiofam_la_LIBADD = \ +- $(top_builddir)/gio/libgio-2.0.la \ +- $(top_builddir)/gobject/libgobject-2.0.la \ +- $(top_builddir)/glib/libglib-2.0.la \ ++ -lgio-2.0 \ ++ -lgobject-2.0 \ ++ -lglib-2.0 \ + $(GLIB_LIBS) \ + $(FAM_LIBS) \ + $(NULL) diff --git a/devel/gio-fam-backend/files/patch-glib_gio_fam_fam-helper.c b/devel/gio-fam-backend/files/patch-glib_gio_fam_fam-helper.c new file mode 100644 index 000000000..b419ffa1c --- /dev/null +++ b/devel/gio-fam-backend/files/patch-glib_gio_fam_fam-helper.c @@ -0,0 +1,11 @@ +--- glib/gio/fam/fam-helper.c.orig 2008-01-09 01:32:59.000000000 -0500 ++++ glib/gio/fam/fam-helper.c 2008-01-09 01:33:15.000000000 -0500 +@@ -82,7 +82,7 @@ fam_do_iter_unlocked (void) + cancelled = sub->cancelled; + if (ev.code == FAMAcknowledge && cancelled) + { +- g_free (sub); ++ _fam_sub_free (sub); + continue; + } + diff --git a/devel/gio-fam-backend/files/patch-glib_gio_fam_gfamdirectorymonitor.c b/devel/gio-fam-backend/files/patch-glib_gio_fam_gfamdirectorymonitor.c new file mode 100644 index 000000000..f45e1e4f0 --- /dev/null +++ b/devel/gio-fam-backend/files/patch-glib_gio_fam_gfamdirectorymonitor.c @@ -0,0 +1,18 @@ +--- glib/gio/fam/gfamdirectorymonitor.c.orig 2008-01-09 01:33:43.000000000 -0500 ++++ glib/gio/fam/gfamdirectorymonitor.c 2008-01-09 01:33:53.000000000 -0500 +@@ -50,7 +50,6 @@ g_fam_directory_monitor_finalize (GObjec + if (!_fam_sub_cancel (sub)) + g_warning ("Unexpected error cancelling fam monitor"); + +- _fam_sub_free (sub); + fam_monitor->sub = NULL; + } + +@@ -134,7 +133,6 @@ g_fam_directory_monitor_cancel (GFileMon + if (!_fam_sub_cancel (sub)) + g_warning ("Unexpected error cancelling fam monitor"); + +- _fam_sub_free (sub); + fam_monitor->sub = NULL; + } + diff --git a/devel/gio-fam-backend/files/patch-glib_gio_fam_gfamfilemonitor.c b/devel/gio-fam-backend/files/patch-glib_gio_fam_gfamfilemonitor.c new file mode 100644 index 000000000..3dff41f52 --- /dev/null +++ b/devel/gio-fam-backend/files/patch-glib_gio_fam_gfamfilemonitor.c @@ -0,0 +1,18 @@ +--- glib/gio/fam/gfamfilemonitor.c.orig 2008-01-09 01:34:15.000000000 -0500 ++++ glib/gio/fam/gfamfilemonitor.c 2008-01-09 01:34:19.000000000 -0500 +@@ -49,7 +49,6 @@ g_fam_file_monitor_finalize (GObject *ob + if (sub) { + if (!_fam_sub_cancel (sub)) + g_warning ("Unexpected error cancelling fam monitor"); +- _fam_sub_free (sub); + fam_monitor->sub = NULL; + } + +@@ -132,7 +131,6 @@ g_fam_file_monitor_cancel (GFileMonitor* + if (sub) { + if (!_fam_sub_cancel (sub)) + g_warning ("Unexpected error cancelling fam monitor"); +- _fam_sub_free (sub); + fam_monitor->sub = NULL; + } + diff --git a/devel/gio-fam-backend/pkg-descr b/devel/gio-fam-backend/pkg-descr new file mode 100644 index 000000000..b44b5d557 --- /dev/null +++ b/devel/gio-fam-backend/pkg-descr @@ -0,0 +1,2 @@ +gio-fam-backend provides a file Alteration Monitor (FAM) backend module for +GLib's GIO subsystem. diff --git a/devel/gio-fam-backend/pkg-plist b/devel/gio-fam-backend/pkg-plist new file mode 100644 index 000000000..4304d626a --- /dev/null +++ b/devel/gio-fam-backend/pkg-plist @@ -0,0 +1,5 @@ +lib/gio/modules/libgiofam.a +lib/gio/modules/libgiofam.la +lib/gio/modules/libgiofam.so +@dirrmtry lib/gio/modules +@dirrmtry lib/gio |