pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/eog calculate the weekday displayed in metada...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d2421c7408fc
branches:  trunk
changeset: 551434:d2421c7408fc
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Mon Dec 15 19:56:25 2008 +0000

description:
calculate the weekday displayed in metadata in a portable way,
so that it shows the correct one on NetBSD
bump PKGREVISION

diffstat:

 graphics/eog/Makefile         |   3 ++-
 graphics/eog/distinfo         |   3 ++-
 graphics/eog/patches/patch-aa |  12 ++++++++++++
 3 files changed, 16 insertions(+), 2 deletions(-)

diffs (40 lines):

diff -r 71daec02327c -r d2421c7408fc graphics/eog/Makefile
--- a/graphics/eog/Makefile     Mon Dec 15 16:33:24 2008 +0000
+++ b/graphics/eog/Makefile     Mon Dec 15 19:56:25 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.38 2008/12/02 11:39:30 wiz Exp $
+# $NetBSD: Makefile,v 1.39 2008/12/15 19:56:25 drochner Exp $
 #
 
 DISTNAME=      eog-2.24.2
+PKGREVISION=   1
 CATEGORIES=    graphics gnome
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/eog/2.24/}
 EXTRACT_SUFX=  .tar.bz2
diff -r 71daec02327c -r d2421c7408fc graphics/eog/distinfo
--- a/graphics/eog/distinfo     Mon Dec 15 16:33:24 2008 +0000
+++ b/graphics/eog/distinfo     Mon Dec 15 19:56:25 2008 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.13 2008/12/02 11:39:30 wiz Exp $
+$NetBSD: distinfo,v 1.14 2008/12/15 19:56:26 drochner Exp $
 
 SHA1 (eog-2.24.2.tar.bz2) = 0fa538744fe6cea7009bde5b345c27430afeebcb
 RMD160 (eog-2.24.2.tar.bz2) = bedf11b34b51d7dce88800c1630880040407aa0d
 Size (eog-2.24.2.tar.bz2) = 2277300 bytes
+SHA1 (patch-aa) = 092880938f9c91a154f9d97a758f5a25317724c9
diff -r 71daec02327c -r d2421c7408fc graphics/eog/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/eog/patches/patch-aa     Mon Dec 15 19:56:25 2008 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.5 2008/12/15 19:56:26 drochner Exp $
+
+--- src/eog-exif-util.c.orig   2008-10-20 18:31:54.000000000 +0200
++++ src/eog-exif-util.c
+@@ -55,6 +55,7 @@ eog_exif_util_format_date_with_strptime 
+ 
+       if (p == date + strlen (date)) {
+               /* A strftime-formatted string, to display the date the image was taken.  */
++              mktime(&tm);
+               dlen = strftime (tmp_date, DATE_BUF_SIZE * sizeof(gchar), _("%a, %d %B %Y  %X"), &tm);
+               new_date = g_strndup (tmp_date, dlen);
+       }



Home | Main Index | Thread Index | Old Index