hi! im using arch linux, and i want the tile horizontal patch, but i
dont know what im doing wrong, i need some extra help lol...
i add this to my config.h file
***
#include "tileh.c"
...
static Layout layouts[] = {
/* symbol arrange function */
{ "[]|", tile }, /* first entry is default */
{ "[]=", tileh }, /* <-------- patch */
{ "><>", NULL }, /* no layout function means floating behavior */
***
here's the output of makepkg
***
[aleyscha_AT_aleyscha 24 dwm]$ makepkg -f
==> Making package: dwm 5.0.1-1 (Sat Jun 28 08:48:06 PDT 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found dwm-5.0.1.tar.gz in build dir
-> Found dwm-5.0.1-tileh.diff in build dir
-> Found config.h in build dir
==> WARNING: Integrity checks (md5) are missing or incomplete.
==> Extracting Sources...
-> bsdtar -x -f dwm-5.0.1.tar.gz
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
patching file config.def.h
patching file tileh.c
dwm build options:
CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include
-I/usr/include/X11 -DVERSION="5.0.1" -DXINERAMA
LDFLAGS = -s -L/usr/lib -lc -L/usr/lib/X11 -lX11 -L/usr/lib/X11 -lXinerama
CC = cc
CC dwm.c
In file included from dwm.c:241:
config.h:42: error: 'tileh' undeclared here (not in a function)
make: *** [dwm.o] Error 1
==> ERROR: Build Failed.
Aborting...
***
and here's my PKGBUILD
***
# $Id: PKGBUILD,v 1.14 2008/04/07 16:50:08 sergej Exp $
# Maintainer: Sergej Pupykin <sergej_AT_aur.archlinux.org>
# Contributor: Dag Odenhall <dag.odenhall_AT_gmail.com>
# Contributor: Grigorios Bouzakis <grbzks_AT_gmail.com>
pkgname=dwm
pkgver=5.0.1
pkgrel=1
pkgdesc="A dynamic window manager for X"
url="http://www.suckless.org/wiki/dwm"
arch=('i686' 'x86_64')
license=('MIT')
depends=('libx11')
install=dwm.install
source=(http://www.suckless.org/download/$pkgname-$pkgver.tar.gz \
dwm-5.0.1-tileh.diff config.h)
md5sums=('27d91d886c9ba1aad4b09178e2653ee0')
build() {
cd $startdir/src/$pkgname-$pkgver
patch -p1 < ../dwm-5.0.1-tileh.diff || return 1
cp ../config.h .
make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 || return 1
make PREFIX=/usr DESTDIR=$startdir/pkg install || return 1
install -m644 -D LICENSE
$startdir/pkg/usr/share/licenses/$pkgname/LICENSE && \
install -m644 -D README $startdir/pkg/usr/share/doc/$pkgname/README
}
***
Received on Sat Jun 28 2008 - 14:43:12 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:51:44 UTC