[arch-commits] Commit in lib32-wxgtk2 (4 files)
Maxime Gauduin
alucryd at archlinux.org
Sun Dec 31 13:38:30 UTC 2017
Date: Sunday, December 31, 2017 @ 13:38:30
Author: alucryd
Revision: 277581
archrelease: copy trunk to multilib-x86_64
Added:
lib32-wxgtk2/repos/
lib32-wxgtk2/repos/multilib-x86_64/
lib32-wxgtk2/repos/multilib-x86_64/PKGBUILD
(from rev 277580, lib32-wxgtk2/trunk/PKGBUILD)
lib32-wxgtk2/repos/multilib-x86_64/make-abicheck-non-fatal.patch
(from rev 277580, lib32-wxgtk2/trunk/make-abicheck-non-fatal.patch)
-------------------------------+
PKGBUILD | 67 ++++++++++++++++++++++++++++++++++++++++
make-abicheck-non-fatal.patch | 16 +++++++++
2 files changed, 83 insertions(+)
Copied: lib32-wxgtk2/repos/multilib-x86_64/PKGBUILD (from rev 277580, lib32-wxgtk2/trunk/PKGBUILD)
===================================================================
--- repos/multilib-x86_64/PKGBUILD (rev 0)
+++ repos/multilib-x86_64/PKGBUILD 2017-12-31 13:38:30 UTC (rev 277581)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgname=lib32-wxgtk2
+pkgver=3.0.3.1
+pkgrel=1
+pkgdesc='GTK+ implementation of wxWidgets API for GUI'
+arch=('x86_64')
+url='http://wxwidgets.org'
+license=('custom:wxWindows')
+depends=('lib32-gtk2' 'lib32-libsm' 'wxgtk2')
+makedepends=('gcc-multilib' 'lib32-glu')
+conflicts=('lib32-wxgtk')
+provides=('lib32-wxgtk')
+replaces=('lib32-wxgtk')
+source=("https://github.com/wxWidgets/wxWidgets/releases/download/v${pkgver}/wxWidgets-${pkgver}.tar.bz2"
+ 'make-abicheck-non-fatal.patch')
+sha256sums=('3164ad6bc5f61c48d2185b39065ddbe44283eb834a5f62beb13f1d0923e366e4'
+ 'd4c2d070a06eb63f0a018c8cf687589e5ffdec601225b4d16a268ffe390fb58b')
+
+prepare() {
+ cd wxWidgets-${pkgver}
+
+ patch -Np1 -i ../make-abicheck-non-fatal.patch
+}
+
+build() {
+ cd wxWidgets-${pkgver}
+
+ export CC='gcc -m32'
+ export CXX='g++ -m32'
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+ export CFLAGS="-I/usr/include/libtiff32 $CFLAGS"
+ export CXXFLAGS="-I/usr/include/libtiff32 $CXXFLAGS"
+
+ ./configure \
+ --prefix='/usr' \
+ --libdir='/usr/lib32' \
+ --enable-graphics_ctx \
+ --enable-unicode \
+ --disable-mediactrl \
+ --disable-precomp-headers \
+ --disable-webview \
+ --with-gtk='2' \
+ --with-lib{jpeg,png,tiff,xpm}='sys' \
+ --with-opengl \
+ --with-regex='builtin' \
+ --without-libnotify
+ make
+ make -C locale allmo
+}
+
+package() {
+ cd wxWidgets-${pkgver}
+
+ make DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}"/usr/{bin/{wx-config,wxrc},include,share}
+ mv "${pkgdir}"/usr/bin/wxrc{,32}-3.0
+ ln -s /usr/bin/wxrc32-3.0 "${pkgdir}"/usr/bin/wxrc32
+ ln -s /usr/lib32/wx/config/gtk2-unicode-3.0 "${pkgdir}"/usr/bin/wx-config32
+
+ install -dm 755 "${pkgdir}"/usr/share/licenses
+ ln -s wxgtk2 "${pkgdir}"/usr/share/licenses/lib32-wxgtk2
+}
+
+# vim: ts=2 sw=2 et:
Copied: lib32-wxgtk2/repos/multilib-x86_64/make-abicheck-non-fatal.patch (from rev 277580, lib32-wxgtk2/trunk/make-abicheck-non-fatal.patch)
===================================================================
--- repos/multilib-x86_64/make-abicheck-non-fatal.patch (rev 0)
+++ repos/multilib-x86_64/make-abicheck-non-fatal.patch 2017-12-31 13:38:30 UTC (rev 277581)
@@ -0,0 +1,16 @@
+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
+
+
More information about the arch-commits
mailing list