Ticket #25729: midori-0.2.6.diff
File midori-0.2.6.diff, 3.0 KB (added by elelay (Eric Le Lay), 14 years ago) |
---|
-
files/patch-extensions-mouse-gestures-c.diff
1 --- extensions/mouse-gestures.c.orig 2010-05-24 19:34:44.000000000 +0200 2 +++ extensions/mouse-gestures.c 2010-07-17 19:02:02.000000000 +0200 3 @@ -25,7 +25,7 @@ 4 struct MouseGestureNode { 5 double x; 6 double y; 7 -} MouseGestureNode_t; 8 +}; 9 10 struct _MouseGesture { 11 MouseButton button; 12 @@ -38,7 +38,7 @@ 13 #define DEVIANCE 20 14 #define MINLENGTH 50 15 16 -MouseGesture *gesture; 17 +MouseGesture *gesture = NULL; 18 19 void mouse_gesture_clear (MouseGesture *g) 20 { -
files/patch-midori-main-c.diff
1 --- midori/main.c.old 2010-05-24 19:34:44.000000000 +0200 2 +++ midori/main.c 2010-07-18 20:09:28.000000000 +0200 3 @@ -59,7 +59,7 @@ 4 #include <X11/extensions/scrnsaver.h> 5 #include <gdk/gdkx.h> 6 #endif 7 - 8 +#define G_MODULE_SUFFIX "dylib" 9 static gchar* 10 build_config_filename (const gchar* filename) 11 { -
Portfile
3 3 PortSystem 1.0 4 4 5 5 name midori 6 version 0.1.2 7 revision 1 6 version 0.2.6 8 7 categories www 9 8 description Midori is a lightweight web browser 10 9 long_description ${description} 11 10 homepage http://www.twotoasts.de/index.php?/pages/midori_summary.html 12 11 platforms darwin 13 12 maintainers afb openmaintainer 14 master_sites http://goodies.xfce.org/releases/midori/ 13 14 set branch [join [lrange [split ${version} .] 0 1] .] 15 master_sites http://archive.xfce.org/src/apps/midori/${branch} 15 16 use_bzip2 yes 16 checksums md5 5169ead6783f374cedf3f89bf399bd75 \ 17 sha1 7bcace4b766da58e312b494220b15e88a983b8ac \ 18 rmd160 d7756231bd86aea5f5535d10bed0daa7128e3fe7 17 18 checksums md5 249ddb3485d8246e0fda25dd735953f0 \ 19 sha1 c70f6d75e2ea2947dcf05201192b9405bb4036f4 \ 20 rmd160 9086330cedc3dba15474dc0c6919fbffeba7d296 21 22 # patch-extensions-mouse-gestures-c.diff reported as 23 # http://www.twotoasts.de/bugs/index.php?do=details&task_id=903 24 # patch-midori-main-c.diff lets extensions be found 25 patchfiles patch-extensions-mouse-gestures-c.diff \ 26 patch-midori-main-c.diff 27 19 28 # glib 2.16.5 or later is required: 20 29 depends_lib port:gtk2 path:include/gio/gio.h:glib2 \ 21 30 port:webkit-gtk lib:libxml2:libxml2 \ 22 port:libtool port:intltool 31 port:libtool port:intltool \ 32 port:libunique port:libnotify port:vala 33 # last line is optional 23 34 35 # libnotify doesn't build without X11 (that is on a gtk +quartz stack) 36 variant no_x11 { 37 depends_lib-delete port:libnotify 38 configure.cmd-append --disable-libnotify 39 } 40 24 41 configure.env-append LINKFLAGS="-L${prefix}/lib -undefined dynamic_lookup"