[100312] trunk/dports/gnome

cal at macports.org cal at macports.org
Fri Dec 7 18:43:37 PST 2012


Revision: 100312
          https://trac.macports.org/changeset/100312
Author:   cal at macports.org
Date:     2012-12-07 18:43:37 -0800 (Fri, 07 Dec 2012)
Log Message:
-----------
new ports required for gtk3: at-spi2-{core,atk}

Added Paths:
-----------
    trunk/dports/gnome/at-spi2-atk/
    trunk/dports/gnome/at-spi2-atk/Portfile
    trunk/dports/gnome/at-spi2-atk/files/patch__atk-adaptor__accessible-cache.c__nonvoid-function-doesnt-return.diff
    trunk/dports/gnome/at-spi2-core/
    trunk/dports/gnome/at-spi2-core/Portfile

Removed Paths:
-------------
    trunk/dports/gnome/at-spi2-atk/Portfile
    trunk/dports/gnome/at-spi2-atk/files/patch-pyatspi-Makefile.in.diff
    trunk/dports/gnome/at-spi2-core/Portfile

Deleted: trunk/dports/gnome/at-spi2-atk/Portfile
===================================================================
--- trunk/dports/gnome/at-spi/Portfile	2012-12-08 00:31:01 UTC (rev 100306)
+++ trunk/dports/gnome/at-spi2-atk/Portfile	2012-12-08 02:43:37 UTC (rev 100312)
@@ -1,91 +0,0 @@
-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
-# $Id$
-
-PortSystem 1.0
-
-name                at-spi
-version             1.30.1
-revision            3
-license             LGPL
-set branch          [join [lrange [split ${version} .] 0 1] .]
-description         Gnome Accesibility Technology Service
-long_description \
-   'at-spi' is a part of the Gnome Accessibility Project.  It provides a \
-   Service Provider Interface for the Assistive Technologies available on \
-   the GNOME platform, and a library against which applications can be linked.
-maintainers         devans openmaintainer
-categories          gnome
-platforms           darwin
-homepage            http://developer.gnome.org/projects/gap/
-master_sites        gnome:sources/${name}/${branch}/
-
-checksums           md5     29fdf7934e98efda5fe0ab74ab4d3f29 \
-                    sha1    d7bf78555e8025e42325437d7809e1c98a35389e \
-                    rmd160  f317c5ad38a6f79b1917f3173e77e4746f79408b
-
-depends_build       port:intltool \
-                    port:pkgconfig
-
-depends_lib         port:atk \
-                    port:gtk2 \
-                    port:libbonobo \
-                    port:xorg-libXtst
-
-use_bzip2           yes
-
-patchfiles          patch-pyatspi-Makefile.in.diff
-
-configure.args      --enable-static \
-                    --disable-xevie \
-                    --with-x \
-                    --x-includes=${prefix}/include \
-                    --x-libraries=${prefix}/lib \
-                    --disable-schemas-install
- 
-variant no_x11 description {Disable X11 support} {
-   pre-fetch {
-      return -code error "The +no_x11 (was +quartz) variant of ${name} does not work. See http://trac.macports.org/ticket/15013"
-   }
-   configure.args-delete   --with-x \
-                           --x-includes=${prefix}/include \
-                           --x-libraries=${prefix}/lib
-   configure.args-append   --without-x
-   depends_lib-delete      port:xorg-libXtst
-}
-
-variant python25 conflicts python26 python27 description {Use python 2.5} {
-    configure.python        ${prefix}/bin/python2.5
-    depends_lib-append      port:py25-gnome
-    post-patch {
-        reinplace "s|__MP_PYTHON_EXEC_DIR__|${prefix}//Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages|" ${worksrcpath}/pyatspi/Makefile.in
-    }
-}
-
-variant python26 conflicts python25 python27 description {Use python 2.6} {
-    configure.python        ${prefix}/bin/python2.6
-    depends_lib-append      port:py26-gnome
-    post-patch {
-        reinplace "s|__MP_PYTHON_EXEC_DIR__|${prefix}//Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages|" ${worksrcpath}/pyatspi/Makefile.in
-    }
-}
-
-variant python27 conflicts python25 python26 description {Use python 2.7} {
-    configure.python        ${prefix}/bin/python2.7
-    depends_lib-append      port:py27-gnome
-    post-patch {
-        reinplace "s|__MP_PYTHON_EXEC_DIR__|${prefix}//Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages|" ${worksrcpath}/pyatspi/Makefile.in
-    }
-}
-
-if {![variant_isset python25] && ![variant_isset python26]} {
-    default_variants +python27
-}
-
-post-activate {
-   system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
-        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
-}
-
-livecheck.type  regex
-livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
-livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}

Copied: trunk/dports/gnome/at-spi2-atk/Portfile (from rev 100310, trunk/dports/gnome/at-spi/Portfile)
===================================================================
--- trunk/dports/gnome/at-spi2-atk/Portfile	                        (rev 0)
+++ trunk/dports/gnome/at-spi2-atk/Portfile	2012-12-08 02:43:37 UTC (rev 100312)
@@ -0,0 +1,40 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+
+name                at-spi2-atk
+# you probably want to keep this at the same version as at-spi2-core
+version             2.6.2
+license             LGPL
+set branch          [join [lrange [split ${version} .] 0 1] .]
+description         Gnome Accesibility Technology Service
+long_description \
+   'at-spi' is a part of the Gnome Accessibility Project.  It provides a \
+   Service Provider Interface for the Assistive Technologies available on \
+   the GNOME platform, and a library against which applications can be linked.
+maintainers         cal openmaintainer
+categories          gnome
+platforms           darwin
+homepage            http://a11y.org/
+master_sites        gnome:sources/${name}/${branch}/
+
+checksums           rmd160  0e3f2385500f93c616292898ed90fa3b0974962a \
+                    sha256  496c8432e8ab82735145f9af5d45209e9b708bf3c94e527ee091d08641a9bcfa
+
+use_xz              yes
+
+patchfiles          patch__atk-adaptor__accessible-cache.c__nonvoid-function-doesnt-return.diff
+
+depends_build       port:pkgconfig
+
+depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
+                    port:lib/pkgconfig/dbus-1.pc:dbus \
+                    port:dbus-glib \
+                    port:dbus-python27 \
+                    port:atk \
+                    port:at-spi2-core
+
+livecheck.type      regex
+livecheck.url       http://ftp.gnome.org/pub/gnome/sources/${name}/cache.json
+livecheck.regex     {LATEST-IS-(\d+\.\d*[02468](?:\.\d+)*)}

Deleted: trunk/dports/gnome/at-spi2-atk/files/patch-pyatspi-Makefile.in.diff
===================================================================
--- trunk/dports/gnome/at-spi/files/patch-pyatspi-Makefile.in.diff	2012-12-08 00:31:01 UTC (rev 100306)
+++ trunk/dports/gnome/at-spi2-atk/files/patch-pyatspi-Makefile.in.diff	2012-12-08 02:43:37 UTC (rev 100312)
@@ -1,15 +0,0 @@
---- pyatspi/Makefile.in.orig	2010-08-11 13:25:06.000000000 -0700
-+++ pyatspi/Makefile.in	2010-08-11 13:28:09.000000000 -0700
-@@ -269,6 +269,12 @@
- 	registry.py \
- 	utils.py
- 
-+#
-+# Override broken configuration for MacPorts
-+#
-+
-+pyexecdir = __MP_PYTHON_EXEC_DIR__
-+
- @RELOCATE_FALSE at pyatspidir = $(pyexecdir)/pyatspi
- @RELOCATE_TRUE at pyatspidir = $(pyexecdir)/pyatspi_corba
- all: all-am

Added: trunk/dports/gnome/at-spi2-atk/files/patch__atk-adaptor__accessible-cache.c__nonvoid-function-doesnt-return.diff
===================================================================
--- trunk/dports/gnome/at-spi2-atk/files/patch__atk-adaptor__accessible-cache.c__nonvoid-function-doesnt-return.diff	                        (rev 0)
+++ trunk/dports/gnome/at-spi2-atk/files/patch__atk-adaptor__accessible-cache.c__nonvoid-function-doesnt-return.diff	2012-12-08 02:43:37 UTC (rev 100312)
@@ -0,0 +1,11 @@
+--- atk-adaptor/accessible-cache.c.orig	2012-12-08 03:36:46.000000000 +0100
++++ atk-adaptor/accessible-cache.c	2012-12-08 03:37:31.000000000 +0100
+@@ -362,7 +362,7 @@
+           if (!child)
+             {
+               g_static_rec_mutex_unlock (&cache_mutex);
+-              return;
++              return FALSE;
+             }
+ 
+           g_object_ref (child);

Deleted: trunk/dports/gnome/at-spi2-core/Portfile
===================================================================
--- trunk/dports/gnome/at-spi/Portfile	2012-12-08 00:31:01 UTC (rev 100306)
+++ trunk/dports/gnome/at-spi2-core/Portfile	2012-12-08 02:43:37 UTC (rev 100312)
@@ -1,91 +0,0 @@
-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
-# $Id$
-
-PortSystem 1.0
-
-name                at-spi
-version             1.30.1
-revision            3
-license             LGPL
-set branch          [join [lrange [split ${version} .] 0 1] .]
-description         Gnome Accesibility Technology Service
-long_description \
-   'at-spi' is a part of the Gnome Accessibility Project.  It provides a \
-   Service Provider Interface for the Assistive Technologies available on \
-   the GNOME platform, and a library against which applications can be linked.
-maintainers         devans openmaintainer
-categories          gnome
-platforms           darwin
-homepage            http://developer.gnome.org/projects/gap/
-master_sites        gnome:sources/${name}/${branch}/
-
-checksums           md5     29fdf7934e98efda5fe0ab74ab4d3f29 \
-                    sha1    d7bf78555e8025e42325437d7809e1c98a35389e \
-                    rmd160  f317c5ad38a6f79b1917f3173e77e4746f79408b
-
-depends_build       port:intltool \
-                    port:pkgconfig
-
-depends_lib         port:atk \
-                    port:gtk2 \
-                    port:libbonobo \
-                    port:xorg-libXtst
-
-use_bzip2           yes
-
-patchfiles          patch-pyatspi-Makefile.in.diff
-
-configure.args      --enable-static \
-                    --disable-xevie \
-                    --with-x \
-                    --x-includes=${prefix}/include \
-                    --x-libraries=${prefix}/lib \
-                    --disable-schemas-install
- 
-variant no_x11 description {Disable X11 support} {
-   pre-fetch {
-      return -code error "The +no_x11 (was +quartz) variant of ${name} does not work. See http://trac.macports.org/ticket/15013"
-   }
-   configure.args-delete   --with-x \
-                           --x-includes=${prefix}/include \
-                           --x-libraries=${prefix}/lib
-   configure.args-append   --without-x
-   depends_lib-delete      port:xorg-libXtst
-}
-
-variant python25 conflicts python26 python27 description {Use python 2.5} {
-    configure.python        ${prefix}/bin/python2.5
-    depends_lib-append      port:py25-gnome
-    post-patch {
-        reinplace "s|__MP_PYTHON_EXEC_DIR__|${prefix}//Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages|" ${worksrcpath}/pyatspi/Makefile.in
-    }
-}
-
-variant python26 conflicts python25 python27 description {Use python 2.6} {
-    configure.python        ${prefix}/bin/python2.6
-    depends_lib-append      port:py26-gnome
-    post-patch {
-        reinplace "s|__MP_PYTHON_EXEC_DIR__|${prefix}//Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages|" ${worksrcpath}/pyatspi/Makefile.in
-    }
-}
-
-variant python27 conflicts python25 python26 description {Use python 2.7} {
-    configure.python        ${prefix}/bin/python2.7
-    depends_lib-append      port:py27-gnome
-    post-patch {
-        reinplace "s|__MP_PYTHON_EXEC_DIR__|${prefix}//Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages|" ${worksrcpath}/pyatspi/Makefile.in
-    }
-}
-
-if {![variant_isset python25] && ![variant_isset python26]} {
-    default_variants +python27
-}
-
-post-activate {
-   system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
-        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
-}
-
-livecheck.type  regex
-livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
-livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}

Copied: trunk/dports/gnome/at-spi2-core/Portfile (from rev 100310, trunk/dports/gnome/at-spi/Portfile)
===================================================================
--- trunk/dports/gnome/at-spi2-core/Portfile	                        (rev 0)
+++ trunk/dports/gnome/at-spi2-core/Portfile	2012-12-08 02:43:37 UTC (rev 100312)
@@ -0,0 +1,42 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+
+name                at-spi2-core
+# you probably want to keep this at the same version as at-spi2-atk
+version             2.6.2
+license             LGPL
+set branch          [join [lrange [split ${version} .] 0 1] .]
+description         Gnome Accesibility Technology Service
+long_description \
+   'at-spi' is a part of the Gnome Accessibility Project.  It provides a \
+   Service Provider Interface for the Assistive Technologies available on \
+   the GNOME platform, and a library against which applications can be linked.
+maintainers         cal openmaintainer
+categories          gnome
+platforms           darwin
+homepage            http://a11y.org/
+master_sites        gnome:sources/${name}/${branch}/
+
+checksums           rmd160  de00564ed9d5d135515a9eb79a184a8ecddd0501 \
+                    sha256  0d5321ce9fdd7d036b072ef28cba14088394606e1687183ec5d0ae6adea8c87e
+
+use_xz              yes
+
+depends_build       port:pkgconfig
+
+depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
+                    port:lib/pkgconfig/dbus-1.pc:dbus \
+                    port:dbus-glib \
+                    port:xorg-libXtst \
+                    port:gobject-introspection
+
+configure.args      --disable-xevie \
+                    --enable-introspection=yes \
+                    --x-includes=${prefix}/include \
+                    --x-libraries=${prefix}/lib
+
+livecheck.type      regex
+livecheck.url       http://ftp.gnome.org/pub/gnome/sources/${name}/cache.json
+livecheck.regex     {LATEST-IS-(\d+\.\d*[02468](?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121207/e1b24a2e/attachment.html>


More information about the macports-changes mailing list