misc/134738: Update ports: www/midori to 0.1.6

Eric L. Chen d9364104 at mail.nchu.edu.tw
Sat May 23 03:10:50 UTC 2009


Replace operating system string from Linux to FreeBSD in User-Agent ident.

On Wed, May 20, 2009 at 2:20 PM, <FreeBSD-gnats-submit at freebsd.org> wrote:

> Thank you very much for your problem report.
> It has the internal identification `misc/134738'.
> The individual assigned to look at your
> report is: freebsd-bugs.
>
> You can access the state of your problem report at any time
> via this link:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=134738
>
> >Category:       misc
> >Responsible:    freebsd-bugs
> >Synopsis:       Update ports: www/midori to 0.1.6
> >Arrival-Date:   Wed May 20 06:20:01 UTC 2009
>
-------------- next part --------------
diff -purN www/midori.orig/Makefile www/midori/Makefile
--- www/midori.orig/Makefile	2009-05-23 10:18:22.000000000 +0800
+++ www/midori/Makefile	2009-05-23 10:25:16.000000000 +0800
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	midori
-PORTVERSION=	0.1.2
+PORTVERSION=	0.1.6
 CATEGORIES=	www
 MASTER_SITES=	http://goodies.xfce.org/releases/${PORTNAME}/
 
@@ -44,4 +44,8 @@ CONFIGURE_ARGS+=	--disable-nls
 PLIST_SUB+=	NLS="@comment "
 .endif
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|%%OS_IDENT%%|${OPSYS} ${MACHINE}|' \
+		${WRKSRC}/midori/midori-websettings.c
+
 .include <bsd.port.post.mk>
diff -purN www/midori.orig/distinfo www/midori/distinfo
--- www/midori.orig/distinfo	2009-05-23 10:18:22.000000000 +0800
+++ www/midori/distinfo	2009-05-23 10:18:38.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (midori-0.1.2.tar.bz2) = 5169ead6783f374cedf3f89bf399bd75
-SHA256 (midori-0.1.2.tar.bz2) = a966641cf1b6e18e4f58aa3585a9a63905ed50252883804c006a3263674a32ec
-SIZE (midori-0.1.2.tar.bz2) = 311182
+MD5 (midori-0.1.6.tar.bz2) = afed64074b2ed195aae171b2178650e1
+SHA256 (midori-0.1.6.tar.bz2) = e6cc1b6da8a7af99ba9298e0cb4aac790595f04e04497ea8c2bb4b48c44feb5f
+SIZE (midori-0.1.6.tar.bz2) = 390115
diff -purN www/midori.orig/files/patch-midori_midori-websettings.c www/midori/files/patch-midori_midori-websettings.c
--- www/midori.orig/files/patch-midori_midori-websettings.c	1970-01-01 08:00:00.000000000 +0800
+++ www/midori/files/patch-midori_midori-websettings.c	2009-05-23 10:21:42.000000000 +0800
@@ -0,0 +1,11 @@
+--- midori/midori-websettings.c.orig	2009-05-23 10:19:09.000000000 +0800
++++ midori/midori-websettings.c	2009-05-23 10:20:00.000000000 +0800
+@@ -960,7 +960,7 @@ generate_ident_string (MidoriIdentity id
+         String::format ("%s %s", name.sysname, name.machine);
+     else
+         "Unknown";*/
+-    "Linux";
++    "%%OS_IDENT%%";
+     #elif defined (G_OS_WIN32)
+     // FIXME: Windows NT version
+     "Windows";
diff -purN www/midori.orig/pkg-plist www/midori/pkg-plist
--- www/midori.orig/pkg-plist	2009-05-23 10:18:22.000000000 +0800
+++ www/midori/pkg-plist	2009-05-23 10:18:38.000000000 +0800
@@ -1,7 +1,9 @@
 bin/midori
 lib/midori/libpage-holder.so
-lib/midori/libtab-panel.so
 lib/midori/libstatusbar-features.so
+lib/midori/libcolorful-tabs.so
+lib/midori/libcookie-manager.so
+lib/midori/libmouse-gestures.so
 %%NLS%%share/applications/midori.desktop
 %%DOCSDIR%%/AUTHORS
 %%DOCSDIR%%/ChangeLog
@@ -30,8 +32,10 @@ share/icons/hicolor/48x48/status/news-fe
 %%NLS%%share/locale/fi/LC_MESSAGES/midori.mo
 %%NLS%%share/locale/fr/LC_MESSAGES/midori.mo
 %%NLS%%share/locale/gl/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/he/LC_MESSAGES/midori.mo
 %%NLS%%share/locale/hu/LC_MESSAGES/midori.mo
 %%NLS%%share/locale/id/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/it/LC_MESSAGES/midori.mo
 %%NLS%%share/locale/ja/LC_MESSAGES/midori.mo
 %%NLS%%share/locale/nl/LC_MESSAGES/midori.mo
 %%NLS%%share/locale/pl/LC_MESSAGES/midori.mo
@@ -40,6 +44,8 @@ share/icons/hicolor/48x48/status/news-fe
 %%NLS%%share/locale/sv/LC_MESSAGES/midori.mo
 %%NLS%%share/locale/tr/LC_MESSAGES/midori.mo
 %%NLS%%share/locale/uk/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/midori.mo
 share/midori/logo-shade.png
 @dirrm lib/midori
 @dirrm share/midori


More information about the freebsd-bugs mailing list