diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-wm/spectrwm | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'x11-wm/spectrwm')
-rw-r--r-- | x11-wm/spectrwm/Manifest | 2 | ||||
-rw-r--r-- | x11-wm/spectrwm/files/spectrwm-2.0.2-makefile.patch | 23 | ||||
-rw-r--r-- | x11-wm/spectrwm/files/spectrwm-2.1.0-makefile.patch | 23 | ||||
-rw-r--r-- | x11-wm/spectrwm/files/spectrwm-2.3.0-Makefile.patch | 36 | ||||
-rw-r--r-- | x11-wm/spectrwm/files/spectrwm-2.4.0-Makefile.patch | 17 | ||||
-rw-r--r-- | x11-wm/spectrwm/files/spectrwm-2.5.0-Makefile.patch | 20 | ||||
-rw-r--r-- | x11-wm/spectrwm/files/spectrwm-2.6.2-Makefile.patch | 11 | ||||
-rw-r--r-- | x11-wm/spectrwm/files/spectrwm.desktop | 7 | ||||
-rw-r--r-- | x11-wm/spectrwm/metadata.xml | 9 | ||||
-rw-r--r-- | x11-wm/spectrwm/spectrwm-2.6.2.ebuild | 45 | ||||
-rw-r--r-- | x11-wm/spectrwm/spectrwm-2.7.2.ebuild | 47 |
11 files changed, 240 insertions, 0 deletions
diff --git a/x11-wm/spectrwm/Manifest b/x11-wm/spectrwm/Manifest new file mode 100644 index 000000000000..b6cd7305a19e --- /dev/null +++ b/x11-wm/spectrwm/Manifest @@ -0,0 +1,2 @@ +DIST spectrwm-2.6.2.tgz 124215 SHA256 eb9b33ee05b0625d59607f886d9ba7f0723bd863b503d66bdb592f5461c59459 SHA512 f1962df679ca07ca7d8c68a2d0b88331eda5c7cd35ecf1a5a63687984c1c67ef48fffb4e29d273fb1ccef9c9bb77a5ab12a09ef27b1d97abdc87dc20f38717f5 WHIRLPOOL 9bddfbb242c3ebcd79aea2730406783e86ec2669601d47c26918f467935df3c64ad1055376e4f63aaf376771d3f89ebc51eea6004d188da617c85f35baf9caee +DIST spectrwm-2.7.2.tgz 132554 SHA256 b56cffa01ee2c58515350c1be1940140286fd18778659c6f5ada4595319f97cb SHA512 cebb0e42566125933bf2c4c9200765d360bb572fd953c510ad39e7abcf9cc507e61420441234fb1bb44d06d28526ba6c594272c173a04181d2c6798e404b7421 WHIRLPOOL 5ab24d2866d6a252c03a72fae3e0dd914f6c2041185088da5beb4c7a4a0ee5ec0c3b55cff32bef5f10f159ae1a5e66a6a217a3d67cba2d17ed324145a05391c7 diff --git a/x11-wm/spectrwm/files/spectrwm-2.0.2-makefile.patch b/x11-wm/spectrwm/files/spectrwm-2.0.2-makefile.patch new file mode 100644 index 000000000000..6fa2d35bcc68 --- /dev/null +++ b/x11-wm/spectrwm/files/spectrwm-2.0.2-makefile.patch @@ -0,0 +1,23 @@ +--- spectrwm-2.0.2/linux/Makefile ++++ spectrwm-2.0.2/linux/Makefile +@@ -1,5 +1,5 @@ +-CFLAGS+= -Wall -Wextra -Wshadow -g -D_GNU_SOURCE -I. -I/usr/include/freetype2 +-CFLAGS+= -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LVERS)\" ++CFLAGS+= -Wall -Wextra -Wshadow -D_GNU_SOURCE -I. -I/usr/include/freetype2 ++CFLAGS+= -DSWM_LIB=\"libswmhack.so.$(LVERS)\" + LDADD+= -lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-randr -lxcb-keysyms -lxcb-util -lxcb-xtest -lXft -lXcursor + + PREFIX?= /usr/local +@@ -29,10 +29,10 @@ + $(CC) $(LDFLAGS) -o $@ $+ $(LDADD) + + %.so: %.c +- $(CC) $(CFLAGS) -c -fpic -DPIC $+ -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) -c -fpic -DPIC $+ -o $@ + + libswmhack.so.$(LVERS): swm_hack.so +- $(CC) -shared -fpic -o libswmhack.so.$(LVERS) swm_hack.so $(LDADD) ++ $(CC) $(LDFLAGS) -Wl,-soname,$@ -shared -fpic -o libswmhack.so.$(LVERS) swm_hack.so $(LDADD) + + install: all + install -m 755 -d $(DESTDIR)$(BINDIR) diff --git a/x11-wm/spectrwm/files/spectrwm-2.1.0-makefile.patch b/x11-wm/spectrwm/files/spectrwm-2.1.0-makefile.patch new file mode 100644 index 000000000000..97a968921fd0 --- /dev/null +++ b/x11-wm/spectrwm/files/spectrwm-2.1.0-makefile.patch @@ -0,0 +1,23 @@ +--- spectrwm-2.1.0/linux/Makefile ++++ spectrwm-2.1.0/linux/Makefile +@@ -1,5 +1,5 @@ +-CFLAGS+= -std=c99 -Wall -Wextra -Wmissing-prototypes -Wshadow -g -D_GNU_SOURCE -I. -I/usr/include/freetype2 +-CFLAGS+= -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LVERS)\" ++CFLAGS+= -std=c99 -Wall -Wextra -Wmissing-prototypes -Wshadow -D_GNU_SOURCE -I. -I/usr/include/freetype2 ++CFLAGS+= -DSWM_LIB=\"libswmhack.so.$(LVERS)\" + LDADD+= -lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-randr -lxcb-keysyms -lxcb-util -lxcb-xtest -lXft -lXcursor + + PREFIX?= /usr/local +@@ -29,10 +29,10 @@ + $(CC) $(LDFLAGS) -o $@ $+ $(LDADD) + + %.so: %.c +- $(CC) $(CFLAGS) -c -fpic -DPIC $+ -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) -c -fpic -DPIC $+ -o $@ + + libswmhack.so.$(LVERS): swm_hack.so +- $(CC) -shared -fpic -o libswmhack.so.$(LVERS) swm_hack.so $(LDADD) ++ $(CC) $(LDFLAGS) -Wl,-soname,$@ -shared -fpic -o libswmhack.so.$(LVERS) swm_hack.so $(LDADD) + + install: all + install -m 755 -d $(DESTDIR)$(BINDIR) diff --git a/x11-wm/spectrwm/files/spectrwm-2.3.0-Makefile.patch b/x11-wm/spectrwm/files/spectrwm-2.3.0-Makefile.patch new file mode 100644 index 000000000000..2b04953ea9c4 --- /dev/null +++ b/x11-wm/spectrwm/files/spectrwm-2.3.0-Makefile.patch @@ -0,0 +1,36 @@ +--- spectrwm-2.3.0/linux/Makefile ++++ spectrwm-2.3.0/linux/Makefile +@@ -1,5 +1,5 @@ +-CFLAGS+= -std=c99 -Wall -Wextra -Wmissing-prototypes -Wshadow -g -D_GNU_SOURCE -I. -I/usr/include/freetype2 +-CFLAGS+= -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LVERS)\" ++CFLAGS+= -std=c99 -Wall -Wextra -Wmissing-prototypes -Wshadow -D_GNU_SOURCE -I. -I/usr/include/freetype2 ++CFLAGS+= -DSWM_LIB=\"libswmhack.so.$(LVERS)\" + LDADD+= -lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-randr -lxcb-keysyms -lxcb-util -lxcb-xtest -lXft -lXcursor + + PREFIX?= /usr/local +@@ -29,10 +29,10 @@ + $(CC) $(LDFLAGS) -o $@ $+ $(LDADD) + + %.so: %.c +- $(CC) $(CFLAGS) -c -fpic -DPIC $+ -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) -c -fpic -DPIC $+ -o $@ + + libswmhack.so.$(LVERS): swm_hack.so +- $(CC) -shared -fpic -o libswmhack.so.$(LVERS) swm_hack.so $(LDADD) ++ $(CC) $(LDFLAGS) -Wl,-soname,$@ -shared -fpic -o libswmhack.so.$(LVERS) swm_hack.so $(LDADD) + + install: all + install -m 755 -d $(DESTDIR)$(BINDIR) +@@ -45,9 +45,9 @@ + install -m 644 ../spectrwm_it.1 $(DESTDIR)$(MANDIR)/man1/spectrwm_it.1 + install -m 644 ../spectrwm_pt.1 $(DESTDIR)$(MANDIR)/man1/spectrwm_pt.1 + install -m 644 ../spectrwm_ru.1 $(DESTDIR)$(MANDIR)/man1/spectrwm_ru.1 +- ln -sf $(BINDIR)/spectrwm $(DESTDIR)$(BINDIR)/scrotwm +- ln -sf $(LIBDIR)/libswmhack.so.0.0 $(DESTDIR)$(LIBDIR)/libswmhack.so.0 +- ln -sf $(LIBDIR)/libswmhack.so.0.0 $(DESTDIR)$(LIBDIR)/libswmhack.so ++ ln -sf spectrwm $(DESTDIR)$(BINDIR)/scrotwm ++ ln -sf libswmhack.so.0.0 $(DESTDIR)$(LIBDIR)/libswmhack.so.0 ++ ln -sf libswmhack.so.0.0 $(DESTDIR)$(LIBDIR)/libswmhack.so + + clean: + rm -f spectrwm *.o *.so libswmhack.so.* spectrwm.c swm_hack.c version.h diff --git a/x11-wm/spectrwm/files/spectrwm-2.4.0-Makefile.patch b/x11-wm/spectrwm/files/spectrwm-2.4.0-Makefile.patch new file mode 100644 index 000000000000..405a6a365978 --- /dev/null +++ b/x11-wm/spectrwm/files/spectrwm-2.4.0-Makefile.patch @@ -0,0 +1,17 @@ +--- spectrwm-2.4.0/linux/Makefile ++++ spectrwm-2.4.0/linux/Makefile +@@ -1,4 +1,4 @@ +-CFLAGS+= -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g ++CFLAGS+= -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized + CFLAGS+= -D_GNU_SOURCE -I. -I/usr/include/freetype2 -DSWM_LIB=\"libswmhack.so.$(LVERS)\" + LDADD+= -lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-randr -lxcb-keysyms -lxcb-util -lxcb-xtest -lXft -lXcursor + +@@ -29,7 +29,7 @@ + $(CC) $(LDFLAGS) -o $@ $+ $(LDADD) + + %.so: %.c +- $(CC) $(CFLAGS) -c -fpic -DPIC $+ -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) -c -fpic -DPIC $+ -o $@ + + libswmhack.so.$(LVERS): swm_hack.so + $(CC) $(LDFLAGS) -Wl,-soname,$@ -shared -fpic -o libswmhack.so.$(LVERS) swm_hack.so $(LDADD) diff --git a/x11-wm/spectrwm/files/spectrwm-2.5.0-Makefile.patch b/x11-wm/spectrwm/files/spectrwm-2.5.0-Makefile.patch new file mode 100644 index 000000000000..2748651ee60a --- /dev/null +++ b/x11-wm/spectrwm/files/spectrwm-2.5.0-Makefile.patch @@ -0,0 +1,20 @@ +--- spectrwm-2.5.0/linux/Makefile ++++ spectrwm-2.5.0/linux/Makefile +@@ -5,7 +5,7 @@ + + LVERS= $(shell . ../lib/shlib_version; echo $$major.$$minor) + +-CFLAGS+= -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g ++CFLAGS+= -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized + CFLAGS+= -D_GNU_SOURCE -I. -I/usr/include/freetype2 -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LVERS)\" + LDADD+= -lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-randr -lxcb-keysyms -lxcb-util -lxcb-xtest -lXft -lXcursor + +@@ -29,7 +29,7 @@ + $(CC) $(LDFLAGS) -o $@ $+ $(LDADD) + + %.so: %.c +- $(CC) $(CFLAGS) -c -fpic -DPIC $+ -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) -c -fpic -DPIC $+ -o $@ + + libswmhack.so.$(LVERS): swm_hack.so + $(CC) $(LDFLAGS) -Wl,-soname,$@ -shared -fpic -o libswmhack.so.$(LVERS) swm_hack.so $(LDADD) diff --git a/x11-wm/spectrwm/files/spectrwm-2.6.2-Makefile.patch b/x11-wm/spectrwm/files/spectrwm-2.6.2-Makefile.patch new file mode 100644 index 000000000000..e380b60fdf13 --- /dev/null +++ b/x11-wm/spectrwm/files/spectrwm-2.6.2-Makefile.patch @@ -0,0 +1,11 @@ +--- spectrwm-2.6.2/linux/Makefile ++++ spectrwm-2.6.2/linux/Makefile +@@ -9,7 +9,7 @@ + LIBVERSION = $(shell . $(CURDIR)/../lib/shlib_version; echo $$major.$$minor) + LIBMAJORVERSION = $(shell . $(CURDIR)/../lib/shlib_version; echo $$major) + +-MAINT_CFLAGS = -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g ++MAINT_CFLAGS = -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized + MAINT_CPPFLAGS = -D_GNU_SOURCE -I. -I/usr/include/freetype2 -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LIBVERSION)\" + MAINT_LDLIBS = -lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-randr -lxcb-keysyms -lxcb-util -lxcb-xtest -lXft -lXcursor + diff --git a/x11-wm/spectrwm/files/spectrwm.desktop b/x11-wm/spectrwm/files/spectrwm.desktop new file mode 100644 index 000000000000..ca9a5b6337e4 --- /dev/null +++ b/x11-wm/spectrwm/files/spectrwm.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=spectrwm +Comment=A lighweight tiling window manager +Exec=/etc/X11/Sessions/spectrwm +TryExec=spectrwm +Icon= +Type=Application diff --git a/x11-wm/spectrwm/metadata.xml b/x11-wm/spectrwm/metadata.xml new file mode 100644 index 000000000000..59acc2cc580e --- /dev/null +++ b/x11-wm/spectrwm/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>xmw@gentoo.org</email> +<name>Michael Weber</name> +</maintainer> +</pkgmetadata> + diff --git a/x11-wm/spectrwm/spectrwm-2.6.2.ebuild b/x11-wm/spectrwm/spectrwm-2.6.2.ebuild new file mode 100644 index 000000000000..575056749bac --- /dev/null +++ b/x11-wm/spectrwm/spectrwm-2.6.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Small dynamic tiling window manager for X11" +HOMEPAGE="https://opensource.conformal.com/wiki/spectrwm" +SRC_URI="http://opensource.conformal.com/snapshots/${PN}/${P}.tgz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="x11-misc/dmenu" +DEPEND="${DEPEND} + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXrandr + x11-libs/libXtst + x11-libs/xcb-util + !x11-wm/scrotwm" + +S=${WORKDIR}/${P}/linux + +src_prepare() { + epatch "${FILESDIR}"/${P}-Makefile.patch + tc-export CC +} + +src_install() { + emake PREFIX="${D}"/usr LIBDIR="${D}usr/$(get_libdir)" install + + cd "${WORKDIR}"/${P} || die + + insinto /etc + doins ${PN}.conf + dodoc ${PN}_*.conf {initscreen,screenshot}.sh + + elog "Example keyboard config and helpful scripts can be found" + elog "in ${ROOT}usr/share/doc/${PF}" +} diff --git a/x11-wm/spectrwm/spectrwm-2.7.2.ebuild b/x11-wm/spectrwm/spectrwm-2.7.2.ebuild new file mode 100644 index 000000000000..2c3cdd313c19 --- /dev/null +++ b/x11-wm/spectrwm/spectrwm-2.7.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Small dynamic tiling window manager for X11" +HOMEPAGE="https://opensource.conformal.com/wiki/spectrwm" +SRC_URI="http://opensource.conformal.com/snapshots/${PN}/${P}.tgz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-misc/dmenu" +DEPEND="${DEPEND} + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXrandr + x11-libs/libXtst + x11-libs/xcb-util + !x11-wm/scrotwm" + +S=${WORKDIR}/${P}/linux + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.6.2-Makefile.patch + tc-export CC +} + +src_install() { + emake PREFIX="${D}"/usr LIBDIR="${D}usr/$(get_libdir)" install + + cd "${WORKDIR}"/${P} || die + + insinto /etc + doins ${PN}.conf + dodoc ${PN}_*.conf {initscreen,screenshot}.sh + + make_session_desktop ${PN} ${PN} + + elog "Example keyboard config and helpful scripts can be found" + elog "in ${ROOT}usr/share/doc/${PF}" +} |