diff --git a/srcpkgs/astroid/patches/attachements.patch b/srcpkgs/astroid/patches/attachements.patch deleted file mode 100644 index e01e274c324..00000000000 --- a/srcpkgs/astroid/patches/attachements.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 7fd64c41435a2b99fb9e0a5770a83ba30cd11450 Mon Sep 17 00:00:00 2001 -From: "Stephan C. Buchert" -Date: Wed, 14 Jun 2023 17:44:05 +0200 -Subject: [PATCH] compose_message: to load as byte array, 'file' must be - wrapped with copy. - ---- - src/compose_message.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/compose_message.cc b/src/compose_message.cc -index 189c20f99..329481f40 100644 ---- a/src/compose_message.cc -+++ b/src/compose_message.cc -@@ -781,7 +781,7 @@ namespace Astroid { - - } else { - /* load into byte array */ -- refptr fle = Glib::wrap (file, false); -+ refptr fle = Glib::wrap (file, true); - refptr istr = fle->read (); - - refptr b; diff --git a/srcpkgs/astroid/patches/cpp17.patch b/srcpkgs/astroid/patches/cpp17.patch deleted file mode 100644 index 9ac9a9f952e..00000000000 --- a/srcpkgs/astroid/patches/cpp17.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- astroid-0.16/CMakeLists.txt 2021-08-05 15:31:11.000000000 +0200 -+++ - 2023-07-03 21:53:30.304595787 +0200 -@@ -145,7 +145,7 @@ - # compile flags and options - # - --set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14") -+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17") - - include_directories ( - ${GTKMM3_INCLUDE_DIRS} diff --git a/srcpkgs/astroid/patches/webkit2gtk41.patch b/srcpkgs/astroid/patches/webkit2gtk41.patch deleted file mode 100644 index 49de01d36bf..00000000000 --- a/srcpkgs/astroid/patches/webkit2gtk41.patch +++ /dev/null @@ -1,468 +0,0 @@ -From a98affc88b03b18aa8e52ffccddf12a81141821a Mon Sep 17 00:00:00 2001 -From: Johannes Rosenberger -Date: Tue, 4 Jun 2024 22:37:00 +0200 -Subject: [PATCH] fix typo in CMakeLists.txt - ---- - CMakeLists.txt | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 5dd70705..8613572e 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -338,7 +338,7 @@ target_link_libraries ( - ${GTKMM3_LDFLAGS} - ${GLIBMM2_LDFLAGS} - ${GIOMM2_LDFLAGS} -- ${GIOUINX_LDFLAGS} -+ ${GIOUNIX_LDFLAGS} - ${LIBSOUP_LDFLAGS} - ${GMIME_LDFLAGS} - ${VTE2_LDFLAGS} -@@ -368,7 +368,7 @@ target_link_libraries ( - ${WEBKIT2GTK_LDFLAGS} - ${GLIBMM2_LDFLAGS} - ${GIOMM2_LDFLAGS} -- ${GIOUINX_LDFLAGS} -+ ${GIOUNIX_LDFLAGS} - ${CMAKE_THREAD_LIBS_INIT} - ${PROTOBUF_LIBRARIES} - ${GTKMM3_LDFLAGS} -From 4c76a4cf6226752f5270197ba8747c7c7550e35e Mon Sep 17 00:00:00 2001 -From: Johannes Rosenberger -Date: Tue, 4 Jun 2024 22:43:06 +0200 -Subject: [PATCH 1/2] improve mailto uri handling - -1. This introduces consistent mailto uri handling, supporting passing a - body and all headers that can be given as agruments to EditMessage, - namely, To, From, Cc, Bcc and Subject. - Other headers are not dropped but prepended to the email body with a note. - -2. Positional (i.e., non-option) commandline arguments are now - interpreted as --mailto options. - -3. Multiple --mailto options on the commandline are now supported, and are - merged into one mailto argument before being passed to EditMessage. - -4. A consequence is that libsoup is not used any more, enabling - compatibility with webkit2gtk-4.1 while maintaining compatibility with - gio (glib) 2.16, and thus building on older and current distros. ---- - .github/workflows/ci-debian-build-test.yml | 1 - - CMakeLists.txt | 6 +- - src/astroid.cc | 91 ++++++++++------------ - src/astroid.hh | 1 + - src/message_thread.cc | 3 +- - src/modes/edit_message.cc | 89 +++++++++++++++++++-- - src/modes/edit_message.hh | 4 +- - src/modes/thread_view/thread_view.cc | 4 - - 8 files changed, 127 insertions(+), 72 deletions(-) - -diff --git a/.github/workflows/ci-debian-build-test.yml b/.github/workflows/ci-debian-build-test.yml -index 3015b7f06..ddc33728f 100644 ---- a/.github/workflows/ci-debian-build-test.yml -+++ b/.github/workflows/ci-debian-build-test.yml -@@ -59,7 +59,6 @@ jobs: - libpeas-dev \ - libprotobuf-dev \ - libsass-dev \ -- libsoup2.4-dev \ - libvte-2.91-dev \ - libwebkit2gtk-${WEBKITGTK_VERSION}-dev \ - ninja-build \ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 8613572ec..498e4a260 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -98,8 +98,7 @@ pkg_check_modules (GLIBMM2 REQUIRED glibmm-2.4) - pkg_check_modules (WEBKIT2GTK REQUIRED webkit2gtk-4.0>=2.22) - pkg_check_modules (SASS REQUIRED libsass) - pkg_check_modules (GIOMM2 REQUIRED giomm-2.4) --pkg_check_modules (GIOUNIX REQUIRED gio-unix-2.0) --pkg_check_modules (LIBSOUP REQUIRED libsoup-2.4) -+pkg_check_modules (GIOUNIX REQUIRED gio-unix-2.0>=2.16) - - string (REGEX REPLACE "([0-9]+\.[0-9]+)\.[0-9]+" "\\1" GMIME_MAJOR_MINOR ${Notmuch_GMIME_VERSION}) - pkg_check_modules (GMIME REQUIRED gmime-${GMIME_MAJOR_MINOR}>=${Notmuch_GMIME_VERSION}) -@@ -154,7 +153,6 @@ include_directories ( - ${GLIBMM2_INCLUDE_DIRS} - ${GIOMM2_INCLUDE_DIRS} - ${GIOUNIX_INCLUDE_DIRS} -- ${LIBSOUP_INCLUDE_DIRS} - ${GMIME_INCLUDE_DIRS} - ${WEBKIT2GTK_INCLUDE_DIRS} - ${VTE2_INCLUDE_DIRS} -@@ -169,7 +167,6 @@ add_compile_options ( - ${GLIBMM2_CFLAGS} - ${GIOMM2_CFLAGS} - ${GIOUNIX_CFLAGS} -- ${LIBSOUP_CFLAGS} - ${GMIME_CFLAGS} - ${WEBKIT2GTK_CFLAGS} - ${VTE2_CFLAGS} -@@ -339,7 +336,6 @@ target_link_libraries ( - ${GLIBMM2_LDFLAGS} - ${GIOMM2_LDFLAGS} - ${GIOUNIX_LDFLAGS} -- ${LIBSOUP_LDFLAGS} - ${GMIME_LDFLAGS} - ${VTE2_LDFLAGS} - ${SASS_LDFLAGS} -diff --git a/src/astroid.cc b/src/astroid.cc -index 3d5dc9f54..b23e8f6e6 100644 ---- a/src/astroid.cc -+++ b/src/astroid.cc -@@ -53,8 +53,6 @@ - # include - # include - --# include -- - using namespace std; - using namespace boost::filesystem; - -@@ -126,7 +124,7 @@ namespace Astroid { - # ifdef DEBUG - ( "test-config,t", "use test config (same as used when tests are run), only makes sense from the source root") - # endif -- ( "mailto,m", po::value(), "compose mail with mailto url or address") -+ ( "mailto,m", po::value< vector >()->composing(), "compose mail with mailto url or address") - ( "no-auto-poll", "do not poll automatically") - ( "disable-log", "disable logging") - ( "log-stdout", "log to stdout regardless of configuration") -@@ -139,6 +137,9 @@ namespace Astroid { - # else - ; - # endif -+ -+ /* default option (without --