[33068] trunk/dports/gnome/gtksourceview

nox at macports.org nox at macports.org
Thu Jan 17 06:05:52 PST 2008


Revision: 33068
          http://trac.macosforge.org/projects/macports/changeset/33068
Author:   nox at macports.org
Date:     2008-01-17 06:05:40 -0800 (Thu, 17 Jan 2008)

Log Message:
-----------
gtksourceview:
 * Linted.
 * Fixed dependencies.
 * Added sha1 and rmd160 checksums.
 * Added livecheck.

Modified Paths:
--------------
    trunk/dports/gnome/gtksourceview/Portfile

Added Paths:
-----------
    trunk/dports/gnome/gtksourceview/files/patch-gtksourceregex.c.diff

Removed Paths:
-------------
    trunk/dports/gnome/gtksourceview/files/patch_gtksourceregex.c

Modified: trunk/dports/gnome/gtksourceview/Portfile
===================================================================
--- trunk/dports/gnome/gtksourceview/Portfile	2008-01-17 13:55:09 UTC (rev 33067)
+++ trunk/dports/gnome/gtksourceview/Portfile	2008-01-17 14:05:40 UTC (rev 33068)
@@ -4,6 +4,8 @@
 
 name            gtksourceview
 version         1.8.5
+revision        1
+set branch      [join [lrange [split ${version} .] 0 1] .]
 maintainers     nomaintainer
 categories      gnome
 platforms       darwin 
@@ -14,43 +16,30 @@
     text widget GtkTextView. It improves GtkTextView by implementing \
     syntax highlighting and other features typical of a source editor.
 
-homepage        http://cvs.gnome.org/lxr/source/gtksourceview
-master_sites    gnome:sources/${name}/1.8/
+homepage        http://cvs.gnome.org/lxr/source/gtksourceview/
+master_sites    gnome:sources/${name}/${branch}/
 use_bzip2       yes
 
-checksums       rmd160 978c59d5f99baeb5d8b9c3c14246ffc48ce150f8
+checksums       md5 de67df2944c1cccbc2d0b4a738e11050 \
+                sha1 4e61b6cda043c44dc918edecd2bd9ccfc5438d2c \
+                rmd160 978c59d5f99baeb5d8b9c3c14246ffc48ce150f8
 
-depends_lib     lib:libXft.2.1.2:Xft2 \
-                port:freetype \
-                port:fontconfig \
-                port:tiff \
-                lib:libatk-1.0:atk \
-                bin:gconftool-2:gconf \
-                lib:libgettextlib:gettext \
-                lib:libglib-2.0:glib2 \
-                lib:libgnomevfs-2:gnome-vfs \
-                lib:libgtk-x11-2.0:gtk2 \
-                lib:libgnomecanvas-2:libgnomecanvas \
-                lib:libart_lgpl_2:libart_lgpl \
-                lib:libbonobo-2:libbonobo \
-                port:zlib \
-                bin:orbit-idl-2:orbit2 \
+depends_build   port:intltool
+
+depends_lib     port:gtk2 \
+                port:gnome-vfs \
                 port:libxml2 \
-                lib:libpangoft2-1.0:pango \
-                lib:libgnomeprintui:libgnomeprintui \
-                port:gnuregex \
-                port:xrender \
-                lib:libexpat:expat \
-                lib:libiconv:libiconv \
-                lib:libpng:libpng \
-                port:popt \
-                lib:libjpeg:jpeg \
-                lib:libgnomeprint-2-2:libgnomeprint \
-                lib:libcairo:cairo
+                port:libgnomeprint \
+                port:libgnomeprintui \
+                port:gettext \
+                port:gnuregex
 
-patchfiles      patch_gtksourceregex.c
+patchfiles      patch-gtksourceregex.c.diff
 
-configure.args  --mandir=${prefix}/share/man \
-                --enable-gnuregex
+configure.args  --enable-gnuregex
 
-configure.cppflags-append   "-L${prefix}/lib" 
+configure.cppflags-append   -L${prefix}/lib
+
+livecheck.check regex
+livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}

Copied: trunk/dports/gnome/gtksourceview/files/patch-gtksourceregex.c.diff (from rev 33064, trunk/dports/gnome/gtksourceview/files/patch_gtksourceregex.c)
===================================================================
--- trunk/dports/gnome/gtksourceview/files/patch-gtksourceregex.c.diff	                        (rev 0)
+++ trunk/dports/gnome/gtksourceview/files/patch-gtksourceregex.c.diff	2008-01-17 14:05:40 UTC (rev 33068)
@@ -0,0 +1,16 @@
+--- gtksourceview/gtksourceregex.c.org	Fri Nov 28 11:23:58 2003
++++ gtksourceview/gtksourceregex.c	Fri Nov 28 11:24:18 2003
+@@ -26,12 +26,7 @@
+ #include <stdlib.h>
+ #include <glib.h>
+ 
+-#ifdef NATIVE_GNU_REGEX
+-#include <sys/types.h>
+-#include <regex.h>
+-#else
+-#include "gnu-regex/regex.h"
++#include <gnuregex.h>
+-#endif
+ 
+ #include "gtksourceview-i18n.h"
+ #include "gtksourceregex.h"

Deleted: trunk/dports/gnome/gtksourceview/files/patch_gtksourceregex.c
===================================================================
--- trunk/dports/gnome/gtksourceview/files/patch_gtksourceregex.c	2008-01-17 13:55:09 UTC (rev 33067)
+++ trunk/dports/gnome/gtksourceview/files/patch_gtksourceregex.c	2008-01-17 14:05:40 UTC (rev 33068)
@@ -1,16 +0,0 @@
---- gtksourceview/gtksourceregex.c.org	Fri Nov 28 11:23:58 2003
-+++ gtksourceview/gtksourceregex.c	Fri Nov 28 11:24:18 2003
-@@ -26,12 +26,7 @@
- #include <stdlib.h>
- #include <glib.h>
- 
--#ifdef NATIVE_GNU_REGEX
--#include <sys/types.h>
--#include <regex.h>
--#else
--#include "gnu-regex/regex.h"
-+#include <gnuregex.h>
--#endif
- 
- #include "gtksourceview-i18n.h"
- #include "gtksourceregex.h"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080117/9914d670/attachment-0001.html


More information about the macports-changes mailing list