New package: WindowMaker-0.95.4.
This commit is contained in:
parent
815a55e281
commit
d335c46e47
5 changed files with 82 additions and 0 deletions
1
srcpkgs/WindowMaker-devel
Symbolic link
1
srcpkgs/WindowMaker-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
WindowMaker
|
10
srcpkgs/WindowMaker/WindowMaker-devel.template
Normal file
10
srcpkgs/WindowMaker/WindowMaker-devel.template
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# Template file for 'WindowMaker-devel'.
|
||||||
|
#
|
||||||
|
noarch=yes
|
||||||
|
depends="${sourcepkg}>=${version}"
|
||||||
|
short_desc="${short_desc} -- development files"
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vmove usr/include usr
|
||||||
|
vmove usr/lib/pkgconfig usr/lib
|
||||||
|
}
|
5
srcpkgs/WindowMaker/files/wmaker.desktop
Normal file
5
srcpkgs/WindowMaker/files/wmaker.desktop
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Name=windowmaker
|
||||||
|
Exec=/usr/bin/wmaker
|
||||||
|
Type=Application
|
34
srcpkgs/WindowMaker/patches/giflib-5.0.patch
Normal file
34
srcpkgs/WindowMaker/patches/giflib-5.0.patch
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
--- wrlib/gif.c.orig 2013-01-12 17:36:51.015744230 +0100
|
||||||
|
+++ wrlib/gif.c 2013-01-12 17:47:33.992447587 +0100
|
||||||
|
@@ -43,7 +43,7 @@ RImage *RLoadGIF(char *file, int index)
|
||||||
|
unsigned char *cptr;
|
||||||
|
GifFileType *gif = NULL;
|
||||||
|
GifPixelType *buffer = NULL;
|
||||||
|
- int i, j, k;
|
||||||
|
+ int i, j, k, err = 0;
|
||||||
|
int width, height;
|
||||||
|
GifRecordType recType;
|
||||||
|
ColorMapObject *colormap;
|
||||||
|
@@ -57,10 +57,10 @@ RImage *RLoadGIF(char *file, int index)
|
||||||
|
/* default error message */
|
||||||
|
RErrorCode = RERR_BADINDEX;
|
||||||
|
|
||||||
|
- gif = DGifOpenFileName(file);
|
||||||
|
+ gif = DGifOpenFileName(file, &err);
|
||||||
|
|
||||||
|
- if (!gif) {
|
||||||
|
- switch (GifLastError()) {
|
||||||
|
+ if (err) {
|
||||||
|
+ switch (err) {
|
||||||
|
case D_GIF_ERR_OPEN_FAILED:
|
||||||
|
RErrorCode = RERR_OPEN;
|
||||||
|
break;
|
||||||
|
@@ -197,7 +197,7 @@ RImage *RLoadGIF(char *file, int index)
|
||||||
|
/* yuck! */
|
||||||
|
goto did_not_get_any_errors;
|
||||||
|
giferr:
|
||||||
|
- switch (GifLastError()) {
|
||||||
|
+ switch (gif->Error) {
|
||||||
|
case D_GIF_ERR_OPEN_FAILED:
|
||||||
|
RErrorCode = RERR_OPEN;
|
||||||
|
break;
|
32
srcpkgs/WindowMaker/template
Normal file
32
srcpkgs/WindowMaker/template
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# Template file for 'WindowMaker'
|
||||||
|
pkgname=WindowMaker
|
||||||
|
version=0.95.4
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
configure_args="--enable-xinerama --with-nlsdir=/usr/share/locale
|
||||||
|
--with-gnustepdir=/usr/lib/GNUstep --enable-usermenu --enable-modelock
|
||||||
|
--enable-xrandr --disable-static"
|
||||||
|
makedepends="pkg-config libXinerama-devel libXrandr-devel
|
||||||
|
libXmu-devel libpng-devel libXpm-devel libXft-devel tiff-devel
|
||||||
|
giflib-devel fontconfig-devel"
|
||||||
|
short_desc="An X11 window manager with a NEXTSTEP look and feel"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
license="GPL-3"
|
||||||
|
homepage="http://www.windowmaker.org/"
|
||||||
|
distfiles="http://windowmaker.org/pub/source/release/${pkgname}-${version}.tar.gz"
|
||||||
|
checksum=2bea97f00570f05ff115d147457c16abefe496a4fc882a027152ce592d768e45
|
||||||
|
|
||||||
|
subpackages="${pkgname}-devel"
|
||||||
|
|
||||||
|
conf_files="
|
||||||
|
/etc/WindowMaker
|
||||||
|
/etc/WindowMaker/WindowMaker
|
||||||
|
/etc/WindowMaker/WMRootMenu
|
||||||
|
/etc/WindowMaker/WMWindowAttributes
|
||||||
|
/etc/WindowMaker/WMState
|
||||||
|
/etc/WindowMaker/WMGLOBA"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vinstall COPYING.WTFPL 644 usr/share/licenses/${pkgname}
|
||||||
|
vinstall ${FILESDIR}/wmaker.desktop 644 usr/share/xsessions
|
||||||
|
}
|
Loading…
Reference in a new issue