diff options
author | Zoran Stojakovic <stojakovic.zoran@gmail.com> | 2011-10-21 10:56:09 -0200 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-10-21 15:59:20 -0200 |
commit | fd5d2a3446e3ac8d5e2e711f03cecd218ef0bc79 (patch) | |
tree | 5b7117404c587ee761135d4012e3816c41215a23 | |
parent | fd17bbdb2b302ccc246ee13672a11b5a716e9009 (diff) | |
download | slackbuilds-fd5d2a3446e3ac8d5e2e711f03cecd218ef0bc79.tar.gz |
system/virt-manager: Updated for version 0.9.0 (+new maintainer)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
-rw-r--r-- | system/virt-manager/README | 1 | ||||
-rw-r--r-- | system/virt-manager/doinst.sh | 22 | ||||
-rw-r--r-- | system/virt-manager/virt-manager.SlackBuild | 16 | ||||
-rw-r--r-- | system/virt-manager/virt-manager.info | 12 |
4 files changed, 33 insertions, 18 deletions
diff --git a/system/virt-manager/README b/system/virt-manager/README index c0e88bf42e..c6651cb234 100644 --- a/system/virt-manager/README +++ b/system/virt-manager/README @@ -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 - diff --git a/system/virt-manager/doinst.sh b/system/virt-manager/doinst.sh index 0b5b7b9e43..ee5dc2a711 100644 --- a/system/virt-manager/doinst.sh +++ b/system/virt-manager/doinst.sh @@ -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 diff --git a/system/virt-manager/virt-manager.SlackBuild b/system/virt-manager/virt-manager.SlackBuild index 82c77d36f4..8440c43d5a 100644 --- a/system/virt-manager/virt-manager.SlackBuild +++ b/system/virt-manager/virt-manager.SlackBuild @@ -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 diff --git a/system/virt-manager/virt-manager.info b/system/virt-manager/virt-manager.info index e2e16c322a..80eb19f931 100644 --- a/system/virt-manager/virt-manager.info +++ b/system/virt-manager/virt-manager.info @@ -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" |