From 7906164df1660f53c494d490ec3d0daacce0f566 Mon Sep 17 00:00:00 2001 From: Krul Ceter Date: Thu, 17 Nov 2022 00:47:38 +0300 Subject: [PATCH] gtk-sharp2: remove package Uses GTK2 which is not supported anymore. The repository already has another package with GTK3 support (gtk-sharp). --- srcpkgs/gtk-sharp2/patches/ftbfs.patch | 11 ---------- srcpkgs/gtk-sharp2/template | 29 -------------------------- srcpkgs/removed-packages/template | 1 + 3 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 srcpkgs/gtk-sharp2/patches/ftbfs.patch delete mode 100644 srcpkgs/gtk-sharp2/template diff --git a/srcpkgs/gtk-sharp2/patches/ftbfs.patch b/srcpkgs/gtk-sharp2/patches/ftbfs.patch deleted file mode 100644 index 497be06a0e1..00000000000 --- a/srcpkgs/gtk-sharp2/patches/ftbfs.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/sample/test/TestRange.cs -+++ b/sample/test/TestRange.cs -@@ -9,6 +9,8 @@ - using System; - - using Gtk; -+// disambiguate, Gtk.Range vs System.Range -+using Range=Gtk.Range; - - namespace WidgetViewer { - diff --git a/srcpkgs/gtk-sharp2/template b/srcpkgs/gtk-sharp2/template deleted file mode 100644 index e4b9d59f67d..00000000000 --- a/srcpkgs/gtk-sharp2/template +++ /dev/null @@ -1,29 +0,0 @@ -# Template file for 'gtk-sharp2' -pkgname=gtk-sharp2 -version=2.12.45 -revision=2 -build_style=gnu-configure -configure_args="--disable-static" -hostmakedepends="pkg-config automake libtool mono" -makedepends="mono-devel gtk+-devel libglade-devel" -maintainer="John " -short_desc="Graphical User Interface Toolkit for mono and .Net (Gtk#)" -license="LGPL-2.1-only" -homepage="https://www.mono-project.com/docs/gui/gtksharp/" -distfiles="https://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-${version}.tar.gz" -checksum=02680578e4535441064aac21d33315daa009d742cab8098ac8b2749d86fffb6a - -if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then - _have_mdoc="no" -elif [[ $XBPS_TARGET_MACHINE == ppc* ]]; then - _have_mdoc="no" -fi - -pre_configure() { - # mdoc is not shipped on ppc64le and all BE because it needs roslyn - if [ "$_have_mdoc" = "no" ]; then - sed "s/enable_monodoc=yes/enable_monodoc=no/" -i configure.in - fi - - autoreconf -i -} diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template index 634ebf2a5df..ba313b98a00 100644 --- a/srcpkgs/removed-packages/template +++ b/srcpkgs/removed-packages/template @@ -139,6 +139,7 @@ replaces=" gst1-python<=1.18.3_1 gtkhtml-devel<=4.10.0_1 gtkhtml<=4.10.0_1 + gtk-sharp2<=2.12.45_2 guile1.8-devel<=1.8.8_3 guile1.8<=1.8.8_3 gx-go<=1.9.0_1