diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-06-09 21:50:16 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-06-09 21:50:16 +0000 |
commit | 4c185949781684660d6a3f466d2f0416ea515136 (patch) | |
tree | caaa5550cb4b5c7ccad1a5c450a5378542a4522c /x11-wm/herbstluftwm | |
parent | Manifest, connection died. (diff) | |
download | gentoo-2-4c185949781684660d6a3f466d2f0416ea515136.tar.gz gentoo-2-4c185949781684660d6a3f466d2f0416ea515136.tar.bz2 gentoo-2-4c185949781684660d6a3f466d2f0416ea515136.zip |
Initial import. Ebuilds by me.
(Portage version: 2.2.0_alpha109/cvs/Linux x86_64)
Diffstat (limited to 'x11-wm/herbstluftwm')
-rw-r--r-- | x11-wm/herbstluftwm/ChangeLog | 13 | ||||
-rw-r--r-- | x11-wm/herbstluftwm/Manifest | 9 | ||||
-rw-r--r-- | x11-wm/herbstluftwm/files/herbstluftwm-0.3-flags.patch | 21 | ||||
-rw-r--r-- | x11-wm/herbstluftwm/files/herbstluftwm-0.3-install.patch | 38 | ||||
-rw-r--r-- | x11-wm/herbstluftwm/files/herbstluftwm-0.3-verbose-build.patch | 25 | ||||
-rw-r--r-- | x11-wm/herbstluftwm/files/herbstluftwm-9999-install.patch | 37 | ||||
-rw-r--r-- | x11-wm/herbstluftwm/herbstluftwm-0.3.ebuild | 54 | ||||
-rw-r--r-- | x11-wm/herbstluftwm/herbstluftwm-9999.ebuild | 55 | ||||
-rw-r--r-- | x11-wm/herbstluftwm/metadata.xml | 8 |
9 files changed, 260 insertions, 0 deletions
diff --git a/x11-wm/herbstluftwm/ChangeLog b/x11-wm/herbstluftwm/ChangeLog new file mode 100644 index 000000000000..14b4db30d420 --- /dev/null +++ b/x11-wm/herbstluftwm/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for x11-wm/herbstluftwm +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/herbstluftwm/ChangeLog,v 1.1 2012/06/09 21:50:16 radhermit Exp $ + +*herbstluftwm-9999 (09 Jun 2012) +*herbstluftwm-0.3 (09 Jun 2012) + + 09 Jun 2012; Tim Harder <radhermit@gentoo.org> +herbstluftwm-0.3.ebuild, + +files/herbstluftwm-0.3-flags.patch, +files/herbstluftwm-0.3-install.patch, + +files/herbstluftwm-0.3-verbose-build.patch, +herbstluftwm-9999.ebuild, + +files/herbstluftwm-9999-install.patch, +metadata.xml: + Initial import. Ebuilds by me. + diff --git a/x11-wm/herbstluftwm/Manifest b/x11-wm/herbstluftwm/Manifest new file mode 100644 index 000000000000..ea4f41e1baf7 --- /dev/null +++ b/x11-wm/herbstluftwm/Manifest @@ -0,0 +1,9 @@ +AUX herbstluftwm-0.3-flags.patch 544 RMD160 28f5c5bb63b3ffaba5f0d5bfdba76b5fb017776e SHA1 7c0e12c765394ca78c5c10fb0fb5a1f845cee949 SHA256 607edf0343dc235dba06f2347f19c09a7194bbbbf8b538c89010b4cd8f4d8bcc +AUX herbstluftwm-0.3-install.patch 1355 RMD160 26aeca44f3b5df8d8528b7a1b2499734085c0f32 SHA1 d851dea18cdaa8ff8ddded9154f9e84c7d72643b SHA256 79f5c4ab2f72d81578552c60f1fc6b384a23cd902238eab42c05cc4ebf2c79a3 +AUX herbstluftwm-0.3-verbose-build.patch 528 RMD160 b6451c29241ab6474758052eac04b7df4deaae68 SHA1 a1eb099404225770778c75131d9d3ae20d96f2c0 SHA256 d44d9d0287d688a2aa16970e0d5c591fd237260d7d1d545a712bc4406fb8a863 +AUX herbstluftwm-9999-install.patch 1649 RMD160 23cf23b6c012bfb86b61ea9df614d027712cd769 SHA1 087dda81cd93ed1e1e25de71512c4b597c0e2e55 SHA256 31656b3f1c16a6800eb91ff64670a208d246a2927780986ec210d9d7e8c8d3e3 +DIST herbstluftwm-0.3.tar.gz 113818 RMD160 056efcf0e2091b479f8b2a04eb3d7d1b72645cda SHA1 690d530a7b8dd85bf7c9344f0b6a0b4c4e9ec1ae SHA256 219ceb2066515a2cfb68430e86306071c25135771efb33168849334761caa8b0 +EBUILD herbstluftwm-0.3.ebuild 1225 RMD160 6934536973a059a8cc86442ad3a3559a5374d6a5 SHA1 87e290bcf0c32629d3d91b300d0c543cd4147aaa SHA256 6127b7a7b00cd833bf90234270c6ace73a8eadc843774a9ce75b384f408f757b +EBUILD herbstluftwm-9999.ebuild 1197 RMD160 eb31788748ba76f4d9a777c8ade445d73784a286 SHA1 e975af36570c954e41312b38de60506a9ffd0624 SHA256 bed03f7578cdc0b121800ef288a21b14619831d02b72c0a236a06ff5f20b0276 +MISC ChangeLog 504 RMD160 c9222d3960fded7c549ea9e8e457841dfe28717c SHA1 2ce7abad49ff17a0b411c12b6af0a2a13d397aaa SHA256 687b96d1a74e559e433fc755339b14fd5b605695ef0622e6eaca6d7411c40aa9 +MISC metadata.xml 232 RMD160 9725fc18735b1d8d4079f25759ee0823a0c6795d SHA1 ec75efe30e67f74a4f315324afc75ed2a8d30bb4 SHA256 a778e40f66cb2fa35529e4f45cb8356c8b1b109163cd939396f02e8ea6aa5f1a diff --git a/x11-wm/herbstluftwm/files/herbstluftwm-0.3-flags.patch b/x11-wm/herbstluftwm/files/herbstluftwm-0.3-flags.patch new file mode 100644 index 000000000000..a9ced6a742c5 --- /dev/null +++ b/x11-wm/herbstluftwm/files/herbstluftwm-0.3-flags.patch @@ -0,0 +1,21 @@ +--- herbstluftwm-0.3/config.mk ++++ herbstluftwm-0.3/config.mk +@@ -11,15 +11,14 @@ + endif + + # FLAGS +-LD = gcc +-CC = gcc +-CFLAGS = -g -std=c99 -pedantic -Wall ${INCS} -D _XOPEN_SOURCE=600 ++LD ?= gcc ++CC ?= gcc ++CFLAGS += -std=c99 -pedantic -Wall ${INCS} -D _XOPEN_SOURCE=600 + VERSIONFLAGS = \ + -D HERBSTLUFT_VERSION=$(VERSION) \ + -D HERBSTLUFT_VERSION_MAJOR=$(VERSION_MAJOR) \ + -D HERBSTLUFT_VERSION_MINOR=$(VERSION_MINOR) + CFLAGS += $(VERSIONFLAGS) +-LDFLAGS = -g + INSTALLDIR = / + PREFIX = $(INSTALLDIR)/usr/ + BINDIR = $(PREFIX)/bin diff --git a/x11-wm/herbstluftwm/files/herbstluftwm-0.3-install.patch b/x11-wm/herbstluftwm/files/herbstluftwm-0.3-install.patch new file mode 100644 index 000000000000..35e7d519f9c5 --- /dev/null +++ b/x11-wm/herbstluftwm/files/herbstluftwm-0.3-install.patch @@ -0,0 +1,38 @@ +--- herbstluftwm-0.3/Makefile ++++ herbstluftwm-0.3/Makefile +@@ -57,35 +57,19 @@ + install: all + @echo "==> creating dirs..." + $(MKDIR) $(PREFIX) +- $(MKDIR) $(LICENSEDIR) + $(MKDIR) $(BINDIR) + $(MKDIR) $(MANDIR) +- $(MKDIR) $(DOCDIR) +- $(MKDIR) $(EXAMPLESDIR) +- $(MKDIR) $(ETCDIR) +- $(MKDIR) $(ETCDIR)/bash_completion.d/ + $(MKDIR) $(CONFIGDIR) +- $(MKDIR) $(ZSHCOMPLETIONDIR) + $(MKDIR) $(XSESSIONSDIR) + @echo "==> copying files..." + $(INSTALL) $(TARGET) $(BINDIR) + $(INSTALL) ipc-client/herbstclient $(BINDIR)/ +- $(INSTALL) -m 644 LICENSE $(LICENSEDIR) + $(INSTALL) -m 644 doc/herbstclient.1 $(MANDIR)/ + $(INSTALL) -m 644 doc/herbstluftwm.1 $(MANDIR)/ +- $(INSTALL) -m 644 doc/herbstclient.html $(DOCDIR)/ +- $(INSTALL) -m 644 doc/herbstluftwm.html $(DOCDIR)/ +- $(INSTALL) -m 644 BUGS $(DOCDIR)/ +- $(INSTALL) -m 644 NEWS $(DOCDIR)/ +- $(INSTALL) -m 644 README $(DOCDIR)/ + $(INSTALL) -m 755 share/autostart $(CONFIGDIR)/ + $(INSTALL) -m 755 share/panel.sh $(CONFIGDIR)/ + $(INSTALL) -m 755 share/restartpanels.sh $(CONFIGDIR)/ +- $(INSTALL) -m 644 share/herbstclient-completion $(ETCDIR)/bash_completion.d/ +- $(INSTALL) -m 644 share/_herbstclient $(ZSHCOMPLETIONDIR)/ + $(INSTALL) -m 644 share/herbstluftwm.desktop $(XSESSIONSDIR)/ +- $(INSTALL) -m 644 scripts/README $(EXAMPLESDIR)/ +- $(INSTALL) -m 755 scripts/*.sh $(EXAMPLESDIR)/ + + www: + make -C www diff --git a/x11-wm/herbstluftwm/files/herbstluftwm-0.3-verbose-build.patch b/x11-wm/herbstluftwm/files/herbstluftwm-0.3-verbose-build.patch new file mode 100644 index 000000000000..91a442b75377 --- /dev/null +++ b/x11-wm/herbstluftwm/files/herbstluftwm-0.3-verbose-build.patch @@ -0,0 +1,25 @@ +--- herbstluftwm-0.3/rules.mk ++++ herbstluftwm-0.3/rules.mk +@@ -4,18 +4,14 @@ + rb: clean all + + $(TARGET): $(OBJ) +- $(call colorecho,LD,$(TARGET)) +- @$(LD) -o $@ $(LDFLAGS) $(OBJ) $(LIBS) ++ $(LD) -o $@ $(LDFLAGS) $(OBJ) $(LIBS) + + $(SRCDIR)/%.o: $(SRCDIR)/%.c $(HEADER) +- $(call colorecho,CC,$<) +- @$(CC) -c $(CFLAGS) -o $@ $< ++ $(CC) -c $(CFLAGS) -o $@ $< + + clean: +- $(call colorecho,RM,$(TARGET)) +- @rm -f $(TARGET) +- $(call colorecho,RM,$(OBJ)) +- @rm -f $(OBJ) ++ rm -f $(TARGET) ++ rm -f $(OBJ) + + info: + @echo Some Info: diff --git a/x11-wm/herbstluftwm/files/herbstluftwm-9999-install.patch b/x11-wm/herbstluftwm/files/herbstluftwm-9999-install.patch new file mode 100644 index 000000000000..190bec275b9a --- /dev/null +++ b/x11-wm/herbstluftwm/files/herbstluftwm-9999-install.patch @@ -0,0 +1,37 @@ +--- herbstluftwm/Makefile ++++ herbstluftwm/Makefile +@@ -56,34 +56,19 @@ + + install: all + @echo "==> creating dirs..." +- $(MKDIR) '$(DESTDIR)/$(LICENSEDIR)' + $(MKDIR) '$(DESTDIR)/$(BINDIR)' + $(MKDIR) '$(DESTDIR)/$(MANDIR)/man1' +- $(MKDIR) '$(DESTDIR)/$(DOCDIR)' +- $(MKDIR) '$(DESTDIR)/$(EXAMPLESDIR)' +- $(MKDIR) '$(DESTDIR)/$(BASHCOMPLETIONDIR)' + $(MKDIR) '$(DESTDIR)/$(CONFIGDIR)' +- $(MKDIR) '$(DESTDIR)/$(ZSHCOMPLETIONDIR)' + $(MKDIR) '$(DESTDIR)/$(XSESSIONSDIR)' + @echo "==> copying files..." + $(INSTALL) $(TARGET) '$(DESTDIR)/$(BINDIR)' + $(INSTALL) ipc-client/herbstclient '$(DESTDIR)/$(BINDIR)/' +- $(INSTALL) -m 644 LICENSE '$(DESTDIR)/$(LICENSEDIR)' + $(INSTALL) -m 644 doc/herbstclient.1 '$(DESTDIR)/$(MAN1DIR)/' + $(INSTALL) -m 644 doc/herbstluftwm.1 '$(DESTDIR)/$(MAN1DIR)/' +- $(INSTALL) -m 644 doc/herbstclient.html '$(DESTDIR)/$(DOCDIR)/' +- $(INSTALL) -m 644 doc/herbstluftwm.html '$(DESTDIR)/$(DOCDIR)/' +- $(INSTALL) -m 644 BUGS '$(DESTDIR)/$(DOCDIR)/' +- $(INSTALL) -m 644 NEWS '$(DESTDIR)/$(DOCDIR)/' +- $(INSTALL) -m 644 README '$(DESTDIR)/$(DOCDIR)/' + $(INSTALL) -m 755 share/autostart '$(DESTDIR)/$(CONFIGDIR)/' + $(INSTALL) -m 755 share/panel.sh '$(DESTDIR)/$(CONFIGDIR)/' + $(INSTALL) -m 755 share/restartpanels.sh '$(DESTDIR)/$(CONFIGDIR)/' +- $(INSTALL) -m 644 share/herbstclient-completion '$(DESTDIR)/$(BASHCOMPLETIONDIR)' +- $(INSTALL) -m 644 share/_herbstclient '$(DESTDIR)/$(ZSHCOMPLETIONDIR)/' + $(INSTALL) -m 644 share/herbstluftwm.desktop '$(DESTDIR)/$(XSESSIONSDIR)/' +- $(INSTALL) -m 644 scripts/README '$(DESTDIR)/$(EXAMPLESDIR)/' +- $(INSTALL) -m 755 scripts/*.sh '$(DESTDIR)/$(EXAMPLESDIR)/' + + www: + make -C www diff --git a/x11-wm/herbstluftwm/herbstluftwm-0.3.ebuild b/x11-wm/herbstluftwm/herbstluftwm-0.3.ebuild new file mode 100644 index 000000000000..396c335c990c --- /dev/null +++ b/x11-wm/herbstluftwm/herbstluftwm-0.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/herbstluftwm/herbstluftwm-0.3.ebuild,v 1.1 2012/06/09 21:50:16 radhermit Exp $ + +EAPI=4 + +inherit eutils toolchain-funcs bash-completion-r1 + +DESCRIPTION="A manual tiling window manager for X" +HOMEPAGE="http://wwwcip.cs.fau.de/~re06huxa/herbstluftwm/" +SRC_URI="http://wwwcip.cs.fau.de/~re06huxa/${PN}/tarballs/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples zsh-completion" + +CDEPEND=">=dev-libs/glib-2.24:2 + x11-libs/libX11" +RDEPEND="${CDEPEND} + app-shells/bash + zsh-completion? ( app-shells/zsh )" +DEPEND="${CDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${P}-flags.patch + epatch "${FILESDIR}"/${P}-install.patch + epatch "${FILESDIR}"/${P}-verbose-build.patch +} + +src_compile() { + emake CC="$(tc-getCC)" LD="$(tc-getCC)" +} + +src_install() { + emake INSTALLDIR="${D}" install + dodoc BUGS NEWS README + + newbashcomp share/herbstclient-completion herbstclient + + if use zsh-completion ; then + insinto /usr/share/zsh/site-functions + doins share/_herbstclient + fi + + if use examples ; then + exeinto /usr/share/doc/${PF}/examples + doexe scripts/*.sh + docinto examples + dodoc scripts/README + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild b/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild new file mode 100644 index 000000000000..f2be793505d8 --- /dev/null +++ b/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild,v 1.1 2012/06/09 21:50:16 radhermit Exp $ + +EAPI=4 + +inherit eutils toolchain-funcs bash-completion-r1 git-2 + +EGIT_REPO_URI="git://git.informatik.uni-erlangen.de/re06huxa/herbstluftwm" + +DESCRIPTION="A manual tiling window manager for X" +HOMEPAGE="http://wwwcip.cs.fau.de/~re06huxa/herbstluftwm/" +SRC_URI="" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="" +IUSE="examples zsh-completion" + +CDEPEND=">=dev-libs/glib-2.24:2 + x11-libs/libX11" +RDEPEND="${CDEPEND} + app-shells/bash + zsh-completion? ( app-shells/zsh )" +DEPEND="${CDEPEND} + app-text/asciidoc + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${P}-install.patch +} + +src_compile() { + emake CC="$(tc-getCC)" LD="$(tc-getCC)" COLOR=0 VERBOSE="" +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + dodoc BUGS NEWS README + + newbashcomp share/herbstclient-completion herbstclient + + if use zsh-completion ; then + insinto /usr/share/zsh/site-functions + doins share/_herbstclient + fi + + if use examples ; then + exeinto /usr/share/doc/${PF}/examples + doexe scripts/*.sh + docinto examples + dodoc scripts/README + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/x11-wm/herbstluftwm/metadata.xml b/x11-wm/herbstluftwm/metadata.xml new file mode 100644 index 000000000000..157326a7e891 --- /dev/null +++ b/x11-wm/herbstluftwm/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>radhermit@gentoo.org</email> + <name>Tim Harder</name> + </maintainer> +</pkgmetadata> |