debian/0000755000000000000000000000000012151473070007166 5ustar debian/docs0000644000000000000000000000001412151473015010033 0ustar README TODO debian/source/0000755000000000000000000000000012151473015010465 5ustar debian/source/format0000644000000000000000000000001412151473015011673 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000002547712151473070011057 0ustar gtk2-engines-qtcurve (1.8.16-2) unstable; urgency=low * Move package to unstable: no changes required. * Add debian/patches/workaround-for-bug-in-libglib-2.36.1: workaround for bug in libglib >= 2.36.1. (Closes: #707946) * Update years in debian/copyright. -- Boris Pek Thu, 30 May 2013 00:41:37 +0300 gtk2-engines-qtcurve (1.8.16-1) experimental; urgency=low * Update to stable release 1.8.16. * Remove obsolete DM-Upload-Allowed flag. * Bump Standards-Version to 3.9.4 (was 3.9.3): no changes required. * Delete debian/patches/fix-cairo-flush: now available in upstream. -- Boris Pek Mon, 21 Jan 2013 23:25:56 +0200 gtk2-engines-qtcurve (1.8.15-4) unstable; urgency=low * Add debian/patches/do-not-change-mozilla-css-settings: do not change files ~/.mozilla/firefox/*.default/chrome/userChrome.css (Closes: #590521) -- Boris Pek Fri, 23 Nov 2012 00:10:24 +0200 gtk2-engines-qtcurve (1.8.15-3) unstable; urgency=low * Add debian/patches/fix-cairo-flush: fix memory leak. * Add "Multi-Arch: same" to package gtk2-engines-qtcurve. (LP: #974993) * Fix get-orig-source section in according with Debian Policy ยง4.9. * Build with -DQTC_MODIFY_MOZILLA=false: do not modify Iceweasel and/or Firefox settings. (Closes: #590521) -- Boris Pek Mon, 29 Oct 2012 23:17:52 +0200 gtk2-engines-qtcurve (1.8.15-2) unstable; urgency=low * debian/rules was updated: - now uscan options are used instead of direct using of mv command - used hardening flags in compiler options -- Boris Pek Sun, 10 Jun 2012 17:15:32 +0300 gtk2-engines-qtcurve (1.8.15-1) unstable; urgency=low * Update to stable release 1.8.15. * Fixes from upstream: fixed tab activation (via mouse) when engine is configured to drag windows from all empty areas and either highlight is set to 0% or colored mouse over is set to none. (Closes: #641599) -- Boris Pek Wed, 25 Apr 2012 01:06:21 +0300 gtk2-engines-qtcurve (1.8.14-1) unstable; urgency=low * Update to stable release 1.8.14. * Bumped Standards-Version to 3.9.3. * URL in Format field was updated in debian/copyright. * Added string `DM-Upload-Allowed: yes' in debian/control. -- Boris Pek Fri, 02 Mar 2012 23:32:36 +0200 gtk2-engines-qtcurve (1.8.12-1) unstable; urgency=low * New upstream release. * New maintainer of the package, Fathi Boudra is removed from Uploaders field. (Closes: #641952) * Vcs-* fields in debian/control were updated. * File debian/copyright was rewritten in according to DEP-5. All files were rechecked, copyright information was updated. * kde-style-qtcurve was moved from Suggests to Recommends. -- Boris Pek Fri, 20 Jan 2012 21:52:45 +0200 gtk2-engines-qtcurve (1.8.8-1) unstable; urgency=low * New upstream release. -- Fathi Boudra Sun, 01 May 2011 13:22:49 +0300 gtk2-engines-qtcurve (1.8.6-1) unstable; urgency=low * New upstream release. * Build depends against libcairo2-dev >= 1.10 (Closes: #607040) -- Fathi Boudra Sun, 20 Feb 2011 12:13:05 +0200 gtk2-engines-qtcurve (1.8.5-1) unstable; urgency=low * New upstream release. -- Fathi Boudra Sun, 30 Jan 2011 18:57:14 +0200 gtk2-engines-qtcurve (1.8.3-1) unstable; urgency=low * New upstream release. -- Fathi Boudra Sun, 26 Dec 2010 13:43:31 +0200 gtk2-engines-qtcurve (1.8.1-1) unstable; urgency=low * New upstream release. -- Fathi Boudra Sat, 11 Dec 2010 14:40:51 +0200 gtk2-engines-qtcurve (1.6.4-1) unstable; urgency=low * New upstream release. [ Alexander Reichle-Schmehl ] * Disable QTC_MODIFY_MOZILLA to not interfere with foreign configuration files. (Closes: #590521) -- Fathi Boudra Wed, 06 Oct 2010 14:51:31 +0300 gtk2-engines-qtcurve (1.5.2-1) unstable; urgency=low * New upstream release. -- Fathi Boudra Thu, 22 Jul 2010 09:48:13 +0300 gtk2-engines-qtcurve (1.5.1-1) unstable; urgency=low * New upstream release. -- Fathi Boudra Sun, 11 Jul 2010 09:14:53 +0300 gtk2-engines-qtcurve (1.5.0-1) unstable; urgency=low * New upstream release. * Bump Standard-Version to 3.9.0 (no changes needed). -- Fathi Boudra Wed, 30 Jun 2010 10:09:44 +0300 gtk2-engines-qtcurve (1.4.1-1) unstable; urgency=low * New upstream release. -- Fathi Boudra Sun, 30 May 2010 12:09:50 +0300 gtk2-engines-qtcurve (1.4.0-1) unstable; urgency=low * New upstream release. -- Fathi Boudra Tue, 18 May 2010 11:30:31 +0300 gtk2-engines-qtcurve (1.3.0-1) unstable; urgency=low * New upstream release. -- Fathi Boudra Tue, 13 Apr 2010 11:08:20 +0300 gtk2-engines-qtcurve (1.2.0-1) unstable; urgency=low * New upstream release. -- Fathi Boudra Tue, 23 Mar 2010 12:01:10 +0100 gtk2-engines-qtcurve (1.1.1-1) unstable; urgency=low * New upstream release. * Update debian/control: Suggests kde-style-qtcurve instead of Recommends. * Update debian/watch: update upstream tarball url. -- Fathi Boudra Fri, 26 Feb 2010 16:50:21 +0100 gtk2-engines-qtcurve (1.0.2-1) unstable; urgency=low * New upstream release. * Switch to dpkg-source 3.0 (quilt) format. * Update debian/control: - Bump Standard-Version to 3.8.4 (no changes needed). * Update debian/copyright: - Update upstream author e-mail address. - Update copyright years. * Update debian/rules: - Enable parallel build (pass --parallel option to dh). - Update get-orig-source target to rename original tarball. -- Fathi Boudra Sat, 13 Feb 2010 15:41:01 +0100 gtk2-engines-qtcurve (0.69.2-1) unstable; urgency=low * New upstream release. -- Fathi Boudra Sat, 14 Nov 2009 18:06:01 +0100 gtk2-engines-qtcurve (0.68.1-1) unstable; urgency=low * New upstream release. * Update debian/control: - Bump Standard-Version to 3.8.3 (no changes needed). -- Fathi Boudra Wed, 07 Oct 2009 14:06:28 +0200 gtk2-engines-qtcurve (0.67.4-1) unstable; urgency=low * New upstream release. * Update debian/control: - Bump debhelper build dependency version. * Update debian/copyright: up-to-date. * Update debian/rules: - Cleanup since dh support cmake. - Add get-orig-source target. * Add debian/watch file. -- Fathi Boudra Sun, 16 Aug 2009 10:37:41 +0200 gtk2-engines-qtcurve (0.65.1-1) unstable; urgency=low * New upstream release. -- Fathi Boudra Tue, 30 Jun 2009 20:38:57 +0200 gtk2-engines-qtcurve (0.65.0-1) unstable; urgency=low * New upstream release. (Closes: #512561) * Set KDE Extras team in Maintainer field and myself in Uploaders field. (Closes: #529441) * Bump compat/debhelper to 7. * Update debian/control: - Bump Standard-Version to 3.8.2 (no changes needed). - Add Vcs-Browser and Vcs-Svn fields. - Use uppercase GNOME in description. * Update debian/rules: - Rewrite to use dh. - Build with -DQTC_MODIFY_MOZILLA=true for enhanced Firefox integration. -- Fathi Boudra Thu, 25 Jun 2009 10:29:52 +0200 gtk2-engines-qtcurve (0.59.5-1) unstable; urgency=low * New upstream release. Too many changes since 55.2 to list them all here. * Bumped standards version. -- Bastian Venthur Fri, 04 Jul 2008 10:58:11 +0200 gtk2-engines-qtcurve (0.55.2-2) unstable; urgency=low * Bumped standards version * Updated FSF address (Closes: #461892) -- Bastian Venthur Wed, 26 Mar 2008 15:20:23 +0100 gtk2-engines-qtcurve (0.55.2-1) unstable; urgency=low * New upstream version -- Bastian Venthur Sun, 20 Jan 2008 17:22:26 +0100 gtk2-engines-qtcurve (0.52.3-1) unstable; urgency=low 0.52.3 * Fix 1st stripe on vertical progress bar. * Fix very small progress bar chunks. * Fix blanked out widgets in tovid. * Fix DeVeDe crash when 'fix parentless dialogs' is enabled. 0.52.2 * Don't lighten border of disabled check/radio buttons. * Lighten trough of disabled slider. -- Bastian Venthur Fri, 10 Aug 2007 10:03:47 +0200 gtk2-engines-qtcurve (0.52.1-1) unstable; urgency=low New upstream version * Draw emphasis around menus when not lightening. * Use button colors to border entry fields. * Fix menu standard background. -- Bastian Venthur Sun, 24 Jun 2007 13:10:56 +0200 gtk2-engines-qtcurve (0.52-1) unstable; urgency=low * New upstream version * Use 'dull glass' as the default gradient - previous default is now called 'Clean'. * Darken slider mouse over colour if slider is not shaded. * Use thinner slider mouse over sections if slider is not shaded. * Improve look of small V arrows. * Even duller dull glass, but much more useable. * Implement 'plastik' style mouse over for square sliders. * Fix bottom/right scrollbar arrow position. * Fix spinbutton arrow position. * Fix SWT combo arrows. * Don't prelight SWT combos - they don't un-prelight when activated! * For non editable combos, draw both an up and a down arrow. * For editable combos - make menu more KDE list like. -- Bastian Venthur Tue, 19 Jun 2007 17:33:59 +0200 gtk2-engines-qtcurve (0.51-2) unstable; urgency=low * Changed priority from extra to optional -- Bastian Venthur Mon, 11 Jun 2007 11:20:11 +0200 gtk2-engines-qtcurve (0.51-1) unstable; urgency=low * New Upstream version (Closes: #427040) * Corrected recommends-field (Closes: #427873) * Removed debian/dirs (Closes: #427874) * Changed shading to use HSL colour space. This can be altered by editing $XDG_CONFIG_HOME/qtcurvestylerc and setting 'shading=simple' for the previous method, or 'shading=hsv' to use HSV. * Add options: Border all of menu/toolbars. Darker borders. 'V' arrows. * Fix raised listview headers. * Fix glass style menuitem appearance. * Modifed look of dullglass, looks "softer" * Improve look of plastik mouse-over for non coloured scrollbars. * For disabled buttons, use standard fill but lighten border. * Use darker colours for mouse-over and default button - helps with light colour schemes. * Dont draw sunken panel around checked menuitems. * If the app is a Java app, and its g_get_application_name()!="unknown", then assume its a SWT java app - in which case treat as a standard app. For Swing apps some functionality is disabled. * Fix tabs in thunderbird. -- Bastian Venthur Mon, 11 Jun 2007 10:26:42 +0200 gtk2-engines-qtcurve (0.50-1) unstable; urgency=low * Initial release -- Bastian Venthur Fri, 25 May 2007 12:52:24 +0200 debian/compat0000644000000000000000000000000212151473015010363 0ustar 7 debian/control0000644000000000000000000000150612151473015010572 0ustar Source: gtk2-engines-qtcurve Section: gnome Priority: optional Maintainer: Boris Pek Build-Depends: debhelper (>= 7.4.15), cmake, libgtk2.0-dev, libcairo2-dev (>= 1.10) Homepage: http://www.kde-look.org/content/show.php?content=40492 Vcs-Git: git://github.com/tehnick/gtk2-engines-qtcurve-debian.git Vcs-Browser: https://github.com/tehnick/gtk2-engines-qtcurve-debian Standards-Version: 3.9.4 Package: gtk2-engines-qtcurve Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: kde-style-qtcurve Multi-Arch: same Description: This is a set of widget styles for Gtk2 based apps This package together with kde-style-qtcurve aim to provide a unified look and feel on the desktop when using KDE and GNOME applications. . This package is most useful when installed together with kde-style-qtcurve. debian/watch0000644000000000000000000000021312151473015010212 0ustar version=3 http://www.kde-look.org/content/download.php?content=40492&id=3 http://craigd.wikispaces.com/file/view/QtCurve-Gtk2-(.*).tar.bz2 debian/patches/0000755000000000000000000000000012151473015010614 5ustar debian/patches/series0000644000000000000000000000011012151473015012021 0ustar do-not-change-mozilla-css-settings workaround-for-bug-in-libglib-2.36.1 debian/patches/do-not-change-mozilla-css-settings0000644000000000000000000000233312151473015017254 0ustar Description: Do not change mozilla css settings Do not change files ~/.mozilla/firefox/*.default/chrome/userChrome.css Bug-Debian: http://bugs.debian.org/590521 Author: Boris Pek Last-Update: 2012-11-23 --- a/style/qt_settings.c +++ b/style/qt_settings.c @@ -2114,11 +2114,16 @@ GdkColor *menu_col=SHADE_CUSTOM==opts.shadeMenubars ? &opts.customMenubarsColor : &qtSettings.colors[PAL_ACTIVE][COLOR_SELECTED]; +#ifdef QTC_MODIFY_MOZILLA gboolean add_menu_colors=SHADE_BLEND_SELECTED==opts.shadeMenubars || SHADE_SELECTED==opts.shadeMenubars || SHADE_WINDOW_BORDER==opts.shadeMenubars || opts.customMenuTextColor || !opts.useHighlightForMenu || (SHADE_CUSTOM==opts.shadeMenubars && TOO_DARK(*menu_col) ), add_btn_css=FALSE; +#else + gboolean add_menu_colors=FALSE, + add_btn_css=FALSE; +#endif mozVersion=getMozillaVersion(getpid()); #ifdef QTC_MODIFY_MOZILLA debian/patches/workaround-for-bug-in-libglib-2.36.10000644000000000000000000000541112151473015017025 0ustar Description: Workaround for bug in libglib >= 2.36.1 popen() is used instead of g_spawn_command_line_sync() Bug-Debian: http://bugs.debian.org/707946 Author: Boris Pek Last-Update: 2013-05-30 --- a/style/qt_settings.c +++ b/style/qt_settings.c @@ -61,8 +61,8 @@ static char * getKdeHome() static char *kdeHome=NULL; if(!kdeHome) - if(g_spawn_command_line_sync(qtSettings.qt4 ? "kde4-config --expandvars --localprefix" - : "kde-config --expandvars --localprefix", &kdeHome, NULL, NULL, NULL)) + if(runCommand(qtSettings.qt4 ? "kde4-config --expandvars --localprefix" + : "kde-config --expandvars --localprefix", &kdeHome)) { int len=strlen(kdeHome); @@ -337,7 +337,7 @@ static int getMozillaVersion(int pid) { char *version=0L; strcat(cmdline, " --version"); - if(g_spawn_command_line_sync(cmdline, &version, NULL, NULL, NULL)) + if(runCommand(cmdline, &version)) { char *dot=strchr(version, '.'); @@ -1324,8 +1324,8 @@ static const char * kdeIconsPrefix() static char *kdeIcons=NULL; if(!kdeIcons) - if(g_spawn_command_line_sync(qtSettings.qt4 ? "kde4-config --expandvars --install icon" - : "kde-config --expandvars --install icon", &kdeIcons, NULL, NULL, NULL)) + if(runCommand(qtSettings.qt4 ? "kde4-config --expandvars --install icon" + : "kde-config --expandvars --install icon", &kdeIcons)) { int len=strlen(kdeIcons); @@ -2991,3 +2991,23 @@ void qtSettingsSetColors(GtkStyle *style, GtkRcStyle *rc_style) SET_COLOR(style, rc_style, fg, GTK_RC_FG, GTK_STATE_ACTIVE, COLOR_WINDOW_TEXT) SET_COLOR(style, rc_style, fg, GTK_RC_FG, GTK_STATE_PRELIGHT, COLOR_WINDOW_TEXT) } + +bool runCommand(const char* cmd, char** result) +{ + FILE* fp = popen(cmd, "r"); + if(fp) + { + gulong bufSize=512; + size_t currentOffset=0; + *result=(char*)(g_malloc(bufSize)); + while(fgets(*result+currentOffset, bufSize-currentOffset, fp) && result[strlen(*result)-1] != '\n') + { + currentOffset = bufSize-1; + bufSize *= 2; + *result = (char*)(g_realloc(*result, bufSize)); + } + pclose(fp); + return true; + } + return false; +} --- a/style/qt_settings.h +++ b/style/qt_settings.h @@ -184,5 +184,6 @@ extern void qtSettingsSetColors(GtkStyle *style, GtkRcStyle *rc_style); extern char * getAppName(); extern bool haveAlternateListViewCol(); extern gboolean isMozilla(); +extern bool runCommand(const char* cmd, char** result); #endif debian/rules0000755000000000000000000000101212151473015010237 0ustar #!/usr/bin/make -f 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 override_dh_auto_configure: dh_auto_configure -- -DQTC_MODIFY_MOZILLA=false get-orig-source: uscan --noconf --verbose --force-download --rename --download-current-version .PHONY: override_dh_auto_test debian/copyright0000644000000000000000000000634412151473015011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Debianized-By: Bastian Venthur Debianized-Date: Fri, 25 May 2007 12:52:24 +0200 Upstream-Name: QtCurve Gtk2 Upstream-Contact: Craig Drummond Source: http://www.kde-look.org/content/show.php?content=40492 The orig.tar.bz2 is just renamed upstream tarball (without changes). See section get-orig-source in debian/rules file for details. Files: * Copyright: 2003-2010 Craig Drummond License: GPL-2 Files: common/colorutils.c common/common.c Copyright: 2007 Matthew Woehlke 2007 Olaf Schmidt License: LGPL-2+ Files: style/map_kde_icons.pl Copyright: 2007-2010 Craig Drummond License: GPL-2+ Files: debian/* Copyright: 2007-2008 Bastian Venthur 2009-2010 Fathi Boudra 2012-2013 Boris Pek License: GPL-2+ License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. License: GPL-2 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. License: LGPL-2+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2'.