kde-gtk-config: Add kde-gtk-config 5.6.3

GTK2 and GTK3 Configurator for KDE

Configuration dialog to adapt GTK applications appearance to your taste under
KDE. Among its many features, it lets you:
* Choose which theme is used for GTK2 and GTK3 applications.
* Tweak some GTK applications behaviour.
* Select what icon theme to use in GTK applications.
* Select GTK applications default fonts.
* Easily browse and install new GTK2 and GTK3 themes.
This commit is contained in:
Mark Davies 2016-05-13 09:19:13 +12:00
parent 65cce3ab92
commit acce869c2a
6 changed files with 138 additions and 0 deletions

9
kde-gtk-config/DESCR Normal file
View file

@ -0,0 +1,9 @@
GTK2 and GTK3 Configurator for KDE
Configuration dialog to adapt GTK applications appearance to your taste under
KDE. Among its many features, it lets you:
* Choose which theme is used for GTK2 and GTK3 applications.
* Tweak some GTK applications behaviour.
* Select what icon theme to use in GTK applications.
* Select GTK applications default fonts.
* Easily browse and install new GTK2 and GTK3 themes.

31
kde-gtk-config/Makefile Normal file
View file

@ -0,0 +1,31 @@
# $NetBSD: Makefile,v 1.25 2016/01/10 20:01:05 markd Exp $
DISTNAME= kde-gtk-config-${PLASMAVER}
CATEGORIES= misc
HOMEPAGE= https://www.kde.org/workspaces/plasmadesktop/
COMMENT= Plasma5 GTK2 and GTK3 Configurator
LICENSE= gnu-lgpl-v2.1
.include "../../wip/kde5/plasma.mk"
CMAKE_ARGS+= -DBUILDLINK_DIR=${BUILDLINK_DIR}
DEPENDS+= kde-cli-tools-[0-9]*:../../wip/kde-cli-tools
USE_TOOLS+= msgmerge pkg-config
MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg
CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/cgcgtk3.knsrc \
${PKG_SYSCONFDIR}/xdg/cgcgtk3.knsrc
CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/cgcicon.knsrc \
${PKG_SYSCONFDIR}/xdg/cgcicon.knsrc
CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/cgctheme.knsrc \
${PKG_SYSCONFDIR}/xdg/cgctheme.knsrc
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/gtk3/buildlink3.mk"
.include "../../wip/knewstuff/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

60
kde-gtk-config/PLIST Normal file
View file

@ -0,0 +1,60 @@
@comment $NetBSD$
libexec/gtk3_preview
libexec/gtk_preview
libexec/reload_gtk_apps
qt5/plugins/kcm_kdegtkconfig.so
share/examples/kde-xdg/cgcgtk3.knsrc
share/examples/kde-xdg/cgcicon.knsrc
share/examples/kde-xdg/cgctheme.knsrc
share/icons/hicolor/128x128/apps/kde-gtk-config.png
share/icons/hicolor/16x16/apps/kde-gtk-config.png
share/icons/hicolor/22x22/apps/kde-gtk-config.png
share/icons/hicolor/24x24/apps/kde-gtk-config.png
share/icons/hicolor/256x256/apps/kde-gtk-config.png
share/icons/hicolor/32x32/apps/kde-gtk-config.png
share/icons/hicolor/48x48/apps/kde-gtk-config.png
share/icons/hicolor/64x64/apps/kde-gtk-config.png
share/icons/hicolor/8x8/apps/kde-gtk-config.png
share/icons/hicolor/scalable/apps/kde-gtk-config.svgz
share/kcm-gtk-module/preview.ui
share/kservices5/kde-gtk-config.desktop
share/locale/ar/LC_MESSAGES/kde-gtk-config.mo
share/locale/ast/LC_MESSAGES/kde-gtk-config.mo
share/locale/bs/LC_MESSAGES/kde-gtk-config.mo
share/locale/ca/LC_MESSAGES/kde-gtk-config.mo
share/locale/ca@valencia/LC_MESSAGES/kde-gtk-config.mo
share/locale/cs/LC_MESSAGES/kde-gtk-config.mo
share/locale/da/LC_MESSAGES/kde-gtk-config.mo
share/locale/de/LC_MESSAGES/kde-gtk-config.mo
share/locale/el/LC_MESSAGES/kde-gtk-config.mo
share/locale/en_GB/LC_MESSAGES/kde-gtk-config.mo
share/locale/es/LC_MESSAGES/kde-gtk-config.mo
share/locale/et/LC_MESSAGES/kde-gtk-config.mo
share/locale/fi/LC_MESSAGES/kde-gtk-config.mo
share/locale/fr/LC_MESSAGES/kde-gtk-config.mo
share/locale/gl/LC_MESSAGES/kde-gtk-config.mo
share/locale/hu/LC_MESSAGES/kde-gtk-config.mo
share/locale/it/LC_MESSAGES/kde-gtk-config.mo
share/locale/ja/LC_MESSAGES/kde-gtk-config.mo
share/locale/ko/LC_MESSAGES/kde-gtk-config.mo
share/locale/lt/LC_MESSAGES/kde-gtk-config.mo
share/locale/nb/LC_MESSAGES/kde-gtk-config.mo
share/locale/nl/LC_MESSAGES/kde-gtk-config.mo
share/locale/nn/LC_MESSAGES/kde-gtk-config.mo
share/locale/pa/LC_MESSAGES/kde-gtk-config.mo
share/locale/pl/LC_MESSAGES/kde-gtk-config.mo
share/locale/pt/LC_MESSAGES/kde-gtk-config.mo
share/locale/pt_BR/LC_MESSAGES/kde-gtk-config.mo
share/locale/ro/LC_MESSAGES/kde-gtk-config.mo
share/locale/ru/LC_MESSAGES/kde-gtk-config.mo
share/locale/sk/LC_MESSAGES/kde-gtk-config.mo
share/locale/sl/LC_MESSAGES/kde-gtk-config.mo
share/locale/sr/LC_MESSAGES/kde-gtk-config.mo
share/locale/sr@ijekavian/LC_MESSAGES/kde-gtk-config.mo
share/locale/sr@ijekavianlatin/LC_MESSAGES/kde-gtk-config.mo
share/locale/sr@latin/LC_MESSAGES/kde-gtk-config.mo
share/locale/sv/LC_MESSAGES/kde-gtk-config.mo
share/locale/tr/LC_MESSAGES/kde-gtk-config.mo
share/locale/uk/LC_MESSAGES/kde-gtk-config.mo
share/locale/zh_CN/LC_MESSAGES/kde-gtk-config.mo
share/locale/zh_TW/LC_MESSAGES/kde-gtk-config.mo

8
kde-gtk-config/distinfo Normal file
View file

@ -0,0 +1,8 @@
$NetBSD$
SHA1 (kde-gtk-config-5.6.3.tar.xz) = 7706eb2a4dd97661b781c14a96a6b53f0bee4027
RMD160 (kde-gtk-config-5.6.3.tar.xz) = 727afde0ca9e060b763cb448e6d4c61d2995fc04
SHA512 (kde-gtk-config-5.6.3.tar.xz) = 4464649dbce7d5800e39a728e0cf9273d9fee364d9dbc4d8d62a98d28202c0a52892c70ccf58db75a36fa01408591d502052518a193f19db706f3a1f0bd439e5
Size (kde-gtk-config-5.6.3.tar.xz) = 164832 bytes
SHA1 (patch-CMakeLists.txt) = 11cb1c40d963dd175fe2e03a4e368561cb0d5335
SHA1 (patch-cmake_modules_FindGTK2.cmake) = 00edb6b5608e290511edb0de22cf410207b0ec94

View file

@ -0,0 +1,15 @@
$NetBSD$
Install via examples dir
--- CMakeLists.txt.orig 2016-04-19 11:06:53.000000000 +0000
+++ CMakeLists.txt
@@ -59,7 +59,7 @@ target_link_libraries(kcm_kdegtkconfig K
kcoreaddons_desktop_to_json(kcm_kdegtkconfig kde-gtk-config.desktop)
install(TARGETS kcm_kdegtkconfig DESTINATION ${PLUGIN_INSTALL_DIR})
-install(FILES ${GHNS_FILES} DESTINATION ${CONFIG_INSTALL_DIR})
+install(FILES ${GHNS_FILES} DESTINATION ${KDE_INSTALL_XDG_EX_DIR})
install(FILES kde-gtk-config.desktop DESTINATION ${SERVICES_INSTALL_DIR})
add_subdirectory(gtkproxies)

View file

@ -0,0 +1,15 @@
$NetBSD$
Add buildlink dirs to search path
--- cmake/modules/FindGTK2.cmake.orig 2016-04-19 11:06:46.000000000 +0000
+++ cmake/modules/FindGTK2.cmake
@@ -185,6 +185,8 @@ function(_GTK2_FIND_INCLUDE_DIR _var _hd
find_path(${_var} ${_hdr}
PATHS
+ ${BUILDLINK_DIR}/include/glib
+ ${BUILDLINK_DIR}/lib
/usr/local/lib64
/usr/local/lib
/usr/lib64