Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Adélie Package Tree
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adélie Linux
Adélie Package Tree
Commits
c6cc5ddd
Verified
Commit
c6cc5ddd
authored
6 years ago
by
Anna Wilcox
Browse files
Options
Downloads
Patches
Plain Diff
user/wxwidgets: new package
parent
dd044a71
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
user/wxwidgets/APKBUILD
+45
-0
45 additions, 0 deletions
user/wxwidgets/APKBUILD
user/wxwidgets/disable-xlocale.patch
+13
-0
13 additions, 0 deletions
user/wxwidgets/disable-xlocale.patch
with
58 additions
and
0 deletions
user/wxwidgets/APKBUILD
0 → 100644
+
45
−
0
View file @
c6cc5ddd
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname
=
wxwidgets
pkgver
=
3.1.2
pkgrel
=
0
pkgdesc
=
"C++ library for creating applications"
url
=
"https://www.wxwidgets.org/"
arch
=
"all"
options
=
"!check"
# Test suite requires X11. Passes on gwyn except wxHTML.
license
=
"LGPL-2.1-only WITH wx-exception"
depends
=
""
checkdepends
=
"adwaita-icon-theme ttf-liberation"
makedepends
=
"glu-dev gstreamer-dev gst-plugins-base-dev gtk+3.0-dev
libexecinfo-dev libjpeg-turbo-dev libnotify-dev libsecret-dev libsm-dev
mesa-dev tiff-dev zlib-dev"
subpackages
=
"
$pkgname
-dev
$pkgname
-lang"
source
=
"https://github.com/wxWidgets/wxWidgets/releases/download/v
$pkgver
/wxWidgets-
$pkgver
.tar.bz2
disable-xlocale.patch
"
builddir
=
"
$srcdir
/wxWidgets-
$pkgver
"
build
()
{
cd
"
$builddir
"
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
--prefix
=
/usr
\
--sysconfdir
=
/etc
\
--mandir
=
/usr/share/man
\
--localstatedir
=
/var
make
}
check
()
{
cd
"
$builddir
"
make check
}
package
()
{
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
}
sha512sums
=
"e0c6cc58f87c7534be100b098b6db4c5a7a6b7972a8ccc0573dc38cda1b098e1d9f3ea541771173889806f093b4fb5bc0f2b57952eedf907fe7e5d7c01840cf6 wxWidgets-3.1.2.tar.bz2
46e72528d6b7d248abf11925db51110d9b3be0c0ad89acc611a0e10ca9b63e26eb4ec48da9118db4d3f6a2b9bb3a2ba8946d44ac9aede47b5f4deba3226424f2 disable-xlocale.patch"
This diff is collapsed.
Click to expand it.
user/wxwidgets/disable-xlocale.patch
0 → 100644
+
13
−
0
View file @
c6cc5ddd
--- wxWidgets-3.1.2/include/wx/features.h.old 2018-12-09 15:40:08.000000000 +0000
+++ wxWidgets-3.1.2/include/wx/features.h 2019-02-24 21:33:30.250000000 +0000
@@ -76,8 +76,8 @@
/* This is defined when the compiler provides some type of extended locale
functions. Otherwise, we implement them ourselves to only support the
'C' locale */
-#if defined(HAVE_LOCALE_T) || \
- (wxCHECK_VISUALC_VERSION(8))
+#if (!defined(__linux__) || defined(__GLIBC__)) && (defined(HAVE_LOCALE_T) || \
+ (wxCHECK_VISUALC_VERSION(8)))
#define wxHAS_XLOCALE_SUPPORT
#else
#undef wxHAS_XLOCALE_SUPPORT
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment