summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <abcd@gentoo.org>2009-10-13 00:35:03 +0000
committerJonathan Callen <abcd@gentoo.org>2009-10-13 00:35:03 +0000
commitf7bb65ad1f0ec912a3bca415aa1ad9c364b80b13 (patch)
tree840d196876193bc4421c9387bcb9714a92a2f442 /kde-base/kdialog
parentClean out old version (diff)
downloadgentoo-2-f7bb65ad1f0ec912a3bca415aa1ad9c364b80b13.tar.gz
gentoo-2-f7bb65ad1f0ec912a3bca415aa1ad9c364b80b13.tar.bz2
gentoo-2-f7bb65ad1f0ec912a3bca415aa1ad9c364b80b13.zip
Clean out old patches
(Portage version: -svn/cvs/Linux i686)
Diffstat (limited to 'kde-base/kdialog')
-rw-r--r--kde-base/kdialog/ChangeLog6
-rw-r--r--kde-base/kdialog/files/kdialog-3.5.9-kdeeject-186028.patch59
2 files changed, 5 insertions, 60 deletions
diff --git a/kde-base/kdialog/ChangeLog b/kde-base/kdialog/ChangeLog
index b4efd3786fcc..a5a4a0212588 100644
--- a/kde-base/kdialog/ChangeLog
+++ b/kde-base/kdialog/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for kde-base/kdialog
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdialog/ChangeLog,v 1.121 2009/10/12 21:03:29 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdialog/ChangeLog,v 1.122 2009/10/13 00:35:03 abcd Exp $
+
+ 13 Oct 2009; Jonathan Callen <abcd@gentoo.org>
+ -files/kdialog-3.5.9-kdeeject-186028.patch:
+ Clean out old patches
12 Oct 2009; Jonathan Callen <abcd@gentoo.org> -kdialog-3.5.9.ebuild,
-kdialog-3.5.9-r1.ebuild:
diff --git a/kde-base/kdialog/files/kdialog-3.5.9-kdeeject-186028.patch b/kde-base/kdialog/files/kdialog-3.5.9-kdeeject-186028.patch
deleted file mode 100644
index 4607adac3a6d..000000000000
--- a/kde-base/kdialog/files/kdialog-3.5.9-kdeeject-186028.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-diff -Naur kdialog-3.5.9.orig/kdeeject/kdeeject kdialog-3.5.9/kdeeject/kdeeject
---- kdialog-3.5.9.orig/kdeeject/kdeeject 2006-10-01 19:31:56.000000000 +0200
-+++ kdialog-3.5.9/kdeeject/kdeeject 2008-04-26 19:00:44.000000000 +0200
-@@ -4,6 +4,11 @@
- #
- # Copyright GPL v2 by David Faure <david@mandrakesoft.com>
- #
-+error() {
-+ kdialog --title "KDE Eject" --error "$1"
-+ exit 1
-+}
-+
- if test $# -ge 1 -a "$1" != "--help"; then
- quiet=0
- if test "$1" = "-q"; then
-@@ -22,10 +27,39 @@
- cdcontrol -f $dev eject >/dev/null 2>&1
- ;;
- *)
-- # Warning, it has to be either eject 2.0.x or >=2.1.5
-- # Otherwise it doesn't work as expected (it requires a
-- # fstab entry for no reason).
-- eject $1 >/dev/null 2>&1
-+ # check if HAL userland tools are installed
-+ if test -x `which hal-find-by-property`; then
-+ HAL_major=`hal-find-by-property --version | cut -d " " -f 2 | cut -d. -f1`
-+ HAL_minor=`hal-find-by-property --version | cut -d " " -f 2 | cut -d. -f2`
-+ # HAL umount and eject method exist only for HAL >= 0.5
-+ if test $HAL_major -eq 0 -a $HAL_minor -ge 5 -o $HAL_major -gt 0; then
-+ # Try to find the UDi from the device name
-+ BLOCK_UDI=$(hal-find-by-property --key block.device --string "$1" | head -1)
-+ [ -n "$BLOCK_UDI" ] || error "Can't find UDI for URL $1"
-+ STORAGE_UDI=$(hal-get-property --udi $BLOCK_UDI --key block.storage_device)
-+ [ -n "$STORAGE_UDI" ] || error "Can't find device for volume $BLOCK_UDI"
-+
-+ # Unmount each device volume
-+ for VOLUME_UDI in $(hal-find-by-property --key block.storage_device --string $STORAGE_UDI); do
-+ [ $(hal-get-property --udi $VOLUME_UDI --key block.is_volume) = true ] || continue
-+ [ $(hal-get-property --udi $VOLUME_UDI --key volume.is_mounted) = true ] || continue
-+ ERROR=$(dcop kded mediamanager unmount $VOLUME_UDI)
-+
-+ if test -n "$ERROR"; then
-+ # try to use directly DBUS method in case mediamanager failed
-+ ERROR=$(dbus-send --system --dest=org.freedesktop.Hal "$VOLUME_UDI" org.freedesktop.Hal.Device.Volume.Unmount array:string:"" >/dev/null 2>&1)
-+ [ -n "$ERROR" ] && error "$ERROR"
-+ fi
-+ done
-+ dbus-send --system --dest=org.freedesktop.Hal "$BLOCK_UDI" org.freedesktop.Hal.Device.Volume.Eject array:string:"" >/dev/null 2>&1
-+ fi
-+ else
-+ # fallback to the old eject method
-+ # Warning, it has to be either eject 2.0.x or >=2.1.5
-+ # Otherwise it doesn't work as expected (it requires a
-+ # fstab entry for no reason).
-+ eject $1 >/dev/null 2>&1
-+ fi
- ;;
- esac
- if test $? -eq 0; then