diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-08-17 05:51:47 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-08-17 05:51:47 +0800 |
commit | 4ad594b46ae82af8bbff6511f8d95e88fa4d3140 (patch) | |
tree | e70aa1321d5ddfa9e57e5d0442054eaf80906c0a /devel | |
parent | 1efbe607a67cbc39c87325e920e575bbd466980f (diff) | |
download | marcuscom-ports-4ad594b46ae82af8bbff6511f8d95e88fa4d3140.tar marcuscom-ports-4ad594b46ae82af8bbff6511f8d95e88fa4d3140.tar.gz marcuscom-ports-4ad594b46ae82af8bbff6511f8d95e88fa4d3140.tar.bz2 marcuscom-ports-4ad594b46ae82af8bbff6511f8d95e88fa4d3140.tar.lz marcuscom-ports-4ad594b46ae82af8bbff6511f8d95e88fa4d3140.tar.xz marcuscom-ports-4ad594b46ae82af8bbff6511f8d95e88fa4d3140.tar.zst marcuscom-ports-4ad594b46ae82af8bbff6511f8d95e88fa4d3140.zip |
Add gir-repository.
Submitted by: Pawel Worach <pawel.worach@gmail.com>
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12649 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel')
-rw-r--r-- | devel/gir-repository/Makefile | 43 | ||||
-rw-r--r-- | devel/gir-repository/distinfo | 3 | ||||
-rw-r--r-- | devel/gir-repository/files/patch-gir_Gtk-custom.c | 16 | ||||
-rw-r--r-- | devel/gir-repository/files/patch-gir_Gtk-custom.h | 12 | ||||
-rw-r--r-- | devel/gir-repository/pkg-descr | 1 | ||||
-rw-r--r-- | devel/gir-repository/pkg-plist | 61 |
6 files changed, 136 insertions, 0 deletions
diff --git a/devel/gir-repository/Makefile b/devel/gir-repository/Makefile new file mode 100644 index 000000000..439ad026a --- /dev/null +++ b/devel/gir-repository/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: gir-repository +# Date created: 14 Aug 2009 +# Whom: Pawel Worach <pawel.worach@gmail.com> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= gir-repository +PORTVERSION= 0.6.3 +CATEGORIES= devel gnome +MASTER_SITES= GNOME +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Introspection information for various libraries + +BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection +LIB_DEPENDS= soup-2.4.1:${PORTSDIR}/devel/libsoup \ + babl-0.0.0:${PORTSDIR}/x11/babl \ + avahi-gobject.0:${PORTSDIR}/net/avahi-app \ + goocanvas.3:${PORTSDIR}/graphics/goocanvas \ + poppler-glib.4:${PORTSDIR}/graphics/poppler-gtk \ + gnome-keyring.0:${PORTSDIR}/security/gnome-keyring + +USE_BZIP2= yes +USE_GSTREAMER= yes +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_GNOME= gnomehack gtk20 nautilus2 vte gnomemenus libwnck gtksourceview2 +USE_PYTHON= yes +USE_GETTEXT= yes +USE_LDCONFIG= yes +USE_AUTOTOOLS= libtool:22 + +post-patch: +# Make configure not detect Webkit or gstreamer it doesn't build. + @${REINPLACE_CMD} -e 's|have_webkit=true|have_webkit=false|g' \ + -e 's|have_gstreamer_plugins_base=true|have_gstreamer_plugins_base=false|g' \ + -e 's|have_gstreamer=true|have_gstreamer=false|g' \ + ${WRKSRC}/configure + +.include <bsd.port.mk> diff --git a/devel/gir-repository/distinfo b/devel/gir-repository/distinfo new file mode 100644 index 000000000..cfe33184d --- /dev/null +++ b/devel/gir-repository/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/gir-repository-0.6.3.tar.bz2) = 19ace20592762312932d5b01b3dc289a +SHA256 (gnome2/gir-repository-0.6.3.tar.bz2) = afb28441b0c98e4e6404b673a81ccdb8a05e8f5d86b8abd17e86352c61bac794 +SIZE (gnome2/gir-repository-0.6.3.tar.bz2) = 241687 diff --git a/devel/gir-repository/files/patch-gir_Gtk-custom.c b/devel/gir-repository/files/patch-gir_Gtk-custom.c new file mode 100644 index 000000000..d881f454a --- /dev/null +++ b/devel/gir-repository/files/patch-gir_Gtk-custom.c @@ -0,0 +1,16 @@ +--- gir/Gtk-custom.c.orig 2009-08-14 01:50:25.000000000 +0000 ++++ gir/Gtk-custom.c 2009-08-14 01:54:04.000000000 +0000 +@@ -56,11 +56,13 @@ + return req->height; + } + ++#if 0 + const GtkAllocation* + gtk_widget_get_allocation(const GtkWidget *wdg) + { + return &wdg->allocation; + } ++#endif + + GtkAllocation* + gtk_allocation_new(void) diff --git a/devel/gir-repository/files/patch-gir_Gtk-custom.h b/devel/gir-repository/files/patch-gir_Gtk-custom.h new file mode 100644 index 000000000..9e57dbca8 --- /dev/null +++ b/devel/gir-repository/files/patch-gir_Gtk-custom.h @@ -0,0 +1,12 @@ +--- gir/Gtk-custom.h.orig 2009-08-14 01:50:28.000000000 +0000 ++++ gir/Gtk-custom.h 2009-08-14 01:54:27.000000000 +0000 +@@ -15,7 +15,9 @@ + GtkRequisition* gtk_requisition_new (void); + int gtk_requisition_get_width (const GtkRequisition *req); + int gtk_requisition_get_height (const GtkRequisition *req); ++#if 0 + const GtkAllocation* gtk_widget_get_allocation (const GtkWidget *wdg); ++#endif + GtkAllocation* gtk_allocation_new (void); + int gtk_allocation_get_x (const GtkAllocation *all); + int gtk_allocation_get_y (const GtkAllocation *all); diff --git a/devel/gir-repository/pkg-descr b/devel/gir-repository/pkg-descr new file mode 100644 index 000000000..8371c3027 --- /dev/null +++ b/devel/gir-repository/pkg-descr @@ -0,0 +1 @@ +This is a repository of GIR interface description files. diff --git a/devel/gir-repository/pkg-plist b/devel/gir-repository/pkg-plist new file mode 100644 index 000000000..623d0a928 --- /dev/null +++ b/devel/gir-repository/pkg-plist @@ -0,0 +1,61 @@ +lib/girepository-1.0/Atk-1.0.typelib +lib/girepository-1.0/Avahi-0.6.typelib +lib/girepository-1.0/AvahiCore-0.6.typelib +lib/girepository-1.0/Babl-0.0.typelib +lib/girepository-1.0/DBus-1.0.typelib +lib/girepository-1.0/GConf-2.0.typelib +lib/girepository-1.0/Gdk-2.0.typelib +lib/girepository-1.0/GdkPixbuf-2.0.typelib +lib/girepository-1.0/GMenu-2.0.typelib +lib/girepository-1.0/GnomeKeyring-2.0.typelib +lib/girepository-1.0/GooCanvas-0.10.typelib +lib/girepository-1.0/Gtk-2.0.typelib +lib/girepository-1.0/GtkSource-2.2.typelib +lib/girepository-1.0/Nautilus-1.0.typelib +lib/girepository-1.0/Notify-0.4.typelib +lib/girepository-1.0/Pango-1.0.typelib +lib/girepository-1.0/PangoCairo-1.0.typelib +lib/girepository-1.0/PangoFT2-1.0.typelib +lib/girepository-1.0/PangoX-1.0.typelib +lib/girepository-1.0/PangoXft-1.0.typelib +lib/girepository-1.0/Poppler-0.8.typelib +lib/girepository-1.0/Soup-2.4.typelib +lib/girepository-1.0/Unique-1.0.typelib +lib/girepository-1.0/Vte-1.0.typelib +lib/girepository-1.0/Wnck-1.0.typelib +lib/libgirepo-DBus-custom.a +lib/libgirepo-DBus-custom.la +lib/libgirepo-DBus-custom.so +lib/libgirepo-Gdk-custom.a +lib/libgirepo-Gdk-custom.la +lib/libgirepo-Gdk-custom.so +lib/libgirepo-Gtk-custom.a +lib/libgirepo-Gtk-custom.la +lib/libgirepo-Gtk-custom.so +share/gir-1.0/Atk-1.0.gir +share/gir-1.0/Avahi-0.6.gir +share/gir-1.0/AvahiCore-0.6.gir +share/gir-1.0/Babl-0.0.gir +share/gir-1.0/DBus-1.0.gir +share/gir-1.0/GConf-2.0.gir +share/gir-1.0/GMenu-2.0.gir +share/gir-1.0/GnomeKeyring-2.0.gir +share/gir-1.0/GooCanvas-0.10.gir +share/gir-1.0/Gdk-2.0.gir +share/gir-1.0/GdkPixbuf-2.0.gir +share/gir-1.0/Gtk-2.0.gir +share/gir-1.0/GtkSource-2.2.gir +share/gir-1.0/Nautilus-1.0.gir +share/gir-1.0/Notify-0.4.gir +share/gir-1.0/Pango-1.0.gir +share/gir-1.0/PangoCairo-1.0.gir +share/gir-1.0/PangoFT2-1.0.gir +share/gir-1.0/PangoX-1.0.gir +share/gir-1.0/PangoXft-1.0.gir +share/gir-1.0/Poppler-0.8.gir +share/gir-1.0/Soup-2.4.gir +share/gir-1.0/Unique-1.0.gir +share/gir-1.0/Vte-1.0.gir +share/gir-1.0/Wnck-1.0.gir +@dirrm lib/girepository-1.0 +@dirrm share/gir-1.0 |