[115244] trunk/dports/gnome/regexxer
devans at macports.org
devans at macports.org
Sun Dec 29 22:17:14 PST 2013
Revision: 115244
https://trac.macports.org/changeset/115244
Author: devans at macports.org
Date: 2013-12-29 22:17:14 -0800 (Sun, 29 Dec 2013)
Log Message:
-----------
regexxer: update to version 0.10, use gnome master_sites, livecheck.
Modified Paths:
--------------
trunk/dports/gnome/regexxer/Portfile
Added Paths:
-----------
trunk/dports/gnome/regexxer/files/patch-Makefile.am.diff
trunk/dports/gnome/regexxer/files/patch-configure.ac.diff
trunk/dports/gnome/regexxer/files/patch-fix-compilation.diff
Removed Paths:
-------------
trunk/dports/gnome/regexxer/files/patch-glib-2.32.diff
Modified: trunk/dports/gnome/regexxer/Portfile
===================================================================
--- trunk/dports/gnome/regexxer/Portfile 2013-12-30 05:49:20 UTC (rev 115243)
+++ trunk/dports/gnome/regexxer/Portfile 2013-12-30 06:17:14 UTC (rev 115244)
@@ -4,8 +4,8 @@
PortSystem 1.0
name regexxer
-version 0.9
-revision 1
+version 0.10
+set branch [join [lrange [split ${version} .] 0 1] .]
categories gnome
license GPL-2+
platforms darwin
@@ -15,20 +15,37 @@
long_description regexxer is a nifty search/replace tool for the \
desktop user. It features recursive search through \
- directory trees and Perl-style regular expressions \
- (using libpcre).
+ directory trees and Perl-style regular expressions.
homepage http://${name}.sourceforge.net
-master_sites sourceforge:project/${name}/${name}/${version}
+master_sites gnome:sources/${name}/${branch}/
-checksums md5 3c45ed51f28c3d1c7228dff7fb904459 \
- sha1 eb2019d3abcf1a8644d586f581d9aa88ccb5f8b4
+use_xz yes
-depends_build port:intltool \
- port:pkgconfig
+checksums rmd160 e8223914e09472e0e75ec8c41fd3db926f051236 \
+ sha256 2a7832541a0306b3d4eb63a1cf8978d7bbfc7927e9304473fe801d71fd99736c
-depends_lib port:pcre \
- port:gconfmm \
- port:libglademm
+depends_build port:pkgconfig \
+ port:intltool \
+ port:autoconf \
+ port:automake \
+ port:libtool
-patchfiles patch-glib-2.32.diff
+depends_lib port:desktop-file-utils \
+ port:gtkmm3 \
+ port:gtksourceviewmm3
+
+patchfiles patch-configure.ac.diff \
+ patch-Makefile.am.diff \
+ patch-fix-compilation.diff
+
+configure.cmd ./autogen.sh
+configure.args --disable-schemas-compile
+
+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-with-unstable
Added: trunk/dports/gnome/regexxer/files/patch-Makefile.am.diff
===================================================================
--- trunk/dports/gnome/regexxer/files/patch-Makefile.am.diff (rev 0)
+++ trunk/dports/gnome/regexxer/files/patch-Makefile.am.diff 2013-12-30 06:17:14 UTC (rev 115244)
@@ -0,0 +1,13 @@
+--- Makefile.am.orig 2013-12-29 19:22:48.000000000 -0800
++++ Makefile.am 2013-12-29 19:23:07.000000000 -0800
+@@ -107,8 +107,8 @@
+ @INTLTOOL_DESKTOP_RULE@
+ @INTLTOOL_XML_NOMERGE_RULE@
+
+-install-data-hook: install-update-icon-cache
+- $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
++#install-data-hook: install-update-icon-cache
++# $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
+ #$(gsettingsupdateschemacache) $(gsettingsschemadir)
+
+ uninstall-hook: uninstall-update-icon-cache
Added: trunk/dports/gnome/regexxer/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/gnome/regexxer/files/patch-configure.ac.diff (rev 0)
+++ trunk/dports/gnome/regexxer/files/patch-configure.ac.diff 2013-12-30 06:17:14 UTC (rev 115244)
@@ -0,0 +1,11 @@
+--- configure.ac 2011-10-06 06:01:20.000000000 -0700
++++ configure.ac.orig 2013-12-29 19:19:06.000000000 -0800
+@@ -40,7 +40,7 @@
+ gtksourceviewmm-3.0 >= 2.91.5])
+
+ DK_PKG_PATH_PROG([GDK_PIXBUF_CSOURCE], [gdk-pixbuf-2.0], [gdk-pixbuf-csource])
+-DK_PKG_PATH_PROG([GTK_UPDATE_ICON_CACHE], [gtk+-2.0], [gtk-update-icon-cache])
++DK_PKG_PATH_PROG([GTK_UPDATE_ICON_CACHE], [gtk+-3.0], [gtk-update-icon-cache-3.0])
+
+ GLIB_GSETTINGS
+
Added: trunk/dports/gnome/regexxer/files/patch-fix-compilation.diff
===================================================================
--- trunk/dports/gnome/regexxer/files/patch-fix-compilation.diff (rev 0)
+++ trunk/dports/gnome/regexxer/files/patch-fix-compilation.diff 2013-12-30 06:17:14 UTC (rev 115244)
@@ -0,0 +1,46 @@
+From 891327ee82e327314429609aeb5a60faed5487ba Mon Sep 17 00:00:00 2001
+From: Fabien Parent <f-parent at ti.com>
+Date: Fri, 16 Nov 2012 13:31:13 +0000
+Subject: Fix compilation
+
+---
+diff --git a/src/fileshared.h b/src/fileshared.h
+index aa0698f..0a20cf0 100644
+--- src/fileshared.h
++++ src/fileshared.h
+@@ -24,6 +24,7 @@
+ #include "sharedptr.h"
+
+ #include <gtkmm/textbuffer.h>
++#include <glibmm/regex.h>
+ #include <functional>
+ #include <utility>
+ #include <vector>
+diff --git a/src/globalstrings.h b/src/globalstrings.h
+index 49cecb1..e51ab22 100644
+--- src/globalstrings.h
++++ src/globalstrings.h
+@@ -21,7 +21,7 @@
+ #ifndef REGEXXER_GLOBALSTRINGS_H_INCLUDED
+ #define REGEXXER_GLOBALSTRINGS_H_INCLUDED
+
+-#include <glib/gutils.h> /* for G_DIR_SEPARATOR_S */
++#include <glib.h> /* for G_DIR_SEPARATOR_S */
+
+ namespace Regexxer
+ {
+diff --git a/src/translation.h b/src/translation.h
+index 553aa9f..a2a1c66 100644
+--- src/translation.h
++++ src/translation.h
+@@ -21,7 +21,7 @@
+ #ifndef REGEXXER_TRANSLATION_H_INCLUDED
+ #define REGEXXER_TRANSLATION_H_INCLUDED
+
+-#include <glib/gmacros.h>
++#include <glib.h>
+ #include <glibmm/ustring.h>
+
+ #ifndef gettext_noop
+--
+cgit v0.9.2
Deleted: trunk/dports/gnome/regexxer/files/patch-glib-2.32.diff
===================================================================
--- trunk/dports/gnome/regexxer/files/patch-glib-2.32.diff 2013-12-30 05:49:20 UTC (rev 115243)
+++ trunk/dports/gnome/regexxer/files/patch-glib-2.32.diff 2013-12-30 06:17:14 UTC (rev 115244)
@@ -1,22 +0,0 @@
---- src/globalstrings.h.orig 2007-01-12 21:16:03.000000000 -0600
-+++ src/globalstrings.h 2012-05-10 09:44:17.000000000 -0500
-@@ -21,7 +21,7 @@
- #ifndef REGEXXER_GLOBALSTRINGS_H_INCLUDED
- #define REGEXXER_GLOBALSTRINGS_H_INCLUDED
-
--#include <glib/gutils.h> /* for G_DIR_SEPARATOR_S */
-+#include <glib.h> /* for G_DIR_SEPARATOR_S */
-
- namespace Regexxer
- {
---- src/translation.h.orig 2007-02-01 16:55:00.000000000 -0600
-+++ src/translation.h 2012-05-10 09:44:17.000000000 -0500
-@@ -21,7 +21,7 @@
- #ifndef REGEXXER_TRANSLATION_H_INCLUDED
- #define REGEXXER_TRANSLATION_H_INCLUDED
-
--#include <glib/gmacros.h>
-+#include <glib.h>
- #include <glibmm/ustring.h>
-
- #ifndef gettext_noop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131229/9028da06/attachment.html>
More information about the macports-changes
mailing list