summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/tootle/LICENSES.images14
-rw-r--r--pcr/tootle/PKGBUILD65
-rw-r--r--pcr/tootle/fix-build-on-vala-46.patch23
-rw-r--r--pcr/tootle/tootle-horn-128.pngbin0 -> 14912 bytes
-rw-r--r--pcr/tootle/tootle-horn-16.pngbin0 -> 686 bytes
-rw-r--r--pcr/tootle/tootle-horn-24.pngbin0 -> 1233 bytes
-rw-r--r--pcr/tootle/tootle-horn-32.pngbin0 -> 1890 bytes
-rw-r--r--pcr/tootle/tootle-horn-48.pngbin0 -> 3472 bytes
-rw-r--r--pcr/tootle/tootle-horn-64.pngbin0 -> 4974 bytes
-rw-r--r--pcr/tootle/tootle-horn-grey-128.pngbin0 -> 8495 bytes
-rw-r--r--pcr/tootle/tootle-horn.xcfbin0 -> 52867 bytes
11 files changed, 102 insertions, 0 deletions
diff --git a/pcr/tootle/LICENSES.images b/pcr/tootle/LICENSES.images
new file mode 100644
index 000000000..fb6cf56fe
--- /dev/null
+++ b/pcr/tootle/LICENSES.images
@@ -0,0 +1,14 @@
+
+tootle-horn.xcf
+tootle-horn-16.png
+tootle-horn-24.png
+tootle-horn-32.png
+tootle-horn-48.png
+tootle-horn-64.png
+tootle-horn-128.png
+tootle-horn-grey-128.png
+ Author: opengameart.org user 'mostafa' <https://opengameart.org/users/mostafa>
+ License: GPLv3
+ Derived from: horn.blend_.zip::horn.png
+ Fetched from: https://opengameart.org/content/horn
+ Changes: Scale, color, background to alpha
diff --git a/pcr/tootle/PKGBUILD b/pcr/tootle/PKGBUILD
new file mode 100644
index 000000000..446dafe7e
--- /dev/null
+++ b/pcr/tootle/PKGBUILD
@@ -0,0 +1,65 @@
+# Maintainer: bill-auger <bill-auger@programmer.net>
+# Contributor (AUR): Wesley Moore <wes@wezm.net>
+
+# parabola changes and rationale:
+# - replace images that are not clearly licensed
+
+
+pkgname=tootle
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="GTK3 client for Mastodon federated services"
+arch=('armv7h' 'x86_64' 'i686')
+url=https://github.com/bleakgrey/tootle
+license=('GPL3')
+
+depends=('glib2' 'gtk3' 'hicolor-icon-theme' 'libsoup' 'granite' 'json-glib')
+optdepends=('noto-fonts-emoji: color emoji')
+makedepends=('git' 'desktop-file-utils' 'hicolor-icon-theme' 'intltool' 'yelp-tools' 'gnome-common' 'gobject-introspection' 'meson' 'ninja' 'vala')
+options=('!libtool')
+source=(https://github.com/bleakgrey/${pkgname}/archive/${pkgver}.tar.gz \
+ fix-build-on-vala-46.patch \
+ tootle-horn-16.png tootle-horn-24.png tootle-horn-32.png tootle-horn-48.png \
+ tootle-horn-64.png tootle-horn-128.png tootle-horn-grey-128.png )
+sha256sums=('e83c4a0539bf7b4b9d2b81d036ee0e8a69564b11c70f77ded5091955a89d2737'
+ '5158d1e2019eaf6f4fa043b8483f8dfa049335d572a2563a0d4f71f799cae2b0'
+ 'd0f5575de5c73afc5b0db9c91c45762f4eb948b36b756bf45f5116cde91b42a8'
+ '6c3533b2e795d478047d3df477109c85aaa8aa1389db42341ec770823d595502'
+ '516b0358b6e9806c812331a8819567519cf54131566ca1450c251eced401eb11'
+ '2414fd5bf4dd435420f863dcfbe59a9184b2d1325fd4638b2db1180076440e23'
+ '9d8876aa02c3e4bdeb0c96f477aacd5f6eb7b9ddf5de0df62697e4b48a7b08d4'
+ 'bbd99b1209fd52b16a39ee94dca5538032f4eca8f66da18bed8acbfc74a7e1dc'
+ 'bc9a827d3d27e4ba394cd39c9e32b9a313a85254e47e54a71e8632b0c8ab2e5f')
+
+prepare()
+{
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -p1 < ../fix-build-on-vala-46.patch
+
+ sed -i "s|'\.svg'|'\.png'|" data/meson.build
+ for dims in 16 24 32 48 64 128
+ do cp ${srcdir}/tootle-horn-${dims}.png data/icons/${dims}/com.github.bleakgrey.tootle.png
+ rm data/icons/${dims}/com.github.bleakgrey.tootle.svg
+ done
+ cp ${srcdir}/tootle-horn-grey-128.png data/empty_state.png
+ cp ${srcdir}/tootle-horn-128.png data/logo128.png
+ rm data/screenshot*.png
+}
+
+build()
+{
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ arch-meson -Db_pie=false build
+ ninja -C build
+}
+
+package()
+{
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ DESTDIR="${pkgdir}/" ninja -C build install
+
+ ln -s /usr/bin/com.github.bleakgrey.tootle ${pkgdir}/usr/bin/tootle
+}
diff --git a/pcr/tootle/fix-build-on-vala-46.patch b/pcr/tootle/fix-build-on-vala-46.patch
new file mode 100644
index 000000000..543c9443b
--- /dev/null
+++ b/pcr/tootle/fix-build-on-vala-46.patch
@@ -0,0 +1,23 @@
+From 0a88bdad6d969ead1e4058b1a19675c9d6857b16 Mon Sep 17 00:00:00 2001
+From: worldofpeace <worldofpeace@protonmail.ch>
+Date: Mon, 14 Oct 2019 16:44:16 -0400
+Subject: [PATCH] Fix build with vala 0.46
+
+See: https://gitlab.gnome.org/GNOME/vala/issues/766
+---
+ src/Views/AbstractView.vala | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/Views/AbstractView.vala b/src/Views/AbstractView.vala
+index e1c7f06..2945624 100644
+--- a/src/Views/AbstractView.vala
++++ b/src/Views/AbstractView.vala
+@@ -21,7 +21,7 @@ public abstract class Tootle.AbstractView : ScrolledWindow {
+ });
+ }
+
+- public AbstractView () {
++ protected AbstractView () {
+ show_all ();
+ }
+
diff --git a/pcr/tootle/tootle-horn-128.png b/pcr/tootle/tootle-horn-128.png
new file mode 100644
index 000000000..cb18ea2a1
--- /dev/null
+++ b/pcr/tootle/tootle-horn-128.png
Binary files differ
diff --git a/pcr/tootle/tootle-horn-16.png b/pcr/tootle/tootle-horn-16.png
new file mode 100644
index 000000000..c0d4b361a
--- /dev/null
+++ b/pcr/tootle/tootle-horn-16.png
Binary files differ
diff --git a/pcr/tootle/tootle-horn-24.png b/pcr/tootle/tootle-horn-24.png
new file mode 100644
index 000000000..ad9a1a7f9
--- /dev/null
+++ b/pcr/tootle/tootle-horn-24.png
Binary files differ
diff --git a/pcr/tootle/tootle-horn-32.png b/pcr/tootle/tootle-horn-32.png
new file mode 100644
index 000000000..cc14f3c1b
--- /dev/null
+++ b/pcr/tootle/tootle-horn-32.png
Binary files differ
diff --git a/pcr/tootle/tootle-horn-48.png b/pcr/tootle/tootle-horn-48.png
new file mode 100644
index 000000000..82395448d
--- /dev/null
+++ b/pcr/tootle/tootle-horn-48.png
Binary files differ
diff --git a/pcr/tootle/tootle-horn-64.png b/pcr/tootle/tootle-horn-64.png
new file mode 100644
index 000000000..b63d8ac35
--- /dev/null
+++ b/pcr/tootle/tootle-horn-64.png
Binary files differ
diff --git a/pcr/tootle/tootle-horn-grey-128.png b/pcr/tootle/tootle-horn-grey-128.png
new file mode 100644
index 000000000..e98608d51
--- /dev/null
+++ b/pcr/tootle/tootle-horn-grey-128.png
Binary files differ
diff --git a/pcr/tootle/tootle-horn.xcf b/pcr/tootle/tootle-horn.xcf
new file mode 100644
index 000000000..3a16c60e1
--- /dev/null
+++ b/pcr/tootle/tootle-horn.xcf
Binary files differ