From 1a71026d39de5385380e9be1926ba4456e938025 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Sun, 5 Jul 2015 13:08:35 +0300 Subject: [PATCH] works for qt5-base --- .../gtk-theme-mediterranean/actions.py | 14 + .../gtk-theme-mediterranean/pspec.xml | 64 +++ .../gtk-theme-mediterranean/translations.xml | 8 + .../gtk2-engines-murrine/actions.py | 25 ++ .../gtk2-engines-murrine/pspec.xml | 60 +++ .../gtk2-engines-murrine/translations.xml | 8 + desktop/toolkit/gtk/gtk2/pspec.xml | 2 +- desktop/toolkit/qt5/qt5-base/pspec.xml | 15 +- hardware/misc/libmtdev/pspec.xml | 4 + multimedia/sound/speex/actions.py | 39 ++ multimedia/sound/speex/files/configure.patch | 32 ++ multimedia/sound/speex/files/constant.patch | 83 ++++ multimedia/sound/speex/pspec.xml | 81 ++++ multimedia/sound/speex/translations.xml | 18 + network/analyzer/avahi/actions.py | 63 +++ .../avahi/comar/avahi-daemon-package.py | 19 + .../avahi/comar/avahi-daemon-service.py | 25 ++ .../avahi/comar/avahi-dnsconfd-service.py | 29 ++ .../files/avahi-0.6.31-no-deprecations.patch | 22 + network/analyzer/avahi/files/avahi.conf | 1 + network/analyzer/avahi/pspec.xml | 404 ++++++++++++++++++ network/analyzer/avahi/translations.xml | 103 +++++ network/analyzer/component.xml | 3 + x11/library/freeglut/actions.py | 38 ++ x11/library/freeglut/pspec.xml | 121 ++++++ x11/library/freeglut/translations.xml | 20 + 26 files changed, 1288 insertions(+), 13 deletions(-) create mode 100644 desktop/lookandfeel/gtk-theme-mediterranean/actions.py create mode 100644 desktop/lookandfeel/gtk-theme-mediterranean/pspec.xml create mode 100644 desktop/lookandfeel/gtk-theme-mediterranean/translations.xml create mode 100644 desktop/lookandfeel/gtk2-engines-murrine/actions.py create mode 100644 desktop/lookandfeel/gtk2-engines-murrine/pspec.xml create mode 100644 desktop/lookandfeel/gtk2-engines-murrine/translations.xml create mode 100644 multimedia/sound/speex/actions.py create mode 100644 multimedia/sound/speex/files/configure.patch create mode 100644 multimedia/sound/speex/files/constant.patch create mode 100644 multimedia/sound/speex/pspec.xml create mode 100644 multimedia/sound/speex/translations.xml create mode 100644 network/analyzer/avahi/actions.py create mode 100644 network/analyzer/avahi/comar/avahi-daemon-package.py create mode 100644 network/analyzer/avahi/comar/avahi-daemon-service.py create mode 100644 network/analyzer/avahi/comar/avahi-dnsconfd-service.py create mode 100644 network/analyzer/avahi/files/avahi-0.6.31-no-deprecations.patch create mode 100644 network/analyzer/avahi/files/avahi.conf create mode 100644 network/analyzer/avahi/pspec.xml create mode 100644 network/analyzer/avahi/translations.xml create mode 100644 network/analyzer/component.xml create mode 100644 x11/library/freeglut/actions.py create mode 100644 x11/library/freeglut/pspec.xml create mode 100644 x11/library/freeglut/translations.xml diff --git a/desktop/lookandfeel/gtk-theme-mediterranean/actions.py b/desktop/lookandfeel/gtk-theme-mediterranean/actions.py new file mode 100644 index 0000000000..710f66b2e4 --- /dev/null +++ b/desktop/lookandfeel/gtk-theme-mediterranean/actions.py @@ -0,0 +1,14 @@ +#!/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 = "Work" + + +def install(): + + pisitools.insinto("/usr/share/themes", "*") diff --git a/desktop/lookandfeel/gtk-theme-mediterranean/pspec.xml b/desktop/lookandfeel/gtk-theme-mediterranean/pspec.xml new file mode 100644 index 0000000000..94e6721467 --- /dev/null +++ b/desktop/lookandfeel/gtk-theme-mediterranean/pspec.xml @@ -0,0 +1,64 @@ + + + + + gtk-theme-mediterranean + http://gnome-look.org/content/show.php/MediterraneanNight+Series?content=156782 + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + data + Great themes for GTK2 and GTK3 + Themes for GTK2 and GTK3. + https://dl.dropboxusercontent.com/u/80497678/MediterraneanNight-2.03.tar.gz + + + + gtk-theme-mediterranean + + gtk2-engines-murrine + gdk-pixbuf + + + /usr/share/themes/MediterraneanDark + /usr/share/themes/MediterraneanWhite + /usr/share/themes/MediterraneanLightDarkest + + + + gtk-theme-mediterranean-others + + gtk2-engines-murrine + gdk-pixbuf + + + /usr/share/themes + + + + + + 2014-02-06 + 2.03 + Add MediterraneanLightDarkest to main package. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-01-26 + 2.03 + Rebuild + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2013-10-05 + 2.0.3 + First release + Serdar Soytetir + kaptan@pisilinux.org + + + diff --git a/desktop/lookandfeel/gtk-theme-mediterranean/translations.xml b/desktop/lookandfeel/gtk-theme-mediterranean/translations.xml new file mode 100644 index 0000000000..72ec7f3178 --- /dev/null +++ b/desktop/lookandfeel/gtk-theme-mediterranean/translations.xml @@ -0,0 +1,8 @@ + + + + gtk-theme-mediterranean + GTK2 ve GTK3 için güzel temalar + GTK2 ve GTK3 için yazılmış tema paketleri. + + diff --git a/desktop/lookandfeel/gtk2-engines-murrine/actions.py b/desktop/lookandfeel/gtk2-engines-murrine/actions.py new file mode 100644 index 0000000000..1d775dd948 --- /dev/null +++ b/desktop/lookandfeel/gtk2-engines-murrine/actions.py @@ -0,0 +1,25 @@ +#!/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 + +WorkDir = "murrine-%s" % get.srcVERSION() + +def setup(): + autotools.configure("--disable-static \ + --enable-animation") + + pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ") + +def build(): + autotools.make() + +def install(): + autotools.install() + + pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS") diff --git a/desktop/lookandfeel/gtk2-engines-murrine/pspec.xml b/desktop/lookandfeel/gtk2-engines-murrine/pspec.xml new file mode 100644 index 0000000000..32bd2fbaeb --- /dev/null +++ b/desktop/lookandfeel/gtk2-engines-murrine/pspec.xml @@ -0,0 +1,60 @@ + + + + + gtk2-engines-murrine + http://cimitan.com/murrine/project/murrine + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + library + GTK+ Murrine theme engine + The Murrine engine is a cairo-based GTK+ theming tool. It's very fast compared to clearlooks-cairo. Murrine includes animations and a unique style. + mirrors://gnome/murrine/0.98/murrine-0.98.2.tar.xz + + gtk2-devel + glib2-devel + intltool + + + + + gtk2-engines-murrine + + gtk2 + + glib2 + + + /usr/lib + /usr/share/doc + /usr/share/gtk-engines + + + + + + 2014-02-07 + 0.98.2 + Remove gtk2 runtime dep to avoid cyclic deps. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-08-17 + 0.98.2 + Release bump + Erdinç Gültekin + erdinc@pisilinux.org + + + 2012-06-10 + 0.98.2 + First release + Erdinç Gültekin + admins@pisilinux.org + + + diff --git a/desktop/lookandfeel/gtk2-engines-murrine/translations.xml b/desktop/lookandfeel/gtk2-engines-murrine/translations.xml new file mode 100644 index 0000000000..a3b7b03427 --- /dev/null +++ b/desktop/lookandfeel/gtk2-engines-murrine/translations.xml @@ -0,0 +1,8 @@ + + + + gtk2-engines-murrine + GTK+ Murrine tema motoru + Murrine motoru, Cairo tabanlı GTK+ tema aracıdır. Clearlooks temasına göre çok daha hızlıdır. Aynı zamanda canlandırmalar, benzersiz biçemler içerir. + + diff --git a/desktop/toolkit/gtk/gtk2/pspec.xml b/desktop/toolkit/gtk/gtk2/pspec.xml index 8aa3012002..f46dc4d330 100644 --- a/desktop/toolkit/gtk/gtk2/pspec.xml +++ b/desktop/toolkit/gtk/gtk2/pspec.xml @@ -64,7 +64,7 @@ pango gdk-pixbuf dejavu-fonts - gtk-theme-mediterranean + /etc diff --git a/desktop/toolkit/qt5/qt5-base/pspec.xml b/desktop/toolkit/qt5/qt5-base/pspec.xml index cfad7f908c..bedbc2ea4c 100644 --- a/desktop/toolkit/qt5/qt5-base/pspec.xml +++ b/desktop/toolkit/qt5/qt5-base/pspec.xml @@ -13,18 +13,15 @@ LGPLv2.1-linking-exception http://download.qt.io/official_releases/qt/5.4/5.4.2/submodules/qtbase-opensource-src-5.4.2.tar.xz - alsa-lib-devel at-spi2-core-devel cups-devel dbus-devel zlib-devel glib2-devel + libpcre-devel desktop-file-utils fontconfig-devel - gperf - gst-plugins-base-devel - gstreamer-devel gtk2-devel harfbuzz-devel icon-theme-hicolor @@ -32,9 +29,6 @@ firebird-superserver libjpeg-turbo-devel mariadb-lib - libmng-devel - pulseaudio-libs-devel - webp-devel libxcb-devel libXcomposite-devel libxkbcommon-devel @@ -42,11 +36,10 @@ mesa-devel libmtdev-devel nss-devel - openal-devel pciutils-devel postgresql-server python-devel - ruby-devel + sqlite-devel unixODBC-devel xcb-proto @@ -56,9 +49,8 @@ xcb-util-wm-devel tiff-devel libdrm-devel - DirectFB-devel libpng-devel - libudev-devel + eudev-devel libSM-devel libICE-devel libX11-devel @@ -95,7 +87,6 @@ libICE libX11 libdrm - DirectFB libpng libxcb libudev diff --git a/hardware/misc/libmtdev/pspec.xml b/hardware/misc/libmtdev/pspec.xml index 85f68c1e03..918a1ecbee 100644 --- a/hardware/misc/libmtdev/pspec.xml +++ b/hardware/misc/libmtdev/pspec.xml @@ -41,8 +41,12 @@ emul32 32-bit shared libraries for libmtdev emul32 + + glibc-32bit + libmtdev + glibc-32bit /usr/lib32 diff --git a/multimedia/sound/speex/actions.py b/multimedia/sound/speex/actions.py new file mode 100644 index 0000000000..bca5a90e5e --- /dev/null +++ b/multimedia/sound/speex/actions.py @@ -0,0 +1,39 @@ +#!/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 +from pisi.actionsapi import get + +def setup(): + shelltools.export("CFLAGS", "%s -D_FILE_OFFSET_BITS=64" % get.CFLAGS()) + + pisitools.dosed("libspeex/Makefile.am", "noinst_PROGRAMS", "check_PROGRAMS") + + options = "--enable-ogg \ + --enable-sse \ + --disable-static" + + if get.buildTYPE() == "emul32": + # ogg only affects the executables so it's safe to disable for emul32 + options += " --libdir=/usr/lib32 --disable-ogg" + shelltools.export("CFLAGS", "%s -m32" % get.CFLAGS()) + + autotools.autoreconf("-vif") + autotools.configure(options) + + # Remove rpath from speexenc and speexdec + pisitools.dosed("libtool", "^hardcode_libdir_flag_spec=.*", "hardcode_libdir_flag_spec=\"\"") + pisitools.dosed("libtool", "^runpath_var=LD_RUN_PATH", "runpath_var=DIE_RPATH_DIE") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s docdir=/usr/share/doc/speex" % get.installDIR()) + + pisitools.dodoc("README") diff --git a/multimedia/sound/speex/files/configure.patch b/multimedia/sound/speex/files/configure.patch new file mode 100644 index 0000000000..17457576b6 --- /dev/null +++ b/multimedia/sound/speex/files/configure.patch @@ -0,0 +1,32 @@ +Index: speex-1.2rc1/configure.ac +=================================================================== +--- speex-1.2rc1.orig/configure.ac ++++ speex-1.2rc1/configure.ac +@@ -112,9 +112,6 @@ AC_MSG_RESULT($has_visibility) + + AC_CHECK_HEADERS(sys/soundcard.h sys/audioio.h) + +-XIPH_PATH_OGG([src="src"], [src=""]) +-AC_SUBST(src) +- + AC_CHECK_LIB(m, sin) + + # Check for getopt_long; if not found, use included source. +@@ -139,10 +136,16 @@ AC_ARG_ENABLE(valgrind, [ --enable-valg + AC_DEFINE([ENABLE_VALGRIND], , [Enable valgrind extra checks]) + fi]) + ++AC_ARG_ENABLE(ogg, [ --enable-ogg Enable OGG support], [if test "$enableval" = yes; then ++ XIPH_PATH_OGG([src="src"], [src=""]) ++ AC_SUBST(src) ++fi ++]) ++ + AC_ARG_ENABLE(sse, [ --enable-sse Enable SSE support], [ + if test "x$enableval" != xno; then + has_sse=yes +-CFLAGS="$CFLAGS -O3 -msse" ++CFLAGS="$CFLAGS -msse" + else + has_sse=no + fi diff --git a/multimedia/sound/speex/files/constant.patch b/multimedia/sound/speex/files/constant.patch new file mode 100644 index 0000000000..5f881333c6 --- /dev/null +++ b/multimedia/sound/speex/files/constant.patch @@ -0,0 +1,83 @@ +Index: speex-1.2beta3/libspeex/resample.c +=================================================================== +--- speex-1.2beta3.orig/libspeex/resample.c ++++ speex-1.2beta3/libspeex/resample.c +@@ -130,7 +130,7 @@ struct SpeexResamplerState_ { + int out_stride; + } ; + +-static double kaiser12_table[68] = { ++static const double kaiser12_table[68] = { + 0.99859849, 1.00000000, 0.99859849, 0.99440475, 0.98745105, 0.97779076, + 0.96549770, 0.95066529, 0.93340547, 0.91384741, 0.89213598, 0.86843014, + 0.84290116, 0.81573067, 0.78710866, 0.75723148, 0.72629970, 0.69451601, +@@ -144,7 +144,7 @@ static double kaiser12_table[68] = { + 0.00105297, 0.00069463, 0.00043489, 0.00025272, 0.00013031, 0.0000527734, + 0.00001000, 0.00000000}; + /* +-static double kaiser12_table[36] = { ++static const double kaiser12_table[36] = { + 0.99440475, 1.00000000, 0.99440475, 0.97779076, 0.95066529, 0.91384741, + 0.86843014, 0.81573067, 0.75723148, 0.69451601, 0.62920216, 0.56287762, + 0.49704014, 0.43304576, 0.37206735, 0.31506490, 0.26276832, 0.21567274, +@@ -152,7 +152,7 @@ static double kaiser12_table[36] = { + 0.03111947, 0.02127838, 0.01402878, 0.00886058, 0.00531256, 0.00298291, + 0.00153438, 0.00069463, 0.00025272, 0.0000527734, 0.00000500, 0.00000000}; + */ +-static double kaiser10_table[36] = { ++static const double kaiser10_table[36] = { + 0.99537781, 1.00000000, 0.99537781, 0.98162644, 0.95908712, 0.92831446, + 0.89005583, 0.84522401, 0.79486424, 0.74011713, 0.68217934, 0.62226347, + 0.56155915, 0.50119680, 0.44221549, 0.38553619, 0.33194107, 0.28205962, +@@ -160,7 +160,7 @@ static double kaiser10_table[36] = { + 0.05731132, 0.04193980, 0.02979584, 0.02044510, 0.01345224, 0.00839739, + 0.00488951, 0.00257636, 0.00115101, 0.00035515, 0.00000000, 0.00000000}; + +-static double kaiser8_table[36] = { ++static const double kaiser8_table[36] = { + 0.99635258, 1.00000000, 0.99635258, 0.98548012, 0.96759014, 0.94302200, + 0.91223751, 0.87580811, 0.83439927, 0.78875245, 0.73966538, 0.68797126, + 0.63451750, 0.58014482, 0.52566725, 0.47185369, 0.41941150, 0.36897272, +@@ -168,7 +168,7 @@ static double kaiser8_table[36] = { + 0.10562887, 0.08273982, 0.06335451, 0.04724088, 0.03412321, 0.02369490, + 0.01563093, 0.00959968, 0.00527363, 0.00233883, 0.00050000, 0.00000000}; + +-static double kaiser6_table[36] = { ++static const double kaiser6_table[36] = { + 0.99733006, 1.00000000, 0.99733006, 0.98935595, 0.97618418, 0.95799003, + 0.93501423, 0.90755855, 0.87598009, 0.84068475, 0.80211977, 0.76076565, + 0.71712752, 0.67172623, 0.62508937, 0.57774224, 0.53019925, 0.48295561, +@@ -177,19 +177,19 @@ static double kaiser6_table[36] = { + 0.05031820, 0.03607231, 0.02432151, 0.01487334, 0.00752000, 0.00000000}; + + struct FuncDef { +- double *table; ++ const double *table; + int oversample; + }; + +-static struct FuncDef _KAISER12 = {kaiser12_table, 64}; ++static const struct FuncDef _KAISER12 = {kaiser12_table, 64}; + #define KAISER12 (&_KAISER12) + /*static struct FuncDef _KAISER12 = {kaiser12_table, 32}; + #define KAISER12 (&_KAISER12)*/ +-static struct FuncDef _KAISER10 = {kaiser10_table, 32}; ++static const struct FuncDef _KAISER10 = {kaiser10_table, 32}; + #define KAISER10 (&_KAISER10) +-static struct FuncDef _KAISER8 = {kaiser8_table, 32}; ++static const struct FuncDef _KAISER8 = {kaiser8_table, 32}; + #define KAISER8 (&_KAISER8) +-static struct FuncDef _KAISER6 = {kaiser6_table, 32}; ++static const struct FuncDef _KAISER6 = {kaiser6_table, 32}; + #define KAISER6 (&_KAISER6) + + struct QualityMapping { +@@ -197,7 +197,7 @@ struct QualityMapping { + int oversample; + float downsample_bandwidth; + float upsample_bandwidth; +- struct FuncDef *window_func; ++ const struct FuncDef *window_func; + }; + + diff --git a/multimedia/sound/speex/pspec.xml b/multimedia/sound/speex/pspec.xml new file mode 100644 index 0000000000..2ef7e09f92 --- /dev/null +++ b/multimedia/sound/speex/pspec.xml @@ -0,0 +1,81 @@ + + + + + speex + http://www.speex.org/ + + PisiLinux Community + admins@pisilinux.org + + xiph + app:console + Audio compression format designed for speech and its converter application + speex is an Open Source/Free Software patent-free audio compression format designed for speech. The Speex Project aims to lower the barrier of entry for voice applications by providing a free alternative to expensive proprietary speech codecs. The package also contains a command-line tool to convert to/from Speex codec. + http://downloads.us.xiph.org/releases/speex/speex-1.2rc1.tar.gz + + libogg-devel + + + constant.patch + configure.patch + + + + + speex + + libogg + + + /usr/bin + /usr/share/man + /usr/lib + /usr/share/doc + + + + + speex-devel + Development files for speex + + speex + + + /usr/include + /usr/share/aclocal + /usr/lib/pkgconfig + /usr/lib32/pkgconfig + + + + + speex-32bit + emul32 + 32-bit shared libraries for speex + emul32 + + speex + + + /usr/lib32 + + + + + + 2014-05-20 + 1.2_rc1 + Rebuild. + Serdar Soytetir + kaptan@pisilinux.org + + + 2011-03-01 + 1.2_rc1 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/multimedia/sound/speex/translations.xml b/multimedia/sound/speex/translations.xml new file mode 100644 index 0000000000..384d450765 --- /dev/null +++ b/multimedia/sound/speex/translations.xml @@ -0,0 +1,18 @@ + + + + speex + Konuşma için tasarlanmış bir ses sıkıştırma biçimi kütüphanesi ve araçları + speex, konuşma için tasarlanmış özgür ve açık kaynaklı bir ses sıkıştırma biçimidir. Paket kütüphanenin yanında speex biçimine/biçiminden dönüştürme yapmak için gerekli araçları içerir. + + + + speex-devel + speex için geliştirme dosyaları + + + + speex-32bit + speex için 32-bit paylaşımlı kitaplıklar + + diff --git a/network/analyzer/avahi/actions.py b/network/analyzer/avahi/actions.py new file mode 100644 index 0000000000..46a3e9d1b8 --- /dev/null +++ b/network/analyzer/avahi/actions.py @@ -0,0 +1,63 @@ +#!/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 get +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools + +def setup(): + pisitools.dosed("avahi-daemon/avahi-daemon.conf", "^#(disallow-other-stacks=)no", "\\1yes") + + # fix avahi socket path + pisitools.dosed('configure.ac', '^(avahi_runtime_dir=")\$\{localstatedir\}(\/run")', r'\1\2') + + autotools.autoreconf("-fi") + # --with-systemdsystemunitdir=/lib/systemd/system + autotools.configure("\ + --with-distro=none \ + --disable-monodoc \ + --disable-static \ + --disable-xmltoman \ + --disable-qt3 \ + --disable-qt4 \ + --disable-doxygen-doc \ + --enable-glib \ + --enable-gobject \ + --enable-introspection \ + --disable-mono \ + --enable-gtk3 \ + --enable-compat-howl \ + --enable-compat-libdns_sd \ + --with-avahi-user=avahi \ + --with-avahi-group=avahi \ + --with-autoipd-user=avahi-autoipd \ + --with-autoipd-group=avahi-autoipd \ + --with-avahi-priv-access-group=avahi \ + --with-dbus-system-address=unix:path=/run/dbus/system_bus_socket \ + ") + + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + # Add missing symlinks for avahi-compat-howl and avahi-compat-dns-sd + pisitools.dosym("/usr/lib/pkgconfig/avahi-compat-howl.pc", "/usr/lib/pkgconfig/howl.pc") + pisitools.dosym("/usr/lib/pkgconfig/avahi-compat-libdns_sd.pc", "/usr/lib/pkgconfig/libdns_sd.pc") + pisitools.dosym("/usr/include/avahi-compat-libdns_sd/dns_sd.h", "/usr/include/dns_sd.h") + + # Remove example + pisitools.remove("/etc/avahi/services/sftp-ssh.service") + + pisitools.dodir("/run/avahi-daemon") + pisitools.dodir("/var/lib/avahi-autoipd") + + pisitools.dodoc("docs/AUTHORS", "docs/README", "docs/TODO") + + pisitools.removeDir("var/run") \ No newline at end of file diff --git a/network/analyzer/avahi/comar/avahi-daemon-package.py b/network/analyzer/avahi/comar/avahi-daemon-package.py new file mode 100644 index 0000000000..2c2248ef21 --- /dev/null +++ b/network/analyzer/avahi/comar/avahi-daemon-package.py @@ -0,0 +1,19 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +import os +import shutil + +ownerships = { + "/run/avahi-daemon" : "avahi:avahi", + } + +def postInstall(fromVersion, fromRelease, toVersion, toRelease): + for directory,owners in ownerships.items(): + if os.path.exists(directory): + os.system("/bin/chown %s %s" % (owners, directory)) + + if os.path.exists("/etc/localtime"): + if not os.path.isdir("/etc/avahi/etc"): + os.makedirs("/etc/avahi/etc") + shutil.copy("/etc/localtime", "/etc/avahi/etc/localtime") diff --git a/network/analyzer/avahi/comar/avahi-daemon-service.py b/network/analyzer/avahi/comar/avahi-daemon-service.py new file mode 100644 index 0000000000..1414adf72b --- /dev/null +++ b/network/analyzer/avahi/comar/avahi-daemon-service.py @@ -0,0 +1,25 @@ +from comar.service import * + +serviceType="server" +serviceDesc = _({"en": "Avahi Server", + "tr": "Avahi Hizmeti"}) + +@synchronized +def start(): + startService(command="/usr/sbin/avahi-daemon", + args="-D", + donotify=True) + +@synchronized +def stop(): + stopService(command="/usr/sbin/avahi-daemon", + args="-k", + donotify=True) + +def reload(): + stopService(command="/usr/sbin/avahi-daemon", + args="-r", + donotify=True) + +def status(): + return isServiceRunning("/run/avahi-daemon/pid") diff --git a/network/analyzer/avahi/comar/avahi-dnsconfd-service.py b/network/analyzer/avahi/comar/avahi-dnsconfd-service.py new file mode 100644 index 0000000000..bcf46320d9 --- /dev/null +++ b/network/analyzer/avahi/comar/avahi-dnsconfd-service.py @@ -0,0 +1,29 @@ +from comar.service import * +import signal + +serviceType="server" +serviceDesc = _({"en": "Avahi DNS Configuration Daemon", + "tr": "Avahi DNS Yapılandırma Hizmeti"}) + +PIDFILE = "/run/avahi-dnsconfd.pid" +DAEMON = "/usr/sbin/avahi-dnsconfd" + +@synchronized +def start(): + startDependencies("avahi") + startService(command=DAEMON, + args="-D", + donotify=True) + +@synchronized +def stop(): + stopService(pidfile=PIDFILE, + donotify=True) + +@synchronized +def reload(): + stopService(command=DAEMON, + signal=signal.SIGHUP) + +def status(): + return isServiceRunning(pidfile=PIDFILE) diff --git a/network/analyzer/avahi/files/avahi-0.6.31-no-deprecations.patch b/network/analyzer/avahi/files/avahi-0.6.31-no-deprecations.patch new file mode 100644 index 0000000000..9ca9d38dec --- /dev/null +++ b/network/analyzer/avahi/files/avahi-0.6.31-no-deprecations.patch @@ -0,0 +1,22 @@ +--- avahi-0.6.31/avahi-ui/Makefile.am.orig 2013-09-21 16:47:28.677659361 +0200 ++++ avahi-0.6.31/avahi-ui/Makefile.am 2013-09-21 16:47:34.852520537 +0200 +@@ -15,7 +15,7 @@ + # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + # USA. + +-AM_CFLAGS=-I$(top_srcdir) -DG_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DGTK_DISABLE_DEPRECATED=1 ++AM_CFLAGS=-I$(top_srcdir) + + # This cool debug trap works on i386/gcc only + AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")' +--- avahi-0.6.31/configure.ac.orig 2013-09-21 16:46:43.750669413 +0200 ++++ avahi-0.6.31/configure.ac 2013-09-21 16:47:02.566246400 +0200 +@@ -92,7 +92,7 @@ + AC_MSG_CHECKING([whether stack-smashing protection is available]) + ssp_old_cflags="$CFLAGS" + ssp_old_ldflags="$LDFLAGS" +- CFLAGS="$CFLAGS -Werror -fstack-protector-all -fPIC" ++ CFLAGS="$CFLAGS -fstack-protector-all -fPIC" + LDFLAGS="$LDFLAGS -Wl,-z,defs" + cat confdefs.h > conftest.c + cat >>conftest.c <<_ACEOF diff --git a/network/analyzer/avahi/files/avahi.conf b/network/analyzer/avahi/files/avahi.conf new file mode 100644 index 0000000000..0abe0e5732 --- /dev/null +++ b/network/analyzer/avahi/files/avahi.conf @@ -0,0 +1 @@ +d /run/avahi-daemon 0755 avahi avahi \ No newline at end of file diff --git a/network/analyzer/avahi/pspec.xml b/network/analyzer/avahi/pspec.xml new file mode 100644 index 0000000000..988686ca36 --- /dev/null +++ b/network/analyzer/avahi/pspec.xml @@ -0,0 +1,404 @@ + + + + + avahi + http://avahi.org/ + + PisiLinux Community + admins@pisilinux.org + + LGPLv2 + app:console + Local network service discovery + avahi is a system which facilitates service discovery on a local network. This means that you can plug your laptop or computer into a network and instantly be able to view other people who you can chat with, find printers to print to or find files being shared. + http://avahi.org/download/avahi-0.6.31.tar.gz + + gtk2-devel + gtk3-devel + + libcap-devel + libdaemon-devel + python-gtk-devel + + + avahi-0.6.31-no-deprecations.patch + + + + + avahi-glib + Libraries for easy use of avahi from glib applications + + avahi + avahi-libs + + + /usr/lib/libavahi-glib.* + /usr/lib/libavahi-gobject.* + + + + avahi-glib-devel + Development files for avahi-glib + + avahi-glib + avahi-devel + + + /usr/include/avahi-glib + /usr/include/avahi-gobject + /usr/lib/pkgconfig/avahi-glib.pc + /usr/lib/pkgconfig/avahi-gobject.pc + + + + + + + avahi-ui + Gtk user interface library for Avahi + + gtk2 + avahi-libs + avahi-glib + atk + cairo + pango + gdk-pixbuf + fontconfig + + + /usr/lib/libavahi-ui.so* + + + + + avahi-ui-devel + Development files for avahi-ui + + gtk2-devel + avahi-ui + avahi-devel + avahi-glib-devel + + + /usr/include/avahi-ui + /usr/lib/pkgconfig/avahi-ui.pc + + + + + avahi-ui-gtk3 + Gtk3 user interface library for Avahi + + gtk3 + avahi-libs + avahi-glib + atk + cairo + pango + gdk-pixbuf + + + /usr/lib/libavahi-ui-gtk3.so* + + + + + avahi-ui-gtk3-devel + Development files for avahi-ui-gtk3 + + gtk2-devel + avahi-ui-gtk3 + avahi-devel + avahi-glib-devel + gtk3-devel + + + /usr/lib/pkgconfig/avahi-ui-gtk3.pc + + + + + avahi-ui-tools + UI tools for mDNS browsing + + gtk3 + python-gtk + avahi + avahi-ui + avahi-glib + avahi-ui-gtk3 + avahi-libs + gtk3 + + + /usr/lib/python*/site-packages + /usr/bin/b* + /usr/bin/avahi-discover* + /usr/bin/avahi-bookmarks + /usr/share/man/man1/b* + /usr/share/man/man1/avahi-discover* + /usr/share/man/man1/avahi-bookmarks* + /usr/share/avahi/interfaces + /usr/share/applications/b* + /usr/share/applications/avahi-discover.desktop + + + + + avahi-compat-howl + Libraries for howl compatibility + + avahi + avahi-libs + + + /usr/lib/libhowl.so* + + + + + avahi-compat-howl-devel + Development files for avahi-compat-howl + + avahi-compat-howl + + + /usr/include/avahi-compat-howl + /usr/lib/pkgconfig/avahi-compat-howl.pc + /usr/lib/pkgconfig/howl.pc + + + + + avahi-compat-libdns_sd + Libraries for Apple Bonjour mDNSResponder compatibility + + avahi + avahi-libs + + + /usr/lib/libdns_sd.so* + + + + + avahi-compat-libdns_sd-devel + Development files for avahi-compat-libdns_sd + + avahi-compat-libdns_sd + + + /usr/include/avahi-compat-libdns_sd + /usr/include/dns_sd.h + /usr/lib/pkgconfig/avahi-compat-libdns_sd.pc + /usr/lib/pkgconfig/libdns_sd.pc + + + + + avahi-libs + Libraries needed to run programs that use avahi + + /usr/lib/libavahi-common.so* + /usr/lib/libavahi-client.so* + + + + + avahi + + libdaemon + avahi-libs + + + /usr/sbin/avahi-daemon + /usr/lib/libavahi-core.so* + /etc/avahi/avahi-daemon.conf + /etc/avahi/hosts + /etc/avahi/services/ssh.service + /etc/dbus-1/system.d/avahi-dbus.conf + /usr/share/avahi + /usr/share/dbus-1/interfaces/*.xml + /usr/share/dbus-1/system-services + /usr/lib/avahi/service* + /lib/systemd/system + /usr/share/locale + /usr/share/doc + /usr/share/man/man5/* + /usr/share/man/man8/avahi-daemon.* + /run/avahi-daemon + /usr/lib/tmpfiles.d/avahi.conf + + + avahi.conf + + + System.Service + System.Package + + + + + avahi-autoipd + Link-local IPv4 address automatic configuration daemon (IPv4LL) + + libdaemon + + + /etc/avahi/avahi-autoipd.action + /usr/sbin/avahi-autoipd + /usr/share/man/man8/avahi-autoipd.* + /var/lib/avahi-autoipd + + + + + avahi-dnsconfd + Configure local unicast DNS settings based on information published in mDNS + + libdaemon + avahi + avahi-libs + + + /etc/avahi/avahi-dnsconfd.action + /usr/sbin/avahi-dnsconfd + /usr/share/man/man8/avahi-dnsconfd.* + + + System.Service + + + + + avahi-tools + Command line tools for mDNS browsing and publishing + + avahi + avahi-libs + + + /usr/bin + /usr/share/man/man1 + + + + + avahi-devel + Development files for avahi + + avahi-libs + + + /usr/lib/pkgconfig/avahi-core.pc + /usr/lib/pkgconfig/avahi-client.pc + /usr/lib/girepository-1.0 + /usr/share/gir-1.0 + /usr/include/avahi-client + /usr/include/avahi-common + /usr/include/avahi-core + + + + + + 2014-05-20 + 0.6.31 + Rebuild. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-01-24 + 0.6.31 + rebuild for unused + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-01-08 + 0.6.31 + Add avahi.conf, fix build + Marcin Bojara + marcin@pisilinux.org + + + 2013-08-17 + 0.6.31 + Fix deps + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2013-06-27 + 0.6.31 + Fix avahi-daemon.conf + Marcin Bojara + marcin@pisilinux.org + + + 2013-05-03 + 0.6.31 + Avahi-ui-gtk3 added + PisiLinux Community + admins@pisilinux.org + + + 2013-04-23 + 0.6.31 + Dep fixed + PisiLinux Community + admins@pisilinux.org + + + 2012-10-05 + 0.6.31 + First release + Erdem Artan + admins@pisilinux.org + + + diff --git a/network/analyzer/avahi/translations.xml b/network/analyzer/avahi/translations.xml new file mode 100644 index 0000000000..0a955989d2 --- /dev/null +++ b/network/analyzer/avahi/translations.xml @@ -0,0 +1,103 @@ + + + + avahi + Yerel ağ hizmeti bulma sistemi + avahi yerel ağ üzerindeki hizmetleri tespit etmeyi kolaylaştıran bir sistemdir. Bu sayede, bilgisayarınızı ağa dahil ettikten sonra anında mevcut bilgisayarları ve yazıcıları görebilir ve kullanabilirsiniz. + + + + avahi-devel + avahi için geliştirme dosyaları + + + + avahi-glib + Glib uygulamalarında avahi kullanımını kolaylaştıran kitaplıklar + + + + avahi-glib-devel + avahi-glib için geliştirme dosyaları + + + + avahi-sharp + Mono uygulamalarında avahi kullanımını kolaylaştıran kitaplıklar + + + + avahi-ui-sharp + avahi-ui için Mono dil bağlayıcıları + + + + avahi-ui-sharp-devel + avahi-ui-sharp için geliştirme dosyaları + + + + avahi-ui + avahi için geliştirme dosyaları + + + + avahi-ui-devel + avahi-ui için geliştirme dosyaları + + + + avahi-ui-gtk3 + avahi-gtk3, Gtk3 user interface library for Avahi + + + + avahi-ui-gtk3-devel + avahi-ui-gtk3 için geliştirme dosyaları + + + + avahi-ui-tools + Grafiksel mDNS tarama araçları + + + + avahi-compat-howl + howl uyumluluk kitaplıkları + + + + avahi-compat-howl-devel + avahi-compat-howl için geliştirme dosyaları + + + + avahi-compat-libdns_sd + libdns_sd uyumluluk kitaplıkları + + + + avahi-compat-libdns_sd-devel + avahi-compat-libdns_sd için geliştirme dosyaları + + + + avahi-libs + Avahi kullanan uygulamaları çalıştırmak için gerekli kitaplıklar + + + + avahi-autoipd + Link-local IPv4 adresi otomatik yapılandırma hizmeti (IPv4LL) + + + + avahi-dnsconfd + Yerel unicast DNS ayarlarını mDNS üzerinden gelen bilgilere göre yapılandırma hizmeti + + + + avahi-tools + mDNS taramak ve yayınlamak için komut satırı araçları + + diff --git a/network/analyzer/component.xml b/network/analyzer/component.xml new file mode 100644 index 0000000000..8f39797520 --- /dev/null +++ b/network/analyzer/component.xml @@ -0,0 +1,3 @@ + + network.analyzer + diff --git a/x11/library/freeglut/actions.py b/x11/library/freeglut/actions.py new file mode 100644 index 0000000000..4316ca50f8 --- /dev/null +++ b/x11/library/freeglut/actions.py @@ -0,0 +1,38 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/copyleft/gpl.txt. + +from pisi.actionsapi import cmaketools +from pisi.actionsapi import shelltools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + options = "\-DCMAKE_BUILD_TYPE=Release \ + " + + if get.buildTYPE() == "emul32": + + shelltools.export("CFLAGS", "-m32") + shelltools.export("CXXFLAGS", "-m32") + + options += "-DCMAKE_INSTALL_LIBDIR=lib32 \ + " + + elif get.ARCH() == "x86_64": + + options += "-DCMAKE_INSTALL_LIBDIR=lib \ + " + + cmaketools.configure(options) + +def build(): + cmaketools.make() + +def install(): + cmaketools.install() + + pisitools.dodoc("AUTHORS", "ChangeLog", "README") + pisitools.dohtml("doc/*") diff --git a/x11/library/freeglut/pspec.xml b/x11/library/freeglut/pspec.xml new file mode 100644 index 0000000000..61e7a2234b --- /dev/null +++ b/x11/library/freeglut/pspec.xml @@ -0,0 +1,121 @@ + + + + + freeglut + http://freeglut.sourceforge.net/ + + PisiLinux Community + admins@pisilinux.org + + MIT + library + The OpenGL Utility Toolkit (Freeglut) + Freeglut is the OpenGL Utility Toolkit, a window system independent toolkit for writing OpenGL programs. It implements a simple windowing application programming interface (API) for OpenGL. Freeglut makes it considerably easier to learn about and explore OpenGL Programming. + mirrors://sourceforge/freeglut/freeglut-3.0.0.tar.gz + + mesa-devel + libX11-devel + libXi-devel + libXxf86vm-devel + libXext-devel + libXrandr-devel + cmake + + + + + freeglut + + mesa + libX11 + libXi + libXxf86vm + libXrandr + + + /usr/lib + /usr/share/doc/freeglut + + + + + freeglut-devel + Development files for freeglut + + freeglut + + + /usr/include + + + + + freeglut-32bit + emul32 + 32-bit shared libraries for freeglut + emul32 + + mesa-32bit + libXi-32bit + libX11-32bit + libXxf86vm-32bit + libXrandr-32bit + + + freeglut + mesa-32bit + libXi-32bit + libXxf86vm-32bit + libX11-32bit + libXrandr-32bit + + + /usr/lib32 + + + + + 2015-04-27 + 3.0.0 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-05-16 + 2.8.1 + Release bump. + Marcin Bojara + marcin@pisilinux.org + + + 2014-01-25 + 2.8.1 + rebuild unused + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2013-10-08 + 2.8.1 + verbump to 2.8.1 , Rebuild, clean emul32 installation. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2013-08-25 + 2.8.0 + Release bump. + Marcin Bojara + marcin@pisilinux.org + + + 2012-10-13 + 2.8.0 + First release + Marcin Bojara + marcin@pisilinux.org + + + diff --git a/x11/library/freeglut/translations.xml b/x11/library/freeglut/translations.xml new file mode 100644 index 0000000000..ebee90b5e2 --- /dev/null +++ b/x11/library/freeglut/translations.xml @@ -0,0 +1,20 @@ + + + + freeglut + OpenGL Araç Kiti (Freeglut) + Freeglut, OpenGL programlarını yazmak için bağımsız araç kutusu pencere sistemin olan bir OpenGL Hizmeti Araç Takımıdır. OpenGl için basit bir pencere uygulama proglaması arayüzü (API) sağlar. Freeglut, OpenGL Programlamasını keşfetmek öğrenmek isteyenler için kolaylıklar sağlar. + Freeglut est la boîte à outils utilitaire d'OpenGL, une boîte à outils indépendante du système de fenêtrage pour écrire des programmes OpenGL. Il implémente une Interface de Programmation d'Application (API) de fenêtrage pour OpenGL. Freeglut facilite considérablement l'apprentissage et l'exploration de la programmation en OpenGL. + Freeglut es la caja de herramientas de OpenGL, con herramientas para crear programas OpenGL, independientemente del sistema de ventanas. Facilita una simple interfaz de programación de aplicaciones (API) con ventanas para OpanGL. Freeglut facilita considerablemente el aprendizaje y exploración de la programación OpenGL. + + + + freeglut-devel + freeglut için geliştirme dosyaları + + + + freeglut-32bit + freeglut için 32-bit paylaşımlı kitaplıklar + +