[144188] trunk/dports/www/webkit-gtk-devel

jeremyhu at macports.org jeremyhu at macports.org
Mon Jan 4 00:12:53 PST 2016


Revision: 144188
          https://trac.macports.org/changeset/144188
Author:   jeremyhu at macports.org
Date:     2016-01-04 00:12:53 -0800 (Mon, 04 Jan 2016)
Log Message:
-----------
webkit-gtk-devel: Obsolete.  We have no need for a development version of this port any more

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

Removed Paths:
-------------
    trunk/dports/www/webkit-gtk-devel/files/

Modified: trunk/dports/www/webkit-gtk-devel/Portfile
===================================================================
--- trunk/dports/www/webkit-gtk-devel/Portfile	2016-01-04 08:04:51 UTC (rev 144187)
+++ trunk/dports/www/webkit-gtk-devel/Portfile	2016-01-04 08:12:53 UTC (rev 144188)
@@ -1,248 +1,24 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-# We have an umbrella radar tracking webkit-gtk issues on OS X.  Please relate
-# any future issues with this tracker.
-# http://bugs.webkit.org/show_bug.cgi?id=126492
-
 PortSystem          1.0
-PortGroup           conflicts_build 1.0
-PortGroup           muniversal 1.0
-PortGroup           compiler_blacklist_versions 1.0
 
 name                webkit-gtk-devel
 epoch               2
 version             2.4.9
-revision            1
-description         Apple's WebKit HTML rendering library for GTK+
-long_description    ${description}
-maintainers         jeremyhu devans
+revision            2
 categories          www gnome
-platforms           darwin freebsd
 license             LGPL-2+ BSD
-homepage            http://webkitgtk.org/
-master_sites        http://webkitgtk.org/releases/
 
-use_xz              yes
-distname            webkitgtk-${version}
+subport webkit-gtk3-devel {}
 
-dist_subdir         webkit-gtk
-
-checksums           rmd160  122468435539d69665d5206ae266fb36ff2d86c2 \
-                    sha256  afdf29e7828816cad0be2604cf19421e96d96bf493987328ffc8813bb20ac564
-
-depends_build       port:pkgconfig \
-                    port:gtk-doc \
-                    port:python27 \
-                    port:py27-simplejson
-
-depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
-                    port:bison \
-                    port:flex \
-                    port:enchant \
-                    port:geoclue2 \
-                    port:gobject-introspection \
-                    port:harfbuzz-icu \
-                    port:icu \
-                    port:libxslt \
-                    port:libpng \
-                    port:libsecret \
-                    port:libsoup \
-                    port:mesa \
-                    port:sqlite3 \
-                    port:webp \
-                    port:xorg-libXt
-
-# case-insensitive.patch: https://bugs.webkit.org/show_bug.cgi?id=65811
-# our-icu.patch: No upstream bug report, probably not wanted
-# ruby-1.8.patch: https://bugs.webkit.org/show_bug.cgi?id=126327
-# quartz-webcore.patch: https://bugs.webkit.org/show_bug.cgi?id=126326
-# gstreamer.patch: https://bugs.webkit.org/show_bug.cgi?id=126437
-# libedit.patch: https://bugs.webkit.org/show_bug.cgi?id=127059
-# leopard-malloc.patch: https://bugs.webkit.org/show_bug.cgi?id=140143
-# leopard-platform.patch: https://bugs.webkit.org/show_bug.cgi?id=140143
-# remove-cf-available.patch: https://trac.macports.org/ticket/49849
-
-patchfiles          clang-assertions.patch \
-                    case-insensitive.patch \
-                    our-icu.patch \
-                    ruby-1.8.patch \
-                    quartz-webcore.patch \
-                    gstreamer.patch \
-                    leopard-platform.patch \
-                    leopard-malloc.patch \
-                    libedit.patch \
-                    remove-cf-available.patch
-
-conflicts_build     google-test
-
-# https://trac.macports.org/ticket/36329
-configure.perl      /usr/bin/perl
-configure.python    /usr/bin/python
-
-# --disable-webkit2: https://bugs.webkit.org/show_bug.cgi?id=126416
-# --disable-web-audio: https://bugs.webkit.org/show_bug.cgi?id=126438
-# --disable-jit: https://bugs.webkit.org/show_bug.cgi?id=133293
-configure.args      --disable-webkit2 \
-                    --disable-web-audio \
-                    --enable-x11-target=yes \
-                    --enable-quartz-target=no \
-                    --enable-wayland-target=no \
-                    --enable-introspection \
-                    --disable-video \
-                    --enable-svg \
-                    --enable-geolocation \
-                    --enable-webgl \
-                    --disable-jit
-
-platform darwin {
-    pre-configure {
-        if {${configure.cxx_stdlib} eq "libstdc++"} {
-            ui_error "${subport} is not supported for this installation of MacPorts.  It requires libc++ be selected as your C++ runtime.  Please use ${subport}-2.0 instead"
-            error "unsupported configuration"
-        }
-    }
-}
-
-subport webkit-gtk3-devel {
+if {${subport} eq "webkit-gtk-devel"} {
+    conflicts webkit-gtk webkit-gtk-2.0
+    replaced_by         webkit-gtk
+} elseif {${subport} eq "webkit-gtk3-devel"} {
     conflicts webkit-gtk3 webkit-gtk3-2.0
-    depends_lib-append      port:gtk3
-    configure.args-append   --with-gtk=3.0
-
-#
-# move gtk-docs to allow parallel install with webkit-gtk
-#
-    if {[variant_isset universal]} {
-#
-# using diff to merge derived include files sometimes
-# results in a corrupted file due to nested /* */ blocks
-#
-        global merger_dont_diff
-        set merger_dont_diff    "${prefix}/include/webkitgtk-3.0/webkitdom/WebKitDOMNavigator.h"
-        merger-post-destroot {
-            foreach arch ${universal_archs_to_use} {
-                set docpath ${workpath}/destroot-${arch}${prefix}/share/gtk-doc/html
-                move ${docpath}/webkitgtk ${docpath}/webkitgtk3
-                move ${docpath}/webkitdomgtk ${docpath}/webkitdomgtk3
-                move ${docpath}/webkitgtk3/webkitgtk.devhelp2 ${docpath}/webkitgtk3/webkitgtk3.devhelp2
-            }
-        }
-    } else {
-        post-destroot {
-           set docpath ${destroot}${prefix}/share/gtk-doc/html
-           move ${docpath}/webkitgtk ${docpath}/webkitgtk3
-           move ${docpath}/webkitdomgtk ${docpath}/webkitdomgtk3
-           move ${docpath}/webkitgtk3/webkitgtk.devhelp2 ${docpath}/webkitgtk3/webkitgtk3.devhelp2
-        }
-    }
+    replaced_by         webkit-gtk3
 }
 
-if {${name} eq ${subport}} {
-    conflicts webkit-gtk webkit-gtk-2.0
-    depends_lib-append      port:gtk2
-    configure.args-append   --with-gtk=2.0
-}
+PortGroup           obsolete 1.0
 
-# https://bugs.webkit.org/show_bug.cgi?id=94488
-configure.universal_args-delete --disable-dependency-tracking
-
-# configure checks that we're clang 3.2, gcc 4.7, or better
-compiler.blacklist-append gcc-3.3 gcc-4.0 apple-gcc-4.0 gcc-4.2 apple-gcc-4.2 llvm-gcc-4.2 macports-llvm-gcc-4.2
-compiler.blacklist-append macports-gcc-4.2 macports-gcc-4.3 macports-gcc-4.4 macports-gcc-4.5 macports-gcc-4.6
-compiler.blacklist-append {clang < 425}
-
-# gobject-introspection uses g-ir-scanner, which uses $CC from env
-if {[variant_isset universal]} {
-    foreach arch ${configure.universal_archs} {
-        lappend merger_build_args(${arch})     CC='${configure.cc} -arch ${arch}'
-        lappend merger_destroot_args(${arch})  CC='${configure.cc} -arch ${arch}'
-    }
-} else {
-    build.args-append       CC="${configure.cc} ${configure.cc_archflags}"
-    destroot.args-append    CC="${configure.cc} ${configure.cc_archflags}"
-}
-
-# We don't want to use the headers from the installed WebKit
-configure.cppflags-delete   -I${prefix}/include
-
-# google-test suite build fix
-configure.cppflags-append   -DGTEST_USE_OWN_TR1_TUPLE=1
-
-# https://trac.macports.org/ticket/41560#comment:2
-configure.cflags-append     -ftemplate-depth=256
-configure.cxxflags-append   -ftemplate-depth=256
-
-autoreconf.env-append ACLOCAL="aclocal -I Source/autotools"
-use_autoreconf      yes
-autoreconf.args     -fvi
-
-lappend merger_dont_diff ${prefix}/include/webkitgtk-1.0/webkitdom/WebKitDOMNavigator.h
-
-post-patch {
-    # https://bugs.webkit.org/show_bug.cgi?id=126433
-    reinplace "s/def __APPLE__/ 0/" \
-        ${worksrcpath}/Source/JavaScriptCore/API/WebKitAvailability.h
-
-    # https://bugs.webkit.org/show_bug.cgi?id=58737
-    reinplace "s:OS(MAC_OS_X):PLATFORM(MAC):" \
-        ${worksrcpath}/Source/WTF/wtf/ThreadingPthreads.cpp
-
-    # https://bugs.webkit.org/show_bug.cgi?id=126325
-    reinplace "s:-stdlib=libstdc\+\+::" \
-        ${worksrcpath}/Source/autotools/SetupCompilerFlags.m4
-
-    # https://bugs.webkit.org/show_bug.cgi?id=126329
-    # In file included from Source/JavaScriptCore/runtime/JSGlobalObject.cpp:83:
-    # ./Source/JavaScriptCore/API/ObjCCallbackFunction.h:32:9: fatal error: 'JavaScriptCore/JSCallbackFunction.h' file not found
-    # #import <JavaScriptCore/JSCallbackFunction.h>
-    #         ^
-    reinplace "/^#define JSC_OBJC_API_ENABLED/s/^.*$/#define JSC_OBJC_API_ENABLED 0/" \
-        ${worksrcpath}/Source/JavaScriptCore/API/JSBase.h
-}
-
-# TODO: fix this for muniversal
-# keep it for debug
-#post-destroot {
-#    file copy ${worksrcpath}/Programs/.libs/GtkLauncher ${destroot}${prefix}/bin
-#}
-
-# Apple's gnumake (patched 3.81) gets wedged at some point during the build process
-depends_build-append    port:gmake
-build.cmd               ${prefix}/bin/gmake
-
-build.args-append V=1
-
-# see bug #24622
-variant quartz {
-    configure.args-replace --enable-x11-target=yes --enable-x11-target=no
-    configure.args-replace --enable-quartz-target=no --enable-quartz-target=yes
-    platform darwin {
-        if {${os.major} >= 13} {
-            # TODO: File upstream
-            #       http://trac.macports.org/ticket/41663
-            configure.args-append --disable-accelerated-compositing
-        }
-    }
-
-    # TODO: See if this will build with OpenGL.framework
-    configure.args-delete --enable-webgl
-    depends_lib-delete \
-        port:mesa \
-        port:xorg-libXt
-}
-
-variant video description {Enable HTML5 video support using gstreamer} {
-        depends_lib-append      port:gstreamer1-gst-plugins-base
-        configure.args-delete   --disable-video
-        configure.args-append   --enable-video
-}
-
-default_variants    +video
-
-if {[string match *clang* ${configure.cxx}]} {
-    configure.cxxflags-append -Wno-c++11-extensions
-}
-
-livecheck.type      regex
-livecheck.url       http://webkitgtk.org/releases/
-livecheck.regex     "webkitgtk-(\\d+(?:\\.\\d+)*)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160104/3d6d8604/attachment-0001.html>


More information about the macports-changes mailing list