diff options
author | gregory guy <gregory-tde@laposte.net> | 2020-11-19 15:34:21 +0100 |
---|---|---|
committer | gregory guy <gregory-tde@laposte.net> | 2020-11-19 15:41:50 +0100 |
commit | 039945bdcc926c6460cfb2c4372f370744b16d22 (patch) | |
tree | 5dd94a6a1c8e0709037f43d3bba55c0a9c7ad7db /src | |
parent | 316ef8542788dcdbd65616807955c59238a5d208 (diff) | |
download | basket-039945bdcc926c6460cfb2c4372f370744b16d22.tar.gz basket-039945bdcc926c6460cfb2c4372f370744b16d22.zip |
Drop automake build support.
Add basic cmake build instructions.
Delete empty files ChangeLog, NEWS and TODO.
Rework of the README file.
Update some cmake files with latest macros.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 18 | ||||
-rw-r--r-- | src/Makefile.am | 106 |
2 files changed, 5 insertions, 119 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d2a03ce..df895de 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -122,19 +122,11 @@ install( DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} ) -install( - FILES - basket_part.desktop - basket_config_general.desktop - basket_config_baskets.desktop - basket_config_new_notes.desktop - basket_config_notes_appearance.desktop - basket_config_apps.desktop - +tde_create_translated_desktop( + SOURCE basket_part.desktop basket_config_general.desktop + basket_config_baskets.desktop basket_config_new_notes.desktop + basket_config_notes_appearance.desktop basket_config_apps.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( - FILES ${PROJECT_NAME}.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( ${PROJECT_NAME}.desktop ) diff --git a/src/Makefile.am b/src/Makefile.am deleted file mode 100644 index e3bed59..0000000 --- a/src/Makefile.am +++ /dev/null @@ -1,106 +0,0 @@ -# set the include path for X, qt and KDE -INCLUDES = $(all_includes) - -# let automoc handle all of the meta source files (moc) -METASOURCES = AUTO - -messages: rc.cpp - $(XGETTEXT) *.cpp -o $(podir)/basket.pot - -KDE_ICON = AUTO - -# these are the headers for your project - -noinst_HEADERS = basket.h basketproperties.h mainwindow.h basket_part.h \ - debugwindow.h linklabel.h variouswidgets.h xmlwork.h keyboard.h global.h settings.h \ - focusedwidgets.h popupmenu.h basketfactory.h exporterdialog.h tag.h kcolorcombo2.h \ - newbasketdialog.h tagsedit.h note.h notecontent.h notedrag.h noteedit.h notefactory.h \ - filter.h tools.h backgroundmanager.h regiongrabber.h softwareimporters.h \ - kicondialog.h kiconcanvas.h kgpgme.h crashhandler.h password.h bnpview.h \ - systemtray.h clickablelabel.h colorpicker.h basketlistview.h qeffects.h likeback.h \ - formatimporter.h aboutdata.h basketstatusbar.h basketdcopiface.h basket_options.h \ - likeback_private.h application.h archive.h htmlexporter.h backup.h - -######################################################################### -# COMMON FILES SECTION -######################################################################### - -lib_LTLIBRARIES = libbasketcommon.la - -AM_CPPFLAGS = $(GPGME_CFLAGS) - -libbasketcommon_la_LDFLAGS = -avoid-version -no-undefined $(all_libraries) -ltdecore -lDCOP -ltdeui $(LIB_TQT) -lkjs -ltdefx $(LIBDL) -lartsc -lartskde -lartskde - -libbasketcommon_la_LIBADD = $(LIB_ARTSKDE) -ltdeio $(LIB_TDEUI) $(LIB_TDECORE) \ - $(LIB_TQT) $(LIBSOCKET) $(GPGME_LIBS) $(LIB_TDEPARTS) -lDCOP -ltdefx -ltdeui -ltdecore $(LIB_TQT) -ltdefx $(LIBDL) -lartsc - -libbasketcommon_la_SOURCES = \ - archive.cpp bnpview.cpp settings.cpp basket.cpp basketproperties.cpp \ - linklabel.cpp variouswidgets.cpp xmlwork.cpp keyboard.cpp \ - global.cpp exporterdialog.cpp htmlexporter.cpp notefactory.cpp softwareimporters.cpp \ - focusedwidgets.cpp popupmenu.cpp basketfactory.cpp \ - tag.cpp qeffects.cpp kcolorcombo2.cpp newbasketdialog.cpp tagsedit.cpp \ - formatimporter.cpp note.cpp notecontent.cpp notedrag.cpp noteedit.cpp \ - filter.cpp tools.cpp backgroundmanager.cpp regiongrabber.cpp \ - kicondialogui.ui kicondialog.cpp kiconcanvas.cpp kgpgme.cpp likeback.cpp \ - crashhandler.cpp passwordlayout.ui password.cpp colorpicker.cpp \ - basketlistview.cpp debugwindow.cpp systemtray.cpp aboutdata.cpp \ - basketstatusbar.cpp clickablelabel.cpp basketdcopiface.skel backup.cpp - -######################################################################### -# APPLICATION SECTION -######################################################################### -# this is the program that gets installed. it's name is used for all -# of the other Makefile.am variables -bin_PROGRAMS = basket - -# the application source, library search path, and link libraries -basket_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TDEUTILS) -ltdecore -lDCOP -ltdeui $(LIB_TQT) -lkjs -ltdefx $(LIBDL) -lartsc -lartskde -lartskde -basket_LDADD = libbasketcommon.la - -# this is where the desktop file will go -shelldesktopdir = $(xdg_appsdir) -shelldesktop_DATA = basket.desktop - -# this is where the shell's XML-GUI resource file goes -rcdir = $(kde_datadir)/basket -rc_DATA = basketui.rc - -basket_SOURCES = main.cpp mainwindow.cpp application.cpp - -basket_COMPILE_FIRST = passwordlayout.h - -kde_icon_KDEICON = cr128-app-basket.png cr16-app-basket.png cr22-app-basket.png \ - cr32-app-basket.png cr48-app-basket.png cr64-app-basket.png hi16-app-basket_old.png \ - hi32-app-basket_old.png crsc-app-basket.svg \ - cr16-action-likeback_like.png cr16-action-likeback_dislike.png \ - cr16-action-likeback_bug.png cr16-action-likeback_feature.png - -################## -# KPART SECTION -################## - -kde_module_LTLIBRARIES = kcm_basket.la libbasketpart.la - -libbasketpart_la_SOURCES = basket_part.cpp -libbasketpart_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -module -avoid-version -no-undefined -ltdecore -ltdeui $(LIB_TQT) -lDCOP -lkjs -ltdefx $(LIBDL) -lartsc -lartskde -lartskde -libbasketpart_la_LIBADD = libbasketcommon.la -ltdeparts -ltdeui $(LIB_TDECORE) $(LIB_TQT) -lDCOP - -kcm_basket_la_SOURCES = kcm_basket.cpp -kcm_basket_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined -ltdecore -ltdeui $(LIB_TQT) -lDCOP -lkjs -ltdefx $(LIBDL) -lartsc -lartskde -kcm_basket_la_LIBADD = libbasketcommon.la $(LIB_TDECORE) $(LIB_TQT) -ltdeui -lDCOP - -# this is where the desktop file will go -partdesktopdir = $(kde_servicesdir) -partdesktop_DATA = basket_part.desktop - -# this is where the part's XML-GUI resource file goes -partdir = $(kde_datadir)/basket -part_DATA = basket_part.rc - -kde_services_DATA = \ - basket_config_general.desktop \ - basket_config_baskets.desktop \ - basket_config_new_notes.desktop \ - basket_config_notes_appearance.desktop \ - basket_config_apps.desktop |