From 2728ded1e96eb209a37503f7838eef7c2aa29ee2 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 5 Sep 2014 01:44:14 -0300 Subject: gnome-boxes: remove libre suffix and add complex pkgrel --- libre/gnome-boxes/PKGBUILD | 42 +++++++++++++++++++++ libre/gnome-boxes/gnome-boxes.install | 12 ++++++ libre/gnome-boxes/libre.patch | 69 +++++++++++++++++++++++++++++++++++ 3 files changed, 123 insertions(+) create mode 100644 libre/gnome-boxes/PKGBUILD create mode 100644 libre/gnome-boxes/gnome-boxes.install create mode 100644 libre/gnome-boxes/libre.patch (limited to 'libre/gnome-boxes') diff --git a/libre/gnome-boxes/PKGBUILD b/libre/gnome-boxes/PKGBUILD new file mode 100644 index 000000000..b7c1579f9 --- /dev/null +++ b/libre/gnome-boxes/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 113793 2014-06-30 13:59:38Z bgyorgy $ +# Maintainer (Arch): Balló György +# Contributor (Arch): Stefano Facchini +# Maintainer: André Silva +# Contributor: Daniel Milewski + +pkgname=gnome-boxes +pkgver=3.12.3 +pkgrel=1.parabola1 +pkgdesc="Simple GNOME 3 application to access remote or virtual systems, without nonfree system logos" +arch=('i686' 'x86_64' 'mips64el') +url="https://wiki.gnome.org/Apps/Boxes" +license=('LGPL') +conflicts=(${pkgname}-libre) +replaces=(${pkgname}-libre) +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=('bf57525106baaa635d08a4a4c6ed81e4b8c8708897f2fe7c2623810aec9b6408' + '2a93935ba94b9f327645a92f11d1a3d23cbeab8e5c800e414c6762181f51d4c0') + +prepare() { + cd $pkgname-$pkgver + + patch -Np1 -i "$srcdir/libre.patch" +} + +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/gnome-boxes.install b/libre/gnome-boxes/gnome-boxes.install new file mode 100644 index 000000000..c0ed9a0d7 --- /dev/null +++ b/libre/gnome-boxes/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.patch b/libre/gnome-boxes/libre.patch new file mode 100644 index 000000000..0caf82691 --- /dev/null +++ b/libre/gnome-boxes/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.

+ + -- cgit v1.2.3