pidgin/pidgin

Create an AppImage for Pidgin3

2020-10-15, Gary Kramlich
9ce322b6f2d1
Parents 797f5a0f602c
Children 2c5b4dc2e86a
Create an AppImage for Pidgin3

Prepare for an eventual finch appimage

Testing Done:
Built the AppImage and verified it works by logging in with bonjour.

Reviewed at https://reviews.imfreedom.org/r/166/
--- a/convey.yaml Thu Oct 15 20:16:13 2020 -0500
+++ b/convey.yaml Thu Oct 15 20:25:08 2020 -0500
@@ -17,6 +17,7 @@
clean:
type: convey/clean
files:
+ - appimage-x86_64
- pvs-studio
- scanbuild
@@ -33,6 +34,17 @@
files: ${TARGET}
plans:
+ pidgin3-appimage-x86_64:
+ environment:
+ - TARGET=appimage-x86_64
+ - BUILD_NUMBER=0
+ - COMMIT_SHORT=${HG_COMMIT_SHORT}
+ - VERSION=${BUILD_NUMBER}~${COMMIT_SHORT}
+ - RECIPE=Pidgin3
+ - CONFIGURE_ARGS=-Dconsoleui=False
+ stages:
+ - tasks: [import, build-target, export-target]
+
clean:
stages:
- tasks: [clean]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packaging/Pidgin3.AppImageBuilder.yml Thu Oct 15 20:25:08 2020 -0500
@@ -0,0 +1,76 @@
+---
+version: 1
+AppDir:
+ path: ./AppDir
+ app_info:
+ id: im.pidgin.Pidgin3
+ name: Pidgin3
+ icon: im.pidgin.Pidgin3
+ version: !ENV ${VERSION}
+ exec: usr/bin/pidgin3
+ apt:
+ arch: amd64
+ sources:
+ - sourceline: 'deb [arch=amd64] http://deb.debian.org/debian/ bullseye main'
+ key_url: 'https://ftp-master.debian.org/keys/archive-key-10.asc'
+ include:
+ - dictionaries-common
+ - gir1.2-gdkpixbuf-2.0
+ - gir1.2-gtk-3.0
+ - gir1.2-soup-2.4
+ - gstreamer1.0-gl
+ # - gstreamer1.0-plugins-bad # 100mb-ish only if we really **REALLY** need it
+ - gstreamer1.0-plugins-good
+ - gstreamer1.0-x
+ - libavahi-client3
+ - libavahi-glib1
+ - libcanberra0
+ - libcmark0.29.0
+ - libfarstream-0.2-5
+ - libfontconfig1
+ - libfreetype6
+ - libgadu3
+ - libgirepository-1.0-1
+ - libglib-object-introspection-perl
+ - libglib-perl
+ - libgmime-3.0-0
+ - libgspell-1-2
+ - libgstreamer-plugins-base1.0-0
+ - libgstreamer1.0-0
+ - libgtk-3-0
+ - libgumbo1
+ - libidn11
+ - libidn2-0
+ - libjson-glib-1.0-0
+ # - libkf5wallet5 # 57mb
+ - liblua5.3-0
+ - libmeanwhile1
+ - libperl5.30
+ - libpython3.8
+ - libsecret-1-0
+ - libsoup2.4-1
+ - libxss1
+ - lua-lgi
+ - python3-gi
+ exclude:
+ - adwaita-icon-theme
+ files:
+ exclude:
+ - usr/share/man
+ - usr/share/doc/*/README.*
+ - usr/share/doc/*/changelog.*
+ - usr/share/doc/*/NEWS.*
+ - usr/share/doc/*/TODO.*
+ - usr/include
+ runtime:
+ path_mappings:
+ - /usr/lib/x86_64-linux-gnu/gplugin:$APPDIR/usr/lib/x86_64-linux-gnu/gplugin/
+ - /usr/lib/x86_64-linux-gnu/purple-3:$APPDIR/usr/lib/x86_64-linux-gnu/purple-3/
+ - /usr/lib/x86_64-linux-gnu/pidgin-3:$APPDIR/usr/lib/x86_64-linux-gnu/pidgin-3/
+ - /usr/share/pidgin/:$APPDIR/usr/share/pidgin/
+ - /usr/share/pixmaps/pidgin/:$APPDIR/usr/share/pixmaps/pidgin/
+ env:
+ XDG_DATA_DIRS: $APPDIR/share:$XDG_DATA_DIRS
+AppImage:
+ arch: x86_64
+
--- a/pidgin/data/im.pidgin.Pidgin3.desktop.in.in Thu Oct 15 20:16:13 2020 -0500
+++ b/pidgin/data/im.pidgin.Pidgin3.desktop.in.in Thu Oct 15 20:25:08 2020 -0500
@@ -8,5 +8,5 @@
Terminal=false
Type=Application
Categories=Network;InstantMessaging;
-MimeType=x-scheme-handler/aim;x-scheme-handler/gg;x-scheme-handler/icq;x-scheme-handler/irc;x-scheme-handler/msnim;x-scheme-handler/sip;x-scheme-handler/xmpp;x-scheme-handler/ymsgr
+MimeType=x-scheme-handler/aim;x-scheme-handler/gg;x-scheme-handler/icq;x-scheme-handler/irc;x-scheme-handler/msnim;x-scheme-handler/sip;x-scheme-handler/xmpp;x-scheme-handler/ymsgr;
@USES_MM_CHAT_SECTION@