* Synced debian foo with experimental * Added Multi-Arch: same, following the Multiarch hinter * Bumped compat to 10 * Removed --parallel from rules, standard in compat 10 * Bumped Standards to 3.9.8, no changes needed * Bumped minimum version debhelper (>= 10) * Bumped minimum version liblxqt-dev (>= 0.11.0) * Bumped minimum version libqtxdg-dev (>= 2.0.0) * Added build dependency libqt5svg5-dev * Added build dependency libqt5xdgiconloader-dev * Fixed VCS fields, using https and plain /git/ * Removed README.debian, no longer needed * Fixed copyrights Format field to https * Bumped years in copyrights * Fixed copyrights Source field * Removed outdated file and license from copyrights * Added hardening options * Added translation control to rules * Set CMAKE_BUILD_TYPE=RelWithDebInfo * Exported LC_ALL=C.UTF-8, make builds reproducible * Added a basic gbp.confubuntu/bionic debian/0.11.0-3
parent
488517dc24
commit
651f286425
@ -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.
|
@ -1,25 +0,0 @@
|
||||
Digia Qt LGPL Exception version 1.1
|
||||
===================================
|
||||
|
||||
As an additional permission to the GNU Lesser General Public License version
|
||||
2.1, the object code form of a "work that uses the Library" may incorporate
|
||||
material from a header file that is part of the Library. You may distribute
|
||||
such object code under terms of your choice, provided that:
|
||||
|
||||
(i) the header files of the Library have not been modified; and
|
||||
(ii) the incorporated material is limited to numerical parameters, data
|
||||
structure layouts, accessors, macros, inline functions and
|
||||
templates; and
|
||||
(iii) you comply with the terms of Section 6 of the GNU Lesser General
|
||||
Public License version 2.1.
|
||||
|
||||
Moreover, you may apply this exception to a modified version of the Library,
|
||||
provided that such modification does not involve copying material from the
|
||||
Library into the modified Library's header files unless such material is
|
||||
limited to (i) numerical parameters; (ii) data structure layouts;
|
||||
(iii) accessors; and (iv) small macros, templates and inline functions of
|
||||
five lines or less in length.
|
||||
|
||||
Furthermore, you are not required to apply this additional permission to a
|
||||
modified version of the Library.
|
||||
|
@ -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.
|
||||
|
@ -1,4 +0,0 @@
|
||||
lxqt-qtplugin for Debian
|
||||
------------------------
|
||||
|
||||
'LGPL_EXCEPTION.txt' move to debian/copyright LGPL-2.1-or-3-with-Digia-1.1-exception section.
|
@ -1 +1 @@
|
||||
9
|
||||
10
|
||||
|
@ -0,0 +1,8 @@
|
||||
[DEFAULT]
|
||||
debian-branch = debian/sid
|
||||
upstream-branch = upstream/latest
|
||||
pristine-tar = True
|
||||
|
||||
[import-orig]
|
||||
# Use git cherrypick -n upstream instead.
|
||||
merge = False
|
@ -1,8 +1,15 @@
|
||||
#!/usr/bin/make -f
|
||||
#export DH_VERBOSE=1
|
||||
# export DH_VERBOSE=1
|
||||
|
||||
export LC_ALL=C.UTF-8
|
||||
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 --\
|
||||
-DPULL_TRANSLATIONS=OFF\
|
||||
-DUPDATE_TRANSLATIONS=OFF\
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
|
@ -1,63 +1,50 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
mQINBFJevCYBEACx+Hvy+Vsuf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8EGAECAAkFAlXQeMMCGwwA
|
||||
CgkQQsnI069epeMt0g/+JrwLhULD6NOxaLgxboh/KZkh/7ViU4cB+QPT8JIcWxkZ
|
||||
zj8uk85TUitEUzKmjp/ItCrhQE5WNNWbz/FBnAuLtaQuHhcHMA3Vu95UUCGi1vyZ
|
||||
ZRlS3YRM6S9BOzrjG7fGQJmO/RU3g6rb0TAwGFxDHj8t4JEDTc3zASG7wV/VTn06
|
||||
d8XIH9CZOw3kUuhkQ3OR/PEj1BCeCC+caC+tBjO0fgvDp8RV7NFQQ9kH8R3/xlWd
|
||||
6KMPtILE6fUft6LubWRGd1P5JBuzXivELolASajewbYtL/s87CCji3ngq0aT9raK
|
||||
m02wqFzNbX1iv+w2iqPQXq6pdRyxtJ8+Q8Z7zEBGJS5nkrYjsLTduZIjJHYHYH7f
|
||||
3/ydVjQ3z12iqHKElgaRI7RUmpNiNxVIr+TtuxzeC6G+CF++XNkUtJODvCmRaoJS
|
||||
waYsitz8+LSv3tawZJ0iQkKc9nerQMuBD+AzIr3i4NgXiEIN513esUtnKzeyIIsL
|
||||
ntUcBjXKuLCj8OZrZtexjq7edWWbN57/3ikyS2Z7y0i3O30qk5jmccSaS6kA7xTY
|
||||
WCDFzbN2v2y+vGu9KYn+2HtrP2BtNa8JTh3waNeLUTpn4GV4mMrsZjOy6vhhHb91
|
||||
1TKfI1gvjk7lE9xaWmcDjdI55dw3jIq8kK9SdgORGq9/S3g7KJNRjme+6GjqQfk=
|
||||
=h7ww
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
|
@ -1,3 +1,3 @@
|
||||
version=3
|
||||
version=4
|
||||
opts="pgpsigurlmangle=s/$/.asc/" \
|
||||
https://github.com/lxde/lxqt-qtplugin/releases .*/([\d\.]+).tar.gz
|
||||
https://github.com/lxde/lxqt-qtplugin/releases .*/lxqt-qtplugin-([\d\.]+).tar.xz
|
||||
|
@ -1,194 +0,0 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
|
||||
** Contact: http://www.qt-project.org/legal
|
||||
**
|
||||
** This file is part of the QtGui module of the Qt Toolkit.
|
||||
**
|
||||
** $QT_BEGIN_LICENSE:LGPL$
|
||||
** Commercial License Usage
|
||||
** Licensees holding valid commercial Qt licenses may use this file in
|
||||
** accordance with the commercial license agreement provided with the
|
||||
** Software or, alternatively, in accordance with the terms contained in
|
||||
** a written agreement between you and Digia. For licensing terms and
|
||||
** conditions see http://qt.digia.com/licensing. For further information
|
||||
** use the contact form at http://qt.digia.com/contact-us.
|
||||
**
|
||||
** GNU Lesser General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
** General Public License version 2.1 as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.LGPL included in the
|
||||
** packaging of this file. Please review the following information to
|
||||
** ensure the GNU Lesser General Public License version 2.1 requirements
|
||||
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
**
|
||||
** In addition, as a special exception, Digia gives you certain additional
|
||||
** rights. These rights are described in the Digia Qt LGPL Exception
|
||||
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
**
|
||||
** GNU General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU
|
||||
** General Public License version 3.0 as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL included in the
|
||||
** packaging of this file. Please review the following information to
|
||||
** ensure the GNU General Public License version 3.0 requirements will be
|
||||
** met: http://www.gnu.org/copyleft/gpl.html.
|
||||
**
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QICONLOADER_P_H
|
||||
#define QICONLOADER_P_H
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
#ifndef QT_NO_ICON
|
||||
//
|
||||
// W A R N I N G
|
||||
// -------------
|
||||
//
|
||||
// This file is not part of the Qt API. It exists purely as an
|
||||
// implementation detail. This header file may change from version to
|
||||
// version without notice, or even be removed.
|
||||
//
|
||||
// We mean it.
|
||||
//
|
||||
|
||||
#include <QtGui/QIcon>
|
||||
#include <QtGui/QIconEngine>
|
||||
#include <QtGui/QPixmapCache>
|
||||
#include <private/qicon_p.h>
|
||||
#include <private/qfactoryloader_p.h>
|
||||
#include <QtCore/QHash>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class QIconLoader;
|
||||
|
||||
struct QIconDirInfo
|
||||
{
|
||||
enum Type { Fixed, Scalable, Threshold };
|
||||
QIconDirInfo(const QString &_path = QString()) :
|
||||
path(_path),
|
||||
size(0),
|
||||
maxSize(0),
|
||||
minSize(0),
|
||||
threshold(0),
|
||||
type(Threshold) {}
|
||||
QString path;
|
||||
short size;
|
||||
short maxSize;
|
||||
short minSize;
|
||||
short threshold;
|
||||
Type type : 4;
|
||||
};
|
||||
|
||||
class QIconLoaderEngineEntry
|
||||
{
|
||||
public:
|
||||
virtual ~QIconLoaderEngineEntry() {}
|
||||
virtual QPixmap pixmap(const QSize &size,
|
||||
QIcon::Mode mode,
|
||||
QIcon::State state) = 0;
|
||||
QString filename;
|
||||
QIconDirInfo dir;
|
||||
static int count;
|
||||
};
|
||||
|
||||
struct ScalableEntry : public QIconLoaderEngineEntry
|
||||
{
|
||||
QPixmap pixmap(const QSize &size, QIcon::Mode mode, QIcon::State state);
|
||||
QIcon svgIcon;
|
||||
};
|
||||
|
||||
struct PixmapEntry : public QIconLoaderEngineEntry
|
||||
{
|
||||
QPixmap pixmap(const QSize &size, QIcon::Mode mode, QIcon::State state);
|
||||
QPixmap basePixmap;
|
||||
};
|
||||
|
||||
typedef QList<QIconLoaderEngineEntry*> QThemeIconEntries;
|
||||
|
||||
class QIconLoaderEngine : public QIconEngine
|
||||
{
|
||||
public:
|
||||
QIconLoaderEngine(const QString& iconName = QString());
|
||||
~QIconLoaderEngine();
|
||||
|
||||
void paint(QPainter *painter, const QRect &rect, QIcon::Mode mode, QIcon::State state);
|
||||
QPixmap pixmap(const QSize &size, QIcon::Mode mode, QIcon::State state);
|
||||
QSize actualSize(const QSize &size, QIcon::Mode mode, QIcon::State state);
|
||||
QIconEngine *clone() const;
|
||||
bool read(QDataStream &in);
|
||||
bool write(QDataStream &out) const;
|
||||
|
||||
private:
|
||||
QString key() const;
|
||||
bool hasIcon() const;
|
||||
void ensureLoaded();
|
||||
void virtual_hook(int id, void *data);
|
||||
QIconLoaderEngineEntry *entryForSize(const QSize &size);
|
||||
QIconLoaderEngine(const QIconLoaderEngine &other);
|
||||
QThemeIconEntries m_entries;
|
||||
QString m_iconName;
|
||||
uint m_key;
|
||||
|
||||
friend class QIconLoader;
|
||||
};
|
||||
|
||||
class QIconTheme
|
||||
{
|
||||
public:
|
||||
QIconTheme(const QString &name);
|
||||
QIconTheme() : m_valid(false) {}
|
||||
QStringList parents() { return m_parents; }
|
||||
QList <QIconDirInfo> keyList() { return m_keyList; }
|
||||
QString contentDir() { return m_contentDir; }
|
||||
bool isValid() { return m_valid; }
|
||||
|
||||
private:
|
||||
QString m_contentDir;
|
||||
QList <QIconDirInfo> m_keyList;
|
||||
QStringList m_parents;
|
||||
bool m_valid;
|
||||
};
|
||||
|
||||
class Q_GUI_EXPORT QIconLoader : public QObject
|
||||
{
|
||||
public:
|
||||
QIconLoader();
|
||||
QThemeIconEntries loadIcon(const QString &iconName) const;
|
||||
uint themeKey() const { return m_themeKey; }
|
||||
|
||||
QString themeName() const { return m_userTheme.isEmpty() ? m_systemTheme : m_userTheme; }
|
||||
void setThemeName(const QString &themeName);
|
||||
QIconTheme theme() { return themeList.value(themeName()); }
|
||||
void setThemeSearchPath(const QStringList &searchPaths);
|
||||
QStringList themeSearchPaths() const;
|
||||
QIconDirInfo dirInfo(int dirindex);
|
||||
static QIconLoader *instance();
|
||||
void updateSystemTheme();
|
||||
void invalidateKey() { m_themeKey++; }
|
||||
void ensureInitialized();
|
||||
|
||||
private:
|
||||
QThemeIconEntries findIconHelper(const QString &themeName,
|
||||
const QString &iconName,
|
||||
QStringList &visited) const;
|
||||
uint m_themeKey;
|
||||
bool m_supportsSvg;
|
||||
bool m_initialized;
|
||||
|
||||
mutable QString m_userTheme;
|
||||
mutable QString m_systemTheme;
|
||||
mutable QStringList m_iconDirs;
|
||||
mutable QHash <QString, QIconTheme> themeList;
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QT_NO_ICON
|
||||
|
||||
#endif // QICONLOADER_P_H
|
Loading…
Reference in new issue