Accepting request 1158221 from home:dfaggioli:microos-desktop

- Update to current git version in order to include the code that
  fixes the problem of ImageMagick not being able to resize the
  icons dynamically. This means including the following commits:
  * install: fix linting
  * assemble: fix regression in file reading
  * chore: fix typo (#1283)
  * install: fix installation script (#1282)
  * install: add fixed resolution png icons for use on desktops (#1280)
  * Update install (#1278)

OBS-URL: https://build.opensuse.org/request/show/1158221
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/distrobox?expand=0&rev=43
This commit is contained in:
Dario Faggioli 2024-03-15 12:35:44 +00:00 committed by Git OBS Bridge
parent a19c219cdc
commit 62d9a092ac
4 changed files with 17 additions and 16 deletions

View File

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

View File

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Fri Mar 15 09:35:47 UTC 2024 - Dario Faggioli <dfaggioli@suse.com>
- Update to current git version in order to include the code that
fixes the problem of ImageMagick not being able to resize the
icons dynamically. This means including the following commits:
* install: fix linting
* assemble: fix regression in file reading
* chore: fix typo (#1283)
* install: fix installation script (#1282)
* install: add fixed resolution png icons for use on desktops (#1280)
* Update install (#1278)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 14 20:44:46 UTC 2024 - Michal Vyskocil <michal.vyskocil@gmail.com> Thu Mar 14 20:44:46 UTC 2024 - Michal Vyskocil <michal.vyskocil@gmail.com>

View File

@ -17,7 +17,7 @@
Name: distrobox Name: distrobox
Version: 1.7.0.1 Version: 1.7.0.1_g7a56b6e
Release: 0 Release: 0
Summary: Use any linux distribution inside your terminal Summary: Use any linux distribution inside your terminal
License: GPL-3.0-only License: GPL-3.0-only
@ -74,18 +74,6 @@ mkdir -p %{buildroot}%{_sysconfdir}/distrobox
install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/distrobox/distrobox.conf install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/distrobox/distrobox.conf
%endif %endif
# Move the icon
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps
mv %{buildroot}%{_datadir}/icons/terminal-distrobox-icon.svg \
%{buildroot}%{_datadir}/icons/hicolor/scalable/apps
# Generate all the other icon sizes
for sz in 16 22 24 32 36 48 64 72 96 128 256; do
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${sz}x${sz}/apps
convert terminal-distrobox-icon.svg -resize ${sz}x${sz} \
%{buildroot}%{_datadir}/icons/hicolor/${sz}x${sz}/apps/terminal-distrobox-icon.png
done
%files %files
%license COPYING.md %license COPYING.md
%doc %{_docdir}/%{name} %doc %{_docdir}/%{name}