Accepting request 1097811 from home:badshah400:branches:editors

Use app icon generated from vimlogo.eps in source tarball; add higher res icons of sizes 128, 256, and 512px as png sources.  Our current icons deviate from upstream flatpaks for example.

OBS-URL: https://build.opensuse.org/request/show/1097811
OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=818
This commit is contained in:
Dirk Stoecker 2023-07-11 13:34:26 +00:00 committed by Git OBS Bridge
parent 326b52e63e
commit a5284d8c6a
11 changed files with 35 additions and 13 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:946dce274e5051e4853cb1bf3483966bb349cd2a9e575af7e773c1ffdcaff749
size 11400
oid sha256:b53a846616930af3f3ec5c8fca0f64e3cb513cf6b129460e4567e5b0fe83b71e
size 18168

BIN
gvim_128.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
gvim_24.png (Stored with Git LFS)

Binary file not shown.

BIN
gvim_256.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
gvim_32.png (Stored with Git LFS)

Binary file not shown.

BIN
gvim_48.png (Stored with Git LFS)

Binary file not shown.

BIN
gvim_512.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
gvim_64.png (Stored with Git LFS)

Binary file not shown.

BIN
gvim_96.png (Stored with Git LFS)

Binary file not shown.

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Jul 9 05:47:19 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
- Use app icon generated from vimlogo.eps in source tarball; add
higher res icons of sizes 128, 256, and 512px as png sources.
Our current icons deviate from upstream flatpaks for example.
-------------------------------------------------------------------
Thu Jun 15 09:29:01 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -48,12 +48,18 @@ Source19: gvim.desktop
Source20: spec.skeleton
Source21: spec.vim
Source23: apparmor.vim
# Generated using: epstopdf runtime/vimlogo.eps && pdf2svg runtime/vimlogo.pdf gvim.svg
Source24: gvim.svg
# Section Bitmap icons generated from gvim.svg using rsvg-convert
Source25: gvim_24.png
Source26: gvim_32.png
Source27: gvim_48.png
Source28: gvim_64.png
Source29: gvim_96.png
Source30: gvim_128.png
Source31: gvim_256.png
Source32: gvim_512.png
# /Section
Source98: vim-changelog.sh
Source99: %{name}-7.4-rpmlintrc
Patch3: %{name}-7.4-disable_lang_no.patch
@ -332,7 +338,7 @@ gcc %{optflags} %{SOURCE13} -o vitmp
%install
%make_install STRIP=:
# create icon directories and install the icons into it
for SIZE in 24 32 48 64 96; do
for SIZE in 24 32 48 64 96 128 256 512; do
install -d -m 0755 %{buildroot}%{_datadir}/icons/hicolor/${SIZE}x${SIZE}/apps
install -m 0644 %{_sourcedir}/gvim_${SIZE}.png %{buildroot}%{_datadir}/icons/hicolor/${SIZE}x${SIZE}/apps/gvim.png
done