[PC-BSD Commits] r7243 - pcbsd/current/ServiceManager

svn at pcbsd.org svn at pcbsd.org
Tue Jul 20 08:57:35 PDT 2010


Author: kris
Date: 2010-07-20 08:57:34 -0700 (Tue, 20 Jul 2010)
New Revision: 7243

Added:
   pcbsd/current/ServiceManager/main.cpp
Removed:
   pcbsd/current/ServiceManager/kcm.cpp
   pcbsd/current/ServiceManager/kcm.h
   pcbsd/current/ServiceManager/notroot.cpp
   pcbsd/current/ServiceManager/notroot.h
   pcbsd/current/ServiceManager/notroot.ui
Modified:
   pcbsd/current/ServiceManager/servicemanager.pro
Log:

Convert Service Manager to QT4 only standalone app



Modified: pcbsd/current/ServiceManager/servicemanager.pro
===================================================================
--- pcbsd/current/ServiceManager/servicemanager.pro	2010-07-20 13:48:22 UTC (rev 7242)
+++ pcbsd/current/ServiceManager/servicemanager.pro	2010-07-20 15:57:34 UTC (rev 7243)
@@ -1,12 +1,8 @@
-TEMPLATE	= lib
+TEMPLATE	= app
 LANGUAGE	= C++
 
 CONFIG	+= qt warn_on release
 
-INCLUDEPATH += /usr/local/kde4/include
-
-LIBS += -L/usr/local/kde4/lib -lkdecore -lkio -lkdeui -Ikdelibs
-
 TRANSLATIONS = 	i18n/ServiceManager_af.ts \
 		i18n/ServiceManager_ar.ts \
 		i18n/ServiceManager_az.ts \
@@ -69,26 +65,24 @@
 		i18n/ServiceManager_zh_TW.ts \
 		i18n/ServiceManager_zu.ts
 
-TARGET  = kcm_pcbsdservices
+TARGET  = pc-servicemanager
 
-DESTDIR = /usr/local/kde4/lib/kde4/
+DESTDIR = /usr/local/bin/
 
+HEADERS	+= servicemanager.h
 
-HEADERS	+= kcm.h notroot.h servicemanager.h
+SOURCES	+= main.cpp servicemanager.cpp
 
-SOURCES	+= kcm.cpp notroot.cpp servicemanager.cpp
+FORMS	= servicemanager.ui
 
-FORMS	= servicemanager.ui \
-	notroot.ui
-
-desktop.path=/usr/local/kde4/share/kde4/services/
+desktop.path=/usr/local/share/applications/
 desktop.files=pcbsdservices.desktop
 
-dotrans.path=/usr/local/kde4/share/apps/pcbsd/i18n/
-dotrans.extra=cd i18n && lrelease-qt4 *.ts && cp *.qm /usr/local/kde4/share/apps/pcbsd/i18n/
+dotrans.path=/usr/local/share/apps/pcbsd/i18n/
+dotrans.extra=cd i18n && lrelease-qt4 *.ts && cp *.qm /usr/local/share/apps/pcbsd/i18n/
 
 INSTALLS += dotrans desktop
 
 RESOURCES += servicemanager.qrc
 
-QMAKE_LIBDIR = /usr/local/kde4/lib /usr/local/lib/qt4 /usr/local/lib
+QMAKE_LIBDIR = /usr/local/lib/qt4 /usr/local/lib



More information about the Commits mailing list