Update to pekwm-0.1.17.

from new maintainer Timo Myyra
This commit is contained in:
ajacoutot 2016-10-31 17:07:30 +00:00
parent 07f3bc5226
commit 00f80f259b
4 changed files with 92 additions and 14 deletions

View File

@ -1,14 +1,13 @@
# $OpenBSD: Makefile,v 1.27 2016/08/28 11:07:14 jca Exp $
# $OpenBSD: Makefile,v 1.28 2016/10/31 17:07:30 ajacoutot Exp $
COMMENT= aewm++ based pretty themable window manager
DISTNAME= pekwm-0.1.15
REVISION= 1
DISTNAME= pekwm-0.1.17
CATEGORIES= x11
HOMEPAGE= http://pekwm.org/
HOMEPAGE= https://www.pekwm.org/
MAINTAINER= Nicholas Marriott <nicm@openbsd.org>
MAINTAINER= Timo Myyra <timo.myyra@wickedbsd.net>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
@ -16,7 +15,7 @@ PERMIT_PACKAGE_CDROM= Yes
WANTLIB += ICE SM X11 Xext Xft Xinerama Xpm Xrandr c iconv jpeg m png
WANTLIB += stdc++
MASTER_SITES= ${HOMEPAGE}projects/pekwm/files/
MASTER_SITES= ${HOMEPAGE}/files/
EXTRACT_SUFX= .tar.bz2
LIB_DEPENDS= converters/libiconv \
graphics/jpeg \
@ -24,6 +23,8 @@ LIB_DEPENDS= converters/libiconv \
NO_TEST= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"

View File

@ -1,2 +1,2 @@
SHA256 (pekwm-0.1.15.tar.bz2) = VtQFuH89hY68U6In5N4juScwZ3ByURRckK8I01vHWC8=
SIZE (pekwm-0.1.15.tar.bz2) = 395557
SHA256 (pekwm-0.1.17.tar.bz2) = ih/Tv5846Me7KyhkwJD5hrYM7CKB7PG7pGLRIPsyfQA=
SIZE (pekwm-0.1.17.tar.bz2) = 405742

View File

@ -0,0 +1,76 @@
$OpenBSD: patch-data_scripts_pekwm_screenshot_sh,v 1.1 2016/10/31 17:07:30 ajacoutot Exp $
No need for bash here, use /bin/sh
--- data/scripts/pekwm_screenshot.sh.orig Sun May 26 15:01:18 2013
+++ data/scripts/pekwm_screenshot.sh Tue Mar 22 09:16:26 2016
@@ -1,30 +1,30 @@
-#!/usr/bin/env bash
+#!/bin/sh
#
# Copyright © 2013 the pekwm development team
#
-function screenshot_scrot
+screenshot_scrot()
{
scrot -z "$1"
}
-function screenshot_xwd_netpbm
+screenshot_xwd_netpbm()
{
xwd -root | xwdtopnm 2>/dev/null | pnmtopng > "$1"
}
-function screenshot_imagemagick
+screenshot_imagemagick()
{
import -window root "$1"
}
-function is_in_path
+is_in_path()
{
which $1 >/dev/null 2>&1
return $?
}
-function detect_command
+detect_command()
{
is_in_path "scrot"
if test $? -eq 0; then
@@ -45,7 +45,7 @@ function detect_command
fi
}
-function usage
+usage()
{
echo "usage: pekwm_screenshot.sh [-c scrot|netpbm|magick] [-d delay] [-o output.png]"
echo ""
@@ -61,7 +61,7 @@ function usage
exit 0
}
-function usage_command
+usage_command()
{
echo "Unable to find any supported commands for taking screenshots"
echo ""
@@ -74,7 +74,7 @@ function usage_command
exit 1
}
-function main
+main()
{
# Initialize for strict mode
command=""
@@ -146,6 +146,6 @@ function main
exit 0
}
-OPTIONS=$(getopt -o c:d:ho: -n 'pekwm_screenshot.sh' -- "$@")
+OPTIONS=$(getopt c:d:ho: $*)
main

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.7 2012/11/12 10:03:21 jasper Exp $
@comment $OpenBSD: PLIST,v 1.8 2016/10/31 17:07:30 ajacoutot Exp $
@bin bin/pekwm
@man man/man1/pekwm.1
share/examples/pekwm/
@ -6,11 +6,11 @@ share/examples/pekwm/
share/examples/pekwm/autoproperties
@sample ${SYSCONFDIR}/pekwm/autoproperties
share/examples/pekwm/autoproperties_typerules
@sample ${SYSCONFDIR}/autoproperties_typerules
@sample ${SYSCONFDIR}/pekwm/autoproperties_typerules
share/examples/pekwm/config
@sample ${SYSCONFDIR}/pekwm/config
share/examples/pekwm/config_system
@sample ${SYSCONFDIR}/config_system
@sample ${SYSCONFDIR}/pekwm/config_system
share/examples/pekwm/keys
@sample ${SYSCONFDIR}/pekwm/keys
share/examples/pekwm/menu
@ -18,17 +18,18 @@ share/examples/pekwm/menu
share/examples/pekwm/mouse
@sample ${SYSCONFDIR}/pekwm/mouse
share/examples/pekwm/mouse_click
@sample ${SYSCONFDIR}/mouse_click
@sample ${SYSCONFDIR}/pekwm/mouse_click
share/examples/pekwm/mouse_sloppy
@sample ${SYSCONFDIR}/mouse_sloppy
@sample ${SYSCONFDIR}/pekwm/mouse_sloppy
share/examples/pekwm/mouse_system
@sample ${SYSCONFDIR}/mouse_system
@sample ${SYSCONFDIR}/pekwm/mouse_system
share/examples/pekwm/start
@sample ${SYSCONFDIR}/pekwm/start
share/examples/pekwm/vars
@sample ${SYSCONFDIR}/pekwm/vars
share/pekwm/
share/pekwm/scripts/
share/pekwm/scripts/pekwm_screenshot.sh
share/pekwm/scripts/pekwm_themeset.sh
share/pekwm/scripts/pekwm_ws_menu.sh
share/pekwm/themes/