From c3e440a4113ebcc71effbeedb3fd0bb8e3d355d7 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Sun, 13 Dec 2020 08:50:58 +0000 Subject: [PATCH 1/2] music player daemon. --- multimedia/plugin/libmpdclient/actions.py | 20 ++ multimedia/plugin/libmpdclient/pspec.xml | 60 ++++++ .../plugin/libmpdclient/translations.xml | 22 ++ multimedia/sound/faac/actions.py | 15 +- multimedia/sound/faac/pspec.xml | 172 ++++++++-------- multimedia/sound/faac/translations.xml | 16 +- multimedia/sound/faad2/actions.py | 15 +- multimedia/sound/faad2/pspec.xml | 189 +++++++++--------- multimedia/sound/faad2/translations.xml | 18 +- multimedia/stream/mpd/actions.py | 105 ++++++++++ multimedia/stream/mpd/comar/package.py | 15 ++ multimedia/stream/mpd/comar/service.py | 29 +++ multimedia/stream/mpd/files/tmpfiles.conf | 1 + multimedia/stream/mpd/pspec.xml | 167 ++++++++++++++++ multimedia/stream/mpd/translations.xml | 8 + network/analyzer/libupnp/actions.py | 13 +- network/analyzer/libupnp/pspec.xml | 22 +- network/connection/libnfs/actions.py | 32 +++ network/connection/libnfs/pspec.xml | 73 +++++++ network/connection/libnfs/translations.xml | 10 + programming/library/liburing/actions.py | 19 ++ programming/library/liburing/pspec.xml | 68 +++++++ 22 files changed, 868 insertions(+), 221 deletions(-) create mode 100644 multimedia/plugin/libmpdclient/actions.py create mode 100644 multimedia/plugin/libmpdclient/pspec.xml create mode 100644 multimedia/plugin/libmpdclient/translations.xml create mode 100644 multimedia/stream/mpd/actions.py create mode 100644 multimedia/stream/mpd/comar/package.py create mode 100644 multimedia/stream/mpd/comar/service.py create mode 100644 multimedia/stream/mpd/files/tmpfiles.conf create mode 100644 multimedia/stream/mpd/pspec.xml create mode 100644 multimedia/stream/mpd/translations.xml create mode 100644 network/connection/libnfs/actions.py create mode 100644 network/connection/libnfs/pspec.xml create mode 100644 network/connection/libnfs/translations.xml create mode 100644 programming/library/liburing/actions.py create mode 100644 programming/library/liburing/pspec.xml diff --git a/multimedia/plugin/libmpdclient/actions.py b/multimedia/plugin/libmpdclient/actions.py new file mode 100644 index 0000000000..f4a064ccdd --- /dev/null +++ b/multimedia/plugin/libmpdclient/actions.py @@ -0,0 +1,20 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import mesontools +from pisi.actionsapi import pisitools + +def setup(): + mesontools.configure("-Dtcp=true") + +def build(): + mesontools.build() + +def install(): + mesontools.install() + + pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README.rst") + diff --git a/multimedia/plugin/libmpdclient/pspec.xml b/multimedia/plugin/libmpdclient/pspec.xml new file mode 100644 index 0000000000..caade7ad2d --- /dev/null +++ b/multimedia/plugin/libmpdclient/pspec.xml @@ -0,0 +1,60 @@ + + + + + libmpdclient + https://www.musicpd.org/libs/libmpdclient/ + + PisiLinux Community + admins@pisilinux.org + + BSD + library + multimedia.plugin + C library to implement a MPD client + + A stable, documented, asynchronous API library for interfacing MPD in the C, C++ and Objective C languages. + + + https://musicpd.org/download/libmpdclient/2/libmpdclient-2.19.tar.xz + + + meson + + + + + libmpdclient + + vala + glib2 + + + /usr/lib + /usr/share + /usr/share/doc + + + + + libmpdclient-devel + + libmpdclient + + + /usr/lib/pkgconfig + /usr/include + + + + + + 2020-12-13 + 2.19 + First Beta release. + fury + wascheme@tuta.io + + + + diff --git a/multimedia/plugin/libmpdclient/translations.xml b/multimedia/plugin/libmpdclient/translations.xml new file mode 100644 index 0000000000..009c6ed86b --- /dev/null +++ b/multimedia/plugin/libmpdclient/translations.xml @@ -0,0 +1,22 @@ + + + + libmpdclient + MPD için istemci geliştirme kitaplığı + Biblioteka kliencka MPD + libmpdclient, MPD etkileşimi için C, C++ ve Object C dillerinde kullanılabilen istikrarlı, belgelendirilmiş, asenkron bir kitaplıktır. + Biblioteka do tworzenia klientów demona MPD (Music Player Daemon). + + + + libmpdclient-devel + libmpdclient için geliştirme dosyaları + Pliki naglowkowe do libmpdclient + + + + libmpdclient-docs + libmpdclient yardım ve API belgeleri + + + diff --git a/multimedia/sound/faac/actions.py b/multimedia/sound/faac/actions.py index 9e9796ee15..776e30bc91 100644 --- a/multimedia/sound/faac/actions.py +++ b/multimedia/sound/faac/actions.py @@ -2,21 +2,22 @@ # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. -# See the file http://www.gnu.org/licenses/gpl.txt +# See the file https://www.gnu.org/licenses/gpl-3.0. +from pisi.actionsapi import shelltools from pisi.actionsapi import autotools from pisi.actionsapi import pisitools -from pisi.actionsapi import shelltools from pisi.actionsapi import get def setup(): - #shelltools.system("./bootstrap") - autotools.configure("--disable-static") + shelltools.system("./bootstrap") + autotools.configure("--disable-static") def build(): - autotools.make() + autotools.make() def install(): - autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "ChangeLog", "README", "TODO") - pisitools.dodoc("ChangeLog", "AUTHORS", "NEWS", "README", "TODO") diff --git a/multimedia/sound/faac/pspec.xml b/multimedia/sound/faac/pspec.xml index 26fbed3717..b9eb532d16 100644 --- a/multimedia/sound/faac/pspec.xml +++ b/multimedia/sound/faac/pspec.xml @@ -1,87 +1,95 @@ - + - - faac - https://github.com/knik0/faac - - PisiLinux Community - admins@pisilinux.org - - LGPLv2.1 - app:console - library - MPEG-4 audio codecs - Free MPEG-4 audio codecs by AudioCoding.com. - mirrors://sourceforge/faac/faac-1.29.9.2.tar.gz - - libmp4v2-devel - - - - - - - - - faac - - libmp4v2 - - - /usr/bin - /usr/lib - /usr/share/doc/faac - /usr/share/man - - + + faac + https://github.com/knik0/faac + + PisiLinux Community + admins@pisilinux.org + + LGPLv2.1 + app:console + library + MPEG-4 audio codecs + Free MPEG-4 audio codecs by AudioCoding.com. + + https://ftp.osuosl.org/pub/blfs/conglomeration/faac/faac-1_30.tar.gz + + + libmp4v2-devel + + + + + + + faac + + libmp4v2 + + + /usr/bin + /usr/lib + /usr/share/man + /usr/share/doc + + - - faac-devel - Development files for faac - - faac - - - /usr/include - - + + faac-devel + Development files for faac. + + faac + + + /usr/include + + - - - 2020-01-18 - 1.29.9.2 - Rebuild - Pisi Linux Community - admin@pisilinux.org - - - 2018-08-01 - 1.29.9.2 - Rebuild - Pisi Linux Community - admin@pisilinux.org - - - 2017-02-12 - 1.28 - Rebuild - Pisi Linux Community - admin@pisilinux.org - - - 2016-06-09 - 1.28 - Release Bump - Pisi Linux Community - admin@pisilinux.org - - - 2014-12-14 - 1.28 - First release - Yusuf Aydemir - yusuf.aydemir@pisilinux.org - - + + + 2020-12-13 + 1.30 + Ver. bump + Pisi Linux Community + admin@pisilinux.org + + + 2020-01-18 + 1.29.9.2 + Rebuild + Pisi Linux Community + admin@pisilinux.org + + + 2018-08-01 + 1.29.9.2 + Rebuild + Pisi Linux Community + admin@pisilinux.org + + + 2017-02-12 + 1.28 + Rebuild + Pisi Linux Community + admin@pisilinux.org + + + 2016-06-09 + 1.28 + Release Bump + Pisi Linux Community + admin@pisilinux.org + + + 2014-12-14 + 1.28 + First release + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + diff --git a/multimedia/sound/faac/translations.xml b/multimedia/sound/faac/translations.xml index 6911065c66..8081690937 100644 --- a/multimedia/sound/faac/translations.xml +++ b/multimedia/sound/faac/translations.xml @@ -1,12 +1,12 @@ - - faac - Özgür MPEG-4 ses codecleri - + + faac + Özgür MPEG-4 ses codecleri + - - faac-devel - faac için geliştirme dosyaları - + + faac-devel + faac için geliştirme dosyaları + diff --git a/multimedia/sound/faad2/actions.py b/multimedia/sound/faad2/actions.py index 719d1f92cb..e14a921dd4 100644 --- a/multimedia/sound/faad2/actions.py +++ b/multimedia/sound/faad2/actions.py @@ -4,21 +4,20 @@ # Licensed under the GNU General Public License, version 3. # See the file https://www.gnu.org/licenses/gpl-3.0.txt +from pisi.actionsapi import shelltools from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import get def setup(): - #pisitools.dosed("libfaad/Makefile.am", "iquote ", "I") - autotools.autoreconf("-vfi") - - autotools.configure("--without-xmms \ - --disable-static") + shelltools.system("./bootstrap") + autotools.configure("--without-xmms --disable-static") def build(): - autotools.make() + autotools.make() def install(): - autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "ChangeLog", "README*") - pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README", "TODO") diff --git a/multimedia/sound/faad2/pspec.xml b/multimedia/sound/faad2/pspec.xml index 0c8a7b2850..844d206f71 100644 --- a/multimedia/sound/faad2/pspec.xml +++ b/multimedia/sound/faad2/pspec.xml @@ -1,97 +1,104 @@ - + - - faad2 - https://github.com/knik0/faad2 - - PisiLinux Community - admins@pisilinux.org - - GPLv2 - app:console - library - MPEG2 and MPEG4 AAC decoder - FAAD2 is a HE, LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder. - https://downloads.sourceforge.net/faac/faad2-2.8.8.tar.gz - - - - - - - + + faad2 + https://github.com/knik0/faad2 + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + app:console + library + Freeware Advanced Audio (AAC) Decoder including SBR decoding. + FAAD2 is a HE, LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder. FAAD2 includes code for SBR (HE AAC) decoding. FAAD2 is licensed under the GPL. + + https://ftp.osuosl.org/pub/blfs/conglomeration/faad2/faad2-2_10_0.tar.gz + + + + + + + + - - faad2 - - - - - /usr/bin - /usr/lib - /usr/share/doc/faad2 - /usr/share/man - - + + faad2 + + + + + /usr/bin + /usr/lib + /usr/share/man + /usr/share/doc + + - - faad2-devel - Development files for faad2 - - faad2 - - - /usr/include - - + + faad2-devel + Development files for faad2. + + faad2 + + + /usr/include + /usr/lib/pkgconfig + + - - - 2020-03-03 - 2.8.8 - Rebuild. - Pisi Linux Community - admin@pisilinux.org - - - 2020-01-18 - 2.8.8 - Version bump. - Pisi Linux Community - admin@pisilinux.org - - - 2018-08-01 - 2.8.8 - Version bump. - Pisi Linux Community - admin@pisilinux.org - - - 2017-02-12 - 2.7 - Rebuild - Pisi Linux Community - admin@pisilinux.org - - - 2016-06-09 - 2.7 - Release Bump - Pisi Linux Community - admin@pisilinux.org - - - 2014-05-20 - 2.7 - First release - Serdar Soytetir - kaptan@pisilinux.org - - + + + 2020-12-13 + 2.10 + Ver. bump + Pisi Linux Community + admin@pisilinux.org + + + 2020-03-03 + 2.8.8 + Rebuild. + Pisi Linux Community + admin@pisilinux.org + + + 2020-01-18 + 2.8.8 + Version bump. + Pisi Linux Community + admin@pisilinux.org + + + 2018-08-01 + 2.8.8 + Version bump. + Pisi Linux Community + admin@pisilinux.org + + + 2017-02-12 + 2.7 + Rebuild + Pisi Linux Community + admin@pisilinux.org + + + 2016-06-09 + 2.7 + Release Bump + Pisi Linux Community + admin@pisilinux.org + + + 2014-05-20 + 2.7 + First release + Serdar Soytetir + kaptan@pisilinux.org + + + diff --git a/multimedia/sound/faad2/translations.xml b/multimedia/sound/faad2/translations.xml index dff515c140..63c5598c33 100644 --- a/multimedia/sound/faad2/translations.xml +++ b/multimedia/sound/faad2/translations.xml @@ -1,13 +1,13 @@ - - faad2 - AAC yorumlayıcı - FAAD2 bir HE, LC, MAIN ve LTP profil, MPEG2 ve MPEG4 AAC çözücüdür. - + + faad2 + AAC yorumlayıcı + FAAD2 bir HE, LC, MAIN ve LTP profil, MPEG2 ve MPEG4 AAC çözücüdür. + - - faad2-devel - faad2 için geliştirme dosyaları - + + faad2-devel + faad2 için geliştirme dosyaları + diff --git a/multimedia/stream/mpd/actions.py b/multimedia/stream/mpd/actions.py new file mode 100644 index 0000000000..fea4adc613 --- /dev/null +++ b/multimedia/stream/mpd/actions.py @@ -0,0 +1,105 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import mesontools +from pisi.actionsapi import pisitools + +def setup(): +# pisitools.dosed("doc/meson.build", "sphinx-build", "sphinx-build3") + pisitools.ldflags.add("-lbsd") + pisitools.cxxflags.add("-lbsd") + mesontools.configure("-Ddocumentation=enabled -Dfifo=false \ + \ + -Dtcp=true \ + -Ddsd=true \ + -Dcue=true \ + -Dpipe=true \ + -Dhttpd=true \ + -Depoll=true \ + -Ddaemon=true \ + -Dinotify=true \ + -Deventfd=true \ + -Dsignalfd=true \ + -Drecorder=true \ + -Ddatabase=true \ + -Dneighbor=true \ + -Dwave_encoder=true \ + -Dlocal_socket=true \ + \ + -Dao=enabled \ + -Dgme=enabled \ + -Dmad=enabled \ + -Dmms=enabled \ + -Dnfs=enabled \ + -Dicu=enabled \ + -Doss=enabled \ + -Dfaad=enabled \ + -Dflac=enabled \ + -Dipv6=enabled \ + -Dupnp=enabled \ + -Dcurl=enabled \ + -Dalsa=enabled \ + -Dopus=enabled \ + -Dlame=enabled \ + -Djack=enabled \ + -Dsoxr=enabled \ + -Ddbus=enabled \ + -Dpcre=enabled \ + -Dyajl=enabled \ + -Dzlib=enabled \ + -Dzzip=enabled \ + -Dqobuz=enabled \ + -Dtidal=enabled \ + -Diconv=enabled \ + -Dshout=enabled \ + -Dbzip2=enabled \ + -Dshine=enabled \ + -Dpulse=enabled \ + -Dexpat=enabled \ + -Dopenal=enabled \ + -Dmpg123=enabled \ + -Dvorbis=enabled \ + -Dudisks=enabled \ + -Dwebdav=enabled \ + -Dmpcdec=enabled \ + -Dffmpeg=enabled \ + -Dmikmod=enabled \ + -Did3tag=enabled \ + -Dsqlite=enabled \ + -Dmodplug=enabled \ + -Dwavpack=enabled \ + -Dtwolame=enabled \ + -Diso9660=enabled \ + -Dsndfile=enabled \ + -Dsmbclient=enabled \ + -Daudiofile=enabled \ + -Dvorbisenc=enabled \ + -Dfluidsynth=enabled \ + -Dsoundcloud=enabled \ + -Dchromaprint=enabled \ + -Dlibmpdclient=enabled \ + -Dlibsamplerate=enabled \ + -Dcdio_paranoia=enabled \ + -Dsolaris_output=enabled \ + \ + -Dzeroconf=auto \ + \ + -Dsndio=disabled \ + -Dadplug=disabled \ + -Dtremor=disabled \ + -Dsidplay=disabled \ + -Dsystemd=disabled \ + -Dwildmidi=disabled") + +def build(): + mesontools.build() + +def install(): + mesontools.install() + pisitools.insinto("/etc", "doc/mpdconf.example", "mpd.conf") + + pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README.md") + diff --git a/multimedia/stream/mpd/comar/package.py b/multimedia/stream/mpd/comar/package.py new file mode 100644 index 0000000000..4f892d6833 --- /dev/null +++ b/multimedia/stream/mpd/comar/package.py @@ -0,0 +1,15 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +import os + +def postInstall(fromVersion, fromRelease, toVersion, toRelease): + for d in ["/var/lib/mpd", "/var/lib/mpd/.mpd", "/var/lib/mpd/.mpd/playlists", "/var/lib/mpd/.mpd/music"]: + if not os.path.exists(d): + os.mkdir(d) + # $ id nobody + # uid=250(mpd) gid=18(audio) + os.chown(d, 250, 18) + os.chmod(d, 0750) + + os.system("/sbin/mudur_tmpfiles.py /usr/lib/tmpfiles.d/mpd.conf") diff --git a/multimedia/stream/mpd/comar/service.py b/multimedia/stream/mpd/comar/service.py new file mode 100644 index 0000000000..fa6dcf1916 --- /dev/null +++ b/multimedia/stream/mpd/comar/service.py @@ -0,0 +1,29 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +serviceType = "server" +serviceDesc = \ + \ + _({"en": "Music Player Daemon", + "tr": "Müzik Çalıcı Sunucusu"}) + +from comar.service import * +import re +import os + +PIDFILE = "/run/mpd/mpd.pid" + +@synchronized +def start(): + startService(command="/usr/bin/mpd", + args="/etc/mpd.conf", + pidfile=PIDFILE, + donotify=True) + +@synchronized +def stop(): + stopService(PIDFILE, + donotify=True) + +def status(): + return isServiceRunning(PIDFILE) diff --git a/multimedia/stream/mpd/files/tmpfiles.conf b/multimedia/stream/mpd/files/tmpfiles.conf new file mode 100644 index 0000000000..20d4325cc6 --- /dev/null +++ b/multimedia/stream/mpd/files/tmpfiles.conf @@ -0,0 +1 @@ +d /run/mpd 0755 mpd audio diff --git a/multimedia/stream/mpd/pspec.xml b/multimedia/stream/mpd/pspec.xml new file mode 100644 index 0000000000..ec0a7185ad --- /dev/null +++ b/multimedia/stream/mpd/pspec.xml @@ -0,0 +1,167 @@ + + + + + mpd + https://www.musicpd.org/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + service + multimedia.stream + Music Player Daemon. + + Music Player Daemon (MPD) is a flexible, powerful, server-side application for playing music. Through plugins and libraries it can play a variety of sound files while being controlled by its network protocol. + + + https://www.musicpd.org/download/mpd/0.22/mpd-0.22.3.tar.xz + + + meson + cmake + curl-devel + flac-devel + yajl-devel + lame-devel + zlib-devel + dbus-devel + boost-devel + expat-devel + samba-devel + icu4c-devel + avahi-devel + faad2-devel + libao-devel + shine-devel + libmms-devel + mpg123-devel + sqlite-devel + openal-devel + ffmpeg-devel + libgme-devel + libmad-devel + libogg-devel + libnfs-devel + libcdio-devel + libopus-devel + libsoxr-devel + libupnp-devel + twolame-devel + wavpack-devel + zziplib-devel + alsa-lib-devel + libshout-devel + liburing-devel + libmpcdec-devel + libgcrypt-devel + audiofile-devel + libid3tag-devel + libmikmod-devel + libvorbis-devel + fluidsynth-devel + libmodplug-devel + libsndfile-devel + libmpdclient-devel + libsamplerate-devel + libchromaprint-devel + pulseaudio-libs-devel + libcdio-paranoia-devel + jack-audio-connection-kit-devel + + python3-six + python3-Babel + python3-sphinx + python3-certifi + python3-requests + python3-imagesize + python3-snowballstemmer + python3-sphinx-alabaster-theme + python3-sphinxcontrib-websupport + + + + + mpd + + curl + flac + yajl + lame + zlib + dbus + boost + expat + samba + icu4c + avahi + faad2 + libao + shine + libmms + mpg123 + sqlite + openal + ffmpeg + libgme + libmad + libogg + libnfs + libcdio + libopus + libsoxr + libupnp + twolame + wavpack + zziplib + alsa-lib + libshout + liburing + libmpcdec + libgcrypt + audiofile + libid3tag + libmikmod + libvorbis + avahi-libs + fluidsynth + libmodplug + libsndfile + libmpdclient + libsamplerate + libchromaprint + pulseaudio-libs + libcdio-paranoia + jack-audio-connection-kit + + + /etc + /usr/bin + + /usr/share/icons + /usr/share/man + /usr/share/doc + + + + + + + + + + + + 2020-12-13 + 0.22.3 + First Beta release. + fury + wascheme@tuta.io + + + + diff --git a/multimedia/stream/mpd/translations.xml b/multimedia/stream/mpd/translations.xml new file mode 100644 index 0000000000..1d52d0be28 --- /dev/null +++ b/multimedia/stream/mpd/translations.xml @@ -0,0 +1,8 @@ + + + + mpd + Müzik Çalıcı Sunucusu (MPD) + MPD çoğu müzik dosyasını (MP3, Ogg Vorbis, FLAC, AAC, Mod vs.) çalar ve ağda yayınlar. + + diff --git a/network/analyzer/libupnp/actions.py b/network/analyzer/libupnp/actions.py index 45e2ec6747..7293b4b61b 100644 --- a/network/analyzer/libupnp/actions.py +++ b/network/analyzer/libupnp/actions.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. -# See the file http://www.gnu.org/licenses/gpl.txt +# See the file https://www.gnu.org/licenses/gpl-3.0.txt from pisi.actionsapi import autotools from pisi.actionsapi import pisitools @@ -10,21 +10,16 @@ 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()) + autotools.configure("--disable-static") pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") def build(): autotools.make() -#def check(): - #autotools.make("check") +def check(): + autotools.make("-k 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/pspec.xml b/network/analyzer/libupnp/pspec.xml index 2652772459..f9f315fc6c 100644 --- a/network/analyzer/libupnp/pspec.xml +++ b/network/analyzer/libupnp/pspec.xml @@ -1,24 +1,25 @@ - + libupnp - http://pupnp.sourceforge.net/ + https://github.com/pupnp/pupnp PisiLinux Community admins@pisilinux.org BSD library - Portable UPnP 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. - https://sourceforge.net/projects/pupnp/files/pupnp/libUPnP%201.6.25/libupnp-1.6.25.tar.bz2 + + mirrors://sourceforge/pupnp/libupnp-1.14.0.tar.bz2 + kernel-headers - - + @@ -32,7 +33,7 @@ libupnp-devel - Development files for libupnp + Development files for libupnp. libupnp @@ -43,6 +44,13 @@ + + 2020-12-13 + 1.14.0 + Ver. bump + fury + wascheme@tuta.io + 2018-08-07 1.6.25 diff --git a/network/connection/libnfs/actions.py b/network/connection/libnfs/actions.py new file mode 100644 index 0000000000..3c018c5821 --- /dev/null +++ b/network/connection/libnfs/actions.py @@ -0,0 +1,32 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import shelltools +from pisi.actionsapi import cmaketools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +j = "-DCMAKE_BUILD_TYPE=release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DENABLE_DOCUMENTATION=ON \ + -DBUILD_SHARED_LIBS=ON \ + -DENABLE_UTILS=ON -L \ + " + +def setup(): + shelltools.system("./bootstrap") + cmaketools.configure(j) + +def build(): + cmaketools.make() + +def install(): + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) + for t in ["utils/nfs-cat", "utils/nfs-cp", "utils/nfs-ls"]: + pisitools.dobin(t) + + pisitools.dodoc("COPYING", "README") + diff --git a/network/connection/libnfs/pspec.xml b/network/connection/libnfs/pspec.xml new file mode 100644 index 0000000000..69cffcf00f --- /dev/null +++ b/network/connection/libnfs/pspec.xml @@ -0,0 +1,73 @@ + + + + + libnfs + https://github.com/sahlberg/libnfs + + Mogyorósi Petra + squeakymouse@protonmail.com + + LGPLv2.1 + GPLv3 + BSDv2 + network.connection + library + NFS client library + LIBNFS is a client library for accessing NFS shares over a network. + + https://github.com/sahlberg/libnfs/archive/libnfs-4.0.0.tar.gz + + + cmake + libxslt + + + + + libnfs + NFS client library + + glibc + + + /usr/bin + /usr/lib/libnfs.so + /usr/lib/libnfs.so.11.0.0 + /usr/lib/libnfs.so.2.0.0 + /usr/share/man/* + /usr/share/doc/* + + + + + libnfs-devel + Development files for libnfs + + libnfs + + + /usr/include/* + /usr/lib/pkgconfig/* + /usr/lib/cmake/* + + + + + + 2020-12-13 + 4.0.0 + Ver. bump + fury + wascheme@tuta.io + + + 2018-07-03 + 3.0.0 + Latest revision from GitHub + Mogyorósi Petra + squeakymouse@protonmail.com + + + + diff --git a/network/connection/libnfs/translations.xml b/network/connection/libnfs/translations.xml new file mode 100644 index 0000000000..237da71102 --- /dev/null +++ b/network/connection/libnfs/translations.xml @@ -0,0 +1,10 @@ + + + libnfs + A libnfs egy NFS-kezelő könyvtár, ami háromféle módon tud hozzáférést nyújtani az NFS-szolgáltatásokhoz + + + libnfs-devel + A libnfs fejlécei + + diff --git a/programming/library/liburing/actions.py b/programming/library/liburing/actions.py new file mode 100644 index 0000000000..a1752a3de8 --- /dev/null +++ b/programming/library/liburing/actions.py @@ -0,0 +1,19 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import autotools, pisitools, get + +def setup(): + autotools.rawConfigure("--mandir=/usr/share/man") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("README") + diff --git a/programming/library/liburing/pspec.xml b/programming/library/liburing/pspec.xml new file mode 100644 index 0000000000..efbb0b5222 --- /dev/null +++ b/programming/library/liburing/pspec.xml @@ -0,0 +1,68 @@ + + + + + liburing + https://git.kernel.dk/cgit/liburing/ + + fury + wascheme@tuta.io + + GPL + LGPL + MIT + library + programming.library + This is the io_uring library, liburing. + liburing provides helpers to setup and teardown io_uring instances, and also a simplified interface for applications that don't need (or want) to deal with the full kernel side implementation. + + https://git.kernel.dk/cgit/liburing/snapshot/liburing-0.7.tar.bz2 + + + + + + + + liburing + + + + + + + + /usr/lib + /usr/share/man + /usr/share/doc + + + + + + + + + + + liburing-devel + + liburing + + + /usr/lib/pkgconfig + /usr/include + + + + + + 2020-12-13 + 0.7 + First build. + fury + wascheme@tuta.io + + + + From f0cb39e2c040a24992ce9c2aae0d272b3c117324 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Sun, 13 Dec 2020 09:56:29 +0000 Subject: [PATCH 2/2] clients. --- multimedia/sound/ario/actions.py | 24 +++++ multimedia/sound/ario/comar/pakhandler.py | 21 +++++ ...fix_window_size_if_tags_are_too_long.patch | 31 +++++++ multimedia/sound/ario/pspec.xml | 92 +++++++++++++++++++ multimedia/sound/ncmpcpp/actions.py | 28 ++++++ multimedia/sound/ncmpcpp/files/gcc10.patch | 26 ++++++ multimedia/sound/ncmpcpp/pspec.xml | 65 +++++++++++++ multimedia/sound/ncmpcpp/translations.xml | 9 ++ 8 files changed, 296 insertions(+) create mode 100644 multimedia/sound/ario/actions.py create mode 100644 multimedia/sound/ario/comar/pakhandler.py create mode 100644 multimedia/sound/ario/files/fix_window_size_if_tags_are_too_long.patch create mode 100644 multimedia/sound/ario/pspec.xml create mode 100644 multimedia/sound/ncmpcpp/actions.py create mode 100644 multimedia/sound/ncmpcpp/files/gcc10.patch create mode 100644 multimedia/sound/ncmpcpp/pspec.xml create mode 100644 multimedia/sound/ncmpcpp/translations.xml diff --git a/multimedia/sound/ario/actions.py b/multimedia/sound/ario/actions.py new file mode 100644 index 0000000000..44add227df --- /dev/null +++ b/multimedia/sound/ario/actions.py @@ -0,0 +1,24 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + autotools.autoreconf("-vif") + autotools.configure("--disable-python --disable-static --disable-deprecations") + + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS") + diff --git a/multimedia/sound/ario/comar/pakhandler.py b/multimedia/sound/ario/comar/pakhandler.py new file mode 100644 index 0000000000..e8cafe658b --- /dev/null +++ b/multimedia/sound/ario/comar/pakhandler.py @@ -0,0 +1,21 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +import piksemel +import os +import fnmatch + +def updateData(filepath): + parse = piksemel.parse(filepath) + + for icon in parse.tags("File"): + path = icon.getTagData("Path") + if path.startswith("usr/share/icons/hicolor"): + os.system("/usr/bin/gtk3-update-icon-cache -f /usr/share/icons/hicolor") + break + +def setupPackage(metapath, filepath): + updateData(filepath) + +def postCleanupPackage(metapath, filepath): + updateData(filepath) diff --git a/multimedia/sound/ario/files/fix_window_size_if_tags_are_too_long.patch b/multimedia/sound/ario/files/fix_window_size_if_tags_are_too_long.patch new file mode 100644 index 0000000000..1c7a55caa5 --- /dev/null +++ b/multimedia/sound/ario/files/fix_window_size_if_tags_are_too_long.patch @@ -0,0 +1,31 @@ +# Fix bug with window size when music tags are too long. +--- a/src/sources/ario-tree.c ++++ b/src/sources/ario-tree.c +@@ -130,7 +130,7 @@ + }; + + #define ARIO_TREE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_ARIO_TREE, ArioTreePrivate)) +-G_DEFINE_TYPE (ArioTree, ario_tree, GTK_TYPE_SCROLLED_WINDOW) ++G_DEFINE_TYPE_WITH_PRIVATE (ArioTree, ario_tree, GTK_TYPE_SCROLLED_WINDOW) + + static void + ario_tree_class_init (ArioTreeClass *klass) +@@ -182,9 +182,6 @@ + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); +- +- /* Private attributes */ +- g_type_class_add_private (klass, sizeof (ArioTreePrivate)); + } + + static void +@@ -275,7 +272,7 @@ + construct_properties)); + + /* Scrolled window property */ +- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (tree), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS); ++ gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (tree), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS); + gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (tree), GTK_SHADOW_IN); + + /* Get drag and drop targets */ diff --git a/multimedia/sound/ario/pspec.xml b/multimedia/sound/ario/pspec.xml new file mode 100644 index 0000000000..9d14d13503 --- /dev/null +++ b/multimedia/sound/ario/pspec.xml @@ -0,0 +1,92 @@ + + + + + ario + http://ario-player.sourceforge.net/ + + Pisilinux Community + admins@pisilinux.org + + GPLv2 + app:gui + multimedia.sound + Ario is a GTK+ client for MPD. + ario - A GTK client for MPD (Music player daemon) inspired by Rhythmbox but much lighter and faster. + + mirrors://sourceforge/ario-player/1.6/ario-1.6.tar.gz + + + avahi + python3 + intltool + atk-devel + curl-devel + gtk3-devel + avahi-libs + cairo-devel + pango-devel + taglib-devel + gnutls-devel + libxml2-devel + libsoup-devel + gettext-devel + dbus-glib-devel + libunique-devel + libnotify-devel + libgcrypt-devel + avahi-glib-devel + fontconfig-devel + gdk-pixbuf-devel + libmpdclient-devel + + + fix_window_size_if_tags_are_too_long.patch + + + + + ario + + atk + gtk3 + curl + avahi + cairo + pango + taglib + gnutls + libxml2 + libsoup + dbus-glib + libnotify + libunique + avahi-libs + fontconfig + gdk-pixbuf + avahi-glib + libmpdclient + + + /usr/bin + /usr/lib + /usr/share + /usr/share/locale + /usr/share/doc/ario + + + System.PackageHandler + + + + + + 2020-12-13 + 1.6 + First Beta build. + fury + wascheme@tuta.io + + + + diff --git a/multimedia/sound/ncmpcpp/actions.py b/multimedia/sound/ncmpcpp/actions.py new file mode 100644 index 0000000000..6c59344038 --- /dev/null +++ b/multimedia/sound/ncmpcpp/actions.py @@ -0,0 +1,28 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +j = "--enable-outputs \ + --disable-visualizer \ + --disable-clock \ + --disable-static \ + --with-taglib \ + " + +def setup(): + autotools.configure(j) + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "COPYING", "INSTALL", "NEWS") + diff --git a/multimedia/sound/ncmpcpp/files/gcc10.patch b/multimedia/sound/ncmpcpp/files/gcc10.patch new file mode 100644 index 0000000000..466abceecf --- /dev/null +++ b/multimedia/sound/ncmpcpp/files/gcc10.patch @@ -0,0 +1,26 @@ +From 399e0f47008b487df3505476c959b4f42d8bc1b1 Mon Sep 17 00:00:00 2001 +From: Louis Sautier +Date: Sat, 9 May 2020 14:31:52 +0200 +Subject: [PATCH] Fix build with GCC 10 by adding missing include +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes the following error: +./mpdpp.h:438:15: error: ‘runtime_error’ is not a member of ‘std’ +--- + src/mpdpp.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/mpdpp.h b/src/mpdpp.h +index a2bb79eb..abd3666c 100644 +--- a/src/mpdpp.h ++++ b/src/mpdpp.h +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include + #include + + #include diff --git a/multimedia/sound/ncmpcpp/pspec.xml b/multimedia/sound/ncmpcpp/pspec.xml new file mode 100644 index 0000000000..12e7386eb5 --- /dev/null +++ b/multimedia/sound/ncmpcpp/pspec.xml @@ -0,0 +1,65 @@ + + + + + ncmpcpp + https://rybczak.net/ncmpcpp/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + app:console + multimedia.sound + NCurses Music Player Client (Plus Plus). + + ncmpcpp – featureful ncurses based MPD client inspired by ncmpc. + + + https://rybczak.net/ncmpcpp/stable/ncmpcpp-0.8.2.tar.bz2 + + + libmpdclient-devel + curl-devel + + boost-devel + taglib-devel + ncurses-devel + readline-devel + + + gcc10.patch + + + + + ncmpcpp + + libmpdclient + mpd + curl + boost + + libgcc + taglib + ncurses + readline + + + /usr/bin + /usr/share/man + /usr/share/doc + + + + + + 2020-12-13 + 0.8.2 + 0.9 release coming soon. + fury + wascheme@tuta.io + + + + diff --git a/multimedia/sound/ncmpcpp/translations.xml b/multimedia/sound/ncmpcpp/translations.xml new file mode 100644 index 0000000000..dc81a2a933 --- /dev/null +++ b/multimedia/sound/ncmpcpp/translations.xml @@ -0,0 +1,9 @@ + + + + ncmpcpp + Ncurses tabanlı MPD istemcisi + Ncmpcpp; etiket düzenleyici, çalma listesi düzenleyici, şarkı sözü desteği vb. özellikleri olan bir MPD istemcisidir. + + +