Ticket #19346: webkit.patch

File webkit.patch, 3.4 KB (added by mtalexander (Mike Alexander), 15 years ago)

Update webkit-gtk and libsoup

  • dports/gnome/libsoup/Portfile

     
    44PortSystem      1.0
    55
    66name            libsoup
    7 version         2.24.3
     7version         2.26.1
    88set branch      [join [lrange [split ${version} .] 0 1] .]
    99categories      gnome net
    1010platforms       darwin
     
    2323master_sites    gnome:sources/${name}/${branch}/
    2424use_bzip2       yes
    2525
    26 checksums       md5     118967f097a7e1e9d5023f1f06e0b65a \
    27                 sha1    b63cf9c0bc20264c59e84dea73eb76862be9329c \
    28                 rmd160  9000d0355e65879f4031278bead9a4ad61a2bdea
     26checksums       md5     94c0495dc8bf213709bdb175ab224c7e \
     27                sha1    ef5e1b921b013b893163f13c848dc7ee279d822c \
     28                rmd160  627da2989062a71748df1c716cf122db7e3bae74
    2929
    3030depends_lib \
    3131    port:libxml2 \
     
    3434
    3535use_parallel_build  yes
    3636
     37configure.args  --without-gnome
     38
     39variant gnome description "Build libsoup-gnome library" {
     40    configure.args-delete --without-gnome
     41}
     42
    3743test.run        yes
    3844test.target     check
    3945
  • dports/www/webkit-gtk/Portfile

     
    44PortSystem      1.0
    55
    66name            webkit-gtk
    7 version         r30707
     7version         r42583
    88revision        1
    99description     Apple's WebKit HTML rendering library for GTK+
    1010long_description ${description}
     
    1616distname        WebKit-${version}
    1717use_bzip2       yes
    1818checksums       \
    19         md5 57f29473a82b70bf72993eae14c5a818 \
    20         sha 1i0c777040c7ef2a0ee7097dfbc8dc89b3e4c9a002 \
    21         rmd160 4ab419002ce7824797c38699c35f0e85152bd309
     19     md5     e0c1dab1ac6af0b6649f56ddb4390611 \
     20     sha1    e04f7db3b95467d506979bfeaaab721c5fb29da2 \
     21     rmd160  7eac6763bac5f0a0a89ecb52f14d65f337642833
    2222
    2323depends_lib     \
    2424        port:curl \
    2525        port:gtk2 \
    2626        port:icu \
    2727        port:libxslt \
    28         port:sqlite3
     28        port:sqlite3 \
     29        port:libsoup \
     30        port:gstreamer \
     31        port:gst-plugins-base
    2932depends_build   \
    3033        port:libtool \
    3134        port:pkgconfig
    3235
     36patchfiles corefoundation.patch \
     37           icu_config.patch
     38           
    3339post-patch      {
    3440        reinplace "s|aclocal |aclocal -I ${prefix}/share/aclocal |" ${worksrcpath}/autogen.sh
    3541}
     
    5056        configure.args-delete   --enable-svg
    5157        configure.args-append   --disable-svg
    5258}
     59
     60variant debug description {Enable debugging} {
     61    configure.args-append   --enable-debug
     62}
  • dports/www/webkit-gtk/files/icu_config.patch

    old new  
     1--- autotools.old/webkit.m4     2009-04-17 23:34:59.000000000 -0400
     2+++ autotools/webkit.m4 2009-04-17 23:37:21.000000000 -0400
     3@@ -131,14 +131,14 @@
     4 AC_MSG_RESULT([$unicode_backend])
     5 
     6 if test "$unicode_backend" = "icu"; then
     7-       if test "$os_darwin" = "yes"; then
     8+       AC_PATH_PROG(icu_config, icu-config, no)
     9+       if test "$os_darwin" = "yes" && test "$icu_config" = "no"; then
     10                UNICODE_CFLAGS="-I\$(srcdir)/JavaScriptCore/icu -I\$(srcdir)/WebCore/icu"
     11                UNICODE_LIBS="-licucore"
     12        elif test "$os_win32" = "yes"; then
     13                UNICODE_CFLAGS=""
     14                UNICODE_LIBS="-licuin -licuuc"
     15        else
     16-               AC_PATH_PROG(icu_config, icu-config, no)
     17                if test "$icu_config" = "no"; then
     18                        AC_MSG_ERROR([Cannot find icu-config. The ICU library is needed.])
     19                fi