1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

- scrotwm has been renamed to spectrwm

- update to 1.0.0

PR:		ports/165248
Submitted by:	Niclas Zeising <zeising@daemonic.se> (maintainer)
Reviewed by:	pgollucci
This commit is contained in:
Eitan Adler 2012-03-06 03:20:52 +00:00
parent cfb6b77301
commit 6ba9bb2982
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=292796
10 changed files with 4 additions and 137 deletions

1
MOVED
View File

@ -3245,3 +3245,4 @@ net/p5-Net-Subnets||2012-03-03|Has expired: Disappeared from CPAN
www/mediawiki116||2012-03-04|Has expired: Unsupport Upstream
databases/postgresql-docs|databases/postgresql84-docs|2012-03-04|Split into versioned ports
databases/postgresql-pltcl|databases/postgresql84-pltcl|2012-03-05|Split into versioned ports
x11-wm/scrotwm|x11-wm/spectrwm|2012-03-05|Project renamed

View File

@ -148,11 +148,11 @@
SUBDIR += ratpoison
SUBDIR += sapphire
SUBDIR += sawfish
SUBDIR += scrotwm
SUBDIR += selectwm
SUBDIR += simple-ccsm
SUBDIR += skippy
SUBDIR += skippy-xd
SUBDIR += spectrwm
SUBDIR += stumpwm
SUBDIR += swm
SUBDIR += tinywm

View File

@ -1,68 +0,0 @@
# New ports collection makefile for: scrotwm
# Date created: June 29, 2009
# Whom: Aragon Gouveia <aragon@phat.za.net>
#
# $FreeBSD$
#
PORTNAME= scrotwm
PORTVERSION= 0.11.0
CATEGORIES= x11-wm
MASTER_SITES= https://opensource.conformal.com/snapshots/scrotwm/
EXTRACT_SUFX= .tgz
MAINTAINER= zeising@daemonic.se
COMMENT= A small, dynamic tiling window manager for X11
LICENSE= ISCL
OPTIONS= DMENU_BOTTOM "dmenu at screen bottom (instead of top)" Off
.include <bsd.port.pre.mk>
USE_XORG= x11 xproto xrandr xt xtst
MAN1= scrotwm.1
USE_LDCONFIG=yes
PORTEXAMPLES= scrotwm_cz.conf \
scrotwm_es.conf \
scrotwm_fr.conf \
scrotwm_fr_ch.conf \
scrotwm_se.conf \
scrotwm_us.conf
RUN_DEPENDS+= dmenu:${PORTSDIR}/x11/dmenu
.if defined(WITH_DMENU_BOTTOM)
EXTRA_PATCHES+= ${FILESDIR}/spawn_menu_atbottom.patch
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/scrotwm.*
do-build:
${CC} ${CFLAGS} -I${LOCALBASE}/include \
-I${WRKSRC}/freebsd -lutil -L${LOCALBASE}/lib -lX11 -lXrandr \
-lXtst -DSWM_LIB=\"${PREFIX}/lib/libswmhack.so\" \
-o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c
${CC} ${CFLAGS} -I${LOCALBASE}/include -shared -fpic -DPIC \
-o ${WRKSRC}/libswmhack.so ${WRKSRC}/lib/swm_hack.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/screenshot.sh ${PREFIX}/bin
${INSTALL_LIB} ${WRKSRC}/libswmhack.so ${PREFIX}/lib
${INSTALL_MAN} ${WRKSRC}/scrotwm.1 ${MAN1PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/scrotwm.conf ${PREFIX}/etc/scrotwm.conf.sample
@if [ ! -f ${PREFIX}/etc/scrotwm.conf ]; then \
${INSTALL_DATA} ${PREFIX}/etc/scrotwm.conf.sample ${PREFIX}/etc/scrotwm.conf ; \
fi
${INSTALL_SCRIPT} ${FILESDIR}/startscrotwm ${PREFIX}/bin
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
.for conf in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${conf} ${EXAMPLESDIR}
.endfor
.endif
.include <bsd.port.post.mk>

View File

@ -1,2 +0,0 @@
SHA256 (scrotwm-0.11.0.tgz) = 7d2a5b30c6285ee2daead904b6dd6b89c4f2ca7ac64aac88213151e234c6554d
SIZE (scrotwm-0.11.0.tgz) = 82600

View File

@ -1,23 +0,0 @@
$FreeBSD$
--- scrotwm.c.orig 2012-01-11 19:42:57.000000000 +0100
+++ scrotwm.c 2012-01-11 21:36:07.000000000 +0100
@@ -4481,14 +4481,16 @@
" -nb $bar_color"
" -nf $bar_font_color"
" -sb $bar_border"
- " -sf $bar_color", 0);
+ " -sf $bar_color"
+ " -b", 0);
setconfspawn("name_workspace", "dmenu"
" -p Workspace"
" -fn $bar_font"
" -nb $bar_color"
" -nf $bar_font_color"
" -sb $bar_border"
- " -sf $bar_color", 0);
+ " -sf $bar_color"
+ " -b", 0);
}
/* key bindings */

View File

@ -1,10 +0,0 @@
#!/bin/sh
if [ -z "${DISPLAY}" ]
then
echo "$0: Starting X server"
exec xinit $( which scrotwm )
else
echo "$0: X server already running on display ${DISPLAY}"
$( which scrotwm )
fi

View File

@ -1,14 +0,0 @@
Scrotwm is a small dynamic tiling window manager for X11. It tries to stay out
of the way so that valuable screen real estate can be used for much more
important stuff. It has sane defaults and does not require one to learn a
language to do any configuration. It was written by hackers for hackers and it
strives to be small, compact and fast.
It was largely inspired by xmonad and dwm. Both are fine products but suffer
from things like: crazy-unportable-language-syndrome, silly defaults,
asymmetrical window layout, "how hard can it be?" and good old NIH.
Nevertheless dwm was a phenomenal resource and many good ideas and code was
borrowed from it. On the other hand xmonad has great defaults, key bindings
and xinerama support but is crippled by not being written in C.
WWW: https://opensource.conformal.com/wiki/scrotwm

View File

@ -1,7 +0,0 @@
bin/scrotwm
bin/screenshot.sh
bin/startscrotwm
lib/libswmhack.so
@unexec if [ ! -f %D/etc/scrotwm.conf ] || cmp -s %D/etc/scrotwm.conf.sample %D/etc/scrotwm.conf; then rm -f %D/etc/scrotwm.conf; else echo %%PREFIX%%/etc/scrotwm.conf contains changes, remove it manually to delete this package completely.; fi
etc/scrotwm.conf.sample
@exec [ -f %D/etc/scrotwm.conf ] || cp -p %D/%F %D/etc/scrotwm.conf

View File

@ -1,7 +1,7 @@
$FreeBSD$
--- scrotwm.c.orig 2012-01-11 19:42:57.000000000 +0100
+++ scrotwm.c 2012-01-11 21:36:07.000000000 +0100
--- spectrwm.c.orig 2012-01-11 19:42:57.000000000 +0100
+++ spectrwm.c 2012-01-11 21:36:07.000000000 +0100
@@ -4481,14 +4481,16 @@
" -nb $bar_color"
" -nf $bar_font_color"

View File

@ -1,10 +0,0 @@
#!/bin/sh
if [ -z "${DISPLAY}" ]
then
echo "$0: Starting X server"
exec xinit $( which scrotwm )
else
echo "$0: X server already running on display ${DISPLAY}"
$( which scrotwm )
fi