diff options
author | Rene Ladan <rene@FreeBSD.org> | 2014-05-04 10:51:02 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2014-05-04 10:51:02 +0000 |
commit | 32e92194b7278e4656bb4581bbdec8b4cfec766b (patch) | |
tree | dc2a77fb28bb97e39d913fa8c2e661b6e3af9bd3 /x11-wm | |
parent | 496193d869a804c89a9888cf31ea076b3fb7eead (diff) | |
download | ports-32e92194b7278e4656bb4581bbdec8b4cfec766b.tar.gz ports-32e92194b7278e4656bb4581bbdec8b4cfec766b.zip |
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/Makefile | 1 | ||||
-rw-r--r-- | x11-wm/stumpwm/Makefile | 87 | ||||
-rw-r--r-- | x11-wm/stumpwm/distinfo | 4 | ||||
-rw-r--r-- | x11-wm/stumpwm/files/patch-contrib-stumpish | 178 | ||||
-rw-r--r-- | x11-wm/stumpwm/pkg-descr | 19 |
5 files changed, 0 insertions, 289 deletions
diff --git a/x11-wm/Makefile b/x11-wm/Makefile index 936f35e1f4dc..ec36eed30cea 100644 --- a/x11-wm/Makefile +++ b/x11-wm/Makefile @@ -140,7 +140,6 @@ SUBDIR += selectwm SUBDIR += simple-ccsm SUBDIR += spectrwm - SUBDIR += stumpwm SUBDIR += swm SUBDIR += tinywm SUBDIR += transset diff --git a/x11-wm/stumpwm/Makefile b/x11-wm/stumpwm/Makefile deleted file mode 100644 index 94d1510eaa11..000000000000 --- a/x11-wm/stumpwm/Makefile +++ /dev/null @@ -1,87 +0,0 @@ -# Created by: Alejandro Pulver <alepulver@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= stumpwm -PORTVERSION= 0.9.7 -PORTREVISION= 13 -CATEGORIES= x11-wm lisp -MASTER_SITES= SAVANNAH -EXTRACT_SUFX= .tgz - -MAINTAINER= ports@FreeBSD.org -COMMENT= Tiling, keyboard driven Window Manager written in Common Lisp - -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING - -BROKEN= Broken 4 months already, will not build with either lisp compiler -DEPRECATED= Broken for more than 4 months -EXPIRATION_DATE= 2014-05-01 - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-contrib-dir=${DATADIR} -MAKE_JOBS_UNSAFE=yes - -PLIST_FILES= bin/stumpish \ - bin/${PORTNAME} -INFO= ${PORTNAME} -PORTEXAMPLES= sample-stumpwmrc.lisp -PORTDATA= * - -OPTIONS_DEFINE= SBCL EXAMPLES -OPTIONS_DEFAULT= -SBCL_DESC= Build with lang/sbcl (otherwise with lang/clisp) - -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MSBCL} || make(makesum) || defined(FETCH_ALL) -MASTER_SITES+= http://common-lisp.net/~abridgewater/dist/clx/:clx -DISTFILES+= clx-0.7.4.tgz:clx -.endif - -.if ${PORT_OPTIONS:MSBCL} -CONFIGURE_ARGS+= --with-lisp=sbcl -BUILD_DEPENDS+= sbcl:${PORTSDIR}/lang/sbcl -BROKEN= require needs a pathname for uninstalled modules with the ASDF 3.x bundled with sbcl -.else -CONFIGURE_ARGS+= --with-lisp=clisp -BUILD_DEPENDS+= clisp:${PORTSDIR}/lang/clisp -.endif - -.if empty(PORT_OPTIONS:MSBCL) -.if exists(${LOCALBASE}/bin/clisp) && \ - !exists(${LOCALBASE}/lib/clisp/clx/new-clx/clx.o) -IGNORE= requires lang/clisp built with CLX_NEW option ON -.endif -.endif - -.if ${PORT_OPTIONS:MSBCL} -post-extract: .SILENT - ${LN} -sf ${WRKDIR}/clx*/*.asd ${WRKSRC}/cl-ppcre/*.asd ${WRKSRC} - -post-patch: .SILENT - ${REINPLACE_CMD} 's|sbcl_.*OPTS=|& \ - --disable-debugger \ - --no-userinit \ - --no-sysinit \ - --eval "(require :asdf)" \ - --eval "(pop asdf:*central-registry*)" \ - |' ${WRKSRC}/Makefile.in - ${REINPLACE_CMD} 's/\(sb-introspect:function-\)arglist/\1lambda-list/' \ - ${WRKSRC}/manual.lisp -.endif - -post-install: - ${INSTALL_SCRIPT} ${WRKSRC}/contrib/stumpish ${PREFIX}/bin -.if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${EXAMPLESDIR} -.endif -.if !defined(NOPORTDATA) - ${MKDIR} ${DATADIR} - ${TAR} cf - -C${WRKSRC}/contrib --exclude stumpish\* . \ - | ${TAR} xovf - -C${DATADIR} -.endif - -.include <bsd.port.mk> diff --git a/x11-wm/stumpwm/distinfo b/x11-wm/stumpwm/distinfo deleted file mode 100644 index e6c8c9aff6cb..000000000000 --- a/x11-wm/stumpwm/distinfo +++ /dev/null @@ -1,4 +0,0 @@ -SHA256 (stumpwm-0.9.7.tgz) = a0793d22ef90731d34f84e51deafb4bc2095a357c70b9505dc57516f481cdf78 -SIZE (stumpwm-0.9.7.tgz) = 497663 -SHA256 (clx-0.7.4.tgz) = 4a80f80255ace26eb8df214957dda3d7b7e51955537405ec893a34b18e569028 -SIZE (clx-0.7.4.tgz) = 444490 diff --git a/x11-wm/stumpwm/files/patch-contrib-stumpish b/x11-wm/stumpwm/files/patch-contrib-stumpish deleted file mode 100644 index ad545e8ffea2..000000000000 --- a/x11-wm/stumpwm/files/patch-contrib-stumpish +++ /dev/null @@ -1,178 +0,0 @@ - - use `echo' wrapper and work around \0XXX vs. \XXX in dash - - use tput(1) wrapper and try termcap(5) capabilities first - - remove GNUisms from sed(1) lines without breaking GNU sed usage - - try to guess whether sleep(1) supports fractions - - prevent word splitting when reading command list - - remove command list not only when exiting but on SIGINT and SIGTERM, too - - don't use backquotes, they have side effect of removing one layer of quoting - - prevent glob expansion when stripping output - - no need for persistence across reboots, use /tmp and TMPDIR from environ(7) - - remove workaround for `read -p', it's supported by every ash descendant - - correct example line in usage - ---- - contrib/stumpish | 93 ++++++++++++++++++++++++++++++++++++----------------- - 1 files changed, 63 insertions(+), 30 deletions(-) - -diff --git contrib/stumpish~ contrib/stumpish -index 1d48bb4..2b0fca1 100755 ---- contrib/stumpish~ -+++ contrib/stumpish -@@ -21,19 +21,25 @@ - - ### STUMPwm Interactive SHell. - --if sleep --version 2>/dev/null | grep -q GNU -+DELAY=0.01 -+ -+if ! sleep $DELAY 2>/dev/null >&2 - then -- DELAY=0.1 --else - DELAY=1 - fi - -+# parse C-style backslash sequences by default -+if [ "$(echo -e foo)" = foo ]; then -+ echo() { builtin echo -e "$@"; } -+fi -+ - wait_result () - { - while true - do -- RESULT=`xprop -root -f STUMPWM_COMMAND_RESULT 8s STUMPWM_COMMAND_RESULT 2>/dev/null` -- -+ RESULT=$(xprop -root -f STUMPWM_COMMAND_RESULT 8s \ -+ STUMPWM_COMMAND_RESULT 2>/dev/null | -+ sed -E 's/\\([[:digit:]]+)/\\0\1/g') - if echo "$RESULT" | grep -v -q 'not found.$' - then - break -@@ -49,8 +55,14 @@ wait_result () - return 1 - fi - -- echo $RESULT | sed 's/[^"]*"//;s/"$//;s/\\n/\n/g;s/\\"/"/g;s/\n\+$//; -- s/\^[*[:digit:]]\{2\}//g;s/\^[Bbn]//g;' -+ echo "$RESULT" | -+ sed -E 's/[^"\\n]+"// -+ s/"[[:space:]]*$// -+ s/([^\\])\\n/\1\ -+/g -+ s/\\(["\\n])/\1/g -+ s/\^([*[:digit:]]+|[Bbn])//g' | -+ sed '/^[[:space:]]*$/d' - } - - send_cmd () -@@ -73,7 +85,7 @@ send_cmd () - usage () - { - cat <<EOF --Usage: "$0" [[-e] command [args...]] -+Usage: ${0##*/} [[-e|-r] command [args...]] - - StumpIsh is the StumpWM shell. Use it to interact a running StumpWM - instance. When run from a terminal with no arguments, stumpish -@@ -87,11 +99,31 @@ the first is considered the name of the command to execute and the - remainder is concatenated to form the argument. - - Example: -- echo '(group-windows (current-group))' | "$0" eval -+ echo '(group-windows (current-group))' | ${0##*/} -e eval - EOF - exit 0; - } - -+warn () -+{ -+ { -+ tput md bold -+ tput AF setaf 1 -+ echo 'WARN:\c' -+ tput me sgr0 -+ echo " $*" -+ } >&2 -+} -+ -+tput () -+{ -+ local cap1=$1 cap2=$2 -+ shift 2 -+ -+ command tput $cap1 $@ 2>/dev/null || -+ command tput $cap2 $@ 2>/dev/null -+} -+ - READLINE=yes - - if [ "x$1" = "x-r" ] -@@ -112,7 +144,7 @@ then - fi - shift 1 - IFS='' -- ARGS=`cat /dev/stdin` -+ ARGS=$(cat /dev/stdin) - send_cmd "$1 $ARGS" - else - IFS=' ' -@@ -121,37 +153,36 @@ then - else - if [ -t 0 ] - then -- if [ $READLINE = yes ] && type rlwrap >/dev/null 2>&1 -+ if ! type rlwrap 2>/dev/null >&2 - then -- # Note: $TEMP is not conventional; it is left here purely -- # for backwards compatibility. -- COMMANDS="${TEMP:-${TEMPDIR:-/var/tmp}}/stumpish.commands.$$" -- echo `send_cmd "commands"` | sed 's/[[:space:]]\+/\n/g' | sort > "$COMMANDS" -- rlwrap -f "$COMMANDS" "$0" -r -- rm -f "$COMMANDS" -+ warn rlwrap not found, command completion won\'t work -+ elif [ $READLINE = yes ] -+ then -+ COMMANDS="${TMPDIR:-/tmp}/stumpish.commands.$$" -+ echo $(send_cmd "commands") | -+ sed -E 's/[[:space:]]+/\ -+/g' | -+ sort > "$COMMANDS" -+ trap 'rm -f "$COMMANDS"' exit int term -+ rlwrap -b '' -f "$COMMANDS" "$0" -r - exit - fi - -- tput setaf 5 -+ tput AF setaf 5 - echo Welcome to the STUMPwm Interactive SHell. -- tput sgr0 -- echo -n 'Type ' -- tput setaf 2 -- echo -n commands -- tput sgr0 -+ tput me sgr0 -+ echo 'Type \c' -+ tput AF setaf 2 -+ echo 'commands\c' -+ tput me sgr0 - echo \ for a list of commands. - -- IFS=' --' -- echo -n "> " -- while read REPLY -+ while read -p '> ' REPLY - do -- tput bold -- tput setaf 2 -+ tput md bold -+ tput AF setaf 2 - send_cmd "$REPLY" -- tput sgr0 -- -- echo -n "> " -+ tput me sgr0 - done - else - while read REPLY diff --git a/x11-wm/stumpwm/pkg-descr b/x11-wm/stumpwm/pkg-descr deleted file mode 100644 index 0d20661f49a2..000000000000 --- a/x11-wm/stumpwm/pkg-descr +++ /dev/null @@ -1,19 +0,0 @@ -Stumpwm is a tiling, keyboard driven X11 Window Manager written entirely in0 -Common Lisp. - -If you're tired of flipping through themes like channel-surfing, and going -from one perfect-except-for-just-one-thing window manager to another -even-more-broken-in-some-other-way then perhaps Stumpwm can help. - -Stumpwm attempts to be customizable yet visually minimal. There are no window -decorations, no icons, and no buttons. It does have various hooks to attach -your personal customizations, and variables to tweak. - -* Hack the good hack. -* Debug your good hack. -* Customize your window manager. - -While it's running. That's right. With a 100% Common Lisp window manager -there's no stopping the hacks. Just re-eval and GO! - -WWW: http://www.nongnu.org/stumpwm/ |