mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
tootle: remove package
Unmaintained, uses soup2. Upstream repo was archived and no continuations exist. Has plenty of alternatives avaliable in the repos.
This commit is contained in:
parent
4af1ba69ee
commit
ada70ca143
5 changed files with 1 additions and 171 deletions
|
@ -721,6 +721,7 @@ replaces="
|
||||||
tomahawk-devel<=0.8.4_25
|
tomahawk-devel<=0.8.4_25
|
||||||
tomahawk-qt5<=0.8.4_25
|
tomahawk-qt5<=0.8.4_25
|
||||||
tomahawk-qt5-devel<=0.8.4_25
|
tomahawk-qt5-devel<=0.8.4_25
|
||||||
|
tootle<=1.0_1
|
||||||
transcode<=1.1.7_4
|
transcode<=1.1.7_4
|
||||||
traverso<=0.49.6_2
|
traverso<=0.49.6_2
|
||||||
ttyload-git<=20141117_4
|
ttyload-git<=20141117_4
|
||||||
|
|
|
@ -1,66 +0,0 @@
|
||||||
From 0816105028c26965e37c9afc7c598854f3fecde1 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Clayton Craft <clayton@craftyguy.net>
|
|
||||||
Date: Tue, 26 Oct 2021 15:03:25 -0700
|
|
||||||
Subject: [PATCH] Adhere to GLib.Object naming conventions for properties
|
|
||||||
|
|
||||||
Vala now validates property names against GLib.Object conventions, this
|
|
||||||
fixes a compilation error as a result of this enforcement:
|
|
||||||
|
|
||||||
../src/API/Status.vala:27.5-27.23: error: Name `_url' is not valid for a GLib.Object property
|
|
||||||
public string? _url { get; set; }
|
|
||||||
^^^^^^^^^^^^^^^^^^^
|
|
||||||
|
|
||||||
Relevant Vala change:
|
|
||||||
https://gitlab.gnome.org/GNOME/vala/-/commit/38d61fbff037687ea4772e6df85c7e22a74b335e
|
|
||||||
|
|
||||||
fixes #337
|
|
||||||
|
|
||||||
Signed-off-by: Clayton Craft <clayton@craftyguy.net>
|
|
||||||
---
|
|
||||||
src/API/Attachment.vala | 6 +++---
|
|
||||||
src/API/Status.vala | 8 ++++----
|
|
||||||
2 files changed, 7 insertions(+), 7 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/API/Attachment.vala b/src/API/Attachment.vala
|
|
||||||
index 88bc5bb..35c4018 100644
|
|
||||||
--- a/src/API/Attachment.vala
|
|
||||||
+++ b/src/API/Attachment.vala
|
|
||||||
@@ -4,10 +4,10 @@ public class Tootle.API.Attachment : Entity, Widgetizable {
|
|
||||||
public string kind { get; set; default = "unknown"; }
|
|
||||||
public string url { get; set; }
|
|
||||||
public string? description { get; set; }
|
|
||||||
- public string? _preview_url { get; set; }
|
|
||||||
+ private string? t_preview_url { get; set; }
|
|
||||||
public string? preview_url {
|
|
||||||
- set { this._preview_url = value; }
|
|
||||||
- get { return (this._preview_url == null || this._preview_url == "") ? url : _preview_url; }
|
|
||||||
+ set { this.t_preview_url = value; }
|
|
||||||
+ get { return (this.t_preview_url == null || this.t_preview_url == "") ? url : t_preview_url; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public File? source_file { get; set; }
|
|
||||||
diff --git a/src/API/Status.vala b/src/API/Status.vala
|
|
||||||
index 4f92cdb..00e8a9f 100644
|
|
||||||
--- a/src/API/Status.vala
|
|
||||||
+++ b/src/API/Status.vala
|
|
||||||
@@ -28,16 +28,16 @@ public class Tootle.API.Status : Entity, Widgetizable {
|
|
||||||
public ArrayList<API.Mention>? mentions { get; set; default = null; }
|
|
||||||
public ArrayList<API.Attachment>? media_attachments { get; set; default = null; }
|
|
||||||
|
|
||||||
- public string? _url { get; set; }
|
|
||||||
+ private string? t_url { get; set; }
|
|
||||||
public string url {
|
|
||||||
owned get { return this.get_modified_url (); }
|
|
||||||
- set { this._url = value; }
|
|
||||||
+ set { this.t_url = value; }
|
|
||||||
}
|
|
||||||
string get_modified_url () {
|
|
||||||
- if (this._url == null) {
|
|
||||||
+ if (this.t_url == null) {
|
|
||||||
return this.uri.replace ("/activity", "");
|
|
||||||
}
|
|
||||||
- return this._url;
|
|
||||||
+ return this.t_url;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Status formal {
|
|
|
@ -1,23 +0,0 @@
|
||||||
From 11d94c05d4c4a2350801294f155230e899048ab5 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Bobby Rong <rjl931189261@126.com>
|
|
||||||
Date: Sat, 19 Mar 2022 16:59:31 +0800
|
|
||||||
Subject: [PATCH] Application: make app_entries private
|
|
||||||
|
|
||||||
Fixes compilation with latest valac.
|
|
||||||
---
|
|
||||||
src/Application.vala | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/Application.vala b/src/Application.vala
|
|
||||||
index 57d0fd7..b48cb53 100644
|
|
||||||
--- a/src/Application.vala
|
|
||||||
+++ b/src/Application.vala
|
|
||||||
@@ -43,7 +43,7 @@ namespace Tootle {
|
|
||||||
{ null }
|
|
||||||
};
|
|
||||||
|
|
||||||
- public const GLib.ActionEntry[] app_entries = {
|
|
||||||
+ private const GLib.ActionEntry[] app_entries = {
|
|
||||||
{ "about", about_activated },
|
|
||||||
{ "compose", compose_activated },
|
|
||||||
{ "back", back_activated },
|
|
|
@ -1,69 +0,0 @@
|
||||||
diff --git a/src/API/NotificationType.vala b/src/API/NotificationType.vala
|
|
||||||
index c3f4420..15ba2ae 100644
|
|
||||||
--- a/src/API/NotificationType.vala
|
|
||||||
+++ b/src/API/NotificationType.vala
|
|
||||||
@@ -5,7 +5,8 @@ public enum Tootle.API.NotificationType {
|
|
||||||
FAVOURITE,
|
|
||||||
FOLLOW,
|
|
||||||
FOLLOW_REQUEST, // Internal
|
|
||||||
- WATCHLIST; // Internal
|
|
||||||
+ WATCHLIST, // Internal
|
|
||||||
+ NONE; // Internal
|
|
||||||
|
|
||||||
public string to_string () {
|
|
||||||
switch (this) {
|
|
||||||
diff --git a/src/Widgets/Notification.vala b/src/Widgets/Notification.vala
|
|
||||||
index 3e2fe54..41ed71f 100644
|
|
||||||
--- a/src/Widgets/Notification.vala
|
|
||||||
+++ b/src/Widgets/Notification.vala
|
|
||||||
@@ -16,7 +16,7 @@ public class Tootle.Widgets.Notification : Widgets.Status {
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void on_kind_changed () {
|
|
||||||
- if (kind == null)
|
|
||||||
+ if (kind == API.NotificationType.NONE)
|
|
||||||
return;
|
|
||||||
|
|
||||||
header_icon.visible = header_label.visible = true;
|
|
||||||
diff --git a/src/Widgets/Status.vala b/src/Widgets/Status.vala
|
|
||||||
index ef51340..ce1c951 100644
|
|
||||||
--- a/src/Widgets/Status.vala
|
|
||||||
+++ b/src/Widgets/Status.vala
|
|
||||||
@@ -5,7 +5,7 @@ using Gdk;
|
|
||||||
public class Tootle.Widgets.Status : ListBoxRow {
|
|
||||||
|
|
||||||
public API.Status status { get; construct set; }
|
|
||||||
- public API.NotificationType? kind { get; construct set; }
|
|
||||||
+ public API.NotificationType kind { get; construct set; }
|
|
||||||
|
|
||||||
public enum ThreadRole {
|
|
||||||
NONE,
|
|
||||||
@@ -113,7 +113,7 @@ public class Tootle.Widgets.Status : ListBoxRow {
|
|
||||||
notify["kind"].connect (on_kind_changed);
|
|
||||||
open.connect (on_open);
|
|
||||||
|
|
||||||
- if (kind == null) {
|
|
||||||
+ if (kind == API.NotificationType.NONE) {
|
|
||||||
if (status.reblog != null)
|
|
||||||
kind = API.NotificationType.REBLOG_REMOTE_USER;
|
|
||||||
}
|
|
||||||
@@ -164,7 +164,7 @@ public class Tootle.Widgets.Status : ListBoxRow {
|
|
||||||
menu_button.clicked.connect (open_menu);
|
|
||||||
}
|
|
||||||
|
|
||||||
- public Status (owned API.Status status, API.NotificationType? kind = null) {
|
|
||||||
+ public Status (owned API.Status status, API.NotificationType kind = API.NotificationType.NONE) {
|
|
||||||
Object (
|
|
||||||
status: status,
|
|
||||||
kind: kind
|
|
||||||
@@ -180,8 +180,8 @@ public class Tootle.Widgets.Status : ListBoxRow {
|
|
||||||
}
|
|
||||||
|
|
||||||
protected virtual void on_kind_changed () {
|
|
||||||
- header_icon.visible = header_label.visible = (kind != null);
|
|
||||||
- if (kind == null)
|
|
||||||
+ header_icon.visible = header_label.visible = (kind != API.NotificationType.NONE);
|
|
||||||
+ if (kind == API.NotificationType.NONE)
|
|
||||||
return;
|
|
||||||
|
|
||||||
header_icon.icon_name = kind.get_icon ();
|
|
|
@ -1,13 +0,0 @@
|
||||||
# Template file for 'tootle'
|
|
||||||
pkgname=tootle
|
|
||||||
version=1.0
|
|
||||||
revision=1
|
|
||||||
build_style=meson
|
|
||||||
hostmakedepends="vala pkg-config gettext glib-devel"
|
|
||||||
makedepends="vala libhandy1-devel libsoup-devel libgee08-devel json-glib-devel"
|
|
||||||
short_desc="Native GTK Mastodon client"
|
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
||||||
license="GPL-3.0-or-later"
|
|
||||||
homepage="https://github.com/bleakgrey/tootle/"
|
|
||||||
distfiles="https://github.com/bleakgrey/tootle/archive/$version.tar.gz"
|
|
||||||
checksum=e0a0a062b1b72010242f7bb4db97cd71190f23067188b5c07372264d768a0496
|
|
Loading…
Add table
Reference in a new issue