Fix appdata and icon installation
authorJulian Hofer <julianhofer@gnome.org>
Sat, 13 Aug 2022 18:56:58 +0000 (20:56 +0200)
committerColin Clark <colin.clark@cclark.uk>
Sun, 14 Aug 2022 09:09:27 +0000 (10:09 +0100)
- Appdata used invalid tags
- Icon was not installed

org.geeqie.Geeqie.appdata.xml.in
src/icons/meson.build
src/icons/svg/geeqie.svg [moved from src/icons/svg/gqview_icon.svg with 100% similarity]
src/icons/svg/meson.build [new file with mode: 0644]

index 2c8dbdd..e52a198 100644 (file)
@@ -7,12 +7,12 @@
   <_name>Geeqie</_name>
   <_summary>A lightweight image viewer</_summary>
   <description>
-    <_p>
+    <p>
           Geeqie is a lightweight image viewer for Linux, BSDs and compatibles.
-        </_p>
-    <_p>
+    </p>
+    <p>
           It can be used as a simple, fast, database-free image viewer, but equally it can be used to manage large collections of images.
-        </_p>
+    </p>
   </description>
   <screenshots>
     <screenshot type="default">
@@ -35,4 +35,3 @@
   <update_contact>geeqie@freelists.org</update_contact>
   <translation type="gettext">geeqie</translation>
 </component>
-
index ee55ab3..55d7626 100644 (file)
@@ -67,3 +67,5 @@ icons_inline_h = custom_target('icons_inline', output : 'icons_inline.h',
         capture : true)
 
 project_sources += icons_inline_h
+
+subdir('svg')
diff --git a/src/icons/svg/meson.build b/src/icons/svg/meson.build
new file mode 100644 (file)
index 0000000..12c771e
--- /dev/null
@@ -0,0 +1,7 @@
+datadir = prefix / get_option('datadir')
+iconsdir = datadir / 'icons'
+
+install_data(
+  'geeqie.svg',
+  install_dir: iconsdir / 'hicolor' / 'scalable' / 'apps',
+)