Cherry-picking upstream release 0.11.0.

* Added build dependency libqt5svg5-dev
* Bumped compat to 10
* Bumped minimum version debhelper (>= 10)
* Bumped minimum version libqtxdg-dev (>= 2.0.0)
* Bumped minimum version libqt5xdgiconloader-dev (>= 2.0.0)
* Bumped build dependency liblxqt-dev (>= 0.11.0)
* Removed --parallel from rules, standard in compat 10
experimental/0.11.0-1
Alf Gaida 8 years ago
parent 422d689819
commit f7218efb0b

2
.gitignore vendored

@ -0,0 +1,2 @@
build
*.kdev4

@ -0,0 +1,72 @@
lxqt-qtplugin-0.11.0 / 2016-09-24
=================================
* Add Qt5XdgIconLoader as dependency (#13)
* Update README.md
* statusnotifieritem: Correctly handle menu
* Cleaned up licenses
* Use XdgIconLoader library (#10)
* xdgIconThemePaths: Use QString::SkipEmptyParts
* xdgIconThemePaths: Remove duplicated paths
* Adds $XDG_DATA_HOME to the XdgIconThemePaths
* Bump year in AUTHORS
0.10.0 / 2015-11-02
===================
* Remove unnecessary qDebug calls
* Use markdown for README
* Fix license file
* Fix mixed indents
* Remove Qt >= 5.3 check
* Removed GPL2, added Digia Qt LGPL Exception version 1.1
* SNI: don't create a SNI if support isn't available
* SNI: monitor the watcher in case the host restarts
* SNI: implement scroll, showMessage and improve icons
* SNI: create default context menu
* Support the StatusNotifierItem spec natively
* Use the standard palette of the current Qt theme
* Handles CMake policy CMP0063
* Use the LXQtCompilerSettings CMake module
* Add .gitignore
* Updates the build system to use the Targets infrastructure
* Remove trailing whitespaces
* removed debug (which makes every app too verbose)
0.9.0 / 2015-01-19
==================
* Try to workaround bug #441 - All LXQt::Settings and QSettings file change monitoring stop working.
* - Unify naming for a unique lxqt. No more suffixes
* Qt5: Use XDG_DATA_DIR for themeHint::IconThemeSearchPaths
* CMakeLists.txt cleanuop and drop Qt4 support
0.8.0 / 2014-07-18
==================
* Apply the default application font on program startup.
* Apply the new font to all apps correctly and fix lxde/lxde-qt bug #212 - Changing font or theme in lxqt-config-appearance has no effect.
* Make the code compile with Qt 5.2, fix lxde-qt bug #207.
* Fix lxde-qt bug #207: lxqt-qtplugin fail to build with Qt5.
* Use qmake to query the path of Qt5 plugin dir, which is much more reliable.
* Update README and provide information for usage and debugging.
* Use a more reliable and portable way to get the path of Qt5 plugin dir.
* Support setting default UI font.
* Make "oxygen" the default icon theme name. * Apply new style name and icon theme name when the config file is changed.
* Simplify the Qt5 plugin and remove liblxqt dependency from it.
* Correctly read config values.
* Try to load some Qt settings.
* Implement a very basic Qt5 platform theme plugin.
* Prepare for Qt5 support.
* Use preferred header style.
* Remove unnecessary debug messages.
* Fix int-to-enum casting
0.7.0 / 2014-04-29
==================
* Update AUTHORS and COPYING
* Add CPack rules for creating tarball
* Support toolbar styles and activating items with single click.
* Initial import.

@ -11,6 +11,7 @@ find_package(Qt5DBus REQUIRED QUIET)
find_package(dbusmenu-qt5 REQUIRED QUIET)
find_package(lxqt REQUIRED QUIET)
find_package(Qt5XdgIconLoader REQUIRED QUIET)
include(LXQtCompilerSettings NO_POLICY_SCOPE)

@ -1,14 +1,27 @@
# libqtlxqt
# lxqt-qtplugin
LXQt system integration plugin for Qt.
## Overview
With this plugin, all Qt-based programs can adopt settings of
LXQt, such as the icon theme.
This repository is providing a library `libqtlxqt` to integrate Qt with LXQt.
To use the plugin in Qt 5, we have to export the environment
variable QT_QPA_PLATFORMTHEME=lxqt. Then every Qt5 program
can load the theme plugin.
If, for some unknown reasons, the plugin is not loaded, we can
debug the plugin by exporting QT_DEBUG_PLUGINS=1.
Then, Qt5 will print detailed information and error messages
about all plugins in the console when running any Qt5 programs.
With this plugin, all Qt-based programs can adopt settings of LXQt, such as the icon theme.
## Installation
### Compiling source code
Runtime dependencies are libdbusmenu-qt5 and [liblxqt](https://github.com/lxde/liblxqt).
Additional build dependencies are CMake and qttools, optionally Git to pull latest VCS checkouts.
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 provided by all major Linux distributions like Arch Linux, Debian (as of Debian stretch only), Fedora and openSUSE. Just use your package manager to search for string `lxqt-qtplugin`.
## Configuration, Usage
To use the plugin in Qt 5, we have to export environment variable `QT_QPA_PLATFORMTHEME=lxqt`. Then every Qt5 program can load the theme plugin.
If, for some unknown reasons, the plugin is not loaded, we can debug the plugin by exporting `QT_DEBUG_PLUGINS=1`. Then, Qt5 will print detailed information and error messages about all plugins in the console when running any Qt5 programs.

13
debian/changelog vendored

@ -1,3 +1,16 @@
lxqt-qtplugin (0.11.0-1) experimental; urgency=medium
* Cherry-picking upstream release 0.11.0.
* Added build dependency libqt5svg5-dev
* Bumped compat to 10
* Bumped minimum version debhelper (>= 10)
* Bumped minimum version libqtxdg-dev (>= 2.0.0)
* Bumped minimum version libqt5xdgiconloader-dev (>= 2.0.0)
* Bumped build dependency liblxqt-dev (>= 0.11.0)
* Removed --parallel from rules, standard in compat 10
-- Alf Gaida <agaida@siduction.org> Sun, 25 Sep 2016 19:02:25 +0200
lxqt-qtplugin (0.10.96~8-g411f696-1) experimental; urgency=medium
* Cherry-picking upstream version 0.10.96~8-g411f696.

9
debian/control vendored

@ -9,17 +9,18 @@ Build-Depends: debhelper (>= 10),
cmake (>= 3.0.2),
libdbusmenu-qt5-dev,
libkf5windowsystem-dev,
liblxqt0-dev (>= 0.10.96~),
liblxqt0-dev (>= 0.11.0),
libqt5svg5-dev,
libqt5x11extras5-dev,
libqt5xdg-dev (>= 1.3.1~),
libqt5xdgiconloader-dev (>= 1.3.1~),
libqt5xdg-dev (>= 2.0.0),
libqt5xdgiconloader-dev (>= 2.0.0),
libx11-dev,
pkg-config,
qtbase5-private-dev,
qttools5-dev,
qttools5-dev-tools
Standards-Version: 3.9.8
Vcs-Browser: https://anonscm.debian.org/git/pkg-lxqt/lxqt-qtplugin.git/?h=debian/experimental
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-lxqt/lxqt-qtplugin.git/?h=debian/experimental
Vcs-Git: https://anonscm.debian.org/git/pkg-lxqt/lxqt-qtplugin.git -b debian/experimental
Homepage: https://github.com/lxde/lxqt-qtplugin

3
debian/rules vendored

@ -6,8 +6,7 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh ${@} --buildsystem cmake\
--parallel
dh ${@} --buildsystem cmake
override_dh_auto_configure:
dh_auto_configure --\

Loading…
Cancel
Save