diff --git a/CMakeLists.txt b/CMakeLists.txt index 1ca0397..a927ede 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,94 +1,35 @@ -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -find_package(ECM 5.38.0 REQUIRED) -set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) -set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake) -include(FeatureSummary) - +# Copyright 2017 Shaheed Haque +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# 1. Redistributions of source code must retain the copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# 3. The name of the author may not be used to endorse or promote products +# derived from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -include(CppyyMacros) - -############################################################################### -# KF5 from https://api.kde.org/frameworks -############################################################################### -# -# Tier1. -# -#BreezeIcons -#ECM -#KApiDox -#KF5.Kirigami2 -#KUserFeedback -list(APPEND components KF5.Attica KF5.BluezQt KF5.Archive KF5.Codecs KF5.Config - KF5.CoreAddons KF5.DBusAddons KF5.DNSSD KF5.GuiAddons KF5.I18n - KF5.IdleTime KF5.ItemModels KF5.ItemViews KF5.Plotting - KF5.SyntaxHighlighting KF5.Wayland KF5.WidgetsAddons KF5.WindowSystem - KF5.ModemManagerQt KF5.NetworkManagerQt KF5.Prison KF5.Solid KF5.Sonnet - KF5.ThreadWeaver) -# -# Tier 2. -# -#KImageFormats -list(APPEND components KF5.Activities KF5.Auth KF5.Completion KF5.Crash - KF5.DocTools KF5.FileMetaData KF5.JobWidgets KF5.Notifications - KF5.Package KF5.Pty KF5.UnitConversion) # -# Tier 3. +# Cppyy-based bindings. # -#KDED -#KF5.DesignerPlugin -#KF5.Init -list(APPEND components KF5.Baloo KF5.ActivitiesStats KF5.Bookmarks - KF5.KCMUtils KF5.ConfigWidgets KF5.Declarative KF5.Su KF5.WebKit - KF5.Emoticons KF5.GlobalAccel KF5.IconThemes KF5.KIO KF5.NewStuff - KF5.NotifyConfig KF5.Parts KF5.People KF5.Runner KF5.Service - KF5.TextEditor KF5.TextWidgets KF5.Wallet KF5.XmlGui KF5.XmlRpcClient - KF5.Plasma) -# -# Tier 4. -# -list(APPEND components KF5.FrameworkIntegration) -# -# Porting Aids. -# -#KF5.KDELibs4Support -#KF5.JS -list(APPEND components KF5.KHtml KF5.MediaPlayer KF5.Kross) -# -# Other. -# -#KF5.ComposerEditorNG -#KF5.FollowupReminder -#KF5.GAPI -#KF5.KFace -#KF5.KGeoMap -#KF5.Ldap -#KF5.Mail -#KF5.Message -#KF5.PimCommon -list(APPEND components KF5.Akonadi KF5.AlarmCalendar KF5.Blog KF5.Calendar - KF5.Contacts KF5.EventViews KF5.Gpgmepp - KF5.GrantleeTheme KF5.Gravatar KF5.Holidays KF5.IdentityManagement KF5.IMAP - KF5.IncidenceEditor KF5.KaddressbookGrantlee KF5.KDcraw KF5.KDEGames - KF5.KdepimDBusInterfaces KF5.KDGantt2 KF5.KExiv2 KF5.Kipi KF5.KMahjongglib - KF5.KontactInterface KF5.Libkdepim KF5.Libkleo KF5.LibKSieve KF5.Mbox - KF5.Mime KF5.PimTextEdit KF5.Sane KF5.Screen KF5.SendLater KF5.Syndication - KF5.TemplateParser KF5.Tnef) +cmake_minimum_required(VERSION 3.9) + +project(pykde5) -foreach(component IN LISTS components) - add_subdirectory(${component}) -endforeach() -feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) +add_subdirectory(KF5) -############################################################################### -# Testing. -############################################################################### enable_testing() -foreach(component IN LISTS components) - string(REPLACE "." "/" subdir ${component}) - add_test(NAME ${component} - COMMAND pytest test.py - WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${component}") -endforeach() diff --git a/CMakeLists.txt b/KF5/CMakeLists.txt similarity index 66% copy from CMakeLists.txt copy to KF5/CMakeLists.txt index 1ca0397..42078f0 100644 --- a/CMakeLists.txt +++ b/KF5/CMakeLists.txt @@ -1,94 +1,122 @@ +# Copyright 2017 Shaheed Haque +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# 1. Redistributions of source code must retain the copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# 3. The name of the author may not be used to endorse or promote products +# derived from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# +# Cppyy-based bindings for KF5. +# cmake_minimum_required(VERSION 3.9) -project(pykde5) +project(KF5) find_package(ECM 5.38.0 REQUIRED) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) -set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake) +set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/../cmake) include(FeatureSummary) include(CppyyMacros) ############################################################################### # KF5 from https://api.kde.org/frameworks ############################################################################### # # Tier1. # #BreezeIcons #ECM #KApiDox #KF5.Kirigami2 #KUserFeedback list(APPEND components KF5.Attica KF5.BluezQt KF5.Archive KF5.Codecs KF5.Config KF5.CoreAddons KF5.DBusAddons KF5.DNSSD KF5.GuiAddons KF5.I18n KF5.IdleTime KF5.ItemModels KF5.ItemViews KF5.Plotting KF5.SyntaxHighlighting KF5.Wayland KF5.WidgetsAddons KF5.WindowSystem KF5.ModemManagerQt KF5.NetworkManagerQt KF5.Prison KF5.Solid KF5.Sonnet KF5.ThreadWeaver) # # Tier 2. # #KImageFormats list(APPEND components KF5.Activities KF5.Auth KF5.Completion KF5.Crash KF5.DocTools KF5.FileMetaData KF5.JobWidgets KF5.Notifications KF5.Package KF5.Pty KF5.UnitConversion) # # Tier 3. # #KDED #KF5.DesignerPlugin #KF5.Init list(APPEND components KF5.Baloo KF5.ActivitiesStats KF5.Bookmarks KF5.KCMUtils KF5.ConfigWidgets KF5.Declarative KF5.Su KF5.WebKit KF5.Emoticons KF5.GlobalAccel KF5.IconThemes KF5.KIO KF5.NewStuff KF5.NotifyConfig KF5.Parts KF5.People KF5.Runner KF5.Service KF5.TextEditor KF5.TextWidgets KF5.Wallet KF5.XmlGui KF5.XmlRpcClient KF5.Plasma) # # Tier 4. # list(APPEND components KF5.FrameworkIntegration) # # Porting Aids. # #KF5.KDELibs4Support #KF5.JS list(APPEND components KF5.KHtml KF5.MediaPlayer KF5.Kross) # # Other. # #KF5.ComposerEditorNG #KF5.FollowupReminder #KF5.GAPI #KF5.KFace #KF5.KGeoMap #KF5.Ldap #KF5.Mail #KF5.Message #KF5.PimCommon list(APPEND components KF5.Akonadi KF5.AlarmCalendar KF5.Blog KF5.Calendar KF5.Contacts KF5.EventViews KF5.Gpgmepp KF5.GrantleeTheme KF5.Gravatar KF5.Holidays KF5.IdentityManagement KF5.IMAP KF5.IncidenceEditor KF5.KaddressbookGrantlee KF5.KDcraw KF5.KDEGames KF5.KdepimDBusInterfaces KF5.KDGantt2 KF5.KExiv2 KF5.Kipi KF5.KMahjongglib KF5.KontactInterface KF5.Libkdepim KF5.Libkleo KF5.LibKSieve KF5.Mbox KF5.Mime KF5.PimTextEdit KF5.Sane KF5.Screen KF5.SendLater KF5.Syndication KF5.TemplateParser KF5.Tnef) foreach(component IN LISTS components) add_subdirectory(${component}) endforeach() feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) ############################################################################### # Testing. ############################################################################### enable_testing() foreach(component IN LISTS components) string(REPLACE "." "/" subdir ${component}) add_test(NAME ${component} COMMAND pytest test.py WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${component}") endforeach() diff --git a/KF5.Activities/CMakeLists.txt b/KF5/KF5.Activities/CMakeLists.txt similarity index 100% rename from KF5.Activities/CMakeLists.txt rename to KF5/KF5.Activities/CMakeLists.txt diff --git a/KF5.ActivitiesStats/CMakeLists.txt b/KF5/KF5.ActivitiesStats/CMakeLists.txt similarity index 100% rename from KF5.ActivitiesStats/CMakeLists.txt rename to KF5/KF5.ActivitiesStats/CMakeLists.txt diff --git a/KF5.Akonadi/CMakeLists.txt b/KF5/KF5.Akonadi/CMakeLists.txt similarity index 100% rename from KF5.Akonadi/CMakeLists.txt rename to KF5/KF5.Akonadi/CMakeLists.txt diff --git a/KF5.AlarmCalendar/CMakeLists.txt b/KF5/KF5.AlarmCalendar/CMakeLists.txt similarity index 100% rename from KF5.AlarmCalendar/CMakeLists.txt rename to KF5/KF5.AlarmCalendar/CMakeLists.txt diff --git a/KF5.Archive/CMakeLists.txt b/KF5/KF5.Archive/CMakeLists.txt similarity index 100% rename from KF5.Archive/CMakeLists.txt rename to KF5/KF5.Archive/CMakeLists.txt diff --git a/KF5.Attica/CMakeLists.txt b/KF5/KF5.Attica/CMakeLists.txt similarity index 100% rename from KF5.Attica/CMakeLists.txt rename to KF5/KF5.Attica/CMakeLists.txt diff --git a/KF5.Auth/CMakeLists.txt b/KF5/KF5.Auth/CMakeLists.txt similarity index 100% rename from KF5.Auth/CMakeLists.txt rename to KF5/KF5.Auth/CMakeLists.txt diff --git a/KF5.Baloo/CMakeLists.txt b/KF5/KF5.Baloo/CMakeLists.txt similarity index 100% rename from KF5.Baloo/CMakeLists.txt rename to KF5/KF5.Baloo/CMakeLists.txt diff --git a/KF5.Blog/CMakeLists.txt b/KF5/KF5.Blog/CMakeLists.txt similarity index 100% rename from KF5.Blog/CMakeLists.txt rename to KF5/KF5.Blog/CMakeLists.txt diff --git a/KF5.BluezQt/CMakeLists.txt b/KF5/KF5.BluezQt/CMakeLists.txt similarity index 100% rename from KF5.BluezQt/CMakeLists.txt rename to KF5/KF5.BluezQt/CMakeLists.txt diff --git a/KF5.Bookmarks/CMakeLists.txt b/KF5/KF5.Bookmarks/CMakeLists.txt similarity index 100% rename from KF5.Bookmarks/CMakeLists.txt rename to KF5/KF5.Bookmarks/CMakeLists.txt diff --git a/KF5.Calendar/CMakeLists.txt b/KF5/KF5.Calendar/CMakeLists.txt similarity index 100% rename from KF5.Calendar/CMakeLists.txt rename to KF5/KF5.Calendar/CMakeLists.txt diff --git a/KF5.Codecs/CMakeLists.txt b/KF5/KF5.Codecs/CMakeLists.txt similarity index 100% rename from KF5.Codecs/CMakeLists.txt rename to KF5/KF5.Codecs/CMakeLists.txt diff --git a/KF5.Completion/CMakeLists.txt b/KF5/KF5.Completion/CMakeLists.txt similarity index 100% rename from KF5.Completion/CMakeLists.txt rename to KF5/KF5.Completion/CMakeLists.txt diff --git a/KF5.ComposerEditorNG/CMakeLists.txt b/KF5/KF5.ComposerEditorNG/CMakeLists.txt similarity index 100% rename from KF5.ComposerEditorNG/CMakeLists.txt rename to KF5/KF5.ComposerEditorNG/CMakeLists.txt diff --git a/KF5.Config/CMakeLists.txt b/KF5/KF5.Config/CMakeLists.txt similarity index 100% rename from KF5.Config/CMakeLists.txt rename to KF5/KF5.Config/CMakeLists.txt diff --git a/KF5.ConfigWidgets/CMakeLists.txt b/KF5/KF5.ConfigWidgets/CMakeLists.txt similarity index 100% rename from KF5.ConfigWidgets/CMakeLists.txt rename to KF5/KF5.ConfigWidgets/CMakeLists.txt diff --git a/KF5.Contacts/CMakeLists.txt b/KF5/KF5.Contacts/CMakeLists.txt similarity index 100% rename from KF5.Contacts/CMakeLists.txt rename to KF5/KF5.Contacts/CMakeLists.txt diff --git a/KF5.CoreAddons/CMakeLists.txt b/KF5/KF5.CoreAddons/CMakeLists.txt similarity index 100% rename from KF5.CoreAddons/CMakeLists.txt rename to KF5/KF5.CoreAddons/CMakeLists.txt diff --git a/KF5.Crash/CMakeLists.txt b/KF5/KF5.Crash/CMakeLists.txt similarity index 100% rename from KF5.Crash/CMakeLists.txt rename to KF5/KF5.Crash/CMakeLists.txt diff --git a/KF5.DBusAddons/CMakeLists.txt b/KF5/KF5.DBusAddons/CMakeLists.txt similarity index 100% rename from KF5.DBusAddons/CMakeLists.txt rename to KF5/KF5.DBusAddons/CMakeLists.txt diff --git a/KF5.DNSSD/CMakeLists.txt b/KF5/KF5.DNSSD/CMakeLists.txt similarity index 100% rename from KF5.DNSSD/CMakeLists.txt rename to KF5/KF5.DNSSD/CMakeLists.txt diff --git a/KF5.Declarative/CMakeLists.txt b/KF5/KF5.Declarative/CMakeLists.txt similarity index 100% rename from KF5.Declarative/CMakeLists.txt rename to KF5/KF5.Declarative/CMakeLists.txt diff --git a/KF5.DesignerPlugin/CMakeLists.txt b/KF5/KF5.DesignerPlugin/CMakeLists.txt similarity index 100% rename from KF5.DesignerPlugin/CMakeLists.txt rename to KF5/KF5.DesignerPlugin/CMakeLists.txt diff --git a/KF5.DocTools/CMakeLists.txt b/KF5/KF5.DocTools/CMakeLists.txt similarity index 100% rename from KF5.DocTools/CMakeLists.txt rename to KF5/KF5.DocTools/CMakeLists.txt diff --git a/KF5.Emoticons/CMakeLists.txt b/KF5/KF5.Emoticons/CMakeLists.txt similarity index 100% rename from KF5.Emoticons/CMakeLists.txt rename to KF5/KF5.Emoticons/CMakeLists.txt diff --git a/KF5.EventViews/CMakeLists.txt b/KF5/KF5.EventViews/CMakeLists.txt similarity index 100% rename from KF5.EventViews/CMakeLists.txt rename to KF5/KF5.EventViews/CMakeLists.txt diff --git a/KF5.FileMetaData/CMakeLists.txt b/KF5/KF5.FileMetaData/CMakeLists.txt similarity index 100% rename from KF5.FileMetaData/CMakeLists.txt rename to KF5/KF5.FileMetaData/CMakeLists.txt diff --git a/KF5.FollowupReminder/CMakeLists.txt b/KF5/KF5.FollowupReminder/CMakeLists.txt similarity index 100% rename from KF5.FollowupReminder/CMakeLists.txt rename to KF5/KF5.FollowupReminder/CMakeLists.txt diff --git a/KF5.FrameworkIntegration/CMakeLists.txt b/KF5/KF5.FrameworkIntegration/CMakeLists.txt similarity index 100% rename from KF5.FrameworkIntegration/CMakeLists.txt rename to KF5/KF5.FrameworkIntegration/CMakeLists.txt diff --git a/KF5.GAPI/CMakeLists.txt b/KF5/KF5.GAPI/CMakeLists.txt similarity index 100% rename from KF5.GAPI/CMakeLists.txt rename to KF5/KF5.GAPI/CMakeLists.txt diff --git a/KF5.GlobalAccel/CMakeLists.txt b/KF5/KF5.GlobalAccel/CMakeLists.txt similarity index 100% rename from KF5.GlobalAccel/CMakeLists.txt rename to KF5/KF5.GlobalAccel/CMakeLists.txt diff --git a/KF5.Gpgmepp/CMakeLists.txt b/KF5/KF5.Gpgmepp/CMakeLists.txt similarity index 100% rename from KF5.Gpgmepp/CMakeLists.txt rename to KF5/KF5.Gpgmepp/CMakeLists.txt diff --git a/KF5.GrantleeTheme/CMakeLists.txt b/KF5/KF5.GrantleeTheme/CMakeLists.txt similarity index 100% rename from KF5.GrantleeTheme/CMakeLists.txt rename to KF5/KF5.GrantleeTheme/CMakeLists.txt diff --git a/KF5.Gravatar/CMakeLists.txt b/KF5/KF5.Gravatar/CMakeLists.txt similarity index 100% rename from KF5.Gravatar/CMakeLists.txt rename to KF5/KF5.Gravatar/CMakeLists.txt diff --git a/KF5.GuiAddons/CMakeLists.txt b/KF5/KF5.GuiAddons/CMakeLists.txt similarity index 100% rename from KF5.GuiAddons/CMakeLists.txt rename to KF5/KF5.GuiAddons/CMakeLists.txt diff --git a/KF5.Holidays/CMakeLists.txt b/KF5/KF5.Holidays/CMakeLists.txt similarity index 100% rename from KF5.Holidays/CMakeLists.txt rename to KF5/KF5.Holidays/CMakeLists.txt diff --git a/KF5.I18n/CMakeLists.txt b/KF5/KF5.I18n/CMakeLists.txt similarity index 100% rename from KF5.I18n/CMakeLists.txt rename to KF5/KF5.I18n/CMakeLists.txt diff --git a/KF5.IMAP/CMakeLists.txt b/KF5/KF5.IMAP/CMakeLists.txt similarity index 100% rename from KF5.IMAP/CMakeLists.txt rename to KF5/KF5.IMAP/CMakeLists.txt diff --git a/KF5.IconThemes/CMakeLists.txt b/KF5/KF5.IconThemes/CMakeLists.txt similarity index 100% rename from KF5.IconThemes/CMakeLists.txt rename to KF5/KF5.IconThemes/CMakeLists.txt diff --git a/KF5.IdentityManagement/CMakeLists.txt b/KF5/KF5.IdentityManagement/CMakeLists.txt similarity index 100% rename from KF5.IdentityManagement/CMakeLists.txt rename to KF5/KF5.IdentityManagement/CMakeLists.txt diff --git a/KF5.IdleTime/CMakeLists.txt b/KF5/KF5.IdleTime/CMakeLists.txt similarity index 100% rename from KF5.IdleTime/CMakeLists.txt rename to KF5/KF5.IdleTime/CMakeLists.txt diff --git a/KF5.IncidenceEditor/CMakeLists.txt b/KF5/KF5.IncidenceEditor/CMakeLists.txt similarity index 100% rename from KF5.IncidenceEditor/CMakeLists.txt rename to KF5/KF5.IncidenceEditor/CMakeLists.txt diff --git a/KF5.Init/CMakeLists.txt b/KF5/KF5.Init/CMakeLists.txt similarity index 100% rename from KF5.Init/CMakeLists.txt rename to KF5/KF5.Init/CMakeLists.txt diff --git a/KF5.ItemModels/CMakeLists.txt b/KF5/KF5.ItemModels/CMakeLists.txt similarity index 100% rename from KF5.ItemModels/CMakeLists.txt rename to KF5/KF5.ItemModels/CMakeLists.txt diff --git a/KF5.ItemViews/CMakeLists.txt b/KF5/KF5.ItemViews/CMakeLists.txt similarity index 100% rename from KF5.ItemViews/CMakeLists.txt rename to KF5/KF5.ItemViews/CMakeLists.txt diff --git a/KF5.JobWidgets/CMakeLists.txt b/KF5/KF5.JobWidgets/CMakeLists.txt similarity index 100% rename from KF5.JobWidgets/CMakeLists.txt rename to KF5/KF5.JobWidgets/CMakeLists.txt diff --git a/KF5.KCMUtils/CMakeLists.txt b/KF5/KF5.KCMUtils/CMakeLists.txt similarity index 100% rename from KF5.KCMUtils/CMakeLists.txt rename to KF5/KF5.KCMUtils/CMakeLists.txt diff --git a/KF5.KDEGames/CMakeLists.txt b/KF5/KF5.KDEGames/CMakeLists.txt similarity index 100% rename from KF5.KDEGames/CMakeLists.txt rename to KF5/KF5.KDEGames/CMakeLists.txt diff --git a/KF5.KDGantt2/CMakeLists.txt b/KF5/KF5.KDGantt2/CMakeLists.txt similarity index 100% rename from KF5.KDGantt2/CMakeLists.txt rename to KF5/KF5.KDGantt2/CMakeLists.txt diff --git a/KF5.KDcraw/CMakeLists.txt b/KF5/KF5.KDcraw/CMakeLists.txt similarity index 100% rename from KF5.KDcraw/CMakeLists.txt rename to KF5/KF5.KDcraw/CMakeLists.txt diff --git a/KF5.KExiv2/CMakeLists.txt b/KF5/KF5.KExiv2/CMakeLists.txt similarity index 100% rename from KF5.KExiv2/CMakeLists.txt rename to KF5/KF5.KExiv2/CMakeLists.txt diff --git a/KF5.KFace/CMakeLists.txt b/KF5/KF5.KFace/CMakeLists.txt similarity index 100% rename from KF5.KFace/CMakeLists.txt rename to KF5/KF5.KFace/CMakeLists.txt diff --git a/KF5.KGeoMap/CMakeLists.txt b/KF5/KF5.KGeoMap/CMakeLists.txt similarity index 100% rename from KF5.KGeoMap/CMakeLists.txt rename to KF5/KF5.KGeoMap/CMakeLists.txt diff --git a/KF5.KHtml/CMakeLists.txt b/KF5/KF5.KHtml/CMakeLists.txt similarity index 100% rename from KF5.KHtml/CMakeLists.txt rename to KF5/KF5.KHtml/CMakeLists.txt diff --git a/KF5.KIO/CMakeLists.txt b/KF5/KF5.KIO/CMakeLists.txt similarity index 100% rename from KF5.KIO/CMakeLists.txt rename to KF5/KF5.KIO/CMakeLists.txt diff --git a/KF5.KMahjongglib/CMakeLists.txt b/KF5/KF5.KMahjongglib/CMakeLists.txt similarity index 100% rename from KF5.KMahjongglib/CMakeLists.txt rename to KF5/KF5.KMahjongglib/CMakeLists.txt diff --git a/KF5.KaddressbookGrantlee/CMakeLists.txt b/KF5/KF5.KaddressbookGrantlee/CMakeLists.txt similarity index 100% rename from KF5.KaddressbookGrantlee/CMakeLists.txt rename to KF5/KF5.KaddressbookGrantlee/CMakeLists.txt diff --git a/KF5.KdepimDBusInterfaces/CMakeLists.txt b/KF5/KF5.KdepimDBusInterfaces/CMakeLists.txt similarity index 100% rename from KF5.KdepimDBusInterfaces/CMakeLists.txt rename to KF5/KF5.KdepimDBusInterfaces/CMakeLists.txt diff --git a/KF5.Kipi/CMakeLists.txt b/KF5/KF5.Kipi/CMakeLists.txt similarity index 100% rename from KF5.Kipi/CMakeLists.txt rename to KF5/KF5.Kipi/CMakeLists.txt diff --git a/KF5.Kirigami2/CMakeLists.txt b/KF5/KF5.Kirigami2/CMakeLists.txt similarity index 100% rename from KF5.Kirigami2/CMakeLists.txt rename to KF5/KF5.Kirigami2/CMakeLists.txt diff --git a/KF5.KontactInterface/CMakeLists.txt b/KF5/KF5.KontactInterface/CMakeLists.txt similarity index 100% rename from KF5.KontactInterface/CMakeLists.txt rename to KF5/KF5.KontactInterface/CMakeLists.txt diff --git a/KF5.Kross/CMakeLists.txt b/KF5/KF5.Kross/CMakeLists.txt similarity index 100% rename from KF5.Kross/CMakeLists.txt rename to KF5/KF5.Kross/CMakeLists.txt diff --git a/KF5.Ldap/CMakeLists.txt b/KF5/KF5.Ldap/CMakeLists.txt similarity index 100% rename from KF5.Ldap/CMakeLists.txt rename to KF5/KF5.Ldap/CMakeLists.txt diff --git a/KF5.LibKSieve/CMakeLists.txt b/KF5/KF5.LibKSieve/CMakeLists.txt similarity index 100% rename from KF5.LibKSieve/CMakeLists.txt rename to KF5/KF5.LibKSieve/CMakeLists.txt diff --git a/KF5.Libkdepim/CMakeLists.txt b/KF5/KF5.Libkdepim/CMakeLists.txt similarity index 100% rename from KF5.Libkdepim/CMakeLists.txt rename to KF5/KF5.Libkdepim/CMakeLists.txt diff --git a/KF5.Libkleo/CMakeLists.txt b/KF5/KF5.Libkleo/CMakeLists.txt similarity index 100% rename from KF5.Libkleo/CMakeLists.txt rename to KF5/KF5.Libkleo/CMakeLists.txt diff --git a/KF5.Mail/CMakeLists.txt b/KF5/KF5.Mail/CMakeLists.txt similarity index 100% rename from KF5.Mail/CMakeLists.txt rename to KF5/KF5.Mail/CMakeLists.txt diff --git a/KF5.Mbox/CMakeLists.txt b/KF5/KF5.Mbox/CMakeLists.txt similarity index 100% rename from KF5.Mbox/CMakeLists.txt rename to KF5/KF5.Mbox/CMakeLists.txt diff --git a/KF5.MediaPlayer/CMakeLists.txt b/KF5/KF5.MediaPlayer/CMakeLists.txt similarity index 100% rename from KF5.MediaPlayer/CMakeLists.txt rename to KF5/KF5.MediaPlayer/CMakeLists.txt diff --git a/KF5.Message/CMakeLists.txt b/KF5/KF5.Message/CMakeLists.txt similarity index 100% rename from KF5.Message/CMakeLists.txt rename to KF5/KF5.Message/CMakeLists.txt diff --git a/KF5.Mime/CMakeLists.txt b/KF5/KF5.Mime/CMakeLists.txt similarity index 100% rename from KF5.Mime/CMakeLists.txt rename to KF5/KF5.Mime/CMakeLists.txt diff --git a/KF5.ModemManagerQt/CMakeLists.txt b/KF5/KF5.ModemManagerQt/CMakeLists.txt similarity index 100% rename from KF5.ModemManagerQt/CMakeLists.txt rename to KF5/KF5.ModemManagerQt/CMakeLists.txt diff --git a/KF5.NetworkManagerQt/CMakeLists.txt b/KF5/KF5.NetworkManagerQt/CMakeLists.txt similarity index 100% rename from KF5.NetworkManagerQt/CMakeLists.txt rename to KF5/KF5.NetworkManagerQt/CMakeLists.txt diff --git a/KF5.NewStuff/CMakeLists.txt b/KF5/KF5.NewStuff/CMakeLists.txt similarity index 100% rename from KF5.NewStuff/CMakeLists.txt rename to KF5/KF5.NewStuff/CMakeLists.txt diff --git a/KF5.Notifications/CMakeLists.txt b/KF5/KF5.Notifications/CMakeLists.txt similarity index 100% rename from KF5.Notifications/CMakeLists.txt rename to KF5/KF5.Notifications/CMakeLists.txt diff --git a/KF5.NotifyConfig/CMakeLists.txt b/KF5/KF5.NotifyConfig/CMakeLists.txt similarity index 100% rename from KF5.NotifyConfig/CMakeLists.txt rename to KF5/KF5.NotifyConfig/CMakeLists.txt diff --git a/KF5.Package/CMakeLists.txt b/KF5/KF5.Package/CMakeLists.txt similarity index 100% rename from KF5.Package/CMakeLists.txt rename to KF5/KF5.Package/CMakeLists.txt diff --git a/KF5.Parts/CMakeLists.txt b/KF5/KF5.Parts/CMakeLists.txt similarity index 100% rename from KF5.Parts/CMakeLists.txt rename to KF5/KF5.Parts/CMakeLists.txt diff --git a/KF5.People/CMakeLists.txt b/KF5/KF5.People/CMakeLists.txt similarity index 98% rename from KF5.People/CMakeLists.txt rename to KF5/KF5.People/CMakeLists.txt index 6a70657..0e847ce 100644 --- a/KF5.People/CMakeLists.txt +++ b/KF5/KF5.People/CMakeLists.txt @@ -1,50 +1,51 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. set(_pkg "KF5.People") project(${_pkg}) # # Get the information needed to create bindings for a set of related components. # Increase the VERBOSE setting for diagnostics. # get_binding_info( VERBOSE 0 COMPONENTS KF5People DEPENDENCIES Qt5Gui Qt5Widgets) # # Customise the automatically generated information. # +message("include_dirs ${include_dirs}") list(APPEND h_dirs ${CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES}/KF5/KPeople/kpeople ${CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES}/KF5/KPeople/kpeoplebackend) file(GLOB_RECURSE h_files LIST_DIRECTORIES false ${CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES}/KF5/KPeople/kpeople/* ${CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES}/KF5/KPeople/kpeoplebackend/*) list(APPEND include_dirs ${CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES}/KF5/KPeople) set(linkdefs "") # # Generate the bindings. # add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") unset(_pkg) diff --git a/KF5.PimCommon/CMakeLists.txt b/KF5/KF5.PimCommon/CMakeLists.txt similarity index 100% rename from KF5.PimCommon/CMakeLists.txt rename to KF5/KF5.PimCommon/CMakeLists.txt diff --git a/KF5.PimTextEdit/CMakeLists.txt b/KF5/KF5.PimTextEdit/CMakeLists.txt similarity index 100% rename from KF5.PimTextEdit/CMakeLists.txt rename to KF5/KF5.PimTextEdit/CMakeLists.txt diff --git a/KF5.Plasma/CMakeLists.txt b/KF5/KF5.Plasma/CMakeLists.txt similarity index 100% rename from KF5.Plasma/CMakeLists.txt rename to KF5/KF5.Plasma/CMakeLists.txt diff --git a/KF5.Plotting/CMakeLists.txt b/KF5/KF5.Plotting/CMakeLists.txt similarity index 100% rename from KF5.Plotting/CMakeLists.txt rename to KF5/KF5.Plotting/CMakeLists.txt diff --git a/KF5.Prison/CMakeLists.txt b/KF5/KF5.Prison/CMakeLists.txt similarity index 100% rename from KF5.Prison/CMakeLists.txt rename to KF5/KF5.Prison/CMakeLists.txt diff --git a/KF5.Pty/CMakeLists.txt b/KF5/KF5.Pty/CMakeLists.txt similarity index 100% rename from KF5.Pty/CMakeLists.txt rename to KF5/KF5.Pty/CMakeLists.txt diff --git a/KF5.Runner/CMakeLists.txt b/KF5/KF5.Runner/CMakeLists.txt similarity index 100% rename from KF5.Runner/CMakeLists.txt rename to KF5/KF5.Runner/CMakeLists.txt diff --git a/KF5.Sane/CMakeLists.txt b/KF5/KF5.Sane/CMakeLists.txt similarity index 100% rename from KF5.Sane/CMakeLists.txt rename to KF5/KF5.Sane/CMakeLists.txt diff --git a/KF5.Screen/CMakeLists.txt b/KF5/KF5.Screen/CMakeLists.txt similarity index 100% rename from KF5.Screen/CMakeLists.txt rename to KF5/KF5.Screen/CMakeLists.txt diff --git a/KF5.SendLater/CMakeLists.txt b/KF5/KF5.SendLater/CMakeLists.txt similarity index 100% rename from KF5.SendLater/CMakeLists.txt rename to KF5/KF5.SendLater/CMakeLists.txt diff --git a/KF5.Service/CMakeLists.txt b/KF5/KF5.Service/CMakeLists.txt similarity index 100% rename from KF5.Service/CMakeLists.txt rename to KF5/KF5.Service/CMakeLists.txt diff --git a/KF5.Solid/CMakeLists.txt b/KF5/KF5.Solid/CMakeLists.txt similarity index 100% rename from KF5.Solid/CMakeLists.txt rename to KF5/KF5.Solid/CMakeLists.txt diff --git a/KF5.Sonnet/CMakeLists.txt b/KF5/KF5.Sonnet/CMakeLists.txt similarity index 100% rename from KF5.Sonnet/CMakeLists.txt rename to KF5/KF5.Sonnet/CMakeLists.txt diff --git a/KF5.Su/CMakeLists.txt b/KF5/KF5.Su/CMakeLists.txt similarity index 100% rename from KF5.Su/CMakeLists.txt rename to KF5/KF5.Su/CMakeLists.txt diff --git a/KF5.Syndication/CMakeLists.txt b/KF5/KF5.Syndication/CMakeLists.txt similarity index 100% rename from KF5.Syndication/CMakeLists.txt rename to KF5/KF5.Syndication/CMakeLists.txt diff --git a/KF5.SyntaxHighlighting/CMakeLists.txt b/KF5/KF5.SyntaxHighlighting/CMakeLists.txt similarity index 100% rename from KF5.SyntaxHighlighting/CMakeLists.txt rename to KF5/KF5.SyntaxHighlighting/CMakeLists.txt diff --git a/KF5.TemplateParser/CMakeLists.txt b/KF5/KF5.TemplateParser/CMakeLists.txt similarity index 100% rename from KF5.TemplateParser/CMakeLists.txt rename to KF5/KF5.TemplateParser/CMakeLists.txt diff --git a/KF5.TextEditor/CMakeLists.txt b/KF5/KF5.TextEditor/CMakeLists.txt similarity index 100% rename from KF5.TextEditor/CMakeLists.txt rename to KF5/KF5.TextEditor/CMakeLists.txt diff --git a/KF5.TextWidgets/CMakeLists.txt b/KF5/KF5.TextWidgets/CMakeLists.txt similarity index 100% rename from KF5.TextWidgets/CMakeLists.txt rename to KF5/KF5.TextWidgets/CMakeLists.txt diff --git a/KF5.ThreadWeaver/CMakeLists.txt b/KF5/KF5.ThreadWeaver/CMakeLists.txt similarity index 100% rename from KF5.ThreadWeaver/CMakeLists.txt rename to KF5/KF5.ThreadWeaver/CMakeLists.txt diff --git a/KF5.Tnef/CMakeLists.txt b/KF5/KF5.Tnef/CMakeLists.txt similarity index 100% rename from KF5.Tnef/CMakeLists.txt rename to KF5/KF5.Tnef/CMakeLists.txt diff --git a/KF5.UnitConversion/CMakeLists.txt b/KF5/KF5.UnitConversion/CMakeLists.txt similarity index 100% rename from KF5.UnitConversion/CMakeLists.txt rename to KF5/KF5.UnitConversion/CMakeLists.txt diff --git a/KF5.Wallet/CMakeLists.txt b/KF5/KF5.Wallet/CMakeLists.txt similarity index 100% rename from KF5.Wallet/CMakeLists.txt rename to KF5/KF5.Wallet/CMakeLists.txt diff --git a/KF5.Wayland/CMakeLists.txt b/KF5/KF5.Wayland/CMakeLists.txt similarity index 100% rename from KF5.Wayland/CMakeLists.txt rename to KF5/KF5.Wayland/CMakeLists.txt diff --git a/KF5.WebKit/CMakeLists.txt b/KF5/KF5.WebKit/CMakeLists.txt similarity index 100% rename from KF5.WebKit/CMakeLists.txt rename to KF5/KF5.WebKit/CMakeLists.txt diff --git a/KF5.WidgetsAddons/CMakeLists.txt b/KF5/KF5.WidgetsAddons/CMakeLists.txt similarity index 100% rename from KF5.WidgetsAddons/CMakeLists.txt rename to KF5/KF5.WidgetsAddons/CMakeLists.txt diff --git a/KF5.WindowSystem/CMakeLists.txt b/KF5/KF5.WindowSystem/CMakeLists.txt similarity index 100% rename from KF5.WindowSystem/CMakeLists.txt rename to KF5/KF5.WindowSystem/CMakeLists.txt diff --git a/KF5.XmlGui/CMakeLists.txt b/KF5/KF5.XmlGui/CMakeLists.txt similarity index 100% rename from KF5.XmlGui/CMakeLists.txt rename to KF5/KF5.XmlGui/CMakeLists.txt diff --git a/KF5.XmlRpcClient/CMakeLists.txt b/KF5/KF5.XmlRpcClient/CMakeLists.txt similarity index 100% rename from KF5.XmlRpcClient/CMakeLists.txt rename to KF5/KF5.XmlRpcClient/CMakeLists.txt