mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
system/virt-manager: Updated for version 0.9.0 (+new maintainer)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
fd17bbdb2b
commit
fd5d2a3446
4 changed files with 33 additions and 18 deletions
|
@ -9,4 +9,3 @@ To run virt-manager as a normal user, you need to configure libvirt
|
||||||
to have the correct permissions. Uncomment the unix_sock_group and
|
to have the correct permissions. Uncomment the unix_sock_group and
|
||||||
unix_sock_rw_perms in /etc/libvirt/libvirtd.conf and add the user to the
|
unix_sock_rw_perms in /etc/libvirt/libvirtd.conf and add the user to the
|
||||||
libvirt group
|
libvirt group
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,19 @@
|
||||||
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
|
schema_install() {
|
||||||
chroot . gconftool-2 --makefile-install-rule \
|
SCHEMA="$1"
|
||||||
/etc/gconf/schemas/virt-manager.schemas \
|
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
|
||||||
1>/dev/null
|
chroot . gconftool-2 --makefile-install-rule \
|
||||||
|
/etc/gconf/schemas/$SCHEMA \
|
||||||
|
1>/dev/null
|
||||||
|
}
|
||||||
|
|
||||||
|
schema_install virt-manager.schemas
|
||||||
|
|
||||||
|
if [ -x /usr/bin/update-desktop-database ]; then
|
||||||
|
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
|
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
|
@ -2,21 +2,22 @@
|
||||||
|
|
||||||
# Slackware build script for virt-manager
|
# Slackware build script for virt-manager
|
||||||
|
|
||||||
|
# For version 0.8.3
|
||||||
# Written by Ash Wiren ash@spooksoftware.com
|
# Written by Ash Wiren ash@spooksoftware.com
|
||||||
# Released to public domain.
|
# Released to public domain.
|
||||||
# Lots of fixes by Robby Workman
|
# Lots of fixes by Robby Workman
|
||||||
|
# For version 0.9.0
|
||||||
|
# Modified by Zoran Stojakovic
|
||||||
|
|
||||||
PRGNAM=virt-manager
|
PRGNAM=virt-manager
|
||||||
VERSION=${VERSION:-0.8.3}
|
VERSION=${VERSION:-0.9.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
# Automatically determine the architecture we're building on:
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i486 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
@ -72,12 +73,13 @@ make install DESTDIR=$PKG
|
||||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
( cd $PKG/usr/man
|
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||||
find . -type f -exec gzip -9 {} \;
|
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||||
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
|
||||||
)
|
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
cp -a \
|
||||||
|
ABOUT-NLS ChangeLog AUTHORS COPYING COPYING-DOCS HACKING INSTALL NEWS README \
|
||||||
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="virt-manager"
|
PRGNAM="virt-manager"
|
||||||
VERSION="0.8.3"
|
VERSION="0.9.0"
|
||||||
HOMEPAGE="http://virt-manager.et.redhat.com"
|
HOMEPAGE="http://virt-manager.et.redhat.com"
|
||||||
DOWNLOAD="http://virt-manager.et.redhat.com/download/sources/virt-manager/virt-manager-0.8.3.tar.gz"
|
DOWNLOAD="http://virt-manager.et.redhat.com/download/sources/virt-manager/virt-manager-0.9.0.tar.gz"
|
||||||
MD5SUM="2994055bd83b7fe621f0258089e171f4"
|
MD5SUM="a10331b467f92f4134a39bf636e04adc"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Ash Wiren"
|
MAINTAINER="Zoran Stojakovic"
|
||||||
EMAIL="ash@spooksoftware.com"
|
EMAIL="stojakovic.zoran@gmail.com"
|
||||||
APPROVED="dsomero"
|
APPROVED="Niels Horn"
|
||||||
|
|
Loading…
Reference in a new issue