diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-wm/windowlab |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-wm/windowlab')
-rw-r--r-- | x11-wm/windowlab/Manifest | 9 | ||||
-rw-r--r-- | x11-wm/windowlab/files/windowlab-1.34-fixed-font.patch | 11 | ||||
-rw-r--r-- | x11-wm/windowlab/files/windowlab-1.40-gentoo.diff | 53 | ||||
-rw-r--r-- | x11-wm/windowlab/metadata.xml | 17 | ||||
-rw-r--r-- | x11-wm/windowlab/windowlab-1.34.ebuild | 54 | ||||
-rw-r--r-- | x11-wm/windowlab/windowlab-1.40-r1.ebuild | 50 |
6 files changed, 194 insertions, 0 deletions
diff --git a/x11-wm/windowlab/Manifest b/x11-wm/windowlab/Manifest new file mode 100644 index 000000000000..7ec35287d425 --- /dev/null +++ b/x11-wm/windowlab/Manifest @@ -0,0 +1,9 @@ +AUX windowlab-1.34-fixed-font.patch 385 SHA256 5ab86f594ac6013c5510c1a08fe834248e56abd66647a07d6c938c2ddd60c8b9 SHA512 c0e860c92dce68a921880fbe042163a50ad2f1e31572acb2a93bc557405ba7323a8a5e0e5608365be0585dac1bf648958c74aa9e017b9da6c0a15ac4caaae6e4 WHIRLPOOL 6d95ec4590a9e788fe688c8192b52222cea4c1f06d571c1d782ab574516f1ca4af10676032d76ece9d8db329e056f1c81ee5efac452dd501021a1a10c1b9f102 +AUX windowlab-1.40-gentoo.diff 1621 SHA256 fcd7019d24334bfb5304e30874e4d8f17a5c63d4e8eea986606312fdf4899b6e SHA512 d0d06e2396f1a2f26d7c76b5ed513df2fa4d7496a898664b1fec51b33d6e3f63dd131207cd68243f9c8895d7bfa00e399b3a38ac81101e8321532f454f193ccd WHIRLPOOL e28d3f4d30529af935385606e5d454a6145fd8f1c8e821432da26f08d9c779e21ce278f3c5c8e14f118ed76ec8360335625810c5b0764583eae91f11fefde6c1 +DIST windowlab-1.34.tar 163840 SHA256 a646abd1a7b1c548621ba8fcadc32311555e89f2a45b78a0f105421d618e4d35 SHA512 1d24065fdc2e66d9906d7a1c383d547f677db3c1343176501251637588c7683c08c2803473a505097cafda38486efbdc055bf9597c9ce00456c5ae0d1781e930 WHIRLPOOL 1b540d86ec831ccaf1aaa7a62688f28535da420cc692938f76b2c5870ffcda566ad09192bcbc46ba2c8abdecf2d18f5d0cec791ee66391699c2cdb379e43a98a +DIST windowlab-1.40.tar 174080 SHA256 1c9cca5d997cfdcec093e98b7f1996da2d806fbbe4472bdcca568863f3e75d93 SHA512 abea16f4f85f846d426fecce548cef2bf867fc6545a720ec2d3a8d93eb5a4abd6942e44534bb7faef6cffe0551181764effa99d835b8f067a1510f7d50af6d3d WHIRLPOOL 8e4a033574f3da7415f4ba0477ef0b3faae0d24523927de669ae932cf6d4a3e99090a00b73ccdffd3fb4dce5bce20bc3019cba2a05e7c7956f618a3fa82b8889 +EBUILD windowlab-1.34.ebuild 1231 SHA256 9a6f6299db955c3f8086b03e6ff9220f63f8c1c3251f984582b9081e0534b111 SHA512 d03b1f8dbe6c0548566348395b31048c48168cbd10dd9c78be1d881fd62815c09011049072451484f7c700740044ac1a681594736a19c12354c0c80d6e5c5acd WHIRLPOOL 1ba53c4b914f96783035e94af9b56a10c99daf837c4d23c7e6de714d299e5b7512110bbf3e959747badf5ffd64a7e1a8be975be0fef692ddfd08cde09a427ce5 +EBUILD windowlab-1.40-r1.ebuild 1094 SHA256 3fc0d94fcccd58dbe1ef79896c226df42b7d77a38cda02b37aa50d93f0b84c26 SHA512 4fcf4cd58cb21ecab8a049b8adf09f7c8339ffd07cebb11c8f84b616bf66cfd99e72ef5bba5c0993fe3d7829ceb38b32261b6fdb0b0a007f918d544caa237e9b WHIRLPOOL 292e1a470e115abfb3016ad06395a0e6ae2852cf9029431cbcec65a8e27ade4c97b2548705b56d6ad8119f16ba89682e6cbb443dc0d0b1f6edb6054ccb5521e6 +MISC ChangeLog 2655 SHA256 8c167dd951c1feb34ad7690d7695a51a88fa106589ab534629f187959f54e7aa SHA512 0a5aabca863451600ee813bf32103716fd6e32bac58dfed2f6187d6a6b06d7b7a7b8bb007259c910b9d8ab83d9ddeaea08aa9f06d3a696c97398be7d1eb25d7f WHIRLPOOL 2fd5fb0922f68b3fd8a08f75ce2b0c77e2aec8ba8e408f383664365454bf0ea87bfc2c2c86d735466739bf37ec47c20381c0ff0865432876ee1bbe32279f3086 +MISC ChangeLog-2015 4906 SHA256 145f185658fe9c31cf5160f7f0e1bf8646b2b08f3f5e8c5862ae748e86e9af49 SHA512 788ba928f719bc7f7e885b09bda79320dc6f74e68166eef4f2302d4c6e8b39845852df48c282802e4914522be5e8dfcfbfa66a172e682083796be1ae3e58b252 WHIRLPOOL 1f6b9b60c4882db1d4da62c532cc15dc150bafeabdc6bfd79c3389680f6e4d7ed866867d030012fc2c1da63b8c5f51d1809e9fa124afb3eeaf18d5737545fda7 +MISC metadata.xml 745 SHA256 8d2f11a35f85edb671216fadba27d05304efe6cef3bdb9f1b4a39340e7070714 SHA512 ce0e891248ce741753ca470dab5e537d46a361836814608a6253bcd81f56c2b7a7627bda7236e006bea279d28ade0aa6980f71678ad8ca1751769e7b61e46729 WHIRLPOOL 17f0669d4b840ae14f94a344f76a59939cbcf33c65ec7626201cda9be6ca1c634f393e7cb215a5f2518b40630b33f2119502a60c13703af940dd92b4d8b27432 diff --git a/x11-wm/windowlab/files/windowlab-1.34-fixed-font.patch b/x11-wm/windowlab/files/windowlab-1.34-fixed-font.patch new file mode 100644 index 000000000000..ed85936bbcd9 --- /dev/null +++ b/x11-wm/windowlab/files/windowlab-1.34-fixed-font.patch @@ -0,0 +1,11 @@ +--- a/windowlab.h 2006-09-01 23:47:36.000000000 +0200 ++++ b/windowlab.h 2006-09-01 23:47:49.000000000 +0200 +@@ -49,7 +49,7 @@ + #ifdef XFT + #define DEF_FONT "-bitstream-bitstream vera sans-medium-r-*-*-*-100-*-*-*-*-*-*" + #else +-#define DEF_FONT "-b&h-lucida-medium-r-*-*-10-*-*-*-*-*-*-*" ++#define DEF_FONT "fixed" + #endif + + // use named colours, #rgb, #rrggbb or #rrrgggbbb format diff --git a/x11-wm/windowlab/files/windowlab-1.40-gentoo.diff b/x11-wm/windowlab/files/windowlab-1.40-gentoo.diff new file mode 100644 index 000000000000..b0a9b490eb0c --- /dev/null +++ b/x11-wm/windowlab/files/windowlab-1.40-gentoo.diff @@ -0,0 +1,53 @@ +--- a/Makefile 2009-11-05 21:04:45.000000000 +0000 ++++ b/Makefile 2010-05-30 15:31:04.047559352 +0000 +@@ -5,18 +5,18 @@ + EXTRA_LIBS += -lXext + + # Set this to the hardcoded location of all files if it's not / +-PREFIX = /usr/local ++PREFIX = /usr + + # Set this to the directory, below PREFIX, where man pages + # are expected. Below this directory, the target "install" + # will put "windowlab.1x" in section "man1". +-MANBASE = /man ++MANBASE = /share/man + + # Set this to the location of the X installation you want to compile against +-XROOT = /usr/X11R6 ++XROOT = /usr + + # Some flexibility for configuration location +-CONFPREFIX = $(PREFIX) ++CONFPREFIX = + CONFDIR = /etc/X11/windowlab + + # Set this to the location of the global configuration files +@@ -43,7 +43,6 @@ + + # -------------------------------------------------------------------- + +-CC = gcc + ifndef CFLAGS + CFLAGS = -g -O2 -Wall -W + endif +@@ -63,15 +62,15 @@ + all: $(PROG) + + $(PROG): $(OBJS) +- $(CC) $(OBJS) $(LDPATH) $(LIBS) -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LDPATH) $(LIBS) -o $@ + + $(OBJS): %.o: %.c $(HEADERS) + $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -c $< -o $@ + + install: all +- mkdir -p $(BINDIR) && install -m 755 -s $(PROG) $(BINDIR) +- mkdir -p $(MANDIR) && install -m 644 $(MANPAGE) $(MANDIR) && gzip -9vfn $(MANDIR)/$(MANPAGE) +- mkdir -p $(CFGDIR) && cp -i windowlab.menurc $(CFGDIR)/windowlab.menurc && chmod 644 $(CFGDIR)/windowlab.menurc ++ install -D -m 755 $(PROG) $(BINDIR)/$(PROG) ++ install -D -m 644 $(MANPAGE) $(MANDIR)/windowlab.1 ++ install -D -m 644 windowlab.menurc $(CFGDIR)/windowlab.menurc + + clean: + rm -f $(PROG) $(OBJS) diff --git a/x11-wm/windowlab/metadata.xml b/x11-wm/windowlab/metadata.xml new file mode 100644 index 000000000000..126fb2b64c58 --- /dev/null +++ b/x11-wm/windowlab/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +<longdescription> + WindowLab is a small and simple window manager of novel design. + + It has a click-to-focus but not raise-on-focus policy, a + window resizing mechanism that allows one or many edges of a + window to be changed in one action, and an innovative menubar + that shares the same part of the screen as the taskbar. Window + titlebars are prevented from going off the edge of the screen + by constraining the mouse pointer, and when appropriate the + pointer is also constrained to the taskbar/menubar in order to + make target menu items easier to hit. + </longdescription> +</pkgmetadata> diff --git a/x11-wm/windowlab/windowlab-1.34.ebuild b/x11-wm/windowlab/windowlab-1.34.ebuild new file mode 100644 index 000000000000..1fe537d4ebd5 --- /dev/null +++ b/x11-wm/windowlab/windowlab-1.34.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils + +DESCRIPTION="small and simple window manager of novel design" +HOMEPAGE="http://www.nickgravgaard.com/windowlab/" +SRC_URI="http://www.nickgravgaard.com/${PN}/${P}.tar" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~mips ppc x86" +IUSE="truetype" + +RDEPEND="truetype? ( x11-libs/libXft ) + x11-libs/libXext" +DEPEND="${RDEPEND} + x11-proto/xextproto + virtual/pkgconfig" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PN}-1.34-fixed-font.patch" +} + +src_compile() { + if use truetype ; then + export DEFINES=-DXFT + export EXTRA_INC=$(pkg-config --cflags xft) + export EXTRA_LIBS=$(pkg-config --libs xft) + fi + emake CFLAGS="${CFLAGS}" || die "emake failed" +} + +src_install() { + dobin ${PN} || die + + newman ${PN}.1x ${PN}.1 || die + dodoc CHANGELOG README TODO || die + + dodir /etc/X11/${PN} || die + insinto /etc/X11/${PN} + doins ${PN}.menurc || die + + dodir /etc/X11/Sessions || die + echo "/usr/bin/${PN}" > ${D}/etc/X11/Sessions/${PN} + fperms a+x /etc/X11/Sessions/${PN} +} + +pkg_postinst() { + elog "${PN}'s menu config file has been changed from" + elog "/etc/X11/${PN}/menurc to /etc/X11/${PN}/${PN}.menurc" +} diff --git a/x11-wm/windowlab/windowlab-1.40-r1.ebuild b/x11-wm/windowlab/windowlab-1.40-r1.ebuild new file mode 100644 index 000000000000..28f22b9e18ac --- /dev/null +++ b/x11-wm/windowlab/windowlab-1.40-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="small and simple window manager of novel design" +HOMEPAGE="http://www.nickgravgaard.com/windowlab/" +SRC_URI="http://www.nickgravgaard.com/${PN}/${P}.tar" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~mips ~ppc ~x86" +IUSE="truetype" + +RDEPEND="truetype? ( x11-libs/libXft ) + x11-libs/libXext" +DEPEND="${RDEPEND} + x11-proto/xextproto + virtual/pkgconfig" + +PATCHES=( "${FILESDIR}/${PN}-1.34-fixed-font.patch" + "${FILESDIR}/${P}-gentoo.diff" ) + +pkg_setup() { + if use truetype ; then + export DEFINES=-DXFT + export EXTRA_INC=$(pkg-config --cflags xft) + export EXTRA_LIBS=$(pkg-config --libs xft) + fi + tc-export CC +} + +src_install() { + emake DESTDIR="${D}" install + dodoc CHANGELOG README TODO + + exeinto /etc/X11/Sessions + cat <<- EOF > "${T}"/${PN} + #!/bin/sh + exec /usr/bin/${PN} + EOF + doexe "${T}"/${PN} +} + +pkg_postinst() { + elog "${PN}'s menu config file has been changed from" + elog "/etc/X11/${PN}/menurc to /etc/X11/${PN}/${PN}.menurc" +} |