[51453] trunk/dports/www/webkit-gtk

devans at macports.org devans at macports.org
Mon May 25 12:02:47 PDT 2009


Revision: 51453
          http://trac.macports.org/changeset/51453
Author:   devans at macports.org
Date:     2009-05-25 12:02:46 -0700 (Mon, 25 May 2009)
Log Message:
-----------
webkit-gtk:

  * updates to stable release version 1.1.7
  * dependencies and configuration updated to reflect configure file defaults
  * variants adjusted to conform to configuration defaults
      * +video is now the default so make variant +no_video instead
      * add new +svg_filters variant, all other svg on by default
      * add new +gnome_keyring to enable this optional support -- off by default
  * patch to autotools/webkit.m4 to correctly set icu library link options requires use of autoconf to correctly rebuild configure.
  * epoch is incremented to 1 to ensure proper version comparison on upgrade.
  * livecheck added
  * add myself as comaintainer with current maintainer's approval (#19754).
  * closes #17468, #19346, #19754 and possibly #19089.

Modified Paths:
--------------
    trunk/dports/www/webkit-gtk/Portfile

Added Paths:
-----------
    trunk/dports/www/webkit-gtk/files/
    trunk/dports/www/webkit-gtk/files/patch-autotools-webkit.m4.diff

Modified: trunk/dports/www/webkit-gtk/Portfile
===================================================================
--- trunk/dports/www/webkit-gtk/Portfile	2009-05-25 11:53:44 UTC (rev 51452)
+++ trunk/dports/www/webkit-gtk/Portfile	2009-05-25 19:02:46 UTC (rev 51453)
@@ -4,49 +4,75 @@
 PortSystem	1.0
 
 name		webkit-gtk
-version		r30707
-revision	1
+version		1.1.7
+epoch           1
 description	Apple's WebKit HTML rendering library for GTK+
 long_description ${description}
-maintainers	gmail.com:myschizobuddy
+maintainers	gmail.com:myschizobuddy devans
 categories	www gnome
 platforms	darwin freebsd
-homepage	http://webkit.org
-master_sites    http://nightly.webkit.org/files/trunk/src/
-distname	WebKit-${version}
-use_bzip2	yes
-checksums	\
-	md5 57f29473a82b70bf72993eae14c5a818 \
-	sha 1i0c777040c7ef2a0ee7097dfbc8dc89b3e4c9a002 \
-	rmd160 4ab419002ce7824797c38699c35f0e85152bd309
+homepage	http://webkitgtk.org/
+master_sites    ${homepage}
 
+distname        webkit-${version}
+
+checksums       md5     f681773e29898509741cd3bc293816f4 \
+                sha1    77d27ab8f0d74ddda349ea9e4416d27d9adb8b61 \
+                rmd160  63dea479e23b62ae6d0abb0e5559c35eed34466d
+
 depends_lib	\
-	port:curl \
 	port:gtk2 \
-	port:icu \
+	port:libsoup \
+        port:icu \
 	port:libxslt \
-	port:sqlite3
+	port:sqlite3 \
+        port:enchant \
+        port:gst-plugins-base
+        
+
 depends_build	\
-	port:libtool \
 	port:pkgconfig
 
-post-patch	{
-	reinplace "s|aclocal |aclocal -I ${prefix}/share/aclocal |" ${worksrcpath}/autogen.sh
+patchfiles      \
+       patch-autotools-webkit.m4.diff
+
+use_autoconf    yes
+
+#
+# video is now enabled by default so make the variant no_video
+#
+
+variant no_video description {Disable HTML5 video support using gstreamer} {
+	depends_lib-delete      port:gst-plugins-base
+	configure.args-append	--disable-video
 }
 
-configure.cmd	./autogen.sh
-configure.args	--enable-svg --enable-icon-database
+#
+# add new variant to support gnome_keyring
+#
 
-variant video description {Add gstreamer video support} {
-	depends_lib-append		port:gstreamer \
-							port:gst-plugins-base \
-							port:gnome-vfs
-	configure.args-append	--enable-video
+variant gnome_keyring description {Enable support for gnomekeyring} {
+        depends_lib-append      port:gnome-keyring
+        configure.args-append   --enable-gnomekeyring
 }
-variant svg_experimental description {Enable SVG experimental features} {
-	configure.args-append	--enable-svg-experimental
+
+#
+# add new variant to enable svg filter support which is disabled by default
+# old --enable-experimental configure arg is no longer available
+#
+
+variant svg_filters description {Enable support for SVG filters (experimental)} {
+	configure.args-append	--enable-svg-filters
 }
-variant no_svg description {Disable SVG support} {
-	configure.args-delete	--enable-svg
+
+#
+# all svg support (except filters) is enabled by default
+#
+
+variant no_svg description {Disable all SVG support} {
 	configure.args-append	--disable-svg
 }
+
+livecheck.check regex
+livecheck.url   http://webkitgtk.org/?page=download
+livecheck.regex "webkit-(\\d+(?:\\.\\d+)*)${extract.suffix}"

Added: trunk/dports/www/webkit-gtk/files/patch-autotools-webkit.m4.diff
===================================================================
--- trunk/dports/www/webkit-gtk/files/patch-autotools-webkit.m4.diff	                        (rev 0)
+++ trunk/dports/www/webkit-gtk/files/patch-autotools-webkit.m4.diff	2009-05-25 19:02:46 UTC (rev 51453)
@@ -0,0 +1,11 @@
+--- autotools/webkit.m4.orig	2009-01-31 07:10:45.000000000 -0800
++++ autotools/webkit.m4	2009-05-24 13:35:44.000000000 -0700
+@@ -133,7 +133,7 @@
+ if test "$unicode_backend" = "icu"; then
+ 	if test "$os_darwin" = "yes"; then
+ 		UNICODE_CFLAGS="-I\$(srcdir)/JavaScriptCore/icu -I\$(srcdir)/WebCore/icu"
+-		UNICODE_LIBS="-licucore"
++		UNICODE_LIBS="-licui18n -licuuc"
+ 	elif test "$os_win32" = "yes"; then
+ 		UNICODE_CFLAGS=""
+ 		UNICODE_LIBS="-licuin -licuuc"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090525/21acb27e/attachment.html>


More information about the macports-changes mailing list