Compare commits

...

21 Commits

75
debian/changelog vendored

@ -1,3 +1,70 @@
lximage-qt (1.4.0-0ubuntu1) noble; urgency=medium
* New upstream release.
* Updated copyright file.
* Bumped build dependency versions.
* Ran wrap-and-sort.
-- Aaron Rainbolt <arraybolt3@gmail.com> Sun, 12 Nov 2023 17:36:16 -0600
lximage-qt (1.3.0-0ubuntu1) mantic; urgency=medium
* New upstream release.
* Bump build dependencies.
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 11 Aug 2023 09:48:31 -0500
lximage-qt (1.2.0-2ubuntu1) lunar; urgency=medium
* Revert a sync from Debian.
* Bumped build dependencies.
* Added 'Rules-Requires-Root: no' to debian/control.
* Bumped Standards-Version to 4.6.2, no changes necessary.
* Overhauled copyright file.
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Fri, 10 Feb 2023 14:19:56 -0600
lximage-qt (1.2.0-0ubuntu2) lunar; urgency=medium
* No-change rebuild against libfm-qt 1.2.1.
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Fri, 27 Jan 2023 15:46:45 -0600
lximage-qt (1.2.0-0ubuntu1) lunar; urgency=medium
* New upstream release.
* Fix the watch file, for real this time.
* Lubuntuify the package slightly, to make debhelper happy.
* Bump build dependencies in debian/control.
* Remove reverse-applicable patch.
-- Simon Quigley <tsimonq2@ubuntu.com> Thu, 17 Nov 2022 17:52:27 -0600
lximage-qt (1.1.0-2) unstable; urgency=medium
[ Debian Janitor ]
* Remove constraints unnecessary since buster (oldstable):
+ lximage-qt-l10n: Drop versioned constraint on lximage-qt in Replaces.
+ lximage-qt-l10n: Drop versioned constraint on lximage-qt in Breaks.
[ Andrew Lee (李健秋) ]
* debian/changelog: clean triming whitespaces.
* debian/control: Bumped Standards-Version to 4.6.1, no changes needed.
* Reorganize changes from experimental:
* debian/copyright: update. fetched from experimental branch.
* debian/lintian-overrides: fix overrides for no-manual-page.
* Upstreamed patches directory
* Upstreamd signing key
* debian/lximage-qt.install: ship lximage-qt.metainfo.xml.
* debian/lximage-qt.install: sort shipped files.
* debian/rules: Remove unnecessary -Wl,--as-needed.
* debian/rules: Drop --fail-missing argument to dh_missing which is now
default in debhelper 13.
* debian/upstream/metadata: Change Repository-Browser field to
Repository-Browse.
-- Andrew Lee (李健秋) <ajqlee@debian.org> Fri, 28 Oct 2022 14:40:53 +0800
lximage-qt (1.1.0-1) experimental; urgency=medium
[ S. 7 ]
@ -19,6 +86,14 @@ lximage-qt (1.1.0-1) experimental; urgency=medium
-- Aaron Rainbolt <arraybolt3@gmail.com> Wed, 13 Jul 2022 19:06:28 -0500
lximage-qt (1.0.0-1) unstable; urgency=medium
* New upstream release
* Bumped Standards-Version to 4.6.0, no changes needed
* Update debian/copyright
-- S. 7 <severusseptimius7@gmail.com> Thu, 25 Nov 2021 18:19:55 +0200
lximage-qt (0.16.0-1) unstable; urgency=medium
[ Alf Gaida ]

24
debian/control vendored

@ -1,31 +1,31 @@
Source: lximage-qt
Maintainer: LXQt Packaging Team <pkg-lxqt-devel@lists.alioth.debian.org>
Maintainer: Lubuntu Developers <lubuntu-devel@lists.ubuntu.com>
XSBC-Original-Maintainer: LXQt Packaging Team <pkg-lxqt-devel@lists.alioth.debian.org>
Uploaders: Alf Gaida <agaida@siduction.org>,
ChangZhuo Chen (陳昌倬) <czchen@debian.org>,
Andrew Lee (李健秋) <ajqlee@debian.org>,
Simon Quigley <tsimonq2@debian.org>,
Aaron Rainbolt <arraybolt3@gmail.com>
Andrew Lee (李健秋) <ajqlee@debian.org>
Section: x11
Priority: optional
Build-Depends: debhelper-compat (= 13),
libexif-dev,
libfm-qt-dev (>= 1.1.0),
libfm-qt-dev (>= 1.4.0),
libkf5windowsystem-dev,
libqt5svg5-dev,
libqt5x11extras5-dev,
libx11-dev,
libxfixes-dev,
lxqt-build-tools (>= 0.11.0)
Standards-Version: 4.6.1
Vcs-Browser: https://salsa.debian.org/lxqt-team/lximage-qt
Vcs-Git: https://salsa.debian.org/lxqt-team/lximage-qt.git
lxqt-build-tools (>= 0.13.0)
Standards-Version: 4.6.2
Vcs-Browser: https://git.lubuntu.me/Lubuntu/lxqt-about-packaging
Vcs-Git: https://git.lubuntu.me/Lubuntu/lxqt-about-packaging.git
XS-Debian-Vcs-Browser: https://salsa.debian.org/lxqt-team/lxqt-about
XS-Debian-Vcs-Git: https://salsa.debian.org/lxqt-team/lxqt-about.git
Homepage: https://github.com/lxqt/lximage-qt
Rules-Requires-Root: no
Package: lximage-qt
Architecture: any
Depends: ${misc:Depends},
${shlibs:Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}
Recommends: lximage-qt-l10n, qt5-image-formats-plugins
Description: Image viewer for LXQt
A simple image viewer for LXQt. Additional file formats can be processed if
@ -37,7 +37,7 @@ Package: lximage-qt-l10n
Architecture: all
Multi-Arch: foreign
Section: localization
Depends: ${misc:Depends}, qttranslations5-l10n
Depends: qttranslations5-l10n, ${misc:Depends}
Description: Language-package for lximage-qt
A simple image viewer for LXQt. Additional file formats can be processed if
one install qt5-image-formats-plugins.

55
debian/copyright vendored

@ -3,54 +3,49 @@ Upstream-Name: lximage-qt
Source: https://github.com/lxqt/lximage-qt
Files: *
Copyright: 2013-2016, Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
2013-2022, LXQt team
Copyright: 2013-2016 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
2013-2023 LXQt team
License: GPL-2+ and LGPL-2.1+
Files: src/application.*
src/graphicsscene.*
src/imageview.cpp
src/loadimagejob.*
src/lximage-qt.*
src/mainwindow.*
src/modelfilter.*
src/mrumenu.*
src/preferencesdialog.*
src/resizeimagedialog.*
src/saveimagejob.*
src/screenshotdialog.*
src/screenshotselectarea.*
src/screenshotselectareagraphicsview.*
src/settings.*
Copyright: 2013-2016 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
License: GPL-2+
Files: src/mrumenu.cpp
Copyright: 2018, Nathan Osman <nathan@quickmediasolutions.com>
2013, Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
License: GPL-2+
Files: src/resizeimagedialog.cpp
src/resizeimagedialog.h
Copyright: 2020, Andrea Diamantini <adjam@protonmail.com>
2013, Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
2010, Aurélien Gâteau <agateau@kde.org>
License: GPL-2+
Files: src/statusbar.cpp
src/statusbar.h
Copyright: 2013, Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
2013, Pedram Pourang <tsujan2000@gmail.com>
src/statusbar.*
src/upload/*
Copyright: 2013 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
2013 Pedram Pourang <tsujan2000@gmail.com>
2017 Nathan Osman <nathan@quickmediasolutions.com>
2010 Aurélien Gâteau <agateau@kde.org>
2018 Nathan Osman <nathan@quickmediasolutions.com>
2020 Andrea Diamantini <adjam@protonmail.com>
License: GPL-2+
Files: src/upload/imgbbprovider.cpp
src/upload/imgbbprovider.h
src/upload/imgbbupload.cpp
src/upload/imgbbupload.h
Copyright: 2017, Nathan Osman <nathan@quickmediasolutions.com>
License: GPL-2+
Files: src/upload/uploaddialog.ui
Copyright: 2013-2016 Hong Jen Yee (PCMan) <pcman.tw@gmail.com> ?
2013-2022 LXQt team
License: GPL-2+ and LGPL-2.1+
Files: data/lximage-qt.metainfo.xml
Copyright: 2022 LXQt team
License: CC-BY-4.0
Files: debian/*
Copyright: 2021-2022 Lubuntu Developers <lubuntu-devel@lists.ubuntu.com>
2014-2019 Alf Gaida <agaida@siduction.org>
2015 Andrew Lee (李健秋) <ajqlee@debian.org>
Copyright: 2014-2019 Alf Gaida <agaida@siduction.org>
2015-2022 Andrew Lee (李健秋) <ajqlee@debian.org>
2015 ChangZhuo Chen (陳昌倬) <czchen@debian.org>
2023 Lubuntu Developers <lubuntu-devel@lists.ubuntu.com>
License: LGPL-2.1+
License: LGPL-2.1+

@ -1,27 +0,0 @@
From a526f1b0fcfe1d15368c1d3fdf4676c40fb8524d Mon Sep 17 00:00:00 2001
From: tsujan <tsujan2000@gmail.com>
Date: Tue, 21 Jun 2022 01:14:55 +0430
Subject: [PATCH] Fixed repainting of cached images (#558)
Previously, the cached pixmap was drawn inside the repaint rectangle. That was wrong because there's no guarantee that the repaint rectangle is as big as the cached pixmap (e.g., it isn't so when the toolbar extension popup covers a part of the image and slides back). Therefore, visual glitches were imminent in special cases.
This patch draws the cached pixmap inside its corresponding cache rectangle, so that the image is always repainted correctly. The paint clipping is done by Qt automatically, as QPaintEvent's doc explains.
Fixes https://github.com/lxqt/lximage-qt/issues/557
---
src/imageview.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/imageview.cpp b/src/imageview.cpp
index 4a0c6b2..aa13393 100644
--- a/src/imageview.cpp
+++ b/src/imageview.cpp
@@ -630,7 +630,7 @@ void ImageView::paintEvent(QPaintEvent* event) {
if(cachedRect_.contains(repaintImageRect)) {
QPainter painter(viewport());
painter.fillRect(event->rect(), backgroundBrush());
- painter.drawPixmap(repaintImageRect, cachedPixmap_);
+ painter.drawPixmap(cachedRect_, cachedPixmap_);
// outline
if(showOutline_) {
QColor col = QColor(Qt::black);

@ -1 +0,0 @@
fix-repainting-cached-images.patch

3
debian/rules vendored

@ -7,9 +7,6 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh ${@} --buildsystem cmake
override_dh_missing:
dh_missing --fail-missing
override_dh_auto_configure:
dh_auto_configure -- \
-DUPDATE_TRANSLATIONS=OFF\

@ -3,3 +3,5 @@ Bug-Database: https://github.com/lxqt/lximage-qt/issues
Bug-Submit: https://github.com/lxqt/lximage-qt/issues/new
Changelog: https://github.com/lxqt/lximage-qt/blob/master/CHANGELOG
Repository: https://github.com/lxqt/lximage-qt
Repository-Browse: https://github.com/lxqt/lximage-qt

6
debian/watch vendored

@ -1,3 +1,5 @@
version=4
opts="pgpsigurlmangle=s/$/.asc/" \
https://github.com/lxqt/lximage-qt/releases .*/lximage-qt-([\d\.]+).tar.xz
opts="searchmode=plain, \
pgpsigurlmangle=s/$/.asc/, \
uversionmangle=s/(\d+\.\d+\.\d+).*/$1/" \
https://api.github.com/repos/lxqt/@PACKAGE@/releases https:\/\/github.com\/lxqt\/@PACKAGE@\/releases\/download\/@ANY_VERSION@\/@PACKAGE@-@ANY_VERSION@.tar.xz

Loading…
Cancel
Save