summaryrefslogtreecommitdiffstats
path: root/konversation
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-04-20 21:55:29 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2013-04-20 21:55:29 -0500
commit930640c5a47de804c1d8c603ccf27cd193b24223 (patch)
tree0a628d902ffb84e1edb181bc466ada2eaec30a67 /konversation
parent84d47eac22390f6332da16a779a309f6ee780bbf (diff)
downloadkonversation-930640c5a47de804c1d8c603ccf27cd193b24223.tar.gz
konversation-930640c5a47de804c1d8c603ccf27cd193b24223.zip
Initial cmake conversion in support of bug report 1365.
The conversion is incomplete.
Diffstat (limited to 'konversation')
-rw-r--r--konversation/CMakeLists.txt14
-rw-r--r--konversation/images/CMakeLists.txt13
-rw-r--r--konversation/images/icons/CMakeLists.txt13
-rw-r--r--konversation/images/nickicons/CMakeLists.txt18
-rw-r--r--konversation/images/nickicons/alternative/CMakeLists.txt18
-rw-r--r--konversation/images/nickicons/christmas/CMakeLists.txt18
-rw-r--r--konversation/images/nickicons/classic/CMakeLists.txt18
-rw-r--r--konversation/images/nickicons/default/CMakeLists.txt18
-rw-r--r--konversation/images/nickicons/oxygen/CMakeLists.txt18
-rw-r--r--konversation/images/nickicons/smiling/CMakeLists.txt18
-rw-r--r--konversation/images/nickicons/square/CMakeLists.txt18
-rw-r--r--konversation/scripts/CMakeLists.txt20
-rw-r--r--konversation/src/CMakeLists.txt113
-rw-r--r--konversation/src/blowfish/CMakeLists.txt33
-rw-r--r--konversation/src/config/CMakeLists.txt38
-rw-r--r--konversation/src/konviconfigdialog.cpp1
-rw-r--r--konversation/src/linkaddressbook/CMakeLists.txt37
17 files changed, 426 insertions, 0 deletions
diff --git a/konversation/CMakeLists.txt b/konversation/CMakeLists.txt
new file mode 100644
index 0000000..fb8a913
--- /dev/null
+++ b/konversation/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2012 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( src )
+add_subdirectory( images )
+add_subdirectory( scripts )
diff --git a/konversation/images/CMakeLists.txt b/konversation/images/CMakeLists.txt
new file mode 100644
index 0000000..be0d6c3
--- /dev/null
+++ b/konversation/images/CMakeLists.txt
@@ -0,0 +1,13 @@
+#################################################
+#
+# (C) 2012 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( icons )
+add_subdirectory( nickicons )
diff --git a/konversation/images/icons/CMakeLists.txt b/konversation/images/icons/CMakeLists.txt
new file mode 100644
index 0000000..9a7c073
--- /dev/null
+++ b/konversation/images/icons/CMakeLists.txt
@@ -0,0 +1,13 @@
+#################################################
+#
+# (C) 2012 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_install_icons( )
+
diff --git a/konversation/images/nickicons/CMakeLists.txt b/konversation/images/nickicons/CMakeLists.txt
new file mode 100644
index 0000000..e2ef273
--- /dev/null
+++ b/konversation/images/nickicons/CMakeLists.txt
@@ -0,0 +1,18 @@
+#################################################
+#
+# (C) 2012 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( alternative )
+add_subdirectory( christmas )
+add_subdirectory( classic )
+add_subdirectory( default )
+add_subdirectory( smiling )
+add_subdirectory( square )
+add_subdirectory( oxygen )
diff --git a/konversation/images/nickicons/alternative/CMakeLists.txt b/konversation/images/nickicons/alternative/CMakeLists.txt
new file mode 100644
index 0000000..6acb10e
--- /dev/null
+++ b/konversation/images/nickicons/alternative/CMakeLists.txt
@@ -0,0 +1,18 @@
+#################################################
+#
+# (C) 2012 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES irc_admin.png irc_away.png
+ irc_halfop.png irc_normal.png irc_op.png
+ irc_owner.png irc_voice.png index.desktop
+ DESTINATION
+ ${DATA_INSTALL_DIR}/konversation/themes/alternative
+)
+
diff --git a/konversation/images/nickicons/christmas/CMakeLists.txt b/konversation/images/nickicons/christmas/CMakeLists.txt
new file mode 100644
index 0000000..98f7eb4
--- /dev/null
+++ b/konversation/images/nickicons/christmas/CMakeLists.txt
@@ -0,0 +1,18 @@
+#################################################
+#
+# (C) 2012 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES irc_admin.png irc_away.png
+ irc_halfop.png irc_normal.png irc_op.png
+ irc_owner.png irc_voice.png index.desktop
+ DESTINATION
+ ${DATA_INSTALL_DIR}/konversation/themes/christmas
+)
+
diff --git a/konversation/images/nickicons/classic/CMakeLists.txt b/konversation/images/nickicons/classic/CMakeLists.txt
new file mode 100644
index 0000000..58fddd9
--- /dev/null
+++ b/konversation/images/nickicons/classic/CMakeLists.txt
@@ -0,0 +1,18 @@
+#################################################
+#
+# (C) 2012 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES irc_admin.png irc_away.png
+ irc_halfop.png irc_normal.png irc_op.png
+ irc_owner.png irc_voice.png index.desktop
+ DESTINATION
+ ${DATA_INSTALL_DIR}/konversation/themes/classic
+)
+
diff --git a/konversation/images/nickicons/default/CMakeLists.txt b/konversation/images/nickicons/default/CMakeLists.txt
new file mode 100644
index 0000000..4b0be7d
--- /dev/null
+++ b/konversation/images/nickicons/default/CMakeLists.txt
@@ -0,0 +1,18 @@
+#################################################
+#
+# (C) 2012 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES irc_admin.png irc_away.png
+ irc_halfop.png irc_normal.png irc_op.png
+ irc_owner.png irc_voice.png index.desktop
+ DESTINATION
+ ${DATA_INSTALL_DIR}/konversation/themes/default
+)
+
diff --git a/konversation/images/nickicons/oxygen/CMakeLists.txt b/konversation/images/nickicons/oxygen/CMakeLists.txt
new file mode 100644
index 0000000..e52cfca
--- /dev/null
+++ b/konversation/images/nickicons/oxygen/CMakeLists.txt
@@ -0,0 +1,18 @@
+#################################################
+#
+# (C) 2012 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES irc_admin.png irc_away.png
+ irc_halfop.png irc_normal.png irc_op.png
+ irc_owner.png irc_voice.png index.desktop
+ DESTINATION
+ ${DATA_INSTALL_DIR}/konversation/themes/oxygen
+)
+
diff --git a/konversation/images/nickicons/smiling/CMakeLists.txt b/konversation/images/nickicons/smiling/CMakeLists.txt
new file mode 100644
index 0000000..c82a658
--- /dev/null
+++ b/konversation/images/nickicons/smiling/CMakeLists.txt
@@ -0,0 +1,18 @@
+#################################################
+#
+# (C) 2012 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES irc_admin.png irc_away.png
+ irc_halfop.png irc_normal.png irc_op.png
+ irc_owner.png irc_voice.png index.desktop
+ DESTINATION
+ ${DATA_INSTALL_DIR}/konversation/themes/smiling
+)
+
diff --git a/konversation/images/nickicons/square/CMakeLists.txt b/konversation/images/nickicons/square/CMakeLists.txt
new file mode 100644
index 0000000..2ef90be
--- /dev/null
+++ b/konversation/images/nickicons/square/CMakeLists.txt
@@ -0,0 +1,18 @@
+#################################################
+#
+# (C) 2012 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES irc_admin.png irc_away.png
+ irc_halfop.png irc_normal.png irc_op.png
+ irc_owner.png irc_voice.png index.desktop
+ DESTINATION
+ ${DATA_INSTALL_DIR}/konversation/themes/square
+)
+
diff --git a/konversation/scripts/CMakeLists.txt b/konversation/scripts/CMakeLists.txt
new file mode 100644
index 0000000..ba45c0e
--- /dev/null
+++ b/konversation/scripts/CMakeLists.txt
@@ -0,0 +1,20 @@
+#################################################
+#
+# (C) 2012 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES fortunes.dat
+ DESTINATION
+ ${DATA_INSTALL_DIR}/konversation/scripts
+)
+
+install( PROGRAMS bug fortune gauge uptime tdeversion cmd sayclip weather sysinfo media mail tinyurl
+ DESTINATION
+ ${DATA_INSTALL_DIR}/konversation/scripts
+)
diff --git a/konversation/src/CMakeLists.txt b/konversation/src/CMakeLists.txt
new file mode 100644
index 0000000..a3c990c
--- /dev/null
+++ b/konversation/src/CMakeLists.txt
@@ -0,0 +1,113 @@
+#################################################
+#
+# (C) 2012 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( config )
+add_subdirectory( linkaddressbook )
+add_subdirectory( blowfish )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}/config
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/config
+ ${CMAKE_CURRENT_SOURCE_DIR}/linkaddressbook
+ ${CMAKE_CURRENT_SOURCE_DIR}/blowfish
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### konversation (executable) #################
+
+tde_add_executable( konversation AUTOMOC
+ SOURCES konviface.skel konviconfigdialog.cpp konversationstatusbar.cpp
+ konvisettingsdialog.cpp viewcontainer.cpp viewtree.cpp viewtreeitem.cpp
+ konversationmainwindow.cpp valuelistviewitem.cpp urlcatcher.cpp
+ scriptlauncher.cpp rawlog.cpp konvdcop.cpp channellistpanel.cpp
+ konsolepanel.cpp identity.cpp statuspanel.cpp dccrecipientdialog.cpp
+ topiccombobox.cpp nicksonline.cpp dcctransferpanel.cpp
+ dcctransferpanelitem.cpp highlight.cpp highlightviewitem.cpp modebutton.cpp
+ ignore_preferencesui.ui ignore_preferences.cpp ignore.cpp nicklistview.cpp
+ ircinput.cpp channeloptionsui.ui channeloptionsdialog.cpp
+ ignorelistviewitem.cpp images.cpp quickbutton.cpp chatwindow.cpp
+ outputfilter.cpp logfilereader.cpp query.cpp konversationapplication.cpp
+ nick.cpp inputfilter.cpp channel.cpp ircview.cpp server.cpp main.cpp
+ dcc_preferencesui.ui log_preferences.ui tabs_preferencesui.ui
+ tabs_preferences.cpp chatwindowappearance_preferences.ui
+ irccolorchooserui.ui colorsappearance_preferences.ui irccolorchooser.cpp
+ channellistviewitem.cpp osd.cpp trayicon.cpp dccchat.cpp multilineedit.cpp
+ nickinfo.cpp dccresumedialog.cpp konversationsound.cpp
+ quickconnectdialog.cpp serverlistdialog.cpp dcctransfersend.cpp
+ dcctransferrecv.cpp channelnick.cpp insertchardialog.cpp irccharsets.cpp
+ editnotifydialog.cpp common.cpp serverison.cpp sslsocket.cpp
+ servergroupsettings.cpp serversettings.cpp servergroupdialog.cpp
+ ssllabel.cpp serverdialog.cpp channeldialog.cpp identitydialog.cpp
+ topiclabel.cpp notificationhandler.cpp joinchannelui.ui
+ joinchanneldialog.cpp emoticon.cpp chatwindowbehaviour_preferences.ui
+ alias_preferencesui.ui osd_preferencesui.ui theme_preferencesui.ui
+ highlight_preferencesui.ui warnings_preferencesui.ui
+ warnings_preferences.cpp quickbuttons_preferencesui.ui
+ watchednicknames_preferencesui.ui generalbehavior_preferences.ui
+ connectionbehavior_preferences.ui fontappearance_preferences.ui
+ nicklistbehavior_preferencesui.ui konvibookmarkhandler.cpp
+ konvibookmarkmenu.cpp ircviewbox.cpp searchbar.cpp osd_preferences.cpp
+ theme_preferences.cpp dcc_preferences.cpp alias_preferences.cpp
+ highlight_preferences.cpp watchednicknames_preferences.cpp
+ quickbuttons_preferences.cpp nicklistbehavior_preferences.cpp
+ tabnotifications_preferences.ui multilinetextedit.cpp serverlistview.cpp
+ nicksonlineitem.cpp searchbarbase.ui autoreplace_preferencesui.ui
+ autoreplace_preferences.cpp servergroupdialogui.ui dcctransfer.cpp
+ dcctransfermanager.cpp dcctransferdetailedinfopanelui.ui
+ dcctransferdetailedinfopanel.cpp dcccommon.cpp queuetunerbase.ui
+ queuetuner.cpp ircqueue.cpp connectionsettings.cpp connectionmanager.cpp
+ awaymanager.cpp
+ LINK linkaddressbookui-static konversationconfig-static blowfish-static
+ tdeio-shared tdeabc-shared tdeimproxy-shared ${XSCREENSAVER_LIBRARIES}
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### other data ################################
+
+install( FILES konversationui.rc eventsrc
+ DESTINATION ${DATA_INSTALL_DIR}/konversation
+)
+
+install( PROGRAMS
+ konversation-0.19-colors.pl
+ konversation-0.19-sortorder.pl
+ konversation-0.19-appearance.pl
+ konversation-0.19-tabplacement.pl
+ konversation-0.19-custombrowser.pl
+ konversation-0.19-colorcodes.pl
+ konversation-0.19-notifylists.pl
+ konversation-0.20-quickbuttons.pl
+ konversation-0.20-customfonts.pl
+ DESTINATION ${KCONF_UPDATE_INSTALL_DIR}
+)
+
+install( FILES konversation.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
+
+install( FILES konvirc.protocol konvirc6.protocol
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
+
+install( FILES konversation.upd
+ DESTINATION ${KCONF_UPDATE_INSTALL_DIR}
+)
+
diff --git a/konversation/src/blowfish/CMakeLists.txt b/konversation/src/blowfish/CMakeLists.txt
new file mode 100644
index 0000000..090fede
--- /dev/null
+++ b/konversation/src/blowfish/CMakeLists.txt
@@ -0,0 +1,33 @@
+#################################################
+#
+# (C) 2012 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/konversation/src
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### blowfish (static) #########################
+
+tde_add_library( blowfish STATIC_PIC AUTOMOC
+ SOURCES b64stuff.cpp BlowfishCbc.cpp
+ blowfish.cpp mc_blowfish.cpp newblowfish.cpp
+ oldblowfish.cpp
+)
+
diff --git a/konversation/src/config/CMakeLists.txt b/konversation/src/config/CMakeLists.txt
new file mode 100644
index 0000000..60ac82a
--- /dev/null
+++ b/konversation/src/config/CMakeLists.txt
@@ -0,0 +1,38 @@
+#################################################
+#
+# (C) 2012 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/konversation/src
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### konversationconfig (static) ###############
+
+tde_add_library( konversationconfig STATIC_PIC AUTOMOC
+ SOURCES preferences_base.kcfgc preferences.cpp
+)
+
+
+##### other data ################################
+
+install( FILES konversation.kcfg
+ DESTINATION ${KCFG_INSTALL_DIR}
+)
+
diff --git a/konversation/src/konviconfigdialog.cpp b/konversation/src/konviconfigdialog.cpp
index f966096..807551e 100644
--- a/konversation/src/konviconfigdialog.cpp
+++ b/konversation/src/konviconfigdialog.cpp
@@ -282,3 +282,4 @@ void KonviConfigDialog::updateWidgetsDefault()
{
}
+#include "konviconfigdialog.moc"
diff --git a/konversation/src/linkaddressbook/CMakeLists.txt b/konversation/src/linkaddressbook/CMakeLists.txt
new file mode 100644
index 0000000..92de297
--- /dev/null
+++ b/konversation/src/linkaddressbook/CMakeLists.txt
@@ -0,0 +1,37 @@
+#################################################
+#
+# (C) 2012 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/konversation/src
+ ${CMAKE_SOURCE_DIR}/konversation/src/config
+ ${CMAKE_BINARY_DIR}/konversation/src/config
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### linkaddressbookui (static) ################
+
+tde_add_library( linkaddressbookui STATIC_PIC AUTOMOC
+ SOURCES linkaddressbookui_base.ui
+ linkaddressbookui.cpp addressbook_base.cpp
+ addressbook.cpp nicklisttooltip.cpp
+ nicksonlinetooltip.cpp kimiface.skel
+ addresseeitem.cpp
+)
+