Add static variants of serveral packages
This commit is contained in:
parent
4767b488ef
commit
203f3b54eb
24
README.md
24
README.md
|
@ -5,9 +5,10 @@ Contains PKGBUILD files for creating Arch Linux packages:
|
||||||
[Tag Editor](https://github.com/Martchus/tageditor), [Password Manager](https://github.com/Martchus/passwordmanager), ...
|
[Tag Editor](https://github.com/Martchus/tageditor), [Password Manager](https://github.com/Martchus/passwordmanager), ...
|
||||||
* Packages [I maintain in the AUR](https://aur.archlinux.org/packages/?O=0&SeB=M&K=Martchus&outdated=&SB=v&SO=d&PP=50&do_Search=Go):
|
* Packages [I maintain in the AUR](https://aur.archlinux.org/packages/?O=0&SeB=M&K=Martchus&outdated=&SB=v&SO=d&PP=50&do_Search=Go):
|
||||||
* misc packages, eg. Subtitle Composer, openelec-dvb-firmware, Jangouts
|
* misc packages, eg. Subtitle Composer, openelec-dvb-firmware, Jangouts
|
||||||
* mingw-w64 packages which allow to build for Windows under Arch Linux, eg. FreeType 2, Qt 5 and Qt 6
|
* `mingw-w64-*` packages which allow to build for Windows under Arch Linux, eg. FreeType 2, Qt 5 and Qt 6
|
||||||
* android packages which allow to build for Android under Arch Linux, eg. iconv, Boost, OpenSSL, CppUnit, Qt 5 and Kirigami
|
* `*-static` packages containing static libraries
|
||||||
* apple-darwin packages which allow to build for MaxOS X under Arch Linux, eg. osxcross and Qt 5 (still experimental)
|
* `android-*` packages which allow to build for Android under Arch Linux, eg. iconv, Boost, OpenSSL, CppUnit, Qt 5 and Kirigami
|
||||||
|
* `apple-darwin-*` packages which allow to build for MaxOS X under Arch Linux, eg. osxcross and Qt 5 (still experimental)
|
||||||
* Other packages imported from the AUR to build with slight modifications
|
* Other packages imported from the AUR to build with slight modifications
|
||||||
|
|
||||||
So if you like to improve one of my AUR packages, just create a PR here.
|
So if you like to improve one of my AUR packages, just create a PR here.
|
||||||
|
@ -164,3 +165,20 @@ Here are neverthless some useful hints to run WINE manually:
|
||||||
* It is possible to run apps in an headless environment but be aware that WINE is not designed for this. For instance, when an
|
* It is possible to run apps in an headless environment but be aware that WINE is not designed for this. For instance, when an
|
||||||
application crashes WINE still attempts to show the crash window and the application stays stuck in that state.
|
application crashes WINE still attempts to show the crash window and the application stays stuck in that state.
|
||||||
* See https://wiki.winehq.org/Wine_User's_Guide for more information
|
* See https://wiki.winehq.org/Wine_User's_Guide for more information
|
||||||
|
|
||||||
|
## Static GNU/Linux libraries
|
||||||
|
This repository contains several `*-static` packages providing static libraries intended to distribute "self-contained"
|
||||||
|
executables. These packages are still experimental and are not be regularily updated at this point.
|
||||||
|
|
||||||
|
It would conceivable to build even Qt as a static library and make even a fully statically linked executable. However,
|
||||||
|
it would not be possible to support OpenGL because glvnd and vendor provided OpenGL libraries are always dynamic libraries. It
|
||||||
|
is also not clear whether it makes sense to link against libc and X11/Wayland client libraries statically. Maybe it makes sense
|
||||||
|
to aim for a partially statically linked build instead where libc/OpenGL/X11/Wayland are assumed to be provided by the GNU/Linux
|
||||||
|
system but other libraries like Qt are linked against statically. This would be similar to AppImage where a lot of libraries are
|
||||||
|
bundled but certain "core libraries" are expected to be provided by the system.
|
||||||
|
|
||||||
|
Note that I decided to let static libraries live within the subprefix `/usr/static` (in contrast to packages found in the
|
||||||
|
AUR). The reason is that the version might not be kept 100 % in sync with the shared counterpart. Hence it makes sense to
|
||||||
|
make the static packages independent with their own headers and configuration files to avoid problems due to mismatching
|
||||||
|
versions. Besides, some projects (such as Qt) do not support installing shared and static libraries within the same prefix at
|
||||||
|
the same time because the config files would clash.
|
||||||
|
|
|
@ -0,0 +1,46 @@
|
||||||
|
# Contributor: Ronald van Haren <ronald.archlinux.org>
|
||||||
|
# Contributor: Judd <jvinet@zeroflux.org>
|
||||||
|
|
||||||
|
_pkgname=bzip2
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=1.0.8
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="A high-quality data compression program"
|
||||||
|
arch=('x86_64')
|
||||||
|
license=('BSD')
|
||||||
|
url="https://sourceware.org/bzip2/"
|
||||||
|
depends=('glibc' 'sh')
|
||||||
|
options=(staticlibs)
|
||||||
|
source=(https://sourceware.org/pub/bzip2/$_pkgname-$pkgver.tar.gz{,.sig}
|
||||||
|
bzip2.pc)
|
||||||
|
sha256sums=('ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269'
|
||||||
|
'SKIP'
|
||||||
|
'ad3c350428b73a1197e54d414a60fecfff23ecdd5059afd8ce2ca084d263064b')
|
||||||
|
validpgpkeys=('EC3CFE88F6CA0788774F5C1D1AA44BE649DE760A') # Mark Wielaard <mark@klomp.org>
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
cp ../bzip2.pc bzip2.pc
|
||||||
|
sed "s|@VERSION@|$pkgver|" -i bzip2.pc
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
|
||||||
|
make libbz2.a CC="gcc $CFLAGS $CPPFLAGS $LDFLAGS"
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
make test
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
|
||||||
|
install -dm755 "$pkgdir"/usr/static/{lib,include}
|
||||||
|
cp -a libbz2.a "$pkgdir"/usr/static/lib
|
||||||
|
install -m644 bzlib.h "$pkgdir"/usr/static/include/
|
||||||
|
install -Dm644 bzip2.pc -t "$pkgdir"/usr/static/lib/pkgconfig
|
||||||
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
prefix=/usr/static
|
||||||
|
exec_prefix=/usr/static
|
||||||
|
bindir=${exec_prefix}/bin
|
||||||
|
libdir=${exec_prefix}/lib
|
||||||
|
includedir=${prefix}/include
|
||||||
|
|
||||||
|
Name: bzip2
|
||||||
|
Description: A file compression library
|
||||||
|
Version: @VERSION@
|
||||||
|
Libs: -L${libdir} -lbz2
|
||||||
|
Cflags: -I${includedir}
|
|
@ -0,0 +1,65 @@
|
||||||
|
# Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
||||||
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||||
|
# Contributor: Tom Gundersen <teg@jklm.no>
|
||||||
|
# Contributor: Link Dupont <link@subpop.net>
|
||||||
|
|
||||||
|
_pkgname=dbus
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=1.12.20
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Freedesktop.org message bus system"
|
||||||
|
url="https://wiki.freedesktop.org/www/Software/dbus/"
|
||||||
|
arch=(x86_64)
|
||||||
|
license=(GPL custom)
|
||||||
|
depends=(expat-static)
|
||||||
|
makedepends=(xmlto python yelp-tools git autoconf-archive)
|
||||||
|
options=(!emptydirs staticlibs)
|
||||||
|
#source=("git+https://gitlab.freedesktop.org/dbus/dbus.git?signed#tag=dbus-$pkgver"
|
||||||
|
source=("git+https://gitlab.freedesktop.org/dbus/dbus.git#tag=dbus-$pkgver"
|
||||||
|
no-fatal-warnings.diff)
|
||||||
|
sha256sums=('SKIP'
|
||||||
|
'6958eeec07557b92a28419eb1702331ee2f0a6fd17285e37dfb6130b9fa4cf6e')
|
||||||
|
#validpgpkeys=('DA98F25C0871C49A59EAFF2C4DE8FF2A63C7CC90') # Simon McVittie <simon.mcvittie@collabora.co.uk>
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd dbus
|
||||||
|
|
||||||
|
# Allow us to enable checks without them being fatal
|
||||||
|
patch -Np1 -i ../no-fatal-warnings.diff
|
||||||
|
|
||||||
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd dbus
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr/static \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--libexecdir=/usr/static/lib/dbus-1.0 \
|
||||||
|
runstatedir=/run \
|
||||||
|
--enable-inotify \
|
||||||
|
--disable-audit \
|
||||||
|
--disable-systemd \
|
||||||
|
--enable-user-session \
|
||||||
|
--disable-xml-docs \
|
||||||
|
--disable-doxygen-docs \
|
||||||
|
--disable-ducktype-docs \
|
||||||
|
--disable-shared \
|
||||||
|
--enable-static \
|
||||||
|
--without-x
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
make -C dbus check
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
DESTDIR="$pkgdir" make -C dbus install
|
||||||
|
rm -r "$pkgdir"/{etc,var,usr/lib,usr/static/bin,usr/static/share/doc}
|
||||||
|
|
||||||
|
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 dbus/COPYING
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set sw=2 et:
|
|
@ -0,0 +1,13 @@
|
||||||
|
[Trigger]
|
||||||
|
Type = Path
|
||||||
|
Operation = Install
|
||||||
|
Operation = Upgrade
|
||||||
|
Operation = Remove
|
||||||
|
Target = etc/dbus-1/system.d/*.conf
|
||||||
|
Target = usr/share/dbus-1/system.d/*.conf
|
||||||
|
Target = usr/share/dbus-1/system-services/*.service
|
||||||
|
|
||||||
|
[Action]
|
||||||
|
Description = Reloading system bus configuration...
|
||||||
|
When = PostTransaction
|
||||||
|
Exec = /usr/share/libalpm/scripts/systemd-hook reload dbus
|
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git i/dbus/dbus-internals.c w/dbus/dbus-internals.c
|
||||||
|
index 267aef97..b1064e85 100644
|
||||||
|
--- i/dbus/dbus-internals.c
|
||||||
|
+++ w/dbus/dbus-internals.c
|
||||||
|
@@ -185,7 +185,7 @@ const char *_dbus_no_memory_message = "Not enough memory";
|
||||||
|
|
||||||
|
static dbus_bool_t warn_initted = FALSE;
|
||||||
|
static dbus_bool_t fatal_warnings = FALSE;
|
||||||
|
-static dbus_bool_t fatal_warnings_on_check_failed = TRUE;
|
||||||
|
+static dbus_bool_t fatal_warnings_on_check_failed = FALSE;
|
||||||
|
|
||||||
|
static void
|
||||||
|
init_warnings(void)
|
|
@ -0,0 +1,47 @@
|
||||||
|
# Contributor: David Runge <dvzrv@archlinux.org>
|
||||||
|
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
||||||
|
# Contributor: Allan McRae <allan@archlinux.org>
|
||||||
|
# Contributor: Judd Vinet <jvinet@zeroflux.org>
|
||||||
|
|
||||||
|
_pkgname=expat
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=2.2.10
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='An XML parser library'
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://libexpat.github.io/"
|
||||||
|
license=('MIT')
|
||||||
|
depends=('glibc')
|
||||||
|
makedepends=('cmake')
|
||||||
|
options=(staticlibs)
|
||||||
|
source=("https://github.com/libexpat/libexpat/releases/download/R_${pkgver//./_}/expat-${pkgver}.tar.bz2"{,.asc})
|
||||||
|
sha512sums=('9623e86024d09e3bb0cf51fd0d56ecaee5fb8c8acb71589104a63b510f73c1e84abb0ccea4e2c196bdf1d30b5ad0633a915758f75813717d031d633e34f022b7'
|
||||||
|
'SKIP')
|
||||||
|
b2sums=('e837353deb2fa6a9fbeff9c1843e63f33a1622bf26f6a914a1e2e572324d4826165bf175ac13038666c8e4eb785167bd3dafe7bc5b4c98e92e608f20709f053d'
|
||||||
|
'SKIP')
|
||||||
|
validpgpkeys=(3176EF7DB2367F1FCA4F306B1F9B0E909AF37285) # Sebastian Pipping
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$_pkgname-$pkgver"
|
||||||
|
cmake -DCMAKE_INSTALL_PREFIX=/usr/static \
|
||||||
|
-DCMAKE_BUILD_TYPE='None' \
|
||||||
|
-DEXPAT_SHARED_LIBS=OFF \
|
||||||
|
-DEXPAT_BUILD_TOOLS=OFF \
|
||||||
|
-DEXPAT_BUILD_EXAMPLES=OFF \
|
||||||
|
-W no-dev \
|
||||||
|
-B build \
|
||||||
|
-S .
|
||||||
|
make VERBOSE=1 -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd "$_pkgname-$pkgver"
|
||||||
|
make VERBOSE=1 -C build test
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$_pkgname-$pkgver"
|
||||||
|
make VERBOSE=1 DESTDIR="$pkgdir" -C build install
|
||||||
|
rm -r "$pkgdir"/usr/static/share
|
||||||
|
install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/$pkgname/"
|
||||||
|
}
|
|
@ -0,0 +1,64 @@
|
||||||
|
# Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
||||||
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||||
|
|
||||||
|
_pkgname=fontconfig
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=2.13.91+48+gfcb0420
|
||||||
|
pkgrel=2
|
||||||
|
epoch=2
|
||||||
|
pkgdesc="Library for configuring and customizing font access"
|
||||||
|
url="https://www.freedesktop.org/wiki/Software/fontconfig/"
|
||||||
|
arch=(x86_64)
|
||||||
|
license=(custom)
|
||||||
|
depends=(expat-static freetype2-static)
|
||||||
|
makedepends=(git autoconf-archive gperf python-lxml python-six docbook-utils)
|
||||||
|
checkdepends=(unzip)
|
||||||
|
_commit=fcb042028126d79ea5a5fa015b2b034b98656e73 # master
|
||||||
|
options=(!emptydirs !docs staticlibs)
|
||||||
|
source=("git+https://gitlab.freedesktop.org/fontconfig/fontconfig.git#commit=$_commit")
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
# a nice page to test font matching:
|
||||||
|
# http://zipcon.net/~swhite/docs/computers/browsers/fonttest.html
|
||||||
|
# http://getemoji.com/
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd fontconfig
|
||||||
|
git describe --tags | sed 's/-/+/g'
|
||||||
|
}
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd fontconfig
|
||||||
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd fontconfig
|
||||||
|
export PKG_CONFIG_PATH=/usr/static/lib/pkgconfig:/usr/lib/pkgconfig
|
||||||
|
export PATH=$PWD:$PATH
|
||||||
|
printf '#!/usr/bin/bash\nexec /usr/bin/pkg-config --static "$@"\n' > pkg-config
|
||||||
|
chmod +x pkg-config
|
||||||
|
./configure --prefix=/usr/static \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--with-templatedir=/etc/fonts/conf.avail \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--disable-shared \
|
||||||
|
--enable-static \
|
||||||
|
--disable-docs
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd fontconfig
|
||||||
|
make -k check
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd fontconfig
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
|
||||||
|
rm -r "$pkgdir/usr/static/bin" "$pkgdir/etc" "$pkgdir/var"
|
||||||
|
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set sw=2 et:
|
|
@ -0,0 +1 @@
|
||||||
|
../freetype2/static-bootstrap
|
|
@ -0,0 +1,42 @@
|
||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
|
||||||
|
Date: Tue, 23 Jun 2015 08:40:29 +0200
|
||||||
|
Subject: [PATCH] Enable table validation modules
|
||||||
|
|
||||||
|
---
|
||||||
|
modules.cfg | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/modules.cfg b/modules.cfg
|
||||||
|
index d6cdbe523..181f91541 100644
|
||||||
|
--- a/modules.cfg
|
||||||
|
+++ b/modules.cfg
|
||||||
|
@@ -111,26 +111,26 @@ AUX_MODULES += cache
|
||||||
|
|
||||||
|
# TrueType GX/AAT table validation. Needs `ftgxval.c' below.
|
||||||
|
#
|
||||||
|
-# AUX_MODULES += gxvalid
|
||||||
|
+AUX_MODULES += gxvalid
|
||||||
|
|
||||||
|
# Support for streams compressed with gzip (files with suffix .gz).
|
||||||
|
#
|
||||||
|
# See include/freetype/ftgzip.h for the API.
|
||||||
|
AUX_MODULES += gzip
|
||||||
|
|
||||||
|
# Support for streams compressed with LZW (files with suffix .Z).
|
||||||
|
#
|
||||||
|
# See include/freetype/ftlzw.h for the API.
|
||||||
|
AUX_MODULES += lzw
|
||||||
|
|
||||||
|
# Support for streams compressed with bzip2 (files with suffix .bz2).
|
||||||
|
#
|
||||||
|
# See include/freetype/ftbzip2.h for the API.
|
||||||
|
AUX_MODULES += bzip2
|
||||||
|
|
||||||
|
# OpenType table validation. Needs `ftotval.c' below.
|
||||||
|
#
|
||||||
|
-# AUX_MODULES += otvalid
|
||||||
|
+AUX_MODULES += otvalid
|
||||||
|
|
||||||
|
# Auxiliary PostScript driver component to share common code.
|
||||||
|
#
|
|
@ -0,0 +1,22 @@
|
||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
|
||||||
|
Date: Tue, 23 Jun 2015 08:43:07 +0200
|
||||||
|
Subject: [PATCH] Enable subpixel rendering
|
||||||
|
|
||||||
|
---
|
||||||
|
include/freetype/config/ftoption.h | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
|
||||||
|
index 097f19b8a..e5de62e35 100644
|
||||||
|
--- a/include/freetype/config/ftoption.h
|
||||||
|
+++ b/include/freetype/config/ftoption.h
|
||||||
|
@@ -124,7 +124,7 @@ FT_BEGIN_HEADER
|
||||||
|
* When this macro is not defined, FreeType offers alternative LCD
|
||||||
|
* rendering technology that produces excellent output.
|
||||||
|
*/
|
||||||
|
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
|
||||||
|
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
|
||||||
|
|
||||||
|
|
||||||
|
/**************************************************************************
|
|
@ -0,0 +1,24 @@
|
||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
|
||||||
|
Date: Mon, 29 Aug 2016 08:43:10 +0200
|
||||||
|
Subject: [PATCH] Enable infinality subpixel hinting
|
||||||
|
|
||||||
|
---
|
||||||
|
include/freetype/config/ftoption.h | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
|
||||||
|
index e5de62e35..acb4d6d6a 100644
|
||||||
|
--- a/include/freetype/config/ftoption.h
|
||||||
|
+++ b/include/freetype/config/ftoption.h
|
||||||
|
@@ -672,8 +672,8 @@ FT_BEGIN_HEADER
|
||||||
|
* https://www.microsoft.com/typography/cleartype/truetypecleartype.aspx
|
||||||
|
*/
|
||||||
|
/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 1 */
|
||||||
|
-#define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2
|
||||||
|
-/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 ) */
|
||||||
|
+/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2 */
|
||||||
|
+#define TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 )
|
||||||
|
|
||||||
|
|
||||||
|
/**************************************************************************
|
|
@ -0,0 +1,22 @@
|
||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
|
||||||
|
Date: Sun, 14 May 2017 18:09:31 +0200
|
||||||
|
Subject: [PATCH] Enable long PCF family names
|
||||||
|
|
||||||
|
---
|
||||||
|
include/freetype/config/ftoption.h | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
|
||||||
|
index acb4d6d6a..efa13b9c6 100644
|
||||||
|
--- a/include/freetype/config/ftoption.h
|
||||||
|
+++ b/include/freetype/config/ftoption.h
|
||||||
|
@@ -861,7 +861,7 @@ FT_BEGIN_HEADER
|
||||||
|
* If this option is activated, it can be controlled with the
|
||||||
|
* `no-long-family-names` property of the 'pcf' driver module.
|
||||||
|
*/
|
||||||
|
-/* #define PCF_CONFIG_OPTION_LONG_FAMILY_NAMES */
|
||||||
|
+#define PCF_CONFIG_OPTION_LONG_FAMILY_NAMES
|
||||||
|
|
||||||
|
|
||||||
|
/*************************************************************************/
|
|
@ -0,0 +1,56 @@
|
||||||
|
# Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
||||||
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||||
|
|
||||||
|
_pkgname=freetype2
|
||||||
|
pkgname=$_pkgname-bootstrap-static
|
||||||
|
pkgver=2.10.4
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Font rasterization library"
|
||||||
|
url="https://www.freetype.org/"
|
||||||
|
arch=(x86_64)
|
||||||
|
license=(GPL)
|
||||||
|
depends=(zlib bzip2-static libpng-static)
|
||||||
|
makedepends=(libx11-static)
|
||||||
|
provides=($_pkgname-static)
|
||||||
|
conflicts=($_pkgname-static)
|
||||||
|
options=(staticlibs)
|
||||||
|
source=(https://download-mirror.savannah.gnu.org/releases/freetype/freetype-$pkgver.tar.xz{,.sig}
|
||||||
|
0001-Enable-table-validation-modules.patch
|
||||||
|
0002-Enable-subpixel-rendering.patch
|
||||||
|
0003-Enable-infinality-subpixel-hinting.patch
|
||||||
|
0004-Enable-long-PCF-family-names.patch)
|
||||||
|
sha256sums=('86a854d8905b19698bbc8f23b860bc104246ce4854dcea8e3b0fb21284f75784'
|
||||||
|
'SKIP'
|
||||||
|
'f41df4f336d5e82e58733c7a4594476c9216cfc85c096327745a7e1b559e17e1'
|
||||||
|
'dc77c1cfee4bf8e7e0690628c95d211df09e0d0750e4c8f075b78b5f105514f7'
|
||||||
|
'21a62bc12b848320c686d602d8d4e3bcd51294a9def4dc9c301736e077b59f3f'
|
||||||
|
'266384222f87a02fb02b2179828f6c26fe6d7b1fd09d1f7e3734e7fcb09cda2e')
|
||||||
|
validpgpkeys=(58E0C111E39F5408C5D3EC76C1A60EACE707FDA5) # Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd freetype-$pkgver
|
||||||
|
patch -Np1 -i ../0001-Enable-table-validation-modules.patch
|
||||||
|
patch -Np1 -i ../0002-Enable-subpixel-rendering.patch
|
||||||
|
patch -Np1 -i ../0003-Enable-infinality-subpixel-hinting.patch
|
||||||
|
patch -Np1 -i ../0004-Enable-long-PCF-family-names.patch
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd freetype-$pkgver
|
||||||
|
export PKG_CONFIG_PATH=/usr/static/lib/pkgconfig:/usr/lib/pkgconfig
|
||||||
|
./configure --prefix=/usr/static --disable-shared --enable-static
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd freetype-$pkgver
|
||||||
|
make -k check
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd freetype-$pkgver
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
rm -rf "${pkgdir}"/usr/static/share/
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 et:
|
|
@ -0,0 +1,42 @@
|
||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
|
||||||
|
Date: Tue, 23 Jun 2015 08:40:29 +0200
|
||||||
|
Subject: [PATCH] Enable table validation modules
|
||||||
|
|
||||||
|
---
|
||||||
|
modules.cfg | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/modules.cfg b/modules.cfg
|
||||||
|
index d6cdbe523..181f91541 100644
|
||||||
|
--- a/modules.cfg
|
||||||
|
+++ b/modules.cfg
|
||||||
|
@@ -111,26 +111,26 @@ AUX_MODULES += cache
|
||||||
|
|
||||||
|
# TrueType GX/AAT table validation. Needs `ftgxval.c' below.
|
||||||
|
#
|
||||||
|
-# AUX_MODULES += gxvalid
|
||||||
|
+AUX_MODULES += gxvalid
|
||||||
|
|
||||||
|
# Support for streams compressed with gzip (files with suffix .gz).
|
||||||
|
#
|
||||||
|
# See include/freetype/ftgzip.h for the API.
|
||||||
|
AUX_MODULES += gzip
|
||||||
|
|
||||||
|
# Support for streams compressed with LZW (files with suffix .Z).
|
||||||
|
#
|
||||||
|
# See include/freetype/ftlzw.h for the API.
|
||||||
|
AUX_MODULES += lzw
|
||||||
|
|
||||||
|
# Support for streams compressed with bzip2 (files with suffix .bz2).
|
||||||
|
#
|
||||||
|
# See include/freetype/ftbzip2.h for the API.
|
||||||
|
AUX_MODULES += bzip2
|
||||||
|
|
||||||
|
# OpenType table validation. Needs `ftotval.c' below.
|
||||||
|
#
|
||||||
|
-# AUX_MODULES += otvalid
|
||||||
|
+AUX_MODULES += otvalid
|
||||||
|
|
||||||
|
# Auxiliary PostScript driver component to share common code.
|
||||||
|
#
|
|
@ -0,0 +1,22 @@
|
||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
|
||||||
|
Date: Tue, 23 Jun 2015 08:43:07 +0200
|
||||||
|
Subject: [PATCH] Enable subpixel rendering
|
||||||
|
|
||||||
|
---
|
||||||
|
include/freetype/config/ftoption.h | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
|
||||||
|
index 097f19b8a..e5de62e35 100644
|
||||||
|
--- a/include/freetype/config/ftoption.h
|
||||||
|
+++ b/include/freetype/config/ftoption.h
|
||||||
|
@@ -124,7 +124,7 @@ FT_BEGIN_HEADER
|
||||||
|
* When this macro is not defined, FreeType offers alternative LCD
|
||||||
|
* rendering technology that produces excellent output.
|
||||||
|
*/
|
||||||
|
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
|
||||||
|
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
|
||||||
|
|
||||||
|
|
||||||
|
/**************************************************************************
|
|
@ -0,0 +1,24 @@
|
||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
|
||||||
|
Date: Mon, 29 Aug 2016 08:43:10 +0200
|
||||||
|
Subject: [PATCH] Enable infinality subpixel hinting
|
||||||
|
|
||||||
|
---
|
||||||
|
include/freetype/config/ftoption.h | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
|
||||||
|
index e5de62e35..acb4d6d6a 100644
|
||||||
|
--- a/include/freetype/config/ftoption.h
|
||||||
|
+++ b/include/freetype/config/ftoption.h
|
||||||
|
@@ -672,8 +672,8 @@ FT_BEGIN_HEADER
|
||||||
|
* https://www.microsoft.com/typography/cleartype/truetypecleartype.aspx
|
||||||
|
*/
|
||||||
|
/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 1 */
|
||||||
|
-#define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2
|
||||||
|
-/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 ) */
|
||||||
|
+/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2 */
|
||||||
|
+#define TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 )
|
||||||
|
|
||||||
|
|
||||||
|
/**************************************************************************
|
|
@ -0,0 +1,22 @@
|
||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
|
||||||
|
Date: Sun, 14 May 2017 18:09:31 +0200
|
||||||
|
Subject: [PATCH] Enable long PCF family names
|
||||||
|
|
||||||
|
---
|
||||||
|
include/freetype/config/ftoption.h | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
|
||||||
|
index acb4d6d6a..efa13b9c6 100644
|
||||||
|
--- a/include/freetype/config/ftoption.h
|
||||||
|
+++ b/include/freetype/config/ftoption.h
|
||||||
|
@@ -861,7 +861,7 @@ FT_BEGIN_HEADER
|
||||||
|
* If this option is activated, it can be controlled with the
|
||||||
|
* `no-long-family-names` property of the 'pcf' driver module.
|
||||||
|
*/
|
||||||
|
-/* #define PCF_CONFIG_OPTION_LONG_FAMILY_NAMES */
|
||||||
|
+#define PCF_CONFIG_OPTION_LONG_FAMILY_NAMES
|
||||||
|
|
||||||
|
|
||||||
|
/*************************************************************************/
|
|
@ -0,0 +1,56 @@
|
||||||
|
# Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
||||||
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||||
|
|
||||||
|
_pkgname=freetype2
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=2.10.4
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Font rasterization library"
|
||||||
|
url="https://www.freetype.org/"
|
||||||
|
arch=(x86_64)
|
||||||
|
license=(GPL)
|
||||||
|
# adding harfbuzz for improved OpenType features auto-hinting
|
||||||
|
# introduces a cycle dep to harfbuzz depending on freetype wanted by upstream
|
||||||
|
depends=(zlib bzip2-static libpng-static harfbuzz-static)
|
||||||
|
makedepends=(libx11-static)
|
||||||
|
options=(staticlibs)
|
||||||
|
source=(https://download-mirror.savannah.gnu.org/releases/freetype/freetype-$pkgver.tar.xz{,.sig}
|
||||||
|
0001-Enable-table-validation-modules.patch
|
||||||
|
0002-Enable-subpixel-rendering.patch
|
||||||
|
0003-Enable-infinality-subpixel-hinting.patch
|
||||||
|
0004-Enable-long-PCF-family-names.patch)
|
||||||
|
sha256sums=('86a854d8905b19698bbc8f23b860bc104246ce4854dcea8e3b0fb21284f75784'
|
||||||
|
'SKIP'
|
||||||
|
'f41df4f336d5e82e58733c7a4594476c9216cfc85c096327745a7e1b559e17e1'
|
||||||
|
'dc77c1cfee4bf8e7e0690628c95d211df09e0d0750e4c8f075b78b5f105514f7'
|
||||||
|
'21a62bc12b848320c686d602d8d4e3bcd51294a9def4dc9c301736e077b59f3f'
|
||||||
|
'266384222f87a02fb02b2179828f6c26fe6d7b1fd09d1f7e3734e7fcb09cda2e')
|
||||||
|
validpgpkeys=(58E0C111E39F5408C5D3EC76C1A60EACE707FDA5) # Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd freetype-$pkgver
|
||||||
|
patch -Np1 -i ../0001-Enable-table-validation-modules.patch
|
||||||
|
patch -Np1 -i ../0002-Enable-subpixel-rendering.patch
|
||||||
|
patch -Np1 -i ../0003-Enable-infinality-subpixel-hinting.patch
|
||||||
|
patch -Np1 -i ../0004-Enable-long-PCF-family-names.patch
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd freetype-$pkgver
|
||||||
|
export PKG_CONFIG_PATH=/usr/static/lib/pkgconfig:/usr/lib/pkgconfig
|
||||||
|
./configure --prefix=/usr/static --disable-shared --enable-static
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd freetype-$pkgver
|
||||||
|
make -k check
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd freetype-$pkgver
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
rm -rf "${pkgdir}"/usr/static/share/
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 et:
|
|
@ -0,0 +1,69 @@
|
||||||
|
# Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
||||||
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||||
|
|
||||||
|
_pkgname=glib2
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=2.66.4
|
||||||
|
pkgrel=2
|
||||||
|
pkgdesc="Low level core library"
|
||||||
|
url="https://wiki.gnome.org/Projects/GLib"
|
||||||
|
license=(LGPL)
|
||||||
|
arch=(x86_64)
|
||||||
|
depends=(pcre-static libffi-static util-linux-static zlib) # regular zlib contains static lib
|
||||||
|
makedepends=(gettext shared-mime-info python libelf git util-linux
|
||||||
|
meson dbus sysprof pcre libffi) # shared libs required at build time for some plugins
|
||||||
|
checkdepends=(desktop-file-utils)
|
||||||
|
options=(!strip !emptydirs staticlibs)
|
||||||
|
_commit=bacbec652d356895ec493f3de2f2f6f4c7dafde0 # tags/2.66.4^0
|
||||||
|
source=("git+https://gitlab.gnome.org/GNOME/glib.git#commit=$_commit"
|
||||||
|
noisy-glib-compile-schemas.diff)
|
||||||
|
sha256sums=('SKIP'
|
||||||
|
'81a4df0b638730cffb7fa263c04841f7ca6b9c9578ee5045db6f30ff0c3fc531')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd glib
|
||||||
|
git describe --tags | sed 's/-/+/g'
|
||||||
|
}
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd glib
|
||||||
|
|
||||||
|
# Suppress noise from glib-compile-schemas.hook
|
||||||
|
git apply -3 ../noisy-glib-compile-schemas.diff
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
CFLAGS+=" -DG_DISABLE_CAST_CHECKS"
|
||||||
|
arch-meson glib build \
|
||||||
|
-D selinux=disabled \
|
||||||
|
-D sysprof=enabled \
|
||||||
|
-D man=false \
|
||||||
|
-D gtk_doc=false \
|
||||||
|
-Dinternal_pcre=false \
|
||||||
|
--prefix /usr/static \
|
||||||
|
--default-library static
|
||||||
|
meson compile -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
meson test -C build --no-suite flaky --print-errorlogs
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
DESTDIR="$pkgdir" meson install -C build
|
||||||
|
|
||||||
|
# Strip messes up the LTO-enabled archive's index so strip libs manually and then run ranlib again
|
||||||
|
find "$pkgdir" -name '*.a' -exec strip $STRIP_STATIC {} \;
|
||||||
|
find "$pkgdir" -name '*.a' -exec ranlib {} \;
|
||||||
|
|
||||||
|
# Avoid a dep on sysprof
|
||||||
|
sed -i 's/, sysprof-capture-4//' "$pkgdir"/usr/static/lib/pkgconfig/*.pc
|
||||||
|
|
||||||
|
export PYTHONHASHSEED=0
|
||||||
|
python -m compileall -d /usr/static/share/glib-2.0/codegen \
|
||||||
|
"$pkgdir/usr/static/share/glib-2.0/codegen"
|
||||||
|
python -O -m compileall -d /usr/static/share/glib-2.0/codegen \
|
||||||
|
"$pkgdir/usr/static/share/glib-2.0/codegen"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set sw=2 et:
|
|
@ -0,0 +1,24 @@
|
||||||
|
diff --git i/gio/glib-compile-schemas.c w/gio/glib-compile-schemas.c
|
||||||
|
index b8de0907248f6860..130f89b1728f7932 100644
|
||||||
|
--- i/gio/glib-compile-schemas.c
|
||||||
|
+++ w/gio/glib-compile-schemas.c
|
||||||
|
@@ -1219,19 +1219,6 @@ parse_state_start_schema (ParseState *state,
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (path && (g_str_has_prefix (path, "/apps/") ||
|
||||||
|
- g_str_has_prefix (path, "/desktop/") ||
|
||||||
|
- g_str_has_prefix (path, "/system/")))
|
||||||
|
- {
|
||||||
|
- gchar *message = NULL;
|
||||||
|
- message = g_strdup_printf (_("Warning: Schema “%s” has path “%s”. "
|
||||||
|
- "Paths starting with "
|
||||||
|
- "“/apps/”, “/desktop/” or “/system/” are deprecated."),
|
||||||
|
- id, path);
|
||||||
|
- g_printerr ("%s\n", message);
|
||||||
|
- g_free (message);
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
state->schema_state = schema_state_new (path, gettext_domain,
|
||||||
|
extends, extends_name, list_of);
|
||||||
|
|
|
@ -0,0 +1,49 @@
|
||||||
|
# Contributor: AndyRTR <andyrtr@archlinux.org>
|
||||||
|
|
||||||
|
_pkgname=graphite
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=1.3.14
|
||||||
|
pkgrel=1
|
||||||
|
epoch=1
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://github.com/silnrsi/graphite"
|
||||||
|
pkgdesc='reimplementation of the SIL Graphite text processing engine'
|
||||||
|
license=('LGPL' 'GPL' 'custom')
|
||||||
|
depends=('gcc-libs')
|
||||||
|
makedepends=('cmake' 'freetype2-static' 'python')
|
||||||
|
options=(!emptydirs !docs staticlibs)
|
||||||
|
# https://github.com/silnrsi/graphite/releases/download/1.3.14/graphite2-1.3.14.sha256sum
|
||||||
|
source=(https://github.com/silnrsi/graphite/releases/download/${pkgver}/graphite2-${pkgver}.tgz)
|
||||||
|
sha256sums=('f99d1c13aa5fa296898a181dff9b82fb25f6cc0933dbaa7a475d8109bd54209d')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
mkdir build
|
||||||
|
export PKG_CONFIG_PATH=/usr/static/lib/pkgconfig:/usr/lib/pkgconfig
|
||||||
|
cd graphite2-${pkgver}
|
||||||
|
echo '' > doc/CMakeLists.txt
|
||||||
|
echo '' > tests/CMakeLists.txt # TODO: fix linking tests
|
||||||
|
cd ../build
|
||||||
|
export PATH=$PWD:$PATH
|
||||||
|
printf '#!/usr/bin/bash\nexec /usr/bin/pkg-config --static "$@"\n' > pkg-config
|
||||||
|
chmod +x pkg-config
|
||||||
|
cmake -G "Unix Makefiles" ../graphite2-${pkgver} \
|
||||||
|
-DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr/static \
|
||||||
|
-DCMAKE_BUILD_TYPE:STRING=Release \
|
||||||
|
-DGRAPHITE2_COMPARE_RENDERER=OFF \
|
||||||
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
|
|
||||||
|
# fix unwanted -O3 cflag (taken form Debian)
|
||||||
|
find . -type f ! -name "rules" ! -name "changelog" -exec sed -i -e 's/\-O3//g' {} \;
|
||||||
|
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${srcdir}"/build
|
||||||
|
make DESTDIR="$pkgdir/" install
|
||||||
|
|
||||||
|
# licenses
|
||||||
|
mkdir -p "${pkgdir}"/usr/share/licenses/${pkgname}
|
||||||
|
install -m644 "${srcdir}"/graphite2-${pkgver}/COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/
|
||||||
|
}
|
|
@ -0,0 +1,60 @@
|
||||||
|
# Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
||||||
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||||
|
|
||||||
|
_pkgname=harfbuzz
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=2.7.4
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="OpenType text shaping engine"
|
||||||
|
url="https://www.freedesktop.org/wiki/Software/HarfBuzz"
|
||||||
|
arch=(x86_64)
|
||||||
|
license=(MIT)
|
||||||
|
depends=(glib2-static freetype2-static graphite-static)
|
||||||
|
makedepends=(gobject-introspection ragel git python meson)
|
||||||
|
checkdepends=(python-fonttools python-setuptools)
|
||||||
|
options=(!emptydirs !docs staticlibs)
|
||||||
|
_commit=7236c7e29cef1c2d76c7a284c5081ff4d3aa1127 # tags/2.7.4^0
|
||||||
|
source=("git+https://github.com/harfbuzz/harfbuzz#commit=$_commit")
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd harfbuzz
|
||||||
|
git describe --tags | sed 's/-/+/g'
|
||||||
|
}
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd harfbuzz
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
export PKG_CONFIG_PATH=/usr/static/lib/pkgconfig:/usr/lib/pkgconfig
|
||||||
|
export PATH=$PWD:$PATH
|
||||||
|
printf '#!/usr/bin/bash\nexec /usr/bin/pkg-config --static "$@"\n' > pkg-config
|
||||||
|
chmod +x pkg-config
|
||||||
|
# disable tools (and related tests)
|
||||||
|
echo '' > harfbuzz/util/meson.build
|
||||||
|
echo '' > harfbuzz/test/shaping/meson.build
|
||||||
|
echo '' > harfbuzz/test/subset/meson.build
|
||||||
|
arch-meson harfbuzz build \
|
||||||
|
-Dgraphite=enabled \
|
||||||
|
-Dcairo=disabled \
|
||||||
|
-Dintrospection=disabled \
|
||||||
|
-Dfontconfig=disabled \
|
||||||
|
-Dicu=disabled \
|
||||||
|
-Ddocs=disabled \
|
||||||
|
--prefix /usr/static \
|
||||||
|
--default-library static
|
||||||
|
meson compile -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
mkdir -p tmp
|
||||||
|
TMPDIR="$PWD/tmp" meson test -C build --print-errorlogs
|
||||||
|
rm -r tmp
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
DESTDIR="$pkgdir" meson install -C build
|
||||||
|
|
||||||
|
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 harfbuzz/COPYING
|
||||||
|
}
|
|
@ -0,0 +1,50 @@
|
||||||
|
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
|
||||||
|
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
|
||||||
|
|
||||||
|
_pkgname=keyutils
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
_tag='5678a1aae8834b5c16b5ed7dc72ef8836a29e122' # git rev-parse v${pkgver}
|
||||||
|
pkgver=1.6.3
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Linux Key Management Utilities'
|
||||||
|
arch=('x86_64')
|
||||||
|
url='https://www.kernel.org/'
|
||||||
|
license=('GPL2' 'LGPL2.1')
|
||||||
|
depends=('glibc')
|
||||||
|
makedepends=('git')
|
||||||
|
options=(!emptydirs staticlibs)
|
||||||
|
#validpgpkeys=('A86E54B0D5E1B4E0AB7C640FFBB7576BA7CB0B6B') # David Howells <dhowells@redhat.com>
|
||||||
|
#source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git#tag=${_tag}?signed"
|
||||||
|
source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git#tag=${_tag}"
|
||||||
|
'request-key.conf.patch' 'reproducible.patch')
|
||||||
|
sha256sums=('SKIP'
|
||||||
|
'203c602c61ed94ccd423a0a453d74143d678c641a9a4486367576ee8af2cb8d6'
|
||||||
|
'7bb7400b2b8c8f0288c86ec9191f8964a1e682745a204013d5fc7c2e1a253d8e')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "${_pkgname}"
|
||||||
|
# fix paths of binaries in /etc/request-key.conf
|
||||||
|
patch -Np0 -i ../request-key.conf.patch
|
||||||
|
|
||||||
|
# make keyutils reproducible
|
||||||
|
patch -Np1 -i ../reproducible.patch
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${_pkgname}"
|
||||||
|
make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
|
||||||
|
PREFIX='/usr/static' SBINDIR='/usr/static/bin' BINDIR='/usr/static/bin' INCLUDEDIR='/usr/static/include' \
|
||||||
|
NO_SOLIB=1
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${_pkgname}"
|
||||||
|
make DESTDIR="${pkgdir}" \
|
||||||
|
PREFIX='/usr/static' SBINDIR='/usr/static/bin' BINDIR='/usr/static/bin' LIBDIR='/usr/static/lib' \
|
||||||
|
USRLIBDIR='/usr/static/lib' INCLUDEDIR='/usr/static/include' \
|
||||||
|
NO_SOLIB=1 install pkgconfig
|
||||||
|
install -Dt "$pkgdir/usr/static/lib/pkgconfig" -m644 libkeyutils.pc
|
||||||
|
rm -r "${pkgdir}"/usr/static/bin
|
||||||
|
rm -r "${pkgdir}"/usr/share
|
||||||
|
rm -r "${pkgdir}"/etc
|
||||||
|
}
|
|
@ -0,0 +1,24 @@
|
||||||
|
Adhere to the SOURCE_DATE_EPOCH standard and use it's date when set
|
||||||
|
otherwise fall back to the default behaviour.
|
||||||
|
|
||||||
|
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
|
||||||
|
---
|
||||||
|
Makefile | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/Makefile b/Makefile
|
||||||
|
index 33a451e..9066d5d 100644
|
||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -108,7 +108,7 @@ all: keyctl request-key key.dns_resolver
|
||||||
|
###############################################################################
|
||||||
|
#RPATH = -Wl,-rpath,$(LIBDIR)
|
||||||
|
|
||||||
|
-VCPPFLAGS := -DPKGBUILD="\"$(shell date -u +%F)\""
|
||||||
|
+VCPPFLAGS := -DPKGBUILD="\"$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%F)\""
|
||||||
|
VCPPFLAGS += -DPKGVERSION="\"keyutils-$(VERSION)\""
|
||||||
|
VCPPFLAGS += -DAPIVERSION="\"libkeyutils-$(APIVERSION)\""
|
||||||
|
|
||||||
|
--
|
||||||
|
2.21.0
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
--- request-key.conf.old 2013-05-28 15:34:10.966001242 +0200
|
||||||
|
+++ request-key.conf 2013-05-28 15:35:34.857969598 +0200
|
||||||
|
@@ -31,11 +31,11 @@
|
||||||
|
|
||||||
|
#OP TYPE DESCRIPTION CALLOUT INFO PROGRAM ARG1 ARG2 ARG3 ...
|
||||||
|
#====== ======= =============== =============== ===============================
|
||||||
|
-create dns_resolver * * /sbin/key.dns_resolver %k
|
||||||
|
-create user debug:* negate /bin/keyctl negate %k 30 %S
|
||||||
|
-create user debug:* rejected /bin/keyctl reject %k 30 %c %S
|
||||||
|
-create user debug:* expired /bin/keyctl reject %k 30 %c %S
|
||||||
|
-create user debug:* revoked /bin/keyctl reject %k 30 %c %S
|
||||||
|
-create user debug:loop:* * |/bin/cat
|
||||||
|
+create dns_resolver * * /usr/bin/key.dns_resolver %k
|
||||||
|
+create user debug:* negate /usr/bin/keyctl negate %k 30 %S
|
||||||
|
+create user debug:* rejected /usr/bin/keyctl reject %k 30 %c %S
|
||||||
|
+create user debug:* expired /usr/bin/keyctl reject %k 30 %c %S
|
||||||
|
+create user debug:* revoked /usr/bin/keyctl reject %k 30 %c %S
|
||||||
|
+create user debug:loop:* * |/usr/bin/cat
|
||||||
|
create user debug:* * /usr/share/keyutils/request-key-debug.sh %k %d %c %S
|
||||||
|
-negate * * * /bin/keyctl negate %k 30 %S
|
||||||
|
+negate * * * /usr/bin/keyctl negate %k 30 %S
|
|
@ -0,0 +1,37 @@
|
||||||
|
# Contributor: Antonio Rojas <arojas@archlinux.org>
|
||||||
|
# Contributor: Lex Black <autumn-wind@web.de>
|
||||||
|
# Contributor: Jesin <Jesin00@gmail.com>
|
||||||
|
|
||||||
|
_pkgname=libb2
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=0.98.1
|
||||||
|
pkgrel=2
|
||||||
|
arch=(x86_64)
|
||||||
|
pkgdesc='C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp hash functions'
|
||||||
|
url='https://blake2.net/'
|
||||||
|
license=(custom:CC0)
|
||||||
|
depends=(gcc-libs)
|
||||||
|
options=(staticlibs)
|
||||||
|
source=("https://github.com/BLAKE2/libb2/releases/download/v$pkgver/$_pkgname-$pkgver.tar.gz")
|
||||||
|
sha256sums=('53626fddce753c454a3fea581cbbc7fe9bbcf0bc70416d48fdbbf5d87ef6c72e')
|
||||||
|
|
||||||
|
# libb2's build system discards the $CFLAGS variable.
|
||||||
|
# We can get around this by putting those flags in $CC.
|
||||||
|
export CC="${CC-cc} $CFLAGS"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$_pkgname-$pkgver"
|
||||||
|
./configure --prefix=/usr/static --disable-shared --enable-static --disable-native --enable-fat
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
install -Dm644 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname
|
||||||
|
}
|
|
@ -0,0 +1,47 @@
|
||||||
|
# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
||||||
|
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
||||||
|
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
|
||||||
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||||
|
|
||||||
|
_pkgname=libffi
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=3.3
|
||||||
|
pkgrel=4
|
||||||
|
pkgdesc='Portable foreign function interface library'
|
||||||
|
arch=('x86_64')
|
||||||
|
url='https://sourceware.org/libffi/'
|
||||||
|
license=('MIT')
|
||||||
|
depends=('glibc')
|
||||||
|
checkdepends=('dejagnu')
|
||||||
|
options=(!emptydirs staticlibs)
|
||||||
|
source=(https://sourceware.org/pub/libffi/libffi-$pkgver.tar.gz)
|
||||||
|
sha256sums=('72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056')
|
||||||
|
b2sums=('cddc40729a30a9bd34d675809f51f8d1b4ccaffa54bc6dd6f7e965f4e260edd34754719f9f6247c8957aeb7cf154d56ce1fe16a54c3f1ad39afbebdf41d23caa')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
autoreconf -fiv
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr/static \
|
||||||
|
--disable-shared \
|
||||||
|
--enable-static \
|
||||||
|
--enable-pax_emutramp
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
make -C $_pkgname-$pkgver check
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
rm -r "$pkgdir"/usr/static/share/{man,info}
|
||||||
|
install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim: ts=2 sw=2 et:
|
|
@ -0,0 +1,54 @@
|
||||||
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||||
|
|
||||||
|
# after a .so bump first rebuild dirmngr
|
||||||
|
# with sudo testing-x86_64-build -- -I libgcrypt-1.6.0-1-x86_64.pkg.tar.xz
|
||||||
|
# then cp /usr/lib/libgcrypt.so.11 /var/lib/archbuild/staging-x86_64/root/usr/lib/ and do staging-x86_64-build
|
||||||
|
|
||||||
|
_pkgname=libgcrypt
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=1.8.7
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="General purpose cryptographic library based on the code from GnuPG"
|
||||||
|
arch=(x86_64)
|
||||||
|
url="https://www.gnupg.org"
|
||||||
|
license=('LGPL')
|
||||||
|
depends=('libgpg-error-static')
|
||||||
|
options=('!emptydirs' staticlibs)
|
||||||
|
# https://www.gnupg.org/download/integrity_check.html
|
||||||
|
source=(https://gnupg.org/ftp/gcrypt/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2{,.sig})
|
||||||
|
sha1sums=('ea79a279b27bf25cb1564f96693128f8fc9f41d6'
|
||||||
|
'SKIP')
|
||||||
|
validpgpkeys=('6DAA6E64A76D2840571B4902528897B826403ADA') # "Werner Koch (dist signing 2020)"
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "${_pkgname}"-${pkgver}
|
||||||
|
# tests fail due to systemd+libseccomp preventing memory syscalls when building in chroots
|
||||||
|
# t-secmem: line 176: gcry_control (GCRYCTL_INIT_SECMEM, pool_size, 0) failed: General error
|
||||||
|
# FAIL: t-secmem
|
||||||
|
# t-sexp: line 1174: gcry_control (GCRYCTL_INIT_SECMEM, 16384, 0) failed: General error
|
||||||
|
# FAIL: t-sexp
|
||||||
|
sed -i "s:t-secmem::" tests/Makefile.am
|
||||||
|
sed -i "s:t-sexp::" tests/Makefile.am
|
||||||
|
autoreconf -vfi
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${_pkgname}"-${pkgver}
|
||||||
|
export PKG_CONFIG_PATH=/usr/static/lib/pkgconfig:/usr/lib/pkgconfig
|
||||||
|
./configure --prefix=/usr/static \
|
||||||
|
--disable-shared \
|
||||||
|
--enable-static \
|
||||||
|
--disable-padlock-support
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd "${_pkgname}"-${pkgver}
|
||||||
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${_pkgname}"-${pkgver}
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
rm -r "$pkgdir"/usr/share/{man,info}
|
||||||
|
}
|
|
@ -0,0 +1,26 @@
|
||||||
|
Copyright (c) 2013, NVIDIA CORPORATION.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
copy of this software and/or associated documentation files (the
|
||||||
|
"Materials"), to deal in the Materials without restriction, including
|
||||||
|
without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
distribute, sublicense, and/or sell copies of the Materials, and to
|
||||||
|
permit persons to whom the Materials are furnished to do so, subject to
|
||||||
|
the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included
|
||||||
|
unaltered in all copies or substantial portions of the Materials.
|
||||||
|
Any additions, deletions, or changes to the original source files
|
||||||
|
must be clearly indicated in accompanying documentation.
|
||||||
|
|
||||||
|
If only executable code is distributed, then the accompanying
|
||||||
|
documentation must state that "this software is based in part on the
|
||||||
|
work of the Khronos Group."
|
||||||
|
|
||||||
|
THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
|
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||||
|
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||||
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||||
|
MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
|
|
@ -0,0 +1,35 @@
|
||||||
|
# NOT WORKING as it still produces dynamic libraries
|
||||||
|
# Building this as static library is also not useful, see https://gitlab.freedesktop.org/glvnd/libglvnd/-/issues/212
|
||||||
|
|
||||||
|
_pkgname=libglvnd
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=1.3.2
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="The GL Vendor-Neutral Dispatch library"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://github.com/NVIDIA/libglvnd"
|
||||||
|
license=('custom:BSD-like')
|
||||||
|
depends=('libxext-static' 'mesa' 'opengl-driver')
|
||||||
|
makedepends=('libx11' 'xorgproto' 'python' 'meson')
|
||||||
|
options=(staticlibs)
|
||||||
|
source=("$_pkgname-$pkgver.tar.gz::https://gitlab.freedesktop.org/glvnd/libglvnd/-/archive/v${pkgver}/libglvnd-v${pkgver}.tar.gz"
|
||||||
|
LICENSE)
|
||||||
|
sha512sums=('01db155f02fa21f4217ee5ca6dd8eeed3d20672c8aaa43475bd112921716ee8d4124e01f80a89587ddc8ebfa4a552c5e02d70726222702cce1601a6e6f4bc22b'
|
||||||
|
'bf0f4a7e04220a407400f89226ecc1f798cc43035f2538cc8860e5088e1f84140baf0d4b0b28f66e4b802d4d6925769a1297c24e1ba39c1c093902b2931781a5')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/static/lib/pkgconfig
|
||||||
|
arch-meson $_pkgname-v$pkgver build \
|
||||||
|
-D gles1=false \
|
||||||
|
--prefix /usr/static \
|
||||||
|
--default-library static
|
||||||
|
|
||||||
|
ninja -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
# libglvnd needs mesa for indirect rendering
|
||||||
|
DESTDIR="$pkgdir" ninja -C build install
|
||||||
|
|
||||||
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||||
|
}
|
|
@ -0,0 +1,42 @@
|
||||||
|
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
||||||
|
# Contributor: judd <jvinet@zeroflux.org>
|
||||||
|
|
||||||
|
_pkgname=libgpg-error
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=1.41
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Support library for libgcrypt"
|
||||||
|
arch=(x86_64)
|
||||||
|
url="https://www.gnupg.org"
|
||||||
|
license=('LGPL')
|
||||||
|
depends=('glibc')
|
||||||
|
options=(staticlibs)
|
||||||
|
source=(https://www.gnupg.org/ftp/gcrypt/libgpg-error/${_pkgname}-${pkgver}.tar.bz2{,.sig})
|
||||||
|
# https://www.gnupg.org/download/integrity_check.html
|
||||||
|
sha1sums=('66d6270511a48bac0bf347330e7a12c62f3a1ab4'
|
||||||
|
'SKIP')
|
||||||
|
validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6' # Werner Koch
|
||||||
|
'031EC2536E580D8EA286A9F22071B08A33BD3F06' # NIIBE Yutaka (GnuPG Release Key) <gniibe@fsij.org>
|
||||||
|
'6DAA6E64A76D2840571B4902528897B826403ADA') # "Werner Koch (dist signing 2020)"
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd ${_pkgname}-${pkgver}
|
||||||
|
autoreconf -vfi
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${_pkgname}-${pkgver}
|
||||||
|
./configure --prefix=/usr/static --disable-shared --enable-static
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd ${_pkgname}-${pkgver}
|
||||||
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${_pkgname}-${pkgver}
|
||||||
|
make DESTDIR="${pkgdir}/" install
|
||||||
|
rm -r "$pkgdir"/usr/static/share/{man,info}
|
||||||
|
}
|
|
@ -0,0 +1,33 @@
|
||||||
|
# Maintainer: AndyRTR <andyrtr@archlinux.org>
|
||||||
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||||||
|
# Contributor: Alexander Baldeck <alexander@archlinux.org>
|
||||||
|
|
||||||
|
_pkgname=libice
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=1.0.10
|
||||||
|
pkgrel=3
|
||||||
|
pkgdesc="X11 Inter-Client Exchange library"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://xorg.freedesktop.org/"
|
||||||
|
depends=('glibc')
|
||||||
|
makedepends=('xtrans>=1.2.5' 'xorg-util-macros' 'xorgproto')
|
||||||
|
options=(!emptydirs staticlibs)
|
||||||
|
source=(${url}/releases/individual/lib/libICE-${pkgver}.tar.bz2{,.sig})
|
||||||
|
license=('custom')
|
||||||
|
sha512sums=('2f1ef2c32c833c71894a08fa7e7ed53f301f6c7bd22485d71c12884d8e8b36b99f362ec886349dcc84d08edc81c8b2cea035320831d64974edeba021b433c468'
|
||||||
|
'SKIP')
|
||||||
|
validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.com>"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd libICE-${pkgver}
|
||||||
|
./configure --prefix=/usr/static --disable-shared --enable-static --sysconfdir=/etc
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd libICE-${pkgver}
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
rm -r "$pkgdir"/usr/static/share/doc
|
||||||
|
|
||||||
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
||||||
|
}
|
|
@ -0,0 +1,43 @@
|
||||||
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||||
|
# Contributor: dorphell <dorphell@archlinux.org>
|
||||||
|
# Contributor: Travis Willard <travis@archlinux.org>
|
||||||
|
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
|
||||||
|
|
||||||
|
_pkgname=libpng
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=1.6.37
|
||||||
|
pkgrel=3
|
||||||
|
pkgdesc="A collection of routines used to create PNG format graphics files"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="http://www.libpng.org/pub/png/libpng.html"
|
||||||
|
license=('custom')
|
||||||
|
depends=('zlib' 'sh')
|
||||||
|
options=(!emptydirs staticlibs)
|
||||||
|
validpgpkeys=('8048643BA2C840F4F92A195FF54984BFA16C640F') # Glenn Randers-Pehrson (mozilla) <glennrp@gmail.com>
|
||||||
|
source=("https://downloads.sourceforge.net/sourceforge/$_pkgname/$_pkgname-$pkgver.tar.xz")
|
||||||
|
sha256sums=('505e70834d35383537b6491e7ae8641f1a4bed1876dbfe361201fc80868d88ca')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr/static \
|
||||||
|
--disable-shared \
|
||||||
|
--enable-static
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
|
||||||
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
rm -r "$pkgdir"/usr/static/share/man
|
||||||
|
|
||||||
|
install -D -m0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
|
}
|
|
@ -0,0 +1,30 @@
|
||||||
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||||
|
|
||||||
|
_pkgname=libsm
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=1.2.3
|
||||||
|
pkgrel=2
|
||||||
|
pkgdesc="X11 Session Management library"
|
||||||
|
arch=('x86_64')
|
||||||
|
license=('custom')
|
||||||
|
url="https://xorg.freedesktop.org/"
|
||||||
|
depends=('libice-static' 'util-linux-static')
|
||||||
|
makedepends=('xorg-util-macros' 'xtrans' 'xorgproto')
|
||||||
|
options=(!emptydirs staticlibs)
|
||||||
|
source=(${url}/releases/individual/lib/libSM-${pkgver}.tar.bz2)
|
||||||
|
sha512sums=('74c42e27029db78475e62025b4711dbac5e22d2f8e8a24be98a1c31b03c0fc4afe859928f851800ea0b76854f12147900dc4f27bbfd3d8ea45daaaf24b70a903')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd libSM-${pkgver}
|
||||||
|
export PKG_CONFIG_PATH=/usr/static/lib/pkgconfig:/usr/lib/pkgconfig
|
||||||
|
./configure --prefix=/usr/static --disable-shared --enable-static --sysconfdir=/etc
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd libSM-${pkgver}
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
rm -r "${pkgdir}/usr/static/share/doc"
|
||||||
|
|
||||||
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
||||||
|
}
|
|
@ -0,0 +1,45 @@
|
||||||
|
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
||||||
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||||
|
|
||||||
|
_pkgname=libx11
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=1.7.0
|
||||||
|
pkgrel=3
|
||||||
|
pkgdesc="X11 client-side library"
|
||||||
|
arch=(x86_64)
|
||||||
|
url="https://xorg.freedesktop.org/"
|
||||||
|
# keep xorgproto runtime dependency
|
||||||
|
# https://lists.archlinux.org/pipermail/arch-dev-public/2019-December/029767.html
|
||||||
|
depends=('libxcb-static' 'xorgproto')
|
||||||
|
makedepends=('xorg-util-macros' 'libx11' 'xtrans')
|
||||||
|
license=('custom')
|
||||||
|
options=(!emptydirs staticlibs)
|
||||||
|
source=(${url}/releases/individual/lib/libX11-${pkgver}.tar.bz2{,.sig})
|
||||||
|
sha512sums=('f661ca90350fd8a94f054b00f12f5122cea068ebff706acfd399462236c189a296a2358d17d16166635101cf56cc19303dd407873a159932d093c9f33556f9fb'
|
||||||
|
'SKIP')
|
||||||
|
validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alanc@freedesktop.org>
|
||||||
|
validpgpkeys+=('C41C985FDCF1E5364576638B687393EE37D128F8') # Matthieu Herrb <matthieu.herrb@laas.fr>
|
||||||
|
validpgpkeys+=('3BB639E56F861FA2E86505690FDD682D974CA72A') # Matt Turner <mattst88@gmail.com>
|
||||||
|
validpgpkeys+=('995ED5C8A6138EB0961F18474C09DD83CAAA50B2') # Adam Jackson <ajax@nwnk.net>
|
||||||
|
validpgpkeys=('C383B778255613DFDB409D91DB221A6900000011') # "Keith Packard <keithp@keithp.com>"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd libX11-${pkgver}
|
||||||
|
#export PKG_CONFIG_PATH=/usr/static/lib/pkgconfig:/usr/lib/pkgconfig
|
||||||
|
./configure --prefix=/usr/static --disable-shared --enable-static --disable-xf86bigfont
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd libX11-${pkgver}
|
||||||
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${srcdir}/libX11-${pkgver}"
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
rm -r "$pkgdir"/usr/static/share/{man,doc}
|
||||||
|
|
||||||
|
install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||||
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
||||||
|
}
|
|
@ -0,0 +1,33 @@
|
||||||
|
# Contributor: AndyRTR <andyrtr@archlinux.org>
|
||||||
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||||
|
# Contributor: Alexander Baldeck <alexander@archlinux.org>
|
||||||
|
|
||||||
|
_pkgname=libxau
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=1.0.9
|
||||||
|
pkgrel=3
|
||||||
|
pkgdesc="X11 authorisation library"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://xorg.freedesktop.org/"
|
||||||
|
depends=('glibc')
|
||||||
|
makedepends=('xorgproto')
|
||||||
|
license=('custom')
|
||||||
|
options=(!emptydirs staticlibs)
|
||||||
|
source=(${url}/releases/individual/lib/libXau-${pkgver}.tar.bz2{,.sig})
|
||||||
|
validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.com>"
|
||||||
|
sha512sums=('3ca454ba466a807ea28b0f715066d73dc76ad312697b121d43e4d5766215052e9b7ffb8fe3ed3e496fa3f2a13f164ac692ff85cc428e26731b679f0f06a1d562'
|
||||||
|
'SKIP')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd libXau-${pkgver}
|
||||||
|
./configure --prefix=/usr/static --disable-shared --enable-static --sysconfdir=/etc
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd libXau-${pkgver}
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
rm -r "$pkgdir"/usr/static/share/man
|
||||||
|
|
||||||
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
||||||
|
}
|
|
@ -0,0 +1,44 @@
|
||||||
|
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
||||||
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||||
|
# Contributor: Alexander Baldeck <alexander@archlinux.org>
|
||||||
|
|
||||||
|
_pkgname=libxcb
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=1.14
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="X11 client-side library"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://xcb.freedesktop.org/"
|
||||||
|
depends=('xcb-proto' 'libxdmcp' 'libxau-static')
|
||||||
|
makedepends=('libxslt' 'python' 'xorg-util-macros' 'xorgproto')
|
||||||
|
license=('custom')
|
||||||
|
options=(!emptydirs staticlibs)
|
||||||
|
source=(https://xorg.freedesktop.org/archive/individual/lib/$_pkgname-$pkgver.tar.xz{,.sig})
|
||||||
|
sha512sums=('b90a23204b0d2c29d8b115577edb01df0465e02d6a8876550fecd62375d24a5d5f872ddd5946772ddba077cadce75b12c7a6d218469dc30b5b92bc82188e8bc6'
|
||||||
|
'SKIP')
|
||||||
|
validpgpkeys=('A66D805F7C9329B4C5D82767CCC4F07FAC641EFF') # "Daniel Stone <daniels@collabora.com>"
|
||||||
|
validpgpkeys+=('3BB639E56F861FA2E86505690FDD682D974CA72A') # "Matt Turner <mattst88@gmail.com>"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$_pkgname-$pkgver"
|
||||||
|
export PKG_CONFIG_PATH=/usr/static/lib/pkgconfig:/usr/lib/pkgconfig
|
||||||
|
./configure --prefix=/usr/static \
|
||||||
|
--enable-xinput \
|
||||||
|
--enable-xkb \
|
||||||
|
--disable-shared \
|
||||||
|
--enable-static
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
make -k check
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$_pkgname-$pkgver"
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
rm -r "${pkgdir}"/usr/static/share/{doc,man}
|
||||||
|
install -m755 -d "$pkgdir/usr/share/licenses/$pkgname"
|
||||||
|
install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname"
|
||||||
|
}
|
|
@ -0,0 +1,33 @@
|
||||||
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||||
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||||||
|
|
||||||
|
_pkgname=libxdmcp
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=1.1.3
|
||||||
|
pkgrel=3
|
||||||
|
pkgdesc="X11 Display Manager Control Protocol library"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://xorg.freedesktop.org/"
|
||||||
|
license=('custom')
|
||||||
|
depends=('glibc')
|
||||||
|
makedepends=('xorg-util-macros' 'xorgproto')
|
||||||
|
options=(!emptydirs staticlibs)
|
||||||
|
source=(${url}/releases/individual/lib/libXdmcp-${pkgver}.tar.bz2{,.sig})
|
||||||
|
sha512sums=('cb1d4650f97d66e73acd2465ec7d757b9b797cce2f85e301860a44997a461837eea845ec9bd5b639ec5ca34c804f8bdd870697a5ce3f4e270b687c9ef74f25ec'
|
||||||
|
'SKIP')
|
||||||
|
validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd libXdmcp-${pkgver}
|
||||||
|
./configure --prefix=/usr/static --disable-shared --enable-static --sysconfdir=/etc
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd libXdmcp-${pkgver}
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
rm -r "$pkgdir"/usr/static/share/doc
|
||||||
|
|
||||||
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||||
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
||||||
|
}
|
|
@ -0,0 +1,35 @@
|
||||||
|
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
||||||
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||||
|
|
||||||
|
_pkgname=libxext
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=1.3.4
|
||||||
|
pkgrel=3
|
||||||
|
pkgdesc="X11 miscellaneous extensions library"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://xorg.freedesktop.org/"
|
||||||
|
license=('custom')
|
||||||
|
depends=('libx11-static')
|
||||||
|
makedepends=('xorg-util-macros' 'xorgproto')
|
||||||
|
options=(!emptydirs staticlibs)
|
||||||
|
source=(${url}/releases/individual/lib/libXext-${pkgver}.tar.bz2{,.sig})
|
||||||
|
sha512sums=('09146397d95f80c04701be1cc0a9c580ab5a085842ac31d17dfb6d4c2e42b4253b89cba695e54444e520be359883a76ffd02f42484c9e2ba2c33a5a40c29df4a'
|
||||||
|
'SKIP')
|
||||||
|
validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # "Peter Hutterer (Who-T) <office@who-t.net>"
|
||||||
|
validpgpkeys+=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd libXext-${pkgver}
|
||||||
|
export PKG_CONFIG_PATH=/usr/static/lib/pkgconfig:/usr/lib/pkgconfig
|
||||||
|
./configure --prefix=/usr/static --sysconfdir=/etc --disable-shared --enable-static
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd libXext-${pkgver}
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
rm -r "$pkgdir"/usr/static/share/{doc,man}
|
||||||
|
|
||||||
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||||
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
||||||
|
}
|
|
@ -0,0 +1,50 @@
|
||||||
|
# Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
||||||
|
# Contributor: Daniel Micay <danielmicay@gmail.com>
|
||||||
|
# Contributor: Mladen Pejakovic <pejakm@gmail.com>
|
||||||
|
|
||||||
|
_pkgname=libxkbcommon
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=1.0.3
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Keymap handling library for toolkits and window systems"
|
||||||
|
url="https://xkbcommon.org/"
|
||||||
|
arch=(x86_64)
|
||||||
|
license=(custom)
|
||||||
|
depends=(libxcb-static xkeyboard-config libxml2-static wayland-static libxml2-static)
|
||||||
|
makedepends=(xkeyboard-config libxml2 libxcb wayland wayland-protocols doxygen
|
||||||
|
git meson)
|
||||||
|
checkdepends=(xorg-server-xvfb libgl)
|
||||||
|
options=(!emptydirs !docs staticlibs)
|
||||||
|
_commit=c60b77ea512bef92e481be38972b58dd71a34180 # tags/xkbcommon-1.0.3^0
|
||||||
|
source=("git+https://github.com/xkbcommon/libxkbcommon#commit=$_commit")
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd $_pkgname
|
||||||
|
git describe --tags | sed 's/^xkbcommon-//;s/-/+/g'
|
||||||
|
}
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd $_pkgname
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
export PKG_CONFIG_PATH=/usr/static/lib/pkgconfig:/usr/lib/pkgconfig
|
||||||
|
export PATH=$PWD:$PATH
|
||||||
|
printf '#!/usr/bin/bash\nexec /usr/bin/pkg-config --static "$@"\n' > pkg-config
|
||||||
|
chmod +x pkg-config
|
||||||
|
arch-meson $_pkgname build \
|
||||||
|
--prefix /usr/static \
|
||||||
|
--default-library static \
|
||||||
|
-Denable-docs=false
|
||||||
|
meson compile -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
xvfb-run -s '-nolisten local' meson test -C build --print-errorlogs
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
DESTDIR="$pkgdir" meson install -C build
|
||||||
|
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $_pkgname/LICENSE
|
||||||
|
}
|
|
@ -0,0 +1,89 @@
|
||||||
|
# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
||||||
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||||
|
# Contributor: Tom Gundersen <teg@jklm.no>
|
||||||
|
# Contributor: John Proctor <jproctor@prium.net>
|
||||||
|
|
||||||
|
_pkgname=libxml2
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=2.9.10
|
||||||
|
pkgrel=8
|
||||||
|
pkgdesc='XML parsing library, version 2'
|
||||||
|
url='http://www.xmlsoft.org/'
|
||||||
|
arch=(x86_64)
|
||||||
|
license=(MIT)
|
||||||
|
depends=(zlib xz-static)
|
||||||
|
makedepends=(git)
|
||||||
|
options=(!emptydirs staticlibs)
|
||||||
|
_commit=41a34e1f4ffae2ce401600dbb5fe43f8fe402641 # tags/v2.9.10^0
|
||||||
|
source=("git+https://gitlab.gnome.org/GNOME/libxml2.git#commit=$_commit"
|
||||||
|
libxml2-2.9.8-python3-unicode-errors.patch
|
||||||
|
fix-relaxed-approach-to-nested-documents.patch
|
||||||
|
libxml2-2.9.10-CVE-2019-20388.patch
|
||||||
|
libxml2-2.9.10-CVE-2020-7595.patch
|
||||||
|
libxml2-2.9.10-parenthesize-type-checks.patch
|
||||||
|
libxml2-2.9.10-CVE-2020-24977.patch
|
||||||
|
libxml2-2.9.10-fix-integer-overflow.patch
|
||||||
|
libxml2-2.9.10-icu68.patch
|
||||||
|
https://www.w3.org/XML/Test/xmlts20130923.tar.gz)
|
||||||
|
sha256sums=('SKIP'
|
||||||
|
'37eb81a8ec6929eed1514e891bff2dd05b450bcf0c712153880c485b7366c17c'
|
||||||
|
'50f04807b86a179d051fb86755e82f55ba7aac9d0c005eefea93d2599a911d01'
|
||||||
|
'cfe1b3e0f026df6f979dbd77c1dcd1268e60acf3d7a8ff3f480b4e67bfcc19d6'
|
||||||
|
'c6105ff40d7b1b140fcd821b5d64ab8c7b596708071c26964727e7352b07ac7e'
|
||||||
|
'b63c161e4c8a6f0a65ba091c3d3ed09d3110d21f997ee61077c782b311fd4b33'
|
||||||
|
'62eafffc2b4949489c261c63883d27c2e83d688f1d4c899000b283e4c2a682be'
|
||||||
|
'fd227780ad5699bebca7ef412d2d50fb1d21a54f6e3fdcad0bda5bdc8f8b2525'
|
||||||
|
'f02a435761f26ff664041d49f9d05924dc627bf103c7f542feee891f69aa84a2'
|
||||||
|
'9b61db9f5dbffa545f4b8d78422167083a8568c59bd1129f94138f936cf6fc1f')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "$_pkgname"
|
||||||
|
git describe --always --tags | sed 's/-rc/rc/;s/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||||
|
}
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "$_pkgname"
|
||||||
|
|
||||||
|
# From https://src.fedoraproject.org/rpms/libxml2/tree/master
|
||||||
|
patch -Np1 -i ../libxml2-2.9.8-python3-unicode-errors.patch
|
||||||
|
patch -Np1 -i ../fix-relaxed-approach-to-nested-documents.patch
|
||||||
|
patch -Np1 -i ../libxml2-2.9.10-CVE-2019-20388.patch
|
||||||
|
patch -Np1 -i ../libxml2-2.9.10-CVE-2020-7595.patch
|
||||||
|
patch -Np1 -i ../libxml2-2.9.10-parenthesize-type-checks.patch
|
||||||
|
patch -Np1 -i ../libxml2-2.9.10-CVE-2020-24977.patch
|
||||||
|
patch -Np1 -i ../libxml2-2.9.10-fix-integer-overflow.patch
|
||||||
|
|
||||||
|
patch -Np1 -i ../libxml2-2.9.10-icu68.patch
|
||||||
|
|
||||||
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
|
}
|
||||||
|
|
||||||
|
build() (
|
||||||
|
cd "$_pkgname"
|
||||||
|
export PKG_CONFIG_PATH=/usr/static/lib/pkgconfig:/usr/lib/pkgconfig
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr/static \
|
||||||
|
--disable-shared \
|
||||||
|
--enable-static \
|
||||||
|
--with-threads \
|
||||||
|
--without-history \
|
||||||
|
--without-icu \
|
||||||
|
--without-docbook \
|
||||||
|
--without-html
|
||||||
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
|
||||||
|
make
|
||||||
|
)
|
||||||
|
|
||||||
|
#check() {
|
||||||
|
# cd "$_pkgname"
|
||||||
|
# make check
|
||||||
|
#}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$_pkgname"
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
rm -r "$pkgdir"/usr/static/{bin,share/man,share/doc,share/gtk-doc}
|
||||||
|
install -Dm 644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim: ts=2 sw=2 et:
|
|
@ -0,0 +1,33 @@
|
||||||
|
From 0815302dee2b78139832c2080348086a0564836b Mon Sep 17 00:00:00 2001
|
||||||
|
From: Nick Wellnhofer <wellnhofer@aevum.de>
|
||||||
|
Date: Fri, 6 Dec 2019 12:27:29 +0100
|
||||||
|
Subject: [PATCH] Fix freeing of nested documents
|
||||||
|
|
||||||
|
Apparently, some libxslt RVTs can contain nested document nodes, see
|
||||||
|
issue #132. I'm not sure how this happens exactly but it can cause a
|
||||||
|
segfault in xmlFreeNodeList after the changes in commit 0762c9b6.
|
||||||
|
|
||||||
|
Make sure not to touch the (nonexistent) `content` member of xmlDocs.
|
||||||
|
---
|
||||||
|
tree.c | 5 +++++
|
||||||
|
1 file changed, 5 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/tree.c b/tree.c
|
||||||
|
index 070670f1..0d7fc98c 100644
|
||||||
|
--- a/tree.c
|
||||||
|
+++ b/tree.c
|
||||||
|
@@ -3708,6 +3708,11 @@ xmlFreeNodeList(xmlNodePtr cur) {
|
||||||
|
(cur->type != XML_XINCLUDE_START) &&
|
||||||
|
(cur->type != XML_XINCLUDE_END) &&
|
||||||
|
(cur->type != XML_ENTITY_REF_NODE) &&
|
||||||
|
+ (cur->type != XML_DOCUMENT_NODE) &&
|
||||||
|
+#ifdef LIBXML_DOCB_ENABLED
|
||||||
|
+ (cur->type != XML_DOCB_DOCUMENT_NODE) &&
|
||||||
|
+#endif
|
||||||
|
+ (cur->type != XML_HTML_DOCUMENT_NODE) &&
|
||||||
|
(cur->content != (xmlChar *) &(cur->properties))) {
|
||||||
|
DICT_FREE(cur->content)
|
||||||
|
}
|
||||||
|
--
|
||||||
|
2.22.0
|
||||||
|
|
|
@ -0,0 +1,33 @@
|
||||||
|
From 6088a74bcf7d0c42e24cff4594d804e1d3c9fbca Mon Sep 17 00:00:00 2001
|
||||||
|
From: Zhipeng Xie <xiezhipeng1@huawei.com>
|
||||||
|
Date: Tue, 20 Aug 2019 16:33:06 +0800
|
||||||
|
Subject: [PATCH] Fix memory leak in xmlSchemaValidateStream
|
||||||
|
|
||||||
|
When ctxt->schema is NULL, xmlSchemaSAXPlug->xmlSchemaPreRun
|
||||||
|
alloc a new schema for ctxt->schema and set vctxt->xsiAssemble
|
||||||
|
to 1. Then xmlSchemaVStart->xmlSchemaPreRun initialize
|
||||||
|
vctxt->xsiAssemble to 0 again which cause the alloced schema
|
||||||
|
can not be freed anymore.
|
||||||
|
|
||||||
|
Found with libFuzzer.
|
||||||
|
|
||||||
|
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
|
||||||
|
---
|
||||||
|
xmlschemas.c | 1 -
|
||||||
|
1 file changed, 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/xmlschemas.c b/xmlschemas.c
|
||||||
|
index 301c8449..39d92182 100644
|
||||||
|
--- a/xmlschemas.c
|
||||||
|
+++ b/xmlschemas.c
|
||||||
|
@@ -28090,7 +28090,6 @@ xmlSchemaPreRun(xmlSchemaValidCtxtPtr vctxt) {
|
||||||
|
vctxt->nberrors = 0;
|
||||||
|
vctxt->depth = -1;
|
||||||
|
vctxt->skipDepth = -1;
|
||||||
|
- vctxt->xsiAssemble = 0;
|
||||||
|
vctxt->hasKeyrefs = 0;
|
||||||
|
#ifdef ENABLE_IDC_NODE_TABLES_TEST
|
||||||
|
vctxt->createIDCNodeTables = 1;
|
||||||
|
--
|
||||||
|
2.24.1
|
||||||
|
|
|
@ -0,0 +1,36 @@
|
||||||
|
From 50f06b3efb638efb0abd95dc62dca05ae67882c2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Nick Wellnhofer <wellnhofer@aevum.de>
|
||||||
|
Date: Fri, 7 Aug 2020 21:54:27 +0200
|
||||||
|
Subject: [PATCH] Fix out-of-bounds read with 'xmllint --htmlout'
|
||||||
|
|
||||||
|
Make sure that truncated UTF-8 sequences don't cause an out-of-bounds
|
||||||
|
array access.
|
||||||
|
|
||||||
|
Thanks to @SuhwanSong and the Agency for Defense Development (ADD) for
|
||||||
|
the report.
|
||||||
|
|
||||||
|
Fixes #178.
|
||||||
|
---
|
||||||
|
xmllint.c | 6 ++++++
|
||||||
|
1 file changed, 6 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/xmllint.c b/xmllint.c
|
||||||
|
index f6a8e463..c647486f 100644
|
||||||
|
--- a/xmllint.c
|
||||||
|
+++ b/xmllint.c
|
||||||
|
@@ -528,6 +528,12 @@ static void
|
||||||
|
xmlHTMLEncodeSend(void) {
|
||||||
|
char *result;
|
||||||
|
|
||||||
|
+ /*
|
||||||
|
+ * xmlEncodeEntitiesReentrant assumes valid UTF-8, but the buffer might
|
||||||
|
+ * end with a truncated UTF-8 sequence. This is a hack to at least avoid
|
||||||
|
+ * an out-of-bounds read.
|
||||||
|
+ */
|
||||||
|
+ memset(&buffer[sizeof(buffer)-4], 0, 4);
|
||||||
|
result = (char *) xmlEncodeEntitiesReentrant(NULL, BAD_CAST buffer);
|
||||||
|
if (result) {
|
||||||
|
xmlGenericError(xmlGenericErrorContext, "%s", result);
|
||||||
|
--
|
||||||
|
2.28.0.rc2
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
From 0e1a49c8907645d2e155f0d89d4d9895ac5112b5 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Zhipeng Xie <xiezhipeng1@huawei.com>
|
||||||
|
Date: Thu, 12 Dec 2019 17:30:55 +0800
|
||||||
|
Subject: [PATCH] Fix infinite loop in xmlStringLenDecodeEntities
|
||||||
|
|
||||||
|
When ctxt->instate == XML_PARSER_EOF,xmlParseStringEntityRef
|
||||||
|
return NULL which cause a infinite loop in xmlStringLenDecodeEntities
|
||||||
|
|
||||||
|
Found with libFuzzer.
|
||||||
|
|
||||||
|
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
|
||||||
|
---
|
||||||
|
parser.c | 3 ++-
|
||||||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/parser.c b/parser.c
|
||||||
|
index d1c31963..a34bb6cd 100644
|
||||||
|
--- a/parser.c
|
||||||
|
+++ b/parser.c
|
||||||
|
@@ -2646,7 +2646,8 @@ xmlStringLenDecodeEntities(xmlParserCtxtPtr ctxt, const xmlChar *str, int len,
|
||||||
|
else
|
||||||
|
c = 0;
|
||||||
|
while ((c != 0) && (c != end) && /* non input consuming loop */
|
||||||
|
- (c != end2) && (c != end3)) {
|
||||||
|
+ (c != end2) && (c != end3) &&
|
||||||
|
+ (ctxt->instate != XML_PARSER_EOF)) {
|
||||||
|
|
||||||
|
if (c == 0) break;
|
||||||
|
if ((c == '&') && (str[1] == '#')) {
|
||||||
|
--
|
||||||
|
2.24.1
|
||||||
|
|
|
@ -0,0 +1,41 @@
|
||||||
|
From 8e7c20a1af8776677d7890f30b7a180567701a49 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Nick Wellnhofer <wellnhofer@aevum.de>
|
||||||
|
Date: Mon, 3 Aug 2020 17:30:41 +0200
|
||||||
|
Subject: [PATCH] Fix integer overflow when comparing schema dates
|
||||||
|
|
||||||
|
Found by OSS-Fuzz.
|
||||||
|
---
|
||||||
|
xmlschemastypes.c | 10 ++++++++++
|
||||||
|
1 file changed, 10 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/xmlschemastypes.c b/xmlschemastypes.c
|
||||||
|
index 4249d700..d6b9f924 100644
|
||||||
|
--- a/xmlschemastypes.c
|
||||||
|
+++ b/xmlschemastypes.c
|
||||||
|
@@ -3691,6 +3691,8 @@ xmlSchemaCompareDurations(xmlSchemaValPtr x, xmlSchemaValPtr y)
|
||||||
|
minday = 0;
|
||||||
|
maxday = 0;
|
||||||
|
} else {
|
||||||
|
+ if (myear > LONG_MAX / 366)
|
||||||
|
+ return -2;
|
||||||
|
/* FIXME: This doesn't take leap year exceptions every 100/400 years
|
||||||
|
into account. */
|
||||||
|
maxday = 365 * myear + (myear + 3) / 4;
|
||||||
|
@@ -4079,6 +4081,14 @@ xmlSchemaCompareDates (xmlSchemaValPtr x, xmlSchemaValPtr y)
|
||||||
|
if ((x == NULL) || (y == NULL))
|
||||||
|
return -2;
|
||||||
|
|
||||||
|
+ if ((x->value.date.year > LONG_MAX / 366) ||
|
||||||
|
+ (x->value.date.year < LONG_MIN / 366) ||
|
||||||
|
+ (y->value.date.year > LONG_MAX / 366) ||
|
||||||
|
+ (y->value.date.year < LONG_MIN / 366)) {
|
||||||
|
+ /* Possible overflow when converting to days. */
|
||||||
|
+ return -2;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
if (x->value.date.tz_flag) {
|
||||||
|
|
||||||
|
if (!y->value.date.tz_flag) {
|
||||||
|
--
|
||||||
|
2.28.0.rc2
|
||||||
|
|
|
@ -0,0 +1,28 @@
|
||||||
|
From b516ed189eb440e909f36baca1557b98e4d9ffd7 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Frederik Seiffert <frederik@algoriddim.com>
|
||||||
|
Date: Thu, 12 Nov 2020 12:53:43 +0100
|
||||||
|
Subject: [PATCH] Fix building with ICU 68.
|
||||||
|
|
||||||
|
ICU 68 no longer defines the TRUE macro.
|
||||||
|
|
||||||
|
Closes #204.
|
||||||
|
---
|
||||||
|
encoding.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/encoding.c b/encoding.c
|
||||||
|
index c34aca44..264f60bb 100644
|
||||||
|
--- a/encoding.c
|
||||||
|
+++ b/encoding.c
|
||||||
|
@@ -2004,7 +2004,7 @@ xmlEncOutputChunk(xmlCharEncodingHandler *handler, unsigned char *out,
|
||||||
|
#ifdef LIBXML_ICU_ENABLED
|
||||||
|
else if (handler->uconv_out != NULL) {
|
||||||
|
ret = xmlUconvWrapper(handler->uconv_out, 0, out, outlen, in, inlen,
|
||||||
|
- TRUE);
|
||||||
|
+ 1);
|
||||||
|
}
|
||||||
|
#endif /* LIBXML_ICU_ENABLED */
|
||||||
|
else {
|
||||||
|
--
|
||||||
|
GitLab
|
||||||
|
|
|
@ -0,0 +1,92 @@
|
||||||
|
From edc7b6abb0c125eeb888748c334897f60aab0854 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
|
||||||
|
Date: Fri, 28 Feb 2020 12:48:14 +0100
|
||||||
|
Subject: [PATCH] Parenthesize Py<type>_Check() in ifs
|
||||||
|
|
||||||
|
In C, if expressions should be parenthesized.
|
||||||
|
PyLong_Check, PyUnicode_Check etc. happened to expand to a parenthesized
|
||||||
|
expression before, but that's not API to rely on.
|
||||||
|
|
||||||
|
Since Python 3.9.0a4 it needs to be parenthesized explicitly.
|
||||||
|
|
||||||
|
Fixes https://gitlab.gnome.org/GNOME/libxml2/issues/149
|
||||||
|
---
|
||||||
|
python/libxml.c | 4 ++--
|
||||||
|
python/types.c | 12 ++++++------
|
||||||
|
2 files changed, 8 insertions(+), 8 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/python/libxml.c b/python/libxml.c
|
||||||
|
index bc676c4e..81e709f3 100644
|
||||||
|
--- a/python/libxml.c
|
||||||
|
+++ b/python/libxml.c
|
||||||
|
@@ -294,7 +294,7 @@ xmlPythonFileReadRaw (void * context, char * buffer, int len) {
|
||||||
|
lenread = PyBytes_Size(ret);
|
||||||
|
data = PyBytes_AsString(ret);
|
||||||
|
#ifdef PyUnicode_Check
|
||||||
|
- } else if PyUnicode_Check (ret) {
|
||||||
|
+ } else if (PyUnicode_Check (ret)) {
|
||||||
|
#if PY_VERSION_HEX >= 0x03030000
|
||||||
|
Py_ssize_t size;
|
||||||
|
const char *tmp;
|
||||||
|
@@ -359,7 +359,7 @@ xmlPythonFileRead (void * context, char * buffer, int len) {
|
||||||
|
lenread = PyBytes_Size(ret);
|
||||||
|
data = PyBytes_AsString(ret);
|
||||||
|
#ifdef PyUnicode_Check
|
||||||
|
- } else if PyUnicode_Check (ret) {
|
||||||
|
+ } else if (PyUnicode_Check (ret)) {
|
||||||
|
#if PY_VERSION_HEX >= 0x03030000
|
||||||
|
Py_ssize_t size;
|
||||||
|
const char *tmp;
|
||||||
|
diff --git a/python/types.c b/python/types.c
|
||||||
|
index c2bafeb1..ed284ec7 100644
|
||||||
|
--- a/python/types.c
|
||||||
|
+++ b/python/types.c
|
||||||
|
@@ -602,16 +602,16 @@ libxml_xmlXPathObjectPtrConvert(PyObject *obj)
|
||||||
|
if (obj == NULL) {
|
||||||
|
return (NULL);
|
||||||
|
}
|
||||||
|
- if PyFloat_Check (obj) {
|
||||||
|
+ if (PyFloat_Check (obj)) {
|
||||||
|
ret = xmlXPathNewFloat((double) PyFloat_AS_DOUBLE(obj));
|
||||||
|
- } else if PyLong_Check(obj) {
|
||||||
|
+ } else if (PyLong_Check(obj)) {
|
||||||
|
#ifdef PyLong_AS_LONG
|
||||||
|
ret = xmlXPathNewFloat((double) PyLong_AS_LONG(obj));
|
||||||
|
#else
|
||||||
|
ret = xmlXPathNewFloat((double) PyInt_AS_LONG(obj));
|
||||||
|
#endif
|
||||||
|
#ifdef PyBool_Check
|
||||||
|
- } else if PyBool_Check (obj) {
|
||||||
|
+ } else if (PyBool_Check (obj)) {
|
||||||
|
|
||||||
|
if (obj == Py_True) {
|
||||||
|
ret = xmlXPathNewBoolean(1);
|
||||||
|
@@ -620,14 +620,14 @@ libxml_xmlXPathObjectPtrConvert(PyObject *obj)
|
||||||
|
ret = xmlXPathNewBoolean(0);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
- } else if PyBytes_Check (obj) {
|
||||||
|
+ } else if (PyBytes_Check (obj)) {
|
||||||
|
xmlChar *str;
|
||||||
|
|
||||||
|
str = xmlStrndup((const xmlChar *) PyBytes_AS_STRING(obj),
|
||||||
|
PyBytes_GET_SIZE(obj));
|
||||||
|
ret = xmlXPathWrapString(str);
|
||||||
|
#ifdef PyUnicode_Check
|
||||||
|
- } else if PyUnicode_Check (obj) {
|
||||||
|
+ } else if (PyUnicode_Check (obj)) {
|
||||||
|
#if PY_VERSION_HEX >= 0x03030000
|
||||||
|
xmlChar *str;
|
||||||
|
const char *tmp;
|
||||||
|
@@ -650,7 +650,7 @@ libxml_xmlXPathObjectPtrConvert(PyObject *obj)
|
||||||
|
ret = xmlXPathWrapString(str);
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
- } else if PyList_Check (obj) {
|
||||||
|
+ } else if (PyList_Check (obj)) {
|
||||||
|
int i;
|
||||||
|
PyObject *node;
|
||||||
|
xmlNodePtr cur;
|
||||||
|
--
|
||||||
|
2.24.1
|
||||||
|
|
|
@ -0,0 +1,34 @@
|
||||||
|
Index: libxml2-2.9.5/python/libxml.c
|
||||||
|
===================================================================
|
||||||
|
--- libxml2-2.9.5.orig/python/libxml.c
|
||||||
|
+++ libxml2-2.9.5/python/libxml.c
|
||||||
|
@@ -1620,6 +1620,7 @@ libxml_xmlErrorFuncHandler(ATTRIBUTE_UNU
|
||||||
|
PyObject *message;
|
||||||
|
PyObject *result;
|
||||||
|
char str[1000];
|
||||||
|
+ unsigned char *ptr = (unsigned char *)str;
|
||||||
|
|
||||||
|
#ifdef DEBUG_ERROR
|
||||||
|
printf("libxml_xmlErrorFuncHandler(%p, %s, ...) called\n", ctx, msg);
|
||||||
|
@@ -1636,12 +1637,20 @@ libxml_xmlErrorFuncHandler(ATTRIBUTE_UNU
|
||||||
|
str[999] = 0;
|
||||||
|
va_end(ap);
|
||||||
|
|
||||||
|
+#if PY_MAJOR_VERSION >= 3
|
||||||
|
+ /* Ensure the error string doesn't start at UTF8 continuation. */
|
||||||
|
+ while (*ptr && (*ptr & 0xc0) == 0x80)
|
||||||
|
+ ptr++;
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
list = PyTuple_New(2);
|
||||||
|
PyTuple_SetItem(list, 0, libxml_xmlPythonErrorFuncCtxt);
|
||||||
|
Py_XINCREF(libxml_xmlPythonErrorFuncCtxt);
|
||||||
|
- message = libxml_charPtrConstWrap(str);
|
||||||
|
+ message = libxml_charPtrConstWrap(ptr);
|
||||||
|
PyTuple_SetItem(list, 1, message);
|
||||||
|
result = PyEval_CallObject(libxml_xmlPythonErrorFuncHandler, list);
|
||||||
|
+ /* Forget any errors caused in the error handler. */
|
||||||
|
+ PyErr_Clear();
|
||||||
|
Py_XDECREF(list);
|
||||||
|
Py_XDECREF(result);
|
||||||
|
}
|
|
@ -0,0 +1,33 @@
|
||||||
|
# Contributor: Sébastien Luttringer
|
||||||
|
|
||||||
|
_pkgname=lz4
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
epoch=1
|
||||||
|
pkgver=1.9.3
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Extremely fast compression algorithm'
|
||||||
|
arch=('x86_64')
|
||||||
|
url='http://www.lz4.org/'
|
||||||
|
license=('GPL2')
|
||||||
|
makedepends=('git')
|
||||||
|
depends=('glibc')
|
||||||
|
options=(!emptydirs staticlibs)
|
||||||
|
source=("git+https://github.com/lz4/lz4.git#tag=v$pkgver")
|
||||||
|
md5sums=('SKIP')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
# do not use the main makefile, it calls sub make with -e
|
||||||
|
# exported CLFAGS by makepkg break the version. see FS#50071
|
||||||
|
cd $_pkgname
|
||||||
|
make -C lib PREFIX=/usr/static
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $_pkgname
|
||||||
|
make install PREFIX=/usr/static DESTDIR="$pkgdir"
|
||||||
|
rm -r "$pkgdir"/usr/static/bin
|
||||||
|
rm -r "$pkgdir"/usr/static/share/man
|
||||||
|
find "$pkgdir" -iname '*.so*' -delete
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 et:
|
|
@ -0,0 +1,65 @@
|
||||||
|
# Contributor: Pierre Schmitz <pierre@archlinux.de>
|
||||||
|
|
||||||
|
_pkgname=openssl
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
_ver=1.1.1i
|
||||||
|
# use a pacman compatible version scheme
|
||||||
|
pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}}
|
||||||
|
pkgrel=2
|
||||||
|
pkgdesc='The Open Source toolkit for Secure Sockets Layer and Transport Layer Security'
|
||||||
|
arch=('x86_64')
|
||||||
|
url='https://www.openssl.org'
|
||||||
|
license=('custom:BSD')
|
||||||
|
depends=('glibc')
|
||||||
|
makedepends=('perl')
|
||||||
|
optdepends=('ca-certificates')
|
||||||
|
options=(!emptydirs staticlibs)
|
||||||
|
source=("https://www.openssl.org/source/${_pkgname}-${_ver}.tar.gz"{,.asc}
|
||||||
|
'ca-dir.patch')
|
||||||
|
sha256sums=('e8be6a35fe41d10603c3cc635e93289ed00bf34b79671a3a4de64fcee00d5242'
|
||||||
|
'SKIP'
|
||||||
|
'75aa8c2c638c8a3ebfd9fa146fc61c7ff878fc997dc6aa10d39e4b2415d669b2')
|
||||||
|
validpgpkeys=('8657ABB260F056B1E5190839D9C4D26D0E604491'
|
||||||
|
'7953AC1FBC3DC8B3B292393ED5E9E43F7DF9EE8C')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "$srcdir/$_pkgname-$_ver"
|
||||||
|
|
||||||
|
# set ca dir to /etc/ssl by default
|
||||||
|
patch -p0 -i "$srcdir/ca-dir.patch"
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/$_pkgname-$_ver"
|
||||||
|
|
||||||
|
# mark stack as non-executable: http://bugs.archlinux.org/task/12434
|
||||||
|
./Configure --prefix=/usr/static --openssldir=/etc/ssl --libdir=lib \
|
||||||
|
no-shared no-ssl3-method enable-ec_nistp_64_gcc_128 linux-x86_64 \
|
||||||
|
"-Wa,--noexecstack ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}"
|
||||||
|
|
||||||
|
make depend
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd "$srcdir/$_pkgname-$_ver"
|
||||||
|
|
||||||
|
# the test fails due to missing write permissions in /etc/ssl
|
||||||
|
# revert this patch for make test
|
||||||
|
patch -p0 -R -i "$srcdir/ca-dir.patch"
|
||||||
|
|
||||||
|
make test
|
||||||
|
|
||||||
|
patch -p0 -i "$srcdir/ca-dir.patch"
|
||||||
|
# re-run make to re-generate CA.pl from th patched .in file.
|
||||||
|
make apps/CA.pl
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/$_pkgname-$_ver"
|
||||||
|
|
||||||
|
make DESTDIR="$pkgdir" install_sw
|
||||||
|
rm -r "$pkgdir"/usr/static/bin
|
||||||
|
|
||||||
|
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
|
}
|
|
@ -0,0 +1,31 @@
|
||||||
|
--- apps/CA.pl.in 2019-09-10 15:13:07.000000000 +0200
|
||||||
|
+++ apps/CA.pl.in 2019-10-06 09:34:23.960864556 +0200
|
||||||
|
@@ -33,7 +33,7 @@
|
||||||
|
my $PKCS12 = "$openssl pkcs12";
|
||||||
|
|
||||||
|
# default openssl.cnf file has setup as per the following
|
||||||
|
-my $CATOP = "./demoCA";
|
||||||
|
+my $CATOP = "/etc/ssl";
|
||||||
|
my $CAKEY = "cakey.pem";
|
||||||
|
my $CAREQ = "careq.pem";
|
||||||
|
my $CACERT = "cacert.pem";
|
||||||
|
--- apps/openssl.cnf 2019-09-10 15:13:07.000000000 +0200
|
||||||
|
+++ apps/openssl.cnf 2019-10-06 09:34:23.960864556 +0200
|
||||||
|
@@ -42,7 +42,7 @@
|
||||||
|
####################################################################
|
||||||
|
[ CA_default ]
|
||||||
|
|
||||||
|
-dir = ./demoCA # Where everything is kept
|
||||||
|
+dir = /etc/ssl # Where everything is kept
|
||||||
|
certs = $dir/certs # Where the issued certs are kept
|
||||||
|
crl_dir = $dir/crl # Where the issued crl are kept
|
||||||
|
database = $dir/index.txt # database index file.
|
||||||
|
@@ -325,7 +325,7 @@
|
||||||
|
[ tsa_config1 ]
|
||||||
|
|
||||||
|
# These are used by the TSA reply generation only.
|
||||||
|
-dir = ./demoCA # TSA root directory
|
||||||
|
+dir = /etc/ssl # TSA root directory
|
||||||
|
serial = $dir/tsaserial # The current serial number (mandatory)
|
||||||
|
crypto_device = builtin # OpenSSL engine to use for signing
|
||||||
|
signer_cert = $dir/tsacert.pem # The TSA signing certificate
|
|
@ -0,0 +1,63 @@
|
||||||
|
# Contributor: Sébastien "Seblu" Luttringer
|
||||||
|
# Contributor: Allan McRae <allan@archlinux.org>
|
||||||
|
# Contributor: Eric Belanger <eric@archlinux.org>
|
||||||
|
# Contributor: John Proctor <jproctor@prium.net>
|
||||||
|
|
||||||
|
_pkgname=pcre
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=8.44
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='A library that implements Perl 5-style regular expressions'
|
||||||
|
arch=('x86_64')
|
||||||
|
url='https://www.pcre.org/'
|
||||||
|
license=('BSD')
|
||||||
|
depends=('gcc-libs')
|
||||||
|
options=(!emptydirs staticlibs)
|
||||||
|
validpgpkeys=('45F68D54BBE23FB3039B46E59766E084FB0F43D8') # Philip Hazel
|
||||||
|
source=("https://ftp.pcre.org/pub/pcre/$_pkgname-$pkgver.tar.bz2"{,.sig})
|
||||||
|
sha512sums=('f26d850aab5228799e58ac8c2306fb313889332c39e29b118ef1de57677c5c90f970d68d3f475cabc64f8b982a77f04eca990ff1057f3ccf5e19bd137997c4ac'
|
||||||
|
'SKIP')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
# apply patch from the source array (should be a pacman feature)
|
||||||
|
local filename
|
||||||
|
for filename in "${source[@]}"; do
|
||||||
|
if [[ "$filename" =~ \.patch$ ]]; then
|
||||||
|
msg2 "Applying patch ${filename##*/}"
|
||||||
|
patch -p1 -N -i "$srcdir/${filename##*/}"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr/static \
|
||||||
|
--disable-shared \
|
||||||
|
--enable-static \
|
||||||
|
--enable-unicode-properties \
|
||||||
|
--enable-pcre16 \
|
||||||
|
--enable-pcre32 \
|
||||||
|
--enable-jit \
|
||||||
|
--disable-pcregrep-libz \
|
||||||
|
--disable-pcregrep-libbz2 \
|
||||||
|
--disable-pcretest-libreadline
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
make -j1 check
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
rm -r "$pkgdir"/usr/static/share/{doc,man}
|
||||||
|
|
||||||
|
install -Dm644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 et:
|
|
@ -0,0 +1,51 @@
|
||||||
|
# Contributor: Felix Yan <felixonmars@archlinux.org>
|
||||||
|
# Contributor: Mateusz 'mrlemux' Lemusisk mrlemux at gmail dotcom
|
||||||
|
# Based on the pcre package by Sébastien "Seblu" Luttringer
|
||||||
|
# Contributor: Allan McRae <allan@archlinux.org>
|
||||||
|
# Contributor: Eric Belanger <eric@archlinux.org>
|
||||||
|
# Contributor: John Proctor <jproctor@prium.net>
|
||||||
|
|
||||||
|
_pkgname=pcre2
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=10.36
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='A library that implements Perl 5-style regular expressions. 2nd version'
|
||||||
|
arch=('x86_64')
|
||||||
|
url='https://www.pcre.org/'
|
||||||
|
license=('BSD')
|
||||||
|
depends=('gcc-libs')
|
||||||
|
options=(!emptydirs staticlibs)
|
||||||
|
source=("https://ftp.pcre.org/pub/pcre/$_pkgname-$pkgver.tar.bz2"{,.sig})
|
||||||
|
sha512sums=('fc2a920562c80c3d31cedd94028fab55314ae0fb168cac7178f286c344a11fc514939edc3b83b8e0b57c872db4e595fd5530fd1d4b8c779be629553e9ec965a3'
|
||||||
|
'SKIP')
|
||||||
|
validpgpkeys=('45F68D54BBE23FB3039B46E59766E084FB0F43D8') # Philip Hazel
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr/static \
|
||||||
|
--disable-shared \
|
||||||
|
--enable-static \
|
||||||
|
--enable-pcre2-16 \
|
||||||
|
--enable-pcre2-32 \
|
||||||
|
--enable-jit \
|
||||||
|
--disable-pcre2grep-libz \
|
||||||
|
--disable-pcre2grep-libbz2 \
|
||||||
|
--disable-pcre2test-libreadline
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
make -j1 check
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
rm -r "$pkgdir"/usr/static/share/{doc,man}
|
||||||
|
|
||||||
|
install -Dm644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 et:
|
|
@ -0,0 +1,37 @@
|
||||||
|
From 76bb9b30cfcf54b59591a57a3d2a747e514469b2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Karel Zak <kzak@redhat.com>
|
||||||
|
Date: Thu, 19 Nov 2020 09:49:16 +0100
|
||||||
|
Subject: libmount: don't use "symfollow" for helpers on user mounts
|
||||||
|
|
||||||
|
Addresses: https://github.com/karelzak/util-linux/issues/1193
|
||||||
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
||||||
|
---
|
||||||
|
libmount/src/context_mount.c | 6 +++---
|
||||||
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/libmount/src/context_mount.c b/libmount/src/context_mount.c
|
||||||
|
index 8c394c1ff..dd1786176 100644
|
||||||
|
--- a/libmount/src/context_mount.c
|
||||||
|
+++ b/libmount/src/context_mount.c
|
||||||
|
@@ -415,6 +415,9 @@ static int generate_helper_optstr(struct libmnt_context *cxt, char **optstr)
|
||||||
|
* string, because there is nothing like MS_EXEC (we only have
|
||||||
|
* MS_NOEXEC in mount flags and we don't care about the original
|
||||||
|
* mount string in libmount for VFS options).
|
||||||
|
+ *
|
||||||
|
+ * This use-case makes sense for MS_SECURE flags only (see
|
||||||
|
+ * mnt_optstr_get_flags() and mnt_context_merge_mflags()).
|
||||||
|
*/
|
||||||
|
if (!(cxt->mountflags & MS_NOEXEC))
|
||||||
|
mnt_optstr_append_option(optstr, "exec", NULL);
|
||||||
|
@@ -422,11 +425,8 @@ static int generate_helper_optstr(struct libmnt_context *cxt, char **optstr)
|
||||||
|
mnt_optstr_append_option(optstr, "suid", NULL);
|
||||||
|
if (!(cxt->mountflags & MS_NODEV))
|
||||||
|
mnt_optstr_append_option(optstr, "dev", NULL);
|
||||||
|
- if (!(cxt->mountflags & MS_NOSYMFOLLOW))
|
||||||
|
- mnt_optstr_append_option(optstr, "symfollow", NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
-
|
||||||
|
if (cxt->flags & MNT_FL_SAVED_USER)
|
||||||
|
rc = mnt_optstr_set_option(optstr, "user", cxt->orig_user);
|
||||||
|
if (rc)
|
|
@ -0,0 +1,127 @@
|
||||||
|
# Contributor: Tom Gundersen <teg@jklm.no>
|
||||||
|
# Contributor: Dave Reisner <dreisner@archlinux.org>
|
||||||
|
# Contributor: judd <jvinet@zeroflux.org>
|
||||||
|
|
||||||
|
_pkgname=util-linux
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
_pkgmajor=2.36
|
||||||
|
pkgver=${_pkgmajor}.1
|
||||||
|
pkgrel=4
|
||||||
|
pkgdesc='Miscellaneous system utilities for Linux'
|
||||||
|
url='https://github.com/karelzak/util-linux'
|
||||||
|
arch=('x86_64')
|
||||||
|
makedepends=('systemd' 'python' 'libcap-ng' 'libxcrypt')
|
||||||
|
license=('GPL2')
|
||||||
|
options=('strip')
|
||||||
|
validpgpkeys=('B0C64D14301CC6EFAEDF60E4E4B71D5EEC39C284') # Karel Zak
|
||||||
|
options=(staticlibs)
|
||||||
|
source=("https://www.kernel.org/pub/linux/utils/util-linux/v$_pkgmajor/$_pkgname-$pkgver.tar."{xz,sign}
|
||||||
|
'0001-libmount-don-t-use-symfollow-for-helpers-on-user-mounts.patch')
|
||||||
|
sha256sums=('09fac242172cd8ec27f0739d8d192402c69417617091d8c6e974841568f37eed'
|
||||||
|
'SKIP'
|
||||||
|
'91db684edd908dd89ce9b5f00c56789d0a0eeeb5249f1bb4578e6024491823b4')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "$_pkgname-$pkgver"
|
||||||
|
|
||||||
|
patch -Np1 < ../0001-libmount-don-t-use-symfollow-for-helpers-on-user-mounts.patch
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$_pkgname-$pkgver"
|
||||||
|
|
||||||
|
# We ship Debian's hardlink in package 'hardlink', Fedora's hardlink was
|
||||||
|
# merged in util-linux. For now we disable the latter, but let's dicuss
|
||||||
|
# the details:
|
||||||
|
# https://bugs.archlinux.org/task/62896
|
||||||
|
# https://github.com/karelzak/util-linux/issues/808
|
||||||
|
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr/static \
|
||||||
|
--libdir=/usr/static/lib \
|
||||||
|
--bindir=/usr/static/bin \
|
||||||
|
--sbindir=/usr/static/bin \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--disable-shared \
|
||||||
|
--enable-static \
|
||||||
|
--enable-usrdir-path \
|
||||||
|
--enable-libuuid-force-uuidd \
|
||||||
|
--enable-libblkid \
|
||||||
|
--enable-libmount \
|
||||||
|
--enable-libsmartcols \
|
||||||
|
--enable-libfdisk \
|
||||||
|
--disable-fdisks \
|
||||||
|
--disable-mount \
|
||||||
|
--disable-losetup \
|
||||||
|
--disable-zramctl \
|
||||||
|
--disable-fsck \
|
||||||
|
--disable-partx \
|
||||||
|
--disable-uuidd \
|
||||||
|
--disable-wipefs \
|
||||||
|
--disable-mountpoint \
|
||||||
|
--disable-fallocate \
|
||||||
|
--disable-unshare \
|
||||||
|
--disable-nsenter \
|
||||||
|
--disable-setpriv \
|
||||||
|
--disable-hardlink \
|
||||||
|
--disable-eject \
|
||||||
|
--disable-agetty \
|
||||||
|
--disable-plymouth_support \
|
||||||
|
--without-libmagic \
|
||||||
|
--disable-cramfs \
|
||||||
|
--disable-bfs \
|
||||||
|
--disable-minix \
|
||||||
|
--disable-fdformat \
|
||||||
|
--disable-hwclock \
|
||||||
|
--disable-hwclock-gplv3 \
|
||||||
|
--disable-lslogins \
|
||||||
|
--disable-wdctl \
|
||||||
|
--disable-cal \
|
||||||
|
--disable-logger \
|
||||||
|
--disable-whereis \
|
||||||
|
--disable-switch_root \
|
||||||
|
--disable-pivot_root \
|
||||||
|
--disable-lsmem \
|
||||||
|
--disable-chmem \
|
||||||
|
--disable-ipcrm \
|
||||||
|
--disable-ipcs \
|
||||||
|
--disable-irqtop \
|
||||||
|
--disable-lsirq \
|
||||||
|
--disable-rfkill \
|
||||||
|
--disable-tunelp \
|
||||||
|
--disable-kill \
|
||||||
|
--disable-last \
|
||||||
|
--disable-utmpdump \
|
||||||
|
--enable-line \
|
||||||
|
--disable-mesg \
|
||||||
|
--disable-raw \
|
||||||
|
--disable-rename \
|
||||||
|
--disable-vipw \
|
||||||
|
--disable-newgrp \
|
||||||
|
--disable-chfn-chsh \
|
||||||
|
--disable-login \
|
||||||
|
--disable-nologin \
|
||||||
|
--disable-sulogin \
|
||||||
|
--disable-su \
|
||||||
|
--disable-runuser \
|
||||||
|
--disable-ul \
|
||||||
|
--disable-more \
|
||||||
|
--disable-pg \
|
||||||
|
--disable-setterm \
|
||||||
|
--disable-schedutils \
|
||||||
|
--disable-wall \
|
||||||
|
--disable-write \
|
||||||
|
--without-systemd \
|
||||||
|
--without-python \
|
||||||
|
--disable-pylibmount
|
||||||
|
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$_pkgname-$pkgver"
|
||||||
|
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
rm -r "$pkgdir"/usr/static/{sbin,bin}
|
||||||
|
rm -r "$pkgdir"/usr/static/share/{locale,man,doc,bash-completion}
|
||||||
|
}
|
|
@ -0,0 +1,39 @@
|
||||||
|
# Contributor: Sébastien Luttringer <seblu@archlinux.org>
|
||||||
|
# Contributor: Tom Gundersen <teg@jklm.no>
|
||||||
|
# Contributor: Joel Teichroeb <joel@teichroeb.net>
|
||||||
|
|
||||||
|
_pkgname=wayland
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=1.18.0
|
||||||
|
pkgrel=2
|
||||||
|
pkgdesc='A computer display server protocol'
|
||||||
|
arch=('x86_64')
|
||||||
|
url='https://wayland.freedesktop.org/'
|
||||||
|
license=('MIT')
|
||||||
|
depends=('glibc' 'libffi-static' 'expat-static')
|
||||||
|
options=(!emptydirs staticlibs)
|
||||||
|
makedepends=('meson' 'ninja' 'libxslt' 'xmlto' 'doxygen' 'graphviz' 'docbook-xsl')
|
||||||
|
validpgpkeys=('C7223EBE4EF66513B892598911A30156E0E67611' # Bryce Harrington
|
||||||
|
'C0066D7DB8E9AC6844D728715E54498E697F11D7' # Derek Foreman
|
||||||
|
'34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48') # emersion <contact@emersion.fr>
|
||||||
|
source=("https://wayland.freedesktop.org/releases/$_pkgname-$pkgver.tar.xz"{,.sig})
|
||||||
|
sha256sums=('4675a79f091020817a98fd0484e7208c8762242266967f55a67776936c2e294d'
|
||||||
|
'SKIP')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
export PKG_CONFIG_PATH=/usr/static/lib/pkgconfig:/usr/lib/pkgconfig
|
||||||
|
meson build $_pkgname-$pkgver --buildtype=release --prefix /usr/static --default-library static
|
||||||
|
ninja -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
#check() {
|
||||||
|
# ninja -C build test
|
||||||
|
#}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
DESTDIR="$pkgdir" ninja -C build install
|
||||||
|
rm -r "$pkgdir"/usr/static/share/{doc,man}
|
||||||
|
install -Dm 644 $_pkgname-$pkgver/COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 et:
|
|
@ -0,0 +1,267 @@
|
||||||
|
/* Copyright (C) 2007 Bart Massey
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
* to deal in the Software without restriction, including without limitation
|
||||||
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
* and/or sell copies of the Software, and to permit persons to whom the
|
||||||
|
* Software is furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in
|
||||||
|
* all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
||||||
|
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or their
|
||||||
|
* institutions shall not be used in advertising or otherwise to promote the
|
||||||
|
* sale, use or other dealings in this Software without prior written
|
||||||
|
* authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2008-2009 Julien Danjou <julien@danjou.info>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2008 Arnaud Fontaine <arnau@debian.org>
|
||||||
|
* Copyright (C) 2007-2008 Vincent Torri <vtorri@univ-evry.fr>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright © 2008 Bart Massey <bart@cs.pdx.edu>
|
||||||
|
* Copyright © 2008 Julien Danjou <julien@danjou.info>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright © 2008 Keith Packard <keithp@keithp.com>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright © 2008 Bart Massey <bart@cs.pdx.edu>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright © 2008 Ian Osgood <iano@quirkster.com>
|
||||||
|
* Copyright © 2008 Jamey Sharp <jamey@minilop.net>
|
||||||
|
* Copyright © 2008 Josh Triplett <josh@freedesktop.org>
|
||||||
|
* Copyright © 2008 Ulrich Eckhardt <doomster@knuut.de>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Copyright © 2006 Jamey Sharp.
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
* to deal in the Software without restriction, including without limitation
|
||||||
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
* and/or sell copies of the Software, and to permit persons to whom the
|
||||||
|
* Software is furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in
|
||||||
|
* all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
||||||
|
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or their
|
||||||
|
* institutions shall not be used in advertising or otherwise to promote the
|
||||||
|
* sale, use or other dealings in this Software without prior written
|
||||||
|
* authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Copyright © 2006 Ian Osgood
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
* to deal in the Software without restriction, including without limitation
|
||||||
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
* and/or sell copies of the Software, and to permit persons to whom the
|
||||||
|
* Software is furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in
|
||||||
|
* all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
||||||
|
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or their
|
||||||
|
* institutions shall not be used in advertising or otherwise to promote the
|
||||||
|
* sale, use or other dealings in this Software without prior written
|
||||||
|
* authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Copyright © 2000 Keith Packard
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||||
|
* documentation for any purpose is hereby granted without fee, provided that
|
||||||
|
* the above copyright notice appear in all copies and that both that
|
||||||
|
* copyright notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of Keith Packard not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the software without
|
||||||
|
* specific, written prior permission. Keith Packard makes no
|
||||||
|
* representations about the suitability of this software for any purpose. It
|
||||||
|
* is provided "as is" without express or implied warranty.
|
||||||
|
*
|
||||||
|
* KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
||||||
|
* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
||||||
|
* EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
||||||
|
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
||||||
|
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
||||||
|
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
*/
|
|
@ -0,0 +1,39 @@
|
||||||
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||||
|
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
||||||
|
|
||||||
|
_pkgname=xcb-util-image
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=0.4.0
|
||||||
|
pkgrel=3
|
||||||
|
pkgdesc="Utility libraries for XC Binding - Port of Xlib's XImage and XShmImage functions"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://xcb.freedesktop.org"
|
||||||
|
license=('custom')
|
||||||
|
depends=('libxcb-static>=1.7' 'xcb-util-static>=0.3.9')
|
||||||
|
makedepends=('xorg-util-macros' 'xorgproto')
|
||||||
|
options=(!emptydirs !docs staticlibs)
|
||||||
|
source=("https://xcb.freedesktop.org/dist/${_pkgname}-${pkgver}.tar.bz2")
|
||||||
|
sha512sums=('9b7202c054e1160f9ca97a86be1210d9fb47f2119f89ca85f15f20909cca884bfe0cb88e3e71c75b65e1a0a72b980066ccac810e41a91db895c74dde77440d4f')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${_pkgname}-${pkgver}
|
||||||
|
export PKG_CONFIG_PATH=/usr/static/lib/pkgconfig:/usr/lib/pkgconfig
|
||||||
|
export PATH=$PWD:$PATH
|
||||||
|
printf '#!/usr/bin/bash\nexec /usr/bin/pkg-config --static "$@"\n' > pkg-config
|
||||||
|
chmod +x pkg-config
|
||||||
|
./configure --prefix=/usr/static --disable-shared --enable-static
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd ${_pkgname}-${pkgver}
|
||||||
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${_pkgname}-${pkgver}
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
|
||||||
|
install -D -m644 COPYING \
|
||||||
|
"${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
|
||||||
|
}
|
|
@ -0,0 +1,267 @@
|
||||||
|
/* Copyright (C) 2007 Bart Massey
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
* to deal in the Software without restriction, including without limitation
|
||||||
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
* and/or sell copies of the Software, and to permit persons to whom the
|
||||||
|
* Software is furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in
|
||||||
|
* all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
||||||
|
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or their
|
||||||
|
* institutions shall not be used in advertising or otherwise to promote the
|
||||||
|
* sale, use or other dealings in this Software without prior written
|
||||||
|
* authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2008-2009 Julien Danjou <julien@danjou.info>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2008 Arnaud Fontaine <arnau@debian.org>
|
||||||
|
* Copyright (C) 2007-2008 Vincent Torri <vtorri@univ-evry.fr>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright © 2008 Bart Massey <bart@cs.pdx.edu>
|
||||||
|
* Copyright © 2008 Julien Danjou <julien@danjou.info>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright © 2008 Keith Packard <keithp@keithp.com>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright © 2008 Bart Massey <bart@cs.pdx.edu>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright © 2008 Ian Osgood <iano@quirkster.com>
|
||||||
|
* Copyright © 2008 Jamey Sharp <jamey@minilop.net>
|
||||||
|
* Copyright © 2008 Josh Triplett <josh@freedesktop.org>
|
||||||
|
* Copyright © 2008 Ulrich Eckhardt <doomster@knuut.de>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Copyright © 2006 Jamey Sharp.
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
* to deal in the Software without restriction, including without limitation
|
||||||
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
* and/or sell copies of the Software, and to permit persons to whom the
|
||||||
|
* Software is furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in
|
||||||
|
* all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
||||||
|
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or their
|
||||||
|
* institutions shall not be used in advertising or otherwise to promote the
|
||||||
|
* sale, use or other dealings in this Software without prior written
|
||||||
|
* authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Copyright © 2006 Ian Osgood
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
* to deal in the Software without restriction, including without limitation
|
||||||
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
* and/or sell copies of the Software, and to permit persons to whom the
|
||||||
|
* Software is furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in
|
||||||
|
* all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
||||||
|
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or their
|
||||||
|
* institutions shall not be used in advertising or otherwise to promote the
|
||||||
|
* sale, use or other dealings in this Software without prior written
|
||||||
|
* authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Copyright © 2000 Keith Packard
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||||
|
* documentation for any purpose is hereby granted without fee, provided that
|
||||||
|
* the above copyright notice appear in all copies and that both that
|
||||||
|
* copyright notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of Keith Packard not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the software without
|
||||||
|
* specific, written prior permission. Keith Packard makes no
|
||||||
|
* representations about the suitability of this software for any purpose. It
|
||||||
|
* is provided "as is" without express or implied warranty.
|
||||||
|
*
|
||||||
|
* KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
||||||
|
* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
||||||
|
* EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
||||||
|
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
||||||
|
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
||||||
|
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
*/
|
|
@ -0,0 +1,37 @@
|
||||||
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||||
|
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
||||||
|
|
||||||
|
_pkgname=xcb-util-keysyms
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=0.4.0
|
||||||
|
pkgrel=3
|
||||||
|
pkgdesc="Utility libraries for XC Binding - Standard X key constants and conversion to/from keycodes"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://xcb.freedesktop.org"
|
||||||
|
license=('custom')
|
||||||
|
depends=('libxcb>=1.7')
|
||||||
|
makedepends=('xorg-util-macros' 'xorgproto')
|
||||||
|
options=(staticlibs)
|
||||||
|
source=("https://xcb.freedesktop.org/dist/${_pkgname}-${pkgver}.tar.bz2"
|
||||||
|
'LICENSE')
|
||||||
|
sha512sums=('b14b3100c3ae2379f9df799c0780a1ee39267101e58e4c1c6f390f039348ca2b370bb1df203b9bc68a170d664188d9c73e3553a7ba24d98abea3ed353e8dc0c4'
|
||||||
|
'62f83468f9d9503a5a8c1ebaac78cbaefe3c485f8bfd7192817ec59254872fe2914ed66ae8b9e7f7a6ef5af283048c11390f44eb8f0f70b1c136ef5c75282e8c')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${_pkgname}-${pkgver}
|
||||||
|
./configure --prefix=/usr/static --disable-shared --enable-static
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd ${_pkgname}-${pkgver}
|
||||||
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${_pkgname}-${pkgver}
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
|
||||||
|
install -D -m644 "${srcdir}/LICENSE" \
|
||||||
|
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
|
}
|
|
@ -0,0 +1,267 @@
|
||||||
|
/* Copyright (C) 2007 Bart Massey
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
* to deal in the Software without restriction, including without limitation
|
||||||
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
* and/or sell copies of the Software, and to permit persons to whom the
|
||||||
|
* Software is furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in
|
||||||
|
* all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
||||||
|
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or their
|
||||||
|
* institutions shall not be used in advertising or otherwise to promote the
|
||||||
|
* sale, use or other dealings in this Software without prior written
|
||||||
|
* authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2008-2009 Julien Danjou <julien@danjou.info>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2008 Arnaud Fontaine <arnau@debian.org>
|
||||||
|
* Copyright (C) 2007-2008 Vincent Torri <vtorri@univ-evry.fr>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright © 2008 Bart Massey <bart@cs.pdx.edu>
|
||||||
|
* Copyright © 2008 Julien Danjou <julien@danjou.info>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright © 2008 Keith Packard <keithp@keithp.com>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright © 2008 Bart Massey <bart@cs.pdx.edu>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright © 2008 Ian Osgood <iano@quirkster.com>
|
||||||
|
* Copyright © 2008 Jamey Sharp <jamey@minilop.net>
|
||||||
|
* Copyright © 2008 Josh Triplett <josh@freedesktop.org>
|
||||||
|
* Copyright © 2008 Ulrich Eckhardt <doomster@knuut.de>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Copyright © 2006 Jamey Sharp.
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
* to deal in the Software without restriction, including without limitation
|
||||||
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
* and/or sell copies of the Software, and to permit persons to whom the
|
||||||
|
* Software is furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in
|
||||||
|
* all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
||||||
|
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or their
|
||||||
|
* institutions shall not be used in advertising or otherwise to promote the
|
||||||
|
* sale, use or other dealings in this Software without prior written
|
||||||
|
* authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Copyright © 2006 Ian Osgood
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
* to deal in the Software without restriction, including without limitation
|
||||||
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
* and/or sell copies of the Software, and to permit persons to whom the
|
||||||
|
* Software is furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in
|
||||||
|
* all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
||||||
|
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or their
|
||||||
|
* institutions shall not be used in advertising or otherwise to promote the
|
||||||
|
* sale, use or other dealings in this Software without prior written
|
||||||
|
* authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Copyright © 2000 Keith Packard
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||||
|
* documentation for any purpose is hereby granted without fee, provided that
|
||||||
|
* the above copyright notice appear in all copies and that both that
|
||||||
|
* copyright notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of Keith Packard not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the software without
|
||||||
|
* specific, written prior permission. Keith Packard makes no
|
||||||
|
* representations about the suitability of this software for any purpose. It
|
||||||
|
* is provided "as is" without express or implied warranty.
|
||||||
|
*
|
||||||
|
* KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
||||||
|
* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
||||||
|
* EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
||||||
|
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
||||||
|
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
||||||
|
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
*/
|
|
@ -0,0 +1,37 @@
|
||||||
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||||
|
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
||||||
|
|
||||||
|
_pkgname=xcb-util-renderutil
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=0.3.9
|
||||||
|
pkgrel=3
|
||||||
|
pkgdesc="Utility libraries for XC Binding - Convenience functions for the Render extension"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://xcb.freedesktop.org"
|
||||||
|
license=('custom')
|
||||||
|
depends=('libxcb>=1.7')
|
||||||
|
makedepends=('xorg-util-macros' 'xorgproto')
|
||||||
|
options=(staticlibs)
|
||||||
|
source=("https://xcb.freedesktop.org/dist/${_pkgname}-${pkgver}.tar.bz2"
|
||||||
|
'LICENSE')
|
||||||
|
sha512sums=('24b567992ecde7e69a406efd0ffb62266610d73b4dc0e5c71093221090fa134c14b850680d1d28dc1f8f4a6f497b4118491e1894ec7c73d2c6ce959d106771cc'
|
||||||
|
'62f83468f9d9503a5a8c1ebaac78cbaefe3c485f8bfd7192817ec59254872fe2914ed66ae8b9e7f7a6ef5af283048c11390f44eb8f0f70b1c136ef5c75282e8c')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${_pkgname}-${pkgver}
|
||||||
|
./configure --prefix=/usr/static --disable-shared --enable-static
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd ${_pkgname}-${pkgver}
|
||||||
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${_pkgname}-${pkgver}
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
|
||||||
|
install -D -m644 "${srcdir}/LICENSE" \
|
||||||
|
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
|
}
|
|
@ -0,0 +1,267 @@
|
||||||
|
/* Copyright (C) 2007 Bart Massey
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
* to deal in the Software without restriction, including without limitation
|
||||||
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
* and/or sell copies of the Software, and to permit persons to whom the
|
||||||
|
* Software is furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in
|
||||||
|
* all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
||||||
|
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or their
|
||||||
|
* institutions shall not be used in advertising or otherwise to promote the
|
||||||
|
* sale, use or other dealings in this Software without prior written
|
||||||
|
* authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2008-2009 Julien Danjou <julien@danjou.info>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2008 Arnaud Fontaine <arnau@debian.org>
|
||||||
|
* Copyright (C) 2007-2008 Vincent Torri <vtorri@univ-evry.fr>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright © 2008 Bart Massey <bart@cs.pdx.edu>
|
||||||
|
* Copyright © 2008 Julien Danjou <julien@danjou.info>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright © 2008 Keith Packard <keithp@keithp.com>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright © 2008 Bart Massey <bart@cs.pdx.edu>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright © 2008 Ian Osgood <iano@quirkster.com>
|
||||||
|
* Copyright © 2008 Jamey Sharp <jamey@minilop.net>
|
||||||
|
* Copyright © 2008 Josh Triplett <josh@freedesktop.org>
|
||||||
|
* Copyright © 2008 Ulrich Eckhardt <doomster@knuut.de>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use, copy,
|
||||||
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
* of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||||
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or
|
||||||
|
* their institutions shall not be used in advertising or otherwise to
|
||||||
|
* promote the sale, use or other dealings in this Software without
|
||||||
|
* prior written authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Copyright © 2006 Jamey Sharp.
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
* to deal in the Software without restriction, including without limitation
|
||||||
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
* and/or sell copies of the Software, and to permit persons to whom the
|
||||||
|
* Software is furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in
|
||||||
|
* all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
||||||
|
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or their
|
||||||
|
* institutions shall not be used in advertising or otherwise to promote the
|
||||||
|
* sale, use or other dealings in this Software without prior written
|
||||||
|
* authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Copyright © 2006 Ian Osgood
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
* to deal in the Software without restriction, including without limitation
|
||||||
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
* and/or sell copies of the Software, and to permit persons to whom the
|
||||||
|
* Software is furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in
|
||||||
|
* all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
||||||
|
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Except as contained in this notice, the names of the authors or their
|
||||||
|
* institutions shall not be used in advertising or otherwise to promote the
|
||||||
|
* sale, use or other dealings in this Software without prior written
|
||||||
|
* authorization from the authors.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Copyright © 2000 Keith Packard
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||||
|
* documentation for any purpose is hereby granted without fee, provided that
|
||||||
|
* the above copyright notice appear in all copies and that both that
|
||||||
|
* copyright notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of Keith Packard not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the software without
|
||||||
|
* specific, written prior permission. Keith Packard makes no
|
||||||
|
* representations about the suitability of this software for any purpose. It
|
||||||
|
* is provided "as is" without express or implied warranty.
|
||||||
|
*
|
||||||
|
* KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
||||||
|
* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
||||||
|
* EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
||||||
|
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
||||||
|
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
||||||
|
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
*/
|
|
@ -0,0 +1,37 @@
|
||||||
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||||||
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||||
|
|
||||||
|
_pkgname=xcb-util-wm
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=0.4.1
|
||||||
|
pkgrel=3
|
||||||
|
pkgdesc="Utility libraries for XC Binding - client and window-manager helpers for ICCCM"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://xcb.freedesktop.org"
|
||||||
|
license=('custom')
|
||||||
|
depends=('libxcb>=1.7')
|
||||||
|
makedepends=('xorg-util-macros' 'xorgproto')
|
||||||
|
options=(staticlibs)
|
||||||
|
source=("https://xcb.freedesktop.org/dist/${_pkgname}-${pkgver}.tar.bz2"
|
||||||
|
'LICENSE')
|
||||||
|
sha512sums=('cd1b3bcf9fcfc52e329ddc42b370d50dcf7d473c8e94f01cf7ea7fdbe0dc9176790890214eecb2a8ac43405f4938c121e38d282ae988cd8e90a6610d214ef326'
|
||||||
|
'62f83468f9d9503a5a8c1ebaac78cbaefe3c485f8bfd7192817ec59254872fe2914ed66ae8b9e7f7a6ef5af283048c11390f44eb8f0f70b1c136ef5c75282e8c')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${_pkgname}-${pkgver}
|
||||||
|
./configure --prefix=/usr/static --disable-shared --enable-static
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd ${_pkgname}-${pkgver}
|
||||||
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${_pkgname}-${pkgver}
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
|
||||||
|
install -D -m644 "${srcdir}/LICENSE" \
|
||||||
|
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
|
}
|
|
@ -0,0 +1,37 @@
|
||||||
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||||||
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||||
|
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
||||||
|
|
||||||
|
_pkgname=xcb-util
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=0.4.0
|
||||||
|
pkgrel=3
|
||||||
|
pkgdesc="Utility libraries for XC Binding"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://xcb.freedesktop.org"
|
||||||
|
license=('custom')
|
||||||
|
depends=('libxcb-static>=1.7')
|
||||||
|
makedepends=('gperf' 'xorg-util-macros' 'xorgproto')
|
||||||
|
options=(staticlibs)
|
||||||
|
source=("https://xcb.freedesktop.org/dist/${_pkgname}-${pkgver}.tar.bz2")
|
||||||
|
sha512sums=('e60aaa6f582eacd05896c5fd7c8417938318a1288146f3a5b339f77eed24e211c6099963f8813daa621c94173d2934228936b491c0ed79b09a8a67d835867d0e')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${_pkgname}-${pkgver}
|
||||||
|
export PKG_CONFIG_PATH=/usr/static/lib/pkgconfig:/usr/lib/pkgconfig
|
||||||
|
./configure --prefix=/usr/static --disable-shared --enable-static
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd ${_pkgname}-${pkgver}
|
||||||
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${_pkgname}-${pkgver}
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
|
||||||
|
install -D -m644 COPYING \
|
||||||
|
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
||||||
|
}
|
|
@ -0,0 +1,41 @@
|
||||||
|
# Contributor: Pierre Schmitz <pierre@archlinux.de>
|
||||||
|
# Contributor: François Charette <firmicus@gmx.net>
|
||||||
|
|
||||||
|
_pkgname=xz
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=5.2.5
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Library and command line tools for XZ and LZMA compressed files'
|
||||||
|
arch=('x86_64')
|
||||||
|
url='https://tukaani.org/xz/'
|
||||||
|
license=('GPL' 'LGPL' 'custom')
|
||||||
|
depends=('glibc')
|
||||||
|
options=(!emptydirs staticlibs)
|
||||||
|
source=("https://tukaani.org/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"{,.sig})
|
||||||
|
sha256sums=('f6f4910fd033078738bd82bfba4f49219d03b17eb0794eb91efbae419f4aba10'
|
||||||
|
'SKIP')
|
||||||
|
validpgpkeys=('3690C240CE51B4670D30AD1C38EE757D69184620')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
||||||
|
|
||||||
|
./configure --prefix=/usr/static \
|
||||||
|
--disable-rpath \
|
||||||
|
--disable-shared \
|
||||||
|
--enable-static
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
||||||
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}/"
|
||||||
|
ln -sf /usr/static/share/doc/xz/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
||||||
|
rm -r "$pkgdir"/usr/static/bin
|
||||||
|
rm -r "$pkgdir"/usr/static/share/{man,doc,locale}
|
||||||
|
}
|
|
@ -0,0 +1,36 @@
|
||||||
|
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
||||||
|
# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
|
||||||
|
# Contributor: Johan Förberg <johan@forberg.se>
|
||||||
|
|
||||||
|
_pkgname=zstd
|
||||||
|
pkgname=$_pkgname-static
|
||||||
|
pkgver=1.4.8
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Zstandard - Fast real-time compression algorithm'
|
||||||
|
arch=(x86_64)
|
||||||
|
url='https://facebook.github.io/zstd/'
|
||||||
|
license=(BSD GPL2)
|
||||||
|
depends=(zlib xz-static lz4-static) # zlib contains static lib
|
||||||
|
makedepends=(gtest)
|
||||||
|
options=(!emptydirs staticlibs)
|
||||||
|
source=(https://github.com/facebook/zstd/releases/download/v${pkgver}/zstd-${pkgver}.tar.zst)
|
||||||
|
sha256sums=('c7ea10e20dd61b457220455e3cf553069987b968b7c63d1b9d46acbdb45623eb')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
export PKG_CONFIG_PATH=/usr/static/lib/pkgconfig:/usr/lib/pkgconfig
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
make PREFIX=/usr/static DESTDIR="$pkgdir/" install
|
||||||
|
rm -r "$pkgdir"/usr/static/{bin,share/man}
|
||||||
|
find "$pkgdir/usr/static" -iname '*.so*' -delete
|
||||||
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
|
}
|
Loading…
Reference in New Issue