[72801] trunk/dports/gnome
elelay at macports.org
elelay at macports.org
Wed Oct 27 11:49:55 PDT 2010
Revision: 72801
http://trac.macports.org/changeset/72801
Author: elelay at macports.org
Date: 2010-10-27 11:49:53 -0700 (Wed, 27 Oct 2010)
Log Message:
-----------
split gnome-python26-extras into separate ports, so that one only builds what one needs.
bindings for gtk-mozembed, gksu and egg-recent are not provided, but could be added in the future.
Modified Paths:
--------------
trunk/dports/gnome/gnome-python26-extras/Portfile
Added Paths:
-----------
trunk/dports/gnome/py26-eggtrayicon/
trunk/dports/gnome/py26-eggtrayicon/Portfile
trunk/dports/gnome/py26-gda/
trunk/dports/gnome/py26-gda/Portfile
trunk/dports/gnome/py26-gdl/
trunk/dports/gnome/py26-gdl/Portfile
trunk/dports/gnome/py26-gdl/files/patch-gdl-gdl-defs.diff
trunk/dports/gnome/py26-gtkhtml2/
trunk/dports/gnome/py26-gtkhtml2/Portfile
trunk/dports/gnome/py26-gtkspell/
trunk/dports/gnome/py26-gtkspell/Portfile
Removed Paths:
-------------
trunk/dports/gnome/py26-eggtrayicon/Portfile
trunk/dports/gnome/py26-gda/Portfile
trunk/dports/gnome/py26-gdl/Portfile
trunk/dports/gnome/py26-gtkhtml2/Portfile
trunk/dports/gnome/py26-gtkspell/Portfile
Modified: trunk/dports/gnome/gnome-python26-extras/Portfile
===================================================================
--- trunk/dports/gnome/gnome-python26-extras/Portfile 2010-10-27 18:01:37 UTC (rev 72800)
+++ trunk/dports/gnome/gnome-python26-extras/Portfile 2010-10-27 18:49:53 UTC (rev 72801)
@@ -11,7 +11,9 @@
maintainers elelay
description "Extra" Python modules for some GNOME Desktop libraries.
-long_description ${description}
+long_description ${description}\
+ egg-recent, gksu, gksu2, gksui, gtkmozembed are not built.\
+ File a bug if you need them.
homepage http://www.pygtk.org/
@@ -20,6 +22,7 @@
master_sites gnome:sources/${myname}/${branch}
distname ${myname}-${version}
+dist_subdir ${myname}
checksums md5 9f3b7ec5c57130b96061cb486b79c076 \
sha1 e69e5288466c960ed6f985bb10c9969b21ed85a4 \
@@ -27,16 +30,16 @@
use_bzip2 yes
-depends_lib port:py26-gnome \
- port:gdl \
- port:libgda4 \
- port:libgtkhtml \
- port:gtkspell2
+depends_lib port:py26-eggtrayicon \
+ port:py26-gdl \
+ port:py26-gda \
+ port:py26-gtkhtml2 \
+ port:py26-gtkspell
-patchfiles patch-pygobject \
- patch-configure.diff\
- patch-gdl-gdl-defs.diff
+patchfiles patch-configure.diff
+configure.args-append --disable-allbindings
+
set python.branch 2.6
set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch}
set python.bin ${python.prefix}/bin/python${python.branch}
@@ -47,22 +50,6 @@
configure.python ${python.bin}
configure.env-append PYGTK_CODEGEN=${frameworks_dir}/Python.framework/Versions/2.6/bin/pygobject-codegen-2.0
-platform darwin 9 {
- post-patch {
- reinplace "s|-export-symbols-regex.*||g" \
- ${worksrcpath}/egg/recent/Makefile.in \
- ${worksrcpath}/egg/tray/Makefile.in \
- ${worksrcpath}/gda/Makefile.in \
- ${worksrcpath}/gdl/Makefile.in \
- ${worksrcpath}/gksu/Makefile.in \
- ${worksrcpath}/gksu2/Makefile.in \
- ${worksrcpath}/gtkhtml2/Makefile.in \
- ${worksrcpath}/gtkspell/Makefile.in
- reinplace "s|-export-symbols-regex.*|\\\\|g" \
- ${worksrcpath}/gtkmozembed/Makefile.in
- }
-}
-
livecheck.type regex
livecheck.url http://ftp.gnome.org/pub/gnome/sources/${myname}/${branch}/
livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Deleted: trunk/dports/gnome/py26-eggtrayicon/Portfile
===================================================================
--- trunk/dports/gnome/gnome-python26-extras/Portfile 2010-04-15 15:54:41 UTC (rev 66505)
+++ trunk/dports/gnome/py26-eggtrayicon/Portfile 2010-10-27 18:49:53 UTC (rev 72801)
@@ -1,67 +0,0 @@
-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
-# $Id$
-
-PortSystem 1.0
-
-name gnome-python26-extras
-version 2.25.3
-
-categories gnome python
-platforms darwin
-maintainers wanadoo.fr:neric27 openmaintainer
-
-description "Extra" Python modules for some GNOME Desktop libraries.
-long_description ${description}
-
-homepage http://www.pygtk.org/
-
-set myname gnome-python-extras
-set branch [join [lrange [split ${version} .] 0 1] .]
-
-master_sites gnome:sources/${myname}/${branch}
-distname ${myname}-${version}
-
-checksums md5 9f3b7ec5c57130b96061cb486b79c076 \
- sha1 e69e5288466c960ed6f985bb10c9969b21ed85a4 \
- rmd160 e09bc0152512e2caa61626a7dc788d7336f24e46
-
-use_bzip2 yes
-
-depends_lib port:py26-gnome \
- port:gdl \
- port:libgda4 \
- port:libgtkhtml \
- port:gtkspell2
-
-patchfiles patch-pygobject \
- patch-configure.diff
-
-set python.branch 2.6
-set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch}
-set python.bin ${python.prefix}/bin/python${python.branch}
-
-configure.args-append --prefix=${python.prefix}
-configure.pkg_config_path ${python.prefix}/lib/pkgconfig
-
-configure.python ${python.bin}
-configure.env-append PYGTK_CODEGEN=${frameworks_dir}/Python.framework/Versions/2.6/bin/pygtk-codegen-2.0
-
-platform darwin 9 {
- post-patch {
- reinplace "s|-export-symbols-regex.*||g" \
- ${worksrcpath}/egg/recent/Makefile.in \
- ${worksrcpath}/egg/tray/Makefile.in \
- ${worksrcpath}/gda/Makefile.in \
- ${worksrcpath}/gdl/Makefile.in \
- ${worksrcpath}/gksu/Makefile.in \
- ${worksrcpath}/gksu2/Makefile.in \
- ${worksrcpath}/gtkhtml2/Makefile.in \
- ${worksrcpath}/gtkspell/Makefile.in
- reinplace "s|-export-symbols-regex.*|\\\\|g" \
- ${worksrcpath}/gtkmozembed/Makefile.in
- }
-}
-
-livecheck.type regex
-livecheck.url http://ftp.gnome.org/pub/gnome/sources/${myname}/${branch}/
-livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Copied: trunk/dports/gnome/py26-eggtrayicon/Portfile (from rev 72513, trunk/dports/gnome/gnome-python26-extras/Portfile)
===================================================================
--- trunk/dports/gnome/py26-eggtrayicon/Portfile (rev 0)
+++ trunk/dports/gnome/py26-eggtrayicon/Portfile 2010-10-27 18:49:53 UTC (rev 72801)
@@ -0,0 +1,60 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name py26-eggtrayicon
+version 2.25.3
+
+categories gnome python
+platforms darwin
+maintainers elelay
+
+description "Extra" Python modules for some GNOME Desktop libraries.
+long_description ${description}
+
+homepage http://www.pygtk.org/
+
+set myname gnome-python-extras
+set branch [join [lrange [split ${version} .] 0 1] .]
+
+master_sites gnome:sources/${myname}/${branch}
+distname ${myname}-${version}
+dist_subdir ${myname}
+
+checksums md5 9f3b7ec5c57130b96061cb486b79c076 \
+ sha1 e69e5288466c960ed6f985bb10c9969b21ed85a4 \
+ rmd160 e09bc0152512e2caa61626a7dc788d7336f24e46
+
+use_bzip2 yes
+
+depends_lib port:py26-gtk
+
+patchfiles patch-configure.diff
+
+configure.args-append --disable-allbindings --enable-eggtray
+
+set python.branch 2.6
+set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch}
+set python.bin ${python.prefix}/bin/python${python.branch}
+
+configure.args-append --prefix=${python.prefix}
+configure.pkg_config_path ${python.prefix}/lib/pkgconfig
+
+configure.python ${python.bin}
+configure.env-append PYGTK_CODEGEN=${python.prefix}/bin/pygobject-codegen-2.0
+
+post-destroot {
+ file delete "${destroot}/${python.prefix}/lib/pkgconfig/gnome-python-extras-2.0.pc"
+}
+
+platform darwin 9 {
+ post-patch {
+ reinplace "s|-export-symbols-regex.*||g" \
+ ${worksrcpath}/egg/tray/Makefile.in \
+ }
+}
+
+livecheck.type regex
+livecheck.url http://ftp.gnome.org/pub/gnome/sources/${myname}/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Deleted: trunk/dports/gnome/py26-gda/Portfile
===================================================================
--- trunk/dports/gnome/gnome-python26-extras/Portfile 2010-04-15 15:54:41 UTC (rev 66505)
+++ trunk/dports/gnome/py26-gda/Portfile 2010-10-27 18:49:53 UTC (rev 72801)
@@ -1,67 +0,0 @@
-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
-# $Id$
-
-PortSystem 1.0
-
-name gnome-python26-extras
-version 2.25.3
-
-categories gnome python
-platforms darwin
-maintainers wanadoo.fr:neric27 openmaintainer
-
-description "Extra" Python modules for some GNOME Desktop libraries.
-long_description ${description}
-
-homepage http://www.pygtk.org/
-
-set myname gnome-python-extras
-set branch [join [lrange [split ${version} .] 0 1] .]
-
-master_sites gnome:sources/${myname}/${branch}
-distname ${myname}-${version}
-
-checksums md5 9f3b7ec5c57130b96061cb486b79c076 \
- sha1 e69e5288466c960ed6f985bb10c9969b21ed85a4 \
- rmd160 e09bc0152512e2caa61626a7dc788d7336f24e46
-
-use_bzip2 yes
-
-depends_lib port:py26-gnome \
- port:gdl \
- port:libgda4 \
- port:libgtkhtml \
- port:gtkspell2
-
-patchfiles patch-pygobject \
- patch-configure.diff
-
-set python.branch 2.6
-set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch}
-set python.bin ${python.prefix}/bin/python${python.branch}
-
-configure.args-append --prefix=${python.prefix}
-configure.pkg_config_path ${python.prefix}/lib/pkgconfig
-
-configure.python ${python.bin}
-configure.env-append PYGTK_CODEGEN=${frameworks_dir}/Python.framework/Versions/2.6/bin/pygtk-codegen-2.0
-
-platform darwin 9 {
- post-patch {
- reinplace "s|-export-symbols-regex.*||g" \
- ${worksrcpath}/egg/recent/Makefile.in \
- ${worksrcpath}/egg/tray/Makefile.in \
- ${worksrcpath}/gda/Makefile.in \
- ${worksrcpath}/gdl/Makefile.in \
- ${worksrcpath}/gksu/Makefile.in \
- ${worksrcpath}/gksu2/Makefile.in \
- ${worksrcpath}/gtkhtml2/Makefile.in \
- ${worksrcpath}/gtkspell/Makefile.in
- reinplace "s|-export-symbols-regex.*|\\\\|g" \
- ${worksrcpath}/gtkmozembed/Makefile.in
- }
-}
-
-livecheck.type regex
-livecheck.url http://ftp.gnome.org/pub/gnome/sources/${myname}/${branch}/
-livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Copied: trunk/dports/gnome/py26-gda/Portfile (from rev 72513, trunk/dports/gnome/gnome-python26-extras/Portfile)
===================================================================
--- trunk/dports/gnome/py26-gda/Portfile (rev 0)
+++ trunk/dports/gnome/py26-gda/Portfile 2010-10-27 18:49:53 UTC (rev 72801)
@@ -0,0 +1,62 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name py26-gda
+version 2.25.3
+
+categories gnome python
+platforms darwin
+maintainers elelay
+
+description "Extra" Python modules for some GNOME Desktop libraries.
+long_description ${description}
+
+homepage http://www.pygtk.org/
+
+set myname gnome-python-extras
+set branch [join [lrange [split ${version} .] 0 1] .]
+
+master_sites gnome:sources/${myname}/${branch}
+distname ${myname}-${version}
+dist_subdir ${myname}
+
+checksums md5 9f3b7ec5c57130b96061cb486b79c076 \
+ sha1 e69e5288466c960ed6f985bb10c9969b21ed85a4 \
+ rmd160 e09bc0152512e2caa61626a7dc788d7336f24e46
+
+use_bzip2 yes
+
+depends_lib port:py26-gtk\
+ port:libgda4
+
+patchfiles patch-pygobject \
+ patch-configure.diff
+
+configure.args-append --disable-allbindings --enable-gda
+
+set python.branch 2.6
+set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch}
+set python.bin ${python.prefix}/bin/python${python.branch}
+
+configure.args-append --prefix=${python.prefix}
+configure.pkg_config_path ${python.prefix}/lib/pkgconfig
+
+configure.python ${python.bin}
+configure.env-append PYGTK_CODEGEN=${python.prefix}/bin/pygobject-codegen-2.0
+
+post-destroot {
+ file delete "${destroot}/${python.prefix}/lib/pkgconfig/gnome-python-extras-2.0.pc"
+}
+
+platform darwin 9 {
+ post-patch {
+ reinplace "s|-export-symbols-regex.*||g" \
+ ${worksrcpath}/gda/Makefile.in
+ }
+}
+
+livecheck.type regex
+livecheck.url http://ftp.gnome.org/pub/gnome/sources/${myname}/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Deleted: trunk/dports/gnome/py26-gdl/Portfile
===================================================================
--- trunk/dports/gnome/gnome-python26-extras/Portfile 2010-04-15 15:54:41 UTC (rev 66505)
+++ trunk/dports/gnome/py26-gdl/Portfile 2010-10-27 18:49:53 UTC (rev 72801)
@@ -1,67 +0,0 @@
-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
-# $Id$
-
-PortSystem 1.0
-
-name gnome-python26-extras
-version 2.25.3
-
-categories gnome python
-platforms darwin
-maintainers wanadoo.fr:neric27 openmaintainer
-
-description "Extra" Python modules for some GNOME Desktop libraries.
-long_description ${description}
-
-homepage http://www.pygtk.org/
-
-set myname gnome-python-extras
-set branch [join [lrange [split ${version} .] 0 1] .]
-
-master_sites gnome:sources/${myname}/${branch}
-distname ${myname}-${version}
-
-checksums md5 9f3b7ec5c57130b96061cb486b79c076 \
- sha1 e69e5288466c960ed6f985bb10c9969b21ed85a4 \
- rmd160 e09bc0152512e2caa61626a7dc788d7336f24e46
-
-use_bzip2 yes
-
-depends_lib port:py26-gnome \
- port:gdl \
- port:libgda4 \
- port:libgtkhtml \
- port:gtkspell2
-
-patchfiles patch-pygobject \
- patch-configure.diff
-
-set python.branch 2.6
-set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch}
-set python.bin ${python.prefix}/bin/python${python.branch}
-
-configure.args-append --prefix=${python.prefix}
-configure.pkg_config_path ${python.prefix}/lib/pkgconfig
-
-configure.python ${python.bin}
-configure.env-append PYGTK_CODEGEN=${frameworks_dir}/Python.framework/Versions/2.6/bin/pygtk-codegen-2.0
-
-platform darwin 9 {
- post-patch {
- reinplace "s|-export-symbols-regex.*||g" \
- ${worksrcpath}/egg/recent/Makefile.in \
- ${worksrcpath}/egg/tray/Makefile.in \
- ${worksrcpath}/gda/Makefile.in \
- ${worksrcpath}/gdl/Makefile.in \
- ${worksrcpath}/gksu/Makefile.in \
- ${worksrcpath}/gksu2/Makefile.in \
- ${worksrcpath}/gtkhtml2/Makefile.in \
- ${worksrcpath}/gtkspell/Makefile.in
- reinplace "s|-export-symbols-regex.*|\\\\|g" \
- ${worksrcpath}/gtkmozembed/Makefile.in
- }
-}
-
-livecheck.type regex
-livecheck.url http://ftp.gnome.org/pub/gnome/sources/${myname}/${branch}/
-livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Copied: trunk/dports/gnome/py26-gdl/Portfile (from rev 72513, trunk/dports/gnome/gnome-python26-extras/Portfile)
===================================================================
--- trunk/dports/gnome/py26-gdl/Portfile (rev 0)
+++ trunk/dports/gnome/py26-gdl/Portfile 2010-10-27 18:49:53 UTC (rev 72801)
@@ -0,0 +1,62 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name py26-gdl
+version 2.25.3
+
+categories gnome python
+platforms darwin
+maintainers elelay
+
+description "Extra" Python modules for some GNOME Desktop libraries.
+long_description ${description}
+
+homepage http://www.pygtk.org/
+
+set myname gnome-python-extras
+set branch [join [lrange [split ${version} .] 0 1] .]
+
+master_sites gnome:sources/${myname}/${branch}
+distname ${myname}-${version}
+dist_subdir ${myname}
+
+checksums md5 9f3b7ec5c57130b96061cb486b79c076 \
+ sha1 e69e5288466c960ed6f985bb10c9969b21ed85a4 \
+ rmd160 e09bc0152512e2caa61626a7dc788d7336f24e46
+
+use_bzip2 yes
+
+depends_lib port:py26-gnome \
+ port:gdl
+
+patchfiles patch-configure.diff\
+ patch-gdl-gdl-defs.diff
+
+configure.args-append --disable-allbindings --enable-gdl
+
+set python.branch 2.6
+set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch}
+set python.bin ${python.prefix}/bin/python${python.branch}
+
+configure.args-append --prefix=${python.prefix}
+configure.pkg_config_path ${python.prefix}/lib/pkgconfig
+
+configure.python ${python.bin}
+configure.env-append PYGTK_CODEGEN=${python.prefix}/bin/pygobject-codegen-2.0
+
+post-destroot {
+ file delete "${destroot}/${python.prefix}/lib/pkgconfig/gnome-python-extras-2.0.pc"
+}
+
+platform darwin 9 {
+ post-patch {
+ reinplace "s|-export-symbols-regex.*||g" \
+ ${worksrcpath}/gdl/Makefile.in
+ }
+}
+
+livecheck.type regex
+livecheck.url http://ftp.gnome.org/pub/gnome/sources/${myname}/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Copied: trunk/dports/gnome/py26-gdl/files/patch-gdl-gdl-defs.diff (from rev 72513, trunk/dports/gnome/gnome-python26-extras/files/patch-gdl-gdl-defs.diff)
===================================================================
--- trunk/dports/gnome/py26-gdl/files/patch-gdl-gdl-defs.diff (rev 0)
+++ trunk/dports/gnome/py26-gdl/files/patch-gdl-gdl-defs.diff 2010-10-27 18:49:53 UTC (rev 72801)
@@ -0,0 +1,491 @@
+From eda1dae0e8331eee4d364535dc0685efe43a4531 Mon Sep 17 00:00:00 2001
+From: Johannes Schmid <jhs at gnome.org>
+Date: Tue, 08 Sep 2009 08:31:20 +0000
+Subject: Regenerated gdl.defs and updated dependency to gdl 2.27.92
+elelay : taken from https://launchpad.net/ubuntu/natty/+source/gnome-python-extras
+ original name is 04_gdl_2.28.patch
+ discarded the configure.ac part
+---
+diff --git a/gdl/gdl.defs b/gdl/gdl.defs
+index 5babad1..795154d 100644
+--- gdl/gdl.defs
++++ gdl/gdl.defs
+@@ -1,21 +1,10 @@
+ ;; -*- scheme -*-
+ ; object definitions ...
+-(ifdef HAVE_GDL_0_7
+-
+-(define-object ComboButton
+- (in-module "Gdl")
+- (parent "GtkHBox")
+- (c-name "GdlComboButton")
+- (gtype-id "GDL_TYPE_COMBO_BUTTON")
+-)
+-
+-) ; ifdef HAVE_GDL_0_7
+-
+-(define-object DockBar
++(define-object DockItemGrip
+ (in-module "Gdl")
+- (parent "GtkVBox")
+- (c-name "GdlDockBar")
+- (gtype-id "GDL_TYPE_DOCK_BAR")
++ (parent "GtkContainer")
++ (c-name "GdlDockItemGrip")
++ (gtype-id "GDL_TYPE_DOCK_ITEM_GRIP")
+ )
+
+ (define-object DockLayout
+@@ -46,13 +35,6 @@
+ (gtype-id "GDL_TYPE_DOCK_ITEM")
+ )
+
+-(define-object DockNotebook
+- (in-module "Gdl")
+- (parent "GdlDockItem")
+- (c-name "GdlDockNotebook")
+- (gtype-id "GDL_TYPE_DOCK_NOTEBOOK")
+-)
+-
+ (define-object Dock
+ (in-module "Gdl")
+ (parent "GdlDockObject")
+@@ -60,13 +42,6 @@
+ (gtype-id "GDL_TYPE_DOCK")
+ )
+
+-(define-object DockPaned
+- (in-module "Gdl")
+- (parent "GdlDockItem")
+- (c-name "GdlDockPaned")
+- (gtype-id "GDL_TYPE_DOCK_PANED")
+-)
+-
+ (define-object DockPlaceholder
+ (in-module "Gdl")
+ (parent "GdlDockObject")
+@@ -74,28 +49,8 @@
+ (gtype-id "GDL_TYPE_DOCK_PLACEHOLDER")
+ )
+
+-(define-object DockTablabel
+- (in-module "Gdl")
+- (parent "GtkBin")
+- (c-name "GdlDockTablabel")
+- (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
+-
+ (define-enum DockBarStyle
+ (in-module "Gdl")
+ (c-name "GdlDockBarStyle")
+@@ -108,8 +63,6 @@
+ )
+ )
+
+-) ; ifdef HAVE_GDL_0_7
+-
+ (define-flags DockItemBehavior
+ (in-module "Gdl")
+ (c-name "GdlDockItemBehavior")
+@@ -127,6 +80,7 @@
+ '("cant-dock-center" "GDL_DOCK_ITEM_BEH_CANT_DOCK_CENTER")
+ '("cant-close" "GDL_DOCK_ITEM_BEH_CANT_CLOSE")
+ '("cant-iconify" "GDL_DOCK_ITEM_BEH_CANT_ICONIFY")
++ '("no-grip" "GDL_DOCK_ITEM_BEH_NO_GRIP")
+ )
+ )
+
+@@ -142,6 +96,20 @@
+ )
+ )
+
++(define-enum SwitcherStyle
++ (in-module "Gdl")
++ (c-name "GdlSwitcherStyle")
++ (gtype-id "GDL_TYPE_SWITCHER_STYLE")
++ (values
++ '("text" "GDL_SWITCHER_STYLE_TEXT")
++ '("icon" "GDL_SWITCHER_STYLE_ICON")
++ '("both" "GDL_SWITCHER_STYLE_BOTH")
++ '("toolbar" "GDL_SWITCHER_STYLE_TOOLBAR")
++ '("tabs" "GDL_SWITCHER_STYLE_TABS")
++ '("none" "GDL_SWITCHER_STYLE_NONE")
++ )
++)
++
+ (define-flags DockParamFlags
+ (in-module "Gdl")
+ (c-name "GdlDockParamFlags")
+@@ -179,49 +147,6 @@
+ )
+ )
+
+-;; From gdl-combo-button.h
+-
+-(ifdef HAVE_GDL_0_7
+-
+-(define-function gdl_combo_button_get_type
+- (c-name "gdl_combo_button_get_type")
+- (return-type "GType")
+-)
+-
+-(define-function gdl_combo_button_new
+- (c-name "gdl_combo_button_new")
+- (is-constructor-of "GdlComboButton")
+- (return-type "GtkWidget*")
+-)
+-
+-(define-method set_icon
+- (of-object "GdlComboButton")
+- (c-name "gdl_combo_button_set_icon")
+- (return-type "none")
+- (parameters
+- '("GdkPixbuf*" "pixbuf")
+- )
+-)
+-
+-(define-method set_label
+- (of-object "GdlComboButton")
+- (c-name "gdl_combo_button_set_label")
+- (return-type "none")
+- (parameters
+- '("const-gchar*" "label")
+- )
+-)
+-
+-(define-method set_menu
+- (of-object "GdlComboButton")
+- (c-name "gdl_combo_button_set_menu")
+- (return-type "none")
+- (parameters
+- '("GtkMenu*" "menu")
+- )
+-)
+-
+-) ; ifdef HAVE_GDL_0_7
+
+ ;; From gdl-dock-bar.h
+
+@@ -230,17 +155,12 @@
+ (return-type "GType")
+ )
+
+-(define-function gdl_dock_bar_new
+- (is-constructor-of "GdlDockBar")
++(define-method bar_new
++ (of-object "GdlDock")
+ (c-name "gdl_dock_bar_new")
+ (return-type "GtkWidget*")
+- (parameters
+- '("GdlDock*" "dock")
+- )
+ )
+
+-(ifdef HAVE_GDL_0_7
+-
+ (define-method get_orientation
+ (of-object "GdlDockBar")
+ (c-name "gdl_dock_bar_get_orientation")
+@@ -271,7 +191,7 @@
+ (return-type "GdlDockBarStyle")
+ )
+
+-) ; ifdef HAVE_GDL_0_7
++
+
+ ;; From gdl-dock.h
+
+@@ -279,7 +199,6 @@
+ (c-name "gdl_dock_new")
+ (is-constructor-of "GdlDock")
+ (return-type "GtkWidget*")
+- (caller-owns-return #f)
+ )
+
+ (define-method new_from
+@@ -358,10 +277,49 @@
+ )
+ )
+
++
++
++;; From gdl-dock-item-grip.h
++
++(define-function gdl_dock_item_grip_get_type
++ (c-name "gdl_dock_item_grip_get_type")
++ (return-type "GType")
++)
++
++(define-method grip_new
++ (of-object "GdlDockItem")
++ (c-name "gdl_dock_item_grip_new")
++ (return-type "GtkWidget*")
++)
++
++(define-method set_label
++ (of-object "GdlDockItemGrip")
++ (c-name "gdl_dock_item_grip_set_label")
++ (return-type "none")
++ (parameters
++ '("GtkWidget*" "label")
++ )
++)
++
++(define-method hide_handle
++ (of-object "GdlDockItemGrip")
++ (c-name "gdl_dock_item_grip_hide_handle")
++ (return-type "none")
++)
++
++(define-method show_handle
++ (of-object "GdlDockItemGrip")
++ (c-name "gdl_dock_item_grip_show_handle")
++ (return-type "none")
++)
++
++
++
+ ;; From gdl-dock-item.h
+
+ (define-function gdl_dock_item_new
+ (c-name "gdl_dock_item_new")
++ (is-constructor-of "GdlDockItem")
+ (return-type "GtkWidget*")
+ (parameters
+ '("const-gchar*" "name")
+@@ -371,14 +329,13 @@
+ )
+
+ (define-function gdl_dock_item_new_with_stock
+- (is-constructor-of "GdlDockItem")
+ (c-name "gdl_dock_item_new_with_stock")
+ (return-type "GtkWidget*")
+- (properties
+- '("name")
+- '("long_name")
+- '("stock_id" (optional))
+- '("behavior" (optional))
++ (parameters
++ '("const-gchar*" "name")
++ '("const-gchar*" "long_name")
++ '("const-gchar*" "stock_id")
++ '("GdlDockItemBehavior" "behavior")
+ )
+ )
+
+@@ -392,9 +349,9 @@
+ (c-name "gdl_dock_item_dock_to")
+ (return-type "none")
+ (parameters
+- '("GdlDockItem*" "target" (null-ok))
++ '("GdlDockItem*" "target")
+ '("GdlDockPlacement" "position")
+- '("gint" "docking_param" (default "-1"))
++ '("gint" "docking_param")
+ )
+ )
+
+@@ -422,6 +379,12 @@
+ )
+ )
+
++(define-method get_grip
++ (of-object "GdlDockItem")
++ (c-name "gdl_dock_item_get_grip")
++ (return-type "GtkWidget*")
++)
++
+ (define-method hide_grip
+ (of-object "GdlDockItem")
+ (c-name "gdl_dock_item_hide_grip")
+@@ -506,13 +469,10 @@
+ (return-type "GType")
+ )
+
+-(define-function gdl_dock_layout_new
+- (is-constructor-of "GdlDockLayout")
++(define-method layout_new
++ (of-object "GdlDock")
+ (c-name "gdl_dock_layout_new")
+ (return-type "GdlDockLayout*")
+- (parameters
+- '("GdlDock*" "dock")
+- )
+ )
+
+ (define-method attach
+@@ -682,21 +642,6 @@
+
+
+
+-;; From gdl-dock-notebook.h
+-
+-(define-function gdl_dock_notebook_new
+- (c-name "gdl_dock_notebook_new")
+- (is-constructor-of "GdlDockNotebook")
+- (return-type "GtkWidget*")
+-)
+-
+-(define-function gdl_dock_notebook_get_type
+- (c-name "gdl_dock_notebook_get_type")
+- (return-type "GType")
+-)
+-
+-
+-
+ ;; From gdl-dock-object.h
+
+ (define-function gdl_dock_object_get_type
+@@ -848,24 +793,6 @@
+
+
+
+-;; From gdl-dock-paned.h
+-
+-(define-function gdl_dock_paned_get_type
+- (c-name "gdl_dock_paned_get_type")
+- (return-type "GType")
+-)
+-
+-(define-function gdl_dock_paned_new
+- (c-name "gdl_dock_paned_new")
+- (is-constructor-of "GdlDockPaned")
+- (return-type "GtkWidget*")
+- (properties
+- '("orientation")
+- )
+-)
+-
+-
+-
+ ;; From gdl-dock-placeholder.h
+
+ (define-function gdl_dock_placeholder_get_type
+@@ -878,7 +805,7 @@
+ (is-constructor-of "GdlDockPlaceholder")
+ (return-type "GtkWidget*")
+ (parameters
+- '("gchar*" "name")
++ '("const-gchar*" "name")
+ '("GdlDockObject*" "object")
+ '("GdlDockPlacement" "position")
+ '("gboolean" "sticky")
+@@ -896,74 +823,49 @@
+
+
+
+-;; From gdl-dock-tablabel.h
++;; From gdl.h
++
++
++
++;; From gdl-tools.h
++
+
+-(define-function gdl_dock_tablabel_new
+- (c-name "gdl_dock_tablabel_new")
+- (is-constructor-of "GdlDockTablabel")
+- (return-type "GtkWidget*")
+- (properties
+- '("item")
+- )
+-)
+
+-(define-function gdl_dock_tablabel_get_type
+- (c-name "gdl_dock_tablabel_get_type")
++;; From libgdltypebuiltins.h
++
++(define-function gdl_dock_param_flags_get_type
++ (c-name "gdl_dock_param_flags_get_type")
+ (return-type "GType")
+ )
+
+-(define-method activate
+- (of-object "GdlDockTablabel")
+- (c-name "gdl_dock_tablabel_activate")
+- (return-type "none")
++(define-function gdl_dock_object_flags_get_type
++ (c-name "gdl_dock_object_flags_get_type")
++ (return-type "GType")
+ )
+
+-(define-method deactivate
+- (of-object "GdlDockTablabel")
+- (c-name "gdl_dock_tablabel_deactivate")
+- (return-type "none")
++(define-function gdl_dock_placement_get_type
++ (c-name "gdl_dock_placement_get_type")
++ (return-type "GType")
+ )
+
+-;; 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_switcher_style_get_type
++ (c-name "gdl_switcher_style_get_type")
++ (return-type "GType")
+ )
+
+-(define-function gdl_icons_get_type
+- (c-name "gdl_icons_get_type")
++(define-function gdl_dock_item_behavior_get_type
++ (c-name "gdl_dock_item_behavior_get_type")
+ (return-type "GType")
+ )
+
+-(define-method get_folder_icon
+- (of-object "GdlIcons")
+- (c-name "gdl_icons_get_folder_icon")
+- (return-type "GdkPixbuf*")
++(define-function gdl_dock_item_flags_get_type
++ (c-name "gdl_dock_item_flags_get_type")
++ (return-type "GType")
+ )
+
+-(define-method get_uri_icon
+- (of-object "GdlIcons")
+- (c-name "gdl_icons_get_uri_icon")
+- (return-type "GdkPixbuf*")
+- (parameters
+- '("const-char*" "uri")
+- )
++(define-function gdl_dock_bar_style_get_type
++ (c-name "gdl_dock_bar_style_get_type")
++ (return-type "GType")
+ )
+
+-(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
+--
+cgit v0.8.2
Deleted: trunk/dports/gnome/py26-gtkhtml2/Portfile
===================================================================
--- trunk/dports/gnome/gnome-python26-extras/Portfile 2010-04-15 15:54:41 UTC (rev 66505)
+++ trunk/dports/gnome/py26-gtkhtml2/Portfile 2010-10-27 18:49:53 UTC (rev 72801)
@@ -1,67 +0,0 @@
-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
-# $Id$
-
-PortSystem 1.0
-
-name gnome-python26-extras
-version 2.25.3
-
-categories gnome python
-platforms darwin
-maintainers wanadoo.fr:neric27 openmaintainer
-
-description "Extra" Python modules for some GNOME Desktop libraries.
-long_description ${description}
-
-homepage http://www.pygtk.org/
-
-set myname gnome-python-extras
-set branch [join [lrange [split ${version} .] 0 1] .]
-
-master_sites gnome:sources/${myname}/${branch}
-distname ${myname}-${version}
-
-checksums md5 9f3b7ec5c57130b96061cb486b79c076 \
- sha1 e69e5288466c960ed6f985bb10c9969b21ed85a4 \
- rmd160 e09bc0152512e2caa61626a7dc788d7336f24e46
-
-use_bzip2 yes
-
-depends_lib port:py26-gnome \
- port:gdl \
- port:libgda4 \
- port:libgtkhtml \
- port:gtkspell2
-
-patchfiles patch-pygobject \
- patch-configure.diff
-
-set python.branch 2.6
-set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch}
-set python.bin ${python.prefix}/bin/python${python.branch}
-
-configure.args-append --prefix=${python.prefix}
-configure.pkg_config_path ${python.prefix}/lib/pkgconfig
-
-configure.python ${python.bin}
-configure.env-append PYGTK_CODEGEN=${frameworks_dir}/Python.framework/Versions/2.6/bin/pygtk-codegen-2.0
-
-platform darwin 9 {
- post-patch {
- reinplace "s|-export-symbols-regex.*||g" \
- ${worksrcpath}/egg/recent/Makefile.in \
- ${worksrcpath}/egg/tray/Makefile.in \
- ${worksrcpath}/gda/Makefile.in \
- ${worksrcpath}/gdl/Makefile.in \
- ${worksrcpath}/gksu/Makefile.in \
- ${worksrcpath}/gksu2/Makefile.in \
- ${worksrcpath}/gtkhtml2/Makefile.in \
- ${worksrcpath}/gtkspell/Makefile.in
- reinplace "s|-export-symbols-regex.*|\\\\|g" \
- ${worksrcpath}/gtkmozembed/Makefile.in
- }
-}
-
-livecheck.type regex
-livecheck.url http://ftp.gnome.org/pub/gnome/sources/${myname}/${branch}/
-livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Copied: trunk/dports/gnome/py26-gtkhtml2/Portfile (from rev 72513, trunk/dports/gnome/gnome-python26-extras/Portfile)
===================================================================
--- trunk/dports/gnome/py26-gtkhtml2/Portfile (rev 0)
+++ trunk/dports/gnome/py26-gtkhtml2/Portfile 2010-10-27 18:49:53 UTC (rev 72801)
@@ -0,0 +1,61 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name py26-gtkhtml2
+version 2.25.3
+
+categories gnome python
+platforms darwin
+maintainers elelay
+
+description "Extra" Python modules for some GNOME Desktop libraries.
+long_description ${description}
+
+homepage http://www.pygtk.org/
+
+set myname gnome-python-extras
+set branch [join [lrange [split ${version} .] 0 1] .]
+
+master_sites gnome:sources/${myname}/${branch}
+distname ${myname}-${version}
+dist_subdir ${myname}
+
+checksums md5 9f3b7ec5c57130b96061cb486b79c076 \
+ sha1 e69e5288466c960ed6f985bb10c9969b21ed85a4 \
+ rmd160 e09bc0152512e2caa61626a7dc788d7336f24e46
+
+use_bzip2 yes
+
+depends_lib port:py26-gtk\
+ port:libgtkhtml
+
+patchfiles patch-configure.diff
+
+configure.args-append --disable-allbindings --enable-gtkhtml2
+
+set python.branch 2.6
+set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch}
+set python.bin ${python.prefix}/bin/python${python.branch}
+
+configure.args-append --prefix=${python.prefix}
+configure.pkg_config_path ${python.prefix}/lib/pkgconfig
+
+configure.python ${python.bin}
+configure.env-append PYGTK_CODEGEN=${python.prefix}/bin/pygobject-codegen-2.0
+
+post-destroot {
+ file delete "${destroot}/${python.prefix}/lib/pkgconfig/gnome-python-extras-2.0.pc"
+}
+
+platform darwin 9 {
+ post-patch {
+ reinplace "s|-export-symbols-regex.*||g" \
+ ${worksrcpath}/gtkhtml2/Makefile.in \
+ }
+}
+
+livecheck.type regex
+livecheck.url http://ftp.gnome.org/pub/gnome/sources/${myname}/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Deleted: trunk/dports/gnome/py26-gtkspell/Portfile
===================================================================
--- trunk/dports/gnome/gnome-python26-extras/Portfile 2010-04-15 15:54:41 UTC (rev 66505)
+++ trunk/dports/gnome/py26-gtkspell/Portfile 2010-10-27 18:49:53 UTC (rev 72801)
@@ -1,67 +0,0 @@
-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
-# $Id$
-
-PortSystem 1.0
-
-name gnome-python26-extras
-version 2.25.3
-
-categories gnome python
-platforms darwin
-maintainers wanadoo.fr:neric27 openmaintainer
-
-description "Extra" Python modules for some GNOME Desktop libraries.
-long_description ${description}
-
-homepage http://www.pygtk.org/
-
-set myname gnome-python-extras
-set branch [join [lrange [split ${version} .] 0 1] .]
-
-master_sites gnome:sources/${myname}/${branch}
-distname ${myname}-${version}
-
-checksums md5 9f3b7ec5c57130b96061cb486b79c076 \
- sha1 e69e5288466c960ed6f985bb10c9969b21ed85a4 \
- rmd160 e09bc0152512e2caa61626a7dc788d7336f24e46
-
-use_bzip2 yes
-
-depends_lib port:py26-gnome \
- port:gdl \
- port:libgda4 \
- port:libgtkhtml \
- port:gtkspell2
-
-patchfiles patch-pygobject \
- patch-configure.diff
-
-set python.branch 2.6
-set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch}
-set python.bin ${python.prefix}/bin/python${python.branch}
-
-configure.args-append --prefix=${python.prefix}
-configure.pkg_config_path ${python.prefix}/lib/pkgconfig
-
-configure.python ${python.bin}
-configure.env-append PYGTK_CODEGEN=${frameworks_dir}/Python.framework/Versions/2.6/bin/pygtk-codegen-2.0
-
-platform darwin 9 {
- post-patch {
- reinplace "s|-export-symbols-regex.*||g" \
- ${worksrcpath}/egg/recent/Makefile.in \
- ${worksrcpath}/egg/tray/Makefile.in \
- ${worksrcpath}/gda/Makefile.in \
- ${worksrcpath}/gdl/Makefile.in \
- ${worksrcpath}/gksu/Makefile.in \
- ${worksrcpath}/gksu2/Makefile.in \
- ${worksrcpath}/gtkhtml2/Makefile.in \
- ${worksrcpath}/gtkspell/Makefile.in
- reinplace "s|-export-symbols-regex.*|\\\\|g" \
- ${worksrcpath}/gtkmozembed/Makefile.in
- }
-}
-
-livecheck.type regex
-livecheck.url http://ftp.gnome.org/pub/gnome/sources/${myname}/${branch}/
-livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Copied: trunk/dports/gnome/py26-gtkspell/Portfile (from rev 72513, trunk/dports/gnome/gnome-python26-extras/Portfile)
===================================================================
--- trunk/dports/gnome/py26-gtkspell/Portfile (rev 0)
+++ trunk/dports/gnome/py26-gtkspell/Portfile 2010-10-27 18:49:53 UTC (rev 72801)
@@ -0,0 +1,61 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name py26-gtkspell
+version 2.25.3
+
+categories gnome python
+platforms darwin
+maintainers elelay
+
+description "Extra" Python modules for some GNOME Desktop libraries.
+long_description ${description}
+
+homepage http://www.pygtk.org/
+
+set myname gnome-python-extras
+set branch [join [lrange [split ${version} .] 0 1] .]
+
+master_sites gnome:sources/${myname}/${branch}
+distname ${myname}-${version}
+dist_subdir ${myname}
+
+checksums md5 9f3b7ec5c57130b96061cb486b79c076 \
+ sha1 e69e5288466c960ed6f985bb10c9969b21ed85a4 \
+ rmd160 e09bc0152512e2caa61626a7dc788d7336f24e46
+
+use_bzip2 yes
+
+depends_lib port:py26-gtk \
+ port:gtkspell2
+
+patchfiles patch-configure.diff
+
+configure.args-append --disable-allbindings --enable-gtkspell
+
+set python.branch 2.6
+set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch}
+set python.bin ${python.prefix}/bin/python${python.branch}
+
+configure.args-append --prefix=${python.prefix}
+configure.pkg_config_path ${python.prefix}/lib/pkgconfig
+
+configure.python ${python.bin}
+configure.env-append PYGTK_CODEGEN=${python.prefix}/bin/pygobject-codegen-2.0
+
+post-destroot {
+ file delete "${destroot}/${python.prefix}/lib/pkgconfig/gnome-python-extras-2.0.pc"
+}
+
+platform darwin 9 {
+ post-patch {
+ reinplace "s|-export-symbols-regex.*||g" \
+ ${worksrcpath}/gtkspell/Makefile.in
+ }
+}
+
+livecheck.type regex
+livecheck.url http://ftp.gnome.org/pub/gnome/sources/${myname}/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101027/2cae7a20/attachment-0001.html>
More information about the macports-changes
mailing list