summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-01-22 23:59:01 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-01-22 23:59:01 +0700
commit1b845d8f19f0d0b13676990ecf39f64351ee6669 (patch)
treea65987c686e780fbdffca36474fabdc9c8fb1d68
parent71e193db1c8567344818bd2da620dc76b347e701 (diff)
downloadslackbuilds-1b845d8f19f0d0b13676990ecf39f64351ee6669.tar.gz
libraries/webkitgtk: Removed.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/webkitgtk/README4
-rw-r--r--libraries/webkitgtk/bison-3.7.1.patch18
-rw-r--r--libraries/webkitgtk/glib-2.68.0.patch29
-rw-r--r--libraries/webkitgtk/icu4c-65.1.patch39
-rw-r--r--libraries/webkitgtk/slack-desc19
-rw-r--r--libraries/webkitgtk/webkitgtk-2.4.9-abs.patch28
-rw-r--r--libraries/webkitgtk/webkitgtk.SlackBuild118
-rw-r--r--libraries/webkitgtk/webkitgtk.info10
8 files changed, 0 insertions, 265 deletions
diff --git a/libraries/webkitgtk/README b/libraries/webkitgtk/README
deleted file mode 100644
index 9472d468e7..0000000000
--- a/libraries/webkitgtk/README
+++ /dev/null
@@ -1,4 +0,0 @@
-WebKitGTK+ is the port of the portable web rendering
-engine WebKit to the GTK+ platform.
-
-geoclue (to enable support for geolocation) is an optional dep.
diff --git a/libraries/webkitgtk/bison-3.7.1.patch b/libraries/webkitgtk/bison-3.7.1.patch
deleted file mode 100644
index 5ce6318512..0000000000
--- a/libraries/webkitgtk/bison-3.7.1.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- webkitgtk-2.4.11.orig/GNUmakefile.in 2020-08-28 22:11:51.510864558 +0800
-+++ webkitgtk-2.4.11.new/GNUmakefile.in 2020-08-28 22:24:17.657842406 +0800
-@@ -82071,6 +82071,7 @@
- $(GENSOURCES_WEBCORE)/XPathGrammar.cpp: $(WebCore)/xml/XPathGrammar.y
- $(AM_V_GEN)
- $(AM_V_at)perl $(WebCore)/css/makegrammar.pl --outputDir $(GENSOURCES_WEBCORE) --bison "$(BISON)" --symbolsPrefix xpathyy $<
-+ $(AM_V_at)cp $(GENSOURCES_WEBCORE)/XPathGrammar.h $(GENSOURCES_WEBCORE)/XPathGrammar.hpp
-
- # MathML tag and attribute names, and element factory
- DerivedSources/WebCore/MathMLElementFactory.h: DerivedSources/WebCore/MathMLElementFactory.cpp
-@@ -82129,6 +82130,7 @@
- DerivedSources/WebCore/CSSGrammar.cpp: $(WebCore)/css/CSSGrammar.y.in
- $(AM_V_GEN)
- $(AM_V_at)perl -I $(WebCore)/bindings/scripts $(WebCore)/css/makegrammar.pl --extraDefines "$(feature_defines)" --outputDir $(GENSOURCES_WEBCORE) --bison "$(BISON)" --symbolsPrefix cssyy $<
-+ $(AM_V_at)cp $(GENSOURCES_WEBCORE)/CSSGrammar.h $(GENSOURCES_WEBCORE)/CSSGrammar.hpp
-
- DerivedSources/WebCore/UserAgentStyleSheetsData.cpp: DerivedSources/WebCore/UserAgentStyleSheets.h
- DerivedSources/WebCore/UserAgentStyleSheets.h: $(WebCore)/css/make-css-file-arrays.pl $(WebCore)/bindings/scripts/preprocessor.pm $(USER_AGENT_STYLE_SHEETS)
diff --git a/libraries/webkitgtk/glib-2.68.0.patch b/libraries/webkitgtk/glib-2.68.0.patch
deleted file mode 100644
index a5ef51700b..0000000000
--- a/libraries/webkitgtk/glib-2.68.0.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- Source/WTF/wtf/gobject/GRefPtr.h 2021-04-22 00:32:56.644133999 +0900
-+++ Source/WTF/wtf/gobject/GRefPtr.h 2021-04-22 00:33:57.755315484 +0900
-@@ -25,11 +25,11 @@
-
- #if USE(GLIB)
-
-+#include <glib-object.h>
-+
- #include <wtf/RefPtr.h>
- #include <algorithm>
-
--extern "C" void g_object_unref(gpointer);
--extern "C" gpointer g_object_ref_sink(gpointer);
-
- namespace WTF {
-
---- GNUmakefile.in 2021-04-22 00:35:24.846905490 +0900
-+++ GNUmakefile.in 2021-04-22 00:42:04.543194694 +0900
-@@ -96250,8 +96250,8 @@
- @true
-
- stamp-webkitmarshal.cpp: $(WEBKIT_MARSHAL_LIST)
-- $(AM_V_GEN) echo "extern \"C\" {" > $(GENSOURCES_WEBKIT)/webkitmarshal.cpp && \
-- $(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT_MARSHAL_LIST) --body >> $(GENSOURCES_WEBKIT)/webkitmarshal.cpp && \
-+ $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT_MARSHAL_LIST) --body >> $(GENSOURCES_WEBKIT)/webkitmarshal.cpp && \
-+ sed -i '1,10s/#ifdef/extern "C" {\n#ifdef/gm' $(GENSOURCES_WEBKIT)/webkitmarshal.cpp && \
- echo '}' >> $(GENSOURCES_WEBKIT)/webkitmarshal.cpp && \
- echo timestamp > $(@F)
-
diff --git a/libraries/webkitgtk/icu4c-65.1.patch b/libraries/webkitgtk/icu4c-65.1.patch
deleted file mode 100644
index 841f03a07b..0000000000
--- a/libraries/webkitgtk/icu4c-65.1.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff -Naur webkitgtk-2.4.11.orig/Source/WebCore/dom/Document.cpp webkitgtk-2.4.11/Source/WebCore/dom/Document.cpp
---- webkitgtk-2.4.11.orig/Source/WebCore/dom/Document.cpp 2016-04-10 08:48:37.000000000 +0200
-+++ webkitgtk-2.4.11/Source/WebCore/dom/Document.cpp 2019-10-07 17:41:57.798058000 +0200
-@@ -3912,12 +3912,12 @@
- unsigned i = 0;
-
- UChar32 c;
-- U16_NEXT(characters, i, length, c)
-+ U16_NEXT(characters, i, length, c);
- if (!isValidNameStart(c))
- return false;
-
- while (i < length) {
-- U16_NEXT(characters, i, length, c)
-+ U16_NEXT(characters, i, length, c);
- if (!isValidNamePart(c))
- return false;
- }
-@@ -3980,7 +3980,7 @@
- const UChar* s = qualifiedName.deprecatedCharacters();
- for (unsigned i = 0; i < length;) {
- UChar32 c;
-- U16_NEXT(s, i, length, c)
-+ U16_NEXT(s, i, length, c);
- if (c == ':') {
- if (sawColon) {
- ec = NAMESPACE_ERR;
-diff -Naur webkitgtk-2.4.11.orig/Source/WebCore/platform/graphics/SegmentedFontData.cpp webkitgtk-2.4.11/Source/WebCore/platform/graphics/SegmentedFontData.cpp
---- webkitgtk-2.4.11.orig/Source/WebCore/platform/graphics/SegmentedFontData.cpp 2016-04-10 08:48:37.000000000 +0200
-+++ webkitgtk-2.4.11/Source/WebCore/platform/graphics/SegmentedFontData.cpp 2019-10-07 17:22:38.534058000 +0200
-@@ -61,7 +61,7 @@
- {
- UChar32 c;
- for (int i = 0; i < length; ) {
-- U16_NEXT(characters, i, length, c)
-+ U16_NEXT(characters, i, length, c);
- if (!containsCharacter(c))
- return false;
- }
diff --git a/libraries/webkitgtk/slack-desc b/libraries/webkitgtk/slack-desc
deleted file mode 100644
index fd2375c8d3..0000000000
--- a/libraries/webkitgtk/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-webkitgtk: webkitgtk (GTK+ port of the WebKit)
-webkitgtk:
-webkitgtk: WebKit/GTK+ is the new GTK+ port of the WebKit, an open-source web
-webkitgtk: content engine that powers numerous applications such as web
-webkitgtk: browsers, email clients, feed readers, web and text editors, and a
-webkitgtk: whole lot more.
-webkitgtk:
-webkitgtk:
-webkitgtk:
-webkitgtk: https://www.webkitgtk.org/
-webkitgtk:
diff --git a/libraries/webkitgtk/webkitgtk-2.4.9-abs.patch b/libraries/webkitgtk/webkitgtk-2.4.9-abs.patch
deleted file mode 100644
index 5fadc28890..0000000000
--- a/libraries/webkitgtk/webkitgtk-2.4.9-abs.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -Nur webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/GtkClickCounter.cpp webkitgtk-2.4.9/Source/WebCore/platform/gtk/GtkClickCounter.cpp
---- webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/GtkClickCounter.cpp 2015-05-20 03:03:24.000000000 -0600
-+++ webkitgtk-2.4.9/Source/WebCore/platform/gtk/GtkClickCounter.cpp 2016-02-07 11:30:42.392686308 -0700
-@@ -85,8 +85,8 @@
- guint32 eventTime = getEventTime(event);
-
- if ((event->type == GDK_2BUTTON_PRESS || event->type == GDK_3BUTTON_PRESS)
-- || ((abs(buttonEvent->x - m_previousClickPoint.x()) < doubleClickDistance)
-- && (abs(buttonEvent->y - m_previousClickPoint.y()) < doubleClickDistance)
-+ || ((fabs(buttonEvent->x - m_previousClickPoint.x()) < doubleClickDistance)
-+ && (fabs(buttonEvent->y - m_previousClickPoint.y()) < doubleClickDistance)
- && (eventTime - m_previousClickTime < static_cast<guint>(doubleClickTime))
- && (buttonEvent->button == m_previousClickButton)))
- m_currentClickCount++;
-diff -Nur webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp
-webkitgtk-2.4.9/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp
---- webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp 2015-05-20 03:03:24.000000000 -0600
-+++ webkitgtk-2.4.9/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp 2016-02-07 11:49:36.384691005 -0700
-@@ -659,7 +659,7 @@
- if (!std::isfinite(time))
- return String::fromUTF8(_("indefinite time"));
-
-- int seconds = static_cast<int>(abs(time));
-+ int seconds = static_cast<int>(fabs(time));
- int days = seconds / (60 * 60 * 24);
- int hours = seconds / (60 * 60);
- int minutes = (seconds / 60) % 60;
-
diff --git a/libraries/webkitgtk/webkitgtk.SlackBuild b/libraries/webkitgtk/webkitgtk.SlackBuild
deleted file mode 100644
index bafb7454c8..0000000000
--- a/libraries/webkitgtk/webkitgtk.SlackBuild
+++ /dev/null
@@ -1,118 +0,0 @@
-#!/bin/bash
-#
-# Slackware build script for WebKitGTK+
-#
-# Copyright 2010-2015 Erik W. Hanson, Minneapolis, MN, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-cd $(dirname $0) ; CWD=$(pwd)
-
-PRGNAM=webkitgtk
-VERSION=${VERSION:-2.4.11}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-PKGTYPE=${PKGTYPE:-tgz}
-
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -eu
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Check if geoclue is there
-if pkg-config --exists geoclue ; then GEOCLUE="yes" ; else GEOCLUE="no" ; fi
-
-# Fix for gcc-6.x
-patch -p1 < $CWD/webkitgtk-2.4.9-abs.patch
-
-# https://bugs.webkit.org/show_bug.cgi?id=202600
-patch -p1 < $CWD/icu4c-65.1.patch
-
-patch -p1 < $CWD/bison-3.7.1.patch
-
-patch -p0 < $CWD/glib-2.68.0.patch
-
-# Disable excessive warnings spam
-CFLAGS="$SLKCFLAGS -fno-delete-null-pointer-checks" \
-CXXFLAGS="$SLKCFLAGS -DU_DEFINE_FALSE_AND_TRUE=1 -fno-delete-null-pointer-checks -fpermissive -Wno-deprecated-declarations -Wno-deprecated-copy -Wno-expansion-to-defined -Wno-class-memaccess -Wno-ignored-qualifiers -Wno-redundant-move -Wno-misleading-indentation -Wno-cast-function-type" \
-./configure \
- --prefix=/usr \
- --disable-static \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --with-gtk=2.0 \
- --enable-webkit2=no \
- --enable-geolocation=$GEOCLUE \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/webkitgtk/webkitgtk.info b/libraries/webkitgtk/webkitgtk.info
deleted file mode 100644
index 7cfca4cee8..0000000000
--- a/libraries/webkitgtk/webkitgtk.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="webkitgtk"
-VERSION="2.4.11"
-HOMEPAGE="https://www.webkitgtk.org/"
-DOWNLOAD="https://www.webkitgtk.org/releases/webkitgtk-2.4.11.tar.xz"
-MD5SUM="24a25ccc30a7914ae50922aedf24b7bc"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Erik Hanson"
-EMAIL="erik@slackbuilds.org"