From 4b208b46d2503a109ab9c57f7bff734a6d0df32d Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Sat, 4 Jul 2015 15:10:25 +0300 Subject: [PATCH] newt moved into main for pisi 2.0 --- desktop/toolkit/newt/actions.py | 33 +++++++++++ desktop/toolkit/newt/pspec.xml | 85 +++++++++++++++++++++++++++ desktop/toolkit/newt/translations.xml | 13 ++++ 3 files changed, 131 insertions(+) create mode 100644 desktop/toolkit/newt/actions.py create mode 100644 desktop/toolkit/newt/pspec.xml create mode 100644 desktop/toolkit/newt/translations.xml diff --git a/desktop/toolkit/newt/actions.py b/desktop/toolkit/newt/actions.py new file mode 100644 index 0000000000..9d379e5e61 --- /dev/null +++ b/desktop/toolkit/newt/actions.py @@ -0,0 +1,33 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools + +def setup(): + # use python2.x + pisitools.dosed("configure", "(\/usr\/include\/)python\*", r"\1python2*") + # fix unused direct dependency + pisitools.dosed("Makefile.in", "(PLFLAGS=)`\$\$pyconfig --libs`", r"\1'-lpython2.7'") + pisitools.dosed("Makefile.in", "(PLDFLAGS=)`\$\$pyconfig --ldflags`", r"\1'-lpython2.7 -Xlinker -export-dynamic'") + + shelltools.echo("config.h.in", "#define USE_INTERP_RESULT 1") + shelltools.export("PYTHON", "/usr/bin/python2.7") + autotools.configure("\ + --with-gpm-support \ + ") + +def build(): + autotools.make() + +def install(): + autotools.install() + + # remove static lib + pisitools.remove("/usr/lib/libnewt.a") + + pisitools.dodoc("CHANGES", "COPYING") diff --git a/desktop/toolkit/newt/pspec.xml b/desktop/toolkit/newt/pspec.xml new file mode 100644 index 0000000000..927aa1b1e8 --- /dev/null +++ b/desktop/toolkit/newt/pspec.xml @@ -0,0 +1,85 @@ + + + + + newt + https://fedorahosted.org/newt/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + library + app:console + A windowing toolkit for text mode + newt is a windowing toolkit for text mode, which provides many widgets and stackable windows. + https://fedorahosted.org/releases/n/e/newt/newt-0.52.17.tar.gz + + tcl-devel + + + + + newt + + tcl + + + /usr/bin + /usr/lib + /usr/share/locale + /usr/share/doc + /usr/share/man + + + + + newt-devel + Development files for newt + + newt + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2014-07-05 + 0.52.17 + Version bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-11-05 + 0.52.16 + Version bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-08-26 + 0.52.14 + Release bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-01-30 + 0.52.14 + Build with new relaese Tcl + Erdinç Gültekin + admins@pisilinux.org + + + 2012-09-17 + 0.52.14 + First release + Serdar Soytetir + kaptan@pisilinux.org + + + \ No newline at end of file diff --git a/desktop/toolkit/newt/translations.xml b/desktop/toolkit/newt/translations.xml new file mode 100644 index 0000000000..5274ec3a68 --- /dev/null +++ b/desktop/toolkit/newt/translations.xml @@ -0,0 +1,13 @@ + + + + newt + Metin tabanlı bir pencere araç seti. + Newt, metin tabanlı bir pencere araç setidir. Pek çok alet ve istiflenebilir pencere sağlar. + + + + newt-devel + newt için geliştirme dosyaları + +