package/sylpheed: remove package

As we're about to remove the libgtk2 package, we must first remove
sylpheed which requires libgtk2.

Even though there has been some upstream activity as recent as three
years ago, the package hasn't been updated for libgtk3.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
This commit is contained in:
Thomas Petazzoni
2025-09-10 23:32:28 +02:00
committed by Arnout Vandecappelle
parent a7480c6101
commit 02369c8bbb
7 changed files with 7 additions and 89 deletions

View File

@@ -1053,7 +1053,6 @@ package/supervisor/S99supervisord lib_sysv.Variables
package/suricata/0001-configure.ac-allow-the-user-to-override-RUST_TARGET.patch lib_patch.Upstream
package/suricata/S99suricata Shellcheck
package/swupdate/swupdate.sh Shellcheck
package/sylpheed/0001-harden-link-checker-before-accepting-click.patch lib_patch.Upstream
package/sysvinit/0001-Makefile-disable-stack-protector-strong.patch lib_patch.Upstream
package/tar/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch lib_patch.Upstream
package/targetcli-fb/S50target Shellcheck lib_sysv.Variables

View File

@@ -146,6 +146,13 @@ endif
comment "Legacy options removed in 2025.11"
config BR2_PACKAGE_SYLPHEED
bool "sylpheed has been removed"
select BR2_LEGACY
help
Due to the removal of libgtk2, the sylpheed package has been
removed.
config BR2_PACKAGE_PINENTRY_GTK2
bool "gtk2 backend of pinentry has been removed"
select BR2_LEGACY

View File

@@ -2387,7 +2387,6 @@ menu "Mail"
source "package/libesmtp/Config.in"
source "package/msmtp/Config.in"
source "package/mutt/Config.in"
source "package/sylpheed/Config.in"
endmenu
menu "Miscellaneous"

View File

@@ -1,39 +0,0 @@
From 876c54b2927e48ab6900e5e6b9395742f75e840e Mon Sep 17 00:00:00 2001
From: Paul <paul@claws-mail.org>
Date: Sun, 23 May 2021 12:16:40 +0100
Subject: [PATCH] harden link checker before accepting click
[Retrieved from:
https://git.claws-mail.org/?p=claws.git;a=commit;h=ac286a71ed78429e16c612161251b9ea90ccd431]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Julien: rebased patch on version 3.7.0]
Signed-off-by: Julien Olivain <ju.o@free.fr>
---
src/textview.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/textview.c b/src/textview.c
index e55eea9..6fbb8a1 100644
--- a/src/textview.c
+++ b/src/textview.c
@@ -2689,7 +2689,7 @@ static gboolean textview_uri_security_check(TextView *textview, RemoteURI *uri)
gboolean retval = TRUE;
if (is_uri_string(uri->uri) == FALSE)
- return TRUE;
+ return FALSE;
buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(textview->text));
gtk_text_buffer_get_iter_at_offset(buffer, &start_iter, uri->start);
@@ -2725,6 +2725,8 @@ static gboolean textview_uri_security_check(TextView *textview, RemoteURI *uri)
if (aval == G_ALERTDEFAULT)
retval = TRUE;
}
+ if (strlen(uri->uri) > get_uri_len(uri->uri))
+ retval = FALSE;
g_free(visible_str);
--
2.45.2

View File

@@ -1,7 +0,0 @@
config BR2_PACKAGE_SYLPHEED
bool "sylpheed"
depends on BR2_PACKAGE_LIBGTK2
help
lightweight and user-friendly e-mail client.
http://sylpheed.sraoss.jp/en/

View File

@@ -1,4 +0,0 @@
# Locally calculated after checking pgp signature
sha256 0d6bc5eb46f5d0a463757c62bc80b00d219b294b3c3662840e4540f6db2e3e49 sylpheed-3.7.0.tar.xz
sha256 c38aee9e3c8c4d5d594ff548a1be05453023016d6286931f6512db215ec1fd42 COPYING
sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING.LIB

View File

@@ -1,37 +0,0 @@
################################################################################
#
# sylpheed
#
################################################################################
SYLPHEED_VERSION_MAJOR = 3.7
SYLPHEED_VERSION = $(SYLPHEED_VERSION_MAJOR).0
SYLPHEED_SOURCE = sylpheed-$(SYLPHEED_VERSION).tar.xz
SYLPHEED_SITE = http://sylpheed.sraoss.jp/sylpheed/v$(SYLPHEED_VERSION_MAJOR)
SYLPHEED_LICENSE = GPL-2.0+ (executables), LGPL-2.1+ (library, attachment plugin)
SYLPHEED_LICENSE_FILES = COPYING COPYING.LIB
SYLPHEED_CPE_ID_VALID = YES
SYLPHEED_CONF_OPTS = --disable-gtkspell --disable-gpgme
SYLPHEED_DEPENDENCIES = host-pkgconf libgtk2
# 0001-harden-link-checker-before-accepting-click.patch
SYLPHEED_IGNORE_CVES += CVE-2021-37746
# Remove the -I$(includedir) from the Makefiles
# because it refers to the host /usr/include.
define SYLPHEED_PRECONFIGURE
for i in $$(find $(@D) -name "Makefile*"); do \
sed -i 's:-I$$(includedir)::g' $$i; \
done
endef
SYLPHEED_PRE_CONFIGURE_HOOKS += SYLPHEED_PRECONFIGURE
ifeq ($(BR2_PACKAGE_OPENSSL),y)
SYLPHEED_DEPENDENCIES += openssl
SYLPHEED_CONF_OPTS += --enable-ssl
else
SYLPHEED_CONF_OPTS += --disable-ssl
endif
$(eval $(autotools-package))