From b6fc43ccd522dfbc1e215b12adb8208c156bbd31 Mon Sep 17 00:00:00 2001 From: samelian Date: Sun, 23 Jan 2011 23:42:11 +0000 Subject: [kdebase] initial cmake support git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1216551 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kappfinder/CMakeLists.txt | 46 ++++++++++++++++++++++ kappfinder/apps/CMakeLists.txt | 19 +++++++++ kappfinder/apps/Development/CMakeLists.txt | 16 ++++++++ kappfinder/apps/Games/Arcade/CMakeLists.txt | 17 ++++++++ kappfinder/apps/Games/Board/CMakeLists.txt | 17 ++++++++ kappfinder/apps/Games/CMakeLists.txt | 23 +++++++++++ kappfinder/apps/Games/Card/CMakeLists.txt | 14 +++++++ kappfinder/apps/Games/Emulators/CMakeLists.txt | 14 +++++++ kappfinder/apps/Games/Roguelikes/CMakeLists.txt | 15 +++++++ .../apps/Games/TacticStrategy/CMakeLists.txt | 14 +++++++ kappfinder/apps/Games/Toys/CMakeLists.txt | 14 +++++++ kappfinder/apps/Graphics/CMakeLists.txt | 19 +++++++++ kappfinder/apps/Internet/CMakeLists.txt | 27 +++++++++++++ kappfinder/apps/Internet/Terminal/CMakeLists.txt | 16 ++++++++ kappfinder/apps/Multimedia/CMakeLists.txt | 21 ++++++++++ kappfinder/apps/Office/CMakeLists.txt | 20 ++++++++++ kappfinder/apps/System/CMakeLists.txt | 17 ++++++++ kappfinder/apps/System/Terminal/CMakeLists.txt | 14 +++++++ kappfinder/apps/Utilities/CMakeLists.txt | 19 +++++++++ kappfinder/apps/Utilities/Editors/CMakeLists.txt | 16 ++++++++ kappfinder/apps/Utilities/xutils/CMakeLists.txt | 16 ++++++++ 21 files changed, 394 insertions(+) create mode 100644 kappfinder/CMakeLists.txt create mode 100644 kappfinder/apps/CMakeLists.txt create mode 100644 kappfinder/apps/Development/CMakeLists.txt create mode 100644 kappfinder/apps/Games/Arcade/CMakeLists.txt create mode 100644 kappfinder/apps/Games/Board/CMakeLists.txt create mode 100644 kappfinder/apps/Games/CMakeLists.txt create mode 100644 kappfinder/apps/Games/Card/CMakeLists.txt create mode 100644 kappfinder/apps/Games/Emulators/CMakeLists.txt create mode 100644 kappfinder/apps/Games/Roguelikes/CMakeLists.txt create mode 100644 kappfinder/apps/Games/TacticStrategy/CMakeLists.txt create mode 100644 kappfinder/apps/Games/Toys/CMakeLists.txt create mode 100644 kappfinder/apps/Graphics/CMakeLists.txt create mode 100644 kappfinder/apps/Internet/CMakeLists.txt create mode 100644 kappfinder/apps/Internet/Terminal/CMakeLists.txt create mode 100644 kappfinder/apps/Multimedia/CMakeLists.txt create mode 100644 kappfinder/apps/Office/CMakeLists.txt create mode 100644 kappfinder/apps/System/CMakeLists.txt create mode 100644 kappfinder/apps/System/Terminal/CMakeLists.txt create mode 100644 kappfinder/apps/Utilities/CMakeLists.txt create mode 100644 kappfinder/apps/Utilities/Editors/CMakeLists.txt create mode 100644 kappfinder/apps/Utilities/xutils/CMakeLists.txt (limited to 'kappfinder') diff --git a/kappfinder/CMakeLists.txt b/kappfinder/CMakeLists.txt new file mode 100644 index 000000000..52d002960 --- /dev/null +++ b/kappfinder/CMakeLists.txt @@ -0,0 +1,46 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( apps ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +tde_install_icons( kappfinder ) +install( FILES kappfinder.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +install( FILES uninstall.desktop DESTINATION ${APPS_INSTALL_DIR}/System RENAME kappfinder.desktop ) + + +##### kappfinder (executable) ################### + +tde_add_executable( kappfinder AUTOMOC + SOURCES main.cpp toplevel.cpp common.cpp + LINK kio-shared + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### kappfinder_install (executable) ########### + +tde_add_executable( kappfinder_install AUTOMOC + SOURCES main_install.cpp common.cpp + LINK kdeui-shared +) diff --git a/kappfinder/apps/CMakeLists.txt b/kappfinder/apps/CMakeLists.txt new file mode 100644 index 000000000..0b154cc1a --- /dev/null +++ b/kappfinder/apps/CMakeLists.txt @@ -0,0 +1,19 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( Internet ) +add_subdirectory( Development ) +add_subdirectory( Graphics ) +add_subdirectory( System ) +add_subdirectory( Utilities ) +add_subdirectory( Office ) +add_subdirectory( Multimedia ) +add_subdirectory( Games ) diff --git a/kappfinder/apps/Development/CMakeLists.txt b/kappfinder/apps/Development/CMakeLists.txt new file mode 100644 index 000000000..45f03b746 --- /dev/null +++ b/kappfinder/apps/Development/CMakeLists.txt @@ -0,0 +1,16 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + assistant.desktop dlgedit.desktop ddd.desktop + designer.desktop linguist.desktop Forte.desktop + j2mewtk.desktop pose.desktop eclipse.desktop + DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Development ) diff --git a/kappfinder/apps/Games/Arcade/CMakeLists.txt b/kappfinder/apps/Games/Arcade/CMakeLists.txt new file mode 100644 index 000000000..b5b428483 --- /dev/null +++ b/kappfinder/apps/Games/Arcade/CMakeLists.txt @@ -0,0 +1,17 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + TuxRacer.desktop ClanBomber.desktop Gnibbles.desktop + rocksndiamonds.desktop GnobotsII.desktop SuperMethaneBrothers.desktop + XKobo.desktop cxhextris.desktop Mures.desktop Trophy.desktop + XSoldier.desktop alephone.desktop alephone-nogl.desktop FrozenBubble.desktop + DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Games/Arcade ) diff --git a/kappfinder/apps/Games/Board/CMakeLists.txt b/kappfinder/apps/Games/Board/CMakeLists.txt new file mode 100644 index 000000000..3bcb8bcdc --- /dev/null +++ b/kappfinder/apps/Games/Board/CMakeLists.txt @@ -0,0 +1,17 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + xboard.desktop Glines.desktop Gnotravex.desktop + Iagno.desktop Xgammon.desktop SameGnome.desktop + Gataxx.desktop Gmahjongg.desktop Gnotski.desktop + Gchess.desktop Gmines.desktop Gstones.desktop + DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Games/Board ) diff --git a/kappfinder/apps/Games/CMakeLists.txt b/kappfinder/apps/Games/CMakeLists.txt new file mode 100644 index 000000000..2748ff808 --- /dev/null +++ b/kappfinder/apps/Games/CMakeLists.txt @@ -0,0 +1,23 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( Arcade ) +add_subdirectory( Board ) +add_subdirectory( Card ) +add_subdirectory( Emulators ) +add_subdirectory( TacticStrategy ) +add_subdirectory( Roguelikes ) +add_subdirectory( Toys ) + +install( FILES + penguin-command.desktop xshipwars.desktop + Clanbomber.desktop defendguin.desktop GTali.desktop + DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Games ) diff --git a/kappfinder/apps/Games/Card/CMakeLists.txt b/kappfinder/apps/Games/Card/CMakeLists.txt new file mode 100644 index 000000000..2facb67f6 --- /dev/null +++ b/kappfinder/apps/Games/Card/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + PySol.desktop AisleRiot.desktop FreeCell.desktop XPat2.desktop + DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Games/Card ) diff --git a/kappfinder/apps/Games/Emulators/CMakeLists.txt b/kappfinder/apps/Games/Emulators/CMakeLists.txt new file mode 100644 index 000000000..4bd531aee --- /dev/null +++ b/kappfinder/apps/Games/Emulators/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + qmamecat.desktop + DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Games/Emulators ) diff --git a/kappfinder/apps/Games/Roguelikes/CMakeLists.txt b/kappfinder/apps/Games/Roguelikes/CMakeLists.txt new file mode 100644 index 000000000..2262eb1b8 --- /dev/null +++ b/kappfinder/apps/Games/Roguelikes/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + angband.desktop moria.desktop nethack.desktop + tome.desktop rogue.desktop zangband.desktop + DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Games/Roguelikes ) diff --git a/kappfinder/apps/Games/TacticStrategy/CMakeLists.txt b/kappfinder/apps/Games/TacticStrategy/CMakeLists.txt new file mode 100644 index 000000000..ee3635366 --- /dev/null +++ b/kappfinder/apps/Games/TacticStrategy/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + freeciv.desktop freecivserver.desktop xscorch.desktop + DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Games/TacticStrategy ) diff --git a/kappfinder/apps/Games/Toys/CMakeLists.txt b/kappfinder/apps/Games/Toys/CMakeLists.txt new file mode 100644 index 000000000..5b3849a0f --- /dev/null +++ b/kappfinder/apps/Games/Toys/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + xpinguin.desktop xeyes.desktop + DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Games/Toys ) diff --git a/kappfinder/apps/Graphics/CMakeLists.txt b/kappfinder/apps/Graphics/CMakeLists.txt new file mode 100644 index 000000000..63ff1ad03 --- /dev/null +++ b/kappfinder/apps/Graphics/CMakeLists.txt @@ -0,0 +1,19 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + gimp.desktop xpaint.desktop xv.desktop + GnomeIconEditor.desktop Xpcd.desktop Xwpick.desktop + xfig.desktop Sketch.desktop Gqview.desktop GPhoto.desktop + GnomeColorSelector.desktop ElectricEyes.desktop bitmap.desktop + tgif.desktop ghostview.desktop gv.desktop xdvi.desktop + sodipodi.desktop blender.desktop inkscape.desktop + DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Graphics ) diff --git a/kappfinder/apps/Internet/CMakeLists.txt b/kappfinder/apps/Internet/CMakeLists.txt new file mode 100644 index 000000000..9e98bee76 --- /dev/null +++ b/kappfinder/apps/Internet/CMakeLists.txt @@ -0,0 +1,27 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( Terminal ) + +install( FILES + arena.desktop netscape.desktop xftp.desktop + coolmail.desktop xfmail.desktop xbiff.desktop + xchat.desktop ethereal.desktop licq.desktop mozilla.desktop + BlueFish.desktop Dpsftp.desktop DrakSync.desktop Evolution.desktop + Faces.desktop Fetchmailconf.desktop Gabber.desktop + Galeon.desktop gFTP.desktop GnomeICU.desktop gnometalk.desktop gtelnet.desktop + Netscapemessenger.desktop Nmapfe.desktop Pan.desktop + Sylpheed.desktop knews.desktop netscape6.desktop opera.desktop + gnomemeeting.desktop balsa.desktop dc_gui.desktop ed2k_gui.desktop + ickle.desktop mldonkey_gui.desktop btdownloadgui.desktop epiphany.desktop + gaim.desktop mozilla-thunderbird.desktop mozilla-firefox.desktop + javaws.desktop wireshark.desktop + DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Internet ) diff --git a/kappfinder/apps/Internet/Terminal/CMakeLists.txt b/kappfinder/apps/Internet/Terminal/CMakeLists.txt new file mode 100644 index 000000000..f33d3f5b9 --- /dev/null +++ b/kappfinder/apps/Internet/Terminal/CMakeLists.txt @@ -0,0 +1,16 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + mutt.desktop ncftp.desktop pine.desktop lftp.desktop + Links.desktop Lynx.desktop w3m.desktop slrn.desktop + silc.desktop btdownloadcurses.desktop + DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Internet/Terminal ) diff --git a/kappfinder/apps/Multimedia/CMakeLists.txt b/kappfinder/apps/Multimedia/CMakeLists.txt new file mode 100644 index 000000000..bea1eba7b --- /dev/null +++ b/kappfinder/apps/Multimedia/CMakeLists.txt @@ -0,0 +1,21 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + alevt.desktop alsamixergui.desktop audacity.desktop + Aumix.desktop aviplay.desktop bcast2000.desktop + enjoympeg.desktop Grip.desktop gtv.desktop jazz.desktop + MP3info.desktop mplayer.desktop mtv.desktop ogle.desktop + oqtplayer.desktop realplayer.desktop rezound.desktop + slab.desktop sweep.desktop xawtv.desktop xcam.desktop + xine.desktop xmms.desktop xmms-enqueue.desktop + XMovie.desktop + DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Multimedia ) diff --git a/kappfinder/apps/Office/CMakeLists.txt b/kappfinder/apps/Office/CMakeLists.txt new file mode 100644 index 000000000..a7ee15f99 --- /dev/null +++ b/kappfinder/apps/Office/CMakeLists.txt @@ -0,0 +1,20 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Applix.desktop XAcc.desktop XsLite.desktop plan.desktop + abiword.desktop Dia.desktop Gnome-Cal.desktop + Gnome-Card.desktop GnomeTimeTracker.desktop Gnumeric.desktop + Guppi.desktop Ical.desktop lyx.desktop netscapeaddressbook.desktop + scribus.desktop pybliographic.desktop xpdf.desktop + acroread.desktop WordPerfect.desktop WordPerfect2000.desktop + mrproject.desktop gnucash.desktop + DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Office ) diff --git a/kappfinder/apps/System/CMakeLists.txt b/kappfinder/apps/System/CMakeLists.txt new file mode 100644 index 000000000..baae9f34b --- /dev/null +++ b/kappfinder/apps/System/CMakeLists.txt @@ -0,0 +1,17 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( Terminal ) + +install( FILES + sam.desktop xosview.desktop editres.desktop wine.desktop + citrix_ica.desktop + DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/System ) diff --git a/kappfinder/apps/System/Terminal/CMakeLists.txt b/kappfinder/apps/System/Terminal/CMakeLists.txt new file mode 100644 index 000000000..b0c9d5552 --- /dev/null +++ b/kappfinder/apps/System/Terminal/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + procinfo.desktop vmstat.desktop aterm.desktop rxvt.desktop + DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/System/Terminal ) diff --git a/kappfinder/apps/Utilities/CMakeLists.txt b/kappfinder/apps/Utilities/CMakeLists.txt new file mode 100644 index 000000000..044c859fb --- /dev/null +++ b/kappfinder/apps/Utilities/CMakeLists.txt @@ -0,0 +1,19 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( Editors ) +add_subdirectory( xutils ) + +install( FILES + GnomeWho.desktop SystemInfo.desktop SystemLogViewer.desktop + calctool.desktop e-notes.desktop oclock.desktop GKrellM.desktop + xgnokii.desktop + DESTINATION ${DATA_INSTALL_DIR} ) diff --git a/kappfinder/apps/Utilities/Editors/CMakeLists.txt b/kappfinder/apps/Utilities/Editors/CMakeLists.txt new file mode 100644 index 000000000..ebc113c5c --- /dev/null +++ b/kappfinder/apps/Utilities/Editors/CMakeLists.txt @@ -0,0 +1,16 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + emacs.desktop gvim.desktop lemacs.desktop + xedit.desktop xemacs.desktop nedit.desktop + gedit.desktop pico.desktop nano.desktop + DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Utilities/Editors ) diff --git a/kappfinder/apps/Utilities/xutils/CMakeLists.txt b/kappfinder/apps/Utilities/xutils/CMakeLists.txt new file mode 100644 index 000000000..72ce50e7c --- /dev/null +++ b/kappfinder/apps/Utilities/xutils/CMakeLists.txt @@ -0,0 +1,16 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + xcalc.desktop xclipboard.desktop xclock.desktop + xconsole.desktop xterm.desktop xload.desktop xmag.desktop + Xkill.desktop Xrefresh.desktop Xtraceroute.desktop + DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Utilities/XUtilities ) -- cgit v1.2.1