[arch-commits] Commit in nemo-extensions/repos (10 files)

Balló György bgyorgy at archlinux.org
Fri Nov 20 20:16:44 UTC 2015


    Date: Friday, November 20, 2015 @ 21:16:44
  Author: bgyorgy
Revision: 147265

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  nemo-extensions/repos/community-testing-i686/
  nemo-extensions/repos/community-testing-i686/PKGBUILD
    (from rev 147264, nemo-extensions/trunk/PKGBUILD)
  nemo-extensions/repos/community-testing-i686/clutter-gst3.patch
    (from rev 147264, nemo-extensions/trunk/clutter-gst3.patch)
  nemo-extensions/repos/community-testing-i686/gpgversion.patch
    (from rev 147264, nemo-extensions/trunk/gpgversion.patch)
  nemo-extensions/repos/community-testing-i686/nemo-pastebin.install
    (from rev 147264, nemo-extensions/trunk/nemo-pastebin.install)
  nemo-extensions/repos/community-testing-x86_64/
  nemo-extensions/repos/community-testing-x86_64/PKGBUILD
    (from rev 147264, nemo-extensions/trunk/PKGBUILD)
  nemo-extensions/repos/community-testing-x86_64/clutter-gst3.patch
    (from rev 147264, nemo-extensions/trunk/clutter-gst3.patch)
  nemo-extensions/repos/community-testing-x86_64/gpgversion.patch
    (from rev 147264, nemo-extensions/trunk/gpgversion.patch)
  nemo-extensions/repos/community-testing-x86_64/nemo-pastebin.install
    (from rev 147264, nemo-extensions/trunk/nemo-pastebin.install)

------------------------------------------------+
 community-testing-i686/PKGBUILD                |  188 +++++++++++++++++++++++
 community-testing-i686/clutter-gst3.patch      |  156 +++++++++++++++++++
 community-testing-i686/gpgversion.patch        |   11 +
 community-testing-i686/nemo-pastebin.install   |   11 +
 community-testing-x86_64/PKGBUILD              |  188 +++++++++++++++++++++++
 community-testing-x86_64/clutter-gst3.patch    |  156 +++++++++++++++++++
 community-testing-x86_64/gpgversion.patch      |   11 +
 community-testing-x86_64/nemo-pastebin.install |   11 +
 8 files changed, 732 insertions(+)

Copied: nemo-extensions/repos/community-testing-i686/PKGBUILD (from rev 147264, nemo-extensions/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2015-11-20 20:16:44 UTC (rev 147265)
@@ -0,0 +1,188 @@
+# $Id$
+# Maintainer: Alexandre Filgueira <alexfilgueira at antergos.com>
+
+pkgbase=nemo-extensions
+pkgname=('nemo-fileroller'
+	 'nemo-preview'
+	 'nemo-python'
+	 'nemo-share'
+	 'nemo-seahorse')
+	#'nemo-media-columns'
+	#'nemo-pastebin'
+	#'nemo-compare'
+	#'nemo-rabbitvcs'
+pkgver=2.8.0
+_pkgver=2.8.x
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="https://github.com/linuxmint/nemo-extensions"
+depends=(nemo file-roller cjs clutter-gtk clutter-gst gst-plugins-good libmusicbrainz5
+         evince gtksourceview3 webkitgtk python2-gobject seahorse-nautilus samba)
+makedepends=(gconf gnome-common gtk-doc intltool gobject-introspection) # python2-distutils-extra
+options=('!emptydirs')
+source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/linuxmint/nemo-extensions/archive/${_pkgver}.tar.gz"
+        "gpgversion.patch"
+        clutter-gst3.patch)
+sha256sums=('21ecb2f197e17fba2046ef16493e1b4292a8cc0389c65e0ccc4562b1d0982fe5'
+            '187b9c1d684b81abac7ef3095882cfe859bd50570e554d45fcfdbf6e50455b86'
+            '7217c05f4cf4d797e8e042392c1cb92481bb616a1e7ce20393228591a6bc91e0')
+
+prepare() {
+  cd ${pkgbase}-${_pkgver}
+
+  # Python2 fix
+  find -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+
+  # GPG version in testing
+  patch -Np1 -i ../gpgversion.patch
+
+  # Fix path for nemo-python
+  sed -i 's|libdirsuffix="/i386-linux-gnu/"|libdirsuffix=""|' nemo-python/m4/python.m4
+
+  cd nemo-preview
+  patch -Np1 -i ../../clutter-gst3.patch
+}
+
+build() {
+  cd ${pkgbase}-${_pkgver}
+
+  _configure_pkgs="nemo-fileroller nemo-seahorse nemo-share"
+  for dir in ${_configure_pkgs}
+  do
+    pushd ${dir}
+    autoreconf -fi
+    ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/${dir} \
+                --disable-static --disable-schemas-compile
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+    make
+    popd
+  done
+
+  _autogen_pkgs="nemo-preview nemo-python"
+  for dir in ${_autogen_pkgs}
+  do
+    pushd ${dir}
+    ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/${dir} \
+                 --disable-static --disable-schemas-compile
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+    make
+    popd
+  done
+
+    # # nemo-pastebin
+    # cd nemo-pastebin
+    # python2 ./setup.py build --build-base ${srcdir}/build/ || return 1
+    # cd ..
+
+  	# nemo-media-columns
+  	# Nothing to do here
+  	# Required python2-pypdf from AUR
+
+  	# nemo-compare
+  	# cd nemo-compare
+
+    # nemo-rabbitvcs
+    # Nothing to do here
+
+}
+
+package_nemo-fileroller(){
+  pkgdesc="File archiver extension for Nemo"
+  depends=(nemo file-roller)
+
+  cd ${pkgbase}-${_pkgver}/nemo-fileroller
+  make DESTDIR="${pkgdir}" install
+}
+
+package_nemo-preview(){
+  pkgdesc=("GtkClutter and Javascript-based quick previewer for Nemo")
+  depends=(nemo cjs clutter-gtk clutter-gst libmusicbrainz5 evince gtksourceview3 webkitgtk)
+
+  cd ${pkgbase}-${_pkgver}/nemo-preview
+  make DESTDIR="${pkgdir}" install
+}
+
+package_nemo-python() {
+  pkgdesc="Python2 binding for Nemo components"
+  depends=(nemo python2-gobject)
+
+  cd ${pkgbase}-${_pkgver}/nemo-python
+  make DESTDIR="${pkgdir}" install
+}
+
+package_nemo-seahorse(){
+  pkgdesc="PGP encryption and signing extension for Nemo"
+  depends=(nemo seahorse-nautilus)
+
+  cd ${pkgbase}-${_pkgver}/nemo-seahorse
+  make DESTDIR="${pkgdir}" install
+
+  # seahorse-tool is already in seahorse-nautilus package
+  make -C data DESTDIR="${pkgdir}" uninstall
+  make -C tool DESTDIR="${pkgdir}" uninstall
+}
+
+package_nemo-share(){
+  pkgdesc="Samba extension for Nemo"
+  depends=(nemo samba)
+
+  cd ${pkgbase}-${_pkgver}/nemo-share
+  make DESTDIR="${pkgdir}" install
+}
+
+# package_nemo-media-columns(){
+# 	cd ${pkgbase}-${_pkgver}/nemo-media-columns
+
+# 	pkgdesc=("A Nemo extension to display music/EXIF and PDF metadata info in the Nemo List View")
+# 	arch=(any)
+
+#   install -d ${pkgdir}/usr/share/nemo-python/extensions/
+# 	install -Dm755 ${srcdir}/nemo-media-columns.py \
+# 			${pkgdir}/usr/share/nemo-python/extensions/nemo-media-columns.py
+# }
+
+# package_nemo-pastebin(){
+# 	cd ${pkgbase}-${_pkgver}/nemo-pastebin
+
+# 	pkgdesc="Nemo extension to send files to a pastebin"
+# 	arch=(any)
+# 	depends=(nemo pastebinit nemo-python)
+#   install=nemo-pastebin.install
+
+# 	python2 ./setup.py install --prefix=/usr --root=${pkgdir} \
+# 		--no-compile -O0
+# }
+
+# package_nemo-compare() {
+#   cd ${pkgbase}-${_pkgver}/nemo-compare
+
+#   pkgdesc="Context menu comparison extension for Nemo file manager"
+#   depends=(python2 python2-xdg meld nemo-python)
+
+#   install -d ${pkgdir}/usr/share/applications/
+#   install -d ${pkgdir}/usr/share/nemo-compare/
+
+#   install -Dm755 ${srcdir}/data/nemo-compare-preferences.desktop \
+#                   /usr/share/applications/nemo-compare-preferences.desktop
+#   install -Dm755 ${srcdir}/data/nemo-compare-notification \
+#                   /usr/share/nemo-compare/nemo-compare-notification
+#   install -Dm755 ${srcdir}/src/nemo-compare.py \
+#                   /usr/share/nemo-compare/nemo-compare.py
+#   install -Dm755 ${srcdir}/src/utils.py \
+#                   /usr/share/nemo-compare/utils.py
+#   install -Dm755 ${srcdir}/src/nemo-compare-preferences.py \
+#                   /usr/share/nemo-compare/nemo-compare-preferences.py
+
+# }
+
+# package_nemo-rabbitvcs(){
+# 	cd ${pkgbase}-${_pkgver}/nemo-rabbitvcs
+
+#   depends=(nemo-python python2-dbus)
+
+#   install -d ${pkgdir}/usr/share/nemo-python/extensions/
+#   install -Dm755 ${srcdir}/RabbitVCS.py \
+#       ${pkgdir}/usr/share/nemo-python/extensions/RabbitVCS.py
+# }
+

Copied: nemo-extensions/repos/community-testing-i686/clutter-gst3.patch (from rev 147264, nemo-extensions/trunk/clutter-gst3.patch)
===================================================================
--- community-testing-i686/clutter-gst3.patch	                        (rev 0)
+++ community-testing-i686/clutter-gst3.patch	2015-11-20 20:16:44 UTC (rev 147265)
@@ -0,0 +1,156 @@
+From ce695719d7292bfe9d8183cfa057afe1df53565b Mon Sep 17 00:00:00 2001
+From: Lionel Landwerlin <llandwerlin at gmail.com>
+Date: Sat, 17 Oct 2015 00:24:42 +0100
+Subject: viewer: gst: port to ClutterGst 3.0
+
+https://bugzilla.gnome.org/show_bug.cgi?id=756725
+---
+ configure.ac          |  2 +-
+ src/js/viewers/gst.js | 56 +++++++++++++++++++++++++++------------------------
+ 2 files changed, 31 insertions(+), 27 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 3b5ff56..7e869d5 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -62,7 +62,7 @@ PKG_CHECK_MODULES(SUSHI,
+                   clutter-x11-1.0 >= $CLUTTER_MIN_VERSION
+                   gtk+-3.0 >= $GTK_MIN_VERSION
+                   clutter-gtk-1.0 >= $CLUTTER_GTK_MIN_VERSION
+-                  clutter-gst-2.0
++                  clutter-gst-3.0
+                   gstreamer-1.0
+                   gstreamer-pbutils-1.0
+                   gstreamer-tag-1.0
+diff --git a/src/js/viewers/gst.js b/src/js/viewers/gst.js
+index 3560277..6a010f6 100644
+--- a/src/js/viewers/gst.js
++++ b/src/js/viewers/gst.js
+@@ -23,7 +23,7 @@
+  *
+  */
+ 
+-imports.gi.versions.ClutterGst = '2.0';
++imports.gi.versions.ClutterGst = '3.0';
+ const ClutterGst = imports.gi.ClutterGst;
+ const Clutter = imports.gi.Clutter;
+ const Gdk = imports.gi.Gdk;
+@@ -60,29 +60,33 @@ const GstRenderer = new Lang.Class({
+     },
+ 
+     clear : function() {
+-        this._video.playing = false;
++        this._player.playing = false;
+     },
+ 
+     _createVideo : function(file) {
+-        this._video =
+-            new ClutterGst.VideoTexture({ sync_size: false });
++        this._player = new ClutterGst.Playback();
++        this._video = new Clutter.Actor({
++            content: new ClutterGst.Aspectratio({
++                player: this._player
++            })
++        });
+ 
+-        this._video.set_uri(file.get_uri());
+-        this._video.playing = true;
++        this._player.set_uri(file.get_uri());
++        this._player.playing = true;
+ 
+         this._videoSizeChangeId =
+-            this._video.connect('size-change',
+-                                Lang.bind(this,
+-                                          this._onVideoSizeChange));
+-        this._video.connect('notify::playing',
+-                            Lang.bind(this,
+-                                      this._onVideoPlayingChange));
+-        this._video.connect('notify::progress',
+-                            Lang.bind(this,
+-                                      this._onVideoProgressChange));
+-        this._video.connect('notify::duration',
+-                            Lang.bind(this,
+-                                      this._onVideoDurationChange));
++            this._player.connect('size-change',
++                                 Lang.bind(this,
++                                           this._onVideoSizeChange));
++        this._player.connect('notify::playing',
++                             Lang.bind(this,
++                                       this._onVideoPlayingChange));
++        this._player.connect('notify::progress',
++                             Lang.bind(this,
++                                       this._onVideoProgressChange));
++        this._player.connect('notify::duration',
++                             Lang.bind(this,
++                                       this._onVideoDurationChange));
+     },
+ 
+     _updateProgressBar : function() {
+@@ -90,7 +94,7 @@ const GstRenderer = new Lang.Class({
+             return;
+ 
+         this._isSettingValue = true;
+-        this._progressBar.set_value(this._video.progress * 1000);
++        this._progressBar.set_value(this._player.progress * 1000);
+         this._isSettingValue = false;
+     },
+ 
+@@ -99,7 +103,7 @@ const GstRenderer = new Lang.Class({
+             return;
+ 
+         let currentTime =
+-            Math.floor(this._video.duration * this._video.progress);
++            Math.floor(this._player.duration * this._player.progress);
+ 
+         this._currentLabel.set_text(Utils.formatTimeString(currentTime));
+     },
+@@ -108,7 +112,7 @@ const GstRenderer = new Lang.Class({
+         if (!this._mainToolbar)
+             return;
+ 
+-        let totalTime = this._video.duration;
++        let totalTime = this._player.duration;
+ 
+         this._durationLabel.set_text(Utils.formatTimeString(totalTime));
+     },
+@@ -123,7 +127,7 @@ const GstRenderer = new Lang.Class({
+     },
+ 
+     _onVideoPlayingChange : function() {
+-        if (this._video.playing)
++        if (this._player.playing)
+             this._toolbarPlay.set_icon_name('media-playback-pause-symbolic');
+         else
+         {
+@@ -166,8 +170,8 @@ const GstRenderer = new Lang.Class({
+ 
+         this._toolbarPlay.connect('clicked',
+                                   Lang.bind(this, function () {
+-                                      let playing = !this._video.playing;
+-                                      this._video.playing = playing;
++                                      let playing = !this._player.playing;
++                                      this._player.playing = playing;
+                                   }));
+ 
+         this._progressBar =
+@@ -178,7 +182,7 @@ const GstRenderer = new Lang.Class({
+         this._progressBar.connect('value-changed',
+                                   Lang.bind(this, function() {
+                                       if(!this._isSettingValue)
+-                                          this._video.progress = this._progressBar.get_value() / 1000;
++                                          this._player.progress = this._progressBar.get_value() / 1000;
+                                   }));
+ 
+         item = new Gtk.ToolItem();
+@@ -200,7 +204,7 @@ const GstRenderer = new Lang.Class({
+         return this._toolbarActor;
+     },
+ 
+-    _onVideoSizeChange : function(video, width, height) {
++    _onVideoSizeChange : function(player, width, height) {
+         this._videoWidth = width;
+         this._videoHeight = height;
+ 
+-- 
+cgit v0.11.2
+

Copied: nemo-extensions/repos/community-testing-i686/gpgversion.patch (from rev 147264, nemo-extensions/trunk/gpgversion.patch)
===================================================================
--- community-testing-i686/gpgversion.patch	                        (rev 0)
+++ community-testing-i686/gpgversion.patch	2015-11-20 20:16:44 UTC (rev 147265)
@@ -0,0 +1,11 @@
+--- nemo-extensions-2.4.x.o/nemo-seahorse/configure.ac	2014-11-01 05:42:22.000000000 -0500
++++ nemo-extensions-2.4.x/nemo-seahorse/configure.ac	2014-11-16 12:38:22.529985197 -0500
+@@ -58,7 +58,7 @@
+ 	DO_CHECK=$enableval, DO_CHECK=yes)
+ 
+ if test	"$DO_CHECK" = "yes"; then
+-	accepted_versions="1.2 1.4 2.0"
++	accepted_versions="1.2 1.4 2.0 2.1"
+ 	AC_PATH_PROGS(GNUPG, [gpg gpg2], no)
+ 	ok="no"
+ 	if test "$GNUPG" != "no"; then

Copied: nemo-extensions/repos/community-testing-i686/nemo-pastebin.install (from rev 147264, nemo-extensions/trunk/nemo-pastebin.install)
===================================================================
--- community-testing-i686/nemo-pastebin.install	                        (rev 0)
+++ community-testing-i686/nemo-pastebin.install	2015-11-20 20:16:44 UTC (rev 147265)
@@ -0,0 +1,11 @@
+post_install() {
+  glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: nemo-extensions/repos/community-testing-x86_64/PKGBUILD (from rev 147264, nemo-extensions/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2015-11-20 20:16:44 UTC (rev 147265)
@@ -0,0 +1,188 @@
+# $Id$
+# Maintainer: Alexandre Filgueira <alexfilgueira at antergos.com>
+
+pkgbase=nemo-extensions
+pkgname=('nemo-fileroller'
+	 'nemo-preview'
+	 'nemo-python'
+	 'nemo-share'
+	 'nemo-seahorse')
+	#'nemo-media-columns'
+	#'nemo-pastebin'
+	#'nemo-compare'
+	#'nemo-rabbitvcs'
+pkgver=2.8.0
+_pkgver=2.8.x
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="https://github.com/linuxmint/nemo-extensions"
+depends=(nemo file-roller cjs clutter-gtk clutter-gst gst-plugins-good libmusicbrainz5
+         evince gtksourceview3 webkitgtk python2-gobject seahorse-nautilus samba)
+makedepends=(gconf gnome-common gtk-doc intltool gobject-introspection) # python2-distutils-extra
+options=('!emptydirs')
+source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/linuxmint/nemo-extensions/archive/${_pkgver}.tar.gz"
+        "gpgversion.patch"
+        clutter-gst3.patch)
+sha256sums=('21ecb2f197e17fba2046ef16493e1b4292a8cc0389c65e0ccc4562b1d0982fe5'
+            '187b9c1d684b81abac7ef3095882cfe859bd50570e554d45fcfdbf6e50455b86'
+            '7217c05f4cf4d797e8e042392c1cb92481bb616a1e7ce20393228591a6bc91e0')
+
+prepare() {
+  cd ${pkgbase}-${_pkgver}
+
+  # Python2 fix
+  find -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+
+  # GPG version in testing
+  patch -Np1 -i ../gpgversion.patch
+
+  # Fix path for nemo-python
+  sed -i 's|libdirsuffix="/i386-linux-gnu/"|libdirsuffix=""|' nemo-python/m4/python.m4
+
+  cd nemo-preview
+  patch -Np1 -i ../../clutter-gst3.patch
+}
+
+build() {
+  cd ${pkgbase}-${_pkgver}
+
+  _configure_pkgs="nemo-fileroller nemo-seahorse nemo-share"
+  for dir in ${_configure_pkgs}
+  do
+    pushd ${dir}
+    autoreconf -fi
+    ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/${dir} \
+                --disable-static --disable-schemas-compile
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+    make
+    popd
+  done
+
+  _autogen_pkgs="nemo-preview nemo-python"
+  for dir in ${_autogen_pkgs}
+  do
+    pushd ${dir}
+    ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/${dir} \
+                 --disable-static --disable-schemas-compile
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+    make
+    popd
+  done
+
+    # # nemo-pastebin
+    # cd nemo-pastebin
+    # python2 ./setup.py build --build-base ${srcdir}/build/ || return 1
+    # cd ..
+
+  	# nemo-media-columns
+  	# Nothing to do here
+  	# Required python2-pypdf from AUR
+
+  	# nemo-compare
+  	# cd nemo-compare
+
+    # nemo-rabbitvcs
+    # Nothing to do here
+
+}
+
+package_nemo-fileroller(){
+  pkgdesc="File archiver extension for Nemo"
+  depends=(nemo file-roller)
+
+  cd ${pkgbase}-${_pkgver}/nemo-fileroller
+  make DESTDIR="${pkgdir}" install
+}
+
+package_nemo-preview(){
+  pkgdesc=("GtkClutter and Javascript-based quick previewer for Nemo")
+  depends=(nemo cjs clutter-gtk clutter-gst libmusicbrainz5 evince gtksourceview3 webkitgtk)
+
+  cd ${pkgbase}-${_pkgver}/nemo-preview
+  make DESTDIR="${pkgdir}" install
+}
+
+package_nemo-python() {
+  pkgdesc="Python2 binding for Nemo components"
+  depends=(nemo python2-gobject)
+
+  cd ${pkgbase}-${_pkgver}/nemo-python
+  make DESTDIR="${pkgdir}" install
+}
+
+package_nemo-seahorse(){
+  pkgdesc="PGP encryption and signing extension for Nemo"
+  depends=(nemo seahorse-nautilus)
+
+  cd ${pkgbase}-${_pkgver}/nemo-seahorse
+  make DESTDIR="${pkgdir}" install
+
+  # seahorse-tool is already in seahorse-nautilus package
+  make -C data DESTDIR="${pkgdir}" uninstall
+  make -C tool DESTDIR="${pkgdir}" uninstall
+}
+
+package_nemo-share(){
+  pkgdesc="Samba extension for Nemo"
+  depends=(nemo samba)
+
+  cd ${pkgbase}-${_pkgver}/nemo-share
+  make DESTDIR="${pkgdir}" install
+}
+
+# package_nemo-media-columns(){
+# 	cd ${pkgbase}-${_pkgver}/nemo-media-columns
+
+# 	pkgdesc=("A Nemo extension to display music/EXIF and PDF metadata info in the Nemo List View")
+# 	arch=(any)
+
+#   install -d ${pkgdir}/usr/share/nemo-python/extensions/
+# 	install -Dm755 ${srcdir}/nemo-media-columns.py \
+# 			${pkgdir}/usr/share/nemo-python/extensions/nemo-media-columns.py
+# }
+
+# package_nemo-pastebin(){
+# 	cd ${pkgbase}-${_pkgver}/nemo-pastebin
+
+# 	pkgdesc="Nemo extension to send files to a pastebin"
+# 	arch=(any)
+# 	depends=(nemo pastebinit nemo-python)
+#   install=nemo-pastebin.install
+
+# 	python2 ./setup.py install --prefix=/usr --root=${pkgdir} \
+# 		--no-compile -O0
+# }
+
+# package_nemo-compare() {
+#   cd ${pkgbase}-${_pkgver}/nemo-compare
+
+#   pkgdesc="Context menu comparison extension for Nemo file manager"
+#   depends=(python2 python2-xdg meld nemo-python)
+
+#   install -d ${pkgdir}/usr/share/applications/
+#   install -d ${pkgdir}/usr/share/nemo-compare/
+
+#   install -Dm755 ${srcdir}/data/nemo-compare-preferences.desktop \
+#                   /usr/share/applications/nemo-compare-preferences.desktop
+#   install -Dm755 ${srcdir}/data/nemo-compare-notification \
+#                   /usr/share/nemo-compare/nemo-compare-notification
+#   install -Dm755 ${srcdir}/src/nemo-compare.py \
+#                   /usr/share/nemo-compare/nemo-compare.py
+#   install -Dm755 ${srcdir}/src/utils.py \
+#                   /usr/share/nemo-compare/utils.py
+#   install -Dm755 ${srcdir}/src/nemo-compare-preferences.py \
+#                   /usr/share/nemo-compare/nemo-compare-preferences.py
+
+# }
+
+# package_nemo-rabbitvcs(){
+# 	cd ${pkgbase}-${_pkgver}/nemo-rabbitvcs
+
+#   depends=(nemo-python python2-dbus)
+
+#   install -d ${pkgdir}/usr/share/nemo-python/extensions/
+#   install -Dm755 ${srcdir}/RabbitVCS.py \
+#       ${pkgdir}/usr/share/nemo-python/extensions/RabbitVCS.py
+# }
+

Copied: nemo-extensions/repos/community-testing-x86_64/clutter-gst3.patch (from rev 147264, nemo-extensions/trunk/clutter-gst3.patch)
===================================================================
--- community-testing-x86_64/clutter-gst3.patch	                        (rev 0)
+++ community-testing-x86_64/clutter-gst3.patch	2015-11-20 20:16:44 UTC (rev 147265)
@@ -0,0 +1,156 @@
+From ce695719d7292bfe9d8183cfa057afe1df53565b Mon Sep 17 00:00:00 2001
+From: Lionel Landwerlin <llandwerlin at gmail.com>
+Date: Sat, 17 Oct 2015 00:24:42 +0100
+Subject: viewer: gst: port to ClutterGst 3.0
+
+https://bugzilla.gnome.org/show_bug.cgi?id=756725
+---
+ configure.ac          |  2 +-
+ src/js/viewers/gst.js | 56 +++++++++++++++++++++++++++------------------------
+ 2 files changed, 31 insertions(+), 27 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 3b5ff56..7e869d5 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -62,7 +62,7 @@ PKG_CHECK_MODULES(SUSHI,
+                   clutter-x11-1.0 >= $CLUTTER_MIN_VERSION
+                   gtk+-3.0 >= $GTK_MIN_VERSION
+                   clutter-gtk-1.0 >= $CLUTTER_GTK_MIN_VERSION
+-                  clutter-gst-2.0
++                  clutter-gst-3.0
+                   gstreamer-1.0
+                   gstreamer-pbutils-1.0
+                   gstreamer-tag-1.0
+diff --git a/src/js/viewers/gst.js b/src/js/viewers/gst.js
+index 3560277..6a010f6 100644
+--- a/src/js/viewers/gst.js
++++ b/src/js/viewers/gst.js
+@@ -23,7 +23,7 @@
+  *
+  */
+ 
+-imports.gi.versions.ClutterGst = '2.0';
++imports.gi.versions.ClutterGst = '3.0';
+ const ClutterGst = imports.gi.ClutterGst;
+ const Clutter = imports.gi.Clutter;
+ const Gdk = imports.gi.Gdk;
+@@ -60,29 +60,33 @@ const GstRenderer = new Lang.Class({
+     },
+ 
+     clear : function() {
+-        this._video.playing = false;
++        this._player.playing = false;
+     },
+ 
+     _createVideo : function(file) {
+-        this._video =
+-            new ClutterGst.VideoTexture({ sync_size: false });
++        this._player = new ClutterGst.Playback();
++        this._video = new Clutter.Actor({
++            content: new ClutterGst.Aspectratio({
++                player: this._player
++            })
++        });
+ 
+-        this._video.set_uri(file.get_uri());
+-        this._video.playing = true;
++        this._player.set_uri(file.get_uri());
++        this._player.playing = true;
+ 
+         this._videoSizeChangeId =
+-            this._video.connect('size-change',
+-                                Lang.bind(this,
+-                                          this._onVideoSizeChange));
+-        this._video.connect('notify::playing',
+-                            Lang.bind(this,
+-                                      this._onVideoPlayingChange));
+-        this._video.connect('notify::progress',
+-                            Lang.bind(this,
+-                                      this._onVideoProgressChange));
+-        this._video.connect('notify::duration',
+-                            Lang.bind(this,
+-                                      this._onVideoDurationChange));
++            this._player.connect('size-change',
++                                 Lang.bind(this,
++                                           this._onVideoSizeChange));
++        this._player.connect('notify::playing',
++                             Lang.bind(this,
++                                       this._onVideoPlayingChange));
++        this._player.connect('notify::progress',
++                             Lang.bind(this,
++                                       this._onVideoProgressChange));
++        this._player.connect('notify::duration',
++                             Lang.bind(this,
++                                       this._onVideoDurationChange));
+     },
+ 
+     _updateProgressBar : function() {
+@@ -90,7 +94,7 @@ const GstRenderer = new Lang.Class({
+             return;
+ 
+         this._isSettingValue = true;
+-        this._progressBar.set_value(this._video.progress * 1000);
++        this._progressBar.set_value(this._player.progress * 1000);
+         this._isSettingValue = false;
+     },
+ 
+@@ -99,7 +103,7 @@ const GstRenderer = new Lang.Class({
+             return;
+ 
+         let currentTime =
+-            Math.floor(this._video.duration * this._video.progress);
++            Math.floor(this._player.duration * this._player.progress);
+ 
+         this._currentLabel.set_text(Utils.formatTimeString(currentTime));
+     },
+@@ -108,7 +112,7 @@ const GstRenderer = new Lang.Class({
+         if (!this._mainToolbar)
+             return;
+ 
+-        let totalTime = this._video.duration;
++        let totalTime = this._player.duration;
+ 
+         this._durationLabel.set_text(Utils.formatTimeString(totalTime));
+     },
+@@ -123,7 +127,7 @@ const GstRenderer = new Lang.Class({
+     },
+ 
+     _onVideoPlayingChange : function() {
+-        if (this._video.playing)
++        if (this._player.playing)
+             this._toolbarPlay.set_icon_name('media-playback-pause-symbolic');
+         else
+         {
+@@ -166,8 +170,8 @@ const GstRenderer = new Lang.Class({
+ 
+         this._toolbarPlay.connect('clicked',
+                                   Lang.bind(this, function () {
+-                                      let playing = !this._video.playing;
+-                                      this._video.playing = playing;
++                                      let playing = !this._player.playing;
++                                      this._player.playing = playing;
+                                   }));
+ 
+         this._progressBar =
+@@ -178,7 +182,7 @@ const GstRenderer = new Lang.Class({
+         this._progressBar.connect('value-changed',
+                                   Lang.bind(this, function() {
+                                       if(!this._isSettingValue)
+-                                          this._video.progress = this._progressBar.get_value() / 1000;
++                                          this._player.progress = this._progressBar.get_value() / 1000;
+                                   }));
+ 
+         item = new Gtk.ToolItem();
+@@ -200,7 +204,7 @@ const GstRenderer = new Lang.Class({
+         return this._toolbarActor;
+     },
+ 
+-    _onVideoSizeChange : function(video, width, height) {
++    _onVideoSizeChange : function(player, width, height) {
+         this._videoWidth = width;
+         this._videoHeight = height;
+ 
+-- 
+cgit v0.11.2
+

Copied: nemo-extensions/repos/community-testing-x86_64/gpgversion.patch (from rev 147264, nemo-extensions/trunk/gpgversion.patch)
===================================================================
--- community-testing-x86_64/gpgversion.patch	                        (rev 0)
+++ community-testing-x86_64/gpgversion.patch	2015-11-20 20:16:44 UTC (rev 147265)
@@ -0,0 +1,11 @@
+--- nemo-extensions-2.4.x.o/nemo-seahorse/configure.ac	2014-11-01 05:42:22.000000000 -0500
++++ nemo-extensions-2.4.x/nemo-seahorse/configure.ac	2014-11-16 12:38:22.529985197 -0500
+@@ -58,7 +58,7 @@
+ 	DO_CHECK=$enableval, DO_CHECK=yes)
+ 
+ if test	"$DO_CHECK" = "yes"; then
+-	accepted_versions="1.2 1.4 2.0"
++	accepted_versions="1.2 1.4 2.0 2.1"
+ 	AC_PATH_PROGS(GNUPG, [gpg gpg2], no)
+ 	ok="no"
+ 	if test "$GNUPG" != "no"; then

Copied: nemo-extensions/repos/community-testing-x86_64/nemo-pastebin.install (from rev 147264, nemo-extensions/trunk/nemo-pastebin.install)
===================================================================
--- community-testing-x86_64/nemo-pastebin.install	                        (rev 0)
+++ community-testing-x86_64/nemo-pastebin.install	2015-11-20 20:16:44 UTC (rev 147265)
@@ -0,0 +1,11 @@
+post_install() {
+  glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



More information about the arch-commits mailing list