[138201] users/devans/GNOME-3/stable/dports/gnome/gedit

devans at macports.org devans at macports.org
Wed Jul 1 15:30:25 PDT 2015


Revision: 138201
          https://trac.macports.org/changeset/138201
Author:   devans at macports.org
Date:     2015-07-01 15:30:25 -0700 (Wed, 01 Jul 2015)
Log Message:
-----------
GNOME-3/stable: gedit, add +quartz variant using gtk-osx-application-gtk3, add runtime dependency on gnome-themes-standard, increment revision.

Modified Paths:
--------------
    users/devans/GNOME-3/stable/dports/gnome/gedit/Portfile
    users/devans/GNOME-3/stable/dports/gnome/gedit/files/patch-configure.ac.diff

Modified: users/devans/GNOME-3/stable/dports/gnome/gedit/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gedit/Portfile	2015-07-01 21:29:19 UTC (rev 138200)
+++ users/devans/GNOME-3/stable/dports/gnome/gedit/Portfile	2015-07-01 22:30:25 UTC (rev 138201)
@@ -2,9 +2,11 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           active_variants 1.1
 
 name                gedit
 version             3.16.2
+revision            1
 license             GPL-2
 set branch          [join [lrange [split ${version} .] 0 1] .]
 description         GNOME editor.
@@ -33,7 +35,6 @@
 depends_lib         port:desktop-file-utils \
                     port:gsettings-desktop-schemas \
                     port:gtk3 \
-                    port:gvfs \
                     port:gtksourceview3 \
                     port:libpeas \
                     port:libsoup \
@@ -42,8 +43,7 @@
                     port:iso-codes \
                     port:vala
 
-depends_run         port:gnome-settings-daemon \
-                    port:yelp
+depends_run         port:gnome-themes-standard
 
 patchfiles          patch-configure.ac.diff
 
@@ -72,6 +72,20 @@
     configure.args-replace    --disable-python --enable-python
 }
 
+variant quartz {}
+
+if {[variant_isset quartz]} {
+    require_active_variants gtk3 quartz
+    configure.args-append   --disable-gvfs-metadata
+    depends_lib-append      port:gtk-osx-application-gtk3
+} else {
+    require_active_variants gtk3 x11
+    configure.args-append   --enable-gvfs-metadata
+    depends_lib-append      port:gvfs
+    depends_run-append      port:gnome-settings-daemon \
+                            port:yelp
+}
+
 default_variants    +python34
 
 notes               "For extra functionality install gedit-plugins"

Modified: users/devans/GNOME-3/stable/dports/gnome/gedit/files/patch-configure.ac.diff
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gedit/files/patch-configure.ac.diff	2015-07-01 21:29:19 UTC (rev 138200)
+++ users/devans/GNOME-3/stable/dports/gnome/gedit/files/patch-configure.ac.diff	2015-07-01 22:30:25 UTC (rev 138201)
@@ -1,5 +1,14 @@
---- configure.ac.orig	2014-11-09 12:10:59.000000000 -0800
-+++ configure.ac	2014-11-16 15:06:49.000000000 -0800
+--- configure.ac.orig	2015-05-15 08:33:11.000000000 -0700
++++ configure.ac	2015-06-26 19:33:02.000000000 -0700
+@@ -157,7 +157,7 @@
+ if test "$os_osx" = "yes"; then
+ 	AC_DEFINE([OS_OSX],[1],[Defined if os is Mac OSX])
+ 
+-	PKG_CHECK_MODULES(GTK_MAC, gtk-mac-integration)
++	PKG_CHECK_MODULES(GTK_MAC, gtk-mac-integration-gtk3)
+ 
+ 	AC_SUBST(GTK_MAC_CFLAGS)
+ 	AC_SUBST(GTK_MAC_LIBS)
 @@ -190,8 +190,9 @@
  
  IT_PROG_INTLTOOL([0.50.1])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150701/c3e59b3a/attachment-0001.html>


More information about the macports-changes mailing list