diff options
Diffstat (limited to 'x11-toolkits/py-gnome-extras')
-rw-r--r-- | x11-toolkits/py-gnome-extras/Makefile | 4 | ||||
-rw-r--r-- | x11-toolkits/py-gnome-extras/files/patch-gdl_gdl.defs | 67 | ||||
-rw-r--r-- | x11-toolkits/py-gnome-extras/files/patch-gdl_gdl.override | 10 |
3 files changed, 79 insertions, 2 deletions
diff --git a/x11-toolkits/py-gnome-extras/Makefile b/x11-toolkits/py-gnome-extras/Makefile index 917df6d24666..655c04591ba7 100644 --- a/x11-toolkits/py-gnome-extras/Makefile +++ b/x11-toolkits/py-gnome-extras/Makefile @@ -3,12 +3,12 @@ # Whom: Koop Mast <kwm@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/x11-toolkits/py-gnome-extras/Makefile,v 1.43 2008/02/05 13:25:18 kwm Exp $ +# $MCom: ports/x11-toolkits/py-gnome-extras/Makefile,v 1.45 2008/10/21 14:16:43 kwm Exp $ # PORTNAME= gnome PORTVERSION= 2.19.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11-toolkits python gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/gnome-python-extras/${PORTVERSION:C/..$//} diff --git a/x11-toolkits/py-gnome-extras/files/patch-gdl_gdl.defs b/x11-toolkits/py-gnome-extras/files/patch-gdl_gdl.defs new file mode 100644 index 000000000000..b0b5dae6237e --- /dev/null +++ b/x11-toolkits/py-gnome-extras/files/patch-gdl_gdl.defs @@ -0,0 +1,67 @@ +--- gdl/gdl.defs.orig 2007-06-05 14:52:30.000000000 +0000 ++++ gdl/gdl.defs 2008-10-21 15:47:07.000000000 +0000 +@@ -81,17 +81,6 @@ + (gtype-id "GDL_TYPE_DOCK_TABLABEL") + ) + +-(ifdef HAVE_GDL_0_7 +- +-(define-object Icons +- (in-module "Gdl") +- (parent "GObject") +- (c-name "GdlIcons") +- (gtype-id "GDL_TYPE_ICONS") +-) +- +-) ; ifdef HAVE_GDL_0_7 +- + ;; Enumerations and flags ... + + (ifdef HAVE_GDL_0_7 +@@ -924,46 +913,3 @@ + (return-type "none") + ) + +-;; From gdl-icons.h +- +-(ifdef HAVE_GDL_0_7 +- +-(define-function gdl_icons_new +- (is-constructor-of "GdlIcons") +- (c-name "gdl_icons_new") +- (return-type "GdlIcons*") +- (parameters +- '("int" "icon_size") +- ) +-) +- +-(define-function gdl_icons_get_type +- (c-name "gdl_icons_get_type") +- (return-type "GType") +-) +- +-(define-method get_folder_icon +- (of-object "GdlIcons") +- (c-name "gdl_icons_get_folder_icon") +- (return-type "GdkPixbuf*") +-) +- +-(define-method get_uri_icon +- (of-object "GdlIcons") +- (c-name "gdl_icons_get_uri_icon") +- (return-type "GdkPixbuf*") +- (parameters +- '("const-char*" "uri") +- ) +-) +- +-(define-method get_mime_icon +- (of-object "GdlIcons") +- (c-name "gdl_icons_get_mime_icon") +- (return-type "GdkPixbuf*") +- (parameters +- '("const-char*" "mime_type") +- ) +-) +- +-) ; ifdef HAVE_GDL_0_7 diff --git a/x11-toolkits/py-gnome-extras/files/patch-gdl_gdl.override b/x11-toolkits/py-gnome-extras/files/patch-gdl_gdl.override new file mode 100644 index 000000000000..16e67fe1efc5 --- /dev/null +++ b/x11-toolkits/py-gnome-extras/files/patch-gdl_gdl.override @@ -0,0 +1,10 @@ +--- gdl/gdl.override.orig 2007-06-05 14:52:30.000000000 +0000 ++++ gdl/gdl.override 2008-10-21 15:47:07.000000000 +0000 +@@ -6,7 +6,6 @@ headers + #include <pygtk/pygtk.h> + #include <gdl/gdl-dock.h> + #include <gdl/libgdltypebuiltins.h> +-#include <gdl/gdl-icons.h> + #ifndef HAVE_GDL_0_7 + # include <gdl/gdl-dock-bar.h> + #endif |