Commit c21f1e7d authored by Mikhail Zolotukhin's avatar Mikhail Zolotukhin
Browse files

Remove GTK KCM

Summary:
After D26583 GTK KCM is no longer needed, the functionality
is now in Application Style KCM. Also some outdated files (such as readme and changelog) were removed.

Test Plan:
# Delete `$DEV_DIR/usr/lib/plugins/kcm_kdegtkconfig.so` from possible previous builds+installs
# Build, run system settings with prefix
# Check, that the only loaded GTK KCM is the old one

Reviewers: mart

Reviewed By: mart

Subscribers: plasma-devel

Tags: #plasma

Maniphest Tasks: T10611

Differential Revision: https://phabricator.kde.org/D26593
parent 1ebf620d
......@@ -2,21 +2,17 @@ project(kde-gtk-config)
set(PROJECT_VERSION "5.17.80")
cmake_minimum_required(VERSION 3.10)
find_package(ECM 0.0.9 REQUIRED NO_MODULE)
find_package(ECM REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules" ${ECM_MODULE_PATH})
find_package(Qt5 REQUIRED NO_MODULE COMPONENTS Widgets DBus)
find_package(KF5 REQUIRED COMPONENTS I18n KIO ConfigWidgets NewStuff Archive KCMUtils IconThemes DBusAddons)
find_package(Qt5 REQUIRED NO_MODULE COMPONENTS DBus)
find_package(KF5CoreAddons REQUIRED)
find_package(KF5Config REQUIRED)
find_package(KF5IconThemes REQUIRED)
find_package(KF5DBusAddons REQUIRED)
find_package(GTK3 REQUIRED)
find_package(GSettingSchemas REQUIRED)
include_directories(
${CMAKE_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/src
${CMAKE_SOURCE_DIR}/src/ui
${GTK3_INCLUDE_DIRS}
)
include(ECMSetupVersion)
include(ECMInstallIcons)
include(ECMMarkAsTest)
......@@ -27,52 +23,10 @@ include(KDECMakeSettings)
include(KDECompilerSettings NO_POLICY_SCOPE)
include(KDEClangFormat)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake kded/config.h)
# Set KI18n translation domain
add_definitions(-DTRANSLATION_DOMAIN=\"kde-gtk-config\")
set(kcm_SRCS
src/gtkconfigkcmodule.cpp
)
ki18n_wrap_ui(kcm_SRCS
src/ui/gui.ui
)
add_library(kcm_kdegtkconfig MODULE ${kcm_SRCS})
target_compile_definitions(kcm_kdegtkconfig
PRIVATE
-DPROJECT_VERSION="${PROJECT_VERSION}"
-DQT_NO_SIGNALS_SLOTS_KEYWORDS
)
target_link_libraries(kcm_kdegtkconfig
${GIO2_LIBRARY}
${GLIB2_LIBRARY}
${GTK3_LIBRARY}
${GOBJECT2_LIBRARY}
Qt5::DBus
KF5::ConfigCore
KF5::I18n
KF5::KIOWidgets
KF5::NewStuff
KF5::Archive
KF5::ConfigWidgets
KF5::DBusAddons
)
kcoreaddons_desktop_to_json(kcm_kdegtkconfig kde-gtk-config.desktop)
install(TARGETS kcm_kdegtkconfig DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES cgctheme.knsrc cgcgtk3.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR})
install(FILES kde-gtk-config.desktop DESTINATION ${SERVICES_INSTALL_DIR})
add_subdirectory(gtkproxies)
add_subdirectory(gtk3proxies)
add_subdirectory(icons)
add_subdirectory(kded)
# add clang-format target for all our real source files
......
V1.0
* Port to Module KCM
* change tr() to i18n(), make it translatable, complete translation to english, complete intergation in Apperance module
V1.1
* Adding SVG preview suport, add Spanish, Galician and Italian
v1.2
* Fix a bug in the layout for some Qt themes
v1.3
* Symlink .gtkrc-2.0-kde4
v1.4
* Bug Fixing
v1.5
* Add support for the toolbar style
v1.6
* Support for GHNS in gtk themes, added Euskara
v1.7
* Added Russian
v1.7
* Added Gtk3 Support, You can install gtk3 themes through GHNS API and manual installation.
v2.0
* Moved to KDE repositories, cleaned up GUI and features.
\ No newline at end of file
#! /bin/sh
$EXTRACTRC `find . -name \*.ui` >> rc.cpp
$XGETTEXT rc.cpp src/*.cpp -o $podir/kde-gtk-config.pot
KDE GTK CONFIG v1.7
----------------------
Copyright (c) 2011 - Jose Antonio Sánchez Reynaga <joanzare@gmail.com> and the Team behind Chakra
Copyright (c) 2011 - Aleix Pol Gonzalez <aleixpol@kde.org>
This program it's licensed under GPLv3
Compilation:
$ mkdir build && cd build
$ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
$ make
# make install
Features:
> Themes installation
> Themes uninstallation
> Icon themes selection
> Icon themes fallback selection
> themes selection
> fonts selection
enjoy !
[KNewStuff3]
Name=GTK 3.x Themes
Name[ar]=سمات جتك الثّالثة
Name[ast]=Estilos pa GTK 3.x
Name[ca]=Temes GTK 3.x
Name[ca@valencia]=Temes GTK 3.x
Name[cs]=Motivy GTK 3.x
Name[da]=GTK 3.x-temaer
Name[de]=GTK 3.x-Designs
Name[el]=Θέματα GTK 3.x
Name[en_GB]=GTK 3.x Themes
Name[es]=Temas de GTK 3.x
Name[et]=GTK 3.x teemad
Name[eu]=GTK 3.x gaiak
Name[fi]=GTK 3.x -teemat
Name[fr]=Thèmes GTK 3.x
Name[gl]=Temas de GTK 3.x
Name[he]=ערכות נושא של GTK 3.x
Name[hu]=GTK 3.x témák
Name[ia]=Themas de GTK 3.x
Name[id]=Tema GTK 3.x
Name[it]=Temi GTK 3.x
Name[ko]=GTK 3.x 테마
Name[lt]=GTK 3.x apipavidalinimai
Name[nl]=GTK 3.x thema's
Name[nn]=GTK 3.x-tema
Name[pl]=Wygląd GTK 3.x
Name[pt]=Temas do GTK 3.x
Name[pt_BR]=Temas GTK 3.x
Name[ru]=Темы GTK 3.x
Name[sk]=Témy GTK 3.x
Name[sl]=Teme GTK 3.x
Name[sr]=ГТК 3.x теме
Name[sr@ijekavian]=ГТК 3.x теме
Name[sr@ijekavianlatin]=GTK 3.x teme
Name[sr@latin]=GTK 3.x teme
Name[sv]=GTK 3.x-teman
Name[tg]=Мавзӯъҳои GTK 3.x
Name[tr]=GTK 3.x Temaları
Name[uk]=Теми GTK 3.x
Name[x-test]=xxGTK 3.x Themesxx
Name[zh_CN]=GTK 3.x 主题
Name[zh_TW]=GTK 3.x 主題
Categories=GTK 3.x Theme/Style
Uncompress=always
InstallPath=.themes
[KNewStuff3]
Name=GTK 2.x Themes
Name[ar]=سمات جتك الثّانية
Name[ast]=Estilos pa GTK 2.x
Name[ca]=Temes GTK 2.x
Name[ca@valencia]=Temes GTK 2.x
Name[cs]=Motivy GTK 2.x
Name[da]=GTK 2.x-temaer
Name[de]=GTK 2.x-Designs
Name[el]=Θέματα GTK 2.x
Name[en_GB]=GTK 2.x Themes
Name[es]=Temas de GTK 2.x
Name[et]=GTK 2.x teemad
Name[eu]=GTK 2.x gaiak
Name[fi]=GTK 2.x -teemat
Name[fr]=Thèmes GTK 2.x
Name[gl]=Temas de GTK 2.x
Name[he]=ערכות נושא של GTK 2.x
Name[hu]=GTK 2.x témák
Name[ia]=Themas de GTK 2.x
Name[id]=Tema GTK 2.x
Name[it]=Temi GTK 2.x
Name[ko]=GTK 2.x 테마
Name[lt]=GTK 2.x apipavidalinimai
Name[nl]=GTK 2.x thema's
Name[nn]=GTK 2.x-tema
Name[pl]=Wygląd GTK 2.x
Name[pt]=Temas do GTK 2.x
Name[pt_BR]=Temas GTK 2.x
Name[ru]=Темы GTK 2.x
Name[sk]=Témy GTK 2.x
Name[sl]=Teme GTK 2.x
Name[sr]=ГТК 2.x теме
Name[sr@ijekavian]=ГТК 2.x теме
Name[sr@ijekavianlatin]=GTK 2.x teme
Name[sr@latin]=GTK 2.x teme
Name[sv]=GTK 2.x-teman
Name[tg]=Мавзӯъҳои GTK 2.x
Name[tr]=GTK 2.x Temaları
Name[uk]=Теми GTK 2.x
Name[x-test]=xxGTK 2.x Themesxx
Name[zh_CN]=GTK 2.x 主题
Name[zh_TW]=GTK 2.x 主題
Categories=GTK 2.x Theme/Style
Uncompress=always
InstallPath=.themes
ecm_install_icons(
ICONS
128-apps-kde-gtk-config.png
16-apps-kde-gtk-config.png
22-apps-kde-gtk-config.png
24-apps-kde-gtk-config.png
256-apps-kde-gtk-config.png
32-apps-kde-gtk-config.png
48-apps-kde-gtk-config.png
64-apps-kde-gtk-config.png
8-apps-kde-gtk-config.png
sc-apps-kde-gtk-config.svgz
THEME hicolor
DESTINATION ${ICON_INSTALL_DIR}
)
[Desktop Entry]
Exec=kcmshell5 kde-gtk-config
Icon=kde-gtk-config
Type=Service
X-KDE-ServiceTypes=KCModule
X-KDE-Library=kcm_kdegtkconfig
# X-KDE-ParentApp=kcontrol
X-KDE-System-Settings-Parent-Category=applicationstyle
X-KDE-Weight=20
Name=GNOME/GTK Application Style
Name[ast]=Estilos p'aplicaciones en GTK
Name[ca]=Estil de les aplicacions GNOME/GTK
Name[ca@valencia]=Estil de les aplicacions GNOME/GTK
Name[cs]=Styl aplikací GNOME/GTK
Name[da]=Programstil for GNOME-/GTK-programmer
Name[de]=GNOME/GTK Anwendungs-Stil
Name[en_GB]=GNOME/GTK Application Style
Name[es]=Estilo de las aplicaciones de GNOME/GTK
Name[et]=GNOME/GTK rakenduste stiil
Name[eu]=GNOME/GTK aplikazioen estiloa
Name[fi]=Gnome/GTK-sovellusten tyyli
Name[fr]=Style des applications « GNOME / GTK »
Name[gl]=Estilo das aplicacións de GNOME ou GTK
Name[hu]=GNOME/GTK alkalmazásstílus
Name[ia]=Application de stilo de GNOME/GTK
Name[id]=Gaya Aplikasi GNOME/GTK
Name[it]=Stile delle applicazioni GNOME/GTK
Name[ja]=GNOME/GTK アプリケーションスタイル
Name[ko]=그놈/GTK 프로그램 스타일
Name[lt]=GNOME/GTK programų stilius
Name[nl]=Stijl van GNOME/GTK-toepassingen
Name[nn]=GNOME/GTK-programstil
Name[pl]=Wygląd aplikacji GNOME/GTK
Name[pt]=Estilo de Aplicações do GNOME/GTK
Name[pt_BR]=Estilo dos aplicativos GNOME/GTK
Name[ru]=Стиль программ GNOME/GTK+
Name[sk]=Štýl aplikácií GNOME (GTK)
Name[sv]=GNOME/GTK-programstil
Name[tg]=Услуби барномаи GNOME/GTK
Name[uk]=Стиль програм GNOME/GTK
Name[x-test]=xxGNOME/GTK Application Stylexx
Name[zh_CN]=GNOME/GTK 应用程序风格
Name[zh_TW]=GNOME / GTK 應用程式樣式
Comment=Configure GNOME/GTK application style and behavior
Comment[ast]=Configura l'estilu y el comportamientu de les aplicaciones en GTK
Comment[ca]=Configuració de l'estil i comportament de les aplicacions GNOME/GTK
Comment[ca@valencia]=Configuració de l'estil i comportament de les aplicacions GNOME/GTK
Comment[cs]=Nastavte styl a chováni aplikací GNOME/GTK
Comment[da]=Indstil stil og opførsel GNOME-/GTK-programmer
Comment[de]=Einrichtung des Stils und Verhaltens von GNOME-/GTK-Anwendungen
Comment[en_GB]=Configure GNOME/GTK application style and behaviour
Comment[es]=Configurar el estilo y el comportamiento de las aplicaciones de GNOME/GTK
Comment[et]=GNOME/GTK rakenduste stiili ja käitumise seadistamine
Comment[eu]=Konfiguratu GNOME/Gtk aplikazioen estiloa eta jokabidea
Comment[fi]=Gnome/GTK-sovellusten tyyli- ja toimintaasetukset
Comment[fr]=Configuration du style et du comportement des applications « GNOME / GTK »
Comment[gl]=Configurar o estilo e comportamento das aplicacións de GNOME ou GTK
Comment[hu]=A GNOME/GTK alkalmazások stílusának és működésének beállítása
Comment[ia]=Configura stilo de application GNOME/GTK e comportamento
Comment[id]=Konfigurasikan perilaku dan gaya aplikasi GTK/GNOME
Comment[it]=Configura lo stile ed il comportamento delle applicazioni GNOME/GTK
Comment[ko]=그놈/GTK 프로그램 스타일과 행동 설정
Comment[lt]=Konfigūruoti GNOME/GTK programų stilių ir elgseną
Comment[nl]=Stijl en gedrag van GNOME/GTK-toepassingen configureren
Comment[nn]=Set opp utsjånad og åtferd for GNOME/GTK-program
Comment[pl]=Ustawienia wyglądu i zachowania aplikacji GNOME/GTK
Comment[pt]=Configurar o estilo e comportamento das aplicações em GNOME/GTK
Comment[pt_BR]=Configure o estilo e comportamento dos aplicativos GNOME/GTK
Comment[ru]=Настройка стиля и поведения программ на основе GNOME/GTK+
Comment[sk]=Nastavte správanie a vzhľad GTK/GNOME aplikácií.
Comment[sv]=Anpassa GNOME/GTK-programstil och beteende
Comment[tg]=Танзимоти услуби барномаи ва рафтори GNOME/GTK
Comment[uk]=Налаштовування стилю і поведінки програм на основі GNOME/GTK
Comment[x-test]=xxConfigure GNOME/GTK application style and behaviorxx
Comment[zh_CN]=配置 GNOME/GTK 应用程序风格和行为
Comment[zh_TW]=設定 GNOME/GTK 應用程式的樣式與行為
X-KDE-Keywords=gnome,gtk,style,styles,look,widget,icons,toolbars,apps,theme,menu
X-KDE-Keywords[ast]=gnome,gtk,estilu,estilos,aspeutu,aspeutos,widget,widgets,iconos,aplicaciones,menú,menús,barres de ferramientes
X-KDE-Keywords[ca]=gnome,gtk,estil,estils,aspecte,estri,icones,barres d'eines,apps,aplicacions,tema,menú
X-KDE-Keywords[ca@valencia]=gnome,gtk,estil,estils,aspecte,giny(«widget»),icones,barres d'eines,apps,aplicacions,tema,menú
X-KDE-Keywords[cs]=gnome,gtk,styl,styly,vzhled,widget,ikony,nástrojové lišty,aplikace,motiv,nabídka
X-KDE-Keywords[da]=gnome,gtk,stil,udseende,widget,ikoner,værktøjslinjer,apps,programmer,tema,menu
X-KDE-Keywords[de]=gnome,gtk,style,styles,look,widget,icons,toolbars,apps,theme,menu,Stile,Stile,Design,Themes,Bedienelemente,Elemente,Bildschirmelemente,Werkzeugleisten,Symbole,Anwendungen,Menü
X-KDE-Keywords[en_GB]=gnome,gtk,style,styles,look,widget,icons,toolbars,apps,theme,menu
X-KDE-Keywords[es]=gnome,gtk,estilo,estilos,apariencia,widget,iconos,barras de herramientas,apps,tema,menú
X-KDE-Keywords[et]=gnome,gtk,stiil,stiilid,välimus,vidin,ikoonid,tööriistaribad,rakendused,teema,menüü
X-KDE-Keywords[eu]=gnome,gtk,estiloa,estiloak,itxura,trepeta,ikonoak,tresna-barrak,aplikazioak,gaia,menua
X-KDE-Keywords[fi]=gnome,gtk,tyyli,tyylit,ulkoasu,alkio,kuvakkeet,työkalurivit,sovellukset,teema,valikko
X-KDE-Keywords[fr]=gnome,gtk,style,styles,apparence,widget,composant,icônes,barre d'outils,applis,thème,menu
X-KDE-Keywords[gl]=gnome,gtk,estilo,estilos,aparencia,trebello,iconas,barras de ferramentas,aplicativos,tema,menú
X-KDE-Keywords[hu]=gnome,gtk,stílus,megjelenés,widget,ikonok,eszköztárak,alkalmazások,téma,menü
X-KDE-Keywords[ia]=gnome,gtk,style,styles,look,widget,icons,toolbars,apps,theme,menu
X-KDE-Keywords[id]=gnome,gtk,gaya,style,nuansa,widget,ikon,toolbar,bilah-alat,apl,tema,menu
X-KDE-Keywords[it]=gnome,gtk,stile,stili,aspetto,oggetto,icone,barre degli strumenti,app,tema,menu
X-KDE-Keywords[ko]=gnome,gtk,style,styles,look,widget,icons,toolbars,apps,theme,menu,그놈,스타일,위젯,아이콘,도구 모음,프로그램,테마,메뉴
X-KDE-Keywords[lt]=gnome,gtk,stilius,stiliai,išvaizda,valdiklis,piktogramos,įrankių juostos,programos,apipavidalinimas,meniu
X-KDE-Keywords[nl]=gnome,gtk,stijl,stijlen,uiterlijk,widget,pictogrammen,werkbalken,apps,thema,menu,toepassingen
X-KDE-Keywords[nn]=gnome,gtk,stil,stilar,utsjånad,skjermelement,skjermkontrollar,ikon,verktøylinjer,appar,program,tema,meny
X-KDE-Keywords[pl]=gnome,gtk,styl,style,wygląd,widżet,elementy interfejsu,ikony,paski narzędzi,aplikacje,programy,wygląd,menu
X-KDE-Keywords[pt]=gnome,gtk,estilo,estilos,aparência,elemento,ícones,barras de ferramentas,aplicações,tema,menu
X-KDE-Keywords[pt_BR]=gnome,gtk,estilo,estilos,visual,widget,ícones,barras de ferramentas,apps,aplicativos,tema,menu
X-KDE-Keywords[ru]=gnome,gtk,style,styles,look,widget,icons,toolbars,apps,theme,menu,стиль,гном,оформление,внешний вид,виджеты,графические элементы,значки,панели инструментов,тема,меню
X-KDE-Keywords[sk]=gnome,gtk,štýl,štýly,vzhľad,widget,ikony,panel nástrojov,applikácie,téma,ponuka
X-KDE-Keywords[sv]=gnome,gtk,stil,stilar,utseende,komponent,ikoner,verktygsrader,program,tema,meny
X-KDE-Keywords[tg]=gnome,gtk,услуб,услубҳо,намуд,виҷет,нишонаҳо,навори абзорҳо,барномаҳо,мавзӯъ,феҳрист
X-KDE-Keywords[uk]=gnome,gtk,style,styles,look,widget,icons,toolbars,apps,theme,menu,гном,гноме,жтк,стиль,стилі,вигляд,віджет,піктограми,панелі,програми,тема,меню
X-KDE-Keywords[x-test]=xxgnomexx,xxgtkxx,xxstylexx,xxstylesxx,xxlookxx,xxwidgetxx,xxiconsxx,xxtoolbarsxx,xxappsxx,xxthemexx,xxmenuxx
X-KDE-Keywords[zh_CN]=gnome,gtk,style,styles,look,widget,icons,toolbars,apps,theme,menu,样式,外观,小部件,图标,工具栏,应用程序,主题,菜单
X-KDE-Keywords[zh_TW]=gnome,gtk,style,styles,look,widget,icons,toolbars,apps,theme,menu,樣式,樣貌,元件,小工具,圖示,圖標,工具列,應用程式,App,應用,主題,選單,目錄
Categories=Qt;KDE;X-KDE-settings-looknfeel;
[Project]
Manager=KDevCMakeManager
Name=kde-gtk-config
......@@ -19,7 +19,6 @@ target_include_directories(gtkconfig
)
target_link_libraries(gtkconfig
Qt5::Gui
Qt5::DBus
KF5::CoreAddons
KF5::ConfigCore
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment