From e35a755e41dbe9b054844e9f184188239f600f08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?=
Date: Thu, 8 May 2014 06:18:07 -0300
Subject: gnome-boxes-libre: move from [pcr] to [libre]
---
libre/gnome-boxes-libre/PKGBUILD | 48 ++++++++++++++++++++
libre/gnome-boxes-libre/gnome-boxes.install | 12 +++++
libre/gnome-boxes-libre/libre.patch | 69 +++++++++++++++++++++++++++++
pcr/gnome-boxes-libre/PKGBUILD | 44 ------------------
pcr/gnome-boxes-libre/free-distros.patch | 11 -----
pcr/gnome-boxes-libre/gnome-boxes.install | 17 -------
pcr/gnome-boxes-libre/logos.patch | 39 ----------------
7 files changed, 129 insertions(+), 111 deletions(-)
create mode 100644 libre/gnome-boxes-libre/PKGBUILD
create mode 100644 libre/gnome-boxes-libre/gnome-boxes.install
create mode 100644 libre/gnome-boxes-libre/libre.patch
delete mode 100644 pcr/gnome-boxes-libre/PKGBUILD
delete mode 100644 pcr/gnome-boxes-libre/free-distros.patch
delete mode 100644 pcr/gnome-boxes-libre/gnome-boxes.install
delete mode 100644 pcr/gnome-boxes-libre/logos.patch
diff --git a/libre/gnome-boxes-libre/PKGBUILD b/libre/gnome-boxes-libre/PKGBUILD
new file mode 100644
index 000000000..2fb7377d7
--- /dev/null
+++ b/libre/gnome-boxes-libre/PKGBUILD
@@ -0,0 +1,48 @@
+# $Id: PKGBUILD 109557 2014-04-15 23:23:01Z bgyorgy $
+# Maintainer: Balló György
+# Contributor: Stefano Facchini
+# Maintainer (Parabola): André Silva
+# Contributor (Parabola): Daniel Milewski
+
+_pkgname=gnome-boxes
+pkgname=gnome-libre
+pkgver=3.12.1
+pkgrel=1
+pkgdesc="Simple GNOME 3 application to access remote or virtual systems, without nonfree system logos"
+arch=('i686' 'x86_64')
+url="https://wiki.gnome.org/Apps/Boxes"
+license=('LGPL')
+provides=$_pkgname=$pkgver
+conflicts=$_pkgname
+replaces=$_pkgname
+depends=('clutter-gtk' 'gtk-vnc' 'libosinfo' 'libsoup' 'libvirt-glib' 'spice-gtk3'
+ 'libtracker-sparql' 'qemu' 'cdrkit' 'libcdio' 'mtools' 'dconf'
+ 'gnome-icon-theme' 'gnome-themes-standard')
+makedepends=('gobject-introspection' 'intltool' 'itstool' 'spice-protocol' 'vala')
+install=$_pkgname.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.xz
+ libre.patch)
+sha256sums=('b5e27756a9c485ce2dea3f8eae867b6c7be70862b16cc44f9b55d86dd633bb83'
+ '2a93935ba94b9f327645a92f11d1a3d23cbeab8e5c800e414c6762181f51d4c0')
+
+prepare() {
+ cd $_pkgname-$pkgver
+
+ patch -Np1 -i "$srcdir/libre.patch"
+
+ cd help/es
+ intltool-update es.po
+ msgattrib --no-obsolete -o es.po es.po
+}
+
+build() {
+ cd $_pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$_pkgname \
+ --disable-static --disable-schemas-compile --enable-smartcard
+ make
+}
+
+package() {
+ cd $_pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
diff --git a/libre/gnome-boxes-libre/gnome-boxes.install b/libre/gnome-boxes-libre/gnome-boxes.install
new file mode 100644
index 000000000..c0ed9a0d7
--- /dev/null
+++ b/libre/gnome-boxes-libre/gnome-boxes.install
@@ -0,0 +1,12 @@
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/libre/gnome-boxes-libre/libre.patch b/libre/gnome-boxes-libre/libre.patch
new file mode 100644
index 000000000..0caf82691
--- /dev/null
+++ b/libre/gnome-boxes-libre/libre.patch
@@ -0,0 +1,69 @@
+diff -Nur gnome-boxes-3.12.1.orig/data/gnome-boxes-logos-db.xml gnome-boxes-3.12.1/data/gnome-boxes-logos-db.xml
+--- gnome-boxes-3.12.1.orig/data/gnome-boxes-logos-db.xml 2014-03-18 14:33:22.000000000 +0100
++++ gnome-boxes-3.12.1/data/gnome-boxes-logos-db.xml 2014-04-27 22:40:15.543230347 +0200
+@@ -2,40 +2,4 @@
+
+
+
+-
+- http://www.debian.org/logos/openlogo-nd.svg
+-
+-
+-
+- http://people.gnome.org/~zeeshanak/logos/fedora.svg
+-
+-
+-
+- http://people.gnome.org/~zeeshanak/logos/opensuse.svg
+-
+-
+-
+- http://people.gnome.org/~zeeshanak/logos/ubuntu.svg
+-
+-
+-
+- http://people.gnome.org/~zeeshanak/logos/gnome-logo.svg
+-
+-
+-
+- http://people.gnome.org/~zeeshanak/logos/shadownman-pill.svg
+-
+-
+-
+- http://people.gnome.org/~zeeshanak/logos/shadownman-pill.svg
+-
+-
+-
+- http://people.gnome.org/~zeeshanak/logos/shadownman-pill.svg
+-
+-
+-
+- http://people.gnome.org/~zeeshanak/logos/shadownman-pill.svg
+-
+-
+
+diff -Nur gnome-boxes-3.12.1.orig/help/C/why-do-i-need-virtual-machine.page gnome-boxes-3.12.1/help/C/why-do-i-need-virtual-machine.page
+--- gnome-boxes-3.12.1.orig/help/C/why-do-i-need-virtual-machine.page 2014-03-25 12:30:55.000000000 -0300
++++ gnome-boxes-3.12.1/help/C/why-do-i-need-virtual-machine.page 2014-05-08 03:25:21.826398198 -0300
+@@ -27,8 +27,7 @@
+ Why do I need a virtual machine?
+
+ 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.
+
+
diff --git a/pcr/gnome-boxes-libre/PKGBUILD b/pcr/gnome-boxes-libre/PKGBUILD
deleted file mode 100644
index 91a3b41be..000000000
--- a/pcr/gnome-boxes-libre/PKGBUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-# Contributor: Daniel Milewski
-
-_pkgname='gnome-boxes'
-pkgname="$_pkgname-libre"
-pkgver='3.10.2'
-pkgrel='1'
-pkgdesc='A simple GNOME 3 application to access remote or virtual systems, without nonfree system logos'
-arch=('i686' 'x86_64')
-url='https://wiki.gnome.org/Apps/Boxes'
-license=('LGPL')
-depends=('clutter-gtk' 'desktop-file-utils' 'gtk-vnc' 'libosinfo' 'libsoup' 'libtracker-sparql' 'libvirt-glib'
- 'spice-gtk3')
-makedepends=('gobject-introspection' 'intltool' 'itstool' 'spice-protocol' 'vala')
-optdepends=('qemu-usbredir: virtual machines support')
-provides=("$_pkgname=$pkgver")
-conflicts=("$_pkgname")
-replaces=("$_pkgname")
-install='gnome-boxes.install'
-source=("http://ftp.gnome.org/pub/GNOME/sources/$_pkgname/${pkgver:0:4}/$_pkgname-$pkgver.tar.xz" 'logos.patch'
- 'free-distros.patch')
-sha256sums=('9e055627cff5f59323bc95ad65ab361fc26328854d5a421bd09c899c466f2ec4'
- '63d8a7fb5e0d6260d56bd92e9d11f39e9f37c323a261bc822a589b85f760b254'
- '025e56fff5ae3659abc867ef1b5739a4632c91fa7f10d54d0853e9905355a15f')
-
-prepare() {
- cd "$srcdir/$_pkgname-$pkgver"
-
- patch -Np1 -i "$srcdir/logos.patch"
-
- patch -Np1 -i "$srcdir/free-distros.patch"
-}
-
-build() {
- cd "$srcdir/$_pkgname-$pkgver"
-
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "$srcdir/$_pkgname-$pkgver"
-
- make DESTDIR="$pkgdir/" install
-}
diff --git a/pcr/gnome-boxes-libre/free-distros.patch b/pcr/gnome-boxes-libre/free-distros.patch
deleted file mode 100644
index d83d2ca4b..000000000
--- a/pcr/gnome-boxes-libre/free-distros.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- gnome-boxes-3.10.0/data/gnome-boxes-logos-db.xml.original 2013-11-23 13:26:20.013010981 +0100
-+++ gnome-boxes-3.10.0/data/gnome-boxes-logos-db.xml 2013-11-23 14:29:33.237567173 +0100
-@@ -2,4 +2,8 @@
-
-
-
-+
-+ https://projects.parabolagnulinux.org/artwork.git/plain/official-2013/optimized-text/logo.svg
-+
-+
-
diff --git a/pcr/gnome-boxes-libre/gnome-boxes.install b/pcr/gnome-boxes-libre/gnome-boxes.install
deleted file mode 100644
index 2ceb2ac08..000000000
--- a/pcr/gnome-boxes-libre/gnome-boxes.install
+++ /dev/null
@@ -1,17 +0,0 @@
-update() {
- glib-compile-schemas /usr/share/glib-2.0/schemas
- update-desktop-database -q
- gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
-}
-
-post_install() {
- update
-}
-
-post_upgrade() {
- update
-}
-
-post_remove() {
- update
-}
diff --git a/pcr/gnome-boxes-libre/logos.patch b/pcr/gnome-boxes-libre/logos.patch
deleted file mode 100644
index 6fe80a2eb..000000000
--- a/pcr/gnome-boxes-libre/logos.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- gnome-boxes-3.10.0/data/gnome-boxes-logos-db.xml.original 2013-11-16 22:30:08.198540527 +0100
-+++ gnome-boxes-3.10.0/data/gnome-boxes-logos-db.xml 2013-11-16 22:30:12.135269885 +0100
-@@ -2,36 +2,4 @@
-
-
-
--
-- http://www.debian.org/logos/openlogo-nd.svg
--
--
--
-- http://people.gnome.org/~zeeshanak/logos/fedora.svg
--
--
--
-- http://people.gnome.org/~zeeshanak/logos/opensuse.svg
--
--
--
-- http://people.gnome.org/~zeeshanak/logos/ubuntu.svg
--
--
--
-- http://people.gnome.org/~zeeshanak/logos/gnome-logo.svg
--
--
--
-- http://people.gnome.org/~zeeshanak/logos/shadownman-pill.svg
--
--
--
-- http://people.gnome.org/~zeeshanak/logos/shadownman-pill.svg
--
--
--
-- http://people.gnome.org/~zeeshanak/logos/shadownman-pill.svg
--
--
-
--
cgit v1.2.3-2-g168b