diff options
author | gregory guy <[email protected]> | 2020-08-27 16:26:49 +0200 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-08-29 15:34:39 +0900 |
commit | d1571dea2aac285280c35383f79cda03cdcb913f (patch) | |
tree | 4fb2b0325739d4ea5021711661931e7e07c6097a /src | |
parent | a4e0262b214c035df0fa1808192e332806396265 (diff) | |
download | kima-d1571dea2aac285280c35383f79cda03cdcb913f.tar.gz kima-d1571dea2aac285280c35383f79cda03cdcb913f.zip |
Drop automake build support.
Add basic cmake build instructions.
Delete empty file NEWS.
Rework of the README file (splitted with the FAQ).
Add FAQ file.
Rework of the desktop file.
Few cosmetics here and there.
Signed-off-by: gregory guy <[email protected]>
(cherry picked from commit c4ba990dcc1531424959545520236b033847905b)
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/Makefile.am | 22 | ||||
-rw-r--r-- | src/cpufreqd/Makefile.am | 8 | ||||
-rw-r--r-- | src/kima.desktop | 27 | ||||
-rw-r--r-- | src/sources/Makefile.am | 20 |
5 files changed, 6 insertions, 77 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fbecc95..beffc1b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,5 +1,5 @@ add_subdirectory( cpufreqd ) -add_subdirectory( sources ) +add_subdirectory( sources ) include_directories( ${CMAKE_BINARY_DIR} @@ -36,7 +36,7 @@ tde_add_kpart( libkima AUTOMOC ##### other data -install( - FILES ${PROJECT_NAME}.desktop +tde_create_translated_desktop( + ${PROJECT_NAME}.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets ) diff --git a/src/Makefile.am b/src/Makefile.am deleted file mode 100644 index d6db9c8..0000000 --- a/src/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -INCLUDES = -I$(top_srcdir)/src/cpufreqd -I$(top_srcdir)/src/sources \ - $(all_includes) -METASOURCES = AUTO - -kde_module_LTLIBRARIES = libkima.la - -libkima_la_SOURCES = kima.cpp flowlayout.cpp sourcelistitem.cpp prefs.ui -libkima_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -libkima_la_LIBADD = $(top_builddir)/src/cpufreqd/libcpufreqd.la \ - $(top_builddir)/src/sources/libsources.la $(LIB_TDEUI) - -kima_DATA = kima.desktop -kimadir = $(kde_datadir)/kicker/applets - -KDE_ICON = hwinfo -EXTRA_DIST = $(kima_DATA) - -messages: rc.cpp - $(XGETTEXT) *.cpp */*.cpp -o $(podir)/kima.pot -noinst_HEADERS = kima.h flowlayout.h sourcelistitem.h - -SUBDIRS = cpufreqd sources diff --git a/src/cpufreqd/Makefile.am b/src/cpufreqd/Makefile.am deleted file mode 100644 index 3b81871..0000000 --- a/src/cpufreqd/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -INCLUDES = -I$(top_srcdir)/src/cpufreqd -I$(top_srcdir)/src/sources $(all_includes) -METASOURCES = AUTO -libcpufreqd_la_LDFLAGS = $(all_libraries) -noinst_LTLIBRARIES = libcpufreqd.la -libcpufreqd_la_SOURCES = cpufreqd.cpp cpufreqdconnection.cpp \ - cpufreqdprofile.cpp -noinst_HEADERS = cpufreqd.h cpufreqdconnection.h cpufreqdprofile.h cpufreqd.h \ - cpufreqdconnection.h cpufreqdprofile.h diff --git a/src/kima.desktop b/src/kima.desktop index c26d4e3..67587b8 100644 --- a/src/kima.desktop +++ b/src/kima.desktop @@ -10,35 +10,14 @@ Icon=hwinfo Name=Kima Name[de]=Kima - +Name[fr]=Kima Comment=Kicker applet that monitors various temperature, frequency and fan sources -#Comment[ca]= -#Comment[cy]= -#Comment[da]= Comment[de]=Kicker-Applet, dass verschiedene Temperatur-, Frequenz- und Lüftersensoren anzeigt. -#Comment[el]= Comment[es]=Un applet para el Kicker que monitorea varias fuentes de temperatura y velocidad de los procesadores y del cooler -#Comment[et]= -Comment[fr]=Kicker applet que montre la température actuelle de CPU et la fréquence actuelle de CPU. -#Comment[hi]= -#Comment[hu]= -#Comment[is]= +Comment[fr]=Un applet Kicker qui montre la température du CPU, sa fréquence ainsi que la vitesse du ventilateur(CPU). Comment[it]=CpuInfo è una semplice Applet per Kicker che visualizza la frequenza e la temperatura della CPU. -#Comment[ja]= -#Comment[nb]= -#Comment[nl]= Comment[pl]=Aplet Kickera pokazujacy obecna temperature i frekwencje procesora. -#Comment[pt]= -#Comment[pt_BR]= -#Comment[ru]= -#Comment[sl]= -#Comment[sr]= -#Comment[sr@Latn]= Comment[sv]=Kicker-miniprogram som övervakar olika temperatur-, frekvens- och fläktkällor -#Comment[ta]= -#Comment[tg]= Comment[tr]=Çeşitli fan, ısı ve frekans kaynaklarını izlemeye yarayan panel programcığı -#Comment[zh_CN]= Comment[id]=Applet Kicker yang memantau berbagai sumber temperatur, frekuensi, dan putaran kipas - -Terminal=0 +Terminal=false diff --git a/src/sources/Makefile.am b/src/sources/Makefile.am deleted file mode 100644 index ed4262e..0000000 --- a/src/sources/Makefile.am +++ /dev/null @@ -1,20 +0,0 @@ -INCLUDES = -I$(top_srcdir)/src/cpufreqd -I$(top_srcdir)/src/sources $(all_includes) -METASOURCES = AUTO -libsources_la_LDFLAGS = $(all_libraries) -libsources_la_LIBADD = $(LIB_QT) $(LIB_TDECORE) -noinst_LTLIBRARIES = libsources.la -libsources_la_SOURCES = acpithermalsrc.cpp batterysrc.cpp cpuinfofreqsrc.cpp \ - hddtempsrc.cpp hwmonfansrc.cpp hwmonthermalsrc.cpp i8ksrc.cpp ibmacpifansrc.cpp \ - ibmacpithermalsrc.cpp ibmhdaps.cpp ibookg4thermalsrc.cpp labelsource.cpp labelsourcePrefs.ui \ - nvidiathermalsrc.cpp omnibookthermalsrc.cpp source.cpp sourceprefs.ui \ - sysfreqsrc.cpp threadedtrigger.cpp triggeredsource.cpp updateevent.cpp \ - uptimesrc.cpp - -noinst_HEADERS = acpithermalsrc.h batterysrc.h cpuinfofreqsrc.h hddtempsrc.h \ - hwmonfansrc.h hwmonthermalsrc.h i8ksrc.h ibmacpifansrc.h ibmacpithermalsrc.h \ - ibmhdaps.h ibookg4thermalsrc.h labelsource.h nvidiathermalsrc.h \ - omnibookthermalsrc.h source.h sysfreqsrc.h \ - threadedtrigger.h triggeredsource.h updateevent.h uptimesrc.h - -AM_CXXFLAGS = @nvcontrol_CFLAGS@ -LIBS += @nvcontrol_LIBS@ |