From a28ef2b7e01d0e271cdc5a4a3fe3d4d4021c84de Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Sun, 24 Mar 2019 15:20:12 -0500 Subject: user/xscreensaver: new package --- user/xscreensaver/APKBUILD | 37 ++++++++++++++++++++++++++++++ user/xscreensaver/xscreensaver-fixes.patch | 14 +++++++++++ 2 files changed, 51 insertions(+) create mode 100644 user/xscreensaver/APKBUILD create mode 100644 user/xscreensaver/xscreensaver-fixes.patch (limited to 'user/xscreensaver') diff --git a/user/xscreensaver/APKBUILD b/user/xscreensaver/APKBUILD new file mode 100644 index 000000000..ec875ee16 --- /dev/null +++ b/user/xscreensaver/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kiyoshi Aman +# Maintainer: Kiyoshi Aman +pkgname=xscreensaver +pkgver=5.42 +pkgrel=0 +pkgdesc="X Screensaver suite" +url="https://www.jwz.org/xscreensaver/" +arch="all" +options="!check suid" # no tests +license="MIT" +depends="" +makedepends="gtk+2.0-dev intltool libglade-dev libice-dev libjpeg-turbo-dev + libx11-dev libxft-dev libxinerama-dev libxml2-dev libxml2-utils + libxrandr-dev libxt-dev linux-pam-dev mesa-dev mesa-glapi" +subpackages="$pkgname-doc $pkgname-lang" +source="https://www.jwz.org/xscreensaver/xscreensaver-$pkgver.tar.gz + xscreensaver-fixes.patch" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +package() { + cd "$builddir" + make install_prefix="$pkgdir" install +} + +sha512sums="84cde9364c933de720acd51a0bf75eb4d0642d60f62b92de89d932233eb5abb51e1edb53cd413b2dc4801a02cb68652a28d7d1f83cdaa8d8cdd1fee7d651eefd xscreensaver-5.42.tar.gz +1df5d3a1456990eb0b2a9efb65fcd26ce576e470a0d6ee268e84e4b399dda930f5ed0960d185e55a7fdab10e5dc42fa2c90060b16443954ec2fce306c8855b54 xscreensaver-fixes.patch" diff --git a/user/xscreensaver/xscreensaver-fixes.patch b/user/xscreensaver/xscreensaver-fixes.patch new file mode 100644 index 000000000..0f5381902 --- /dev/null +++ b/user/xscreensaver/xscreensaver-fixes.patch @@ -0,0 +1,14 @@ +diff -Nurd xscreensaver-5.42/hacks/fontglide.c xscreensaver-5.42.new/hacks/fontglide.c +--- xscreensaver-5.42/hacks/fontglide.c 2018-09-02 17:56:45.000000000 -0500 ++++ xscreensaver-5.42.new/hacks/fontglide.c 2019-03-24 14:09:46.559263834 -0500 +@@ -2421,8 +2421,8 @@ + + textclient_close (s->tc); + +-// if (s->b && s->b != s->window) XFreePixmap (dpy, s->b); +-// if (s->ba && s->ba != s->b) XFreePixmap (dpy, s->ba); ++/* if (s->b && s->b != s->window) XFreePixmap (dpy, s->b); */ ++/* if (s->ba && s->ba != s->b) XFreePixmap (dpy, s->ba); */ + XFreeGC (dpy, s->bg_gc); + if (s->charset) free (s->charset); + if (s->font_override) free (s->font_override); -- cgit v1.2.3-70-g09d2