SHA256
1
0
forked from pool/oculante

Accepting request 1190334 from home:mantarimay:branches:graphics

- 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

OBS-URL: https://build.opensuse.org/request/show/1190334
OBS-URL: https://build.opensuse.org/package/show/graphics/oculante?expand=0&rev=29
This commit is contained in:
Muhammad Akbar Yanuar Mantari 2024-07-29 19:28:03 +00:00 committed by Git OBS Bridge
commit a628d8ed03
9 changed files with 301 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

9
_constraints Normal file
View File

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<constraints>
<hardware>
<physicalmemory>
<!-- Maximal used memory: 12667668kB -->
<size unit="G">13</size>
</physicalmemory>
</hardware>
</constraints>

9
_service Normal file
View File

@ -0,0 +1,9 @@
<services>
<service name="download_files" mode="manual" />
<service name="cargo_vendor" mode="manual">
<param name="src">oculante-*.tar.gz</param>
<param name="compression">zst</param>
<param name="update">true</param>
</service>
<service name="cargo_audit" mode="manual"/>
</services>

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

@ -0,0 +1,3 @@
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

173
oculante.changes Normal file
View File

@ -0,0 +1,173 @@
-------------------------------------------------------------------
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>
- Update to version 0.8.22:
+ Bug Fixes
- Ensure spirv is not used when only using shaderc
- Allow loading huge webp images and handle still frames
differently
- Set window min size to 100x100 to prevent super tiny window
+ Features
- add icns image support
+ Chore
- update avif-decode, evalexpr, exr, rfd, self_update,
jxl-oxide, imageproc
- Clean up warnings
-------------------------------------------------------------------
Mon May 13 04:25:02 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
- Enable heif format support
-------------------------------------------------------------------
Sun May 12 18:29:39 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
- Update to version 0.8.21:
+ Features
- Support EXR with single layers (non-rgba)
+ Chore
- update deps and use new HDR support from image
- bump rustls version from 0.21.10 to 0.21.12: fix infinite
loop (bsc#1223231)
- Update scripts install and check for test
-------------------------------------------------------------------
Mon Apr 29 23:07:26 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
- Update to version 0.8.19:
+ Bug Fixes
- prevent zoom with keyboard
+ Features
- Map float TIFF images to min-max range
+ Chore
- Update logo
- update icon
-------------------------------------------------------------------
Sun Apr 7 19:04:05 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
- Update to version 0.8.18:
+ Features:
- Add APNG support
+ Chore:
- update logo
-------------------------------------------------------------------
Wed Mar 13 19:23:34 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
- Update to version 0.8.16:
+ Bug Fixes:
- Fix Uri causing files not loading
-------------------------------------------------------------------
Mon Mar 11 00:01:47 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
- Update to version 0.8.15:
+ Bug Fixes:
- Fix issue where "Open with..." does not work any more
-------------------------------------------------------------------
Fri Mar 8 10:38:52 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
- Update to version 0.8.14:
+ Bug Fixes:
- Enable hotkey copy and paste
- Enable clipboard support on wayland
- Prevent image from flickering at the first frame
- Make sure window size is not larger than window
- Disable heif image support by default due to non-static
linking
+ Features:
- use .config location on unix for storing settings
- Add perspective cropping with UI. You can now de-warp scans
or similar into a nice rectangular picture.
-------------------------------------------------------------------
Sun Feb 25 20:17:46 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
- Update to version 0.8.11:
+ Bug Fixes:
- Prevent app from hanging if not image in stdin
-------------------------------------------------------------------
Sat Feb 24 19:54:53 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
- Update to version 0.8.10:
+ Bug Fixes:
- prevent zoom from being stuck at extreme levels
- Blurry text/UI is now rendered crisp
+ Features:
- Allow piping image data to oculante on the command line
+ Chore:
- rename release artifacts
-------------------------------------------------------------------
Thu Feb 22 20:15:53 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
- Update to version 0.8.9:
+ Features:
- Only redraw when needed on windows (less cpu/gpu usage)
- App Id is now available for wayland
-------------------------------------------------------------------
Tue Feb 20 19:48:00 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
- Update to version 0.8.8:
+ Bug Fixes:
- Prevent "Do not reset image view" being reset
+ Features:
- Allow opening of webp animations
- Use custom filebrowser instead of rfd
- Enable borderless mode and allow to toggle via settings menu
- add 3x3 Filter operator
- scale to available ui area
+ Chore:
- Update notan
- Update rfd and strum
-------------------------------------------------------------------
Sun Jan 28 01:44:30 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
- Update to version 0.8.7:
+ Features:
- Add Basic support for ktx2
- add _constraints to fix out of memory on aarch64 build
-------------------------------------------------------------------
Sat Dec 16 09:33:00 UTC 2023 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
- Initial package

77
oculante.spec Normal file
View File

@ -0,0 +1,77 @@
#
# spec file for package oculante
#
# 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/
#
%bcond_without test
%define force_gcc_version 13
Name: oculante
Version: 0.8.23
Release: 0
Summary: A minimalistic crossplatform image viewer written in rust
License: MIT
URL: https://github.com/woelper/oculante
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
Source1: vendor.tar.zst
BuildRequires: cargo-packaging
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
ExclusiveArch: x86_64 aarch64
%description
Oculante's vision is to be a fast, unobtrusive, portable image viewer with
wide image format support, offering image analysis and basic editing
tools.
%prep
%autosetup -a1 -p1
%build
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}
install -Dpm644 res/%{name}.png -t %{buildroot}%{_datadir}/pixmaps/
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
%{_bindir}/%{name}
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/applications/%{name}.desktop
%changelog

3
vendor.tar.zst Normal file
View File

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