forked from pool/curtail
* Update to version 1.11.1.
* Drop use of deprecated %suse_update_desktop_files macro. OBS-URL: https://build.opensuse.org/package/show/graphics/curtail?expand=0&rev=23
This commit is contained in:
commit
c3e69daff4
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
curtail-1.10.0.tar.gz
Normal file
3
curtail-1.10.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f5e80862faa6d2dc9beb266a7eceb05197c261f4bba52a9211d75d10862833af
|
||||
size 205428
|
3
curtail-1.11.0.tar.gz
Normal file
3
curtail-1.11.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:38ee7d5ce79fc478366fce56f9bea7bf0d232e0291a62232467d0889ab9ecb8e
|
||||
size 208900
|
3
curtail-1.11.1.tar.gz
Normal file
3
curtail-1.11.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b5a33041ff64edbdcad293113d472a9de93f4b83be6efd99661cb2555050a068
|
||||
size 208910
|
2
curtail-rpmlintrc
Normal file
2
curtail-rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
||||
# libwebp-tools is not a library
|
||||
addFilter("curtail.* explicit-lib-dependency")
|
125
curtail.changes
Normal file
125
curtail.changes
Normal file
@ -0,0 +1,125 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 19 10:18:50 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 1.11.1:
|
||||
* Fix shell injection prevention.
|
||||
- Drop use of deprecated %suse_update_desktop_files macro.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 7 19:10:59 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 1.11.0:
|
||||
* Always restore original files when compression produces larger
|
||||
files.
|
||||
* Notify when no files are found in a folder.
|
||||
* Use new libadwaita row widgets.
|
||||
* Update Gnome Runtime to 47.
|
||||
* Fix a shell injection vulnerability.
|
||||
* Updated translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 18 16:45:04 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 1.10.0:
|
||||
* Add a "Recursive Compression" setting.
|
||||
* Update OxiPNG to v9.1.1
|
||||
* Change safe mode directly from warning banner button.
|
||||
* Fix opening files with "Open With...".
|
||||
* Fix DnD with nested folders (recursive).
|
||||
* Fix translations not applied to the help overlay window.
|
||||
* Updated translations.
|
||||
- Run tests as part of %check.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 12 14:11:58 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 1.9.1:
|
||||
* Use default decoration layout for screenshots.
|
||||
- Changes from version 1.9.0:
|
||||
* Correct title case, reword subtitles, remove periods.
|
||||
* Use proper arrow character.
|
||||
* Fix drag and drop for folders.
|
||||
* Appstream data improvements.
|
||||
* Updated translations.
|
||||
- Empty %check section as recommended by rpmlint.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 22 07:49:23 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 1.8.0:
|
||||
- Add "Bulk Compress Directory (recursive)" feature.
|
||||
- Add simplified Chinese translation.
|
||||
- Add categories and keywords support in appdata.
|
||||
- Improve clarity of preference options.
|
||||
- Update OxiPNG to v9.
|
||||
- Handle cases where previews can't be generated.
|
||||
- Fix some "Format of this file is not supported".
|
||||
- Updated translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 05:57:50 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 1.7.0:
|
||||
* Added:
|
||||
- SVG support.
|
||||
- Add a warning banner for overwrite mode.
|
||||
- New start screen with an AdwStatusPage.
|
||||
- Add debug information in about window.
|
||||
* Changed:
|
||||
- Switch from OptiPNG to Oxipng.
|
||||
- Minor UI improvements.
|
||||
- Remove some remaining dialogs.
|
||||
- Bump deps.
|
||||
* Fixed: Fix handling of filenames with spaces for WEBP
|
||||
compressor.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 1 09:32:40 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 1.6.0:
|
||||
* New features:
|
||||
- Configurable compression timeout.
|
||||
- Compress images in an other thread.
|
||||
* Changes:
|
||||
- Better workflow for headerbar.
|
||||
- Move saving state in the subtitle.
|
||||
- Show errors on each line and not in modals anymore.
|
||||
- Simplify preferences.
|
||||
- Update translations.
|
||||
* Bug fix: Fix compression level ranges in UI.
|
||||
- New BuildRequires: pkgconfig(libadwaita-1), gtk4-tools.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 13 02:08:10 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 1.3.1:
|
||||
* Make size columns sortable.
|
||||
* Fix savings column sorting.
|
||||
* Updated translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 1 18:14:30 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 1.3.0:
|
||||
* Add option to preserve file attributes if possible.
|
||||
* Update image libraries.
|
||||
* Updated translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 7 22:59:17 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 1.2.2:
|
||||
* Updated translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 27 16:22:44 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Actually add the rpmlintrc file to sources.
|
||||
- BuildArch: noarch as recommended by rpmlint.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 27 00:22:36 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Initial package.
|
||||
- Add %{name}-rpmlintrc to suppress explicit-lib-dependency
|
||||
trigerred for libwebp-tools Requires.
|
76
curtail.spec
Normal file
76
curtail.spec
Normal file
@ -0,0 +1,76 @@
|
||||
#
|
||||
# spec file for package curtail
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: curtail
|
||||
Version: 1.11.1
|
||||
Release: 0
|
||||
Summary: A simple and useful image compressor
|
||||
License: GPL-3.0-or-later
|
||||
URL: https://github.com/Huluti/curtail
|
||||
Source0: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: %{name}-rpmlintrc
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: gtk4-tools
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: meson >= 0.50.0
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
# Note: Needs libadwaita's AboutWindow which is only available from version 1.2
|
||||
BuildRequires: pkgconfig(libadwaita-1) >= 1.2
|
||||
Requires: jpegoptim
|
||||
Requires: libwebp-tools
|
||||
Requires: optipng
|
||||
Requires: pngquant
|
||||
Requires: python3-gobject-Gdk
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Curtail (previously ImCompressor) is an useful image compressor, supporting
|
||||
PNG, JPEG and WEBP file types. It support both lossless and lossy compression
|
||||
modes with an option to whether keep or not metadata of images.
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%setup -q -n Curtail-%{version}
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
%find_lang %{name} %{?no_lang_C}
|
||||
|
||||
%check
|
||||
%meson_test
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc CHANGELOG.md README.md
|
||||
%{_bindir}/curtail
|
||||
%{_datadir}/metainfo/*.xml
|
||||
%{_datadir}/curtail/
|
||||
%{_datadir}/applications/*.desktop
|
||||
%{_datadir}/glib-2.0/schemas/*.xml
|
||||
%{_datadir}/icons/hicolor/*/apps/*.svg
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user