From da05099e655691d7f3c15ac72ba16dffc3ee8942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Tue, 18 Aug 2015 00:09:29 +0300 Subject: [PATCH 1/4] dragon video player --- .../video => application}/dragonplayer/actions.py | 0 .../video => application}/dragonplayer/pspec.xml | 12 ++++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) rename desktop/kde/{multimedia/video => application}/dragonplayer/actions.py (100%) rename desktop/kde/{multimedia/video => application}/dragonplayer/pspec.xml (81%) diff --git a/desktop/kde/multimedia/video/dragonplayer/actions.py b/desktop/kde/application/dragonplayer/actions.py similarity index 100% rename from desktop/kde/multimedia/video/dragonplayer/actions.py rename to desktop/kde/application/dragonplayer/actions.py diff --git a/desktop/kde/multimedia/video/dragonplayer/pspec.xml b/desktop/kde/application/dragonplayer/pspec.xml similarity index 81% rename from desktop/kde/multimedia/video/dragonplayer/pspec.xml rename to desktop/kde/application/dragonplayer/pspec.xml index dd46edd55b..f831f89bec 100755 --- a/desktop/kde/multimedia/video/dragonplayer/pspec.xml +++ b/desktop/kde/application/dragonplayer/pspec.xml @@ -12,12 +12,16 @@ app:gui Patience card game A multimedia player where the focus is on simplicity, instead of features - http://download.kde.org/unstable/applications/15.07.80/src/dragon-15.07.80.tar.xz + http://download.kde.org/unstable/applications/15.07.90/src/dragon-15.07.90.tar.xz - qt5-base-devel + qt5-base-devel + kconfig-devel + kconfigwidgets-devel + kio-devel + kparts-devel + docbook-xsl kdoctools-devel extra-cmake-modules - python3 @@ -54,7 +58,7 @@ 2015-08-17 - 15.07.80 + 15.07.90 First Release Stefan Gronewold (groni) groni@pisilinux.org From 213f9e5ce130cf70b00aa79a412fbd89ad2a424b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Tue, 18 Aug 2015 00:31:59 +0300 Subject: [PATCH 2/4] qt5-phonon-backend-gstreamer fixed in main --- .../kde/phonon/qt5-phonon-backend-gstreamer/actions.py | 8 ++++++-- desktop/kde/phonon/qt5-phonon-backend-gstreamer/pspec.xml | 8 +++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/desktop/kde/phonon/qt5-phonon-backend-gstreamer/actions.py b/desktop/kde/phonon/qt5-phonon-backend-gstreamer/actions.py index d3834f4358..713b425bb7 100644 --- a/desktop/kde/phonon/qt5-phonon-backend-gstreamer/actions.py +++ b/desktop/kde/phonon/qt5-phonon-backend-gstreamer/actions.py @@ -8,8 +8,12 @@ from pisi.actionsapi import kde5 from pisi.actionsapi import pisitools def setup(): - kde5.configure("-DPHONON_BUILD_PHONON4QT5=ON \ - -DCMAKE_INSTALL_LIBDIR=/usr/lib/qt5") + kde5.configure("-DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -D__KDE_HAVE_GCC_VISIBILITY=NO \ + -DPHONON_BUILD_PHONON4QT5=ON") def build(): kde5.make() diff --git a/desktop/kde/phonon/qt5-phonon-backend-gstreamer/pspec.xml b/desktop/kde/phonon/qt5-phonon-backend-gstreamer/pspec.xml index aa076ddb23..b43d202448 100644 --- a/desktop/kde/phonon/qt5-phonon-backend-gstreamer/pspec.xml +++ b/desktop/kde/phonon/qt5-phonon-backend-gstreamer/pspec.xml @@ -16,12 +16,13 @@ qt5-base-devel qt5-phonon-devel - automoc4 gstreamer-devel gstreamer-next-devel gst-plugins-base-devel gst-plugins-base-next-devel mesa-devel + libxml2-devel + cmake @@ -31,7 +32,8 @@ qt5-base qt5-phonon mesa - gstreamer + glib2 + libgcc gstreamer-next gst-plugins-base-next @@ -44,7 +46,7 @@ - 2015-02-23 + 2015-08-18 4.8.2 First Release. Stefan Gronewold(groni) From de97651afeaa1d4d4b28f085a1b8d863f4d4c8e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Tue, 18 Aug 2015 09:23:14 +0300 Subject: [PATCH 3/4] gst-libav-next in main for playing video thanks @groni --- multimedia/misc/liboil/actions.py | 24 +++++ .../misc/liboil/files/02_amd64-cpuid.patch | 38 ++++++++ .../liboil/files/03_stride-segfaults.patch | 75 +++++++++++++++ multimedia/misc/liboil/pspec.xml | 66 +++++++++++++ multimedia/misc/liboil/translations.xml | 15 +++ multimedia/video/gst-libav-next/actions.py | 26 ++++++ multimedia/video/gst-libav-next/pspec.xml | 93 +++++++++++++++++++ .../video/gst-libav-next/translations.xml | 7 ++ 8 files changed, 344 insertions(+) create mode 100644 multimedia/misc/liboil/actions.py create mode 100644 multimedia/misc/liboil/files/02_amd64-cpuid.patch create mode 100644 multimedia/misc/liboil/files/03_stride-segfaults.patch create mode 100644 multimedia/misc/liboil/pspec.xml create mode 100644 multimedia/misc/liboil/translations.xml create mode 100644 multimedia/video/gst-libav-next/actions.py create mode 100644 multimedia/video/gst-libav-next/pspec.xml create mode 100644 multimedia/video/gst-libav-next/translations.xml diff --git a/multimedia/misc/liboil/actions.py b/multimedia/misc/liboil/actions.py new file mode 100644 index 0000000000..68563f8d4b --- /dev/null +++ b/multimedia/misc/liboil/actions.py @@ -0,0 +1,24 @@ +#!/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 -O2" % get.CFLAGS()) + autotools.configure("--disable-static \ + --disable-gtk-doc") + +def build(): + autotools.make("-j1") + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "BUG-REPORTING", "HACKING", "NEWS", "README") + pisitools.removeDir("/usr/share/gtk-doc") diff --git a/multimedia/misc/liboil/files/02_amd64-cpuid.patch b/multimedia/misc/liboil/files/02_amd64-cpuid.patch new file mode 100644 index 0000000000..2d363353ab --- /dev/null +++ b/multimedia/misc/liboil/files/02_amd64-cpuid.patch @@ -0,0 +1,38 @@ +From 705916007fba0a845229a02dc6474cb523eff150 Mon Sep 17 00:00:00 2001 +From: David Schleef +Date: Tue, 20 Jul 2010 21:05:26 +0000 +Subject: x86: Fix cpuid function on x86-64 + +Fixes: #28956. +--- +diff --git a/liboil/liboilcpu-x86.c b/liboil/liboilcpu-x86.c +index e7a1978..ef4d3f2 100644 +--- a/liboil/liboilcpu-x86.c ++++ b/liboil/liboilcpu-x86.c +@@ -162,13 +162,10 @@ get_cpuid (uint32_t op, uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d) + static void + get_cpuid (uint32_t op, uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d) + { ++ *a = op; + __asm__ ( +- " pushq %%rbx\n" + " cpuid\n" +- " mov %%ebx, %%esi\n" +- " popq %%rbx\n" +- : "=a" (*a), "=S" (*b), "=c" (*c), "=d" (*d) +- : "0" (op)); ++ : "+a" (*a), "=b" (*b), "=c" (*c), "=d" (*d)); + } + #endif + +@@ -185,7 +182,7 @@ oil_cpu_detect_cpuid (void) + { + uint32_t eax, ebx, ecx, edx; + uint32_t level; +- char vendor[13] = { 0 }; ++ char vendor[13+4] = { 0 }; + int ret; + + oil_fault_check_enable (); +-- +cgit v0.8.3-6-g21f6 diff --git a/multimedia/misc/liboil/files/03_stride-segfaults.patch b/multimedia/misc/liboil/files/03_stride-segfaults.patch new file mode 100644 index 0000000000..239bebef15 --- /dev/null +++ b/multimedia/misc/liboil/files/03_stride-segfaults.patch @@ -0,0 +1,75 @@ +From 064d11051f477cd2c398e5d4e3cb1301daf683eb Mon Sep 17 00:00:00 2001 +From: Sebastian Andrzej Siewior +Date: Tue, 17 Aug 2010 22:30:49 +0200 +Subject: [PATCH] fix stride tc on amd64. i386 and powerpc + +the stride tc segfauls with + +|diff --git a/testsuite/stride.c b/testsuite/stride.c +|index abc521e..debc340 100644 +|--- a/testsuite/stride.c +|+++ b/testsuite/stride.c +|@@ -74,8 +74,8 @@ int main (int argc, char *argv[]) +| continue; +| } +| oil_test_set_iterations (test, 1); +|- test->n = 1 + oil_rand_u8(); +|- test->m = 1 + oil_rand_u8(); +|+ test->n = 1; +|+ test->m = 33; +| +| oil_test_check_impl (test, klass->reference_impl); +| for(j=0;j +--- + liboil/amd64/wavelet.c | 3 +++ + liboil/i386/wavelet.c | 2 ++ + liboil/powerpc/rgb2bgr.c | 2 ++ + 3 files changed, 7 insertions(+), 0 deletions(-) + +diff --git a/liboil/amd64/wavelet.c b/liboil/amd64/wavelet.c +index 6b1946a..353471f 100644 +--- a/liboil/amd64/wavelet.c ++++ b/liboil/amd64/wavelet.c +@@ -18,6 +18,9 @@ deinterleave2_asm (int16_t *d1, int16_t *d2, int16_t *s_2xn, int n) + n--; + } + ++ if (!n) ++ return; ++ + asm volatile ("\n" + " sub $2, %%rcx\n" + "1:\n" +diff --git a/liboil/i386/wavelet.c b/liboil/i386/wavelet.c +index a382a22..d8d61a6 100644 +--- a/liboil/i386/wavelet.c ++++ b/liboil/i386/wavelet.c +@@ -117,6 +117,8 @@ deinterleave2_asm (int16_t *d1, int16_t *d2, int16_t *s_2xn, int n) + s_2xn+=2; + n--; + } ++ if (!n) ++ return; + + asm volatile ("\n" + " mov %3, %%ecx\n" +diff --git a/liboil/powerpc/rgb2bgr.c b/liboil/powerpc/rgb2bgr.c +index 8787d66..419b8e1 100644 +--- a/liboil/powerpc/rgb2bgr.c ++++ b/liboil/powerpc/rgb2bgr.c +@@ -50,6 +50,8 @@ rgb2bgr_ppc (uint8_t *dest, uint8_t* src, int n) + n /= 4; + dest -= 4; + src -= 4; ++ if (!n) ++ return ; + asm volatile ( + " mtctr %2 \n" + "1: lwzu r10, 4(%1) \n" /* rgbr x */ +-- +1.5.6.5 + diff --git a/multimedia/misc/liboil/pspec.xml b/multimedia/misc/liboil/pspec.xml new file mode 100644 index 0000000000..8df96cdb6c --- /dev/null +++ b/multimedia/misc/liboil/pspec.xml @@ -0,0 +1,66 @@ + + + + + liboil + http://www.schleef.org/liboil/ + + PisiLinux Community + admins@pisilinux.org + + LGPLv2.1 + library + Liboil is a library of simple functions that are optimized for various CPUs + Liboil is a library of simple functions that are optimized for various CPUs. These functions are generally loops implementing simple algorithms, such as converting an array of N integers to floating-point numbers or multiplying and summing an array of N numbers. + http://liboil.freedesktop.org/download/liboil-0.3.17.tar.gz + + 02_amd64-cpuid.patch + 03_stride-segfaults.patch + + + + + liboil + + /usr/lib + /usr/share/doc + + + + + liboil-devel + Development files for liboil + + liboil + + + /usr/bin + /usr/include + /usr/lib/pkgconfig + + + + + + 2014-05-24 + 0.3.17 + Rebuild + Alihan Öztürk + alihan@pisilinux.org + + + 2014-02-01 + 0.3.17 + Rebuild + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2011-01-05 + 0.3.17 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/multimedia/misc/liboil/translations.xml b/multimedia/misc/liboil/translations.xml new file mode 100644 index 0000000000..78eedec2c4 --- /dev/null +++ b/multimedia/misc/liboil/translations.xml @@ -0,0 +1,15 @@ + + + + liboil + Liboil, farklı işlemciler için optimize edilmiş temel fonksiyonlardan oluşan bir kütüphanedir + liboil çeşitli CPU 'lar için en iyilenmiş basit fonksiyon kütüphanesidir. Bu fonksiyonlar genellikle döngüler için gerçekleştirilen yalın algoritmalardır, örneğin ; N integer elemanı olan bir diziyi float elemanlı diziye dönüştürmek yada N elemanlı bir dizi ile toplama yada çarpma yapmak gibi. + Liboil est une librairie de fonctions simples optimisées pour différents processeurs. Ces fonction sont en général des boucles implémentant des algorithmes simples, tel que convertir un tableau de N entiers en nombres à virgule flottante ou multiplier et additionner un tableau de N nombres. + Liboil es una librería con funciones simples, optimizados para múltiples CPUs. Estas funciones son generalmente bucles realizando simples algoritmos, como conversión de arrays de N enteros a números de punto flotante o multiplicación y suma de un array de N números. + + + + liboil-devel + liboil için geliştirme dosyaları + + diff --git a/multimedia/video/gst-libav-next/actions.py b/multimedia/video/gst-libav-next/actions.py new file mode 100644 index 0000000000..5575f39968 --- /dev/null +++ b/multimedia/video/gst-libav-next/actions.py @@ -0,0 +1,26 @@ +#!/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 + + +def setup(): + autotools.autoreconf("-vfi") + autotools.configure("--disable-static \ + --with-libav-extra-configure='--enable-runtime-cpudetect' \ + --with-package-name='PisiLinux gst-libav package' \ + --with-package-origin='http://www.pisilinux.org'") + + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + +def build(): + autotools.make() + +def install(): + autotools.install() + + pisitools.dodoc("README","NEWS","ChangeLog") diff --git a/multimedia/video/gst-libav-next/pspec.xml b/multimedia/video/gst-libav-next/pspec.xml new file mode 100644 index 0000000000..fb3b50e384 --- /dev/null +++ b/multimedia/video/gst-libav-next/pspec.xml @@ -0,0 +1,93 @@ + + + + + gst-libav-next + http://gstreamer.net/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + library + Gstreamer plugin for the libav codec + Gstreamer plugin for the libav codec. + http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.4.5.tar.xz + + gst-plugins-base-next-devel + gstreamer-next-devel + liboil-devel + orc-devel + ffmpeg-devel + + + + + gst-libav-next + + gst-plugins-base-next + gstreamer-next + bzip2 + glib2 + ffmpeg + liboil + + + /usr/lib + /usr/share/doc + /usr/share/gtk-doc + + + + + + 2015-04-18 + 1.4.5 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-08-23 + 1.4.0 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-05-26 + 1.2.4 + Version bump. + Alihan Öztürk + alihan@pisilinux.org + + + 2014-02-14 + 1.2.3 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2013-11-29 + 1.2.1 + Version bump + rebuild for ffmpeg + Osman Erkan + osman.erkan@pisilinux.org + + + 2013-10-14 + 1.2.0 + version bump + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-08-30 + 1.1.4 + First release + Osman Erkan + osman.erkan@pisilinux.org + + + diff --git a/multimedia/video/gst-libav-next/translations.xml b/multimedia/video/gst-libav-next/translations.xml new file mode 100644 index 0000000000..58acfd772e --- /dev/null +++ b/multimedia/video/gst-libav-next/translations.xml @@ -0,0 +1,7 @@ + + + + gst-libav + Gstreamer için FFmpeg desteği + + From 8cdb6bbe694f4c2008d19ce89eaf970e16eaec35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Tue, 18 Aug 2015 09:29:32 +0300 Subject: [PATCH 4/4] qupzilla in contrib --- network/web/qupzilla/actions.py | 16 ------ network/web/qupzilla/pspec.xml | 76 --------------------------- network/web/qupzilla/translations.xml | 8 --- 3 files changed, 100 deletions(-) delete mode 100644 network/web/qupzilla/actions.py delete mode 100644 network/web/qupzilla/pspec.xml delete mode 100644 network/web/qupzilla/translations.xml diff --git a/network/web/qupzilla/actions.py b/network/web/qupzilla/actions.py deleted file mode 100644 index 15883c9bba..0000000000 --- a/network/web/qupzilla/actions.py +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/python - -from pisi.actionsapi import qt5 -from pisi.actionsapi import pisitools - -def setup(): - qt5.configure() - -def build(): - qt5.make() - -def install(): - qt5.install() - - pisitools.dodoc("AUTHORS", "README.md") - diff --git a/network/web/qupzilla/pspec.xml b/network/web/qupzilla/pspec.xml deleted file mode 100644 index 106f080a57..0000000000 --- a/network/web/qupzilla/pspec.xml +++ /dev/null @@ -1,76 +0,0 @@ - - - qupzilla - http://www.qupzilla.com/ - - PisiLinux Community - admins@pisilinux.org - - GPLv3 - qupzilla - app:gui - A fast open source browser based on WebKit core, written in Qt Framework, wayland port - A fast open source browser based on WebKit core, written in Qt Framework, wayland port - https://github.com/QupZilla/qupzilla/releases/download/v1.8.6/QupZilla-1.8.6.tar.xz - - qt5-webkit-devel - qt5-script-devel - qt5-tools-devel - openssl-devel - - - - - qupzilla - - libX11 - qt5-base - qt5-webkit - openssl - qt5-script - libgcc - - - /usr/lib - /usr/share/doc - /usr/bin - /usr/share/icons - /usr/share/pixmaps - /usr/share/qupzilla - /usr/share/applications - /usr/share/bash-completion - /usr/share/appdata - - - - - - 2015-08-02 - 1.8.6 - Version bump. - Stefan Gronewold(groni) - groni@pisilinux.org - - - 2014-11-07 - 1.8.4 - Version bump. - Yusuf Aydemir - yusuf.aydemir@pisilinux.org - - - 2014-02-15 - 1.6.3 - Version bump. - Yusuf Aydemir - yusuf.aydemir@pisilinux.org - - - 2014-01-18 - 1.6.0 - First Release - Richard de Bruin - richdb@pisilinux.org - - - diff --git a/network/web/qupzilla/translations.xml b/network/web/qupzilla/translations.xml deleted file mode 100644 index 8ec628364e..0000000000 --- a/network/web/qupzilla/translations.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - qupzilla - A fast open source browser based on WebKit core, written in Qt Framework, wayland port - A fast open source browser based on WebKit core, written in Qt Framework, wayland port - - \ No newline at end of file