[gnome-characters] snap: Update for new icon filename



commit 4a63181576a638991c69f9fd9ed327b3185f30b0
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Thu Jan 31 21:58:43 2019 -0500

    snap: Update for new icon filename

 snap/snapcraft.yaml | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index e3e4716..0786ba0 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -103,23 +103,21 @@ parts:
     organize:
       snap/gnome-characters/current/usr: usr
     override-build: |
-      sed -i.bak -e 's|=gnome-characters$|=${SNAP}/meta/gui/gnome-characters.png|g' 
data/org.gnome.Characters.desktop.in
+      sed -i.bak -e 's|=org.gnome.Characters$|=${SNAP}/meta/gui/org.gnome.Characters.svg|g' 
data/org.gnome.Characters.desktop.in
       sed -i.bak -e 
's|=@bindir@/gnome-characters$|=${SNAP}/usr/share/org.gnome.Characters/org.gnome.Characters|g' 
data/org.gnome.Characters.desktop.in
       sed -i.bak -e 's|@GJS@|/snap/gnome-characters/current/usr/bin/gjs|g' src/org.gnome.Characters.in
       sed -i.bak -e 's|@GJS@|/snap/gnome-characters/current/usr/bin/gjs|g' 
src/org.gnome.Characters.BackgroundService.in
       snapcraftctl build
       mkdir -p $SNAPCRAFT_PART_INSTALL/meta/gui/
-      cp ../src/data/icons/hicolor/256x256/apps/gnome-characters.png $SNAPCRAFT_PART_INSTALL/meta/gui/
+      cp ../src/data/icons/hicolor/scalable/apps/org.gnome.Characters.svg $SNAPCRAFT_PART_INSTALL/meta/gui/
       rm -f $SNAPCRAFT_PART_INSTALL/snap/gnome-characters/current/usr/bin/gnome-characters
     build-attributes: ['no-system-libraries']
     build-packages:
       - desktop-file-utils
       - gettext
-      - gnome-common
       - gsettings-desktop-schemas-dev
-      - intltool
+      - itstool
       - appstream-util
-      - pkg-config
       - libglib2.0-dev
       - libgtk-3-dev
       - libgirepository1.0-dev


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]