Unverified Commit e954044f authored by prspkt's avatar prspkt

community/xscreensaver: upgrade to 5.43

* Modernize.
* Adopt maintainership.
* Remove fix-fontglide.patch. Fix has been applied upstream.
parent ec15006d
# Contributor:
# Maintainer:
# Contributor: prspkt <prspkt@protonmail.com>
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=xscreensaver
pkgver=5.42
pkgver=5.43
pkgrel=0
pkgdesc="Screensavers for X11 environment"
url="https://www.jwz.org/xscreensaver/"
......@@ -12,15 +12,12 @@ options="suid"
makedepends="gtk+-dev libjpeg-turbo-dev mesa-dev gettext-dev libxmu-dev perl
libxml2-dev libglade-dev libxinerama-dev libxrandr-dev glu-dev sed"
subpackages="$pkgname-doc $pkgname-gl-extras:gl $pkgname-extras $pkgname-lang"
source="https://www.jwz.org/$pkgname/$pkgname-$pkgver.tar.gz
fix-fontglide.patch
"
builddir="$srcdir"/$pkgname-$pkgver
source="https://www.jwz.org/$pkgname/$pkgname-$pkgver.tar.gz"
_libexecdir=/usr/lib/xscreensaver
_confdir=/usr/share/xscreensaver/config
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -37,7 +34,6 @@ build() {
}
package() {
cd "$builddir"
make install_prefix="$pkgdir" install
}
......@@ -65,5 +61,4 @@ extras() {
mv "$pkgdir"/$_confdir/* "$subpkgdir"/$_confdir
}
sha512sums="84cde9364c933de720acd51a0bf75eb4d0642d60f62b92de89d932233eb5abb51e1edb53cd413b2dc4801a02cb68652a28d7d1f83cdaa8d8cdd1fee7d651eefd xscreensaver-5.42.tar.gz
26ef4e96f55c9e2f6a30804f1675b5267ffa4e36a573e15faaf6f536ee9517605e7e9424020a8678e32ac4489e7005b3e4197eeb80a416ad1a0fb1804aa22bce fix-fontglide.patch"
sha512sums="e745711c5760434652aa6bee99c1060717f15cad5946fba2fa3aadbcb300bec6620935c27d095b6e8a68c06e5bbe6fc1879474674b6d07f04b2af82d05cc383a xscreensaver-5.43.tar.gz"
--- a/hacks/fontglide.c
+++ b/hacks/fontglide.c
@@ -2421,8 +2421,6 @@
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);
XFreeGC (dpy, s->bg_gc);
if (s->charset) free (s->charset);
if (s->font_override) free (s->font_override);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment