[45425] trunk/dports/www/midori

afb at macports.org afb at macports.org
Thu Jan 15 12:46:49 PST 2009


Revision: 45425
          http://trac.macports.org/changeset/45425
Author:   afb at macports.org
Date:     2009-01-15 12:46:48 -0800 (Thu, 15 Jan 2009)
Log Message:
-----------
port upgrade: midori 0.1.1

Modified Paths:
--------------
    trunk/dports/www/midori/Portfile

Added Paths:
-----------
    trunk/dports/www/midori/files/
    trunk/dports/www/midori/files/patch-gjs.c
    trunk/dports/www/midori/files/patch-main.c

Modified: trunk/dports/www/midori/Portfile
===================================================================
--- trunk/dports/www/midori/Portfile	2009-01-15 20:34:02 UTC (rev 45424)
+++ trunk/dports/www/midori/Portfile	2009-01-15 20:46:48 UTC (rev 45425)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name		midori
-version		0.1.0
+version		0.1.1
 categories	www
 description	Midori is a lightweight web browser
 long_description	${description}
@@ -12,10 +12,14 @@
 maintainers	afb at macports.org openmaintainer
 master_sites	http://goodies.xfce.org/releases/midori/
 use_bzip2	yes
-checksums	md5 b0316a886dc22c766ff680324b59b994 \
-		sha1 0066531497e2415f3d10f7cdec63286fb3bd99b7 \
-		rmd160 63949bf5c0fd6bdb4654ec632c59b0d9a34bd081
+checksums	md5 801cb2debb7b60a8c2525a237e37fa18 \
+		sha1 df1176aa584369f04e5e7e76bc4e193af0580ab0 \
+		rmd160 936e9f310ee1d3b9546eee8ed1806bf8d1827d53
 		# glib 2.16.5 or later is required:
 depends_lib	port:gtk2 path:include/gio/gio.h:glib2 \
 		port:webkit-gtk lib:libxml2:libxml2 \
 		port:libtool port:intltool
+
+patchfiles	patch-gjs.c patch-main.c
+
+configure.env-append	LINKFLAGS="-L${prefix}/lib -undefined dynamic_lookup"

Added: trunk/dports/www/midori/files/patch-gjs.c
===================================================================
--- trunk/dports/www/midori/files/patch-gjs.c	                        (rev 0)
+++ trunk/dports/www/midori/files/patch-gjs.c	2009-01-15 20:46:48 UTC (rev 45425)
@@ -0,0 +1,11 @@
+--- ./midori/gjs.c.orig	2008-12-01 09:07:11.000000000 +0100
++++ ./midori/gjs.c	2009-01-15 21:24:11.000000000 +0100
+@@ -1028,6 +1028,8 @@ gjs_global_context_new (void)
+     #else
+     JSGlobalContextRef js_context = JSGlobalContextCreate (NULL);
+     #endif
++    #else
++    JSGlobalContextRef js_context = JSGlobalContextCreate (NULL);
+     #endif
+     JSObjectRef js_object = gjs_object_new (js_context, "GJS", NULL);
+     _js_object_set_property (js_context, JSContextGetGlobalObject (js_context),


Property changes on: trunk/dports/www/midori/files/patch-gjs.c
___________________________________________________________________
Added: svn:eol-style
   + native

Added: trunk/dports/www/midori/files/patch-main.c
===================================================================
--- trunk/dports/www/midori/files/patch-main.c	                        (rev 0)
+++ trunk/dports/www/midori/files/patch-main.c	2009-01-15 20:46:48 UTC (rev 45425)
@@ -0,0 +1,14 @@
+--- ./midori/main.c.orig	2008-12-01 09:07:11.000000000 +0100
++++ ./midori/main.c	2009-01-15 21:29:00.000000000 +0100
+@@ -1143,9 +1143,11 @@ main (int    argc,
+         return 1;
+     }
+ 
++#if HAVE_LIBSOUP
+     /* libSoup uses threads, therefore if WebKit is built with libSoup
+        or Midori is using it, we need to initialize threads. */
+     if (!g_thread_supported ()) g_thread_init (NULL);
++#endif
+     stock_items_init ();
+     g_set_application_name (_("Midori"));
+ 


Property changes on: trunk/dports/www/midori/files/patch-main.c
___________________________________________________________________
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090115/ad192d78/attachment.html>


More information about the macports-changes mailing list