diff options
Diffstat (limited to 'x11-wm/echinus')
-rw-r--r-- | x11-wm/echinus/Manifest | 7 | ||||
-rw-r--r-- | x11-wm/echinus/echinus-0.4.9.ebuild | 60 | ||||
-rw-r--r-- | x11-wm/echinus/files/echinus-0.4.9-gentoo.diff | 68 | ||||
-rw-r--r-- | x11-wm/echinus/files/echinus.desktop | 7 | ||||
-rw-r--r-- | x11-wm/echinus/metadata.xml | 15 |
5 files changed, 157 insertions, 0 deletions
diff --git a/x11-wm/echinus/Manifest b/x11-wm/echinus/Manifest new file mode 100644 index 000000000000..9252f7365fdb --- /dev/null +++ b/x11-wm/echinus/Manifest @@ -0,0 +1,7 @@ +AUX echinus-0.4.9-gentoo.diff 1726 SHA256 25575d810d9c6066aa71511405674600a39b018de73bb4565f9c6bc050d73e93 SHA512 09164473f568385b7989bfb6f1c0529eb224aa7060ca39baa81ec61a545fde58d711092db1a6cd5feef6409bc2031c5d1ba71e2c176c2d527478a331fb84e016 WHIRLPOOL 13e9805d9e42833891cdaf0e81d6c284eb9da5fc990e1bdc96a9af7ca7bfbe7b9d669974f3f6398a95d88429b9f5588549933b725db5ea60dd13b22217eab5e4 +AUX echinus.desktop 100 SHA256 6b813b81f54c1a4e9e83c92884e49fb16a20088cbd08dcade0e2bb5572364bd3 SHA512 df3450598a78a6484323735ee95b8c03e0b8bed40335e495a6c41dafabbccdb1e52987c383093576bfb05fa017c2bf474ec53fff30975ebd07fe6ea08196e566 WHIRLPOOL d3fcf0dea1c9e9e21c2f86d3a3f1a1a7200957298eac45b1f3efe63179d6d97af6a72d6259846932e9f05fd9807a647b106c769366cab6240c5e13c0b568293d +DIST echinus-0.4.9.tar.gz 32934 SHA256 c57ac8f72845bea02bed0c27256b4023668ae7b41ae3c461d6e9b63e24914d94 SHA512 a735291129bc287c6ed8c0f5d98c3d81db6da19d903a5fd5b44af5ec55d0b90dc7a559fc0cbd3e0dcced4a25783307adbd777a0c79fbd91ed78e9867544c47bf WHIRLPOOL 8375246bcc2d18633fe66f6ec5fe0c02154f52385b5d2f1bee40702cc1d78614b852867a71139befe33977da6c0b2078ea7ac5ae56d61065a37f346fd3b9e498 +EBUILD echinus-0.4.9.ebuild 1615 SHA256 edf6a6929cf7c99473546174a10972fc3899adc60006a169a0fa5f794ef6eacb SHA512 93da49d690429d2722d08dcbe0ae9c74d9ef16b39f804c1fd3518f5d36730ccce14a1db58341728a031c664535151062751b893bb63afc89c966e5085566d372 WHIRLPOOL 837a7e5c4975d2a860c8dc838242a003e2430f257f1d28b74abb1e91adf3963f917fd8ac04a5f2ca15e81365bd753276d5671650ffa8590d63511843b2bcb0da +MISC ChangeLog 2876 SHA256 165071908dcb23163099ed624af3f674d054d642019d7cfff25ee6f0b6bada3c SHA512 c723b121404ba59a19ea25033317bfa0c068fa36bd67f4200d108882772a15a10db0ade6b41f687a84b3049dbc5a681994ada1020d6a6d9255a740c07a657033 WHIRLPOOL 443465c2c35e8b371deb6d7bb9cfdf2d633394c414053a113e4c9d08b6e5cc7273a2c31030f6c4d06b9dbbdcfd9c27c7e6417e2c7cbe8375f7222b2d964863ec +MISC ChangeLog-2015 2199 SHA256 3bad21959d6e3862d3f39e3a89ff848373136d79e25153f16cc8f0bbff3c9278 SHA512 dc1132ccd9f0735613de938bc4d433f70020a2a1923c06ca1bb0fbdc738fdcb437a46ec74707a95ddf8fbc599c9dbaf7cb32635a159ed30c1b4bbaadeb9926f9 WHIRLPOOL a65ad514ea45f14416028260323effc660f944dae40a2e2b6e2bc778ff89e63ac29b14c1a55634fa1d37b8880bedb55211834c10c4d3ea94cd7d4026462e2f01 +MISC metadata.xml 457 SHA256 5ac5428eb95596d96358080063766e4f616ce773b05feaf23318100512e0f86b SHA512 afd79ffbdf66611b20a07ba91a7fbe4d026de9f894a18d1013b09c33661552fe7d90c75d4ae39bf325528639ca7f4cd2e0e25b1474629c154c332f6e1e1a32ff WHIRLPOOL d319d5b4299cf3ff605c86d0f9504f49fd01e114a6113fc5c5301cdafa83728b815a3d864d5e41a783fb72fbd8db99ba413dda65a5ac7c6b2d44794ef38a25b4 diff --git a/x11-wm/echinus/echinus-0.4.9.ebuild b/x11-wm/echinus/echinus-0.4.9.ebuild new file mode 100644 index 000000000000..36cbcd703ef5 --- /dev/null +++ b/x11-wm/echinus/echinus-0.4.9.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils toolchain-funcs multilib + +DESCRIPTION="A window manager for X in the spirit of dwm" +HOMEPAGE="http://plhk.ru/echinus" +SRC_URI="http://plhk.ru/static/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="xrandr" + +RDEPEND="x11-libs/libX11 + x11-libs/libXft + xrandr? ( x11-libs/libXrandr )" +DEPEND="${RDEPEND} + virtual/pkgconfig" +DOCS=( README ) + +pkg_setup() { + tc-export CC + use xrandr && export MULTIHEAD=1 +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.diff + sed -i -e "s|CONFDIR|/usr/share/${PN}|g" echinus.1 README || die + sed -i -e "s|/usr/lib|/usr/$(get_libdir)|g" config.mk || die +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + dodoc README + insinto /usr/share/${PN} + doins {close,iconify,max}.xbm ${PN}rc + insinto /usr/share/xsessions + doins "${FILESDIR}"/${PN}.desktop +} + +pkg_postinst() { + if ! has_version x11-misc/dmenu; then + elog "Installing ${PN} without x11-misc/dmenu" + elog "To have a menu you can install x11-misc/dmenu" + elog "and use \"Echinus*spawn\" in echinusrc" + elog "to launch dmenu_run. Check echinus documentation for details." + elog "" + fi + elog "A standard config file with its pixmaps has been installed to:" + elog "${EPREFIX}/usr/share/${PN}/examples" + elog "Copy this folder to ~/.${PN}/ and modify the echinusrc as you wish." + elog "" + elog "For changing the modkey you can use \"Echinus*modkey: X\"" + elog "in echinusrc. Replace the X with A for ALT, W for Winkey (Super)," + elog "S for Shift or C for the Control key." +} diff --git a/x11-wm/echinus/files/echinus-0.4.9-gentoo.diff b/x11-wm/echinus/files/echinus-0.4.9-gentoo.diff new file mode 100644 index 000000000000..75b8b48c121a --- /dev/null +++ b/x11-wm/echinus/files/echinus-0.4.9-gentoo.diff @@ -0,0 +1,68 @@ +--- a/config.mk ++++ b/config.mk +@@ -4,10 +4,10 @@ + # Customize below to fit your system + + # paths +-PREFIX?= /usr/local ++PREFIX?= /usr + BINPREFIX?= ${PREFIX}/bin + MANPREFIX?= ${PREFIX}/share/man +-CONFPREFIX?= ${PREFIX}/share/examples ++CONFPREFIX?= ${PREFIX}/share/echinus + DOCPREFIX?= ${PREFIX}/share/doc + CONF?= ${CONFPREFIX} + +@@ -15,14 +15,13 @@ + X11LIB?= /usr/X11R6/lib + + # includes and libs +-INCS = -I. -I/usr/include -I${X11INC} `pkg-config --cflags xft` +-LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 `pkg-config --libs xft` +- +-DEFS = -DVERSION=\"${VERSION}\" -DSYSCONFPATH=\"${CONF}\" ++CFLAGS += -I. -I/usr/include `pkg-config --cflags x11 xft` ++LIBS += -L/usr/lib -lc `pkg-config --libs x11 xft` ++CPPFLAGS += -DVERSION=\"${VERSION}\" -DSYSCONFPATH=\"${CONF}\" + + # flags +-CFLAGS = -Os ${INCS} ${DEFS} +-LDFLAGS = -s ${LIBS} ++#CFLAGS = -Os ${INCS} ${DEFS} ++#LDFLAGS = -s ${LIBS} + # debug flags + #CFLAGS = -g3 -ggdb3 -std=c99 -pedantic -O0 ${INCS} -DDEBUG ${DEFS} + #LDFLAGS = -g3 -ggdb3 ${LIBS} +@@ -35,9 +34,11 @@ + #CFLAGS += -save-temps # Keep precompiler output (great for debugging). + + # XRandr (multihead support). Comment out to disable. +-CFLAGS += -DXRANDR=1 +-LIBS += -lXrandr +- ++ifdef MULTIHEAD ++CPPFLAGS += -DXRANDR=1 ++LIBS += `pkg-config --libs xrandr` ++CCFLAGS += `pkg-config --libs xrandr` ++endif + # Solaris + #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" + #LDFLAGS = ${LIBS} +--- a/Makefile ++++ b/Makefile +@@ -19,13 +19,13 @@ + + .c.o: + @echo CC $< +- @${CC} -c ${CFLAGS} $< ++ ${CC} ${CPPFLAGS} -c ${CFLAGS} $< + + ${OBJ}: config.mk ${HEADERS} + + echinus: ${OBJ} ${SRC} ${HEADERS} + @echo CC -o $@ +- @${CC} -o $@ ${OBJ} ${LDFLAGS} ++ ${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${OBJ} ${LIBS} + + clean: + @echo cleaning diff --git a/x11-wm/echinus/files/echinus.desktop b/x11-wm/echinus/files/echinus.desktop new file mode 100644 index 000000000000..7a13be918bf9 --- /dev/null +++ b/x11-wm/echinus/files/echinus.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=echinus +Comment=echinus wm +Exec=echinus +TryExec=echinus +Icon= +Type=Application diff --git a/x11-wm/echinus/metadata.xml b/x11-wm/echinus/metadata.xml new file mode 100644 index 000000000000..0dbfba6f09dd --- /dev/null +++ b/x11-wm/echinus/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>nico@lifeisabug.com</email> + <name>Nico R. Wohlgemuth</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <use> + <flag name="xrandr">Enable support for multihead configuration</flag> + </use> +</pkgmetadata> |