kdebase4-workspace/kdebase-workspace-4.5.76-mdv-adopt-ldetect-path.patch

20 lines
891 B
Diff
Raw Normal View History

2012-02-01 15:17:26 +04:00
--- kinfocenter/Modules/usbview/usbdb.cpp.mdv 2010-11-18 17:26:26.000000000 +0100
+++ kinfocenter/Modules/usbview/usbdb.cpp 2010-11-18 17:28:43.000000000 +0100
@@ -20,7 +20,7 @@
#include <kstandarddirs.h>
USBDB::USBDB() {
- QString db = "/usr/share/hwdata/usb.ids"; /* on Fedora */
+ QString db = "/usr/share/usb.ids"; /* on Mandriva */
if (!QFile::exists(db))
db = KStandardDirs::locate("data", "kcmusb/usb.ids");
if (db.isEmpty())
--- kinfocenter/Modules/usbview/CMakeLists.txt.mdv_ldetect 2010-11-19 02:35:21.000000000 +0100
+++ kinfocenter/Modules/usbview/CMakeLists.txt 2010-11-19 02:35:32.000000000 +0100
@@ -17,4 +17,4 @@
########### install files ###############
install( FILES kcmusb.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES usb.ids DESTINATION ${DATA_INSTALL_DIR}/kcmusb )
+#install( FILES usb.ids DESTINATION ${DATA_INSTALL_DIR}/kcmusb )