From adbda64d3d7786a494ac3b7a7e2f0435837059f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Fri, 1 Apr 2016 18:28:10 +0300 Subject: [PATCH] libupnp and liberation-fonts in main --- desktop/font/liberation-fonts/actions.py | 15 ++++++ desktop/font/liberation-fonts/pspec.xml | 39 ++++++++++++++ .../font/liberation-fonts/translations.xml | 8 +++ network/analyzer/libupnp/actions.py | 30 +++++++++++ .../analyzer/libupnp/files/pthread-flag.patch | 13 +++++ network/analyzer/libupnp/pspec.xml | 54 +++++++++++++++++++ network/analyzer/libupnp/translations.xml | 14 +++++ 7 files changed, 173 insertions(+) create mode 100644 desktop/font/liberation-fonts/actions.py create mode 100644 desktop/font/liberation-fonts/pspec.xml create mode 100644 desktop/font/liberation-fonts/translations.xml create mode 100644 network/analyzer/libupnp/actions.py create mode 100644 network/analyzer/libupnp/files/pthread-flag.patch create mode 100644 network/analyzer/libupnp/pspec.xml create mode 100644 network/analyzer/libupnp/translations.xml diff --git a/desktop/font/liberation-fonts/actions.py b/desktop/font/liberation-fonts/actions.py new file mode 100644 index 0000000000..a78c15fc8f --- /dev/null +++ b/desktop/font/liberation-fonts/actions.py @@ -0,0 +1,15 @@ +#!/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 pisitools + +WorkDir = "liberation-fonts-ttf-2.00.0" + + +def install(): + pisitools.insinto("/usr/share/fonts/liberation-fonts/", "*.ttf") + + pisitools.dodoc("LICENSE", "AUTHORS", "ChangeLog", "README") diff --git a/desktop/font/liberation-fonts/pspec.xml b/desktop/font/liberation-fonts/pspec.xml new file mode 100644 index 0000000000..1655487f87 --- /dev/null +++ b/desktop/font/liberation-fonts/pspec.xml @@ -0,0 +1,39 @@ + + + + + + liberation-fonts + https://fedorahosted.org/liberation-fonts/ + + Sezai Yeniay + sezaiyeniay@pisilinux.org + + GPLv2 + data:font + Font collection similar to ones found in Microsoft Windows + A set of fonts similar to Microsoft Windows fonts. There are three sets: Sans (a substitute for Arial, Albany, Helvetica, Nimbus Sans L, and Bitstream Vera Sans), Serif (a substitute for Times New Roman, Thorndale, Nimbus Roman, and Bitstream Vera Serif) and Mono (a substitute for Courier New, Cumberland, Courier, Nimbus Mono L, and Bitstream Vera Sans Mono). + http://dev-www.libreoffice.org/src/cfbf1ac6f61bf6cf45342a0cc9381be5-liberation-fonts-ttf-2.00.0.tar.gz + + fontforge + + + + + liberation-fonts + + /usr/share/fonts + /usr/share/doc + + + + + + 2014-03-09 + 2.00.0 + First release + Kamil Atlı + suvarice@gmail.com + + + diff --git a/desktop/font/liberation-fonts/translations.xml b/desktop/font/liberation-fonts/translations.xml new file mode 100644 index 0000000000..5ce00aa949 --- /dev/null +++ b/desktop/font/liberation-fonts/translations.xml @@ -0,0 +1,8 @@ + + + + liberation-fonts + Microsoft Windows fontlarına benzeyen bir dizi font ailesi + liberation-fonts MS Windows fontlarına benzer bir yazı tipi ailesidir. Sans, serif ve mono olmak üzere 3 setten oluşur. + + diff --git a/network/analyzer/libupnp/actions.py b/network/analyzer/libupnp/actions.py new file mode 100644 index 0000000000..8031d72885 --- /dev/null +++ b/network/analyzer/libupnp/actions.py @@ -0,0 +1,30 @@ +#!/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 get + +def setup(): + # autotools.autoreconf("-vif") + autotools.configure("--disable-static \ + --without-docdir") + #FIXME: documentation is temporarily disabled since update release 7. + #--with-documentation=/usr/share/doc/%s" % get.srcNAME()) + + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + +def build(): + autotools.make() + +def check(): + autotools.make("check") + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + #pisitools.remove("/usr/share/doc/libupnp/IXML_Programming_Guide.pdf") + #pisitools.remove("/usr/share/doc/libupnp/UPnP_Programming_Guide.pdf") + diff --git a/network/analyzer/libupnp/files/pthread-flag.patch b/network/analyzer/libupnp/files/pthread-flag.patch new file mode 100644 index 0000000000..2718e9a993 --- /dev/null +++ b/network/analyzer/libupnp/files/pthread-flag.patch @@ -0,0 +1,13 @@ +Index: libupnp-1.6.6/m4/acx_pthread.m4 +=================================================================== +--- libupnp-1.6.6.orig/m4/acx_pthread.m4 ++++ libupnp-1.6.6/m4/acx_pthread.m4 +@@ -146,7 +146,7 @@ acx_pthread_flags="pthreads none -Kthrea + # pthread-config: use pthread-config program (for GNU Pth library) + + case "${host_cpu}-${host_os}" in +- *solaris*) ++ *solaris*|*linux*) + + # On Solaris (at least, for some versions), libc contains stubbed + # (non-functional) versions of the pthreads routines, so link-based diff --git a/network/analyzer/libupnp/pspec.xml b/network/analyzer/libupnp/pspec.xml new file mode 100644 index 0000000000..d8b712f32f --- /dev/null +++ b/network/analyzer/libupnp/pspec.xml @@ -0,0 +1,54 @@ + + + + + + libupnp + http://pupnp.sourceforge.net/ + + PisiLinux Community + admins@pisilinux.org + + BSD + library + Portable UPnP library + The Universal Plug and Play (UPnP) SDK for Linux provides support for building UPnP-compliant control points, devices, and bridges on Linux. + http://sourceforge.net/projects/pupnp/files/pupnp/libUPnP%201.6.19/libupnp-1.6.19.tar.bz2 + + kernel-headers + + + pthread-flag.patch + + + + + libupnp + + /usr/lib + /usr/share/doc + + + + + libupnp-devel + Development files for libupnp + + libupnp + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2014-05-31 + 1.6.19 + First release + Alihan Öztürk + alihan@pisilinux.org + + + diff --git a/network/analyzer/libupnp/translations.xml b/network/analyzer/libupnp/translations.xml new file mode 100644 index 0000000000..5125a80090 --- /dev/null +++ b/network/analyzer/libupnp/translations.xml @@ -0,0 +1,14 @@ + + + + libupnp + Taşınabilir UPnP kitaplığı + Librairie UPnP. + Portabels UPnP Bibliothek + + + + libupnp-devel + libupnp için geliştirme dosyaları + +