aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorPaul Healy <lmiphay@gmail.com>2019-05-20 19:00:42 +0100
committerPaul Healy <lmiphay@gmail.com>2019-05-20 19:00:42 +0100
commitd5baa5211c8b3d8fd2da5f178840ef4911ff490c (patch)
tree084d271d9ec9fde0d797385a2c26bc858b35add0 /x11-wm
parentadd ebuild for portainer (diff)
downloadlmiphay-d5baa5211c8b3d8fd2da5f178840ef4911ff490c.tar.gz
lmiphay-d5baa5211c8b3d8fd2da5f178840ef4911ff490c.tar.bz2
lmiphay-d5baa5211c8b3d8fd2da5f178840ef4911ff490c.zip
fix broken fetch
Signed-off-by: Paul Healy <lmiphay@gmail.com>
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/tvtwm/Manifest1
-rw-r--r--x11-wm/tvtwm/tvtwm-11-r2.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/x11-wm/tvtwm/Manifest b/x11-wm/tvtwm/Manifest
index 5267973..8e8d898 100644
--- a/x11-wm/tvtwm/Manifest
+++ b/x11-wm/tvtwm/Manifest
@@ -1,3 +1,4 @@
DIST tvtwm.pl11.tar.gz 224935 BLAKE2B a976621ea87d130bad7e3bdf3c2678472b4bb6d685cbceb03bfec4bb523163a3cfdae2277ef8257ab4768f079edaeada8f3328edda41f655940cd481392f027c SHA512 a754b4bc0307116d3c86b7f159bab47ff4cceb190567db793b9be61963280dd22050fa0041f60d394ca55d190dad92ba9a2859e592b05f25952592943ed59fa0
EBUILD tvtwm-11-r1.ebuild 1456 BLAKE2B 5ad7e199d597107bb9d0d90f4af2344bc70d57f5cc0ec898c7206d8bd7d05ddba4e0ae9bce642f494e69dc1e9e9e71c05f2586a992dec50ca720be7c0b5eb0d8 SHA512 a55ed4fbb7d87263970d2ed22002ea1fb175663b87cb8d5afa3f0bdcc61bd677e3fee0c4a7d228b4b4edae3b3c511c53a1c07aa3bf382fb7e558cc0f85ca3764
+EBUILD tvtwm-11-r2.ebuild 1473 BLAKE2B 6b57d84afcf2f83ee03b4106f5a6cb9571e621c81c17a2868983230b228263468b30eb5053cc50cdf961c6822b5b6eb401d0cdd9969cdf81c372c00c31097098 SHA512 459d21e69a78fc1efffb64826532c7ff16a81c69b0632d59b325002926c717911568c460c67dc19ca39a90b00b6bcfdfc5f534469917a0156789a1ed15938a3f
EBUILD tvtwm-11.ebuild 1103 BLAKE2B 49005dde35d45d5ea95fdec1f5dac1c2716b9faa02486a7bec106ad3b862ae55e3443810a7bb26288c4f5fb4622f4b82f131dc687f3c7c9909c10e94d22c7868 SHA512 5613ce726d8e496e23d222ad111a70ab4c78b6bfb91e07f8c30ddbc219f2268d67357a7e9fd0aa687db7b6c6d1932595724bc7b2a31784110c35b3816ba3b524
diff --git a/x11-wm/tvtwm/tvtwm-11-r2.ebuild b/x11-wm/tvtwm/tvtwm-11-r2.ebuild
new file mode 100644
index 0000000..85ea0e2
--- /dev/null
+++ b/x11-wm/tvtwm/tvtwm-11-r2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+XORG_STATIC=no
+inherit xorg-2
+
+DESCRIPTION="tvtwm X11 window manager"
+HOMEPAGE="http://ftp.x.org/contrib/window_managers"
+SRC_URI="https://ftp.gwdg.de/pub/x11/x.org/contrib/window_managers/tvtwm.pl11.tar.gz"
+RESTRICT="mirror"
+LICENSE="tvtwm"
+
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="sys-devel/m4
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXpm
+ x11-libs/libXt
+ "
+DEPEND="${RDEPEND}
+ sys-devel/bison
+ sys-devel/flex
+"
+
+DOCS=( "README" "README.old" "sample-twmrc/cross.twmrc" )
+
+S="${WORKDIR}/${PN}"
+
+src_configure() {
+ xmkmf || die
+ sed -i -e 's:-D_POSIX_SOURCE -D_XOPEN_SOURCE:-D_DEFAULT_SOURCE:g' "Makefile"
+
+ sed -i -e 's:YYBISON:notdef:' "gram.y"
+
+ sed -i '58istatic char *m4_defs(Display *display, char* host);' "parse.c"
+ sed -i -e 's:static char \*m4_defs();::' "parse.c"
+
+ sed -i '43i#include <stdlib.h>' "ssetroot.c"
+ sed -i '43i#include <string.h>' "ssetroot.c"
+
+ sed -i '206d' "regexp.c"
+ sed -i -e 's:extern char \*strchr();:#include <string.h>:' "regexp.c"
+ sed -i '34i#include <stdlib.h>' "regexp.c"
+
+ sed -i '146i#include <unistd.h>' "vdt.c"
+}
+
+src_compile() {
+ emake -j 1 CC="$(tc-getCC)" CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin ${PN} ssetroot
+
+ newman ${PN}.man ${PN}.1
+
+ insinto /usr/lib/X11/tvtwm
+ newins system.twmrc system.tvtwmrc
+
+ einstalldocs
+}