diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2011-08-01 06:17:07 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2011-08-01 06:17:07 +0000 |
commit | 372b46e63130f1036b515a24146ffcf26aab5998 (patch) | |
tree | 9898c9b99ce589cb7783ced9365622105ad09525 /x11-wm/i3 | |
parent | Initial import. Ebuild written by Kent Fredric <kentfredric@gmail.com> (commi... (diff) | |
download | historical-372b46e63130f1036b515a24146ffcf26aab5998.tar.gz historical-372b46e63130f1036b515a24146ffcf26aab5998.tar.bz2 historical-372b46e63130f1036b515a24146ffcf26aab5998.zip |
Version bump, drop old, fix perl dependencies
Package-Manager: portage-2.2.0_alpha49/cvs/Linux x86_64
Diffstat (limited to 'x11-wm/i3')
-rw-r--r-- | x11-wm/i3/ChangeLog | 8 | ||||
-rw-r--r-- | x11-wm/i3/Manifest | 20 | ||||
-rw-r--r-- | x11-wm/i3/files/i3-4.0-gentoo.diff | 165 | ||||
-rw-r--r-- | x11-wm/i3/files/i3-gentoo.diff | 175 | ||||
-rw-r--r-- | x11-wm/i3/i3-3e_p3.ebuild | 53 | ||||
-rw-r--r-- | x11-wm/i3/i3-4.0.ebuild | 61 |
6 files changed, 243 insertions, 239 deletions
diff --git a/x11-wm/i3/ChangeLog b/x11-wm/i3/ChangeLog index d3c911cb56b9..a5c8e221b30c 100644 --- a/x11-wm/i3/ChangeLog +++ b/x11-wm/i3/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-wm/i3 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/i3/ChangeLog,v 1.2 2011/07/13 08:52:04 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/i3/ChangeLog,v 1.3 2011/08/01 06:17:07 xarthisius Exp $ + +*i3-4.0 (01 Aug 2011) + + 01 Aug 2011; Kacper Kowalik <xarthisius@gentoo.org> -i3-3e_p3.ebuild, + +i3-4.0.ebuild, +files/i3-4.0-gentoo.diff, -files/i3-gentoo.diff: + Version bump, drop old, fix perl dependencies 13 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> i3-3e_p3.ebuild: Add missing dep on dev-util/pkgconfig diff --git a/x11-wm/i3/Manifest b/x11-wm/i3/Manifest index cb91ba7470d4..d8b78ddb243a 100644 --- a/x11-wm/i3/Manifest +++ b/x11-wm/i3/Manifest @@ -1,17 +1,17 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA256 -AUX i3-gentoo.diff 5219 RMD160 d592d6e12f1983be50a78d43a65c1380f5366413 SHA1 8899a886209d30c21ab5f81f82f9e6a5fe487371 SHA256 a21e3f877eab4c2068f0fa7447765aa642cdf8a7756e495ef947da5118787897 -DIST i3-3.e-bf3.tar.bz2 360704 RMD160 858d92020e251b3afd34bcb0008d7ccc25d04669 SHA1 7c35f49fa14a21b606bb102b41c5f0cead4e93a3 SHA256 e0a7b030ebbad0ebf2ac39f235dd5e0ad34ef0ff5b83e31501a361f92e85c68f -EBUILD i3-3e_p3.ebuild 1158 RMD160 42a955b546a088c8cc4e7026daf3d08bd724dc2b SHA1 2b924198a60b57f751e0e7373ceeb9a5f078bd46 SHA256 4a2cf81fab50ceb968234565b48f5f54ea6e7b67309e6b5a6c901e96414c89f4 -MISC ChangeLog 644 RMD160 b3de0b18bcb80d1b64e34679e3bc2c197e84a282 SHA1 16ad7bd0c9356c9ba956947da86352cebde27857 SHA256 3f04f24214c09d5f211517dfc92861794d3d06db78111b8ecdd645c9a9a23cbe +AUX i3-4.0-gentoo.diff 4206 RMD160 b709c79b63bf93dba1051cc3887fa07182b4fcb5 SHA1 a9984bf43920a51f4f3f38858f06ceb98b7e4639 SHA256 50ccea9d485a39f3e32a9fe7102f6720d7d2f561cfc05f101ac8082d76e9036c +DIST i3-4.0.tar.bz2 472133 RMD160 e6b0946158d3277de46e4d09437a6f9819b657e7 SHA1 2d67b31113fe2c9435bf37cc12e545d2ac303676 SHA256 84e7acd49ca375479fc2e1e172877b9896eeced52d2044b7d31b831f2d152e32 +EBUILD i3-4.0.ebuild 1440 RMD160 ad55fb62fa1efb3e4762d72606495b29a2044e44 SHA1 e3a1bce1ab8a1633e84e5f2c7f965157786b04f1 SHA256 955a77efa74d7aaa977e21c04e9c26eb6bb3c3c5a70822d806f68f346621a177 +MISC ChangeLog 856 RMD160 5b59274bdd57b8df17a9d92f20ff7fc56fa58a44 SHA1 cb55117ff5d726c57f8789b75247013c3c564ee0 SHA256 71f13d8566ca6918680a144ee684d5e739b2cd9722dd026de3c5474ccb22c670 MISC metadata.xml 262 RMD160 5fa004a3927201d509adf4583c80fcea57d845cb SHA1 7d07024bbe476df939b23a4552ec9a403ec8fff7 SHA256 9efce27cc1c3955b252cc5b7272629cd5b66260849fd9e5a5fae9e420a1829d9 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iJwEAQECAAYFAk4dXL0ACgkQIiMqcbOVdxRiTQP/TNyHllu4NLnzkXWpaVTY7BSX -D1i1QW5OB6cgN1FUmMvpWUMkuIFCByOdB+PLP/q0LRICxagIYilJ90TyedLwqLvu -QmU4JMh6/nr5vXH/3fXPDYi6d7bpUHksN5cKLtwVG6jBs3Qoj7kLDQpadkNm3YnQ -OSTpT1NmQBFfj6a4yn8= -=JaNz +iJwEAQEIAAYFAk42ROkACgkQIiMqcbOVdxQ/QwP/b2JzxIhhc3qyhqiVDBTTNVs6 +n4t0OCLp4XTNVl0Ny4nD8LlHECzyjjMnBvcoA2eadITp7O00pjGHAngHqeU90teV +dxd2xkF9qAGJHm031p520dkBxDCz7jaaE08sNYmbDcxMnHHNuqUy56HmLlW7viRT +dKDvZHk6yITZnASbqAw= +=ycUf -----END PGP SIGNATURE----- diff --git a/x11-wm/i3/files/i3-4.0-gentoo.diff b/x11-wm/i3/files/i3-4.0-gentoo.diff new file mode 100644 index 000000000000..be0cb2a9cc1a --- /dev/null +++ b/x11-wm/i3/files/i3-4.0-gentoo.diff @@ -0,0 +1,165 @@ +--- a/common.mk ++++ b/common.mk +@@ -1,5 +1,5 @@ + UNAME=$(shell uname) +-DEBUG=1 ++DEBUG=0 + COVERAGE=0 + INSTALL=install + ifndef PREFIX +@@ -12,7 +12,7 @@ + SYSCONFDIR=$(PREFIX)/etc + endif + endif +-TERM_EMU=xterm ++TERM_EMU=urxvt + # The escaping is absurd, but we need to escape for shell, sed, make, define + GIT_VERSION:="4.0 (2011-07-31, branch \\\"master\\\")" + VERSION:=4.0 +@@ -103,9 +103,6 @@ + # Extended debugging flags, macros shall be available in gcc + CFLAGS += -gdwarf-2 + CFLAGS += -g3 +-else +-CFLAGS += -O2 +-CFLAGS += -freorder-blocks-and-partition + endif + + ifeq ($(COVERAGE),1) +@@ -113,9 +110,6 @@ + LIBS += -lgcov + endif + +-# Don’t print command lines which are run +-.SILENT: +- + # Always remake the following targets + .PHONY: install clean dist distclean + +--- a/Makefile ++++ b/Makefile +@@ -22,24 +22,19 @@ + + # Depend on the specific file (.c for each .o) and on all headers + src/%.o: src/%.c ${HEADERS} +- echo "CC $<" + $(CC) $(CPPFLAGS) $(CFLAGS) -DLOGLEVEL="((uint64_t)1 << $(shell awk '/$(shell basename $< .c)/ { print NR; exit 0; }' loglevels.tmp))" -c -o $@ $< + + all: i3 subdirs + + i3: src/cfgparse.y.o src/cfgparse.yy.o src/cmdparse.y.o src/cmdparse.yy.o ${FILES} +- echo "LINK i3" + $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) + + subdirs: + for dir in $(SUBDIRS); do \ +- echo ""; \ +- echo "MAKE $$dir"; \ + $(MAKE) -C $$dir; \ + done + + loglevels.h: +- echo "LOGLEVELS" + for file in $$(ls src/*.c src/*.y src/*.l | grep -v 'cfgparse.\(tab\|yy\).c'); \ + do \ + echo $$(basename $$file .c); \ +@@ -51,29 +46,24 @@ + echo "};") > include/loglevels.h; + + src/cfgparse.yy.o: src/cfgparse.l src/cfgparse.y.o ${HEADERS} +- echo "LEX $<" + flex -i -o$(@:.o=.c) $< + $(CC) $(CPPFLAGS) $(CFLAGS) -DLOGLEVEL="(1 << $(shell awk '/cfgparse.l/ { print NR }' loglevels.tmp))" -c -o $@ $(@:.o=.c) + + src/cmdparse.yy.o: src/cmdparse.l src/cmdparse.y.o ${HEADERS} +- echo "LEX $<" + flex -Pcmdyy -i -o$(@:.o=.c) $< + $(CC) $(CPPFLAGS) $(CFLAGS) -DLOGLEVEL="(1 << $(shell awk '/cmdparse.l/ { print NR }' loglevels.tmp))" -c -o $@ $(@:.o=.c) + + + src/cfgparse.y.o: src/cfgparse.y ${HEADERS} +- echo "YACC $<" + bison --debug --verbose -b $(basename $< .y) -d $< + $(CC) $(CPPFLAGS) $(CFLAGS) -DLOGLEVEL="(1 << $(shell awk '/cfgparse.y/ { print NR }' loglevels.tmp))" -c -o $@ $(<:.y=.tab.c) + + src/cmdparse.y.o: src/cmdparse.y ${HEADERS} +- echo "YACC $<" + bison -p cmdyy --debug --verbose -b $(basename $< .y) -d $< + $(CC) $(CPPFLAGS) $(CFLAGS) -DLOGLEVEL="(1 << $(shell awk '/cmdparse.y/ { print NR }' loglevels.tmp))" -c -o $@ $(<:.y=.tab.c) + + + install: all +- echo "INSTALL" + $(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/bin + $(INSTALL) -d -m 0755 $(DESTDIR)$(SYSCONFDIR)/i3 + $(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/include/i3 +@@ -88,6 +78,7 @@ + for dir in $(SUBDIRS); do \ + $(MAKE) -C $$dir install; \ + done ++ $(MAKE) -C man + + dist: distclean + [ ! -d i3-${VERSION} ] || rm -rf i3-${VERSION} +--- a/man/Makefile ++++ b/man/Makefile +@@ -1,6 +1,8 @@ + A2M:=a2x -f manpage --asciidoc-opts="-f asciidoc.conf" + +-all: i3.1 i3-msg.1 i3-input.1 i3-nagbar.1 i3-wsbar.1 i3-config-wizard.1 i3-migrate-config-to-v4.1 ++mans=i3.1 i3-msg.1 i3-input.1 i3-nagbar.1 i3-wsbar.1 i3-config-wizard.1 i3-migrate-config-to-v4.1 ++ ++all: $(mans) + + %.1: %.man asciidoc.conf + ${A2M} $< +@@ -16,3 +18,9 @@ + + distclean: clean + rm -f *.1 ++ ++install: ++ $(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/share/man/man1 ++ for man in $(mans); do \ ++ $(INSTALL) -m 0644 $$man $(DESTDIR)$(PREFIX)/share/man/man1 ++ done +--- a/i3bar/common.mk ++++ b/i3bar/common.mk +@@ -13,23 +13,11 @@ + + CFLAGS += -Wall + CFLAGS += -pipe +-CFLAGS += -g + + CPPFLAGS += -DI3BAR_VERSION=\"${GIT_VERSION}\" +-CPPFLAGS += -Iinclude ++CFLAGS += -Iinclude -D_GNU_SOURCE ++CFLAGS += $(shell pkg-config --cflags xcb x11) + +-LDFLAGS += -lev +-LDFLAGS += -lyajl +-LDFLAGS += -lxcb +-LDFLAGS += -lX11 +-LDFLAGS += -L/usr/local/lib +- +-ifeq ($(DEBUG),1) +-CFLAGS += -g3 +-else +-CFLAGS += -O2 +-endif +- +-.SILENT: ++LIBS += -lev -lyajl $(shell pkg-config --libs xcb x11) + + .PHONY: install clean +--- a/i3bar/Makefile ++++ b/i3bar/Makefile +@@ -10,7 +10,7 @@ + + i3bar: ${FILES} + echo "LINK" +- $(CC) -o i3bar ${FILES} ${LDFLAGS} ++ $(CC) $(LDFLAGS) -o i3bar ${FILES} $(LIBS) + + doc: + echo "" diff --git a/x11-wm/i3/files/i3-gentoo.diff b/x11-wm/i3/files/i3-gentoo.diff deleted file mode 100644 index 003707e96190..000000000000 --- a/x11-wm/i3/files/i3-gentoo.diff +++ /dev/null @@ -1,175 +0,0 @@ ---- common.mk -+++ common.mk -@@ -1,5 +1,5 @@ - UNAME=$(shell uname) --DEBUG=1 -+DEBUG=0 - INSTALL=install - PREFIX=/usr - ifeq ($(PREFIX),/usr) -@@ -17,8 +17,7 @@ - # We don’t want unused-parameter because of the use of many callbacks - CFLAGS += -Wunused-value - CFLAGS += -Iinclude --CFLAGS += -I/usr/local/include --CFLAGS += -DI3_VERSION=\"${GIT_VERSION}\" -+CPPFLAGS += -DI3_VERSION=\"${GIT_VERSION}\" - - # Check if pkg-config is installed, because without pkg-config, the following - # check for the version of libxcb cannot be done. -@@ -33,27 +32,17 @@ - ifeq ($(shell pkg-config --exact-version=0.3.3 xcb-keysyms && echo 1),1) - # xcb-keysyms fixed API from 0.3.3 to 0.3.4, so for some months, we will - # have this here. Distributions should upgrade their libxcb in the meantime. --CFLAGS += -DOLD_XCB_KEYSYMS_API -+CPPFLAGS += -DOLD_XCB_KEYSYMS_API - endif - --LDFLAGS += -lm --LDFLAGS += -lxcb-keysyms - ifeq ($(shell pkg-config --exists xcb-util || echo 1),1) --CFLAGS += -DXCB_COMPAT --LDFLAGS += -lxcb-atom --LDFLAGS += -lxcb-aux --LDFLAGS += -lxcb-event -+CPPFLAGS += -DXCB_COMPAT -+LIBS += -lxcb-atom -lxcb-aux -lxcb-event - else --LDFLAGS += -lxcb-util -+LIBS += $(shell pkg-config --libs xcb-util) - endif --LDFLAGS += -lxcb-icccm --LDFLAGS += -lxcb-xinerama --LDFLAGS += -lxcb-randr --LDFLAGS += -lxcb --LDFLAGS += -lyajl --LDFLAGS += -lX11 --LDFLAGS += -lev --LDFLAGS += -L/usr/local/lib -L/usr/pkg/lib -+LIBS += $(shell pkg-config --libs xcb-keysyms xcb-icccm xcb-xinerama xcb-randr xcb x11) -+LIBS += -lyajl -lev -lm - - ifeq ($(UNAME),NetBSD) - # We need -idirafter instead of -I to prefer the system’s iconv over GNU libiconv -@@ -63,12 +52,12 @@ - - ifeq ($(UNAME),OpenBSD) - CFLAGS += -I${X11BASE}/include --LDFLAGS += -liconv -+LIBS += -liconv - LDFLAGS += -L${X11BASE}/lib - endif - - ifeq ($(UNAME),FreeBSD) --LDFLAGS += -liconv -+LIBS += -liconv - endif - - # Fallback for libyajl 1 which did not include yajl_version.h. We need -@@ -76,20 +65,15 @@ - CFLAGS += -idirafter yajl-fallback - - ifneq (,$(filter Linux GNU GNU/%, $(UNAME))) --CFLAGS += -D_GNU_SOURCE -+CPPFLAGS += -D_GNU_SOURCE - endif - - ifeq ($(DEBUG),1) - # Extended debugging flags, macros shall be available in gcc - CFLAGS += -gdwarf-2 - CFLAGS += -g3 --else --CFLAGS += -O2 - endif - --# Don’t print command lines which are run --.SILENT: -- - # Always remake the following targets - .PHONY: install clean dist distclean - ---- Makefile -+++ Makefile -@@ -20,20 +20,14 @@ - - # Depend on the specific file (.c for each .o) and on all headers - src/%.o: src/%.c ${HEADERS} -- echo "CC $<" -- $(CC) $(CFLAGS) -DLOGLEVEL="(1 << $(shell awk '/$(shell basename $< .c)/ { print NR }' loglevels.tmp))" -c -o $@ $< -+ $(CC) $(CPPFLAGS) $(CFLAGS) -DLOGLEVEL="(1 << $(shell awk '/$(shell basename $< .c)/ { print NR }' loglevels.tmp))" -c -o $@ $< - - all: src/cfgparse.y.o src/cfgparse.yy.o ${FILES} -- echo "LINK i3" -- $(CC) -o i3 ${FILES} src/cfgparse.y.o src/cfgparse.yy.o $(LDFLAGS) -- echo "" -- echo "SUBDIR i3-msg" -+ $(CC) $(LDFLAGS) -o i3 ${FILES} src/cfgparse.y.o src/cfgparse.yy.o $(LIBS) - $(MAKE) TOPDIR=$(TOPDIR) -C i3-msg -- echo "SUBDIR i3-input" - $(MAKE) TOPDIR=$(TOPDIR) -C i3-input - - loglevels.h: -- echo "LOGLEVELS" - for file in $$(ls src/*.c src/*.y src/*.l | grep -v 'cfgparse.\(tab\|yy\).c'); \ - do \ - echo $$(basename $$file .c); \ -@@ -45,17 +39,14 @@ - echo "};") > include/loglevels.h; - - src/cfgparse.yy.o: src/cfgparse.l src/cfgparse.y.o ${HEADERS} -- echo "LEX $<" - flex -i -o$(@:.o=.c) $< -- $(CC) $(CFLAGS) -DLOGLEVEL="(1 << $(shell awk '/cfgparse.l/ { print NR }' loglevels.tmp))" -c -o $@ $(@:.o=.c) -+ $(CC) $(CPPFLAGS) $(CFLAGS) -DLOGLEVEL="(1 << $(shell awk '/cfgparse.l/ { print NR }' loglevels.tmp))" -c -o $@ $(@:.o=.c) - - src/cfgparse.y.o: src/cfgparse.y ${HEADERS} -- echo "YACC $<" - bison --debug --verbose -b $(basename $< .y) -d $< -- $(CC) $(CFLAGS) -DLOGLEVEL="(1 << $(shell awk '/cfgparse.y/ { print NR }' loglevels.tmp))" -c -o $@ $(<:.y=.tab.c) -+ $(CC) $(CPPFLAGS) $(CFLAGS) -DLOGLEVEL="(1 << $(shell awk '/cfgparse.y/ { print NR }' loglevels.tmp))" -c -o $@ $(<:.y=.tab.c) - - install: all -- echo "INSTALL" - $(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/bin - $(INSTALL) -d -m 0755 $(DESTDIR)$(SYSCONFDIR)/i3 - $(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/include/i3 ---- i3-msg/Makefile -+++ i3-msg/Makefile -@@ -11,15 +11,12 @@ - - # Depend on the specific file (.c for each .o) and on all headers - %.o: %.c ${HEADERS} -- echo "CC $<" -- $(CC) $(CFLAGS) -c -o $@ $< -+ $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $< - - all: ${FILES} -- echo "LINK i3-msg" -- $(CC) -o i3-msg ${FILES} $(LDFLAGS) -+ $(CC) $(LDFLAGS) -o i3-msg ${FILES} $(LIBS) - - install: all -- echo "INSTALL" - $(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/bin - $(INSTALL) -m 0755 i3-msg $(DESTDIR)$(PREFIX)/bin/ - ---- i3-input/Makefile -+++ i3-input/Makefile -@@ -9,15 +9,12 @@ - - # Depend on the specific file (.c for each .o) and on all headers - %.o: %.c ${HEADERS} -- echo "CC $<" -- $(CC) $(CFLAGS) -c -o $@ $< -+ $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $< - - all: ${FILES} -- echo "LINK i3-input" -- $(CC) -o i3-input ${FILES} $(LDFLAGS) -+ $(CC) $(LDFLAGS) -o i3-input ${FILES} $(LIBS) - - install: all -- echo "INSTALL" - $(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/bin - $(INSTALL) -m 0755 i3-input $(DESTDIR)$(PREFIX)/bin/ - diff --git a/x11-wm/i3/i3-3e_p3.ebuild b/x11-wm/i3/i3-3e_p3.ebuild deleted file mode 100644 index 94a637d6decc..000000000000 --- a/x11-wm/i3/i3-3e_p3.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/i3/i3-3e_p3.ebuild,v 1.2 2011/07/13 08:52:04 xarthisius Exp $ - -EAPI=4 - -inherit base versionator toolchain-funcs - -MY_PV=$(version_format_string '$1.$2-${3/p/bf}') -MY_P=${PN}-${MY_PV} - -DESCRIPTION="An improved dynamic tiling window manager" -HOMEPAGE="http://i3wm.org/" -SRC_URI="http://i3wm.org/downloads/${MY_P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -CDEPEND="dev-libs/libev - dev-libs/yajl - x11-libs/libxcb - x11-libs/libX11 - x11-libs/xcb-util" -DEPEND="${CDEPEND} - dev-util/pkgconfig - sys-devel/flex - sys-devel/bison - x11-proto/xcb-proto" -RDEPEND="${CDEPEND} - x11-apps/xmessage" - -S=${WORKDIR}/${MY_P} - -DOCS=( GOALS TODO RELEASE-NOTES-${MY_PV} ) -PATCHES=( "${FILESDIR}"/${PN}-gentoo.diff ) - -pkg_setup() { - tc-export CC -} - -src_install() { - base_src_install - doman man/*.1 - dohtml -r docs/* -} - -pkg_postinst() { - elog "${PN} by default uses x11-terms/rxvt-unicode as a default terminal." - elog "Either merge it yourself or change proper bind in /etc/${PN}/config" - elog "or ~/.i3/config" -} diff --git a/x11-wm/i3/i3-4.0.ebuild b/x11-wm/i3/i3-4.0.ebuild new file mode 100644 index 000000000000..c9817f4c4628 --- /dev/null +++ b/x11-wm/i3/i3-4.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/i3/i3-4.0.ebuild,v 1.1 2011/08/01 06:17:07 xarthisius Exp $ + +EAPI=4 + +inherit base versionator toolchain-funcs + +DESCRIPTION="An improved dynamic tiling window manager" +HOMEPAGE="http://i3wm.org/" +SRC_URI="http://i3wm.org/downloads/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +CDEPEND="dev-libs/libev + dev-libs/yajl + x11-libs/libxcb + x11-libs/libX11 + x11-libs/xcb-util" +DEPEND="${CDEPEND} + dev-util/pkgconfig + sys-devel/flex + sys-devel/bison + x11-proto/xcb-proto" +RDEPEND="${CDEPEND} + dev-perl/AnyEvent-I3 + dev-perl/IPC-Run + dev-perl/Try-Tiny + virtual/perl-Getopt-Long + x11-apps/xmessage" + +DOCS=( GOALS TODO RELEASE-NOTES-${PV} ) +PATCHES=( "${FILESDIR}"/${P}-gentoo.diff ) + +pkg_setup() { + tc-export CC + ewarn "${PN} uses x11-terms/rxvt-unicode as a default terminal." + ewarn "If you wish to use another one merge ${PN} with:" + ewarn " TERM_EMU=<YOUR_TERM> emerge ${PN}" + ewarn "e.g. TERM_EMU=xterm" +} + +src_prepare() { + base_src_prepare + sed -i -e "/echo \"/d" \ + i3{bar,-config-wizard,-input,-msg,-nagbar}/Makefile || die +} + +src_install() { + base_src_install + dohtml -r docs/* +} + +pkg_postinst() { + elog "${PN} uses x11-terms/rxvt-unicode as a default terminal." + elog "Either merge it yourself or change proper bind in" + elog "/etc/${PN}/config or ~/.${PN}/config" +} |