Commit e32bc3f7 authored by Boris Pek's avatar Boris Pek

Package for Launchpad was synced with package for Debian.

parent e9c70050
Source: kde-gtk-config
Section: kde
Priority: optional
Maintainer: Boris Pek <tehnick-8@mail.ru>
Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Boris Pek <tehnick-8@mail.ru>
Build-Depends: debhelper (>= 8), cmake,
kdelibs5-dev, libgtk2.0-dev, libgtk-3-dev
kdelibs5-dev, pkg-kde-tools, libgtk2.0-dev, libgtk-3-dev
Homepage: https://projects.kde.org/projects/playground/base/kde-gtk-config
Vcs-Git: git://github.com/tehnick/kde-gtk-config-debian.git
Vcs-Browser: https://github.com/tehnick/kde-gtk-config-debian
Standards-Version: 3.9.3
Package: kde-config-gtk2-gtk3-styles
Provides: kde-config-gtk-style
Package: kde-config-gtk-style
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: KDE configuration module for GTK+ 2.x and GTK+ 3.x styles selection
......
Description: Mirgation from package src:kcm-gtk
This patch provides smooth migration from package src:kcm-gtk to new
package src:kde-gtk-config. Old configuration file ~/.gtkrc-2.0-kde
is moved to ~/.gtkrc-2.0.
Author: Boris Pek <tehnick-8@mail.ru>
Last-Update: 2012-06-04
--- a/src/gtkconfigkcmodule.cpp
+++ b/src/gtkconfigkcmodule.cpp
@@ -72,6 +72,17 @@
ui->cb_icon->setModel(m_iconsModel);
ui->cb_icon_fallback->setModel(m_iconsModel);
+ QFile oldConfigFile(QDir::homePath()+"/.gtkrc-2.0-kde");
+ QFile newConfigFile(QDir::homePath()+"/.gtkrc-2.0");
+ if(oldConfigFile.exists()) {
+ newConfigFile.remove();
+ if( !oldConfigFile.rename(newConfigFile.fileName()) )
+ kDebug() << "Could not rename old config: " + oldConfigFile.fileName();
+ else
+ kDebug() << "Old config " + oldConfigFile.fileName() +
+ "was successfully renamed to " + newConfigFile.fileName();
+ }
+
m_tempGtk2Preview = KGlobal::dirs()->saveLocation("tmp", "gtkrc-2.0", false);
m_tempGtk3Preview = KGlobal::dirs()->saveLocation("tmp", ".config/gtk-3.0/settings.ini", false);
mirgation-from-package-src:kcm-gtk
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export LDFLAGS:=-Wl,--as-needed $(LDFLAGS)
CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
export CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
%:
dh $@ --parallel
get-orig-source:
uscan --noconf --verbose --force-download --rename --download-current-version --destdir=..
.PHONY: override_dh_auto_test
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