Browse Source

git subrepo clone gitea@gitea.artixlinux.org:packagesW/wxgtk.git

subrepo:
  subdir:   "wxgtk"
  merged:   "6f953ae"
upstream:
  origin:   "gitea@gitea.artixlinux.org:packagesW/wxgtk.git"
  branch:   "master"
  commit:   "6f953ae"
git-subrepo:
  version:  "0.4.0"
  origin:   "???"
  commit:   "???"
master
artoo 2 years ago
parent
commit
60e3204c93
Signed by: artoo GPG Key ID: 3292CD0BB0DB310B
  1. 5
      wxgtk/.artixlinux/agent.yaml
  2. 33
      wxgtk/.gitignore
  3. 12
      wxgtk/.gitrepo
  4. 3
      wxgtk/Jenkinsfile
  5. 2
      wxgtk/README.md
  6. 84
      wxgtk/repos/extra-x86_64/PKGBUILD
  7. 15
      wxgtk/repos/extra-x86_64/make-abicheck-non-fatal.patch
  8. 84
      wxgtk/trunk/PKGBUILD
  9. 15
      wxgtk/trunk/make-abicheck-non-fatal.patch

5
wxgtk/.artixlinux/agent.yaml

@ -0,0 +1,5 @@
%YAML 1.2
---
label: master

33
wxgtk/.gitignore

@ -0,0 +1,33 @@
# ---> ArchLinuxPackages
*.tar
*.tar.*
*.jar
*.exe
*.msi
*.zip
*.tgz
*.log
*.log.*
*.sig
pkg/
src/
# ---> Archives
*.7z
*.rar
*.gz
*.bzip
*.bz2
*.xz
*.lzma
*.cab
# ---> systemd
*.service
*.socket
*.timer
# ---> snap
*.snap

12
wxgtk/.gitrepo

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = gitea@gitea.artixlinux.org:packagesW/wxgtk.git
branch = master
commit = 6f953aed3875526f96c3386e4a710d982e36bdcf
parent = fafc9dd849a020e2680127358035e2e9ed560e2e
method = merge
cmdver = 0.4.0

3
wxgtk/Jenkinsfile

@ -0,0 +1,3 @@
@Library('artix-ci') import org.artixlinux.RepoPackage
PackagePipeline(new RepoPackage(this))

2
wxgtk/README.md

@ -0,0 +1,2 @@
# wxgtk

84
wxgtk/repos/extra-x86_64/PKGBUILD

@ -0,0 +1,84 @@
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgbase=wxgtk
pkgname=(wxgtk2 wxgtk3 wxgtk-common)
pkgver=3.0.4
pkgrel=2
arch=('x86_64')
url="https://wxwidgets.org"
license=('custom:wxWindows')
makedepends=('gst-plugins-base' 'glu' 'webkit2gtk' 'libnotify' 'gtk2')
options=('!emptydirs')
source=(https://github.com/wxWidgets/wxWidgets/releases/download/v$pkgver/wxWidgets-$pkgver.tar.bz2
make-abicheck-non-fatal.patch)
sha256sums=('96157f988d261b7368e5340afa1a0cad943768f35929c22841f62c25b17bf7f0'
'46a1bb97d69163547da13d5e23a4c73e68de27ee601da5d2fb5bc5c417931453')
prepare() {
cd wxWidgets-${pkgver}
# C++ ABI check is too strict and breaks with GCC 5.1
# https://bugzilla.redhat.com/show_bug.cgi?id=1200611
patch -Np1 -i ../make-abicheck-non-fatal.patch
cd ..
cp -r wxWidgets-${pkgver} wxWidgets-${pkgver}-gtk3
}
build() {
cd wxWidgets-${pkgver}
./autogen.sh
./configure --prefix=/usr --libdir=/usr/lib --with-gtk=2 --with-opengl --enable-unicode \
--enable-graphics_ctx --enable-mediactrl --with-regex=builtin \
--with-libpng=sys --with-libxpm=sys --with-libjpeg=sys --with-libtiff=sys \
--disable-precomp-headers
make
make -C locale allmo
cd ../wxWidgets-${pkgver}-gtk3
./autogen.sh
./configure --prefix=/usr --libdir=/usr/lib --with-gtk=3 --with-opengl --enable-unicode \
--enable-graphics_ctx --enable-mediactrl --enable-webview --with-regex=builtin \
--with-libpng=sys --with-libxpm=sys --with-libjpeg=sys --with-libtiff=sys \
--disable-precomp-headers
make
}
package_wxgtk-common() {
pkgdesc='Common libraries and headers for wxgtk2 and wxgtk3'
depends=('zlib' 'gcc-libs' 'expat')
cd wxWidgets-${pkgver}
make DESTDIR="${pkgdir}" install
rm -r "$pkgdir"/usr/{bin/wx-config,lib/{wx,libwx_gtk*}}
install -D -m644 docs/licence.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
package_wxgtk2() {
pkgdesc='GTK+2 implementation of wxWidgets API for GUI'
depends=('gtk2' 'libgl' 'gst-plugins-base-libs' 'libsm' 'libxxf86vm' 'wxgtk-common' 'libnotify')
conflicts=('wxgtk')
provides=('wxgtk')
replaces=('wxgtk')
cd wxWidgets-${pkgver}
make DESTDIR="${pkgdir}" install
rm -r "$pkgdir"/usr/{include,share,lib/libwx_base*,bin/wxrc*}
install -D -m644 docs/licence.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
package_wxgtk3() {
pkgdesc='GTK+3 implementation of wxWidgets API for GUI'
depends=('gtk3' 'gst-plugins-base-libs' 'libsm' 'libxxf86vm' 'wxgtk-common' 'libnotify')
optdepends=('webkit2gtk: for webview support')
conflicts=('wxgtk<3.0.3.1-2')
cd wxWidgets-${pkgver}-gtk3
make DESTDIR="${pkgdir}" install
rm -r "$pkgdir"/usr/{include,share,lib/libwx_base*,bin/wxrc*}
mv "$pkgdir"/usr/bin/wx-config{,-gtk3}
install -D -m644 docs/licence.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

15
wxgtk/repos/extra-x86_64/make-abicheck-non-fatal.patch

@ -0,0 +1,15 @@
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

84
wxgtk/trunk/PKGBUILD

@ -0,0 +1,84 @@
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgbase=wxgtk
pkgname=(wxgtk2 wxgtk3 wxgtk-common)
pkgver=3.0.4
pkgrel=2
arch=('x86_64')
url="https://wxwidgets.org"
license=('custom:wxWindows')
makedepends=('gst-plugins-base' 'glu' 'webkit2gtk' 'libnotify' 'gtk2')
options=('!emptydirs')
source=(https://github.com/wxWidgets/wxWidgets/releases/download/v$pkgver/wxWidgets-$pkgver.tar.bz2
make-abicheck-non-fatal.patch)
sha256sums=('96157f988d261b7368e5340afa1a0cad943768f35929c22841f62c25b17bf7f0'
'46a1bb97d69163547da13d5e23a4c73e68de27ee601da5d2fb5bc5c417931453')
prepare() {
cd wxWidgets-${pkgver}
# C++ ABI check is too strict and breaks with GCC 5.1
# https://bugzilla.redhat.com/show_bug.cgi?id=1200611
patch -Np1 -i ../make-abicheck-non-fatal.patch
cd ..
cp -r wxWidgets-${pkgver} wxWidgets-${pkgver}-gtk3
}
build() {
cd wxWidgets-${pkgver}
./autogen.sh
./configure --prefix=/usr --libdir=/usr/lib --with-gtk=2 --with-opengl --enable-unicode \
--enable-graphics_ctx --enable-mediactrl --with-regex=builtin \
--with-libpng=sys --with-libxpm=sys --with-libjpeg=sys --with-libtiff=sys \
--disable-precomp-headers
make
make -C locale allmo
cd ../wxWidgets-${pkgver}-gtk3
./autogen.sh
./configure --prefix=/usr --libdir=/usr/lib --with-gtk=3 --with-opengl --enable-unicode \
--enable-graphics_ctx --enable-mediactrl --enable-webview --with-regex=builtin \
--with-libpng=sys --with-libxpm=sys --with-libjpeg=sys --with-libtiff=sys \
--disable-precomp-headers
make
}
package_wxgtk-common() {
pkgdesc='Common libraries and headers for wxgtk2 and wxgtk3'
depends=('zlib' 'gcc-libs' 'expat')
cd wxWidgets-${pkgver}
make DESTDIR="${pkgdir}" install
rm -r "$pkgdir"/usr/{bin/wx-config,lib/{wx,libwx_gtk*}}
install -D -m644 docs/licence.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
package_wxgtk2() {
pkgdesc='GTK+2 implementation of wxWidgets API for GUI'
depends=('gtk2' 'libgl' 'gst-plugins-base-libs' 'libsm' 'libxxf86vm' 'wxgtk-common' 'libnotify')
conflicts=('wxgtk')
provides=('wxgtk')
replaces=('wxgtk')
cd wxWidgets-${pkgver}
make DESTDIR="${pkgdir}" install
rm -r "$pkgdir"/usr/{include,share,lib/libwx_base*,bin/wxrc*}
install -D -m644 docs/licence.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
package_wxgtk3() {
pkgdesc='GTK+3 implementation of wxWidgets API for GUI'
depends=('gtk3' 'gst-plugins-base-libs' 'libsm' 'libxxf86vm' 'wxgtk-common' 'libnotify')
optdepends=('webkit2gtk: for webview support')
conflicts=('wxgtk<3.0.3.1-2')
cd wxWidgets-${pkgver}-gtk3
make DESTDIR="${pkgdir}" install
rm -r "$pkgdir"/usr/{include,share,lib/libwx_base*,bin/wxrc*}
mv "$pkgdir"/usr/bin/wx-config{,-gtk3}
install -D -m644 docs/licence.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

15
wxgtk/trunk/make-abicheck-non-fatal.patch

@ -0,0 +1,15 @@
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
Loading…
Cancel
Save