diff options
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/herbstluftwm/ChangeLog | 13 | ||||
-rw-r--r-- | x11-wm/herbstluftwm/Manifest | 23 | ||||
-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, 274 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..011083e4c21c --- /dev/null +++ b/x11-wm/herbstluftwm/Manifest @@ -0,0 +1,23 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA512 + +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 1333 RMD160 b91bafb20aa8cb716ad6fa7c09174506bc9121ed SHA1 35369b381f60a592dc4ea1f949eda19519e7c0dd SHA256 ed821ce24faaaf9e6c805b3c03ddb3523c587ad6a51a0defe1480ef9ed869166 +EBUILD herbstluftwm-9999.ebuild 1306 RMD160 b169b8079e9f5a4f5b94833d87c33d7f5cecd000 SHA1 ff7f38bf66d88af2ae443a700cfdbc1571f05817 SHA256 72bd47e82f54fc05b7e6115042784338a14ccddebdca184c5646018ba5e7a132 +MISC ChangeLog 598 RMD160 4bf611b62cfa4e4b7efc8cdc54612b3efac71d9e SHA1 1da8a39bcf524e9abbcb0324be4987cdfb52cd45 SHA256 eeafa32c1118261d59ed11558f8f1171fd8c050fe8ccbe2f6c0861703a3e1df5 +MISC metadata.xml 232 RMD160 9725fc18735b1d8d4079f25759ee0823a0c6795d SHA1 ec75efe30e67f74a4f315324afc75ed2a8d30bb4 SHA256 a778e40f66cb2fa35529e4f45cb8356c8b1b109163cd939396f02e8ea6aa5f1a +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCgAGBQJP08UlAAoJEEqz6FtPBkyj7aYH/jbtYVrEr4zz8nBIoNKkcY40 +95sL6WSQJJ9dMifruIQ4ZCNMSPiQvOjMMV2U+FY8hF4cDTNKYo+jucUhagt5WkL+ +pjmVD5rWd4ppEwZRkSVCHPsS/+VyFA11tPiB9bnYi+jDACwviHFKLWjzMZwG17j6 +hYgmk/4sQbvhx1wTiRn++jkktF/R9EHREcweK1nMTu65WzZKDSXTGuHMNiaDeD5s +v0m2wPzUyw7sFgUzCVEQlDlNAY7i9LYGRaFI2wc/RVo41YtR1JW2HPne1VR28pGN +zVzMwnqI9WIOL9TCftsmJLYoFxkSEQ5fSjy2/lmicYkH4utN8N2SKBrK4ywKSm0= +=DE4F +-----END PGP SIGNATURE----- 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> |