diff --git a/_service b/_service new file mode 100644 index 0000000..2b2bd00 --- /dev/null +++ b/_service @@ -0,0 +1,25 @@ + + + + + https://github.com/easymodo/qimgv + git + @PARENT_TAG@+git%cd.%h + + + v1.0.3-alpha + 1.0.3a + + enable + + + + + gz + *.tar + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..cc1cced --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/easymodo/qimgv + 48dd2ea3386ebb92b369383282b3778361a82319 \ No newline at end of file diff --git a/qimgv-1.0.2.tar.gz b/qimgv-1.0.2.tar.gz deleted file mode 100644 index 7ff24bf..0000000 --- a/qimgv-1.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ace75077c5b6f3cb2b0d40b24482b3778728d98dce75ed8186c7ae4282e57634 -size 681034 diff --git a/qimgv-1.0.3a+git20220510.48dd2ea3.tar.gz b/qimgv-1.0.3a+git20220510.48dd2ea3.tar.gz new file mode 100644 index 0000000..ce75716 --- /dev/null +++ b/qimgv-1.0.3a+git20220510.48dd2ea3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d18f56b6e7ded8babb030c265b267f689ec708a112cc4223631e81f55e50b3b3 +size 704248 diff --git a/qimgv-mpv_v2_fix.patch b/qimgv-mpv_v2_fix.patch deleted file mode 100644 index 3c703e5..0000000 --- a/qimgv-mpv_v2_fix.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 8b01170753fcadc86770dd650c3d38a76e88963d Mon Sep 17 00:00:00 2001 -From: easymodo -Date: Sat, 18 Dec 2021 10:32:05 +0200 -Subject: [PATCH] fix mpv_opengl_init_params - ---- - plugins/player_mpv/src/mpvwidget.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/plugins/player_mpv/src/mpvwidget.cpp b/plugins/player_mpv/src/mpvwidget.cpp -index 16c4b168..2f8a39a5 100644 ---- a/plugins/player_mpv/src/mpvwidget.cpp -+++ b/plugins/player_mpv/src/mpvwidget.cpp -@@ -69,7 +69,7 @@ void MpvWidget::setOption(const QString& name, const QVariant& value) { - } - - void MpvWidget::initializeGL() { -- mpv_opengl_init_params gl_init_params{get_proc_address, nullptr, nullptr}; -+ mpv_opengl_init_params gl_init_params{get_proc_address, nullptr}; - mpv_render_param params[]{ - {MPV_RENDER_PARAM_API_TYPE, const_cast(MPV_RENDER_API_TYPE_OPENGL)}, - {MPV_RENDER_PARAM_OPENGL_INIT_PARAMS, &gl_init_params}, diff --git a/qimgv-no_return_in_nonvoid.patch b/qimgv-no_return_in_nonvoid.patch deleted file mode 100644 index ae4ac92..0000000 --- a/qimgv-no_return_in_nonvoid.patch +++ /dev/null @@ -1,12 +0,0 @@ -Index: qimgv-1.0.0/qimgv/utils/fileoperations.cpp -=================================================================== ---- qimgv-1.0.0.orig/qimgv/utils/fileoperations.cpp -+++ qimgv-1.0.0/qimgv/utils/fileoperations.cpp -@@ -60,6 +60,7 @@ QString FileOperations::decodeResult(con - case FileOpResult::OTHER_ERROR: - return "Other error."; - } -+ return NULL; - } - - void FileOperations::copyFileTo(const QString &srcFilePath, const QString &destDirPath, bool force, FileOpResult &result) { diff --git a/qimgv.changes b/qimgv.changes index 849ec79..bf4d462 100644 --- a/qimgv.changes +++ b/qimgv.changes @@ -1,3 +1,57 @@ +------------------------------------------------------------------- +Wed May 18 23:25:22 UTC 2022 - Scott Bradnick + +- Removing patch files which aren't needed since items were fixed upstream: + * qimgv-mpv_v2_fix.patch + * qimgv-no_return_in_nonvoid.patch + +------------------------------------------------------------------- +Wed May 11 18:15:36 UTC 2022 - scott.bradnick@suse.com + +- Update to version 1.0.3a+git20220510.48dd2ea3: + * [cmake] fix default flags + * check for qt5 first + * . + * Update build-package.yml + * change release tag + * fix mpv include path + * [windows/msys2] add build script + * fix #410 + * [windows] enable scripts/"open with" functionality #406 #236 #196 + * [ContextMenu] compact layout + * [res] back/forward icons + * [ContextMenu] scripts/"open with.." page mockup #406 #236 Fix scripts with qt6 + * [ImageViewerV2] tweak scroll handling + * [ThumbnailViewProxy] fix(?) event order + * fix Core::loadPath() + * delay model loading (test) #383 #156 + * fix #384 + * fix #392 + * fix window close with qt 6.3 #394 + * [cmake] qt detection tweak (prefer qt6); remove core5compat + +------------------------------------------------------------------- +Thu May 5 17:08:06 UTC 2022 - Scott Bradnick + +- Commenting out the following 2 patches as the issues appear fixed upstream: + * qimgv-mpv_v2_fix.patch + * qimgv-no_return_in_nonvoid.patch +- Cleaning up 'Source0' definition. + +------------------------------------------------------------------- +Thu May 05 16:22:03 UTC 2022 - scott.bradnick@suse.com + +- Update to version v1.0.2+git20220504.51278bec: + * Create msys2-test.yml + * build: Add AppData installation via Cmake + * chore: Update qimgv.appdata.xml manifest + * Update README.md + * fix window close with qt 6.3 #394 + * fix mpv_opengl_init_params + * ShortcutBuilder::processWheelEvent() - fallback to x value #367 + * open clipboard test #360 + * fix window size issue + ------------------------------------------------------------------- Sun Jan 30 15:46:40 UTC 2022 - Luigi Baldoni diff --git a/qimgv.obsinfo b/qimgv.obsinfo new file mode 100644 index 0000000..15c079b --- /dev/null +++ b/qimgv.obsinfo @@ -0,0 +1,4 @@ +name: qimgv +version: 1.0.3a+git20220510.48dd2ea3 +mtime: 1652158814 +commit: 48dd2ea3386ebb92b369383282b3778361a82319 diff --git a/qimgv.spec b/qimgv.spec index e503ffa..1d665ac 100644 --- a/qimgv.spec +++ b/qimgv.spec @@ -17,20 +17,22 @@ Name: qimgv -Version: 1.0.2 +Version: 1.0.3a+git20220510.48dd2ea3 Release: 0 Summary: Qt5 image viewer License: GPL-3.0-only URL: https://github.com/easymodo/qimgv -Source0: https://github.com/easymodo/qimgv/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source0: %{name}-%{version}.tar.gz # PATCH-FEATURE-OPENSUSE qimgv-PIE.patch # aloisio@gmx.com add PIE flags Patch1: qimgv-PIE.patch # PATCH-FIX-OPENSUSE qimgv-includepath.patch # aloisio@gmx.com use correct path for opencv includes Patch2: qimgv-includepath.patch # PATCH-FIX-OPENSUSE qimgv-no_return_in_nonvoid.patch # aloisio@gmx.com pacify rpmlint -Patch6: qimgv-no_return_in_nonvoid.patch +# Has been fixed upstream, smb 20220505 +#Patch6: qimgv-no_return_in_nonvoid.patch # PATCH-FIX-UPSTREAM qimgv-mpv_v2_fix.patch -Patch7: qimgv-mpv_v2_fix.patch +# Has been fixed upstream, smb 20220505 +#Patch7: qimgv-mpv_v2_fix.patch BuildRequires: cmake >= 3.13 %if 0%{?suse_version} > 1500 BuildRequires: gcc-c++ @@ -71,5 +73,6 @@ test -x "$(type -p g++-9)" && export CXX=g++-9 %{_datadir}/icons/hicolor/*/apps/%{name}.* %{_libdir}/%{name} %{_libdir}/%{name}/player_mpv.so +%{_datadir}/metainfo/%{name}.appdata.xml %changelog