pidgin/pidgin

6d79c7cf9699
Parents 05663def7b82
Children 30d9cbf04922
add flatpak manifests for both pidgin and finch

Add flatpaks for both pidgin3 and finch3

Testing Done:
Ran both and then seem okay. The mercurial dependency is to make sure we have the correct revision in the about dialog.

Reviewed at https://reviews.imfreedom.org/r/67/
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/im.pidgin.Finch3.yml Sun Aug 16 03:30:06 2020 -0500
@@ -0,0 +1,23 @@
+---
+id: im.pidgin.Finch3
+runtime: org.gnome.Platform
+runtime-version: '3.36'
+sdk: org.gnome.Sdk
+command: finch3
+finish-args:
+ - --share=ipc
+ - --socket=x11
+ - --share=network
+ - --talk-name=org.freedesktop.Notifications
+ - --system-talk-name=org.freedesktop.Avahi
+modules:
+ - packaging/flatpak/libpurple-common.yml
+ - packaging/flatpak/libgnt.yml
+ - name: finch3
+ buildsystem: meson
+ config-opts:
+ - -Dgtkui=false
+ - -Ddoc=false
+ sources:
+ - type: dir
+ path: '.'
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/im.pidgin.Pidgin3.yml Sun Aug 16 03:30:06 2020 -0500
@@ -0,0 +1,24 @@
+---
+id: im.pidgin.Pidgin3
+runtime: org.gnome.Platform
+runtime-version: '3.36'
+sdk: org.gnome.Sdk
+command: pidgin3
+finish-args:
+ - --share=ipc
+ - --socket=fallback-x11
+ - --share=network
+ - --socket=pulseaudio
+ - --talk-name=org.freedesktop.Notifications
+ - --system-talk-name=org.freedesktop.Avahi
+modules:
+ - packaging/flatpak/libpurple-common.yml
+ - packaging/flatpak/talkatu.yml
+ - name: pidgin3
+ buildsystem: meson
+ config-opts:
+ - -Dconsoleui=false
+ - -Ddoc=false
+ sources:
+ - type: dir
+ path: '.'
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packaging/flatpak/external/avahi.yml Sun Aug 16 03:30:06 2020 -0500
@@ -0,0 +1,27 @@
+---
+name: avahi
+cleanup:
+ - /bin
+ - /include
+ - /lib/pkgconfig
+ - /lib/*.la
+ - /share/man
+config-opts:
+ - --with-distro=none
+ - --disable-libdaemon
+ - --disable-core-docs
+ - --disable-manpages
+ - --disable-mono
+ - --disable-qt3
+ - --disable-qt4
+ - --disable-qt5
+ - --disable-python
+ - --disable-gtk
+ - --disable-gtk3
+ - --disable-static
+sources:
+ - type: archive
+ url: http://avahi.org/download/avahi-0.8.tar.gz
+ sha256: 060309d7a333d38d951bc27598c677af1796934dbd98e1024e7ad8de798fedda
+modules:
+ - libevent.yml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packaging/flatpak/external/cmark.yml Sun Aug 16 03:30:06 2020 -0500
@@ -0,0 +1,18 @@
+---
+name: cmark
+buildsystem: cmake-ninja
+builddir: true
+config-opts:
+ - -DCMAKE_BUILD_TYPE=Release
+ - -DCMARK_TESTS=OFF
+sources:
+ - type: archive
+ url: https://github.com/commonmark/cmark/archive/0.29.0.tar.gz
+ sha256: 2558ace3cbeff85610de3bda32858f722b359acdadf0c4691851865bb84924a6
+cleanup:
+ - /bin
+ - /include
+ - /lib/cmake
+ - /lib/pkgconfig
+ - /lib/*.a
+ - /share/man
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packaging/flatpak/external/cyrus-sasl2.yml Sun Aug 16 03:30:06 2020 -0500
@@ -0,0 +1,27 @@
+---
+name: cyrus-sasl2
+config-opts:
+ - --with-dblib=berkeley
+ - --without-pam
+ - --without-opie
+ - --without-des
+ - --disable-gssapi
+ - --enable-cram
+ - --enable-scram
+ - --enable-digest
+ - --enable-otp
+ - --enable-plain
+ - --enable-login
+ - --with-plugindir=/app/lib/sasl2
+no-parallel-make: true
+sources:
+ - type: archive
+ url: https://github.com/cyrusimap/cyrus-sasl/releases/download/cyrus-sasl-2.1.27/cyrus-sasl-2.1.27.tar.gz
+ sha256: 26866b1549b00ffd020f188a43c258017fa1c382b3ddadd8201536f72efb05d5
+cleanup:
+ - /include
+ - /lib/pkgconfig
+ - /lib/*.la
+ - /lib/sasl2/*.la
+ - /sbin
+ - /share/man
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packaging/flatpak/external/farstream.yml Sun Aug 16 03:30:06 2020 -0500
@@ -0,0 +1,12 @@
+---
+name: farstream
+sources:
+ - type: archive
+ url: https://freedesktop.org/software/farstream/releases/farstream/farstream-0.2.9.tar.gz
+ sha256: cb7d112433cf7c2e37a8ec918fb24f0ea5cb293cfa1002488e431de26482f47b
+modules:
+ - libnice.yml
+cleanup:
+ - /include
+ - /lib/*.la
+ - /lib/farstream-0.2/*.la
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packaging/flatpak/external/gspell-1.yml Sun Aug 16 03:30:06 2020 -0500
@@ -0,0 +1,14 @@
+---
+name: gspell-1
+config-opts:
+ - --disable-gtk-doc
+ - --disable-introspection
+sources:
+ - type: archive
+ url: https://download.gnome.org/sources/gspell/1.8/gspell-1.8.3.tar.xz
+ sha256: 5ae514dd0216be069176accf6d0049d6a01cfa6a50df4bc06be85f7080b62de8
+cleanup:
+ - /bin
+ - /include
+ - /lib/pkgconfig
+ - /lib/*.la
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packaging/flatpak/external/gumbo.yml Sun Aug 16 03:30:06 2020 -0500
@@ -0,0 +1,11 @@
+---
+name: gumbo
+sources:
+ - type: archive
+ url: https://github.com/google/gumbo-parser/archive/v0.10.1.tar.gz
+ sha256: 28463053d44a5dfbc4b77bcf49c8cee119338ffa636cc17fc3378421d714efad
+cleanup:
+ - /include
+ - /lib/pkgconfig
+ - /lib/*.a
+ - /lib/*.la
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packaging/flatpak/external/libevent.yml Sun Aug 16 03:30:06 2020 -0500
@@ -0,0 +1,11 @@
+---
+name: libevent
+sources:
+ - type: archive
+ url: https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz
+ sha256: 92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb
+cleanup:
+ - /include
+ - /lib/pkgconfig
+ - /lib/*.a
+ - /lib/*.la
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packaging/flatpak/external/libgadu.yml Sun Aug 16 03:30:06 2020 -0500
@@ -0,0 +1,11 @@
+---
+name: libgadu
+sources:
+ - type: archive
+ url: https://github.com/wojtekka/libgadu/releases/download/1.12.2/libgadu-1.12.2.tar.gz
+ sha512: de1d54ddbd7ab093596da9ac6d69235d1f9cb92851954b63e776977bd9396369a2e73b648b10b2f0e820a45c0e036bd3f8b46373621d3bc34d68621b4539b406
+cleanup:
+ - /include
+ - /lib/pkgconfig
+ - /lib/*.a
+ - /lib/*.la
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packaging/flatpak/external/libidn.yml Sun Aug 16 03:30:06 2020 -0500
@@ -0,0 +1,16 @@
+---
+name: libidn
+sources:
+ - type: archive
+ url: https://ftp.gnu.org/gnu/libidn/libidn-1.36.tar.gz
+ sha256: 14b67108344d81ba844631640df77c9071d9fb0659b080326ff5424e86b14038
+cleanup:
+ - /bin
+ - /include
+ - /info
+ - /lib/pkgconfig
+ - /lib/*.a
+ - /lib/*.la
+ - /share/emacs
+ - /share/info
+ - /share/man
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packaging/flatpak/external/libnice.yml Sun Aug 16 03:30:06 2020 -0500
@@ -0,0 +1,11 @@
+---
+name: libnice
+sources:
+ - type: archive
+ url: https://nice.freedesktop.org/releases/libnice-0.1.17.tar.gz
+ sha512: 177ee47712233af379f422cbe24befaa1b744444241723a6575f17db30f7032aa8a34b1c6e160f6f406545fc42c1e7e3ca36c274bea5adb169b02434712c908e
+cleanup:
+ - /include
+ - /lib/pkgconfig
+ - /lib/*.a
+ - /lib/*.la
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packaging/flatpak/external/mercurial.yml Sun Aug 16 03:30:06 2020 -0500
@@ -0,0 +1,11 @@
+---
+name: mercurial
+buildsystem: simple
+build-commands:
+ - make install PREFIX=/app PYTHON=python3
+sources:
+ - type: archive
+ url: https://www.mercurial-scm.org/release/mercurial-5.5.tar.gz
+ sha256: c1ed28e1534304a7a4981ed59905286d1c56acd5b75755eedd184171a4a782b4
+modules:
+ - python-docutils.yml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packaging/flatpak/external/python-docutils.yml Sun Aug 16 03:30:06 2020 -0500
@@ -0,0 +1,9 @@
+---
+name: python-docutils
+buildsystem: simple
+build-commands:
+ - pip3 install --prefix=/app --no-deps .
+sources:
+ - type: archive
+ url: https://files.pythonhosted.org/packages/2f/e0/3d435b34abd2d62e8206171892f174b180cd37b09d57b924ca5c2ef2219d/docutils-0.16.tar.gz
+ sha256: c2de3a60e9e7d07be26b7f2b00ca0309c207e06c100f9cc2a94931fc75a478fc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packaging/flatpak/gplugin.yml Sun Aug 16 03:30:06 2020 -0500
@@ -0,0 +1,16 @@
+---
+name: gplugin
+buildsystem: meson
+config-opts:
+ - -Ddoc=false
+ - -Dlua=false
+ - -Dperl=false
+sources:
+ - type: archive
+ url: https://keep.imfreedom.org/gplugin/gplugin/archive/ed8e701cc2b1.tar.gz
+ sha256: ad7968d0d5d93ba39c2d6676f612cfd2f353260b9e4d260d0dac17c52f833f8d
+cleanup:
+ - /bin
+ - /include
+ - /lib/pkgconfig
+ - /share/man
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packaging/flatpak/libgnt.yml Sun Aug 16 03:30:06 2020 -0500
@@ -0,0 +1,12 @@
+---
+name: libgnt
+buildsystem: meson
+sources:
+ - type: archive
+ url: https://keep.imfreedom.org/libgnt/libgnt/archive/23e34422bea8.tar.gz
+ sha256: 3c9b65fea2723f15326997f14299044c8fd0c387a1bbf861d38a4e944b54f7a8
+cleanup:
+ - /bin
+ - /include
+ - /lib/pkgconfig
+ - /share/man
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packaging/flatpak/libpurple-common.yml Sun Aug 16 03:30:06 2020 -0500
@@ -0,0 +1,13 @@
+---
+name: libpurple-common
+buildsystem: simple
+build-commands:
+ - true
+modules:
+ - external/avahi.yml
+ - external/cyrus-sasl2.yml
+ - external/farstream.yml
+ - external/libgadu.yml
+ - external/libidn.yml
+ - external/mercurial.yml
+ - gplugin.yml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packaging/flatpak/talkatu.yml Sun Aug 16 03:30:06 2020 -0500
@@ -0,0 +1,19 @@
+---
+name: talkatu
+buildsystem: meson
+config-opts:
+ - -Ddoc=false
+ - -Dtests=false
+cleanup:
+ - /bin
+ - /include
+ - /lib/pkgconfig
+ - /share/man
+sources:
+ - type: archive
+ url: https://keep.imfreedom.org/talkatu/talkatu/archive/8fc3991a77d0.tar.gz
+ sha256: cff53b8127613691ddd7bb87284ae2944977ab7a8cc2be85f0aee10b274d0fbe
+modules:
+ - external/cmark.yml
+ - external/gspell-1.yml
+ - external/gumbo.yml