summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-10-29 03:49:10 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-10-29 03:49:10 +0000
commita1379a629168d2f4a1bfb6a545f4af25149aaca9 (patch)
tree7b09efa304a738beb4ad27809603ab8ab75d9662 /app-office/tpp/files
parentnet-news/raggle removal (pending 27th October 2013), due to ruby18 deprecation. (diff)
downloadhistorical-a1379a629168d2f4a1bfb6a545f4af25149aaca9.tar.gz
historical-a1379a629168d2f4a1bfb6a545f4af25149aaca9.tar.bz2
historical-a1379a629168d2f4a1bfb6a545f4af25149aaca9.zip
app-office/tpp removal (pending 27th October 2013), due to ruby18 deprecation.
Diffstat (limited to 'app-office/tpp/files')
-rw-r--r--app-office/tpp/files/tpp-1.3.1-Makefile.patch27
-rw-r--r--app-office/tpp/files/tpp-1.3.1-optional-exec.patch55
2 files changed, 0 insertions, 82 deletions
diff --git a/app-office/tpp/files/tpp-1.3.1-Makefile.patch b/app-office/tpp/files/tpp-1.3.1-Makefile.patch
deleted file mode 100644
index c388b6e229e5..000000000000
--- a/app-office/tpp/files/tpp-1.3.1-Makefile.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- tpp-1.3.1.orig/Makefile 2005-06-12 04:39:10.000000000 -0700
-+++ tpp-1.3.1/Makefile 2005-07-12 03:46:05.000000000 -0700
-@@ -3,10 +3,10 @@
- #################################################
-
- BIN = tpp
--prefix=/usr/local
--INSPATH= $(prefix)/bin/
--DOCPATH = $(prefix)/share/doc/tpp
--MANPATH = $(prefix)/share/man/man1
-+prefix=/usr
-+INSPATH= $(DESTDIR)$(prefix)/bin/
-+DOCPATH = $(DESTDIR)$(prefix)/share/doc/tpp-1.3.1
-+MANPATH = $(DESTDIR)$(prefix)/share/man/man1
-
- all:
- @echo "TPP doesn't need to be built. Run \`make install' in order to install it."
-@@ -14,7 +14,9 @@
- install :
- mkdir -p $(DOCPATH)
- install -m644 DESIGN CHANGES COPYING README THANKS $(DOCPATH)
-+ mkdir -p $(MANPATH)
- install -m644 doc/tpp.1 $(MANPATH)
-+ mkdir -p $(INSPATH)
- install tpp.rb $(INSPATH)$(BIN)
- mkdir -p $(DOCPATH)/contrib
- mkdir -p $(DOCPATH)/examples
diff --git a/app-office/tpp/files/tpp-1.3.1-optional-exec.patch b/app-office/tpp/files/tpp-1.3.1-optional-exec.patch
deleted file mode 100644
index 1ad08e83c06b..000000000000
--- a/app-office/tpp/files/tpp-1.3.1-optional-exec.patch
+++ /dev/null
@@ -1,55 +0,0 @@
---- tpp-1.3.1.orig/tpp.rb 2013-06-12 22:13:55.000000000 +0200
-+++ tpp-1.3.1/tpp.rb 2013-06-12 22:15:08.000000000 +0200
-@@ -725,9 +725,13 @@
- end
-
- def do_exec(cmdline)
-- rc = Kernel.system(cmdline)
-- if not rc then
-- # @todo: add error message
-+ if $execok then
-+ rc = Kernel.system(cmdline)
-+ if not rc then
-+ # @todo: add error message
-+ end
-+ else
-+ @screen.addstr("--exec disabled by default for security reasons. Use option -x to enable it.")
- end
- end
-
-@@ -1683,6 +1687,7 @@
- $stderr.puts "\t -t <type>\tset filetype <type> as output format"
- $stderr.puts "\t -o <file>\twrite output to file <file>"
- $stderr.puts "\t -s <seconds>\twait <seconds> seconds between slides (with -t autoplay)"
-+ $stderr.puts "\t -x\t\tallow parsing of --exec in input files"
- $stderr.puts "\t --version\tprint the version"
- $stderr.puts "\t --help\t\tprint this help"
- $stderr.puts "\n\t currently available types: ncurses (default), autoplay, latex, txt"
-@@ -1699,6 +1704,7 @@
- output = nil
- type = "ncurses"
- time = 1
-+$execok = nil
-
- skip_next = false
-
-@@ -1720,6 +1726,8 @@
- elsif ARGV[i] == "-s" then
- time = ARGV[i+1].to_i
- skip_next = true
-+ elsif ARGV[i] == "-x" then
-+ $execok = 1
- elsif input == nil then
- input = ARGV[i]
- end
---- tpp-1.3.1.orig/doc/tpp.1 2013-06-12 22:13:55.000000000 +0200
-+++ tpp-1.3.1/doc/tpp.1 2013-06-12 22:13:55.000000000 +0200
-@@ -20,6 +20,8 @@
- .TP
- -l output.tex input.tpp converts tpp slides into tex
- .TP
-+-x allow usage of "--exec"
-+.TP
- -v/--version display version number
-
- .SH KEYS