[117264] trunk/dports/gnome
devans at macports.org
devans at macports.org
Thu Feb 20 14:50:14 PST 2014
Revision: 117264
https://trac.macports.org/changeset/117264
Author: devans at macports.org
Date: 2014-02-20 14:50:13 -0800 (Thu, 20 Feb 2014)
Log Message:
-----------
gitg: new port version 0.2.7, maintainer submission (#41931).
Added Paths:
-----------
trunk/dports/gnome/gitg/
trunk/dports/gnome/gitg/Portfile
trunk/dports/gnome/gitg/files/
trunk/dports/gnome/gitg/files/gitg-commit-view-c.diff
Added: trunk/dports/gnome/gitg/Portfile
===================================================================
--- trunk/dports/gnome/gitg/Portfile (rev 0)
+++ trunk/dports/gnome/gitg/Portfile 2014-02-20 22:50:13 UTC (rev 117264)
@@ -0,0 +1,63 @@
+# -*- 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 gitg
+version 0.2.7
+license GPL-2
+set branch [join [lrange [split ${version} .] 0 1] .]
+description GNOME git repository viewer.
+long_description gitg is a fast git repository browser. It currently features: \
+ * Loading large repositories very fast \
+ * Show/browse repository history \
+ * Show highlighted revision diff \
+ * Browse file tree of a revision and export by drag and drop \
+ * Search in the revision history on subject, author or hash \
+ * Switch between history view of branches easily \
+ * Commit view providing per hunk stage/unstage and commit
+
+maintainers gmail.com:juanrgar openmaintainer
+categories gnome devel
+platforms darwin
+homepage http://www.gnome.org/
+master_sites gnome:sources/${name}/${branch}/
+
+use_xz yes
+
+checksums rmd160 0344a5935ee9b2186533dbef01f5a4174b16a0e1 \
+ sha256 c07fc4fc6cef31a06f0b9daa2ed23a5d0f6cb0a10a728324970675fc7001d095
+
+depends_build port:pkgconfig \
+ port:intltool \
+ port:gnome-common \
+ port:autoconf \
+ port:automake \
+ port:libtool
+
+depends_lib port:desktop-file-utils \
+ port:gnome-icon-theme \
+ port:gtk3 \
+ port:gtksourceview3 \
+ port:gsettings-desktop-schemas \
+ port:dbus
+
+depends_run port:gnome-settings-daemon
+
+patchfiles gitg-commit-view-c.diff
+
+# reconfigure with our intltool.m4 using autogen.sh
+
+configure.cmd ./autogen.sh
+
+configure.args --enable-compile-warnings=no \
+ --disable-schemas-compile \
+ --disable-silent-rules
+
+post-activate {
+ system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+ 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"
+}
+
+livecheck.type gnome
Added: trunk/dports/gnome/gitg/files/gitg-commit-view-c.diff
===================================================================
--- trunk/dports/gnome/gitg/files/gitg-commit-view-c.diff (rev 0)
+++ trunk/dports/gnome/gitg/files/gitg-commit-view-c.diff 2014-02-20 22:50:13 UTC (rev 117264)
@@ -0,0 +1,55 @@
+--- gitg/gitg-commit-view.c.orig 2013-12-26 12:38:16.000000000 +0100
++++ gitg/gitg-commit-view.c 2013-12-26 13:04:58.000000000 +0100
+@@ -1668,29 +1668,29 @@
+ gchar *foreground = NULL;
+ gboolean foreground_set = FALSE;
+
+- if (style)
+- {
+- g_object_get (style,
+- "line-background",
+- &background,
+- "line-background-set",
+- &background_set,
+- "foreground",
+- &foreground,
+- "foreground-set",
+- &foreground_set,
+- NULL);
+-
+- if (!background_set)
+- {
+- g_object_get (style,
+- "background",
+- &background,
+- "background-set",
+- &background_set,
+- NULL);
+- }
+- }
++// if (style)
++// {
++// g_object_get (style,
++// "line-background",
++// &background,
++// "line-background-set",
++// &background_set,
++// "foreground",
++// &foreground,
++// "foreground-set",
++// &foreground_set,
++// NULL);
++//
++// if (!background_set)
++// {
++// g_object_get (style,
++// "background",
++// &background,
++// "background-set",
++// &background_set,
++// NULL);
++// }
++// }
+
+ if (background_set)
+ {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140220/02376ad2/attachment.html>
More information about the macports-changes
mailing list