summaryrefslogtreecommitdiff
path: root/app-misc/vittk
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 /app-misc/vittk
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/vittk')
-rw-r--r--app-misc/vittk/Manifest8
-rw-r--r--app-misc/vittk/files/vittk-1.1.1-dirs.patch66
-rw-r--r--app-misc/vittk/files/vittk-1.3-configure.patch32
-rw-r--r--app-misc/vittk/files/vittk-1.3-makefile.patch87
-rw-r--r--app-misc/vittk/metadata.xml10
-rw-r--r--app-misc/vittk/vittk-1.3.ebuild32
6 files changed, 235 insertions, 0 deletions
diff --git a/app-misc/vittk/Manifest b/app-misc/vittk/Manifest
new file mode 100644
index 000000000000..ea0ff21a954b
--- /dev/null
+++ b/app-misc/vittk/Manifest
@@ -0,0 +1,8 @@
+AUX vittk-1.1.1-dirs.patch 2540 SHA256 4f6ff22840e04b6d5b26adcd99187e927af500db34a38a5f01deeaa1d50b9ecc SHA512 bd2a32082d22c52d7f5db18795189562b06c7b5178276b2034e5614419879c2c32056a77991ce33f397c743630b38457effb0ed2ad6e5b53c4c160a0f83727ac WHIRLPOOL 33dc03bcbd71aad1739a330f0ca4f7a2f23773c9f8b96d924ec0bb063004e88b08ac137e64853595d053bd0b418c197cd6725268963207a37f0792e6f158be13
+AUX vittk-1.3-configure.patch 831 SHA256 b1327821e68d50d8a7de59716156077f8b2722d25a638bfda5da7a91ef5306d7 SHA512 b5a8032822643125687e8282b3fb775fb008156674c19485f70ab1aee9424cdc73294978f67f0b04c0dd765903d9be032a807086233b9a5dd1fdd7a04cabb5d8 WHIRLPOOL 60a6680b2cf8a99fb15185ef588802a98ad47719f45708bd78c24fefcdfa35a5df872d854597c54a7e9036fec932ba225920d08067475884c48e86afc592b661
+AUX vittk-1.3-makefile.patch 3750 SHA256 07a0355dd6b9cedfa59e9e3be588bebf3bb05563048358452f96dcedd64bad37 SHA512 c8d59448ae96f3c25925aa707778079da52ec343e84252c4e03c2f9b6d8a3bffca21f03e0798c9ab7d66994bd6adcd3eded9ae4126ca8cef2a7f8a825e9a1c89 WHIRLPOOL 2bf4805845779b22e10eadf112f30ff113c63dab4ad3e398232258e72f8ad3fcbace8787285358e581d48e16211ffa14922de75b23dbe340590ee05beea50c7b
+DIST vittk-1.3.tar.gz 71921 SHA256 da672b7845855211644a5a0771500cffb1756c579d57dc33e2dabc5b86d8a5dd SHA512 feda4eda7780a5a2a51acbc4c4d47ba5b88c3c01c82ae8715e7822700843e0d7de365b786554db59f7e40dbdff6f6bb0083a2126b1b082586504d8d16112af6d WHIRLPOOL 2bdd3d08e67afc0e4b12e8bd7e2bc6a6803683bfcd816330ea2ee2639256c618f96eec44d51723c280cbc5764f24a27ce925b3278e30c4b9fd06b1e134eb9ab7
+EBUILD vittk-1.3.ebuild 671 SHA256 11c07a33e64f1d0497d024026ed0591550972af43ef08c10f04c3ef9bbb7e761 SHA512 d27e434a6fa1d108dcbfd49660b1b9a1728ff5df48fd14bbfa3a307b843f3c550981e94ad521e15537a714e7eb9dff62014658f7c2f88aa3c9fecb2b752dc8d8 WHIRLPOOL 0fcaeea1134d846a47fcc1622bb13b87faf39cf44e72e6f7fc405aef8a16a41e3246a0bc39b38d842fe07a690dcbde60f0d86735ef895813ee75ceb9699e5f73
+MISC ChangeLog 2706 SHA256 2dd53ea0d517140ffd7d2910b5720ef714aead53c59a924a77c59b1b997b9959 SHA512 5ba06c653eea4d6c4b2ae0f0aea1751433e8d92e156932a75654eafff8aa6f0efa67c0ef583503c3688435603087284d2905f12afce8122891935fa98531edee WHIRLPOOL 0aecb83623e10ece3751b5f3eb81d433ab47cfc67754ef1611b7b625ec0b7cef11bddb3408833cbbf1ef777dc4239333a9558fb5572093167f352fb92242cdc8
+MISC ChangeLog-2015 1029 SHA256 225456417757c686d3d2b5fe622e531026188e54557e969b7b4cff9301fd7004 SHA512 25efc2ca5faa25b18f599e9240d200cdfe9b0d9bdaa550632b0c6b51607ab73889b06fcbf1594a1e0084017b4786f8b4e9a1c5c228790fdb7c7855bffbb6011a WHIRLPOOL d562ffa70775b0a70a3255c97734129a501c7c11afe0b4e866b93f2670455e40100644e374ece3c0a1355929557e34795c8448e4991e06844c115c911bf5af35
+MISC metadata.xml 390 SHA256 a79258f88ffea75734502947c40b9c760ae866e7757cad8d0e8fe220a062bc20 SHA512 22fe059e8490e1a6a338aafcd8257cd121e629ed52cd80a95b8a57061e8ca2b0483f6fe4a5926e85b533ff60d96dfe8d7c6ec31bfc91f2b621ca0ecc86462b79 WHIRLPOOL f7eac3205a3e713c68108860d12b6dd7cbe65d97001b6f7fd1fefd388796c30e378ba54bd54ee6e1b953155561bb69c11d459a8fe289466ede19474d97eb9aa0
diff --git a/app-misc/vittk/files/vittk-1.1.1-dirs.patch b/app-misc/vittk/files/vittk-1.1.1-dirs.patch
new file mode 100644
index 000000000000..050d1bcded01
--- /dev/null
+++ b/app-misc/vittk/files/vittk-1.1.1-dirs.patch
@@ -0,0 +1,66 @@
+--- vittk-1.1.1.orig/vittk.in
++++ vittk-1.1.1/vittk.in
+@@ -17,7 +17,7 @@
+
+ set font "@FONT@"
+ set system_task_cmd "ls"
+-set system_vittkrc "@prefix@/etc/vittkrc"
++set system_vittkrc "@sysconfdir@/vittkrc"
+ set task "@TASK@"
+ set ver "@VER@"
+
+@@ -28,8 +28,8 @@
+ source ./vars.tcl
+ set auto_path ". $auto_path"
+ } else {
+- source @prefix@/lib/vittk/vars.tcl
+- set auto_path "@prefix@/lib/vittk $auto_path"
++ source @libdir@/vittk/vars.tcl
++ set auto_path "@libdir@/vittk $auto_path"
+ }
+
+ ReadRcs
+--- vittk-1.1.1.orig/vittk.man.in
++++ vittk-1.1.1/vittk.man.in
+@@ -89,13 +89,13 @@
+ in Taskwarrior. At this time, various other parts of the VITtk color
+ scheme can only be changed system-wide by altering the variables in
+ .br
+-@prefix@/lib/vars.tcl.
++@libdir@/vars.tcl.
+ .SH FONTS
+ VITtk requires a fixed-width font for it's columns to align correctly.
+ The default font "TkFixedFont" has been set to ensure this happens. You can
+ use other Xwindows fonts by using the -fn option or your ~/.vittkrc file.
+ Instructions for browsing fixed-width fonts can be found in the
+-/usr/local/share/doc/vittk/Fonts file. If you specify a proportional font
++@docdir@/Fonts file. If you specify a proportional font
+ (you will get a warning message and) the VITtk display will probably look very
+ bad, and if you use the -fn option with the name of a non-existent font then
+ VITtk will default the default tcl/tkfont (e.g. "fixed") without warning.
+@@ -103,20 +103,20 @@
+ fixed-width, so care should be taken to specify an existing font.
+ .SH SETTINGS
+ There are a number of settings which allow you to "remotely control"
+-many aspects of VITtk. Refer to the @prefix@/etc/vittkrc file for more
++many aspects of VITtk. Refer to the @sysconfdir@/vittkrc file for more
+ information. There are also some settings which are hard-coded
+ (e.g. how long feedback messages are displayed.) These could be
+-changed sytem-wide by editing @prefix@/lib/vars.tcl.
++changed sytem-wide by editing @libdir@/vars.tcl.
+ .SH FILES
+-@prefix@/etc/vittkrc - the system-wide VITtk configuration file
++@sysconfdir@/vittkrc - the system-wide VITtk configuration file
+ .br
+ ~/.vittkrc - user VITtk configuration file
+ .br
+ /tmp/vittk-$USER.log - VITtk actions log
+ .br
+-@prefix@/share/doc/vittk/README - quick start and more information
++@docdir@/README - quick start and more information
+ .br
+-@prefix@/share/doc/vittk/Tutorial - a brief VITtk tutoral
++@docdir@/Tutorial - a brief VITtk tutoral
+ .SH CREDITS & COPYRIGHT
+ VITtk was written by Steve Rader (C) 2011.
+
diff --git a/app-misc/vittk/files/vittk-1.3-configure.patch b/app-misc/vittk/files/vittk-1.3-configure.patch
new file mode 100644
index 000000000000..b45464bfb8b1
--- /dev/null
+++ b/app-misc/vittk/files/vittk-1.3-configure.patch
@@ -0,0 +1,32 @@
+--- vittk-1.3/configure.in.orig
++++ vittk-1.3/configure.in
+@@ -14,11 +14,11 @@
+ fi
+ AC_SUBST(BASH)
+
+-AC_PATH_PROG(WISH, wish, NOT_FOUND)
+-if test "$WISH" = "NOT_FOUND"; then
+- AC_MSG_ERROR([can not continue: wish not found])
++AC_PATH_PROG(TCLSH, tclsh, NOT_FOUND)
++if test "$TCLSH" = "NOT_FOUND"; then
++ AC_MSG_ERROR([can not continue: tclsh not found])
+ fi
+-AC_SUBST(WISH)
++AC_SUBST(TCLSH)
+
+ AC_PATH_PROG(TASK, task, NOT_FOUND)
+ if test "$TASK" = "NOT_FOUND"; then
+@@ -30,12 +30,9 @@
+ AC_SUBST(FONT)
+
+ AC_OUTPUT(task-startstop task-undo Makefile vittk.man vittk)
+-chmod 755 task-startstop
+-chmod 755 task-undo
+-chmod 755 vittk
+
+ echo creating ./tclIndex
+-echo "auto_mkindex `pwd`; exit" | $WISH
++echo "auto_mkindex `pwd`; exit" | $TCLSH
+
+ echo "./configure is done"
+ echo "now do \"sudo make install\" or \"make install\""
diff --git a/app-misc/vittk/files/vittk-1.3-makefile.patch b/app-misc/vittk/files/vittk-1.3-makefile.patch
new file mode 100644
index 000000000000..a7148fdf64dc
--- /dev/null
+++ b/app-misc/vittk/files/vittk-1.3-makefile.patch
@@ -0,0 +1,87 @@
+--- vittk-1.3/Makefile.in.orig
++++ vittk-1.3/Makefile.in
+@@ -10,45 +10,45 @@
+ @echo "usage: make install"
+
+ install:
+- @if [ ! -d @prefix@/bin ]; then \
+- echo mkdir -p @prefix@/bin ; \
+- mkdir -p @prefix@/bin ; \
++ @if [ ! -d $(DESTDIR)@prefix@/bin ]; then \
++ echo mkdir -p $(DESTDIR)@prefix@/bin ; \
++ mkdir -p $(DESTDIR)@prefix@/bin ; \
+ fi
+- @if [ ! -d @prefix@/share/doc/vittk ]; then \
+- echo mkdir -p @prefix@/share/doc/vittk ; \
+- mkdir -p @prefix@/share/doc/vittk ; \
++ @if [ ! -d $(DESTDIR)@docdir@ ]; then \
++ echo mkdir -p $(DESTDIR)@docdir@ ; \
++ mkdir -p $(DESTDIR)@docdir@ ; \
+ fi
+- @echo installing documentation in @prefix@/share/doc/vittk
+- @$(INSTALL) -c -m 644 Caveats @prefix@/share/doc/vittk/Caveats
+- @$(INSTALL) -c -m 644 Fonts @prefix@/share/doc/vittk/Fonts
+- @$(INSTALL) -c -m 644 README @prefix@/share/doc/vittk/README
+- @$(INSTALL) -c -m 644 Tutorial @prefix@/share/doc/vittk/Tutorial
+- @$(INSTALL) -c -m 644 WhatsNew @prefix@/share/doc/vittk/WhatsNew
+- @echo installing man page in @prefix@/man/man1
+- @if [ ! -d @prefix@/man/man1 ]; then \
+- echo mkdir -p @prefix@/man/man1 ; \
+- mkdir -p @prefix@/man/man1 ; \
++ @echo installing documentation in $(DESTDIR)@docdir@
++ @$(INSTALL) -c -m 644 Caveats $(DESTDIR)@docdir@/Caveats
++ @$(INSTALL) -c -m 644 Fonts $(DESTDIR)@docdir@/Fonts
++ @$(INSTALL) -c -m 644 README $(DESTDIR)@docdir@/README
++ @$(INSTALL) -c -m 644 Tutorial $(DESTDIR)@docdir@/Tutorial
++ @$(INSTALL) -c -m 644 WhatsNew $(DESTDIR)@docdir@/WhatsNew
++ @echo installing man page in $(DESTDIR)@mandir@/man1
++ @if [ ! -d $(DESTDIR)@mandir@/man1 ]; then \
++ echo mkdir -p $(DESTDIR)@mandir@/man1 ; \
++ mkdir -p $(DESTDIR)@mandir@/man1 ; \
+ fi
+- @$(INSTALL) -c -m 644 vittk.man @prefix@/man/man1/vittk.1
+- @echo installing vittkrc in @prefix@/etc
+- @$(INSTALL) -c -m 644 vittkrc @prefix@/etc/vittkrc
+- @if [ ! -d @prefix@/libexec/vittk ]; then \
+- echo mkdir -p @prefix@/libexec/vittk ; \
+- mkdir -p @prefix@/libexec/vittk ; \
++ @$(INSTALL) -c -m 644 vittk.man $(DESTDIR)@mandir@/man1/vittk.1
++ @echo installing vittkrc in $(DESTDIR)@sysconfdir@
++ @$(INSTALL) -c -m 644 vittkrc $(DESTDIR)@sysconfdir@/vittkrc
++ @if [ ! -d $(DESTDIR)@prefix@/libexec/vittk ]; then \
++ echo mkdir -p $(DESTDIR)@prefix@/libexec/vittk ; \
++ mkdir -p $(DESTDIR)@prefix@/libexec/vittk ; \
+ fi
+- @echo installing task-startstop in @prefix@/libexec/vittk
+- @$(INSTALL) -c -m 755 task-startstop @prefix@/libexec/vittk/task-startstop
+- @echo installing task-undo in @prefix@/libexec/vittk
+- @$(INSTALL) -c -m 755 task-undo @prefix@/libexec/vittk/task-undo
+- @echo installing .tcl files and tclIndex in @prefix@/lib/vittk
+- @if [ ! -d @prefix@/lib/vittk ]; then \
+- echo mkdir -p @prefix@/lib/vittk ; \
+- mkdir -p @prefix@/lib/vittk ; \
++ @echo installing task-startstop in $(DESTDIR)@prefix@/libexec/vittk
++ @$(INSTALL) -c -m 755 task-startstop $(DESTDIR)@prefix@/libexec/vittk/task-startstop
++ @echo installing task-undo in $(DESTDIR)@prefix@/libexec/vittk
++ @$(INSTALL) -c -m 755 task-undo $(DESTDIR)@prefix@/libexec/vittk/task-undo
++ @echo installing .tcl files and tclIndex in $(DESTDIR)@libdir@/vittk
++ @if [ ! -d $(DESTDIR)@libdir@/vittk ]; then \
++ echo mkdir -p $(DESTDIR)@libdir@/vittk ; \
++ mkdir -p $(DESTDIR)@libdir@/vittk ; \
+ fi
+- @cp *.tcl @prefix@/lib/vittk
+- @cp tclIndex @prefix@/lib/vittk
+- @echo installing vittk in @prefix@/bin
+- @$(INSTALL) -c -m 755 vittk @prefix@/bin/vittk
++ @cp *.tcl $(DESTDIR)@libdir@/vittk
++ @cp tclIndex $(DESTDIR)@libdir@/vittk
++ @echo installing vittk in $(DESTDIR)@prefix@/bin
++ @$(INSTALL) -c -m 755 vittk $(DESTDIR)@prefix@/bin/vittk
+
+ autoconf:
+ @make -f .makefile autoconf
+@@ -61,3 +61,4 @@
+ dogfood:
+ @make -f .makefile dogfood
+
++check:
diff --git a/app-misc/vittk/metadata.xml b/app-misc/vittk/metadata.xml
new file mode 100644
index 000000000000..3667ce87214b
--- /dev/null
+++ b/app-misc/vittk/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+<longdescription lang="en">
+ A comprehensive front end for Taskwarrior (<pkg>app-misc/task</pkg>) that
+ provides a fullscreen emulated terminal window with modes and commands
+ modeled after the vi editor.
+</longdescription>
+</pkgmetadata>
diff --git a/app-misc/vittk/vittk-1.3.ebuild b/app-misc/vittk/vittk-1.3.ebuild
new file mode 100644
index 000000000000..c53b6a2df04a
--- /dev/null
+++ b/app-misc/vittk/vittk-1.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils autotools
+
+DESCRIPTION="A front end for Taskwarrior (app-misc/task)"
+HOMEPAGE="http://taskwarrior.org/wiki/taskwarrior/Vittk"
+SRC_URI="http://taskwarrior.org/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-lang/tcl:0"
+RDEPEND="${DEPEND}
+ dev-lang/tk:0
+ app-misc/task"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-configure.patch \
+ "${FILESDIR}"/${P}-makefile.patch \
+ "${FILESDIR}"/${PN}-1.1.1-dirs.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf --docdir="${EPREFIX}"/usr/share/doc/${PF}
+}