Hello community, here is the log from the commit of package compton-conf for openSUSE:Factory checked in at 2016-10-13 11:28:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/compton-conf (Old) and /work/SRC/openSUSE:Factory/.compton-conf.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "compton-conf" Changes: -------- --- /work/SRC/openSUSE:Factory/compton-conf/compton-conf.changes 2015-02-03 11:39:52.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.compton-conf.new/compton-conf.changes 2016-10-13 11:28:29.000000000 +0200 @@ -1,0 +2,46 @@ +Sat Sep 24 22:31:52 UTC 2016 - [email protected] + +- Update to 0.2.0: + * Bump release to 0.2.0 (#33) + * Set default opacity for active windows to 1 + * Extend README.md + * Delete compton-conf_ru_RU.desktop + * build: Use external translations + * ts-files removal + * bump years + * Work around grep 2.23 new behaviour + * compton-conf is LGPL only + * don't track $IDE settings + * Fix language tag + * Update translations + * Fix LICENSE file + * Fix mixed indents + * fixed Comment[ru_RU] -> Comment[hu] + * Correctly include the CMake modules in intree/superbuild mode + * Hungarian translation + * .desktop: icon change + * Make Qt5 default Change the option to USE_QT4, defaulting to No + * CMakeLists.txt: do not completely overwrite CMAKE_CXX_FLAGS + * Corrected language code (de_DE -> de) of german translation, marked translations as done. + * README.md: fix download URL + * Add Portuguese language to GUI + * Added german translation. + * i18n/i10n: Fixes mistakes in the documentation + * lxqt_translate_desktop: pass -h instead of --no-filename to grep which is compatible with Busybox + * Portuguese update fixed + * add Japanese translation + * lxqt_translate_desktop: Updates code to cope with the cmake-policy CMP0054 + * Replace colon : with semicolon ; in README.md + * Adds .gitignore + * Add Russian translation + * Handles localization of .desktop files + * Updates translations + * Adds translations support + * Updates path to README.md + * Adds file-extension, screenshot & build instructios + * Add Qt5 support. +- Add keyring +- Delete compton-conf-0.1.0-fix_desktop_file.patch: use sed +- Delete compton-conf-qt5-support.patch: not needed anymore + +------------------------------------------------------------------- Old: ---- compton-conf-0.1.0-fix_desktop_file.patch compton-conf-0.1.0.tar.xz compton-conf-qt5-support.patch New: ---- compton-conf-0.2.0.tar.xz compton-conf.keyring ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ compton-conf.spec ++++++ --- /var/tmp/diff_new_pack.iPAHVg/_old 2016-10-13 11:28:30.000000000 +0200 +++ /var/tmp/diff_new_pack.iPAHVg/_new 2016-10-13 11:28:30.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package compton-conf # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,25 +17,28 @@ Name: compton-conf -Version: 0.1.0 +Version: 0.2.0 Release: 0 Summary: Compositor Configuration -License: GPL-2.0+ and LGPL-2.1+ -Group: System/GUI/LXDE-Qt -Url: http://www.lxde.org -Source: %{name}-%{version}.tar.xz -Patch0: %{name}-0.1.0-fix_desktop_file.patch -Patch1: %{name}-qt5-support.patch -BuildRequires: cmake +License: LGPL-2.1+ +Group: System/GUI/LXQt +Url: http://www.lxqt.org +Source0: https://downloads.lxqt.org/%{name}/%{version}/%{name}-%{version}.tar.xz +Source1: https://downloads.lxqt.org/%{name}/%{version}/%{name}-%{version}.tar.xz +Source2: %{name}.keyring +BuildRequires: cmake >= 3.0.2 BuildRequires: gcc-c++ -BuildRequires: pkg-config +BuildRequires: pkgconfig +BuildRequires: cmake(KF5WindowSystem) +BuildRequires: cmake(Qt5LinguistTools) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(libconfig) -BuildRequires: pkgconfig(Qt5UiTools) +BuildRequires: pkgconfig(lxqt) Requires: compton -Requires(pre): desktop-file-utils Requires(post): desktop-file-utils +Requires(pre): desktop-file-utils +Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -43,23 +46,20 @@ %prep %setup -q -%patch0 -p1 -%patch1 -p1 +sed -i '/Categories/s/\(LXQt\;\)/X-\1/' compton-conf.desktop.in %build -mkdir build -pushd build -cmake \ +%cmake \ -DUSE_QT5=ON \ - -DCMAKE_INSTALL_PREFIX:PATH=/usr \ - .. -%__make %{_smp_mflags} -popd + -DPULL_TRANSLATIONS=OFF +%make_jobs %install -pushd build -make DESTDIR=$RPM_BUILD_ROOT install -popd +%cmake_install + +# ERROR: Icon file not installed (preferences-system-windows) +mkdir -p %{buildroot}%{_datadir}/pixmaps +touch %{buildroot}%{_datadir}/pixmaps/preferences-system-windows %post %desktop_database_post @@ -69,9 +69,10 @@ %files %defattr(-,root,root) -%doc AUTHORS COPYING +%doc AUTHORS COPYING README.md %{_bindir}/compton-conf %{_datadir}/applications/*.desktop %{_datadir}/compton-conf +%ghost %{_datadir}/pixmaps/preferences-system-windows %changelog ++++++ compton-conf-0.1.0.tar.xz -> compton-conf-0.2.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compton-conf-0.1.0/.gitignore new/compton-conf-0.2.0/.gitignore --- old/compton-conf-0.1.0/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/compton-conf-0.2.0/.gitignore 2016-09-24 00:49:53.000000000 +0200 @@ -0,0 +1,3 @@ +build +*.kdev4 +translations/compton-conf diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compton-conf-0.1.0/AUTHORS new/compton-conf-0.2.0/AUTHORS --- old/compton-conf-0.1.0/AUTHORS 2014-05-07 07:08:13.000000000 +0200 +++ new/compton-conf-0.2.0/AUTHORS 2016-09-24 00:49:53.000000000 +0200 @@ -3,7 +3,7 @@ Hong Jen Yee (PCMan) <[email protected]> Copyright: - Copyright (c) 2013-2014 LXQt team + Copyright (c) 2013-2016 LXQt team -License: GPL-2 and LGPL-2.1+ +License: LGPL-2.1+ The full text of the licenses can be found in the 'COPYING' file. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compton-conf-0.1.0/CHANGELOG new/compton-conf-0.2.0/CHANGELOG --- old/compton-conf-0.1.0/CHANGELOG 1970-01-01 01:00:00.000000000 +0100 +++ new/compton-conf-0.2.0/CHANGELOG 2016-09-24 00:49:53.000000000 +0200 @@ -0,0 +1,54 @@ + +compton-conf-0.2.0 / 2016-09-24 +=============================== + + * Bump release to 0.2.0 (#33) + * Set default opacity for active windows to 1 + * Extend README.md + * Delete compton-conf_ru_RU.desktop + * build: Use external translations + * ts-files removal + * bump years + * Work around grep 2.23 new behaviour + * compton-conf is LGPL only + * don't track $IDE settings + * Fix language tag + * Update translations + * Fix LICENSE file + * Fix mixed indents + * fixed Comment[ru_RU] -> Comment[hu] + * Correctly include the CMake modules in intree/superbuild mode + * Hungarian translation + * .desktop: icon change + * Make Qt5 default Change the option to USE_QT4, defaulting to No + * CMakeLists.txt: do not completely overwrite CMAKE_CXX_FLAGS + * Corrected language code (de_DE -> de) of german translation, marked translations as done. + * README.md: fix download URL + * Add Portuguese language to GUI + * Added german translation. + * i18n/i10n: Fixes mistakes in the documentation + * lxqt_translate_desktop: pass -h instead of --no-filename to grep which is compatible with Busybox + * Portuguese update fixed + * add Japanese translation + * lxqt_translate_desktop: Updates code to cope with the cmake-policy CMP0054 + * Replace colon : with semicolon ; in README.md + * Adds .gitignore + * Add Russian translation + * Handles localization of .desktop files + * Updates translations + * Adds translations support + * Updates path to README.md + * Adds file-extension, screenshot & build instructios + * Add Qt5 support. + +0.1.0 / 2014-05-07 +================== + + * Update desktop file + * Update README/COPYING/AUTHORS + * add desktop file for compron-conf + * Add a basic about dialog. Try to load translation files. + * Re-gain focus after reloading compton. + * Support chaging shadow color. Set correct ranges on spiin buttons. + * Add default configs, Implement saving config files. + * Initial commit. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compton-conf-0.1.0/CMakeLists.txt new/compton-conf-0.2.0/CMakeLists.txt --- old/compton-conf-0.1.0/CMakeLists.txt 2014-05-07 07:08:13.000000000 +0200 +++ new/compton-conf-0.2.0/CMakeLists.txt 2016-09-24 00:49:53.000000000 +0200 @@ -2,8 +2,30 @@ cmake_minimum_required(VERSION 2.8.6) -# Qt -find_package(Qt4 REQUIRED QtCore QtGui QtDbus) +option(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files" OFF) + +#Note: no run-time dependency on liblxqt, just a build dependency for lxqt_translate_ts/desktop +find_package(lxqt REQUIRED) +include(LXQtTranslateTs) +include(LXQtTranslateDesktop) + +# Support Qt4 +option(USE_QT4 "Build with Qt4." $ENV{USE_QT4}) +set(CMAKE_INCLUDE_CURRENT_DIR ON) +set(CMAKE_POSITION_INDEPENDENT_CODE ON) +set(CMAKE_AUTOMOC ON) + +if(USE_QT4) + find_package(Qt4 REQUIRED QtCore QtGui QtDbus) + include(${QT_USE_FILE}) + message(STATUS "Building with Qt${QTVERSION}") +else() + cmake_minimum_required(VERSION 2.8.11) + find_package(Qt5Widgets REQUIRED) + find_package(Qt5DBus REQUIRED) + find_package(Qt5LinguistTools REQUIRED QUIET) + message(STATUS "Building with Qt${Qt5Core_VERSION_STRING}") +endif() # libconfig using pkg-config find_package(PkgConfig REQUIRED) @@ -13,15 +35,27 @@ include(GNUInstallDirs REQUIRED) -set(CMAKE_CXX_FLAGS "-DQT_NO_KEYWORDS -fno-exceptions") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DQT_NO_KEYWORDS -fno-exceptions") + +if(USE_QT4) + set(QTX_INCLUDE_DIRS ${QT_QTCORE_INCLUDE_DIR} ${QT_QTGUI_INCLUDE_DIR} ${QT_QTDBUS_DIR}) + set(QTX_LIBRARIES ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTDBUS_LIBRARY}) +else() + set(QTX_INCLUDE_DIRS "") + set(QTX_LIBRARIES Qt5::Widgets Qt5::DBus) +endif() include_directories( - ${QT_INCLUDES} + ${QTX_INCLUDE_DIRS} ${LIBCONFIG_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR} ) -set(CMAKE_AUTOMOC TRUE) + +set(compton-conf_HS + compton-conf.h + maindialog.h +) set(compton-conf_SRCS maindialog.cpp @@ -32,10 +66,37 @@ maindialog.ui ) -qt4_wrap_ui(compton-conf_UI_H - ${compton-conf_UIS} +set(compton-conf_DESKTOP_FILES_IN + compton-conf.desktop.in ) +lxqt_translate_ts(compton-conf_QM_FILES + USE_QT4 ${USE_QT4} + UPDATE_TRANSLATIONS ${UPDATE_TRANSLATIONS} + SOURCES + ${compton-conf_HS} + ${compton-conf_SRCS} + ${compton-conf_UIS} + INSTALL_DIR + ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}/translations + PULL_TRANSLATIONS + ${PULL_TRANSLATIONS} + CLEAN_TRANSLATIONS + ${CLEAN_TRANSLATIONS} + TRANSLATIONS_REPO + ${TRANSLATIONS_REPO} + TRANSLATIONS_REFSPEC + ${TRANSLATIONS_REFSPEC} +) + +lxqt_translate_desktop(compton-conf_DESKTOP_FILES SOURCES ${compton-conf_DESKTOP_FILES_IN}) + +if(USE_QT4) + qt4_wrap_ui(compton-conf_UI_H ${compton-conf_UIS}) +else() + qt5_wrap_ui(compton-conf_UI_H ${compton-conf_UIS}) +endif() + add_definitions( -DCOMPTON_CONF_DATA_DIR="${CMAKE_INSTALL_FULL_DATADIR}/compton-conf" ) @@ -43,28 +104,29 @@ add_executable(compton-conf ${compton-conf_SRCS} ${compton-conf_UI_H} + ${compton-conf_QM_FILES} + ${compton-conf_QM_LOADER} + ${compton-conf_DESKTOP_FILES} ) target_link_libraries(compton-conf - ${QT_QTCORE_LIBRARY} - ${QT_QTGUI_LIBRARY} - ${QT_QTDBUS_LIBRARY} + ${QTX_LIBRARIES} ${LIBCONFIG_LIBRARIES} ) install(TARGETS compton-conf RUNTIME DESTINATION bin) install(FILES compton.conf.example DESTINATION ${CMAKE_INSTALL_DATADIR}/compton-conf) -install(FILES compton-conf.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications/) +install(FILES ${compton-conf_DESKTOP_FILES} DESTINATION ${CMAKE_INSTALL_DATADIR}/applications/) # building tarball with CPack ------------------------------------------------- # To create a source distribution, type: # make package_source include (InstallRequiredSystemLibraries) set (CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING") -set (CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/README") +set (CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/README.md") set (CPACK_PACKAGE_VENDOR "") set (CPACK_PACKAGE_VERSION_MAJOR "0") -set (CPACK_PACKAGE_VERSION_MINOR "1") +set (CPACK_PACKAGE_VERSION_MINOR "2") set (CPACK_PACKAGE_VERSION_PATCH "0") set (CPACK_GENERATOR TBZ2) set (CPACK_SOURCE_GENERATOR TBZ2) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compton-conf-0.1.0/COPYING new/compton-conf-0.2.0/COPYING --- old/compton-conf-0.1.0/COPYING 2014-05-07 07:08:13.000000000 +0200 +++ new/compton-conf-0.2.0/COPYING 2016-09-24 00:49:53.000000000 +0200 @@ -1,9 +1,8 @@ - GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -23,8 +22,7 @@ Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations -below. +strategy to use in any particular case, based on the explanations below. When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that @@ -89,9 +87,9 @@ special circumstances. For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it -becomes a de-facto standard. To achieve this, non-free programs must -be allowed to use the library. A more frequent case is that a free +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. @@ -138,8 +136,8 @@ "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control -compilation and installation of the library. +interface definition files, plus the scripts used to control compilation +and installation of the library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of @@ -305,10 +303,10 @@ the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. - c) Accompany the work with a written offer, valid for at least - three years, to give the same user the materials specified in - Subsection 6a, above, for a charge no more than the cost of - performing this distribution. + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above @@ -386,10 +384,9 @@ the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply, and the section as a whole is intended to apply in other -circumstances. +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any @@ -407,11 +404,11 @@ 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License -may add an explicit geographical distribution limitation excluding those -countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. 13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compton-conf-0.1.0/README new/compton-conf-0.2.0/README --- old/compton-conf-0.1.0/README 2014-05-07 07:08:13.000000000 +0200 +++ new/compton-conf-0.2.0/README 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ -# compton-conf - -Qt configuration tool for X composite manager [Compton](https://github.com/chjj/compton). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compton-conf-0.1.0/README.md new/compton-conf-0.2.0/README.md --- old/compton-conf-0.1.0/README.md 1970-01-01 01:00:00.000000000 +0100 +++ new/compton-conf-0.2.0/README.md 2016-09-24 00:49:53.000000000 +0200 @@ -0,0 +1,25 @@ +# compton-conf + +## Overview + +compton-conf is a configuration tool for X composite manager [Compton](https://github.com/chjj/compton). + + + +It is maintained by the LXQt project but can be used independently from this desktop environment. + +## Installation + +### Compiling source code + +Runtime dependencies are libconfig and qtbase. +Additional build dependencies are CMake and [liblxqt](https://github.com/lxde/liblxqt) as well as optionally Git to pull latest VCS checkouts. The localization files were outsourced to repository [lxqt-l10n](https://github.com/lxde/lxqt-l10n) so the corresponding dependencies are needed, too. Please refer to this repository's `README.md` for further information. + +Code configuration is handled by CMake. CMake variable `CMAKE_INSTALL_PREFIX` has to be set to `/usr` on most operating systems. + +To build run `make`, to install `make install` which accepts variable `DESTDIR` as usual. + +### Binary packages + +Official binary packages are available in Arch Linux, Debian (as of Debian stretch) and openSUSE (Leap 42.1 and Tumbleweed). +The tool is missing in Fedora so far. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compton-conf-0.1.0/compton-conf.desktop new/compton-conf-0.2.0/compton-conf.desktop --- old/compton-conf-0.1.0/compton-conf.desktop 2014-05-07 07:08:13.000000000 +0200 +++ new/compton-conf-0.2.0/compton-conf.desktop 1970-01-01 01:00:00.000000000 +0100 @@ -1,9 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Window Effects -GenericName=Compton Configuration -Comment=Configure Compton window effects -TryExec=compton-conf -Exec=compton-conf -Icon=preferences-desktop-display -Categories=Settings;DesktopSettings;Qt;LXQt; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compton-conf-0.1.0/compton-conf.desktop.in new/compton-conf-0.2.0/compton-conf.desktop.in --- old/compton-conf-0.1.0/compton-conf.desktop.in 1970-01-01 01:00:00.000000000 +0100 +++ new/compton-conf-0.2.0/compton-conf.desktop.in 2016-09-24 00:49:53.000000000 +0200 @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Name=Window Effects +GenericName=Compton Configuration +Comment=Configure Compton window effects +TryExec=compton-conf +Exec=compton-conf +Icon=preferences-system-windows +Categories=Settings;DesktopSettings;Qt;LXQt; + +#TRANSLATIONS_DIR=translations diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compton-conf-0.1.0/compton-conf.kdev4 new/compton-conf-0.2.0/compton-conf.kdev4 --- old/compton-conf-0.1.0/compton-conf.kdev4 2014-05-07 07:08:13.000000000 +0200 +++ new/compton-conf-0.2.0/compton-conf.kdev4 1970-01-01 01:00:00.000000000 +0100 @@ -1,4 +0,0 @@ -[Project] -Name=compton-conf -Manager=KDevCMakeManager -VersionControl= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compton-conf-0.1.0/compton.conf.example new/compton-conf-0.2.0/compton.conf.example --- old/compton-conf-0.1.0/compton.conf.example 2014-05-07 07:08:13.000000000 +0200 +++ new/compton-conf-0.2.0/compton.conf.example 2016-09-24 00:49:53.000000000 +0200 @@ -19,7 +19,7 @@ # Opacity menu-opacity = 0.8; inactive-opacity = 0.8; -active-opacity = 0.8; +active-opacity = 1.0; frame-opacity = 0.7; inactive-opacity-override = false; alpha-step = 0.06; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compton-conf-0.1.0/maindialog.cpp new/compton-conf-0.2.0/maindialog.cpp --- old/compton-conf-0.1.0/maindialog.cpp 2014-05-07 07:08:13.000000000 +0200 +++ new/compton-conf-0.2.0/maindialog.cpp 2016-09-24 00:49:53.000000000 +0200 @@ -1,21 +1,21 @@ /* * <one line to give the library's name and an idea of what it does.> * Copyright (C) 2013 <copyright holder> <email> - * + * * This library 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.1 of the License, or (at your option) any later version. - * + * * This library 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 * Lesser General Public License for more details. - * + * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * + * */ #include "maindialog.h" @@ -80,19 +80,19 @@ if(child->inherits("QCheckBox")) { int val = -1; if(config_lookup_bool(&config_, keyName.constData(), &val) == CONFIG_TRUE) - static_cast<QCheckBox*>(child)->setChecked((bool)val); + static_cast<QCheckBox*>(child)->setChecked((bool)val); connect(child, SIGNAL(toggled(bool)), SLOT(onButtonToggled(bool))); } else if(child->inherits("QDoubleSpinBox")) { double val; if(config_lookup_float(&config_, keyName.constData(), &val) == CONFIG_TRUE) - static_cast<QDoubleSpinBox*>(child)->setValue(val); + static_cast<QDoubleSpinBox*>(child)->setValue(val); connect(child, SIGNAL(valueChanged(double)), SLOT(onSpinValueChanged(double))); } else if(child->inherits("QSpinBox")) { int val; if(config_lookup_int(&config_, keyName.constData(), &val) == CONFIG_TRUE) - static_cast<QSpinBox*>(child)->setValue(val); + static_cast<QSpinBox*>(child)->setValue(val); connect(child, SIGNAL(valueChanged(int)), SLOT(onSpinValueChanged(int))); } } @@ -134,7 +134,7 @@ qDebug() << userConfigFile_; // save the config file config_write_file(&config_, userConfigFile_.toLocal8Bit().constData()); - + // ask compton to reload the config QString displayName = qgetenv("DISPLAY"); for(int i = 0; i < displayName.length(); ++i) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compton-conf-0.1.0/translations/compton-conf_de.desktop new/compton-conf-0.2.0/translations/compton-conf_de.desktop --- old/compton-conf-0.1.0/translations/compton-conf_de.desktop 1970-01-01 01:00:00.000000000 +0100 +++ new/compton-conf-0.2.0/translations/compton-conf_de.desktop 2016-09-24 00:49:53.000000000 +0200 @@ -0,0 +1,6 @@ +[Desktop Entry] +Name[de]=Fenstereffekte +GenericName[de]=Compton Konfiguration +Comment[de]=Konfiguriere Compton-Fenstereffekte + +#TRANSLATIONS_DIR=translations diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compton-conf-0.1.0/translations/compton-conf_hu.desktop new/compton-conf-0.2.0/translations/compton-conf_hu.desktop --- old/compton-conf-0.1.0/translations/compton-conf_hu.desktop 1970-01-01 01:00:00.000000000 +0100 +++ new/compton-conf-0.2.0/translations/compton-conf_hu.desktop 2016-09-24 00:49:53.000000000 +0200 @@ -0,0 +1,6 @@ +[Desktop Entry] +Name[hu]=Ablakhatások +GenericName[hu]=Compton beállítás +Comment[hu]=Compton-ablakhatások beállítása + +#TRANSLATIONS_DIR=translations diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compton-conf-0.1.0/translations/compton-conf_ja.desktop new/compton-conf-0.2.0/translations/compton-conf_ja.desktop --- old/compton-conf-0.1.0/translations/compton-conf_ja.desktop 1970-01-01 01:00:00.000000000 +0100 +++ new/compton-conf-0.2.0/translations/compton-conf_ja.desktop 2016-09-24 00:49:53.000000000 +0200 @@ -0,0 +1,6 @@ +[Desktop Entry] +Name[ja]=ウインドウ効果 +GenericName[ja]=Comptonの設定 +Comment[ja]=Comptonのウインドウ効果の設定 + +#TRANSLATIONS_DIR=translations diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compton-conf-0.1.0/translations/compton-conf_pt.desktop new/compton-conf-0.2.0/translations/compton-conf_pt.desktop --- old/compton-conf-0.1.0/translations/compton-conf_pt.desktop 1970-01-01 01:00:00.000000000 +0100 +++ new/compton-conf-0.2.0/translations/compton-conf_pt.desktop 2016-09-24 00:49:53.000000000 +0200 @@ -0,0 +1,3 @@ +Name[pt]=Efeitos de janelas +GenericName[pt]=Configuração do Compton +Comment[pt]=Configurar os efeitos de janelas diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compton-conf-0.1.0/translations/compton-conf_ru.desktop new/compton-conf-0.2.0/translations/compton-conf_ru.desktop --- old/compton-conf-0.1.0/translations/compton-conf_ru.desktop 1970-01-01 01:00:00.000000000 +0100 +++ new/compton-conf-0.2.0/translations/compton-conf_ru.desktop 2016-09-24 00:49:53.000000000 +0200 @@ -0,0 +1,6 @@ +[Desktop Entry] +Name[ru]=Эффекты окна +GenericName[ru]=Настройка Compton +Comment[ru]=Настроить эффекты окна Compton + +#TRANSLATIONS_DIR=translations
