Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] qt-webkit: remove
@ 2019-09-17 12:40 voidlinux-github
  2019-09-17 12:41 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: voidlinux-github @ 2019-09-17 12:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 400 bytes --]

There is a new pull request by Johnnynator against master on the void-packages repository

https://github.com/Johnnynator/void-packages qt-webkit
https://github.com/void-linux/void-packages/pull/14520

qt-webkit: remove
there are also a few python-PyQt4-* packages in the binary repos that have to be removed

A patch file from https://github.com/void-linux/void-packages/pull/14520.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qt-webkit-14520.patch --]
[-- Type: text/x-diff, Size: 11501 bytes --]

From 898c1094872029b69d109edb08ddf247c6d5c184 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Tue, 17 Sep 2019 14:33:08 +0200
Subject: [PATCH] qt-webkit: remove

---
 srcpkgs/qt-webkit-devel                       |   1 -
 srcpkgs/qt-webkit/INSTALL.msg                 |   1 +
 srcpkgs/qt-webkit/files/fix-execinfo.patch    |  20 ----
 srcpkgs/qt-webkit/files/fix-gcc6.patch        |  14 ---
 srcpkgs/qt-webkit/files/fix-mallinfo.patch    |  11 --
 .../files/fix-saturated_arithmetic.patch      |  20 ----
 srcpkgs/qt-webkit/files/qwebview.patch        |  21 ----
 srcpkgs/qt-webkit/template                    | 111 +-----------------
 8 files changed, 5 insertions(+), 194 deletions(-)
 delete mode 120000 srcpkgs/qt-webkit-devel
 create mode 100644 srcpkgs/qt-webkit/INSTALL.msg
 delete mode 100644 srcpkgs/qt-webkit/files/fix-execinfo.patch
 delete mode 100644 srcpkgs/qt-webkit/files/fix-gcc6.patch
 delete mode 100644 srcpkgs/qt-webkit/files/fix-mallinfo.patch
 delete mode 100644 srcpkgs/qt-webkit/files/fix-saturated_arithmetic.patch
 delete mode 100644 srcpkgs/qt-webkit/files/qwebview.patch

diff --git a/srcpkgs/qt-webkit-devel b/srcpkgs/qt-webkit-devel
deleted file mode 120000
index f3c82c42591..00000000000
--- a/srcpkgs/qt-webkit-devel
+++ /dev/null
@@ -1 +0,0 @@
-qt-webkit
\ No newline at end of file
diff --git a/srcpkgs/qt-webkit/INSTALL.msg b/srcpkgs/qt-webkit/INSTALL.msg
new file mode 100644
index 00000000000..07765985647
--- /dev/null
+++ b/srcpkgs/qt-webkit/INSTALL.msg
@@ -0,0 +1 @@
+qt-webkit is no longer provided by Void Linux, and will be fully removed from the repos on 2019-12-17
diff --git a/srcpkgs/qt-webkit/files/fix-execinfo.patch b/srcpkgs/qt-webkit/files/fix-execinfo.patch
deleted file mode 100644
index 93a4dec73fa..00000000000
--- a/srcpkgs/qt-webkit/files/fix-execinfo.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- qtwebkit-2.3.4/Source/WTF/wtf/Assertions.cpp	2014-09-24 13:42:05.000000000 +0200
-+++ qtwebkit-2.3.4/Source/WTF/wtf/Assertions.cpp	2016-09-17 23:37:12.846758706 +0200
-@@ -58,7 +58,7 @@
- #include <windows.h>
- #endif
- 
--#if (OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))) && !OS(ANDROID)
-+#if (OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__))) && !OS(ANDROID)
- #include <cxxabi.h>
- #include <dlfcn.h>
- #include <execinfo.h>
-@@ -242,7 +242,7 @@
- 
- void WTFGetBacktrace(void** stack, int* size)
- {
--#if (OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))) && !OS(ANDROID)
-+#if (OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__))) && !OS(ANDROID)
-     *size = backtrace(stack, *size);
- #elif OS(WINDOWS) && !OS(WINCE)
-     // The CaptureStackBackTrace function is available in XP, but it is not defined
diff --git a/srcpkgs/qt-webkit/files/fix-gcc6.patch b/srcpkgs/qt-webkit/files/fix-gcc6.patch
deleted file mode 100644
index 6e6215c7e25..00000000000
--- a/srcpkgs/qt-webkit/files/fix-gcc6.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- webkit-qtwebkit-23/Source/JavaScriptCore/runtime/JSObject.cpp.gcc5	2014-09-24 06:42:05.000000000 -0500
-+++ webkit-qtwebkit-23/Source/JavaScriptCore/runtime/JSObject.cpp	2015-03-20 08:15:53.192778375 -0500
-@@ -1922,6 +1922,10 @@ void JSObject::putByIndexBeyondVectorLen
-     }
- }
- 
-+template void JSObject::putByIndexBeyondVectorLengthWithoutAttributes<ContiguousShape>(ExecState* exec, unsigned i, JSValue value);
-+template void JSObject::putByIndexBeyondVectorLengthWithoutAttributes<DoubleShape>(ExecState* exec, unsigned i, JSValue value);
-+template void JSObject::putByIndexBeyondVectorLengthWithoutAttributes<Int32Shape>(ExecState* exec, unsigned i, JSValue value);
-+
- void JSObject::putByIndexBeyondVectorLengthWithArrayStorage(ExecState* exec, unsigned i, JSValue value, bool shouldThrow, ArrayStorage* storage)
- {
-     JSGlobalData& globalData = exec->globalData();
-
diff --git a/srcpkgs/qt-webkit/files/fix-mallinfo.patch b/srcpkgs/qt-webkit/files/fix-mallinfo.patch
deleted file mode 100644
index 60c5d085fe0..00000000000
--- a/srcpkgs/qt-webkit/files/fix-mallinfo.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- qtwebkit-2.3.4/Source/WebCore/platform/qt/MemoryUsageSupportQt.cpp	2014-09-24 13:42:05.000000000 +0200
-+++ qtwebkit-2.3.4/Source/WebCore/platform/qt/MemoryUsageSupportQt.cpp	2016-09-17 23:48:23.558775636 +0200
-@@ -31,7 +31,7 @@
- 
- namespace WebCore {
- 
--#if OS(LINUX)
-+#if OS(LINUX) && defined(__GLIBC__)
- static size_t mallocMemoryUsage(bool inuse)
- {
-     // Return how much memory (in bytes) has been allocated on the system heap.
diff --git a/srcpkgs/qt-webkit/files/fix-saturated_arithmetic.patch b/srcpkgs/qt-webkit/files/fix-saturated_arithmetic.patch
deleted file mode 100644
index f9a18220a99..00000000000
--- a/srcpkgs/qt-webkit/files/fix-saturated_arithmetic.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- qtwebkit-2.3.4/Source/WTF/wtf/SaturatedArithmetic.h	2014-09-24 13:42:05.000000000 +0200
-+++ qtwebkit-2.3.4/Source/WTF/wtf/SaturatedArithmetic.h	2017-02-19 16:27:58.343676787 +0100
-@@ -43,7 +43,7 @@
- 
-     // Can only overflow if the signed bit of the two values match. If the signed
-     // bit of the result and one of the values differ it did overflow.
--    if (!((ua ^ ub) >> 31) & (result ^ ua) >> 31)
-+    if (~((ua ^ ub) >> 31) & ((result ^ ua) >> 31))
-         result = std::numeric_limits<int>::max() + (ua >> 31);
- 
-     return result;
-@@ -57,7 +57,7 @@
- 
-     // Can only overflow if the signed bit of the two values do not match. If the
-     // signed bit of the result and the first value differ it did overflow.
--    if ((ua ^ ub) >> 31 & (result ^ ua) >> 31)
-+    if (((ua ^ ub) >> 31) & ((result ^ ua) >> 31))
-         result = std::numeric_limits<int>::max() + (ua >> 31);
- 
-     return result;
diff --git a/srcpkgs/qt-webkit/files/qwebview.patch b/srcpkgs/qt-webkit/files/qwebview.patch
deleted file mode 100644
index f8aa8c3101b..00000000000
--- a/srcpkgs/qt-webkit/files/qwebview.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- qt-everywhere-opensource-src-4.8.7/tools/designer/src/plugins/plugins.pri~	2013-01-09 12:56:08.915412090 +0000
-+++ qt-everywhere-opensource-src-4.8.7/tools/designer/src/plugins/plugins.pri	2013-01-09 12:58:06.911391299 +0000
-@@ -1,3 +1,6 @@
-+INCLUDEPATH += ../../../../../../qtwebkit-2.3.4/WebKitBuild/Release/include
-+LIBS += -L../../../../../../qtwebkit-2.3.4/WebKitBuild/Release/lib
-+
- CONFIG += designer
- win32|mac: CONFIG+= debug_and_release
- QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/designer
---- qt-everywhere-opensource-src-4.8.7/tools/designer/src/plugins/plugins.pro~	2013-01-09 12:55:43.598892405 +0000
-+++ qt-everywhere-opensource-src-4.8.7/tools/designer/src/plugins/plugins.pro	2013-01-09 12:55:53.352169136 +0000
-@@ -2,9 +2,4 @@
- CONFIG += ordered
-
- REQUIRES = !CONFIG(static,shared|static)
--contains(QT_CONFIG, qt3support): SUBDIRS += widgets
--win32: SUBDIRS += activeqt
--# contains(QT_CONFIG, opengl): SUBDIRS += tools/view3d
- contains(QT_CONFIG, webkit): SUBDIRS += qwebview
--contains(QT_CONFIG, phonon): SUBDIRS += phononwidgets
--contains(QT_CONFIG, declarative): SUBDIRS += qdeclarativeview
diff --git a/srcpkgs/qt-webkit/template b/srcpkgs/qt-webkit/template
index 1c3ff6c0ee2..a4455596bd5 100644
--- a/srcpkgs/qt-webkit/template
+++ b/srcpkgs/qt-webkit/template
@@ -1,113 +1,10 @@
 # Template file for 'qt-webkit'
 pkgname=qt-webkit
 version=2.3.4
-revision=7
-_qtver=4.8.7
-wrksrc="qtwebkit-${version}"
-create_wrksrc=yes
-hostmakedepends="automake libtool bison flex gperf python ruby pkg-config qt-qmake"
-makedepends="MesaLib-devel libjpeg-turbo-devel qt-devel qt-designer-devel
- glib-devel fontconfig-devel gst-plugins-base1-devel sqlite-devel libXrender-devel"
-short_desc="Open source web browser engine (Qt4 port)"
+revision=8
+short_desc="Open source web browser engine (Qt4 port) (removed package)"
 maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
-license="LGPL-2.1, GPL-3"
+license="BSD-2-Clause"
 homepage="http://trac.webkit.org/wiki/QtWebKit"
-distfiles="
- http://download.kde.org/stable/qtwebkit-${version%.*}/${version}/src/qtwebkit-${version}.tar.gz
- http://download.qt.io/official_releases/qt/${_qtver%.*}/${_qtver}/qt-everywhere-opensource-src-${_qtver}.tar.gz"
-checksum="
- c6cfa9d068f7eb024fee3f6c24f5b8b726997f669007587f35ed4a97d40097ca
- e2882295097e47fe089f8ac741a95fef47e0a73a3f3cdf21b56990638f626ea0"
 conflicts="qt<4.8.7_12"
-
-if [ -n "$CROSS_BUILD" ]; then
-	hostmakedepends+=" qt-devel qt-designer-devel"
-fi
-
-# Use the same value for -std= as in qt
-CXXFLAGS="-std=gnu++98 -Wno-deprecated -fno-delete-null-pointer-checks -fno-lifetime-dse"
-
-post_extract() {
-	patch -p1 < ${FILESDIR}/fix-gcc6.patch
-	patch -p1 < ${FILESDIR}/fix-execinfo.patch
-	patch -p1 < ${FILESDIR}/fix-mallinfo.patch
-	patch -p0 < ${FILESDIR}/qwebview.patch
-	mv qt-everywhere-opensource-src-${_qtver} ..
-}
-
-do_configure() {
-	:
-}
-
-do_build() {
-	local opts="--qt --prefix=/usr --no-webkit2 --release"
-	case "$XBPS_TARGET_MACHINE" in
-	i686*)	# Do not force SSE2 for i686
-		opts+=" --no-force-sse2"
-		;;
-	aarch64*)
-		# Disable JIT
-		opts+=" DEFINES+=ENABLE_JIT=0"
-		opts+=" DEFINES+=ENABLE_YARR_JIT=0"
-		;;
-	arm*|mips*|ppc*)
-		# Disable JIT and assembler
-		opts+=" DEFINES+=ENABLE_JIT=0"
-		opts+=" DEFINES+=ENABLE_YARR_JIT=0"
-		opts+=" DEFINES+=ENABLE_ASSEMBLER=0"
-		;;
-	esac
-	if [ -n "$CROSS_BUILD" ]; then
-		opts+=" --qmakearg=\"CONFIG+=production_build\""
-		opts+=" --qmakearg=\"QMAKE_CC=$CC\""
-		opts+=" --qmakearg=\"QMAKE_CXX=$CXX\""
-		opts+=" --qmakearg=\"QMAKE_LINK=$CXX\""
-		opts+=" --qmakearg=\"QMAKE_LINK_SHARED=$CXX\""
-		opts+=" --qmakearg=\"QMAKE_AR=$AR cru\""
-		opts+=" --qmakearg=\"QMAKE_OBJDUMP=$OBJDUMP\""
-		opts+=" --qmakearg=\"QMAKE_CFLAGS='$CFLAGS'\""
-		opts+=" --qmakearg=\"QMAKE_CFLAGS_RELEASE='$CFLAGS'\""
-		opts+=" --qmakearg=\"QMAKE_CXXFLAGS='$CXXFLAGS'\""
-		opts+=" --qmakearg=\"QMAKE_CXXFLAGS_RELEASE='$CXXFLAGS'\""
-		opts+=" --qmakearg=\"QMAKE_LFLAGS='$LDFLAGS'\""
-		opts+=" --qmakearg=\"QMAKE_LFLAGS_RELEASE='$LDFLAGS'\""
-		opts+=" --qmakearg=\"QMAKE_INCDIR=${XBPS_CROSS_BASE}/usr/include\""
-		opts+=" --qmakearg=\"QMAKE_INCDIR_QT=${XBPS_CROSS_BASE}/usr/include\""
-	fi
-	export QTDIR=/usr
-	export PATH="/usr/lib/qt/bin:$PATH"
-	find -name "Makefile*" -exec sed -i "{}" \
-		-e"s;^\(CC[ ]*=\).*;\1 $CC;" \
-		-e"s;^\(CXX[ ]*=\).*;\1 $CXX;" \
-		-e"s;^\(LINK[ ]*=\).*;\1 $CXX;" \
-		-e"s;^\(CFLAGS[ ]*=\)\(.*\);\1 \2 $CFLAGS;" \
-		-e"s;^\(CXXFLAGS[ ]*=\)\(.*\);\1 \2 $CXXFLAGS;" \
-		-e"s;^\(LFLAGS[ ]*=\)\(.*\);\1 \2 $LDFLAGS;" \
-		\;
-	Tools/Scripts/build-webkit --makeargs="${makejobs}" ${opts}
-	cd ../qt-everywhere-opensource-src-${_qtver}/tools/designer/src/plugins/qwebview
-	qmake QMAKE_CFLAGS="$CFLAGS" QMAKE_CXXFLAGS="$CXXFLAGS" QMAKE_LFLAGS="$LDFLAGS"
-	make ${makejobs} CC="$CC" CXX="$CXX" LINK="$CXX"
-}
-
-do_install() {
-	make INSTALL_ROOT="${DESTDIR}" -C WebKitBuild/Release install
-	cd ../qt-everywhere-opensource-src-${_qtver}/tools/designer/src/plugins/qwebview
-	make INSTALL_ROOT="${DESTDIR}" install
-
-	# Remove references to the build directory from .prl and .pc files
-	sed -i 's| -L.*/*/release||g' ${DESTDIR}/usr/lib/pkgconfig/QtWebKit.pc
-	sed -i '/^QMAKE_PRL_BUILD_DIR/d' ${DESTDIR}/usr/lib/libQtWebKit.prl
-}
-
-qt-webkit-devel_package() {
-	short_desc+=" - development files"
-	depends="qt-devel ${sourcepkg}>=${version}_${revision}"
-	pkg_install() {
-		vmove usr/include
-		vmove usr/lib/*.so
-		vmove usr/lib/*.prl
-		vmove usr/lib/pkgconfig
-		vmove usr/share/qt/mkspecs
-	}
-}
+replaces="qt-webkit-devel>=0"

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-01-31 17:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-17 12:40 [PR PATCH] qt-webkit: remove voidlinux-github
2019-09-17 12:41 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-17 12:41 ` voidlinux-github
2019-09-17 12:44 ` [PR PATCH] [Updated] [WIP] " voidlinux-github
2019-09-17 12:44 ` voidlinux-github
2019-09-17 12:59 ` [PR PATCH] [Updated] [WIP] qt: remove voidlinux-github
2019-09-17 12:59 ` voidlinux-github
2019-09-17 13:11 ` voidlinux-github
2019-09-17 13:11 ` voidlinux-github
2019-09-17 16:38 ` voidlinux-github
2021-01-26  4:07 ` ericonr
2021-01-31 17:15 ` [PR PATCH] [Closed]: " Johnnynator

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).