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:
Zoran Stojakovic 2011-10-21 10:56:09 -02:00 committed by Niels Horn
parent fd17bbdb2b
commit fd5d2a3446
4 changed files with 33 additions and 18 deletions

View file

@ -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
unix_sock_rw_perms in /etc/libvirt/libvirtd.conf and add the user to the
libvirt group

View file

@ -1,5 +1,19 @@
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
chroot . gconftool-2 --makefile-install-rule \
/etc/gconf/schemas/virt-manager.schemas \
1>/dev/null
schema_install() {
SCHEMA="$1"
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
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

View file

@ -2,21 +2,22 @@
# Slackware build script for virt-manager
# For version 0.8.3
# Written by Ash Wiren ash@spooksoftware.com
# Released to public domain.
# Lots of fixes by Robby Workman
# For version 0.9.0
# Modified by Zoran Stojakovic
PRGNAM=virt-manager
VERSION=${VERSION:-0.8.3}
VERSION=${VERSION:-0.9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@ -72,12 +73,13 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
find $PKG/usr/man -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
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
mkdir -p $PKG/install

View file

@ -1,10 +1,10 @@
PRGNAM="virt-manager"
VERSION="0.8.3"
VERSION="0.9.0"
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"
MD5SUM="2994055bd83b7fe621f0258089e171f4"
DOWNLOAD="http://virt-manager.et.redhat.com/download/sources/virt-manager/virt-manager-0.9.0.tar.gz"
MD5SUM="a10331b467f92f4134a39bf636e04adc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Ash Wiren"
EMAIL="ash@spooksoftware.com"
APPROVED="dsomero"
MAINTAINER="Zoran Stojakovic"
EMAIL="stojakovic.zoran@gmail.com"
APPROVED="Niels Horn"