[28098] trunk/dports/gnome/liferea

source_changes at macosforge.org source_changes at macosforge.org
Mon Aug 20 17:17:59 PDT 2007


Revision: 28098
          http://trac.macosforge.org/projects/macports/changeset/28098
Author:   vinc17 at macports.org
Date:     2007-08-20 17:17:59 -0700 (Mon, 20 Aug 2007)

Log Message:
-----------
Liferea:
  * Bump to version 1.2.22.
  * Apply patch so that dates with accented letters can be displayed.

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

Added Paths:
-----------
    trunk/dports/gnome/liferea/files/
    trunk/dports/gnome/liferea/files/patch-itemview.c

Modified: trunk/dports/gnome/liferea/Portfile
===================================================================
--- trunk/dports/gnome/liferea/Portfile	2007-08-20 22:35:16 UTC (rev 28097)
+++ trunk/dports/gnome/liferea/Portfile	2007-08-21 00:17:59 UTC (rev 28098)
@@ -2,7 +2,7 @@
 
 PortSystem 1.0
 name                liferea
-version             1.0.27
+version             1.2.22
 description         A feed aggregator for GTK+/GNOME.
 long_description    Liferea is an aggregator for online news feeds. \
                     It supports the RSS/RDF, CDF, Atom, OCS and OPML \
@@ -13,18 +13,26 @@
 platforms           darwin
 homepage            http://liferea.sourceforge.net/
 master_sites        sourceforge
-checksums           md5 af0a43286d4a3362b526c89826e7f851 \
-                    sha1 42a2cf303c0a7d432339f6e6ffa335bd7cbb982d
-depends_lib         port:libgtkhtml port:gconf
+checksums           md5 e76a449651e0b019101207f2f6b0c8be \
+                    sha1 14c6089029f06d9ceb9e4280511d635a24e6c26d \
+                    rmd160 58730c99691062b42fa45a8b0f554e4a53538ca3
+depends_lib         port:gtk2 port:libgtkhtml port:gconf port:libxslt
 
-configure.env       CPPFLAGS="-L${prefix}/lib -I${prefix}/include -I/usr/X11R6/include -L/usr/X11R6/lib" \
-                    CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress"
-configure.args      --mandir=${prefix}/share/man \
-                    --disable-xulrunner \
+configure.args      --disable-xulrunner \
                     --disable-gecko
 
-pre-destroot        {
-                      file mkdir "${destroot}${prefix}/share/doc/${name}"
-                      xinstall -m 644 -v -W ${worksrcpath} AUTHORS ChangeLog \
-                        README "${destroot}${prefix}/share/doc/${name}"
-                    }
+patchfiles          patch-itemview.c
+patch.pre_args      -p1
+
+pre-destroot {
+    file mkdir "${destroot}${prefix}/share/doc/${name}"
+    xinstall -m 644 -v -W ${worksrcpath} AUTHORS ChangeLog README \
+      "${destroot}${prefix}/share/doc/${name}"
+}
+
+post-activate {
+    ui_msg "The date/time format has changed. If you want to override the"
+    ui_msg "new one, you need to run"
+    ui_msg "  gconftool-2 -s -t string /apps/liferea/date-format <format>"
+    ui_msg "where <format> is the format in strftime syntax."
+}

Added: trunk/dports/gnome/liferea/files/patch-itemview.c
===================================================================
--- trunk/dports/gnome/liferea/files/patch-itemview.c	                        (rev 0)
+++ trunk/dports/gnome/liferea/files/patch-itemview.c	2007-08-21 00:17:59 UTC (rev 28098)
@@ -0,0 +1,21 @@
+--- liferea-1.2.22-old/src/itemview.c	2007-03-14 21:57:34.000000000 +0100
++++ liferea-1.2.22-new/src/itemview.c	2007-08-20 04:44:43.000000000 +0200
+@@ -245,15 +245,12 @@
+ /* date format handling (not sure if this is the right place) */
+ 
+ gchar * itemview_format_date(time_t date) {
+-	gchar		*timestr, *tmp;
++	gchar		*timestr;
+ 
+ 	if(itemView_priv.userDefinedDateFmt)
+-		tmp = common_format_date(date, itemView_priv.userDefinedDateFmt);
++		timestr = common_format_date(date, itemView_priv.userDefinedDateFmt);
+ 	else
+-		tmp = common_format_nice_date(date);
+-	
+-	timestr = g_locale_to_utf8(tmp, -1, NULL, NULL, NULL);
+-	g_free(tmp);
++		timestr = common_format_nice_date(date);
+ 	
+ 	return timestr;
+ }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070820/ec37d19f/attachment.html


More information about the macports-changes mailing list