Mail archive
alpine-aports

[alpine-aports] [PATCH 1/2] testing/dwm: upgrade to 6.1

From: Sören Tempel <soeren+git_at_soeren-tempel.net>
Date: Mon, 9 Nov 2015 11:57:01 +0100

---
 testing/dwm/APKBUILD          | 20 ++++++++++++--------
 testing/dwm/freetypeinc.patch | 12 ++++++++++++
 2 files changed, 24 insertions(+), 8 deletions(-)
 create mode 100644 testing/dwm/freetypeinc.patch
diff --git a/testing/dwm/APKBUILD b/testing/dwm/APKBUILD
index d999ddf..da6e169 100644
--- a/testing/dwm/APKBUILD
+++ b/testing/dwm/APKBUILD
_at_@ -1,20 +1,21 @@
 # Contributor: Gaber Ayoubi <gaber.ayoubi_at_gmail.com>
 # Maintainer: Sören Tempel <soeren+alpine_at_soeren-tempel.net>
 pkgname=dwm
-pkgver=6.0
-pkgrel=1
+pkgver=6.1
+pkgrel=0
 pkgdesc="dwm - dynamic window manager"
 url="http://dwm.suckless.org"
 arch="all"
 license="MIT/X"
 depends=""
 depends_dev=""
-makedepends="$depends_dev libx11-dev libxinerama-dev"
+makedepends="libxft-dev libx11-dev libxinerama-dev"
 install=""
 subpackages="$pkgname-doc"
-source="http://dl.suckless.org/dwm/$pkgname-$pkgver.tar.gz"
+source="http://dl.suckless.org/$pkgname/$pkgname-$pkgver.tar.gz
+	freetypeinc.patch"
 
-_builddir="$srcdir"/dwm-$pkgver
+_builddir="$srcdir"/$pkgname-$pkgver
 prepare() {
 	local i
 	cd "$_builddir"
_at_@ -34,6 +35,9 @@ package() {
 		-C "$_builddir" install || return 1
 }
 
-md5sums="8bb00d4142259beb11e13473b81c0857  dwm-6.0.tar.gz"
-sha256sums="b2b9483de69259eeea56844899bb2385158d3e79a42d82b10c142099fc8eeb56  dwm-6.0.tar.gz"
-sha512sums="895d1d363b3756c9ba19dbf06af34be753c1ae5971d540113d7f8901ad174c2e5944ef769b43e65f7b700f34832bb24082bc91d999b287610c9925182ce70c00  dwm-6.0.tar.gz"
+md5sums="f0b6b1093b7207f89c2a90b848c008ec  dwm-6.1.tar.gz
+a5ff4aa30011dfe8b0ab7d6b35a8b6eb  freetypeinc.patch"
+sha256sums="c2f6c56167f0acdbe3dc37cca9c1a19260c040f2d4800e3529a21ad7cce275fe  dwm-6.1.tar.gz
+09cad929338b4caf32a7c77fa46dd6d968019e928f010c2f61a172069cccc2be  freetypeinc.patch"
+sha512sums="875644bbc246088f2c87e50debbadd4bc179444b396b1b327149087e8bc5303325ebc9103a7e3c864266ee1ac683ea3cd8f0a08285c8e46fc4389d5b83a555f1  dwm-6.1.tar.gz
+6705591b265120536071490d42f31a830431ad1c74a70d36f1dba4d0aa27a96338516d19507b092c2989d3116f2219fb0849e9fb3cb84c8f1db82350f8ca0adf  freetypeinc.patch"
diff --git a/testing/dwm/freetypeinc.patch b/testing/dwm/freetypeinc.patch
new file mode 100644
index 0000000..3e3fff6
--- /dev/null
+++ b/testing/dwm/freetypeinc.patch
_at_@ -0,0 +1,12 @@
+diff -upr dwm-6.1.orig/config.mk dwm-6.1/config.mk
+--- dwm-6.1.orig/config.mk	2015-11-09 11:40:01.970911763 +0100
++++ dwm-6.1/config.mk	2015-11-09 11:40:26.330814681 +0100
+_at_@ -17,8 +17,6 @@ XINERAMAFLAGS = -DXINERAMA
+ # freetype
+ FREETYPELIBS = -lfontconfig -lXft
+ FREETYPEINC = /usr/include/freetype2
+-# OpenBSD (uncomment)
+-FREETYPEINC = ${X11INC}/freetype2
+ 
+ # includes and libs
+ INCS = -I${X11INC} -I${FREETYPEINC}
-- 
2.6.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Nov 09 2015 - 11:57:01 GMT