[120510] users/devans/GNOME-3/unstable/dports/gnome/adwaita-icon-theme/ Portfile

devans at macports.org devans at macports.org
Fri May 30 13:42:12 PDT 2014


Revision: 120510
          https://trac.macports.org/changeset/120510
Author:   devans at macports.org
Date:     2014-05-30 13:42:12 -0700 (Fri, 30 May 2014)
Log Message:
-----------
GNOME-3/unstable: adwaita-icon-theme, update description, deactivate gnome-themes-standard < 3.13.0 prior to activatation to prevent conflict, add notes removed from gnome-themes-standard.

Modified Paths:
--------------
    users/devans/GNOME-3/unstable/dports/gnome/adwaita-icon-theme/Portfile

Modified: users/devans/GNOME-3/unstable/dports/gnome/adwaita-icon-theme/Portfile
===================================================================
--- users/devans/GNOME-3/unstable/dports/gnome/adwaita-icon-theme/Portfile	2014-05-30 20:38:20 UTC (rev 120509)
+++ users/devans/GNOME-3/unstable/dports/gnome/adwaita-icon-theme/Portfile	2014-05-30 20:42:12 UTC (rev 120510)
@@ -12,7 +12,8 @@
 platforms           darwin
 description         Adwaita icon theme
 
-long_description    Fullcolor, symbolic and cursor assets for the $description
+long_description    Fullcolor, symbolic and cursor assets for the $description. Previously \
+                    part of gnome-themes-standard
 
 homepage            http://www.gnome.org/
 master_sites        gnome:sources/$name/$branch/
@@ -39,4 +40,25 @@
 use_autoreconf      yes
 autoreconf.args     -fvi
 
+pre-activate {
+    if {![catch {set installed [lindex [registry_active gnome-themes-standard] 0]}]} {
+        set _version [lindex $installed 1]
+        if {[vercmp $_version 3.13.0] < 0} {
+            registry_deactivate_composite gnome-themes-standard "" [list ports_nodepcheck 1]
+        }
+    }
+}
+
+notes "
+You can make Adwaita the default GTK+ 3 theme with:
+------------------------------------------------------
+mkdir -p ~/.config/gtk-3.0 &&
+cat > ~/.config/gtk-3.0/settings.ini << \"EOF\"
+\[Settings\]
+gtk-theme-name = Adwaita
+gtk-fallback-icon-theme = gnome
+EOF
+------------------------------------------------------
+"
+
 livecheck.type      gnome-with-unstable
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140530/3b62479a/attachment.html>


More information about the macports-changes mailing list