Package Details: tpp 1.3.1-3

Git Clone URL: https://aur.archlinux.org/tpp.git (read-only, click to copy)
Package Base: tpp
Description: A text presentation program in ncurses, LaTeX, or text.
Upstream URL: http://www.ngolde.de/tpp.html
Licenses: GPL
Submitter: None
Maintainer: None
Last Packager: Dragonlord
Votes: 27
Popularity: 0.000000
First Submitted: 2007-04-14 20:00 (UTC)
Last Updated: 2015-08-03 18:32 (UTC)

Latest Comments

« First ‹ Previous 1 2

Bersam commented on 2013-06-07 21:13 (UTC)

Due new changes on package function, you should change this line: make prefix=$startdir/pkg/usr install to: make prefix=$pkgdir/usr install or it will create an empty package.

erikw commented on 2013-03-16 21:57 (UTC)

The ruby-ncurses issue should have been fixed upstream according to https://bugzilla.redhat.com/show_bug.cgi?id=822814.

Ambrevar commented on 2012-05-15 20:30 (UTC)

That's right, I succeeded in running tpp by recompiling ruby-ncurses with a little patch as described here: http://www.ruby-forum.com/topic/215406. So, first replace all STR2CSTR: cd src/ sed -i 's/STR2CSTR/StringValuePtr/g' form_wrap.c menu_wrap.c ncurses_wrap.c and apply the two following patches : -------------------------------------- $ diff form_wrap.c form_wrap.c.b 626,627c626 < VALUE tmp = rb_ary_entry(arg3, (long)i); < list[i] = StringValuePtr(tmp); --- > list[i] = STR2CSTR(rb_ary_entry(arg3, (long)i)); -------------------------------------- $ diff ncurses_wrap.c ncurses_wrap.c.b ... 2244,2245d2243 < VALUE tmp = rb_funcall3(rb_mKernel, rb_intern("sprintf"), argc-1, < argv + 1); 2247c2245,2246 < (VALUE)StringValuePtr(tmp)); --- > STR2CSTR(rb_funcall3(rb_mKernel, rb_intern("sprintf"), argc-1, > argv + 1)));

Ambrevar commented on 2012-05-15 20:23 (UTC)

That's right, I succeeded in running tpp by recompiling ruby-ncurses with a little patch as described here: http://www.ruby-forum.com/topic/215406. So, first replace all STR2CSTR: cd src/ sed -i 's/STR2CSTR/StringValuePtr/g' form_wrap.c menu_wrap.c ncurses_wrap.c and apply the two following patches : -------------------------------------- $ diff form_wrap.c form_wrap.c.b 626,627c626 < VALUE tmp = rb_ary_entry(arg3, (long)i); < list[i] = StringValuePtr(tmp); --- > list[i] = STR2CSTR(rb_ary_entry(arg3, (long)i)); -------------------------------------- $ diff ncurses_wrap.c ncurses_wrap.c.b ... 2244,2245d2243 < VALUE tmp = rb_funcall3(rb_mKernel, rb_intern("sprintf"), argc-1, < argv + 1); 2247c2245,2246 < (VALUE)StringValuePtr(tmp)); --- > STR2CSTR(rb_funcall3(rb_mKernel, rb_intern("sprintf"), argc-1, > argv + 1)));

hollunder commented on 2012-05-13 08:42 (UTC)

Don't flag out of date if it doesn't work. Flag out of date if there is a new stable version.

<deleted-account> commented on 2012-05-11 17:16 (UTC)

undefined symbol: STR2CSTR is actually a ruby-ncurses problem, not a tpp one.

hollunder commented on 2010-12-02 11:32 (UTC)

ruby: symbol lookup error: /usr/lib/ruby/site_ruby/1.9.1/x86_64-linux/ncurses_bin.so: undefined symbol: STR2CSTR