net-im/cawbird: treeclean

Closes: https://bugs.gentoo.org/904296
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2023-05-14 18:19:09 +02:00
parent 7196dedce6
commit 64ea3958df
5 changed files with 0 additions and 123 deletions

View File

@@ -1 +0,0 @@
DIST cawbird-1.5.tar.gz 675527 BLAKE2B d94bf61faba01fc1159fabbf0da24ab49a697112ccd5bb631133c21f52ffe29e9ede214c9eccf553cbbb039b08e487467e4ecc56d0e0ef63f68d4c23d39414aa SHA512 917480ac79606a1ab572f0837fd48e100bbb6d70ad3551a8d86486843d9bfb0e4814c75c56ff0e2aa41fd7d32a614bbff4e6121831b3da7da7614fb5a0d3f6e1

View File

@@ -1,81 +0,0 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome2-utils meson vala xdg
DESCRIPTION="Twitter client"
HOMEPAGE="https://ibboard.co.uk/cawbird/ https://github.com/IBBoard/cawbird"
SRC_URI="https://github.com/IBBoard/cawbird/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/${P}
LICENSE="CC-BY-3.0 GPL-3+"
SLOT="0"
KEYWORDS="amd64"
IUSE="gstreamer spell"
RDEPEND="
dev-db/sqlite:3
dev-libs/atk
dev-libs/glib:2
dev-libs/json-glib
net-libs/liboauth
net-libs/libsoup:2.4
net-libs/rest:0.7
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
x11-libs/libX11
x11-libs/pango
gstreamer? (
media-plugins/gst-plugins-gtk
media-plugins/gst-plugins-hls
media-plugins/gst-plugins-meta[ffmpeg,http,X]
)
spell? ( app-text/gspell:=[vala] )
"
DEPEND="${RDEPEND}"
BDEPEND="
$(vala_depend)
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/${PN}-1.5-clang16.patch
)
src_prepare() {
default
# Remove tests that require the network.
for test in avatardownload filters inlinemediadownloader \
texttransform tweetparsing; do
sed -i "/${test}/d" tests/meson.build || die
done
vala_setup
}
src_configure() {
local emesonargs=(
# these keys are taken from the readme of cawbird
-Dconsumer_key_base64='VmY5dG9yRFcyWk93MzJEZmhVdEk5Y3NMOA=='
-Dconsumer_secret_base64='MThCRXIxbWRESDQ2Y0podzVtVU13SGUyVGlCRXhPb3BFRHhGYlB6ZkpybG5GdXZaSjI='
-Dexamples=false
$(meson_use spell spellcheck)
$(meson_use gstreamer video)
-Dx11=true
)
meson_src_configure
}
pkg_postinst() {
gnome2_schemas_update
xdg_pkg_postinst
}
pkg_postrm() {
gnome2_schemas_update
xdg_pkg_postrm
}

View File

@@ -1,28 +0,0 @@
https://bugzilla.redhat.com/show_bug.cgi?id=2185474
https://src.fedoraproject.org/rpms/cawbird/raw/40963504cc61b410cf82b0f4e5938f1e66d3cf12/f/cawbird-c99.patch
Declare cb_tweet_model_set_thread_mode in CbTweetModel.h, so that it
can be called from TweetInfoPage.vala. Likewise for
cb_tweet_has_quoted_inline_media, CbTweet.h and TweetListEntry.vala.
--- a/src/CbTweet.h
+++ b/src/CbTweet.h
@@ -104,6 +104,7 @@ CbMedia ** cb_tweet_get_quoted_medias(CbTweet *tweet,
char ** cb_tweet_get_mentions (CbTweet *tweet,
int *n_mentions);
gboolean cb_tweet_has_inline_media (CbTweet *tweet);
+gboolean cb_tweet_has_quoted_inline_media (CbTweet *tweet);
gint64 cb_tweet_get_user_id (CbTweet *tweet);
const char * cb_tweet_get_screen_name (CbTweet *tweet);
const char * cb_tweet_get_user_name (CbTweet *tweet);
--- a/src/CbTweetModel.h
+++ b/src/CbTweetModel.h
@@ -56,6 +56,7 @@ GType cb_tweet_model_get_type (void) G_GNUC_CONST;
CbTweetModel *cb_tweet_model_new (void);
int cb_tweet_model_index_of (CbTweetModel *self, gint64 id);
+int cb_tweet_model_index_of_retweet (CbTweetModel *self, gint64 id);
gboolean cb_tweet_model_contains_id (CbTweetModel *self,
gint64 id);

View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<remote-id type="github">IBBoard/cawbird</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -264,11 +264,6 @@ x11-misc/sprop
# Removal on 2023-05-14. Bug #778506, bug #881205.
www-apache/mod_log_sql
# Sam James <sam@gentoo.org> (2023-04-14)
# Obsolete because of Twitter API changes. Archived upstream.
# Removal on 2023-05-14. Bug #904296.
net-im/cawbird
# Sam James <sam@gentoo.org> (2023-04-13)
# Leads to broken terminal output in e.g. vim and openrc and other applications
# like joe crashing.