diff options
author | gregory guy <[email protected]> | 2019-10-21 12:47:12 +0200 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2019-10-23 23:06:31 +0900 |
commit | 594d814515c55dec7315567ba40e20db1256fcc2 (patch) | |
tree | f635ae2a64cc0cd488a45a9ff821dffd9864d5f0 /src | |
parent | 50508b192c56693818ea5c8622223d02c847c854 (diff) | |
download | knetstats-594d814515c55dec7315567ba40e20db1256fcc2.tar.gz knetstats-594d814515c55dec7315567ba40e20db1256fcc2.zip |
Drop automake build support.
Add basic cmake instructions in an INSTALL file.
Rework of the README file as well as the help page.
The knetstats.desktop file has been moved to the "src" folder.
Signed-off-by: gregory guy <[email protected]>
(cherry picked from commit e7dbd05dac9173bb57af5ab5e2f1eadb267a8121)
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 8 | ||||
-rw-r--r-- | src/Makefile.am | 22 | ||||
-rw-r--r-- | src/knetstats.desktop | 32 | ||||
-rw-r--r-- | src/pics/Makefile.am | 5 |
4 files changed, 40 insertions, 27 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4b74eac..2bbb335 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -36,3 +36,11 @@ tde_add_executable( ${PROJECT_NAME} AUTOMOC DESTINATION ${BIN_INSTALL_DIR} ) + + +##### other data + +install( + FILES ${PROJECT_NAME}.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) diff --git a/src/Makefile.am b/src/Makefile.am deleted file mode 100644 index 43dc752..0000000 --- a/src/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -INCLUDES = $(all_includes) - -SUBDIRS = pics - -bin_PROGRAMS = knetstats - -knetstats_SOURCES = configurebase.ui configure.cpp statisticsbase.ui main.cpp \ - knetstats.cpp knetstatsview.cpp statistics.cpp chart.cpp interface.cpp -knetstats_LDADD = $(LIB_TDEUI) -knetstats_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor -METASOURCES = configure.moc knetstats.moc knetstatsview.moc statistics.moc - -# these are the headers for your project -noinst_HEADERS = chart.h configure.h knetstats.h knetstatsview.h statistics.h \ - interface.h - -messages: rc.cpp - $(EXTRACTRC) *.ui >> rc.cpp - $(XGETTEXT) *.cpp -o $(podir)/knetstats.pot - -KDE_OPTIONS = nofinal - diff --git a/src/knetstats.desktop b/src/knetstats.desktop new file mode 100644 index 0000000..d77f9c2 --- /dev/null +++ b/src/knetstats.desktop @@ -0,0 +1,32 @@ +[Desktop Entry] +Name=KNetStats +Name[pa]=ਕੇ-ਨੈੱਟ-ਹਾਲਤ +GenericName=Network Monitor +GenericName[bg]=Наблюдение на мрежа +GenericName[cs]=Síťový monitor +GenericName[da]=Netværksovervåger +GenericName[de]=Netzwerkmonitor +GenericName[el]=Επόπτης δικτύου +GenericName[es]=Monitor de red +GenericName[et]=Võrgumonitor +GenericName[fr]=Surveillance réseau +GenericName[ga]=Monatóir líonra +GenericName[gl]=Monitor da rede +GenericName[it]=Monitor di rete +GenericName[ja]=ネットワークモニター +GenericName[ka]=ქსელის მეთვალყურე +GenericName[nl]=Netwerkmonitor +GenericName[pa]=ਨੈੱਟਵਰਕ ਨਿਗਰਾਨ +GenericName[pt]=Monitor da rede +GenericName[pt_BR]=Monitor de rede +GenericName[sk]=Monitor siete +GenericName[sv]=Nätverksövervakare +GenericName[tr]=Ağ izleyici +GenericName[uk]=Монітор мережі +Exec=knetstats +Icon=knetstats +Terminal=false +Type=Application +Categories=Qt;TDE;Network; +X-TDE-StartupNotify=true +X-DocPath=knetstats/index.html diff --git a/src/pics/Makefile.am b/src/pics/Makefile.am deleted file mode 100644 index fab68d0..0000000 --- a/src/pics/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ -knetstats_DATA = theme0_none.png theme1_error.png theme2_both.png theme2_tx.png theme3_rx.png theme4_none.png \ - icon_pci.png theme0_rx.png theme1_none.png theme2_error.png theme3_both.png theme3_tx.png theme4_rx.png \ - theme0_both.png theme0_tx.png theme1_rx.png theme2_none.png theme3_error.png theme4_both.png theme4_tx.png \ - theme0_error.png theme1_both.png theme1_tx.png theme2_rx.png theme3_none.png theme4_error.png -knetstatsdir = $(kde_datadir)/knetstats/pics |