A virtual machine can be useful when you need to run applications that will
-- only run on another operating system, on Microsoft Windows™ for instance. A
-- virtual machine can also be used during software development, to test in a
-- pristine environment.
-+ only run on another operating system. A virtual machine can also be used during
-+ software development, to test in a pristine environment.
Una máquina virtual puede ser útil cuando necesita ejecutar aplicaciones que sólo funcionan en otro sistema operativo, por ejemplo en Microsoft Windows™. También puede usar una máquina virtual durante el desarrollo de un software, para probarlo en un entorno limpio.
-+
Una máquina virtual puede ser útil cuando necesita ejecutar aplicaciones que sólo funcionan en otro sistema operativo. También puede usar una máquina virtual durante el desarrollo de un software, para probarlo en un entorno limpio.
A virtual machine can be useful when you need to run applications that will
+- only run on another operating system, on Microsoft Windows™ for instance. A
+- virtual machine can also be used during software development, to test in a
+- pristine environment.
++ only run on another operating system. A virtual machine can also be used during
++ software development, to test in a pristine environment.
+
+
+diff -Nur gnome-boxes-3.12.1.orig/help/es/why-do-i-need-virtual-machine.page gnome-boxes-3.12.1/help/es/why-do-i-need-virtual-machine.page
+--- gnome-boxes-3.12.1.orig/help/es/why-do-i-need-virtual-machine.page 2014-04-15 13:04:58.000000000 -0300
++++ gnome-boxes-3.12.1/help/es/why-do-i-need-virtual-machine.page 2014-05-08 03:26:15.686908834 -0300
+@@ -30,6 +30,6 @@
+
+ ¿Para qué necesito una máquina virtual?
+
+-
Una máquina virtual puede ser útil cuando necesita ejecutar aplicaciones que sólo funcionan en otro sistema operativo, por ejemplo en Microsoft Windows™. También puede usar una máquina virtual durante el desarrollo de un software, para probarlo en un entorno limpio.
++
Una máquina virtual puede ser útil cuando necesita ejecutar aplicaciones que sólo funcionan en otro sistema operativo. También puede usar una máquina virtual durante el desarrollo de un software, para probarlo en un entorno limpio.
+
+
--
cgit v1.2.3
From 0c395b896ea0e01408bdae5c09d19ea0077f86f8 Mon Sep 17 00:00:00 2001
From: André Fabian Silva Delgado
Date: Fri, 5 Sep 2014 01:50:03 -0300
Subject: gloobus-preview: remove libre suffix and add complex pkgrel
---
libre/gloobus-preview-libre/PKGBUILD | 104 -----------------
.../fix-gtksource-include.patch | 39 -------
libre/gloobus-preview-libre/fix-unoconv.patch | 46 --------
...bus-preview-configuration-pygobject3-port.patch | 124 ---------------------
.../gloobus-preview-usr-bsdtar-for-rar.patch | 29 -----
.../gloobus-preview-libre/gloobus-preview.install | 12 --
.../gloobus-sushi-pygobject3-port.patch | 21 ----
libre/gloobus-preview-libre/use-xdg-open.patch | 20 ----
libre/gloobus-preview/PKGBUILD | 102 +++++++++++++++++
libre/gloobus-preview/fix-gtksource-include.patch | 39 +++++++
libre/gloobus-preview/fix-unoconv.patch | 46 ++++++++
...bus-preview-configuration-pygobject3-port.patch | 124 +++++++++++++++++++++
.../gloobus-preview-usr-bsdtar-for-rar.patch | 29 +++++
libre/gloobus-preview/gloobus-preview.install | 12 ++
.../gloobus-sushi-pygobject3-port.patch | 21 ++++
libre/gloobus-preview/use-xdg-open.patch | 20 ++++
16 files changed, 393 insertions(+), 395 deletions(-)
delete mode 100644 libre/gloobus-preview-libre/PKGBUILD
delete mode 100644 libre/gloobus-preview-libre/fix-gtksource-include.patch
delete mode 100644 libre/gloobus-preview-libre/fix-unoconv.patch
delete mode 100644 libre/gloobus-preview-libre/gloobus-preview-configuration-pygobject3-port.patch
delete mode 100644 libre/gloobus-preview-libre/gloobus-preview-usr-bsdtar-for-rar.patch
delete mode 100644 libre/gloobus-preview-libre/gloobus-preview.install
delete mode 100644 libre/gloobus-preview-libre/gloobus-sushi-pygobject3-port.patch
delete mode 100644 libre/gloobus-preview-libre/use-xdg-open.patch
create mode 100644 libre/gloobus-preview/PKGBUILD
create mode 100644 libre/gloobus-preview/fix-gtksource-include.patch
create mode 100644 libre/gloobus-preview/fix-unoconv.patch
create mode 100644 libre/gloobus-preview/gloobus-preview-configuration-pygobject3-port.patch
create mode 100644 libre/gloobus-preview/gloobus-preview-usr-bsdtar-for-rar.patch
create mode 100644 libre/gloobus-preview/gloobus-preview.install
create mode 100644 libre/gloobus-preview/gloobus-sushi-pygobject3-port.patch
create mode 100644 libre/gloobus-preview/use-xdg-open.patch
(limited to 'libre')
diff --git a/libre/gloobus-preview-libre/PKGBUILD b/libre/gloobus-preview-libre/PKGBUILD
deleted file mode 100644
index 8385ea8b1..000000000
--- a/libre/gloobus-preview-libre/PKGBUILD
+++ /dev/null
@@ -1,104 +0,0 @@
-# $Id: PKGBUILD 104564 2014-01-22 21:49:14Z bgyorgy $
-# Maintainer (Arch): Balló György
-# Maintainer: André Silva
-
-_pkgname=gloobus-preview
-pkgname=gloobus-preview-libre
-pkgver=0.4.5.290
-_pkgver=0.4.5-ubuntu11~ppa290
-pkgrel=2.1
-pkgdesc="Gnome application designed to enable a full screen preview of any kind of file, with libarchive support"
-arch=('i686' 'x86_64' 'mips64el')
-url="http://gloobus.net/"
-license=('GPL')
-depends=('gstreamer0.10-base-plugins' 'gtksourceview3' 'poppler-glib' 'python2-dbus' 'python2-gobject' 'gconf' 'taglib' 'xdg-utils')
-makedepends=('boost' 'bzr' 'djvulibre' 'libspectre')
-replaces=($_pkgname)
-conflicts=($_pkgname)
-provides=($_pkgname=$pkgver)
-optdepends=('djvulibre: Preview DjVu documents'
- 'gstreamer0.10-bad-plugins: Extra media codecs'
- 'gstreamer0.10-good-plugins: Extra media codecs'
- 'gstreamer0.10-ffmpeg: Extra media codecs'
- 'gstreamer0.10-ugly-plugins: Extra media codecs'
- 'libspectre: Preview PostScript documents'
- 'p7zip: View content of 7z archives'
- 'unoconv: Preview LibreOffice compatible documents'
- 'libarchive: View content of RAR archives'
- 'unzip: View content of .ZIP archives')
-install=$_pkgname.install
-source=(https://launchpad.net/~gloobus-dev/+archive/$_pkgname/+files/${_pkgname}_$_pkgver.orig.tar.xz
- gloobus-sushi::bzr+http://bazaar.launchpad.net/~gloobus-dev/gloobus-sushi/gloobus-sushi
- fix-gtksource-include.patch
- fix-unoconv.patch
- use-xdg-open.patch
- gloobus-preview-configuration-pygobject3-port.patch
- gloobus-sushi-pygobject3-port.patch
- gloobus-preview-usr-bsdtar-for-rar.patch)
-md5sums=('27b3db2043ecaf47fa928940bbb4f32a'
- 'SKIP'
- 'ca15a3e31cec01d3d4fc5a4e1720f692'
- '03379c173e67ad1b6804bc609336451d'
- 'd6d9e2b3e001f0ea8440cccdf90480af'
- '16e7a7d892dfde5fd40332fc41de97b0'
- '7536f8fbbb2c6bbc0132a2fa25b296b7'
- '25cda63ad406f00d3a7ba61ee8816b5c')
-
-prepare() {
- cd "$srcdir/$_pkgname-$_pkgver"
-
- # Python2 fix
- sed -i 's@^#!.*python$@#!/usr/bin/python2@' src/gloobus-preview-configuration
-
- # Fix build
- patch -Np1 -i "$srcdir/fix-gtksource-include.patch"
- sed -i 's/-Werror//' configure.ac src/Makefile.am
-
- # Fix unoconv support
- patch -Np1 -i "$srcdir/fix-unoconv.patch"
-
- # Use xdg-open
- patch -Np1 -i "$srcdir/use-xdg-open.patch"
-
- # Port gloobus-preview-configuration to pygobject3
- patch -Np1 -i "$srcdir/gloobus-preview-configuration-pygobject3-port.patch"
-
- # Use bsdtar (libarchive) for RAR.
- patch -Np1 -i "$srcdir/gloobus-preview-usr-bsdtar-for-rar.patch"
-
- ### Prepare gloobus-sushi
- cd "$srcdir/gloobus-sushi"
-
- # Python2 fix
- sed -i 's/python /python2 /' src/gloobus-sushi.in
-
- # Port gloobus-sushi to pygobject3
- patch -Np1 -i "$srcdir/gloobus-sushi-pygobject3-port.patch"
-}
-
-
-build() {
- cd "$srcdir/$_pkgname-$_pkgver"
-
- ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --disable-static
- make
-
- ### Build gloobus-sushi
- cd "$srcdir/gloobus-sushi"
-
- ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
- make
-}
-
-package() {
- cd "$srcdir/$_pkgname-$_pkgver"
- make DESTDIR="$pkgdir" install
-
- ### Install gloobus-sushi
- cd "$srcdir/gloobus-sushi"
- make DESTDIR="$pkgdir" install
-
- # Rename service file to avoid conflict with sushi
- mv "$pkgdir"/usr/share/dbus-1/services/{org.gnome.Sushi.service,net.gloobus.Sushi.service}
-}
diff --git a/libre/gloobus-preview-libre/fix-gtksource-include.patch b/libre/gloobus-preview-libre/fix-gtksource-include.patch
deleted file mode 100644
index 053169a43..000000000
--- a/libre/gloobus-preview-libre/fix-gtksource-include.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff -Naur gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/gloobus-preview-interface-text.h gloobus-preview-0.4.5-ubuntu11~ppa290/src/gloobus-preview-interface-text.h
---- gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/gloobus-preview-interface-text.h 2012-04-06 15:07:29.000000000 +0200
-+++ gloobus-preview-0.4.5-ubuntu11~ppa290/src/gloobus-preview-interface-text.h 2013-05-17 06:27:37.833360264 +0200
-@@ -1,8 +1,7 @@
- #ifndef _ITEXT_
- #define _ITEXT_
-
--#include
--#include
-+#include
- //sudo ln -s /usr/include/gtksourceview-2.0/gtksourceview/ /usr/include/gtksourceview
-
- #include "gloobus-preview-interface-main.h"
-diff -Naur gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/gloobus-preview-plugin-manager.cpp gloobus-preview-0.4.5-ubuntu11~ppa290/src/gloobus-preview-plugin-manager.cpp
---- gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/gloobus-preview-plugin-manager.cpp 2012-04-06 15:07:29.000000000 +0200
-+++ gloobus-preview-0.4.5-ubuntu11~ppa290/src/gloobus-preview-plugin-manager.cpp 2013-05-17 06:28:19.300984059 +0200
-@@ -1,6 +1,6 @@
- #include "gloobus-preview-plugin-manager.h"
- #include
--#include
-+#include
-
- vector PluginManager::plugins;
- map PluginManager::filetypes;
-diff -Naur gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-text/plugin-text.h gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-text/plugin-text.h
---- gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-text/plugin-text.h 2012-04-06 15:07:29.000000000 +0200
-+++ gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-text/plugin-text.h 2013-05-17 06:26:26.788384315 +0200
-@@ -3,10 +3,7 @@
-
- #ifndef PLUGIN_LOADER
-
--#include
--#include
--#include
--#include
-+#include
- #include
-
- #include "../gloobus-preview-config.h"
diff --git a/libre/gloobus-preview-libre/fix-unoconv.patch b/libre/gloobus-preview-libre/fix-unoconv.patch
deleted file mode 100644
index f918f3019..000000000
--- a/libre/gloobus-preview-libre/fix-unoconv.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-diff -Naur gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-pdf/office-loader.cpp gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-pdf/office-loader.cpp
---- gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-pdf/office-loader.cpp 2012-04-06 15:07:29.000000000 +0200
-+++ gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-pdf/office-loader.cpp 2013-05-18 10:24:33.558221788 +0200
-@@ -87,7 +87,7 @@
-
- if( NULL == uri && Utils::isProgramAvailable("unoconv") ) {
- gchar *path = g_file_get_path(file);
-- gchar *cmd = g_strdup_printf("unoconv --stdout \"%s\" > \"%s\"", path, tmp);
-+ gchar *cmd = g_strdup_printf("unoconv -f pdf -o \"%s\" \"%s\"", tmp, path);
-
- if( system(cmd) == 0) {
- uri = pathToUri(tmp);
-@@ -123,4 +123,4 @@
- {
- path = "file://" + path;
- return g_uri_escape_string(path.c_str(), G_URI_RESERVED_CHARS_ALLOWED_IN_PATH, false);
--}
-\ No newline at end of file
-+}
-diff -Naur gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-pdf/office-plugin.h gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-pdf/office-plugin.h
---- gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-pdf/office-plugin.h 2012-04-06 15:07:29.000000000 +0200
-+++ gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-pdf/office-plugin.h 2013-05-18 10:33:02.352806550 +0200
-@@ -6,15 +6,21 @@
- PluginManager::register_plugin("office");
-
- PluginManager::register_filetype("application/vnd.oasis.opendocument.text", 1);
-+PluginManager::register_filetype("application/vnd.openxmlformats-officedocument.wordprocessingml.document", 1);
- PluginManager::register_filetype("application/msword", 1);
- PluginManager::register_filetype("application/rtf", 1);
- PluginManager::register_filetype("application/vnd.ms-excel", 1);
- PluginManager::register_filetype("application/vnd.oasis.opendocument.spreadsheet", 1);
-+PluginManager::register_filetype("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", 1);
- PluginManager::register_filetype("application/vnd.ms-powerpoint", 1);
-+PluginManager::register_filetype("application/vnd.oasis.opendocument.presentation", 1);
-+PluginManager::register_filetype("application/vnd.openxmlformats-officedocument.presentationml.presentation", 1);
- PluginManager::register_filetype("application/vnd.sun.xml.calc", 1);
-+PluginManager::register_filetype("application/vnd.oasis.opendocument.graphics", 1);
-+
-
- // TODO: add more filetypes supported by abiword and/or OpenOffice
-
- #endif
-
--#endif /* OFFICE_PLUGIN_H */
-\ No newline at end of file
-+#endif /* OFFICE_PLUGIN_H */
diff --git a/libre/gloobus-preview-libre/gloobus-preview-configuration-pygobject3-port.patch b/libre/gloobus-preview-libre/gloobus-preview-configuration-pygobject3-port.patch
deleted file mode 100644
index 2c2540753..000000000
--- a/libre/gloobus-preview-libre/gloobus-preview-configuration-pygobject3-port.patch
+++ /dev/null
@@ -1,124 +0,0 @@
-diff -Naur gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/gloobus-preview-configuration gloobus-preview-0.4.5-ubuntu11~ppa290/src/gloobus-preview-configuration
---- gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/gloobus-preview-configuration 2014-01-22 21:54:41.555697168 +0100
-+++ gloobus-preview-0.4.5-ubuntu11~ppa290/src/gloobus-preview-configuration 2014-01-22 21:34:36.867164953 +0100
-@@ -6,10 +6,9 @@
- import os
- import sys
- import glob
--import gtk
-+from gi.repository import Gtk, GConf
- import signal
- import gettext
--import gconf
- #import config
-
- #=========================== CLASS COLORS =======================================================#
-@@ -69,54 +68,54 @@
- def __init__(self):
- self.config = config_load()
-
-- self.client = gconf.client_get_default()
-+ self.client = GConf.Client.get_default()
- self.gconf_win_layout = self.client.get_string('/apps/metacity/general/button_layout')
-
- #================= Show In Taskbar ================= #
-- self.entry1 = gtk.CheckButton(label=_("Show in TaskBar"), use_underline=False)
-+ self.entry1 = Gtk.CheckButton(label=_("Show in TaskBar"), use_underline=False)
- self.entry1.set_tooltip_markup(_("When enabled gloobus-preview will be\nshown in the taskbar"))
- self.entry1.set_active(self.config.getboolean("Main","taskbar"))
-
- #================= Allways on top ================= #
-- self.entry2 = gtk.CheckButton(label=_("Always on top"), use_underline=False)
-+ self.entry2 = Gtk.CheckButton(label=_("Always on top"), use_underline=False)
- self.entry2.set_tooltip_markup(_("When enabled gloobus-preview will be\nalways on top of the other windows"))
- self.entry2.set_active(self.config.getboolean("Main","ontop"))
- win.set_keep_above(self.config.getboolean("Main","ontop"))
-
-
- #================= Quit on lose focus ================= #
-- self.entry3 = gtk.CheckButton(label=_("Quit on lose focus"), use_underline=False)
-+ self.entry3 = Gtk.CheckButton(label=_("Quit on lose focus"), use_underline=False)
- self.entry3.set_tooltip_markup(_("When enabled, gloobus-preview will exit\nwhen it loses focus"))
- self.entry3.set_active(self.config.getboolean("Main","focus"))
-
- #================= Win bar layout ================= #
-- self.entry4 = gtk.CheckButton(label=_("Window Bar Layout inverted"), use_underline=False)
-+ self.entry4 = Gtk.CheckButton(label=_("Window Bar Layout inverted"), use_underline=False)
- self.entry4.set_tooltip_markup(_("Layout of the buttons\nclose button on the right/left?"))
- self.entry4.set_active(self.config.getboolean("Main","winbar_layout"))
-
- #================= Use gtk theme ================= #
-- self.theme_gtk_entry = gtk.CheckButton(label=_("Use gtk theme"), use_underline=False)
-+ self.theme_gtk_entry = Gtk.CheckButton(label=_("Use gtk theme"), use_underline=False)
- self.theme_gtk_entry.set_tooltip_markup(_("When enabled, gloobus-preview will use system GTK theme"))
- self.theme_gtk_entry.set_active(self.config.getboolean("Theme","gtk"))
-
- #=================== BUTTONS ===================== #
-- container0 = gtk.HBox(True,1) #Save and close buttons
-+ container0 = Gtk.HBox(True,1) #Save and close buttons
-
-- ok_button = gtk.Button(_("Save"))
-- cancel_button = gtk.Button(_("Cancel"))
-+ ok_button = Gtk.Button(_("Save"))
-+ cancel_button = Gtk.Button(_("Cancel"))
-
- container0.add(cancel_button)
- container0.add(ok_button)
-- cancel_button.connect('clicked', gtk.main_quit)
-+ cancel_button.connect('clicked', Gtk.main_quit)
- ok_button.connect('clicked', self.save_conf)
-
- #============ GENERAL CONTAINER ================== #
-
-- general_container = gtk.VBox(False,1)
-+ general_container = Gtk.VBox(False,1)
-
-- title = gtk.Label()
-+ title = Gtk.Label()
- title.set_markup(_("Main settings"))
-- align2 = gtk.Alignment(0,0,0,0)
-+ align2 = Gtk.Alignment.new(0,0,0,0)
- align2.set_padding(0,5,0,0)
- align2.add(title)
-
-@@ -128,11 +127,11 @@
- if self.gconf_win_layout == None:
- general_container.add(self.entry4) #Always on top
-
-- general_container.add(gtk.HSeparator())
-- general_container.add(gtk.Label()) #White Space
-+ general_container.add(Gtk.HSeparator())
-+ general_container.add(Gtk.Label()) #White Space
- general_container.add(container0) #Close & save buttons
-
-- align = gtk.Alignment(0,0,0,0);
-+ align = Gtk.Alignment.new(0,0,0,0);
- align.set_padding(10,5,10,10)
-
- align.add(general_container)
-@@ -155,7 +154,7 @@
-
- config_save(self.config)
-
-- gtk.main_quit()
-+ Gtk.main_quit()
-
-
- #==================================== GLOBAL FUNCTIONS ===============================================#
-@@ -232,13 +231,13 @@
- g.debug("Path: " + abspath)
- g.debug("Config File: " + CONFIG_PATH)
-
--win = gtk.Window()
-+win = Gtk.Window()
- win.set_title(_("Gloobus-Preview Configuration"))
- #win.set_default_size(400,150)
--win.connect('delete-event', gtk.main_quit)
-+win.connect('delete-event', Gtk.main_quit)
-
-
- gui = GUI()
-
--gtk.main()
-+Gtk.main()
-
diff --git a/libre/gloobus-preview-libre/gloobus-preview-usr-bsdtar-for-rar.patch b/libre/gloobus-preview-libre/gloobus-preview-usr-bsdtar-for-rar.patch
deleted file mode 100644
index 3db748114..000000000
--- a/libre/gloobus-preview-libre/gloobus-preview-usr-bsdtar-for-rar.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff -Nur gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-compressed/plugin-compressed.cpp gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-compressed/plugin-compressed.cpp
---- gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-compressed/plugin-compressed.cpp 2012-04-06 10:07:29.000000000 -0300
-+++ gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-compressed/plugin-compressed.cpp 2014-08-26 16:55:39.534735733 -0300
-@@ -55,11 +55,8 @@
- else if ( type == GP_COMPRESSED_RAR
- || type == GP_COMPRESSED_RAR_X )
- {
-- cmd_args.push_back("unrar");
-- cmd_args.push_back("vb");
-- cmd_args.push_back("-c-");
-- cmd_args.push_back("-p-"); // do not query for password
-- cmd_args.push_back("--");
-+ cmd_args.push_back("bsdtar");
-+ cmd_args.push_back("-tf");
- line_parser = &iCompressed::parse_line_rar;
- }
- else if ( type == GP_COMPRESSED_TAR
-diff -Nur gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-compressed/plugin-compressed.h gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-compressed/plugin-compressed.h
---- gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-compressed/plugin-compressed.h 2012-04-06 10:07:29.000000000 -0300
-+++ gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-compressed/plugin-compressed.h 2014-08-26 16:52:58.903694500 -0300
-@@ -102,7 +102,7 @@
- PluginManager::register_filetype(GP_COMPRESSED_7Z, 1);
- }
-
--if(interface::is_program_available("unrar")) {
-+if(interface::is_program_available("bsdtar")) {
- PluginManager::register_filetype(GP_COMPRESSED_RAR, 1);
- PluginManager::register_filetype(GP_COMPRESSED_RAR_X, 1);
- }
diff --git a/libre/gloobus-preview-libre/gloobus-preview.install b/libre/gloobus-preview-libre/gloobus-preview.install
deleted file mode 100644
index 16ad7278f..000000000
--- a/libre/gloobus-preview-libre/gloobus-preview.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate
- gdk-pixbuf-query-loaders --update-cache
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
diff --git a/libre/gloobus-preview-libre/gloobus-sushi-pygobject3-port.patch b/libre/gloobus-preview-libre/gloobus-sushi-pygobject3-port.patch
deleted file mode 100644
index f748da875..000000000
--- a/libre/gloobus-preview-libre/gloobus-sushi-pygobject3-port.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -Naur gloobus-sushi.orig/src/gloobus-sushi.py gloobus-sushi/src/gloobus-sushi.py
---- gloobus-sushi.orig/src/gloobus-sushi.py 2014-01-22 21:54:41.297590000 +0100
-+++ gloobus-sushi/src/gloobus-sushi.py 2014-01-22 21:45:21.244184455 +0100
-@@ -16,7 +16,7 @@
-
- import dbus
- import dbus.service
--import gobject
-+from gi.repository import GObject
- import os
-
- from dbus.mainloop.glib import DBusGMainLoop
-@@ -28,7 +28,7 @@
- def __init__(self):
- bus_name = dbus.service.BusName(DBUS_NAME, bus=dbus.SessionBus())
- super(DBusWrapper, self).__init__(bus_name, DBUS_PATH)
-- self.loop = gobject.MainLoop()
-+ self.loop = GObject.MainLoop()
- self.loop.run()
-
- @dbus.service.method(DBUS_NAME)
diff --git a/libre/gloobus-preview-libre/use-xdg-open.patch b/libre/gloobus-preview-libre/use-xdg-open.patch
deleted file mode 100644
index 68e219e6a..000000000
--- a/libre/gloobus-preview-libre/use-xdg-open.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -Naur gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/gloobus-preview-window.cpp gloobus-preview-0.4.5-ubuntu11~ppa290/src/gloobus-preview-window.cpp
---- gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/gloobus-preview-window.cpp 2012-04-06 15:07:29.000000000 +0200
-+++ gloobus-preview-0.4.5-ubuntu11~ppa290/src/gloobus-preview-window.cpp 2013-05-18 09:49:24.833574800 +0200
-@@ -560,12 +560,12 @@
- string label(gtk_menu_item_get_label(item));
- if(label == _("Settings"))
- cmd = "gloobus-preview-configuration";
-- else if(label == _("Report a Bug"))
-- cmd = "gnome-open \"https://bugs.launchpad.net/gloobus-preview/\"";
-+ else if(label == _("Report a Problem"))
-+ cmd = "xdg-open \"https://bugs.launchpad.net/gloobus-preview/\"";
- else if(label == _("Blog"))
-- cmd = "gnome-open \"http://gloobus.wordpress.com\"" ;
-+ cmd = "xdg-open \"http://gloobus.wordpress.com\"" ;
- else if(label == _("Donate"))
-- cmd = "gnome-open \"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=guitarboy000%40gmail%2ecom&item_name=Gloobus%2c%20A%20Quicklook%20for%20linux&no_shipping=0&no_note=1&tax=0¤cy_code=EUR&lc=US&bn=PP%2dDonationsBF&chars\"" ;
-+ cmd = "xdg-open \"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=guitarboy000%40gmail%2ecom&item_name=Gloobus%2c%20A%20Quicklook%20for%20linux&no_shipping=0&no_note=1&tax=0¤cy_code=EUR&lc=US&bn=PP%2dDonationsBF&chars\"" ;
- else if(label == _("About"))
- ui->create_about();
- else if(label == _("Quit"))
diff --git a/libre/gloobus-preview/PKGBUILD b/libre/gloobus-preview/PKGBUILD
new file mode 100644
index 000000000..7d02eb70e
--- /dev/null
+++ b/libre/gloobus-preview/PKGBUILD
@@ -0,0 +1,102 @@
+# $Id: PKGBUILD 104564 2014-01-22 21:49:14Z bgyorgy $
+# Maintainer (Arch): Balló György
+# Maintainer: André Silva
+
+pkgname=gloobus-preview
+pkgver=0.4.5.290
+_pkgver=0.4.5-ubuntu11~ppa290
+pkgrel=2.parabola1
+pkgdesc="Gnome application designed to enable a full screen preview of any kind of file, with libarchive support"
+arch=('i686' 'x86_64' 'mips64el')
+url="http://gloobus.net/"
+license=('GPL')
+depends=('gstreamer0.10-base-plugins' 'gtksourceview3' 'poppler-glib' 'python2-dbus' 'python2-gobject' 'gconf' 'taglib' 'xdg-utils')
+makedepends=('boost' 'bzr' 'djvulibre' 'libspectre')
+replaces=(${pkgname}-libre)
+conflicts=(${pkgname}-libre)
+optdepends=('djvulibre: Preview DjVu documents'
+ 'gstreamer0.10-bad-plugins: Extra media codecs'
+ 'gstreamer0.10-good-plugins: Extra media codecs'
+ 'gstreamer0.10-ffmpeg: Extra media codecs'
+ 'gstreamer0.10-ugly-plugins: Extra media codecs'
+ 'libspectre: Preview PostScript documents'
+ 'p7zip: View content of 7z archives'
+ 'unoconv: Preview LibreOffice compatible documents'
+ 'libarchive: View content of RAR archives'
+ 'unzip: View content of .ZIP archives')
+install=$pkgname.install
+source=(https://launchpad.net/~gloobus-dev/+archive/$pkgname/+files/${pkgname}_$_pkgver.orig.tar.xz
+ gloobus-sushi::bzr+http://bazaar.launchpad.net/~gloobus-dev/gloobus-sushi/gloobus-sushi
+ fix-gtksource-include.patch
+ fix-unoconv.patch
+ use-xdg-open.patch
+ gloobus-preview-configuration-pygobject3-port.patch
+ gloobus-sushi-pygobject3-port.patch
+ gloobus-preview-usr-bsdtar-for-rar.patch)
+md5sums=('27b3db2043ecaf47fa928940bbb4f32a'
+ 'SKIP'
+ 'ca15a3e31cec01d3d4fc5a4e1720f692'
+ '03379c173e67ad1b6804bc609336451d'
+ 'd6d9e2b3e001f0ea8440cccdf90480af'
+ '16e7a7d892dfde5fd40332fc41de97b0'
+ '7536f8fbbb2c6bbc0132a2fa25b296b7'
+ '25cda63ad406f00d3a7ba61ee8816b5c')
+
+prepare() {
+ cd "$srcdir/$pkgname-$_pkgver"
+
+ # Python2 fix
+ sed -i 's@^#!.*python$@#!/usr/bin/python2@' src/gloobus-preview-configuration
+
+ # Fix build
+ patch -Np1 -i "$srcdir/fix-gtksource-include.patch"
+ sed -i 's/-Werror//' configure.ac src/Makefile.am
+
+ # Fix unoconv support
+ patch -Np1 -i "$srcdir/fix-unoconv.patch"
+
+ # Use xdg-open
+ patch -Np1 -i "$srcdir/use-xdg-open.patch"
+
+ # Port gloobus-preview-configuration to pygobject3
+ patch -Np1 -i "$srcdir/gloobus-preview-configuration-pygobject3-port.patch"
+
+ # Use bsdtar (libarchive) for RAR.
+ patch -Np1 -i "$srcdir/gloobus-preview-usr-bsdtar-for-rar.patch"
+
+ ### Prepare gloobus-sushi
+ cd "$srcdir/gloobus-sushi"
+
+ # Python2 fix
+ sed -i 's/python /python2 /' src/gloobus-sushi.in
+
+ # Port gloobus-sushi to pygobject3
+ patch -Np1 -i "$srcdir/gloobus-sushi-pygobject3-port.patch"
+}
+
+
+build() {
+ cd "$srcdir/$pkgname-$_pkgver"
+
+ ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static
+ make
+
+ ### Build gloobus-sushi
+ cd "$srcdir/gloobus-sushi"
+
+ ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$_pkgver"
+ make DESTDIR="$pkgdir" install
+
+ ### Install gloobus-sushi
+ cd "$srcdir/gloobus-sushi"
+ make DESTDIR="$pkgdir" install
+
+ # Rename service file to avoid conflict with sushi
+ mv "$pkgdir"/usr/share/dbus-1/services/{org.gnome.Sushi.service,net.gloobus.Sushi.service}
+}
diff --git a/libre/gloobus-preview/fix-gtksource-include.patch b/libre/gloobus-preview/fix-gtksource-include.patch
new file mode 100644
index 000000000..053169a43
--- /dev/null
+++ b/libre/gloobus-preview/fix-gtksource-include.patch
@@ -0,0 +1,39 @@
+diff -Naur gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/gloobus-preview-interface-text.h gloobus-preview-0.4.5-ubuntu11~ppa290/src/gloobus-preview-interface-text.h
+--- gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/gloobus-preview-interface-text.h 2012-04-06 15:07:29.000000000 +0200
++++ gloobus-preview-0.4.5-ubuntu11~ppa290/src/gloobus-preview-interface-text.h 2013-05-17 06:27:37.833360264 +0200
+@@ -1,8 +1,7 @@
+ #ifndef _ITEXT_
+ #define _ITEXT_
+
+-#include
+-#include
++#include
+ //sudo ln -s /usr/include/gtksourceview-2.0/gtksourceview/ /usr/include/gtksourceview
+
+ #include "gloobus-preview-interface-main.h"
+diff -Naur gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/gloobus-preview-plugin-manager.cpp gloobus-preview-0.4.5-ubuntu11~ppa290/src/gloobus-preview-plugin-manager.cpp
+--- gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/gloobus-preview-plugin-manager.cpp 2012-04-06 15:07:29.000000000 +0200
++++ gloobus-preview-0.4.5-ubuntu11~ppa290/src/gloobus-preview-plugin-manager.cpp 2013-05-17 06:28:19.300984059 +0200
+@@ -1,6 +1,6 @@
+ #include "gloobus-preview-plugin-manager.h"
+ #include
+-#include
++#include
+
+ vector PluginManager::plugins;
+ map PluginManager::filetypes;
+diff -Naur gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-text/plugin-text.h gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-text/plugin-text.h
+--- gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-text/plugin-text.h 2012-04-06 15:07:29.000000000 +0200
++++ gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-text/plugin-text.h 2013-05-17 06:26:26.788384315 +0200
+@@ -3,10 +3,7 @@
+
+ #ifndef PLUGIN_LOADER
+
+-#include
+-#include
+-#include
+-#include
++#include
+ #include
+
+ #include "../gloobus-preview-config.h"
diff --git a/libre/gloobus-preview/fix-unoconv.patch b/libre/gloobus-preview/fix-unoconv.patch
new file mode 100644
index 000000000..f918f3019
--- /dev/null
+++ b/libre/gloobus-preview/fix-unoconv.patch
@@ -0,0 +1,46 @@
+diff -Naur gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-pdf/office-loader.cpp gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-pdf/office-loader.cpp
+--- gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-pdf/office-loader.cpp 2012-04-06 15:07:29.000000000 +0200
++++ gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-pdf/office-loader.cpp 2013-05-18 10:24:33.558221788 +0200
+@@ -87,7 +87,7 @@
+
+ if( NULL == uri && Utils::isProgramAvailable("unoconv") ) {
+ gchar *path = g_file_get_path(file);
+- gchar *cmd = g_strdup_printf("unoconv --stdout \"%s\" > \"%s\"", path, tmp);
++ gchar *cmd = g_strdup_printf("unoconv -f pdf -o \"%s\" \"%s\"", tmp, path);
+
+ if( system(cmd) == 0) {
+ uri = pathToUri(tmp);
+@@ -123,4 +123,4 @@
+ {
+ path = "file://" + path;
+ return g_uri_escape_string(path.c_str(), G_URI_RESERVED_CHARS_ALLOWED_IN_PATH, false);
+-}
+\ No newline at end of file
++}
+diff -Naur gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-pdf/office-plugin.h gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-pdf/office-plugin.h
+--- gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-pdf/office-plugin.h 2012-04-06 15:07:29.000000000 +0200
++++ gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-pdf/office-plugin.h 2013-05-18 10:33:02.352806550 +0200
+@@ -6,15 +6,21 @@
+ PluginManager::register_plugin("office");
+
+ PluginManager::register_filetype("application/vnd.oasis.opendocument.text", 1);
++PluginManager::register_filetype("application/vnd.openxmlformats-officedocument.wordprocessingml.document", 1);
+ PluginManager::register_filetype("application/msword", 1);
+ PluginManager::register_filetype("application/rtf", 1);
+ PluginManager::register_filetype("application/vnd.ms-excel", 1);
+ PluginManager::register_filetype("application/vnd.oasis.opendocument.spreadsheet", 1);
++PluginManager::register_filetype("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", 1);
+ PluginManager::register_filetype("application/vnd.ms-powerpoint", 1);
++PluginManager::register_filetype("application/vnd.oasis.opendocument.presentation", 1);
++PluginManager::register_filetype("application/vnd.openxmlformats-officedocument.presentationml.presentation", 1);
+ PluginManager::register_filetype("application/vnd.sun.xml.calc", 1);
++PluginManager::register_filetype("application/vnd.oasis.opendocument.graphics", 1);
++
+
+ // TODO: add more filetypes supported by abiword and/or OpenOffice
+
+ #endif
+
+-#endif /* OFFICE_PLUGIN_H */
+\ No newline at end of file
++#endif /* OFFICE_PLUGIN_H */
diff --git a/libre/gloobus-preview/gloobus-preview-configuration-pygobject3-port.patch b/libre/gloobus-preview/gloobus-preview-configuration-pygobject3-port.patch
new file mode 100644
index 000000000..2c2540753
--- /dev/null
+++ b/libre/gloobus-preview/gloobus-preview-configuration-pygobject3-port.patch
@@ -0,0 +1,124 @@
+diff -Naur gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/gloobus-preview-configuration gloobus-preview-0.4.5-ubuntu11~ppa290/src/gloobus-preview-configuration
+--- gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/gloobus-preview-configuration 2014-01-22 21:54:41.555697168 +0100
++++ gloobus-preview-0.4.5-ubuntu11~ppa290/src/gloobus-preview-configuration 2014-01-22 21:34:36.867164953 +0100
+@@ -6,10 +6,9 @@
+ import os
+ import sys
+ import glob
+-import gtk
++from gi.repository import Gtk, GConf
+ import signal
+ import gettext
+-import gconf
+ #import config
+
+ #=========================== CLASS COLORS =======================================================#
+@@ -69,54 +68,54 @@
+ def __init__(self):
+ self.config = config_load()
+
+- self.client = gconf.client_get_default()
++ self.client = GConf.Client.get_default()
+ self.gconf_win_layout = self.client.get_string('/apps/metacity/general/button_layout')
+
+ #================= Show In Taskbar ================= #
+- self.entry1 = gtk.CheckButton(label=_("Show in TaskBar"), use_underline=False)
++ self.entry1 = Gtk.CheckButton(label=_("Show in TaskBar"), use_underline=False)
+ self.entry1.set_tooltip_markup(_("When enabled gloobus-preview will be\nshown in the taskbar"))
+ self.entry1.set_active(self.config.getboolean("Main","taskbar"))
+
+ #================= Allways on top ================= #
+- self.entry2 = gtk.CheckButton(label=_("Always on top"), use_underline=False)
++ self.entry2 = Gtk.CheckButton(label=_("Always on top"), use_underline=False)
+ self.entry2.set_tooltip_markup(_("When enabled gloobus-preview will be\nalways on top of the other windows"))
+ self.entry2.set_active(self.config.getboolean("Main","ontop"))
+ win.set_keep_above(self.config.getboolean("Main","ontop"))
+
+
+ #================= Quit on lose focus ================= #
+- self.entry3 = gtk.CheckButton(label=_("Quit on lose focus"), use_underline=False)
++ self.entry3 = Gtk.CheckButton(label=_("Quit on lose focus"), use_underline=False)
+ self.entry3.set_tooltip_markup(_("When enabled, gloobus-preview will exit\nwhen it loses focus"))
+ self.entry3.set_active(self.config.getboolean("Main","focus"))
+
+ #================= Win bar layout ================= #
+- self.entry4 = gtk.CheckButton(label=_("Window Bar Layout inverted"), use_underline=False)
++ self.entry4 = Gtk.CheckButton(label=_("Window Bar Layout inverted"), use_underline=False)
+ self.entry4.set_tooltip_markup(_("Layout of the buttons\nclose button on the right/left?"))
+ self.entry4.set_active(self.config.getboolean("Main","winbar_layout"))
+
+ #================= Use gtk theme ================= #
+- self.theme_gtk_entry = gtk.CheckButton(label=_("Use gtk theme"), use_underline=False)
++ self.theme_gtk_entry = Gtk.CheckButton(label=_("Use gtk theme"), use_underline=False)
+ self.theme_gtk_entry.set_tooltip_markup(_("When enabled, gloobus-preview will use system GTK theme"))
+ self.theme_gtk_entry.set_active(self.config.getboolean("Theme","gtk"))
+
+ #=================== BUTTONS ===================== #
+- container0 = gtk.HBox(True,1) #Save and close buttons
++ container0 = Gtk.HBox(True,1) #Save and close buttons
+
+- ok_button = gtk.Button(_("Save"))
+- cancel_button = gtk.Button(_("Cancel"))
++ ok_button = Gtk.Button(_("Save"))
++ cancel_button = Gtk.Button(_("Cancel"))
+
+ container0.add(cancel_button)
+ container0.add(ok_button)
+- cancel_button.connect('clicked', gtk.main_quit)
++ cancel_button.connect('clicked', Gtk.main_quit)
+ ok_button.connect('clicked', self.save_conf)
+
+ #============ GENERAL CONTAINER ================== #
+
+- general_container = gtk.VBox(False,1)
++ general_container = Gtk.VBox(False,1)
+
+- title = gtk.Label()
++ title = Gtk.Label()
+ title.set_markup(_("Main settings"))
+- align2 = gtk.Alignment(0,0,0,0)
++ align2 = Gtk.Alignment.new(0,0,0,0)
+ align2.set_padding(0,5,0,0)
+ align2.add(title)
+
+@@ -128,11 +127,11 @@
+ if self.gconf_win_layout == None:
+ general_container.add(self.entry4) #Always on top
+
+- general_container.add(gtk.HSeparator())
+- general_container.add(gtk.Label()) #White Space
++ general_container.add(Gtk.HSeparator())
++ general_container.add(Gtk.Label()) #White Space
+ general_container.add(container0) #Close & save buttons
+
+- align = gtk.Alignment(0,0,0,0);
++ align = Gtk.Alignment.new(0,0,0,0);
+ align.set_padding(10,5,10,10)
+
+ align.add(general_container)
+@@ -155,7 +154,7 @@
+
+ config_save(self.config)
+
+- gtk.main_quit()
++ Gtk.main_quit()
+
+
+ #==================================== GLOBAL FUNCTIONS ===============================================#
+@@ -232,13 +231,13 @@
+ g.debug("Path: " + abspath)
+ g.debug("Config File: " + CONFIG_PATH)
+
+-win = gtk.Window()
++win = Gtk.Window()
+ win.set_title(_("Gloobus-Preview Configuration"))
+ #win.set_default_size(400,150)
+-win.connect('delete-event', gtk.main_quit)
++win.connect('delete-event', Gtk.main_quit)
+
+
+ gui = GUI()
+
+-gtk.main()
++Gtk.main()
+
diff --git a/libre/gloobus-preview/gloobus-preview-usr-bsdtar-for-rar.patch b/libre/gloobus-preview/gloobus-preview-usr-bsdtar-for-rar.patch
new file mode 100644
index 000000000..3db748114
--- /dev/null
+++ b/libre/gloobus-preview/gloobus-preview-usr-bsdtar-for-rar.patch
@@ -0,0 +1,29 @@
+diff -Nur gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-compressed/plugin-compressed.cpp gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-compressed/plugin-compressed.cpp
+--- gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-compressed/plugin-compressed.cpp 2012-04-06 10:07:29.000000000 -0300
++++ gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-compressed/plugin-compressed.cpp 2014-08-26 16:55:39.534735733 -0300
+@@ -55,11 +55,8 @@
+ else if ( type == GP_COMPRESSED_RAR
+ || type == GP_COMPRESSED_RAR_X )
+ {
+- cmd_args.push_back("unrar");
+- cmd_args.push_back("vb");
+- cmd_args.push_back("-c-");
+- cmd_args.push_back("-p-"); // do not query for password
+- cmd_args.push_back("--");
++ cmd_args.push_back("bsdtar");
++ cmd_args.push_back("-tf");
+ line_parser = &iCompressed::parse_line_rar;
+ }
+ else if ( type == GP_COMPRESSED_TAR
+diff -Nur gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-compressed/plugin-compressed.h gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-compressed/plugin-compressed.h
+--- gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-compressed/plugin-compressed.h 2012-04-06 10:07:29.000000000 -0300
++++ gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-compressed/plugin-compressed.h 2014-08-26 16:52:58.903694500 -0300
+@@ -102,7 +102,7 @@
+ PluginManager::register_filetype(GP_COMPRESSED_7Z, 1);
+ }
+
+-if(interface::is_program_available("unrar")) {
++if(interface::is_program_available("bsdtar")) {
+ PluginManager::register_filetype(GP_COMPRESSED_RAR, 1);
+ PluginManager::register_filetype(GP_COMPRESSED_RAR_X, 1);
+ }
diff --git a/libre/gloobus-preview/gloobus-preview.install b/libre/gloobus-preview/gloobus-preview.install
new file mode 100644
index 000000000..16ad7278f
--- /dev/null
+++ b/libre/gloobus-preview/gloobus-preview.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate
+ gdk-pixbuf-query-loaders --update-cache
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
diff --git a/libre/gloobus-preview/gloobus-sushi-pygobject3-port.patch b/libre/gloobus-preview/gloobus-sushi-pygobject3-port.patch
new file mode 100644
index 000000000..f748da875
--- /dev/null
+++ b/libre/gloobus-preview/gloobus-sushi-pygobject3-port.patch
@@ -0,0 +1,21 @@
+diff -Naur gloobus-sushi.orig/src/gloobus-sushi.py gloobus-sushi/src/gloobus-sushi.py
+--- gloobus-sushi.orig/src/gloobus-sushi.py 2014-01-22 21:54:41.297590000 +0100
++++ gloobus-sushi/src/gloobus-sushi.py 2014-01-22 21:45:21.244184455 +0100
+@@ -16,7 +16,7 @@
+
+ import dbus
+ import dbus.service
+-import gobject
++from gi.repository import GObject
+ import os
+
+ from dbus.mainloop.glib import DBusGMainLoop
+@@ -28,7 +28,7 @@
+ def __init__(self):
+ bus_name = dbus.service.BusName(DBUS_NAME, bus=dbus.SessionBus())
+ super(DBusWrapper, self).__init__(bus_name, DBUS_PATH)
+- self.loop = gobject.MainLoop()
++ self.loop = GObject.MainLoop()
+ self.loop.run()
+
+ @dbus.service.method(DBUS_NAME)
diff --git a/libre/gloobus-preview/use-xdg-open.patch b/libre/gloobus-preview/use-xdg-open.patch
new file mode 100644
index 000000000..68e219e6a
--- /dev/null
+++ b/libre/gloobus-preview/use-xdg-open.patch
@@ -0,0 +1,20 @@
+diff -Naur gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/gloobus-preview-window.cpp gloobus-preview-0.4.5-ubuntu11~ppa290/src/gloobus-preview-window.cpp
+--- gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/gloobus-preview-window.cpp 2012-04-06 15:07:29.000000000 +0200
++++ gloobus-preview-0.4.5-ubuntu11~ppa290/src/gloobus-preview-window.cpp 2013-05-18 09:49:24.833574800 +0200
+@@ -560,12 +560,12 @@
+ string label(gtk_menu_item_get_label(item));
+ if(label == _("Settings"))
+ cmd = "gloobus-preview-configuration";
+- else if(label == _("Report a Bug"))
+- cmd = "gnome-open \"https://bugs.launchpad.net/gloobus-preview/\"";
++ else if(label == _("Report a Problem"))
++ cmd = "xdg-open \"https://bugs.launchpad.net/gloobus-preview/\"";
+ else if(label == _("Blog"))
+- cmd = "gnome-open \"http://gloobus.wordpress.com\"" ;
++ cmd = "xdg-open \"http://gloobus.wordpress.com\"" ;
+ else if(label == _("Donate"))
+- cmd = "gnome-open \"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=guitarboy000%40gmail%2ecom&item_name=Gloobus%2c%20A%20Quicklook%20for%20linux&no_shipping=0&no_note=1&tax=0¤cy_code=EUR&lc=US&bn=PP%2dDonationsBF&chars\"" ;
++ cmd = "xdg-open \"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=guitarboy000%40gmail%2ecom&item_name=Gloobus%2c%20A%20Quicklook%20for%20linux&no_shipping=0&no_note=1&tax=0¤cy_code=EUR&lc=US&bn=PP%2dDonationsBF&chars\"" ;
+ else if(label == _("About"))
+ ui->create_about();
+ else if(label == _("Quit"))
--
cgit v1.2.3
From 27d9389672acfcd3a0edec4ac13fe4dabbca05c5 Mon Sep 17 00:00:00 2001
From: André Fabian Silva Delgado
Date: Fri, 5 Sep 2014 02:00:00 -0300
Subject: ghostscript: remove libre suffix and add complex pkgrel
---
libre/ghostscript-libre/PKGBUILD | 103 ---------------------
libre/ghostscript-libre/ghostscript-sys-zlib.patch | 25 -----
libre/ghostscript-libre/libre.patch | 15 ---
libre/ghostscript/PKGBUILD | 101 ++++++++++++++++++++
libre/ghostscript/ghostscript-sys-zlib.patch | 25 +++++
libre/ghostscript/libre.patch | 15 +++
6 files changed, 141 insertions(+), 143 deletions(-)
delete mode 100644 libre/ghostscript-libre/PKGBUILD
delete mode 100644 libre/ghostscript-libre/ghostscript-sys-zlib.patch
delete mode 100644 libre/ghostscript-libre/libre.patch
create mode 100644 libre/ghostscript/PKGBUILD
create mode 100644 libre/ghostscript/ghostscript-sys-zlib.patch
create mode 100644 libre/ghostscript/libre.patch
(limited to 'libre')
diff --git a/libre/ghostscript-libre/PKGBUILD b/libre/ghostscript-libre/PKGBUILD
deleted file mode 100644
index c73b86a58..000000000
--- a/libre/ghostscript-libre/PKGBUILD
+++ /dev/null
@@ -1,103 +0,0 @@
-# $Id: PKGBUILD 208881 2014-03-27 20:54:33Z andyrtr $
-# Maintainer (Arch): AndyRTR
-# Maintainer: André Silva
-
-### !!! rebuild groff from core that picks up hardcoding the GS versioned font path !!! ###
-
-_pkgname=ghostscript
-pkgname=ghostscript-libre
-pkgver=9.14
-pkgrel=1
-pkgdesc="An interpreter for the PostScript language, without nonfree JPEG XR support"
-arch=('i686' 'x86_64' 'mips64el')
-license=('AGPL' 'custom')
-depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng>=1.5.7' 'libjpeg'
- 'libtiff>=4.0.0' 'lcms2' 'dbus' 'libpaper')
-makedepends=('gtk3' 'gnutls')
-optdepends=('texlive-core: needed for dvipdf'
- 'gtk3: needed for gsx')
-conflicts=('ghostscript')
-replaces=('ghostscript')
-provides=("ghostscript=$pkgver")
-url="http://www.ghostscript.com/"
-mksource=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2)
-source=(https://repo.parabolagnulinux.org/other/ghostscript-libre/ghostscript-libre-${pkgver}.tar.bz2
- ghostscript-sys-zlib.patch
- libre.patch)
-#options=('!makeflags')
-mksha1sums=('eab1c9e9850d8aedf02d16f3f7f8198ad9384068')
-sha1sums=('18c792ac09576482fa2f6ea5bce6e73b37188356'
- 'e054caf753df4d67221b29a2eac66130653f7556'
- '51f821faec00749ed8b61d772879269f9809f694')
-mksource() {
- cd ghostscript-${pkgver}
- # JPEG XR is nonfree because it has the following license that forbids making modifications that
- # do not comply with the ITU standard and might have other issues.
- rm -rfv jpegxr
-}
-
-prepare() {
- cd ghostscript-${pkgver}
- # fix build with system zlib
- patch -Np1 -i ${srcdir}/ghostscript-sys-zlib.patch
- # remove nonfree JPEG XR reference on the license file
- patch -Np1 -i ${srcdir}/libre.patch
-}
-
-build() {
- cd ghostscript-${pkgver}
-
- # force it to use system-libs
- # keep heavily patched included openjpeg, leads to segfault with system openjpeg
- # https://bugs.archlinux.org/task/38226
- rm -rf jpeg libpng zlib jasper expat tiff lcms lcms2 freetype cups/libs # jbig2dec is in community
-
- autoconf --force
-
- ./configure --prefix=/usr \
- --enable-dynamic \
- --with-ijs \
- --with-jbig2dec \
- --with-omni \
- --with-x \
- --with-drivers=ALL\
- --with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \
- --enable-fontconfig \
- --enable-freetype \
- --enable-openjpeg \
- --without-luratech \
- --without-omni \
- --with-system-libtiff \
- --with-libpaper \
- --disable-compile-inits #--help # needed for linking with system-zlib
- make
-
- # Build IJS
- cd ijs
- sed -i "s:AM_PROG_CC_STDC:AC_PROG_CC:g" configure.ac
- ./autogen.sh
- ./configure --prefix=/usr --enable-shared --disable-static
- make
-}
-
-package() {
- cd ghostscript-${pkgver}
- make DESTDIR="${pkgdir}" \
- cups_serverroot="${pkgdir}"/etc/cups \
- cups_serverbin="${pkgdir}"/usr/lib/cups install install-so
-
- # install missing doc files # http://bugs.archlinux.org/task/18023
- install -m 644 "${srcdir}"/ghostscript-${pkgver}/doc/{Ps2ps2.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt} "${pkgdir}"/usr/share/ghostscript/$pkgver/doc/
-
- install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${_pkgname}/LICENSE
-
- # remove unwanted localized man-pages
- rm -rf "$pkgdir"/usr/share/man/[^man1]*
-
- # install IJS
- cd ijs
- make DESTDIR="${pkgdir}" install
-
- # remove filters that are now maintained in cups-filters as upstream home
- rm -rf "$pkgdir"/usr/lib/cups/filter/{gstopxl,gstoraster}
-}
diff --git a/libre/ghostscript-libre/ghostscript-sys-zlib.patch b/libre/ghostscript-libre/ghostscript-sys-zlib.patch
deleted file mode 100644
index d632fcbb2..000000000
--- a/libre/ghostscript-libre/ghostscript-sys-zlib.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff -up ghostscript-9.12/configure.ac.sys-zlib ghostscript-9.12/configure.ac
---- ghostscript-9.12/configure.ac.sys-zlib 2014-03-26 11:48:54.983972222 +0000
-+++ ghostscript-9.12/configure.ac 2014-03-26 11:49:36.807230531 +0000
-@@ -854,7 +854,7 @@ AC_MSG_CHECKING([for local zlib source])
- dnl zlib is needed for language level 3, and libpng
- # we must define ZLIBDIR regardless because png.mak does a -I$(ZLIBDIR)
- # this seems a harmless default
--ZLIBDIR=src
-+ZLIBDIR=$includedir
- AUX_SHARED_ZLIB=
-
- if test -d $srcdir/zlib; then
-diff -up ghostscript-9.12/configure.sys-zlib ghostscript-9.12/configure
---- ghostscript-9.12/configure.sys-zlib 2014-03-26 11:49:45.547284521 +0000
-+++ ghostscript-9.12/configure 2014-03-26 11:49:56.171350127 +0000
-@@ -6254,7 +6254,7 @@ fi
- $as_echo_n "checking for local zlib source... " >&6; }
- # we must define ZLIBDIR regardless because png.mak does a -I$(ZLIBDIR)
- # this seems a harmless default
--ZLIBDIR=src
-+ZLIBDIR=$includedir
- AUX_SHARED_ZLIB=
-
- if test -d $srcdir/zlib; then
-
diff --git a/libre/ghostscript-libre/libre.patch b/libre/ghostscript-libre/libre.patch
deleted file mode 100644
index 0fe1c3b2e..000000000
--- a/libre/ghostscript-libre/libre.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -Nur ghostscript-9.14.orig/LICENSE ghostscript-9.14/LICENSE
---- ghostscript-9.14.orig/LICENSE 2014-03-26 09:53:48.000000000 -0300
-+++ ghostscript-9.14/LICENSE 2014-08-08 00:59:30.756545570 -0300
-@@ -19,11 +19,6 @@
-
-
-
--The files under the jpegxr directory and any subdirectories
--thereof are distributed under a no cost, open source license
--granted by the ITU/ISO/IEC but it is not Affero GPL
--compatible - see jpegxr/COPYRIGHT.txt for details.
--
- GPL Ghostscript is free software; you can redistribute it and/or
- modify it under the terms the GNU Affero General Public License as
- published by the Free Software Foundation, either version 3
diff --git a/libre/ghostscript/PKGBUILD b/libre/ghostscript/PKGBUILD
new file mode 100644
index 000000000..e12f428a6
--- /dev/null
+++ b/libre/ghostscript/PKGBUILD
@@ -0,0 +1,101 @@
+# $Id: PKGBUILD 208881 2014-03-27 20:54:33Z andyrtr $
+# Maintainer (Arch): AndyRTR
+# Maintainer: André Silva
+
+### !!! rebuild groff from core that picks up hardcoding the GS versioned font path !!! ###
+
+pkgname=ghostscript
+pkgver=9.14
+pkgrel=1.parabola1
+pkgdesc="An interpreter for the PostScript language, without nonfree JPEG XR support"
+arch=('i686' 'x86_64' 'mips64el')
+license=('AGPL' 'custom')
+depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng>=1.5.7' 'libjpeg'
+ 'libtiff>=4.0.0' 'lcms2' 'dbus' 'libpaper')
+makedepends=('gtk3' 'gnutls')
+optdepends=('texlive-core: needed for dvipdf'
+ 'gtk3: needed for gsx')
+conflicts=('ghostscript-libre')
+replaces=('ghostscript-libre')
+url="http://www.ghostscript.com/"
+mksource=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2)
+source=(https://repo.parabolagnulinux.org/other/ghostscript-libre/ghostscript-libre-${pkgver}.tar.bz2
+ ghostscript-sys-zlib.patch
+ libre.patch)
+#options=('!makeflags')
+mksha1sums=('eab1c9e9850d8aedf02d16f3f7f8198ad9384068')
+sha1sums=('18c792ac09576482fa2f6ea5bce6e73b37188356'
+ 'e054caf753df4d67221b29a2eac66130653f7556'
+ '51f821faec00749ed8b61d772879269f9809f694')
+mksource() {
+ cd ghostscript-${pkgver}
+ # JPEG XR is nonfree because it has the following license that forbids making modifications that
+ # do not comply with the ITU standard and might have other issues.
+ rm -rfv jpegxr
+}
+
+prepare() {
+ cd ghostscript-${pkgver}
+ # fix build with system zlib
+ patch -Np1 -i ${srcdir}/ghostscript-sys-zlib.patch
+ # remove nonfree JPEG XR reference on the license file
+ patch -Np1 -i ${srcdir}/libre.patch
+}
+
+build() {
+ cd ghostscript-${pkgver}
+
+ # force it to use system-libs
+ # keep heavily patched included openjpeg, leads to segfault with system openjpeg
+ # https://bugs.archlinux.org/task/38226
+ rm -rf jpeg libpng zlib jasper expat tiff lcms lcms2 freetype cups/libs # jbig2dec is in community
+
+ autoconf --force
+
+ ./configure --prefix=/usr \
+ --enable-dynamic \
+ --with-ijs \
+ --with-jbig2dec \
+ --with-omni \
+ --with-x \
+ --with-drivers=ALL\
+ --with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \
+ --enable-fontconfig \
+ --enable-freetype \
+ --enable-openjpeg \
+ --without-luratech \
+ --without-omni \
+ --with-system-libtiff \
+ --with-libpaper \
+ --disable-compile-inits #--help # needed for linking with system-zlib
+ make
+
+ # Build IJS
+ cd ijs
+ sed -i "s:AM_PROG_CC_STDC:AC_PROG_CC:g" configure.ac
+ ./autogen.sh
+ ./configure --prefix=/usr --enable-shared --disable-static
+ make
+}
+
+package() {
+ cd ghostscript-${pkgver}
+ make DESTDIR="${pkgdir}" \
+ cups_serverroot="${pkgdir}"/etc/cups \
+ cups_serverbin="${pkgdir}"/usr/lib/cups install install-so
+
+ # install missing doc files # http://bugs.archlinux.org/task/18023
+ install -m 644 "${srcdir}"/ghostscript-${pkgver}/doc/{Ps2ps2.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt} "${pkgdir}"/usr/share/ghostscript/$pkgver/doc/
+
+ install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+
+ # remove unwanted localized man-pages
+ rm -rf "$pkgdir"/usr/share/man/[^man1]*
+
+ # install IJS
+ cd ijs
+ make DESTDIR="${pkgdir}" install
+
+ # remove filters that are now maintained in cups-filters as upstream home
+ rm -rf "$pkgdir"/usr/lib/cups/filter/{gstopxl,gstoraster}
+}
diff --git a/libre/ghostscript/ghostscript-sys-zlib.patch b/libre/ghostscript/ghostscript-sys-zlib.patch
new file mode 100644
index 000000000..d632fcbb2
--- /dev/null
+++ b/libre/ghostscript/ghostscript-sys-zlib.patch
@@ -0,0 +1,25 @@
+diff -up ghostscript-9.12/configure.ac.sys-zlib ghostscript-9.12/configure.ac
+--- ghostscript-9.12/configure.ac.sys-zlib 2014-03-26 11:48:54.983972222 +0000
++++ ghostscript-9.12/configure.ac 2014-03-26 11:49:36.807230531 +0000
+@@ -854,7 +854,7 @@ AC_MSG_CHECKING([for local zlib source])
+ dnl zlib is needed for language level 3, and libpng
+ # we must define ZLIBDIR regardless because png.mak does a -I$(ZLIBDIR)
+ # this seems a harmless default
+-ZLIBDIR=src
++ZLIBDIR=$includedir
+ AUX_SHARED_ZLIB=
+
+ if test -d $srcdir/zlib; then
+diff -up ghostscript-9.12/configure.sys-zlib ghostscript-9.12/configure
+--- ghostscript-9.12/configure.sys-zlib 2014-03-26 11:49:45.547284521 +0000
++++ ghostscript-9.12/configure 2014-03-26 11:49:56.171350127 +0000
+@@ -6254,7 +6254,7 @@ fi
+ $as_echo_n "checking for local zlib source... " >&6; }
+ # we must define ZLIBDIR regardless because png.mak does a -I$(ZLIBDIR)
+ # this seems a harmless default
+-ZLIBDIR=src
++ZLIBDIR=$includedir
+ AUX_SHARED_ZLIB=
+
+ if test -d $srcdir/zlib; then
+
diff --git a/libre/ghostscript/libre.patch b/libre/ghostscript/libre.patch
new file mode 100644
index 000000000..0fe1c3b2e
--- /dev/null
+++ b/libre/ghostscript/libre.patch
@@ -0,0 +1,15 @@
+diff -Nur ghostscript-9.14.orig/LICENSE ghostscript-9.14/LICENSE
+--- ghostscript-9.14.orig/LICENSE 2014-03-26 09:53:48.000000000 -0300
++++ ghostscript-9.14/LICENSE 2014-08-08 00:59:30.756545570 -0300
+@@ -19,11 +19,6 @@
+
+
+
+-The files under the jpegxr directory and any subdirectories
+-thereof are distributed under a no cost, open source license
+-granted by the ITU/ISO/IEC but it is not Affero GPL
+-compatible - see jpegxr/COPYRIGHT.txt for details.
+-
+ GPL Ghostscript is free software; you can redistribute it and/or
+ modify it under the terms the GNU Affero General Public License as
+ published by the Free Software Foundation, either version 3
--
cgit v1.2.3
From 288a48d376f96b670f699dc321ec6b460fcdd351 Mon Sep 17 00:00:00 2001
From: André Fabian Silva Delgado
Date: Fri, 5 Sep 2014 02:03:28 -0300
Subject: faience-icon-theme: remove libre suffix and add complex pkgrel
---
libre/faience-icon-theme-libre/PKGBUILD | 54 --
.../start-here-parabola-symbolic.svg | 738 ---------------------
libre/faience-icon-theme/PKGBUILD | 52 ++
.../start-here-parabola-symbolic.svg | 738 +++++++++++++++++++++
4 files changed, 790 insertions(+), 792 deletions(-)
delete mode 100644 libre/faience-icon-theme-libre/PKGBUILD
delete mode 100644 libre/faience-icon-theme-libre/start-here-parabola-symbolic.svg
create mode 100644 libre/faience-icon-theme/PKGBUILD
create mode 100644 libre/faience-icon-theme/start-here-parabola-symbolic.svg
(limited to 'libre')
diff --git a/libre/faience-icon-theme-libre/PKGBUILD b/libre/faience-icon-theme-libre/PKGBUILD
deleted file mode 100644
index ea9d910a4..000000000
--- a/libre/faience-icon-theme-libre/PKGBUILD
+++ /dev/null
@@ -1,54 +0,0 @@
-# $Id: PKGBUILD 114621 2014-07-02 09:40:38Z alucryd $
-# Maintainer (Arch): Maxime Gauduin
-# Contributor (Arch): Ner0
-# Contributor (Arch): Sander Deryckere
-# Maintainer: André Silva
-# Contributor: Jorge Araya Navarro
-# Contributor: Márcio Silva
-
-_pkgname=faience-icon-theme
-pkgname=faience-icon-theme-libre
-pkgver=0.5.1
-pkgrel=3
-pkgdesc='An icon theme based on Faenza, without nonfree distros and application icons (Parabola rebranded)'
-url='http://tiheum.deviantart.com/art/Faience-icon-theme-255099649'
-license=('GPL3')
-arch=('any')
-replaces=($_pkgname)
-conflicts=($_pkgname)
-provides=($_pkgname=$pkgver)
-depends=('faenza-icon-theme')
-source=("http://ppa.launchpad.net/tiheum/equinox/ubuntu/pool/main/f/${_pkgname}/${_pkgname}_${pkgver}.tar.gz"
- 'start-here-parabola-symbolic.svg')
-sha256sums=('da4e6e921c465caeb8904d4fc6a183b173c8000c08abce625b5b6739f5a0867a'
- 'ad3a47c9545358046b8ef1695cbc6effc913d7affbf27017744419d33e66aea6')
-
-prepare() {
- cd ${_pkgname}-${pkgver%.*}
- rm -rv debian
-
- # remove nonfree distros and application logos
- for nonfree in archlinux debian fedora frugalware gentoo linux-mint mandriva opensuse redhat slackware ubuntu flash rpmdrake skype; do
- find -name *$nonfree* -delete
- done
-
- # add the Parabola GNU/Linux-libre logo to the source code
- cp -a "$srcdir/start-here-parabola-symbolic.svg" Faience/places/scalable
-
- # set the Parabola GNU/Linux-libre start menu logo
- cd Faience/places/scalable
- ln -sf start-here{-parabola-symbolic,-symbolic}.svg
-}
-
-package() {
- cd ${_pkgname}-${pkgver%.*}
-
- install -dm 755 "${pkgdir}"/usr/share/icons
- cp -dr --no-preserve=ownership Faience* "${pkgdir}"/usr/share/icons/
-
-# Fix permissions
- find "${pkgdir}" -type d -exec chmod 755 {} +
- find "${pkgdir}" -type f -exec chmod 644 {} +
-}
-
-# vim: ts=2 sw=2 et:
diff --git a/libre/faience-icon-theme-libre/start-here-parabola-symbolic.svg b/libre/faience-icon-theme-libre/start-here-parabola-symbolic.svg
deleted file mode 100644
index a70ad3b3c..000000000
--- a/libre/faience-icon-theme-libre/start-here-parabola-symbolic.svg
+++ /dev/null
@@ -1,738 +0,0 @@
-
-
-
-
diff --git a/libre/faience-icon-theme/PKGBUILD b/libre/faience-icon-theme/PKGBUILD
new file mode 100644
index 000000000..f56de653d
--- /dev/null
+++ b/libre/faience-icon-theme/PKGBUILD
@@ -0,0 +1,52 @@
+# $Id: PKGBUILD 114621 2014-07-02 09:40:38Z alucryd $
+# Maintainer (Arch): Maxime Gauduin
+# Contributor (Arch): Ner0
+# Contributor (Arch): Sander Deryckere
+# Maintainer: André Silva
+# Contributor: Jorge Araya Navarro
+# Contributor: Márcio Silva
+
+pkgname=faience-icon-theme
+pkgver=0.5.1
+pkgrel=3.parabola1
+pkgdesc='An icon theme based on Faenza, without nonfree distros and application icons (Parabola rebranded)'
+url='http://tiheum.deviantart.com/art/Faience-icon-theme-255099649'
+license=('GPL3')
+arch=('any')
+replaces=(${pkgname}-libre)
+conflicts=(${pkgname}-libre)
+depends=('faenza-icon-theme')
+source=("http://ppa.launchpad.net/tiheum/equinox/ubuntu/pool/main/f/${pkgname}/${pkgname}_${pkgver}.tar.gz"
+ 'start-here-parabola-symbolic.svg')
+sha256sums=('da4e6e921c465caeb8904d4fc6a183b173c8000c08abce625b5b6739f5a0867a'
+ 'ad3a47c9545358046b8ef1695cbc6effc913d7affbf27017744419d33e66aea6')
+
+prepare() {
+ cd ${pkgname}-${pkgver%.*}
+ rm -rv debian
+
+ # remove nonfree distros and application logos
+ for nonfree in archlinux debian fedora frugalware gentoo linux-mint mandriva opensuse redhat slackware ubuntu flash rpmdrake skype; do
+ find -name *$nonfree* -delete
+ done
+
+ # add the Parabola GNU/Linux-libre logo to the source code
+ cp -a "$srcdir/start-here-parabola-symbolic.svg" Faience/places/scalable
+
+ # set the Parabola GNU/Linux-libre start menu logo
+ cd Faience/places/scalable
+ ln -sf start-here{-parabola-symbolic,-symbolic}.svg
+}
+
+package() {
+ cd ${pkgname}-${pkgver%.*}
+
+ install -dm 755 "${pkgdir}"/usr/share/icons
+ cp -dr --no-preserve=ownership Faience* "${pkgdir}"/usr/share/icons/
+
+# Fix permissions
+ find "${pkgdir}" -type d -exec chmod 755 {} +
+ find "${pkgdir}" -type f -exec chmod 644 {} +
+}
+
+# vim: ts=2 sw=2 et:
diff --git a/libre/faience-icon-theme/start-here-parabola-symbolic.svg b/libre/faience-icon-theme/start-here-parabola-symbolic.svg
new file mode 100644
index 000000000..a70ad3b3c
--- /dev/null
+++ b/libre/faience-icon-theme/start-here-parabola-symbolic.svg
@@ -0,0 +1,738 @@
+
+
+
+
--
cgit v1.2.3
From 8b29213caf94481c9b0eae412621699bc9942a66 Mon Sep 17 00:00:00 2001
From: André Fabian Silva Delgado
Date: Fri, 5 Sep 2014 02:06:28 -0300
Subject: faenza-icon-theme: remove libre suffix and add complex pkgrel
---
libre/faenza-icon-theme-libre/PKGBUILD | 80 ---
.../distributor-logo-parabola.svg | 570 ----------------
.../start-here-parabola-symbolic.svg | 738 ---------------------
libre/faenza-icon-theme/PKGBUILD | 78 +++
.../distributor-logo-parabola.svg | 570 ++++++++++++++++
.../start-here-parabola-symbolic.svg | 738 +++++++++++++++++++++
6 files changed, 1386 insertions(+), 1388 deletions(-)
delete mode 100644 libre/faenza-icon-theme-libre/PKGBUILD
delete mode 100644 libre/faenza-icon-theme-libre/distributor-logo-parabola.svg
delete mode 100644 libre/faenza-icon-theme-libre/start-here-parabola-symbolic.svg
create mode 100644 libre/faenza-icon-theme/PKGBUILD
create mode 100644 libre/faenza-icon-theme/distributor-logo-parabola.svg
create mode 100644 libre/faenza-icon-theme/start-here-parabola-symbolic.svg
(limited to 'libre')
diff --git a/libre/faenza-icon-theme-libre/PKGBUILD b/libre/faenza-icon-theme-libre/PKGBUILD
deleted file mode 100644
index dd65e4a20..000000000
--- a/libre/faenza-icon-theme-libre/PKGBUILD
+++ /dev/null
@@ -1,80 +0,0 @@
-# $Id: PKGBUILD 113926 2014-07-01 10:03:56Z thestinger $
-# Maintainer (Arch): Daniel Micay
-# Contributor (Arch): Elia Notarangelo
-# Contributor (Arch): Frikilinux
-# Contributor (Arch): graysky
-# Contributor (Arch): Samsagax
-# Contributor (Arch): simongmzlj
-# Maintainer: André Silva
-# Contributor: Jorge Araya Navarro
-# Contributor: Márcio Silva
-
-_pkgname=faenza-icon-theme
-pkgname=faenza-icon-theme-libre
-pkgver=1.3.1
-pkgrel=3
-pkgdesc='Icon theme designed for Equinox GTK theme, without nonfree distros and application icons (Parabola rebranded)'
-url='http://gnome-look.org/content/show.php/Faenza?content=128143'
-license=('GPL3')
-arch=('any')
-replaces=($_pkgname)
-conflicts=($_pkgname)
-provides=($_pkgname=$pkgver)
-makedepends=('librsvg')
-options=(!strip)
-source=("http://ppa.launchpad.net/tiheum/equinox/ubuntu/pool/main/f/$_pkgname/${_pkgname}_${pkgver}.tar.gz"
- 'distributor-logo-parabola.svg'
- 'start-here-parabola-symbolic.svg')
-md5sums=('b5339b70cbb821b583499e725957b150'
- '0dfb27e36d60266d8f4c3ea763ec1694'
- 'e2301755fc4c552cfee7de72b6ed775a')
-
-prepare() {
- cd "$srcdir/$_pkgname-1.3"
- rm -rv debian
-
- # remove nonfree distros and application logos
- for nonfree in archlinux debian fedora frugalware gentoo linux-mint mandriva opensuse redhat slackware ubuntu flash rpmdrake novell skype; do
- find -name *$nonfree* -delete
- done
-
- # add the Parabola GNU/Linux-libre logos to the source code
- cp -a "$srcdir/distributor-logo-parabola.svg" Faenza/places/scalable
- cp -a "$srcdir/distributor-logo-parabola.svg" Faenza/places/scalable/start-here-parabola.svg
- cp -a "$srcdir/start-here-parabola-symbolic.svg" Faenza/places/scalable
-
- for size in 22 24 32 48 64 96; do
- rsvg-convert -w $size -h $size -o Faenza/places/$size/distributor-logo-parabola.png "$srcdir/distributor-logo-parabola.svg"
- rsvg-convert -w $size -h $size -o Faenza/places/$size/start-here-parabola.png "$srcdir/distributor-logo-parabola.svg"
- rsvg-convert -w $size -h $size -o Faenza/places/$size/start-here-parabola-symbolic.png "$srcdir/start-here-parabola-symbolic.svg"
-
- ln -sf Faenza/places/$size/distributor-logo-parabola.png Faenza/places/$size/parabola-logo.png
- ln -sf Faenza/places/scalable/distributor-logo-parabola.svg parabola-logo.svg
- ln -sf Faenza/places/scalable/start-here-parabola.svg Faenza-Dark/places/scalable/start-here-parabola.svg
- ln -sf Faenza/places/scalable/start-here-parabola-symbolic.svg Faenza-Dark/places/scalable/start-here-parabola-symbolic.svg
- done
-}
-
-package() {
- cd $_pkgname-1.3
- mkdir -p "$pkgdir/usr/share/icons" "$pkgdir/usr/lib" "$pkgdir/usr/share"
-
- cp -rf Faenza{,-Dark,-Darkest,-Darker,-Ambiance,-Radiance} "$pkgdir/usr/share/icons/"
- cp -rf rhythmbox "$pkgdir/usr/lib/"
- cp -rf emesene "$pkgdir/usr/share/"
-
- # set the Parabola GNU/Linux-libre Distributor and start menu logo
- for theme in Faenza{,-Dark}; do
- for size in 22 24 32 48 64 96; do
- cd "$pkgdir/usr/share/icons/$theme/places/$size/"
- # no distributor-logo for Faenza-Dark
- [[ $theme == Faenza ]] && ln -sf distributor-logo{-parabola,}.png
- ln -sf start-here{-parabola,}.png
- done
- cd "$pkgdir/usr/share/icons/$theme/places/scalable/"
- # no distributor-logo for Faenza-Dark
- [[ $theme == Faenza ]] && ln -sf distributor-logo{-parabola,}.svg
- ln -sf start-here{-parabola,}.svg
- ln -sf start-here{-parabola-symbolic,-symbolic}.svg
- done
-}
diff --git a/libre/faenza-icon-theme-libre/distributor-logo-parabola.svg b/libre/faenza-icon-theme-libre/distributor-logo-parabola.svg
deleted file mode 100644
index dec339e9c..000000000
--- a/libre/faenza-icon-theme-libre/distributor-logo-parabola.svg
+++ /dev/null
@@ -1,570 +0,0 @@
-
-
-
-
diff --git a/libre/faenza-icon-theme-libre/start-here-parabola-symbolic.svg b/libre/faenza-icon-theme-libre/start-here-parabola-symbolic.svg
deleted file mode 100644
index a70ad3b3c..000000000
--- a/libre/faenza-icon-theme-libre/start-here-parabola-symbolic.svg
+++ /dev/null
@@ -1,738 +0,0 @@
-
-
-
-
diff --git a/libre/faenza-icon-theme/PKGBUILD b/libre/faenza-icon-theme/PKGBUILD
new file mode 100644
index 000000000..a9a55bfba
--- /dev/null
+++ b/libre/faenza-icon-theme/PKGBUILD
@@ -0,0 +1,78 @@
+# $Id: PKGBUILD 113926 2014-07-01 10:03:56Z thestinger $
+# Maintainer (Arch): Daniel Micay
+# Contributor (Arch): Elia Notarangelo
+# Contributor (Arch): Frikilinux
+# Contributor (Arch): graysky
+# Contributor (Arch): Samsagax
+# Contributor (Arch): simongmzlj
+# Maintainer: André Silva
+# Contributor: Jorge Araya Navarro
+# Contributor: Márcio Silva
+
+pkgname=faenza-icon-theme
+pkgver=1.3.1
+pkgrel=3.parabola1
+pkgdesc='Icon theme designed for Equinox GTK theme, without nonfree distros and application icons (Parabola rebranded)'
+url='http://gnome-look.org/content/show.php/Faenza?content=128143'
+license=('GPL3')
+arch=('any')
+replaces=(${pkgname}-libre)
+conflicts=(${pkgname}-libre)
+makedepends=('librsvg')
+options=(!strip)
+source=("http://ppa.launchpad.net/tiheum/equinox/ubuntu/pool/main/f/$pkgname/${pkgname}_${pkgver}.tar.gz"
+ 'distributor-logo-parabola.svg'
+ 'start-here-parabola-symbolic.svg')
+md5sums=('b5339b70cbb821b583499e725957b150'
+ '0dfb27e36d60266d8f4c3ea763ec1694'
+ 'e2301755fc4c552cfee7de72b6ed775a')
+
+prepare() {
+ cd "$srcdir/$pkgname-1.3"
+ rm -rv debian
+
+ # remove nonfree distros and application logos
+ for nonfree in archlinux debian fedora frugalware gentoo linux-mint mandriva opensuse redhat slackware ubuntu flash rpmdrake novell skype; do
+ find -name *$nonfree* -delete
+ done
+
+ # add the Parabola GNU/Linux-libre logos to the source code
+ cp -a "$srcdir/distributor-logo-parabola.svg" Faenza/places/scalable
+ cp -a "$srcdir/distributor-logo-parabola.svg" Faenza/places/scalable/start-here-parabola.svg
+ cp -a "$srcdir/start-here-parabola-symbolic.svg" Faenza/places/scalable
+
+ for size in 22 24 32 48 64 96; do
+ rsvg-convert -w $size -h $size -o Faenza/places/$size/distributor-logo-parabola.png "$srcdir/distributor-logo-parabola.svg"
+ rsvg-convert -w $size -h $size -o Faenza/places/$size/start-here-parabola.png "$srcdir/distributor-logo-parabola.svg"
+ rsvg-convert -w $size -h $size -o Faenza/places/$size/start-here-parabola-symbolic.png "$srcdir/start-here-parabola-symbolic.svg"
+
+ ln -sf Faenza/places/$size/distributor-logo-parabola.png Faenza/places/$size/parabola-logo.png
+ ln -sf Faenza/places/scalable/distributor-logo-parabola.svg parabola-logo.svg
+ ln -sf Faenza/places/scalable/start-here-parabola.svg Faenza-Dark/places/scalable/start-here-parabola.svg
+ ln -sf Faenza/places/scalable/start-here-parabola-symbolic.svg Faenza-Dark/places/scalable/start-here-parabola-symbolic.svg
+ done
+}
+
+package() {
+ cd $pkgname-1.3
+ mkdir -p "$pkgdir/usr/share/icons" "$pkgdir/usr/lib" "$pkgdir/usr/share"
+
+ cp -rf Faenza{,-Dark,-Darkest,-Darker,-Ambiance,-Radiance} "$pkgdir/usr/share/icons/"
+ cp -rf rhythmbox "$pkgdir/usr/lib/"
+ cp -rf emesene "$pkgdir/usr/share/"
+
+ # set the Parabola GNU/Linux-libre Distributor and start menu logo
+ for theme in Faenza{,-Dark}; do
+ for size in 22 24 32 48 64 96; do
+ cd "$pkgdir/usr/share/icons/$theme/places/$size/"
+ # no distributor-logo for Faenza-Dark
+ [[ $theme == Faenza ]] && ln -sf distributor-logo{-parabola,}.png
+ ln -sf start-here{-parabola,}.png
+ done
+ cd "$pkgdir/usr/share/icons/$theme/places/scalable/"
+ # no distributor-logo for Faenza-Dark
+ [[ $theme == Faenza ]] && ln -sf distributor-logo{-parabola,}.svg
+ ln -sf start-here{-parabola,}.svg
+ ln -sf start-here{-parabola-symbolic,-symbolic}.svg
+ done
+}
diff --git a/libre/faenza-icon-theme/distributor-logo-parabola.svg b/libre/faenza-icon-theme/distributor-logo-parabola.svg
new file mode 100644
index 000000000..dec339e9c
--- /dev/null
+++ b/libre/faenza-icon-theme/distributor-logo-parabola.svg
@@ -0,0 +1,570 @@
+
+
+
+
diff --git a/libre/faenza-icon-theme/start-here-parabola-symbolic.svg b/libre/faenza-icon-theme/start-here-parabola-symbolic.svg
new file mode 100644
index 000000000..a70ad3b3c
--- /dev/null
+++ b/libre/faenza-icon-theme/start-here-parabola-symbolic.svg
@@ -0,0 +1,738 @@
+
+
+
+
--
cgit v1.2.3
From 6fe05d921e89ab5eb1c2b6265211e6cc4c9e6d55 Mon Sep 17 00:00:00 2001
From: André Fabian Silva Delgado
Date: Fri, 5 Sep 2014 02:34:10 -0300
Subject: gst-plugins-bad-1.4.1-1.parabola1: updating version
---
libre/gst-plugins-bad/PKGBUILD | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'libre')
diff --git a/libre/gst-plugins-bad/PKGBUILD b/libre/gst-plugins-bad/PKGBUILD
index 7eb3a4ae1..56b6a2406 100644
--- a/libre/gst-plugins-bad/PKGBUILD
+++ b/libre/gst-plugins-bad/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 217512 2014-07-20 23:05:04Z heftig $
+# $Id: PKGBUILD 220829 2014-08-31 16:23:02Z heftig $
# Maintainer (Arch): Jan de Groot
# Maintainer: Márcio Silva
pkgname=gst-plugins-bad
-pkgver=1.4.0
+pkgver=1.4.1
pkgrel=1.parabola1
pkgdesc="GStreamer Multimedia Framework Bad Plugins, without nonfree faac support"
arch=('i686' 'x86_64' 'mips64el')
@@ -16,7 +16,7 @@ replaces=("${pkgname}-libre" "${pkgname}-parabola")
conflicts=("${pkgname}-libre" "${pkgname}-parabola")
options=(!emptydirs)
source=(${url}/src/$pkgname/$pkgname-$pkgver.tar.xz)
-sha256sums=('ff2cb754f7725b205aec66002b1406e440f3a03194b6cad2d126ef5cd00902f9')
+sha256sums=('0268db2faaf0bb22e5b709a11633abbca4f3d289b1f513bb262d0bf3f53e19ae')
build() {
cd $pkgname-$pkgver
--
cgit v1.2.3