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/vtwm |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-wm/vtwm')
-rw-r--r-- | x11-wm/vtwm/Manifest | 9 | ||||
-rw-r--r-- | x11-wm/vtwm/files/vtwm-5.4.7-NO_SOUND_SUPPORT.patch | 35 | ||||
-rw-r--r-- | x11-wm/vtwm/files/vtwm-5.4.7-do-not-rm.patch | 45 | ||||
-rw-r--r-- | x11-wm/vtwm/metadata.xml | 14 | ||||
-rw-r--r-- | x11-wm/vtwm/vtwm-5.4.6a.ebuild | 41 | ||||
-rw-r--r-- | x11-wm/vtwm/vtwm-5.4.7-r1.ebuild | 72 |
6 files changed, 216 insertions, 0 deletions
diff --git a/x11-wm/vtwm/Manifest b/x11-wm/vtwm/Manifest new file mode 100644 index 000000000000..2a8d0479d0b4 --- /dev/null +++ b/x11-wm/vtwm/Manifest @@ -0,0 +1,9 @@ +AUX vtwm-5.4.7-NO_SOUND_SUPPORT.patch 835 SHA256 f469d7c3ab389b42aaeb8d7dadfbab9c6bba8383ff9b1370643fb254e40772c9 SHA512 74ed936d5fd2a6276a7be921551f7e55c5e62e8cff9c8aa0176b27497965295a8ffbc09b83a7002465eb0c59645e29168955a002cf215eb0c0cb7936731b0340 WHIRLPOOL d3c320f664886a27db84aab772d734bffa14fd16221b50125125dbd2d3cf278ecdfda937f43b3352d13d6f386a372a55ccbf410617e759b5172d3a2d4c208687 +AUX vtwm-5.4.7-do-not-rm.patch 1039 SHA256 83348d06d90e3e9dc97699bacebf05c1baeba00597df66f7609622b485eebce9 SHA512 f10762468cbcdeffbae4d3d2135c094b054e687caaf991caff90dc85e33d27e69664b978e75deda2ba66b18c537c21670005f02ee8a4558ad83c08f401533d86 WHIRLPOOL 9650cf892ec316cb474861a6d4b88cee86485337fbc6a874c023bbce3a550e9fbc5624b7caf9b12384abb67cfdfebc2c33fbbfc2ea96315e2c492e808bd184b5 +DIST vtwm-5.4.6a.tar.gz 992488 SHA256 e31fca6071f82f082d78a816062c32c87aafb25aa2c2419a2ec8a1bfe2e50f71 SHA512 2500dfe50fae90cbceeee2b3dcf1dd05c330abd978a51abdf2768b3231fabdd71975f3bbdc341ebe25101773009cbf7cb12f263a013165bbda5c048e8b602686 WHIRLPOOL d1cae6b759bcb4e33232534f4e9656df6a6b5a774ffe2c7c13be2e1cb73c255e0da05a329813cbe7aeb514f896d7a1db394a836f5ee813b88a5cfe5b68300216 +DIST vtwm-5.4.7.tar.gz 1021160 SHA256 c62f692c42420666920a23cd489633e91789b379fed13561321b44d9ffa8c9e9 SHA512 abd9a1b1d077232eef7f39521823446f2674d69a071333209a808ff651dfa83a7f6fa00dab06356897d9e7a88fd6616e5920af030e24541bd4703b3351628728 WHIRLPOOL 630d39f41e77ff54611241e621c942672c65f10efec3c7c68d8e1db610ad13c1664f408dca262069451cbad76beccc51054b45a264f75f20c6a213fea9675c03 +EBUILD vtwm-5.4.6a.ebuild 971 SHA256 7ba5360a92f0faba1277532714f2d97ba3428f3efc7d4e321ad3b1599825bcac SHA512 5de2207eda913d41242a6dddb014778fe07d28a1680016eba656a261bec6a73da3854d055103468f93433ee6d6ba3d30b4fbfb986f5ebcab30b7d96dc297e99e WHIRLPOOL ddafb22095f41f8d08863fd792e8e8f1f2efeebc9751945a72e5cac7edac5ef17daf1bbc7b15e2e160e5a3a6bb05ef11feb13319e0c24e13a28c3e18bfe5d21a +EBUILD vtwm-5.4.7-r1.ebuild 1617 SHA256 7d149a862d9daebbc1870fe3b359796e9e9152f9b6bec7bbe28543a39ef0a9c5 SHA512 dbe58569459d9ebd9f8d3901c71d675f7cc07e1ea13cdfdb142bd500ff1c692c05f86fe4e9ec3304127b4e1275ecd68b926cffcf2d31d75b130bdb155a540bc3 WHIRLPOOL 8a76563b529885ad44ca4b2467da4f57189d2e04c7ead5f3aed879c7988c59416cf7ddeecb918c015114c8aa2c5a494b02a0ba7d6b777ccc1dbd2f92f6f020f5 +MISC ChangeLog 2644 SHA256 5712a55ae41fb7d8cc4f6a428197657b222d09580a8b5d9551ce71c2f73d493e SHA512 273275c6672d58faacf8340665ba79966d34f62215c5645bfa3ec0f4e159f0bf718287873f773627b1eb2613212a7f16d0af9cd7d7e8a0558e4868f37be8f198 WHIRLPOOL 27c06b9c2e0f3980dca2d31a72535a263f6055d29ab0f900ac2453c3261b5d1cc8211cd9d23a1a9bc8b87dec2ac5b83d7bd9d4417db32d4b181431210e418f96 +MISC ChangeLog-2015 2033 SHA256 8b78d8e61724cf257e467ae2dff90f83c278a5e8240c8114ca27de503741b10a SHA512 57b3f531c89c3cf6cab8cb1fa7a0f4bf538892ae6ab20e06d8d22eb1b07cffdac064160b87c55e6c251f80d3deeecf04e5e6a6ffec52d86fec0e4baa5550a83b WHIRLPOOL fd2d7daeeb807bb41d4e68fe65b44aad30c086523004ed3988415375cfcb6924afaa87f2f78981d939dd77a109b3698d890b29edcb827f46bdffcee0701390d8 +MISC metadata.xml 636 SHA256 54d29e99cba701b64026bd018be8deb10d0c76635aa71917a2b5040de2417b41 SHA512 5b71984f85b57680ea4d9432ee9aac7c4ed9d0df7082425fb650099338dad971985a56f8278ebb6c2eebe45d58272753682ffdbb9dfebeb54d6fd5d9539b77a4 WHIRLPOOL 8e973ab73a58796568275b1e2c05779cdf00b07f711c7973ff56bb4e39f9e6a5d63dd3cdaea6eecbfc27ccc3fdb14032debef0948e6c1f11c0a6a78e6e2d39e0 diff --git a/x11-wm/vtwm/files/vtwm-5.4.7-NO_SOUND_SUPPORT.patch b/x11-wm/vtwm/files/vtwm-5.4.7-NO_SOUND_SUPPORT.patch new file mode 100644 index 000000000000..2006d66519e2 --- /dev/null +++ b/x11-wm/vtwm/files/vtwm-5.4.7-NO_SOUND_SUPPORT.patch @@ -0,0 +1,35 @@ +* Remove all traces of sound support, even when Imakefile suggests uncommenting +* a variable is enough - JeR + +--- a/gram.y 2005-05-17 03:19:48.000000000 +0200 ++++ b/gram.y 2010-09-17 01:43:51.000000000 +0200 +@@ -339,8 +339,6 @@ + function + | ICONS { list = &Scr->IconNames; } + icon_list +- | SOUNDS +- sound_list + | COLOR { color = COLOR; } + color_list + | SAVECOLOR +@@ -743,20 +741,6 @@ + } + ; + +-/* djhjr - 6/22/01 */ +-sound_list : LB sound_entries RB +- ; +- +-/* djhjr - 6/22/01 */ +-sound_entries : /* Empty */ +- | sound_entries sound_entry +- ; +- +-/* djhjr - 8/16/01 */ +-sound_entry : string string { if (Scr->FirstTime) SetSound($1, $2, -1); } +- | string string number { if (Scr->FirstTime) SetSound($1, $2, $3); } +- ; +- + /* djhjr - 4/26/99 */ + applet_list : LB applet_entries RB + ; diff --git a/x11-wm/vtwm/files/vtwm-5.4.7-do-not-rm.patch b/x11-wm/vtwm/files/vtwm-5.4.7-do-not-rm.patch new file mode 100644 index 000000000000..170dd3dd9806 --- /dev/null +++ b/x11-wm/vtwm/files/vtwm-5.4.7-do-not-rm.patch @@ -0,0 +1,45 @@ +* Remove all pointless RM calls as this only results in rebuilding in +* src_install(). -JeR + + +--- a/Imakefile 2005-05-09 14:46:24.000000000 +0200 ++++ b/Imakefile 2010-09-17 02:07:22.000000000 +0200 +@@ -128,10 +128,8 @@ + depend:: lex.c gram.c deftwmrc.c lastmake.c vtwm.man + + all:: +- $(RM) deftwmrc.* lastmake.* + + install:: +- $(RM) deftwmrc.* lastmake.* + $(MAKE) install.man + + clean:: +@@ -144,7 +142,6 @@ + $(MV) y.tab.h gram.h + + deftwmrc.c: system.vtwmrc +- $(RM) $@ + echo '/* ' >>$@ + echo ' * This file is generated automatically from the default' >>$@ + echo ' * VTWM bindings file system.vtwmrc.'$(SYS_VTWMRC_LOOK)' by the VTWM Makefile.' >>$@ +@@ -155,7 +152,6 @@ + echo '(char *)0 };' >>$@ + + lastmake.c: +- $(RM) $@ + echo '/* ' >>$@ + echo ' * This file is generated automatically by the VTWM Makefile.' >>$@ + echo ' */' >>$@ +@@ -166,11 +162,9 @@ + echo ' "" };' >>$@ + + system.vtwmrc: +- $(RM) $@ + $(CP) $@.$(SYS_VTWMRC_LOOK) $@ + + vtwm.man: +- $(RM) $@ + $(LN) doc/$@ $@ + + XCOMM Handy for developers to check the man page diff --git a/x11-wm/vtwm/metadata.xml b/x11-wm/vtwm/metadata.xml new file mode 100644 index 000000000000..e73c1f81740f --- /dev/null +++ b/x11-wm/vtwm/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +<longdescription>VTWM, one of many TWM descendants, implements a Virtual + Desktop, meaning that what is currently on screen is just a portion of a + larger workspace. What portion of the virtual desktop that is displayed, + and whatever windows might be visible within it, are simple + point-and-click operations within a scaled representation of the + workspace.</longdescription> + <use> + <flag name="rplay">Enable rplay support, needed for sound.</flag> + </use> +</pkgmetadata> diff --git a/x11-wm/vtwm/vtwm-5.4.6a.ebuild b/x11-wm/vtwm/vtwm-5.4.6a.ebuild new file mode 100644 index 000000000000..f79f1888904d --- /dev/null +++ b/x11-wm/vtwm/vtwm-5.4.6a.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="one of many TWM descendants and implements a Virtual Desktop" +HOMEPAGE="http://www.vtwm.org/" +SRC_URI="ftp://ftp.visi.com/users/hawkeyd/X/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha ppc sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXmu + x11-libs/libXt + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-misc/imake + app-text/rman + x11-proto/xproto + x11-proto/xextproto" + +src_compile() { + xmkmf || die "xmkmf failed" + emake -j1 || die "emake failed" +} + +src_install() { + make BINDIR=/usr/bin \ + LIBDIR=/etc/X11 \ + MANPATH=/usr/share/man \ + DESTDIR="${D}" install || die "make install failed" + + echo "#!/bin/sh" > vtwm + echo "xsetroot -cursor_name left_ptr &" >> vtwm + echo "/usr/bin/vtwm" >> vtwm + exeinto /etc/X11/Sessions + doexe vtwm || die + dodoc doc/{4.6.*,CHANGELOG,BUGS,DEVELOPERS,HISTORY,SOUND,WISHLIST} || die +} diff --git a/x11-wm/vtwm/vtwm-5.4.7-r1.ebuild b/x11-wm/vtwm/vtwm-5.4.7-r1.ebuild new file mode 100644 index 000000000000..2b781fab571a --- /dev/null +++ b/x11-wm/vtwm/vtwm-5.4.7-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +inherit eutils toolchain-funcs + +DESCRIPTION="one of many TWM descendants and implements a Virtual Desktop" +HOMEPAGE="http://www.vtwm.org/" +SRC_URI="http://www.vtwm.org/downloads/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~ppc ~sparc ~x86" +IUSE="rplay" + +RDEPEND="x11-libs/libX11 + x11-libs/libXmu + x11-libs/libXt + x11-libs/libXext + x11-libs/libXpm + rplay? ( media-sound/rplay )" +DEPEND="${RDEPEND} + sys-devel/bison + sys-devel/flex + x11-misc/imake + app-text/rman + x11-proto/xproto + x11-proto/xextproto" + +src_prepare() { + epatch "${FILESDIR}"/${P}-do-not-rm.patch + sed -i Imakefile \ + -e 's:-L/usr/local/lib::g' \ + -e 's:-I/usr/local/include::g' \ + || die "sed Imakefile" + if ! use rplay ; then + sed -i Imakefile \ + -e 's:^XCOMM\ \(.*NO_SOUND\):\1:' \ + -e 's:^\(SOUNDLIB.*\):XCOMM\ \1:' \ + -e 's:sound\..::g' \ + || die "sed Imakefile" + epatch "${FILESDIR}"/${P}-NO_SOUND_SUPPORT.patch + fi +} + +src_configure() { + xmkmf || die "xmkmf failed" + emake depend || die "emake depend" +} + +src_compile() { + emake \ + CC=$(tc-getCC) \ + CCOPTIONS="${CFLAGS}" \ + EXTRA_LDOPTIONS="${LDFLAGS}" \ + || die "emake failed" +} + +src_install() { + emake BINDIR=/usr/bin \ + LIBDIR=/etc/X11 \ + MANPATH=/usr/share/man \ + DESTDIR="${D}" install || die "emake install failed" + + echo "#!/bin/sh" > vtwm + echo "xsetroot -cursor_name left_ptr &" >> vtwm + echo "/usr/bin/vtwm" >> vtwm + exeinto /etc/X11/Sessions + doexe vtwm || die + dodoc doc/{4.7.*,CHANGELOG,BUGS,DEVELOPERS,HISTORY,SOUND,WISHLIST} || die +} |