wxgtk: marked unmaintained

This commit is contained in:
Tim Biermann 2023-08-06 20:08:11 +02:00
parent 82365ad226
commit 8c6e8f4004
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 24 additions and 39 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF308F7dLBScwV7fU2fS20EEMMaj49ZAXkTPiYE1n9ZrduH3Cmc/cONQHxAiUfHhn8H1GAMl/p5YTxOJunPbB+kgc=
SHA256 (Pkgfile) = 11db9f4efcc5ff1690084bd8ff08103d4a13f7a6d2f28239ec9f0e7ff21afad5
RWSagIOpLGJF3w+2xpHIGybBGt6e7GA9N7iYvPGByk9P1dsYQqgPaOUUb8TxOymqJbAl/7b09qZJjAYCYlIGrrlKOL6ZdOoawgE=
SHA256 (Pkgfile) = cd78b10e7bd459a550609adaee4eafd1d31bd11effa28f96effc726404803957
SHA256 (.footprint) = 27b6446decbe231d6abf1750b9de88025db09cc877e37539e2a6e387a80e24f1
SHA256 (wxWidgets-3.2.2.1.tar.bz2) = dffcb6be71296fff4b7f8840eb1b510178f57aa2eb236b20da41182009242c02

View File

@ -1,6 +1,6 @@
# Description: GTK+2 implementation of wxWidgets API for GUI
# URL: http://www.wxwidgets.org/
# Maintainer: Danny Rawlins, crux at romster dot me
# Maintainer: unmaintained
# Depends on: gtk wxgtk-common
name=wxgtk
@ -9,27 +9,27 @@ release=1
source=(https://github.com/wxWidgets/wxWidgets/releases/download/v$version/wxWidgets-$version.tar.bz2)
build() {
cmake -S wxWidgets-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D wxBUILD_TOOLKIT=gtk2 \
-D wxUSE_OPENGL=ON \
-D wxUSE_REGEX=sys\
-D wxUSE_ZLIB=sys \
-D wxUSE_EXPAT=sys \
-D wxUSE_LIBJPEG=sys \
-D wxUSE_LIBPNG=sys \
-D wxUSE_LIBTIFF=sys \
-D wxUSE_LIBLZMA=sys \
-D wxUSE_LIBMSPACK=ON \
-D wxUSE_PRIVATE_FONTS=ON \
-Wno-dev
cmake -S wxWidgets-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D wxBUILD_TOOLKIT=gtk2 \
-D wxUSE_OPENGL=ON \
-D wxUSE_REGEX=sys\
-D wxUSE_ZLIB=sys \
-D wxUSE_EXPAT=sys \
-D wxUSE_LIBJPEG=sys \
-D wxUSE_LIBPNG=sys \
-D wxUSE_LIBTIFF=sys \
-D wxUSE_LIBLZMA=sys \
-D wxUSE_LIBMSPACK=ON \
-D wxUSE_PRIVATE_FONTS=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
cmake --build build
DESTDIR=$PKG cmake --install build
rm -r $PKG/usr/{include,lib/{cmake,libwx_base*},bin/wxrc*}
rm -r $PKG/usr/{include,lib/{cmake,libwx_base*},bin/wxrc*}
}

View File

@ -1,15 +0,0 @@
diff -up wxGTK-2.8.12/src/common/appbase.cpp.abicheck wxGTK-2.8.12/src/common/appbase.cpp
--- wxGTK-2.8.12/src/common/appbase.cpp.abicheck 2015-03-12 17:15:18.000000000 +0100
+++ wxGTK-2.8.12/src/common/appbase.cpp 2015-03-12 17:15:57.000000000 +0100
@@ -424,10 +424,7 @@ bool wxAppConsole::CheckBuildOptions(con
msg.Printf(_T("Mismatch between the program and library build versions detected.\nThe library used %s,\nand %s used %s."),
lib.c_str(), progName.c_str(), prog.c_str());
- wxLogFatalError(msg.c_str());
-
- // normally wxLogFatalError doesn't return
- return false;
+ wxLogWarning(msg.c_str());
}
#undef wxCMP