initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

39
libxft/PKGBUILD Normal file
View File

@@ -0,0 +1,39 @@
# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=libxft
_openbsdver=6.9
pkgver=2.3.3
pkgrel=2
pkgdesc="FreeType-based font drawing library for X, provided by Xenocara"
arch=('i686' 'x86_64')
license=('Expat')
url="https://www.xenocara.org"
depends=('fontconfig' 'libxrender' 'libbsd')
makedepends=('pkg-config' 'xenocara-util-macros')
source=(https://repo.hyperbola.info:50000/sources/xenocara-libre/$_openbsdver/lib/libxft-$pkgver.tar.lz{,.sig}
add-libbsd-support.patch)
sha512sums=('b7e66b19f7f4a4aefb62ce3c5842dc59d4f6d0d806f23d45e4ea9de98de7dd433a13f01e46240d8b4b33df5fb9e546697fc18e18edf3ae7e9bfa8e8e2c3971be'
'SKIP'
'd7a1909d318780337b8957f373a7ef2cb11edab9243f957e6ff544792d7e17a74d50bdb7fa0ad4d417d999ca5494bb2ee6015f5dd3755014845f07d2664dbaee')
validpgpkeys=('C92BAA713B8D53D3CAE63FC9E6974752F9704456') # André Silva
prepare() {
cd "xenocara-$_openbsdver/lib/libXft"
patch -p1 -i "$srcdir/add-libbsd-support.patch"
autoreconf -vfi
}
build() {
export LDFLAGS="$LDFLAGS -lbsd"
cd "xenocara-$_openbsdver/lib/libXft"
./configure --prefix=/usr --sysconfdir=/etc --disable-static
make
}
package() {
cd "xenocara-$_openbsdver/lib/libXft"
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}

View File

@@ -0,0 +1,48 @@
diff --git a/src/xftdpy.c b/src/xftdpy.c
index b8f02e0..4b6b592 100644
--- a/src/xftdpy.c
+++ b/src/xftdpy.c
@@ -21,6 +21,7 @@
*/
#include "xftint.h"
+#include <bsd/stdlib.h>
_X_HIDDEN XftDisplayInfo *_XftDisplayInfo;
diff --git a/src/xftdraw.c b/src/xftdraw.c
index 5cc4d69..7e8c2ce 100644
--- a/src/xftdraw.c
+++ b/src/xftdraw.c
@@ -21,6 +21,7 @@
*/
#include "xftint.h"
+#include <bsd/stdlib.h>
/*
* Ok, this is a pain. To share source pictures across multiple destinations,
diff --git a/src/xftfreetype.c b/src/xftfreetype.c
index 6ed17ce..cc23c61 100644
--- a/src/xftfreetype.c
+++ b/src/xftfreetype.c
@@ -21,6 +21,7 @@
*/
#include "xftint.h"
+#include <bsd/stdlib.h>
_X_HIDDEN FT_Library _XftFTlibrary;
diff --git a/src/xftglyphs.c b/src/xftglyphs.c
index f75a636..73eccbc 100644
--- a/src/xftglyphs.c
+++ b/src/xftglyphs.c
@@ -21,6 +21,7 @@
*/
#include "xftint.h"
+#include <bsd/stdlib.h>
#include FT_OUTLINE_H
#include FT_LCD_FILTER_H