Date: Sunday, September 14, 2014 @ 17:20:51 Author: muflone Revision: 118962
archrelease: copy trunk to community-any Added: arista/repos/community-any/ arista/repos/community-any/PKGBUILD (from rev 118961, arista/trunk/PKGBUILD) arista/repos/community-any/arista.install (from rev 118961, arista/trunk/arista.install) arista/repos/community-any/fix-for-python2.patch (from rev 118961, arista/trunk/fix-for-python2.patch) arista/repos/community-any/gst-webkit-imports.patch (from rev 118961, arista/trunk/gst-webkit-imports.patch) --------------------------+ PKGBUILD | 43 +++++++++++++++++++ arista.install | 24 ++++++++++ fix-for-python2.patch | 99 +++++++++++++++++++++++++++++++++++++++++++++ gst-webkit-imports.patch | 30 +++++++++++++ 4 files changed, 196 insertions(+) Copied: arista/repos/community-any/PKGBUILD (from rev 118961, arista/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2014-09-14 15:20:51 UTC (rev 118962) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: SergHeart + +pkgname=arista +pkgver=0.9.7 +pkgrel=9 +pkgdesc="Easy to use multimedia transcoder for the GNOME Desktop" +arch=('any') +url="http://www.transcoder.org/" +license=('LGPL2.1') +depends=('pygtk' 'python2-gconf' 'python2-dbus' 'python2-rsvg' 'python2-gudev' 'gnome-icon-theme' + 'gstreamer0.10-python' 'desktop-file-utils') +optdepends=('libdvdread: for DVD reading' + 'libdvdcss: for encrypted DVD reading' + 'pywebkitgtk: show in-app codecs help' + 'python2-notify: show notifications in your desktop environment' + 'python2-nautilus: Nautilus file manager integration' + 'gstreamer0.10-ffmpeg: enable FFMpeg based audio/video plugins' + 'gstreamer0.10-base-plugins: enable basic set of well-supported audio/video plugins' + 'gstreamer0.10-good-plugins: enable a set of well-supported free audio/video plugins' + 'gstreamer0.10-bad-plugins: enable a set of less supported audio/video plugins' + 'gstreamer0.10-ugly-plugins: enable a set of well-supported non-free audio/video plugins') +source=("http://programmer-art.org/media/releases/arista-transcoder/${pkgname}-${pkgver}.tar.gz" + "fix-for-python2.patch" + "gst-webkit-imports.patch") +sha256sums=('e6028e45516f0c5a736d6ec3c19f783e0a06d103cf2a816b8cc967ab964023ff' + '7f783c54122eb4b47b121a3a47ee69d552cb6f1b5a78ed6836b48f12d2b1883d' + '625c2767a36e591b38ef31e28dddb8e45218b632ce2a150f12ed2eed34746406') +conflicts=('arista-transcoder') +replaces=('arista-transcoder') +install="${pkgname}.install" + +prepare() { + cd "${pkgname}-${pkgver}" + patch -p1 -i "../fix-for-python2.patch" + patch -p1 -i "../gst-webkit-imports.patch" +} + +package() { + cd "${pkgname}-${pkgver}" + python2 setup.py install --root="${pkgdir}" +} Copied: arista/repos/community-any/arista.install (from rev 118961, arista/trunk/arista.install) =================================================================== --- community-any/arista.install (rev 0) +++ community-any/arista.install 2014-09-14 15:20:51 UTC (rev 118962) @@ -0,0 +1,24 @@ +post_install() { + update-desktop-database -q + cat << EOF +Arista needs external plugins to be able to convert videos. + +The following error is a symptom of a missing needed plugin: + ** Cannot add conversion to queue because of missing elements! ** + +To enable audio/video conversion please install some plugins package between: + - gstreamer0.10-ffmpeg + - gstreamer0.10-base-plugins + - gstreamer0.10-good-plugins + - gstreamer0.10-bad-plugins + - gstreamer0.10-ugly-plugins +EOF +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: arista/repos/community-any/fix-for-python2.patch (from rev 118961, arista/trunk/fix-for-python2.patch) =================================================================== --- community-any/fix-for-python2.patch (rev 0) +++ community-any/fix-for-python2.patch 2014-09-14 15:20:51 UTC (rev 118962) @@ -0,0 +1,99 @@ +diff -Naur arista-0.9.7.orig/arista/__init__.py arista-0.9.7/arista/__init__.py +--- arista-0.9.7.orig/arista/__init__.py 2011-01-24 22:41:29.000000000 +0100 ++++ arista-0.9.7/arista/__init__.py 2014-06-08 19:51:38.950314069 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + """ + Arista Transcoder Library +diff -Naur arista-0.9.7.orig/arista/inputs/haldisco.py arista-0.9.7/arista/inputs/haldisco.py +--- arista-0.9.7.orig/arista/inputs/haldisco.py 2011-05-27 17:49:00.000000000 +0200 ++++ arista-0.9.7/arista/inputs/haldisco.py 2014-06-08 19:52:09.766980512 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + """ + Arista Input Device Discovery +diff -Naur arista-0.9.7.orig/arista/inputs/__init__.py arista-0.9.7/arista/inputs/__init__.py +--- arista-0.9.7.orig/arista/inputs/__init__.py 2011-06-17 22:46:02.000000000 +0200 ++++ arista-0.9.7/arista/inputs/__init__.py 2014-06-08 19:52:12.686980492 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + """ + Arista Input Device Discovery +diff -Naur arista-0.9.7.orig/arista/inputs/udevdisco.py arista-0.9.7/arista/inputs/udevdisco.py +--- arista-0.9.7.orig/arista/inputs/udevdisco.py 2011-05-27 17:49:10.000000000 +0200 ++++ arista-0.9.7/arista/inputs/udevdisco.py 2014-06-08 19:52:14.726980475 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + """ + Arista Input Device Discovery +diff -Naur arista-0.9.7.orig/arista/presets.py arista-0.9.7/arista/presets.py +--- arista-0.9.7.orig/arista/presets.py 2011-06-16 02:14:43.000000000 +0200 ++++ arista-0.9.7/arista/presets.py 2014-06-08 19:51:42.280314045 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + """ + Arista Presets +diff -Naur arista-0.9.7.orig/arista/queue.py arista-0.9.7/arista/queue.py +--- arista-0.9.7.orig/arista/queue.py 2011-06-17 23:09:48.000000000 +0200 ++++ arista-0.9.7/arista/queue.py 2014-06-08 19:51:25.120314168 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + """ + Arista Queue Handling +diff -Naur arista-0.9.7.orig/arista/transcoder.py arista-0.9.7/arista/transcoder.py +--- arista-0.9.7.orig/arista/transcoder.py 2011-06-17 17:09:31.000000000 +0200 ++++ arista-0.9.7/arista/transcoder.py 2014-06-08 19:51:47.443647340 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + """ + Arista Transcoder +diff -Naur arista-0.9.7.orig/arista/utils.py arista-0.9.7/arista/utils.py +--- arista-0.9.7.orig/arista/utils.py 2011-06-11 15:59:17.000000000 +0200 ++++ arista-0.9.7/arista/utils.py 2014-06-08 19:51:49.763647324 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + """ + Arista Utilities +diff -Naur arista-0.9.7.orig/arista-gtk arista-0.9.7/arista-gtk +--- arista-0.9.7.orig/arista-gtk 2011-06-20 16:10:53.000000000 +0200 ++++ arista-0.9.7/arista-gtk 2014-06-08 19:51:11.363647601 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python2 + + """ + Arista Desktop Transcoder (GTK+ client) +diff -Naur arista-0.9.7.orig/arista-transcode arista-0.9.7/arista-transcode +--- arista-0.9.7.orig/arista-transcode 2011-06-16 02:21:39.000000000 +0200 ++++ arista-0.9.7/arista-transcode 2014-06-08 19:51:07.286980965 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python2 + # -*- coding: UTF-8 -*- + + """ +diff -Naur arista-0.9.7.orig/setup.py arista-0.9.7/setup.py +--- arista-0.9.7.orig/setup.py 2011-06-20 16:11:26.000000000 +0200 ++++ arista-0.9.7/setup.py 2014-06-08 19:50:55.606981050 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + import os + import sys Copied: arista/repos/community-any/gst-webkit-imports.patch (from rev 118961, arista/trunk/gst-webkit-imports.patch) =================================================================== --- community-any/gst-webkit-imports.patch (rev 0) +++ community-any/gst-webkit-imports.patch 2014-09-14 15:20:51 UTC (rev 118962) @@ -0,0 +1,30 @@ +diff -Naur arista-0.9.7.orig/arista-gtk arista-0.9.7/arista-gtk +--- arista-0.9.7.orig/arista-gtk 2011-06-20 16:10:53.000000000 +0200 ++++ arista-0.9.7/arista-gtk 2014-06-08 19:58:38.190311033 +0200 +@@ -59,12 +59,6 @@ + pynotify = None + _log.info("Unable to import pynotify - desktop notifications disabled") + +-try: +- import webkit +-except ImportError: +- webkit = None +- _log.info("Unable to import webkit - in-app documentation disabled") +- + import arista + + _ = gettext.gettext +@@ -2334,6 +2328,13 @@ + import gst + import gst.pbutils + ++ # FIXME: if webkit is imported before gst the whole application hangs indefinitely ++ try: ++ import webkit ++ except ImportError: ++ webkit = None ++ _log.info("Unable to import webkit - in-app documentation disabled") ++ + arista.init() + + lc_path = arista.utils.get_path("locale", default = "")