Dominique Leuenberger 2024-07-30 09:54:53 +00:00 committed by Git OBS Bridge
commit f096a2417e
5 changed files with 56 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:101a8a1ffec97add9994e85b79dbc42e723326c7a73a87850963e1cd78636936
size 57878985

3
oculante-0.8.23.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fa3826727db01a6472762de2444c195bd0db31936f8041481c487029b7cf2b34
size 59558845

View File

@ -1,3 +1,37 @@
-------------------------------------------------------------------
Mon Jul 29 14:50:34 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
- Update to version 0.8.23:
+ Bug Fixes
- Display image path for loading errors
- Prevent panic for scrubber index being out of range and
allow opening images without path prefic correctly
- update index when image in same folder is loaded
- Switching theme removes accent color
- Preserve scubber index
- Prevent image removal going out of bounds
- Clearing and deleting an image removes it from the virtual
scrubber and advances to the next according to the scrubber
direction
- Fix issue where SVG files were detected as XML
- Compare menu works without image loaded
- ClearImage can be assigned to a shortcut
+ Features
- Allow configuring mipmaps and linear mag/min filters
- Allow passing multiple images on the command line
- Enhance scrubber experience to provide a virtual file list.
- Detect file types by content instead of extension. Warn if
mismatch happens.
- More love for compare mode ui, option to remove current image
- Allow configuring the minimum window size
+ Chore
- deps: bump zerovec from 0.10.2 to 0.10.4
- update resvg
- Update Notan and Egui
- update deps
- add conditional build for leap with force gcc version
- add desktop-file-utils BuildRequires: for validate desktop file
-------------------------------------------------------------------
Mon May 20 01:52:34 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>

View File

@ -17,8 +17,9 @@
%bcond_without test
%define force_gcc_version 13
Name: oculante
Version: 0.8.22
Version: 0.8.23
Release: 0
Summary: A minimalistic crossplatform image viewer written in rust
License: MIT
@ -26,8 +27,10 @@ URL: https://github.com/woelper/oculante
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
Source1: vendor.tar.zst
BuildRequires: cargo-packaging
BuildRequires: extra-cmake-modules
BuildRequires: gcc >= 13
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: gcc%{?force_gcc_version}
BuildRequires: gcc%{?force_gcc_version}-c++
BuildRequires: gtk3-devel
BuildRequires: libheif-devel
BuildRequires: nasm
@ -42,7 +45,13 @@ tools.
%autosetup -a1 -p1
%build
%{cargo_build} --features 'heif'
export CC="gcc-%{?force_gcc_version}"
export CXX="g++-%{?force_gcc_version}"
%{cargo_build} \
%if 0%{?suse_version} > 1600
--features 'heif' \
%endif
%{nil}
%install
install -Dpm755 target/release/%{name} -t %{buildroot}%{_bindir}
@ -51,9 +60,13 @@ install -Dpm644 res/%{name}.desktop -t %{buildroot}%{_datadir}/applications
%check
%if %{with test}
export CC="gcc-%{?force_gcc_version}"
export CXX="g++-%{?force_gcc_version}"
%{cargo_test} -- --skip=tests::net --skip=bench
%endif
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%files
%license LICENSE*
%doc README* CHANGELOG.md

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33c0328bda515c29256614d8191232862308aae0e8cc799c5bc4027d14ebe2ff
size 115530913
oid sha256:89d18f213cb1f9879e8678f6728c50cc1d63aa2124cd9f55c8719a61ce675039
size 110177087