desktop: application icons are now generated from the new logo source SVG.

This commit is contained in:
Jehan 2024-03-09 20:15:43 +01:00
parent 42171503d4
commit 4e3792d3f1
9 changed files with 6 additions and 35 deletions

View file

@ -147,8 +147,8 @@ imported_file_files (gconstpointer data)
gchar *filename;
GimpPDBStatusType status;
filename = g_build_filename (g_getenv ("GIMP_TESTING_ABS_TOP_SRCDIR"),
"desktop/64x64/gimp.png",
filename = g_build_filename (g_getenv ("GIMP_TESTING_ABS_TOP_BUILDDIR"),
"gimp-data/images/logo/gimp64x64.png",
NULL);
g_assert_true (g_file_test (filename, G_FILE_TEST_EXISTS));
file = g_file_new_for_path (filename);
@ -191,8 +191,8 @@ saved_imported_file_files (gconstpointer data)
GimpPDBStatusType status;
GimpPlugInProcedure *proc;
import_filename = g_build_filename (g_getenv ("GIMP_TESTING_ABS_TOP_SRCDIR"),
"desktop/64x64/gimp.png",
import_filename = g_build_filename (g_getenv ("GIMP_TESTING_ABS_TOP_BUILDDIR"),
"gimp-data/images/logo/gimp64x64.png",
NULL);
import_file = g_file_new_for_path (import_filename);
g_free (import_filename);
@ -303,8 +303,8 @@ clear_import_file_after_export (gconstpointer data)
GimpPlugInProcedure *proc;
GimpPDBStatusType status;
filename = g_build_filename (g_getenv ("GIMP_TESTING_ABS_TOP_SRCDIR"),
"desktop/64x64/gimp.png",
filename = g_build_filename (g_getenv ("GIMP_TESTING_ABS_TOP_BUILDDIR"),
"gimp-data/images/logo/gimp64x64.png",
NULL);
file = g_file_new_for_path (filename);
g_free (filename);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1,006 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

View file

@ -1,32 +1,3 @@
sizes = [
'16',
'22',
'24',
'32',
'48',
'64',
'256',
]
# XXX: the old autotools build used to `touch` the (datadir) /icons/hicolor
# folder at install time in order to comply with the "Icon Theme Specification"
# (see the "Implementation Notes" section about changing the mtime of the
# toplevel icon directory after installing/updating icon themes).
# This part was not reimplemented in our meson build. Unsure if this is still
# needed or even if this is the role of the application build to take care of
# this.
foreach size : sizes
sizedir = size+'x'+size
install_data(sizedir / 'gimp.png',
install_dir: get_option('datadir') / 'icons' / 'hicolor' / sizedir / 'apps'
)
endforeach
install_data('scalable/gimp.svg',
install_dir: get_option('datadir') / 'icons' / 'hicolor' / 'scalable' / 'apps'
)
desktopfilename = 'gimp.desktop'
desktop_conf = configuration_data()