From 7f38e1525797b4ab610369b7a1d9acc7a3d57397 Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 3 Dec 2002 23:39:57 +0000 Subject: Add glib20. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@218 df743ca5-7f9a-e211-a948-0013205c9059 --- devel/glib20/Makefile | 45 ++++++++ devel/glib20/distinfo | 1 + devel/glib20/files/patch-ae | 10 ++ devel/glib20/files/patch-ag | 14 +++ devel/glib20/files/patch-ah | 11 ++ .../files/patch-glib::libcharset::Makefile.in | 34 ++++++ devel/glib20/files/patch-gmodule::gmodule-dl.c | 23 ++++ devel/glib20/pkg-comment | 1 + devel/glib20/pkg-descr | 13 +++ devel/glib20/pkg-plist | 128 +++++++++++++++++++++ 10 files changed, 280 insertions(+) create mode 100644 devel/glib20/Makefile create mode 100644 devel/glib20/distinfo create mode 100644 devel/glib20/files/patch-ae create mode 100644 devel/glib20/files/patch-ag create mode 100644 devel/glib20/files/patch-ah create mode 100644 devel/glib20/files/patch-glib::libcharset::Makefile.in create mode 100644 devel/glib20/files/patch-gmodule::gmodule-dl.c create mode 100644 devel/glib20/pkg-comment create mode 100644 devel/glib20/pkg-descr create mode 100644 devel/glib20/pkg-plist (limited to 'devel') diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile new file mode 100644 index 000000000..648e84f1b --- /dev/null +++ b/devel/glib20/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: glib13 +# Date Created: 28 July 1998 +# Whom: Vanilla I. Shu +# +# $FreeBSD: ports/devel/glib20/Makefile,v 1.77 2002/11/04 23:48:32 marcus Exp $ +# + +PORTNAME= glib +PORTVERSION= 2.1.3 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/${PORTNAME}/2.1,} \ + ftp://ftp.gtk.org/pub/gtk/v2.0/ \ + 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:R} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org + +BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig +LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext +RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig + +NO_LATEST_LINK= yes + +USE_BZIP2= yes +USE_LIBTOOL= yes +USE_REINPLACE= yes +INSTALLS_SHLIB= yes +USE_GNOMENG= yes +USE_GNOME= gnomehack +USE_GMAKE= yes +USE_PERL5= yes +CONFIGURE_ARGS= --enable-static --with-libiconv=gnu +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" \ + PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ + PTHREAD_LIBS="${PTHREAD_LIBS}" +CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} + +MAN1= glib-genmarshal.1 glib-mkenums.1 + +.include diff --git a/devel/glib20/distinfo b/devel/glib20/distinfo new file mode 100644 index 000000000..be2141dc8 --- /dev/null +++ b/devel/glib20/distinfo @@ -0,0 +1 @@ +MD5 (gnome2/glib-2.1.3.tar.bz2) = ba5f10d78b2eb1b2b24d4b5ff1265a83 diff --git a/devel/glib20/files/patch-ae b/devel/glib20/files/patch-ae new file mode 100644 index 000000000..659943e02 --- /dev/null +++ b/devel/glib20/files/patch-ae @@ -0,0 +1,10 @@ +--- configure.orig Mon Dec 2 16:34:49 2002 ++++ configure Tue Dec 3 18:21:22 2002 +@@ -11259,6 +11259,7 @@ + + # This can be used to rebuild libtool when needed + LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" ++$ac_aux_dir/ltconfig $LIBTOOL_DEPS + + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' diff --git a/devel/glib20/files/patch-ag b/devel/glib20/files/patch-ag new file mode 100644 index 000000000..3e8fbfbf4 --- /dev/null +++ b/devel/glib20/files/patch-ag @@ -0,0 +1,14 @@ +--- Makefile.in.orig Sun Dec 23 16:53:53 2001 ++++ Makefile.in Fri Feb 8 12:44:30 2002 +@@ -151,3 +151,3 @@ + +-SUBDIRS = . m4macros glib gobject gmodule gthread tests build po docs ++SUBDIRS = . m4macros glib gobject gmodule gthread build po docs + +@@ -192,4 +192,4 @@ + +- +-configexecincludedir = $(libdir)/glib-2.0/include ++glibincludedir = $(includedir)/glib-2.0 ++configexecincludedir = $(glibincludedir) + diff --git a/devel/glib20/files/patch-ah b/devel/glib20/files/patch-ah new file mode 100644 index 000000000..afb4544d2 --- /dev/null +++ b/devel/glib20/files/patch-ah @@ -0,0 +1,11 @@ +--- docs/reference/Makefile.in 2000/11/20 09:49:25 1.1 ++++ docs/reference/Makefile.in 2000/11/20 09:50:55 +@@ -106,7 +106,7 @@ + STRIP_END = @STRIP_END@ + VERSION = @VERSION@ + +-SUBDIRS = glib gobject ++SUBDIRS = #glib gobject + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = ../../config.h + CONFIG_CLEAN_FILES = diff --git a/devel/glib20/files/patch-glib::libcharset::Makefile.in b/devel/glib20/files/patch-glib::libcharset::Makefile.in new file mode 100644 index 000000000..28cb46b00 --- /dev/null +++ b/devel/glib20/files/patch-glib::libcharset::Makefile.in @@ -0,0 +1,34 @@ + +$FreeBSD: ports/devel/glib20/files/patch-glib::libcharset::Makefile.in,v 1.2 2002/06/04 00:48:56 sobomax Exp $ + +--- glib/libcharset/Makefile.in.orig Tue Jun 4 01:47:05 2002 ++++ glib/libcharset/Makefile.in Tue Jun 4 03:41:15 2002 +@@ -148,7 +148,7 @@ + ms_librarian = @ms_librarian@ + + INCLUDES = \ +- -DLIBDIR=\"$(libdir)\" ++ -DLIBDIR=\"$(prefix)/libdata\" + + + noinst_LTLIBRARIES = libcharset.la +@@ -171,8 +171,8 @@ + make-patch.sh + + +-charset_alias = $(DESTDIR)$(libdir)/charset.alias +-charset_tmp = $(DESTDIR)$(libdir)/charset.tmp ++charset_alias = $(DESTDIR)$(prefix)/libdata/charset.alias ++charset_tmp = $(DESTDIR)$(prefix)/libdata/charset.tmp + + SUFFIXES = .sed .sin + +@@ -326,7 +326,7 @@ + check: check-am + installcheck-am: + installcheck: installcheck-am +-install-exec-am: install-exec-local ++install-exec-am: # install-exec-local + install-exec: install-exec-am + + install-data-am: diff --git a/devel/glib20/files/patch-gmodule::gmodule-dl.c b/devel/glib20/files/patch-gmodule::gmodule-dl.c new file mode 100644 index 000000000..6239cbcc4 --- /dev/null +++ b/devel/glib20/files/patch-gmodule::gmodule-dl.c @@ -0,0 +1,23 @@ + +$FreeBSD: ports/devel/glib20/files/patch-gmodule::gmodule-dl.c,v 1.1 2002/01/18 13:04:05 sobomax Exp $ + +--- gmodule/gmodule-dl.c.orig Sat Feb 17 08:28:07 2001 ++++ gmodule/gmodule-dl.c Fri Jan 18 09:48:45 2002 +@@ -104,6 +104,7 @@ + static gpointer + _g_module_self (void) + { ++#ifndef __FreeBSD__ + gpointer handle; + + /* to query symbols from the program itself, special link options +@@ -115,6 +116,9 @@ + g_module_set_error (fetch_dlerror (TRUE)); + + return handle; ++#else ++ return RTLD_DEFAULT; ++#endif + } + + static void diff --git a/devel/glib20/pkg-comment b/devel/glib20/pkg-comment new file mode 100644 index 000000000..d8ca064b1 --- /dev/null +++ b/devel/glib20/pkg-comment @@ -0,0 +1 @@ +Some useful routines of C programming (current stable version) diff --git a/devel/glib20/pkg-descr b/devel/glib20/pkg-descr new file mode 100644 index 000000000..517082b7f --- /dev/null +++ b/devel/glib20/pkg-descr @@ -0,0 +1,13 @@ +This is GLib version 1.3. GLib, is a library which includes support +routines for C such as lists, trees, hashes, memory allocation, and +many other things. + +WWW: http://www.gtk.org/ +ftp://ftp.gtk.org/pub/gtk + +A mailing list is located at gtk-list@redhat.com for discussion. + +GLib-2.0 is a stable release that forms the basis of GTK+-2.0. + +- Vanilla +vanilla@FreeBSD.ORG diff --git a/devel/glib20/pkg-plist b/devel/glib20/pkg-plist new file mode 100644 index 000000000..11a5b33c1 --- /dev/null +++ b/devel/glib20/pkg-plist @@ -0,0 +1,128 @@ +bin/glib-genmarshal +bin/glib-gettextize +bin/glib-mkenums +bin/gobject-query +include/glib-2.0/glib-object.h +include/glib-2.0/glib.h +include/glib-2.0/glib/galloca.h +include/glib-2.0/glib/garray.h +include/glib-2.0/glib/gasyncqueue.h +include/glib-2.0/glib/gbacktrace.h +include/glib-2.0/glib/gcache.h +include/glib-2.0/glib/gcompletion.h +include/glib-2.0/glib/gconvert.h +include/glib-2.0/glib/gdataset.h +include/glib-2.0/glib/gdate.h +include/glib-2.0/glib/gdir.h +include/glib-2.0/glib/gerror.h +include/glib-2.0/glib/gfileutils.h +include/glib-2.0/glib/ghash.h +include/glib-2.0/glib/ghook.h +include/glib-2.0/glib/giochannel.h +include/glib-2.0/glib/glist.h +include/glib-2.0/glib/gmacros.h +include/glib-2.0/glib/gmain.h +include/glib-2.0/glib/gmarkup.h +include/glib-2.0/glib/gmem.h +include/glib-2.0/glib/gmessages.h +include/glib-2.0/glib/gnode.h +include/glib-2.0/glib/gpattern.h +include/glib-2.0/glib/gprimes.h +include/glib-2.0/glib/gprintf.h +include/glib-2.0/glib/gqsort.h +include/glib-2.0/glib/gquark.h +include/glib-2.0/glib/gqueue.h +include/glib-2.0/glib/grand.h +include/glib-2.0/glib/grel.h +include/glib-2.0/glib/gscanner.h +include/glib-2.0/glib/gshell.h +include/glib-2.0/glib/gslist.h +include/glib-2.0/glib/gspawn.h +include/glib-2.0/glib/gstrfuncs.h +include/glib-2.0/glib/gstring.h +include/glib-2.0/glib/gthread.h +include/glib-2.0/glib/gthreadpool.h +include/glib-2.0/glib/gtimer.h +include/glib-2.0/glib/gtree.h +include/glib-2.0/glib/gtypes.h +include/glib-2.0/glib/gunicode.h +include/glib-2.0/glib/gutils.h +include/glib-2.0/glib/gwin32.h +include/glib-2.0/glibconfig.h +include/glib-2.0/gmodule.h +include/glib-2.0/gobject/gboxed.h +include/glib-2.0/gobject/gclosure.h +include/glib-2.0/gobject/genums.h +include/glib-2.0/gobject/gmarshal.h +include/glib-2.0/gobject/gobject.h +include/glib-2.0/gobject/gobjectnotifyqueue.c +include/glib-2.0/gobject/gparam.h +include/glib-2.0/gobject/gparamspecs.h +include/glib-2.0/gobject/gsignal.h +include/glib-2.0/gobject/gsourceclosure.h +include/glib-2.0/gobject/gtype.h +include/glib-2.0/gobject/gtypemodule.h +include/glib-2.0/gobject/gtypeplugin.h +include/glib-2.0/gobject/gvalue.h +include/glib-2.0/gobject/gvaluearray.h +include/glib-2.0/gobject/gvaluecollector.h +include/glib-2.0/gobject/gvaluetypes.h +lib/libglib-2.0.a +lib/libglib-2.0.so +lib/libglib-2.0.so.103 +lib/libgmodule-2.0.a +lib/libgmodule-2.0.so +lib/libgmodule-2.0.so.103 +lib/libgobject-2.0.a +lib/libgobject-2.0.so +lib/libgobject-2.0.so.103 +lib/libgthread-2.0.a +lib/libgthread-2.0.so +lib/libgthread-2.0.so.103 +libdata/pkgconfig/glib-2.0.pc +libdata/pkgconfig/gmodule-2.0.pc +libdata/pkgconfig/gobject-2.0.pc +libdata/pkgconfig/gthread-2.0.pc +share/aclocal/glib-2.0.m4 +share/aclocal/glib-gettext.m4 +share/glib-2.0/gettext/po/Makefile.in.in +share/locale/az/LC_MESSAGES/glib20.mo +share/locale/be/LC_MESSAGES/glib20.mo +share/locale/bg/LC_MESSAGES/glib20.mo +share/locale/ca/LC_MESSAGES/glib20.mo +share/locale/cs/LC_MESSAGES/glib20.mo +share/locale/da/LC_MESSAGES/glib20.mo +share/locale/de/LC_MESSAGES/glib20.mo +share/locale/el/LC_MESSAGES/glib20.mo +share/locale/es/LC_MESSAGES/glib20.mo +share/locale/eu/LC_MESSAGES/glib20.mo +share/locale/fr/LC_MESSAGES/glib20.mo +share/locale/gl/LC_MESSAGES/glib20.mo +share/locale/hi/LC_MESSAGES/glib20.mo +share/locale/ja/LC_MESSAGES/glib20.mo +share/locale/ko/LC_MESSAGES/glib20.mo +share/locale/ms/LC_MESSAGES/glib20.mo +share/locale/nl/LC_MESSAGES/glib20.mo +share/locale/nn/LC_MESSAGES/glib20.mo +share/locale/no/LC_MESSAGES/glib20.mo +share/locale/pl/LC_MESSAGES/glib20.mo +share/locale/pt/LC_MESSAGES/glib20.mo +share/locale/pt_BR/LC_MESSAGES/glib20.mo +share/locale/ro/LC_MESSAGES/glib20.mo +share/locale/ru/LC_MESSAGES/glib20.mo +share/locale/sk/LC_MESSAGES/glib20.mo +share/locale/sl/LC_MESSAGES/glib20.mo +share/locale/sq/LC_MESSAGES/glib20.mo +share/locale/sv/LC_MESSAGES/glib20.mo +share/locale/ta/LC_MESSAGES/glib20.mo +share/locale/tr/LC_MESSAGES/glib20.mo +share/locale/uk/LC_MESSAGES/glib20.mo +share/locale/vi/LC_MESSAGES/glib20.mo +share/locale/zh_CN/LC_MESSAGES/glib20.mo +share/locale/zh_TW/LC_MESSAGES/glib20.mo +@dirrm share/glib-2.0/gettext/po +@dirrm share/glib-2.0/gettext +@dirrm share/glib-2.0 +@dirrm include/glib-2.0/gobject +@dirrm include/glib-2.0/glib +@dirrm include/glib-2.0 -- cgit v1.2.3