From 0a71c6fb22f80bf259e65444a618c5b7c184afcc Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Thu, 23 Jul 2015 19:55:14 +0300 Subject: [PATCH 1/2] gst-plugins-bad-next:moved into main for pisi 2.0 --- .../video/gst-plugins-bad-next/actions.py | 45 +++++ .../files/02_no-Werror.patch | 38 ++++ ...ins-bad-0.10.7-wildmidi-timidity.cfg.patch | 12 ++ .../files/remove_external_symbols.patch | 13 ++ .../video/gst-plugins-bad-next/pspec.xml | 190 ++++++++++++++++++ .../gst-plugins-bad-next/translations.xml | 13 ++ 6 files changed, 311 insertions(+) create mode 100644 multimedia/video/gst-plugins-bad-next/actions.py create mode 100644 multimedia/video/gst-plugins-bad-next/files/02_no-Werror.patch create mode 100644 multimedia/video/gst-plugins-bad-next/files/gst-plugins-bad-0.10.7-wildmidi-timidity.cfg.patch create mode 100644 multimedia/video/gst-plugins-bad-next/files/remove_external_symbols.patch create mode 100644 multimedia/video/gst-plugins-bad-next/pspec.xml create mode 100644 multimedia/video/gst-plugins-bad-next/translations.xml diff --git a/multimedia/video/gst-plugins-bad-next/actions.py b/multimedia/video/gst-plugins-bad-next/actions.py new file mode 100644 index 0000000000..71cdeecef3 --- /dev/null +++ b/multimedia/video/gst-plugins-bad-next/actions.py @@ -0,0 +1,45 @@ +#!/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("AUTOPOINT", "true") + #pisitools.dosed("autogen.sh", "tool_run.*autopoint --force.*") + shelltools.export("NOCONFIGURE", "1") + shelltools.system("./autogen.sh") + + """The following is a list of disabled plugins: + celt -> (celtdec, celtenc) -> Not available in Pardus repos, + qtwrapper, checks for QuickTime/Movies.h -> Not available in Pardus repos, + divx -> divx4linux, + dirac -> needs dirac-research package, http://dirac.sourceforge.net + """ + + autotools.configure("--disable-static \ + --disable-experimental \ + --with-package-name='PisiLinux gstreamer-plugins-bad package' \ + --with-package-origin='http://www.pisilinux.org' \ + --with-gtk=3.0") + + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + +def build(): + autotools.make() + +#FIXME: tests now tries to +#def check(): +# # for sandbox violations +# autotools.make("-C tests/check check") + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("ABOUT-NLS", "AUTHORS", "ChangeLog", "COPYING*", "NEWS", "README", "RELEASE", "REQUIREMENTS") + diff --git a/multimedia/video/gst-plugins-bad-next/files/02_no-Werror.patch b/multimedia/video/gst-plugins-bad-next/files/02_no-Werror.patch new file mode 100644 index 0000000000..9189a1aa8b --- /dev/null +++ b/multimedia/video/gst-plugins-bad-next/files/02_no-Werror.patch @@ -0,0 +1,38 @@ +--- configure.old 2010-08-21 16:54:00.918473667 +0300 ++++ configure 2010-08-21 17:05:44.390473644 +0300 +@@ -23994,7 +23994,7 @@ + $as_echo_n "checking to see if compiler understands -Werror... " >&6; } + + save_CFLAGS="$CFLAGS" +- CFLAGS="$CFLAGS -Werror" ++ CFLAGS="$CFLAGS" + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -24016,7 +24016,7 @@ + CFLAGS="$save_CFLAGS" + + if test "X$flag_ok" = Xyes ; then +- ERROR_CFLAGS="$ERROR_CFLAGS -Werror" ++ ERROR_CFLAGS="$ERROR_CFLAGS" + true + else + +@@ -24348,7 +24348,7 @@ + $as_echo_n "checking to see if c++ compiler understands -Werror... " >&6; } + + save_CPPFLAGS="$CPPFLAGS" +- CPPFLAGS="$CPPFLAGS -Werror" ++ CPPFLAGS="$CPPFLAGS" + + ac_ext=cpp + ac_cpp='$CXXCPP $CPPFLAGS' +@@ -24377,7 +24377,7 @@ + CPPFLAGS="$save_CPPFLAGS" + + if test "X$flag_ok" = Xyes ; then +- ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Werror" ++ ERROR_CXXFLAGS="$ERROR_CXXFLAGS" + true + else + diff --git a/multimedia/video/gst-plugins-bad-next/files/gst-plugins-bad-0.10.7-wildmidi-timidity.cfg.patch b/multimedia/video/gst-plugins-bad-next/files/gst-plugins-bad-0.10.7-wildmidi-timidity.cfg.patch new file mode 100644 index 0000000000..c0817fb41e --- /dev/null +++ b/multimedia/video/gst-plugins-bad-next/files/gst-plugins-bad-0.10.7-wildmidi-timidity.cfg.patch @@ -0,0 +1,12 @@ +diff -p -up gst-plugins-bad-0.10.7/ext/timidity/gstwildmidi.c~ gst-plugins-bad-0.10.7/ext/timidity/gstwildmidi.c +--- gst-plugins-bad-0.10.7/ext/timidity/gstwildmidi.c~ 2008-03-13 15:25:20.000000000 +0100 ++++ gst-plugins-bad-0.10.7/ext/timidity/gstwildmidi.c 2008-05-16 16:31:45.000000000 +0200 +@@ -59,7 +59,7 @@ + #include "gstwildmidi.h" + + #ifndef WILDMIDI_CFG +-#define WILDMIDI_CFG "/etc/timidity.cfg" ++#define WILDMIDI_CFG "/etc/timidity/timidity.cfg" + #endif + + GST_DEBUG_CATEGORY_STATIC (gst_wildmidi_debug); diff --git a/multimedia/video/gst-plugins-bad-next/files/remove_external_symbols.patch b/multimedia/video/gst-plugins-bad-next/files/remove_external_symbols.patch new file mode 100644 index 0000000000..1894f04bff --- /dev/null +++ b/multimedia/video/gst-plugins-bad-next/files/remove_external_symbols.patch @@ -0,0 +1,13 @@ +--- ext/faad/gstfaad.c~ 2009-05-11 01:24:19.701465766 +0300 ++++ ext/faad/gstfaad.c 2009-05-11 01:24:19.701465766 +0300 +@@ -63,10 +63,6 @@ + #undef faacDecInit2 + #endif + +-extern long faacDecInit (faacDecHandle, guint8 *, guint32, guint32 *, guint8 *); +-extern gint8 faacDecInit2 (faacDecHandle, guint8 *, guint32, +- guint32 *, guint8 *); +- + #endif /* FAAD2_MINOR_VERSION < 7 */ + + GST_DEBUG_CATEGORY_STATIC (faad_debug); diff --git a/multimedia/video/gst-plugins-bad-next/pspec.xml b/multimedia/video/gst-plugins-bad-next/pspec.xml new file mode 100644 index 0000000000..9442e2cdd0 --- /dev/null +++ b/multimedia/video/gst-plugins-bad-next/pspec.xml @@ -0,0 +1,190 @@ + + + + + gst-plugins-bad-next + http://gstreamer.freedesktop.org/modules/gst-plugins-bad.html + + Osman Erkan + osman.erkan@pisilinux.org + + GPLv2 + library + A set of GStreamer plug-ins that aren't up to par compared to the rest + GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared to the rest. They might be close to being good quality, but they're missing something - be it a good code review, some documentation, a set of tests, a real live maintainer, or some actual wide use. + http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.4.5.tar.xz + + gstreamermm-devel + gst-plugins-base-devel + libdvdread-devel + libdvdnav-devel + soundtouch-devel + faac-devel + valgrind + jasper-devel + libdca-devel--> + gsm-devel--> + mjpegtools-devel--> + libdvdnav-devel --> + libsndfile-devel--> + DirectFB-devel + libSM-devel + libICE-devel + celt-devel + libdc1394-devel + alsa-lib-devel + libsdl-devel + soundtouch-devel + libtheora-devel + libmodplug-devel + xvid-devel + libdvdread-devel + libvdpau-devel + rtmpdump-devel + schroedinger-devel + gdk-pixbuf-devel + libvo-aacenc-devel + libvo-amrwbenc-devel + + + + 02_no-Werror.patch + remove_external_symbols.patch + gst-plugins-bad-0.10.7-wildmidi-timidity.cfg.patch + + + + + gst-plugins-bad-next + + DirectFB + libdca + libgcc + libxml2 + faac + bzip2 + glib2 + libX11 + gsm + libmodplug + mjpegtools + soundtouch + libdvdnav + libsndfile + + libdvdread + libvdpau + schroedinger + gstreamer-next + orc + libvo-aacenc + libvo-amrwbenc + wayland-client + gst-plugins-base-next + + + /usr/bin + /usr/lib + /usr/share/locale + /usr/share/gstreamer-1.0 + /usr/share/gst-plugins-bad/1.0/ + /usr/share/gtk-doc + /usr/share/gir-1.0/ + /usr/share/doc + + + + + gst-plugins-bad-next-devel + Development files for gst-plugins-bad + + gst-plugins-bad-next + gstreamer-next-devel + + + /usr/lib/pkgconfig + /usr/include + + + + + + 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-28 + 1.2.4 + Version bump. + Alihan Öztürk + alihan@pisilinux.org + + + 2014-04-23 + 1.2.3 + Rebuild for webp. + Kamil Atlı + suvarice@gmail.com + + + 2014-02-14 + 1.2.3 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2013-11-20 + 1.2.1 + Version bump + Richard de Bruin + richdb@pisilinux.org + + + 2013-10-14 + 1.2.0 + bump + Osman Erkan + erdincgultekin@pisilinux.org + + + 2013-08-30 + 1.1.4 + First release + Osman Erkan + osman.erkan@pisilinux.org + + + diff --git a/multimedia/video/gst-plugins-bad-next/translations.xml b/multimedia/video/gst-plugins-bad-next/translations.xml new file mode 100644 index 0000000000..9489ea72f0 --- /dev/null +++ b/multimedia/video/gst-plugins-bad-next/translations.xml @@ -0,0 +1,13 @@ + + + + gst-plugins-bad + Diğer eklentilerle karşılaştırıldığında çok iyi durumda olmayan gstreamer eklentileri + gst-plugins-bad, iyiye yakın kalitede olan ancak gerçek bir geliştirici, belgelendirme, test seti gibi eksikleri bulunan eklentilerdir. + + + + gst-plugins-bad-devel + gst-plugins-bad için geliştirme dosyaları + + From 91d9c0568ddb6613b7bebdc34a115b2a6f04f1a6 Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Thu, 23 Jul 2015 19:55:46 +0300 Subject: [PATCH 2/2] gst-plugin-base-next:fixed dep --- multimedia/video/gst-plugins-base-next/pspec.xml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/multimedia/video/gst-plugins-base-next/pspec.xml b/multimedia/video/gst-plugins-base-next/pspec.xml index 35f9946e0d..17203048c9 100644 --- a/multimedia/video/gst-plugins-base-next/pspec.xml +++ b/multimedia/video/gst-plugins-base-next/pspec.xml @@ -19,7 +19,6 @@ pango-devel cairo-devel libXv-devel - liboil-devel libogg-devel libXext-devel alsa-lib-devel @@ -29,21 +28,19 @@ gobject-introspection-devel orc-devel - gst-plugins-base-next + zlib + glib2 + libX11 gstreamer-next cdparanoia pango cairo libXv - liboil libogg libXext alsa-lib @@ -51,8 +48,6 @@ libvisual libtheora orc - libSM - libICE /usr/bin @@ -72,6 +67,7 @@ gst-plugins-base-next gstreamer-next-devel + glib2-devel /usr/include