summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2020-10-17 18:36:11 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2020-10-21 23:11:11 -0400
commit96904734e943290416b016076b107bf46540ebe7 (patch)
treea1caef08afb40fccb5a3f66bfba1a454b75ad697
parentfcbc7ad6e43184a907f0db1ca235ea92cff4b0bf (diff)
downloadabslibre-96904734e943290416b016076b107bf46540ebe7.tar.gz
abslibre-96904734e943290416b016076b107bf46540ebe7.tar.bz2
abslibre-96904734e943290416b016076b107bf46540ebe7.zip
[virt-manager]: package 'virt-manager'
the changes in this patch are more extensive than what the commit message would suggest they are predominantly for the sake of minimizing the diff with upstream this is a split package upstream; but only 'virt-install' is on the blacklist originally, the package_virt-manager() function was deleted and the package_virt-install() function was left in tact, including the code that splits the output files into two packages that made this PKGBUILD quite confusing: * the pkgbase and abslibre directory are named 'virt-manager' * the PKGBUILD is still formatted as a split package, which happens to output only one single package * some non-package files are stashed aside, for apparently no reason, rather than making the intention obvious by deleting them all of the work necessary to output the 'virt-manager' package, is necessarily done by this PKGBUILD while building 'virt-install' (the package_virt-manager() function is merely a `mv` statement); so there is no reason not to package both packaging 'virt-manager' also has the benefit, of the pinned 'virt-install' dependency of 'virt-manager', being always satisfiable been added to the blacklist with reason: 'technical' virt-manager has been added to the blacklist with reason: 'technical'
-rw-r--r--libre/virt-manager/PKGBUILD38
1 files changed, 26 insertions, 12 deletions
diff --git a/libre/virt-manager/PKGBUILD b/libre/virt-manager/PKGBUILD
index 2a93e4259..0e6135cab 100644
--- a/libre/virt-manager/PKGBUILD
+++ b/libre/virt-manager/PKGBUILD
@@ -2,30 +2,34 @@
# Contributor (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor (Arch): Daniel Micay <danielmicay@gmail.com>
# Contributor (Arch): Jonathan Wiersma <archaur at jonw dot org>
-# Maintainer (Hyperbola): André Silva <emulatorman@hyperbola.info>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+# Contributor: André Silva <emulatorman@hyperbola.info>
# Contributor: grizzlyuser <grizzlyuser@protonmail.com>
+
+# parabola changes and rationale
+# - remove documentation and explicit support for non-FSDG-fit operating systems
+
+
pkgbase=virt-manager
-pkgname=(virt-install)
+pkgname=(virt-install virt-manager)
pkgver=3.1.0
pkgrel=1
-pkgrel+=.par1
-pkgdesc="Command line tool for creating new KVM , Xen, or Linux container guests using the libvirt hypervisor"
-pkgdesc+=", without non-FSDG compliant distros and operating systems support"
+pkgrel+=.parabola1
arch=('any')
url="https://virt-manager.org/"
license=('GPL')
-depends=('libosinfo' 'libvirt-python' 'python-gobject' 'python-requests')
makedepends=('python-docutils')
-checkdepends=('python-pytest' 'cpio' 'cdrtools')
-source=("https://virt-manager.org/download/sources/virt-manager/virt-manager-$pkgver.tar.gz"
- 'libre.patch')
-b2sums=('729a16ee419cfc9f118e4a59336e961f17f38908ab3aaa3598c83bff3e8bca75b150f0f38b021c5ccb839a7c43e87f071859f68c2a81425715e236e14d0a7929'
- 'c4b8369bfc78a0603e511a772a2570b84cafdc1cbac553ed9995bb18cdf7259835bb19d1e3120e49f86e19db9b6eb577cf75c3527cfad855c616acd09b3de048')
+checkdepends=('python-pytest' 'libosinfo' 'libvirt-python' 'python-gobject' 'python-requests' 'cpio' 'cdrtools')
+source=("https://virt-manager.org/download/sources/virt-manager/virt-manager-$pkgver.tar.gz")
+source+=('libre.patch')
+b2sums=('729a16ee419cfc9f118e4a59336e961f17f38908ab3aaa3598c83bff3e8bca75b150f0f38b021c5ccb839a7c43e87f071859f68c2a81425715e236e14d0a7929')
+b2sums+=('c4b8369bfc78a0603e511a772a2570b84cafdc1cbac553ed9995bb18cdf7259835bb19d1e3120e49f86e19db9b6eb577cf75c3527cfad855c616acd09b3de048')
+
prepare() {
- cd "$srcdir/$pkgbase-$pkgver"
+ cd $pkgbase-$pkgver
+
patch -p1 -i ../libre.patch
}
@@ -36,6 +40,10 @@ build() {
}
package_virt-install() {
+ pkgdesc="Command line tool for creating new KVM , Xen, or LXC container guests using the libvirt hypervisor"
+ pkgdesc+=", without non-FSDG OS definitions"
+ depends=('libosinfo' 'libvirt-python' 'python-gobject' 'python-requests')
+
cd $pkgbase-$pkgver
python setup.py --no-update-icon-cache --no-compile-schemas install --root "$pkgdir"
python -m compileall "$pkgdir"/usr/share/virt-manager
@@ -50,3 +58,9 @@ package_virt-install() {
mv "$pkgdir"/usr/share/virt-manager/{icons,ui,virtManager} "$srcdir"/split/usr/share/virt-manager/
}
+package_virt-manager() {
+ pkgdesc="Desktop user interface for managing virtual machines"
+ depends=("virt-install=$pkgver" 'gtk-vnc' 'libvirt-glib' 'spice-gtk' 'vte3' 'python-cairo' 'gtksourceview4')
+
+ mv -v split/* "$pkgdir/"
+}