summaryrefslogtreecommitdiff
path: root/x11-wm/ctwm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-wm/ctwm
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-wm/ctwm')
-rw-r--r--x11-wm/ctwm/Manifest11
-rw-r--r--x11-wm/ctwm/ctwm-3.7.ebuild55
-rw-r--r--x11-wm/ctwm/ctwm-3.8.2.ebuild81
-rw-r--r--x11-wm/ctwm/ctwm-3.8a-r1.ebuild72
-rw-r--r--x11-wm/ctwm/ctwm-4.0.1.ebuild46
-rw-r--r--x11-wm/ctwm/metadata.xml5
6 files changed, 270 insertions, 0 deletions
diff --git a/x11-wm/ctwm/Manifest b/x11-wm/ctwm/Manifest
new file mode 100644
index 000000000000..124c2484af03
--- /dev/null
+++ b/x11-wm/ctwm/Manifest
@@ -0,0 +1,11 @@
+DIST ctwm-3.7.tar.gz 1139461 SHA256 fa16dbaef6992cdbcdbe05a9dc12c2c16910f5e51a2df54607aeb74f9b4a5171 SHA512 e3c1e4bed68ffbf3efbc6057743889d706ed16e74bd334ebb689c8283f1288778dc368f0a6064aa7e24a6416592f22d1eeffc09c76cb0cd4ea64467718c62cfd WHIRLPOOL c50f518ffd28057d1e63be3a444e0bde617e88626f70ed55d434f2ddbb3be920289ca15b1fc2f11cb219ebe692bdf4cb893b1506e7e684ef4378a487f4d46a1e
+DIST ctwm-3.8.2.tar.xz 549984 SHA256 574d67a8a69f2f1ebaa71aa40cc50667e814f74b51f5db8886e2def6a3e0900f SHA512 4633b7bf7b8528ecfd2a753f443fd5286fd394df37ebe885138d30a498f0d721076835d135974a2bd11ca9c32ffd288f84788cb0407ae346a29c5f6371dca497 WHIRLPOOL 6416ecff3230e823bf52219ae8538862a6ed8e66506a16111b715431e3dd007e81d4b1ac6b83321ec12ca95926fb7747b1927626458fa51fb3205589c3f07eda
+DIST ctwm-3.8a.tar.gz 738226 SHA256 39322cc6b0d12dc286af0944f9a10d3a099a5f04c5d9c47b75742cdf65dbd4a4 SHA512 df850358ece699af7922c7b0c8a39694d9b1cb835a653665ab826ac9a159bb959ed502c65997b79beaa06542b017e19e3916bdf3c45f71a85f2168bc576de5be WHIRLPOOL 20c985b09f281a3cd9433ee8684e7245ae88caacb9c712ff78b4d82862d633d22a048c6c0095ae9a5e60f0c16c83184929cb8d23fc9f9300ee9824ac0535946e
+DIST ctwm-4.0.1.tar.xz 656776 SHA256 674639f6fe7916a0462ce3b8eae43b95acb26ba2049341bbf7ddd81534f538e1 SHA512 8c5c0bf868ba36cf5acca1ac5dbcea9327f63892698ace5086fabe563632acbb578cefea44ac3de91dc15afdbdce0370169e14156525507b90dc8aca8d305bc6 WHIRLPOOL f45613d63fe20fb1ed5620a84decf338b397a902fa2cf0635a878a7cd785a56bacfbbd1f2653be5b5512a334a38e9639c12c25b2112e70208cee1ec391083a53
+EBUILD ctwm-3.7.ebuild 1204 SHA256 95d388429e0fbb0d07bb09ad7af9ccff8928433a6f4ee7aff2f512a80b932dc2 SHA512 23b3edac816e083fc4ff5d640119ba7ee6a8c07b3b601e38a61f0fcd147d0963b75f5329736ab606ebae1b80ed7b6c5e47225af79ae396980d4636ee605ac037 WHIRLPOOL 2eb81f25a585260c4805a617bf96074b4588533d1b3902cd825f818eff1f4decc4981d8f2850db85e30943b59493ffc0a400e1baec7c310906ec922c503fab0a
+EBUILD ctwm-3.8.2.ebuild 1546 SHA256 053826afdc397b3502809a788b1c6cd272d898faa5541b4107201167741ed21e SHA512 4bdc01a3290cc7293d9c38acbb0c2d6dad77b18d6b57c0b72844fe304c42bb5025af98d7e7ce49187079c4f6ec45d3175f12b7b0921ef73bfebe61057fca00d1 WHIRLPOOL bb07fb17e925194536e4ca64eee98448d36e7be8f0cc0ea23e1fb4eab060fc499ea6015adfd434e33c4c606c2ed8c282b971965580391c917aad9a9661bccc6a
+EBUILD ctwm-3.8a-r1.ebuild 1508 SHA256 09e03e0de582635179a6fe2096dbf15967ed7170e87ed12310a0f6cfac9183f4 SHA512 6ff601ccb3e26e83ea3267c066e075445e6974a6111147b9457188e2b0cf78c7087b98a6ab99b8bf48d65785bc80330341ba20b75a62d7ff817e2e116cce067c WHIRLPOOL 4025d52382b46c10582ed7f87215a2d45a1cc1b18b51693c54139f79fef2cf3c65ec4b6ccfbba800dfc2448d59812a231a4424bb8606246fec2a4bbbf56a77a4
+EBUILD ctwm-4.0.1.ebuild 886 SHA256 877b3aeb2ab18c932fd009c9ae055b04a9b5517f934e53d96be3c78551fe2c77 SHA512 1c945416bf77f8a425e109b73d55165f3b387f47f68366d9451fcaf0256f7bdeb68fc48f5440b69d24eb6b542d22ce5fe7158bc37b0af973e4a83dbbb28abd74 WHIRLPOOL 91ba24a5eeb91c819d90cdad24a3cb77785d9a395f223b87a71652cdea35d6152df75345dbb84264861bd6994128c78ca5cf8490d2a3b0ea7442bbe8815f8fff
+MISC ChangeLog 2637 SHA256 9175235d8cfa97cb5aef1ee667f957a8eb64f44dc1c718cbc8ae5915e76e8696 SHA512 d960b9fa95e382d12abb1f3faaba96e5f74a69f8da985057c63390561e9d3ac12976a33328483d8f329f3535dc4a6fcb1f3d357f6b885719daba774415867041 WHIRLPOOL ce7c49826cc97254580501b0898221ae810d6dcd08ccd0564ca7dd81f44f4aa2bcd831518e518afe6898171101a028058f59c76c52657cba934b04a62810ade1
+MISC ChangeLog-2015 4339 SHA256 3e2f63306f95c5597d6c222fd961f821503d4b0ef80b0bf00bc1e698595cffce SHA512 0ba5b42e85fa2909aab0a2504f9549001df0a91e74f2a75faf2d070221e1181b45f8d1aaa5954ab741d58670487fd69d12d77609cc791b7827c4ef6b87dfe3fd WHIRLPOOL 663f9ea1074515219187bb1ca04d72d530162261728128fbcf7e3b2210ef9128e487d7a0bcaad20101826b356800398201bfacde243fd0a3a92addc707225ec5
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/x11-wm/ctwm/ctwm-3.7.ebuild b/x11-wm/ctwm/ctwm-3.7.ebuild
new file mode 100644
index 000000000000..19787781657a
--- /dev/null
+++ b/x11-wm/ctwm/ctwm-3.7.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils
+
+DESCRIPTION="A clean, light window manager"
+HOMEPAGE="http://ctwm.free.lp.se/"
+SRC_URI="http://ctwm.free.lp.se/dist/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXpm
+ x11-libs/libXt"
+DEPEND="${RDEPEND}
+ app-text/rman
+ virtual/jpeg
+ x11-misc/imake
+ x11-proto/xextproto
+ x11-proto/xproto"
+
+src_compile() {
+ sed -i -e "s@\(CONFDIR =\).*@\1 /etc/X11/twm@g" Imakefile \
+ || die "sed failed"
+
+ cp Imakefile.local-template Imakefile.local
+
+ xmkmf || die "xmkmf failed"
+ make TWMDIR=/usr/share/${PN} || die "make failed"
+}
+
+src_install() {
+ make BINDIR=/usr/bin \
+ MANPATH=/usr/share/man \
+ TWMDIR=/usr/share/${PN} \
+ DESTDIR="${D}" install || die "make install failed"
+
+ make MANPATH=/usr/share/man \
+ DOCHTMLDIR=/usr/share/doc/${PF}/html \
+ DESTDIR="${D}" install.man || die "make install.man failed"
+
+ echo "#!/bin/sh" > ${T}/ctwm
+ echo "/usr/bin/ctwm" >> ${T}/ctwm
+
+ exeinto /etc/X11/Sessions
+ doexe "${T}"/ctwm
+
+ dodoc CHANGES README* TODO* PROBLEMS
+ dodoc *.ctwmrc*
+}
diff --git a/x11-wm/ctwm/ctwm-3.8.2.ebuild b/x11-wm/ctwm/ctwm-3.8.2.ebuild
new file mode 100644
index 000000000000..050ce634b582
--- /dev/null
+++ b/x11-wm/ctwm/ctwm-3.8.2.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="A clean, light window manager"
+HOMEPAGE="http://ctwm.org/"
+SRC_URI="${HOMEPAGE}dist/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+RDEPEND="
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXpm
+ x11-libs/libXt
+"
+DEPEND="
+ ${RDEPEND}
+ app-arch/xz-utils
+ app-text/rman
+ virtual/jpeg
+ x11-misc/imake
+ x11-proto/xextproto
+ x11-proto/xproto
+"
+
+src_prepare() {
+ # overflow bug 338180
+ sed -i menus.c -e "/char modStr/ s/5/6/" || die
+
+ # implicit 'isspace'
+ sed -i parse.c -e "/<stdio.h>/ a#include <ctype.h>" || die
+
+ sed -i Imakefile -e "/^CONFDIR/s@=.*@= /etc/X11/twm@g" || die
+
+ cp Imakefile.local-template Imakefile.local
+
+ # TODO: Add GNOME support
+ sed -i Imakefile.local -e '/^#define GNOME/d' || die
+}
+
+src_configure() {
+ append-cppflags -DXPM -DJPEG
+ xmkmf || die
+}
+
+src_compile() {
+ emake \
+ CC=$(tc-getCC) \
+ CFLAGS="${CFLAGS}" \
+ EXTRA_LDOPTIONS="${LDFLAGS}" \
+ TWMDIR=/usr/share/${PN}
+}
+
+src_install() {
+ emake BINDIR=/usr/bin \
+ MANPATH=/usr/share/man \
+ TWMDIR=/usr/share/${PN} \
+ DESTDIR="${D}" install
+
+ emake MANPATH=/usr/share/man \
+ DOCHTMLDIR=/usr/share/doc/${PF}/html \
+ DESTDIR="${D}" install.man
+
+ echo "#!/bin/sh" > ${T}/ctwm
+ echo "/usr/bin/ctwm" >> ${T}/ctwm
+
+ exeinto /etc/X11/Sessions
+ doexe "${T}"/ctwm
+
+ dodoc CHANGES README* TODO* PROBLEMS
+ dodoc *.ctwmrc*
+}
diff --git a/x11-wm/ctwm/ctwm-3.8a-r1.ebuild b/x11-wm/ctwm/ctwm-3.8a-r1.ebuild
new file mode 100644
index 000000000000..974916539b90
--- /dev/null
+++ b/x11-wm/ctwm/ctwm-3.8a-r1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A clean, light window manager"
+HOMEPAGE="http://ctwm.free.lp.se/"
+SRC_URI="http://ctwm.free.lp.se/dist/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXpm
+ x11-libs/libXt"
+DEPEND="${RDEPEND}
+ app-text/rman
+ virtual/jpeg
+ x11-misc/imake
+ x11-proto/xextproto
+ x11-proto/xproto"
+
+src_prepare() {
+ sed -e "/char modStr/ s/5/6/" -i menus.c || die #overflow bug 338180
+ sed -e "/<stdio.h>/ a#include <ctype.h>" -i parse.c || die #implicit 'isspace'
+ sed -i Imakefile \
+ -e "s@\(CONFDIR =\).*@\1 /etc/X11/twm@g" \
+ || die
+
+ cp Imakefile.local-template Imakefile.local
+
+ # TODO: Add GNOME support
+ sed -i Imakefile.local \
+ -e '/^#define GNOME/d' \
+ || die
+}
+
+src_compile() {
+ xmkmf || die
+ emake \
+ CC=$(tc-getCC) \
+ CFLAGS="${CFLAGS}" \
+ EXTRA_LDOPTIONS="${LDFLAGS}" \
+ TWMDIR=/usr/share/${PN} \
+ || die
+}
+
+src_install() {
+ make BINDIR=/usr/bin \
+ MANPATH=/usr/share/man \
+ TWMDIR=/usr/share/${PN} \
+ DESTDIR="${D}" install || die
+
+ make MANPATH=/usr/share/man \
+ DOCHTMLDIR=/usr/share/doc/${PF}/html \
+ DESTDIR="${D}" install.man || die
+
+ echo "#!/bin/sh" > ${T}/ctwm
+ echo "/usr/bin/ctwm" >> ${T}/ctwm
+
+ exeinto /etc/X11/Sessions
+ doexe "${T}"/ctwm || die
+
+ dodoc CHANGES README* TODO* PROBLEMS || die
+ dodoc *.ctwmrc* || die
+}
diff --git a/x11-wm/ctwm/ctwm-4.0.1.ebuild b/x11-wm/ctwm/ctwm-4.0.1.ebuild
new file mode 100644
index 000000000000..a9b7409c23f6
--- /dev/null
+++ b/x11-wm/ctwm/ctwm-4.0.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="A clean, light window manager"
+HOMEPAGE="http://ctwm.org/"
+SRC_URI="${HOMEPAGE}dist/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+RDEPEND="
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXpm
+ x11-libs/libXt
+"
+DEPEND="
+ ${RDEPEND}
+ app-arch/xz-utils
+ app-text/rman
+ virtual/jpeg
+ x11-proto/xextproto
+ x11-proto/xproto
+"
+
+src_prepare() {
+ default
+
+ # implicit 'isspace'
+ sed -i parse.c -e "/<stdio.h>/ a#include <ctype.h>" || die
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die
+ mv "${D}"/usr/share/examples/${PN} "${D}"/usr/share/doc/${PF}/examples || die
+}
diff --git a/x11-wm/ctwm/metadata.xml b/x11-wm/ctwm/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/x11-wm/ctwm/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>