[134882] trunk/dports/gnome/gnome-chemistry-utils/Portfile

devans at macports.org devans at macports.org
Thu Apr 9 08:48:42 PDT 2015


Revision: 134882
          https://trac.macports.org/changeset/134882
Author:   devans at macports.org
Date:     2015-04-09 08:48:42 -0700 (Thu, 09 Apr 2015)
Log Message:
-----------
gnome-chemistry-utils: update dependencies, configuration, don't use catch in port-activate post-deactivate which obscures processing errors, remove +quartz oriented notes (no +quartz).

Modified Paths:
--------------
    trunk/dports/gnome/gnome-chemistry-utils/Portfile

Modified: trunk/dports/gnome/gnome-chemistry-utils/Portfile
===================================================================
--- trunk/dports/gnome/gnome-chemistry-utils/Portfile	2015-04-09 13:14:34 UTC (rev 134881)
+++ trunk/dports/gnome/gnome-chemistry-utils/Portfile	2015-04-09 15:48:42 UTC (rev 134882)
@@ -7,7 +7,7 @@
 
 name                gnome-chemistry-utils
 version             0.14.2
-revision            1
+revision            2
 set major           [join [lrange [split ${version} .] 0 1] .]
 
 categories          gnome science chemistry
@@ -38,8 +38,12 @@
                     port:intltool \
                     port:pkgconfig
                     
-depends_lib         port:goffice \
+depends_lib         port:desktop-file-utils \
+                    port:rarian \
+                    port:shared-mime-info \
                     port:gnome-doc-utils \
+                    port:gtk3 \
+                    port:goffice \
                     port:openbabel \
                     port:bodr \
                     port:chemical-mime-data \
@@ -47,43 +51,38 @@
                     port:libGLU \
                     port:mesa
 
-configure.args      --disable-scrollkeeper \
+depends_run         port:gnome-themes-standard \
+                    port:yelp
+
+configure.args      --disable-mozilla-plugin \
+                    --disable-scrollkeeper \
+                    --disable-schemas-compile \
                     --disable-update-databases
 
 # compiling with clang leads to gchempaint's close button being broken, #39863
 compiler.blacklist  *clang*
 
-
 # TODO: work with the upstream devs to make a +quartz variant…
 #       currently it fails to build in a +quartz environment
 #       due to <gdk/gdkx.h> and OpenGL dependencies in the code.
 require_active_variants gtk3 x11
 
 post-activate {
-    catch {system "${prefix}/bin/update-mime-database ${prefix}/share/mime"}
-    catch {system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"}
-    catch {system "${prefix}/bin/scrollkeeper-update"}
-    catch {system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"}
-    catch {system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"}
+    system "${prefix}/bin/update-mime-database ${prefix}/share/mime"
+    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+    system "${prefix}/bin/scrollkeeper-update"
+    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
+    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
 }
 
 post-deactivate {
-    catch {system "${prefix}/bin/update-mime-database ${prefix}/share/mime"}
-    catch {system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"}
-    catch {system "${prefix}/bin/scrollkeeper-update"}
-    catch {system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"}
-    catch {system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"}
+    system "${prefix}/bin/update-mime-database ${prefix}/share/mime"
+    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+    system "${prefix}/bin/scrollkeeper-update"
+    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
+    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
 }
 
-notes \
-"Recommended supplementary ports:
-    gnome-themes-standard  provides the default Gnome Adwaita theme
-    yelp                   provides a help browser for Gnome apps
-
---- NOTICE ---
-gchemcalc is known to be broken on OS X
-gchemtable is known to crash on launch on OS X"
-
 livecheck.type  regex
 livecheck.url   ${master_sites}
 livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150409/aad58f8d/attachment-0001.html>


More information about the macports-changes mailing list