[crux-commits] ports/contrib (3.5): gtkglext: dropped old port

crux at crux.nu crux at crux.nu
Sun Jun 14 11:32:08 UTC 2020


commit b0613566a25af1e62834787424522791544a0167
Author: Danny Rawlins <monster.romster at gmail.com>
Date:   Sun Jun 14 21:00:57 2020 +1000

    gtkglext: dropped old port

diff --git a/gtkglext/.footprint b/gtkglext/.footprint
deleted file mode 100644
index 8dee4e573..000000000
--- a/gtkglext/.footprint
+++ /dev/null
@@ -1,57 +0,0 @@
-drwxr-xr-x	root/root	usr/
-drwxr-xr-x	root/root	usr/include/
-drwxr-xr-x	root/root	usr/include/gtkglext-1.0/
-drwxr-xr-x	root/root	usr/include/gtkglext-1.0/gdk/
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/gdkgl.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/gdkglconfig.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/gdkglcontext.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/gdkgldebug.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/gdkgldefs.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/gdkgldrawable.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/gdkglenumtypes.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/gdkglfont.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/gdkglglext.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/gdkglinit.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/gdkglpixmap.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/gdkglquery.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/gdkglshapes.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/gdkgltokens.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/gdkgltypes.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/gdkglversion.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/gdkglwindow.h
-drwxr-xr-x	root/root	usr/include/gtkglext-1.0/gdk/glext/
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/glext/glext-extra.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/glext/glext.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/glext/glxext-extra.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/glext/glxext.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/glext/wglext-extra.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/glext/wglext.h
-drwxr-xr-x	root/root	usr/include/gtkglext-1.0/gdk/x11/
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/x11/gdkglglxext.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gdk/x11/gdkglx.h
-drwxr-xr-x	root/root	usr/include/gtkglext-1.0/gtk/
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gtk/gtkgl.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gtk/gtkgldebug.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gtk/gtkgldefs.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gtk/gtkglinit.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gtk/gtkglversion.h
--rw-r--r--	root/root	usr/include/gtkglext-1.0/gtk/gtkglwidget.h
-drwxr-xr-x	root/root	usr/lib/
-drwxr-xr-x	root/root	usr/lib/gtkglext-1.0/
-drwxr-xr-x	root/root	usr/lib/gtkglext-1.0/include/
--rw-r--r--	root/root	usr/lib/gtkglext-1.0/include/gdkglext-config.h
--rw-r--r--	root/root	usr/lib/libgdkglext-x11-1.0.a
--rwxr-xr-x	root/root	usr/lib/libgdkglext-x11-1.0.la
-lrwxrwxrwx	root/root	usr/lib/libgdkglext-x11-1.0.so -> libgdkglext-x11-1.0.so.0.0.0
-lrwxrwxrwx	root/root	usr/lib/libgdkglext-x11-1.0.so.0 -> libgdkglext-x11-1.0.so.0.0.0
--rwxr-xr-x	root/root	usr/lib/libgdkglext-x11-1.0.so.0.0.0
--rw-r--r--	root/root	usr/lib/libgtkglext-x11-1.0.a
--rwxr-xr-x	root/root	usr/lib/libgtkglext-x11-1.0.la
-lrwxrwxrwx	root/root	usr/lib/libgtkglext-x11-1.0.so -> libgtkglext-x11-1.0.so.0.0.0
-lrwxrwxrwx	root/root	usr/lib/libgtkglext-x11-1.0.so.0 -> libgtkglext-x11-1.0.so.0.0.0
--rwxr-xr-x	root/root	usr/lib/libgtkglext-x11-1.0.so.0.0.0
-drwxr-xr-x	root/root	usr/lib/pkgconfig/
--rw-r--r--	root/root	usr/lib/pkgconfig/gdkglext-1.0.pc
--rw-r--r--	root/root	usr/lib/pkgconfig/gdkglext-x11-1.0.pc
--rw-r--r--	root/root	usr/lib/pkgconfig/gtkglext-1.0.pc
--rw-r--r--	root/root	usr/lib/pkgconfig/gtkglext-x11-1.0.pc
diff --git a/gtkglext/.signature b/gtkglext/.signature
deleted file mode 100644
index 64fb74ba2..000000000
--- a/gtkglext/.signature
+++ /dev/null
@@ -1,7 +0,0 @@
-untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF37h8qz0Agaa9/4LHyG6I/Aq2oa3er+IuoEQwP0Z8+J/MsyjzBznll97z5MIprfUtvl21UP1mGcTTEOKsDSHTlgw=
-SHA256 (Pkgfile) = 983132e1e41d439ec85a3fa92bb569f9373e721b7c122a7d679d4b60c1ea0c2a
-SHA256 (.footprint) = 622c3704b31ae9ab61cdafb37336b39c5b715f034ef67a8ecf16d5bb5fd68aad
-SHA256 (gtkglext-1.2.0.tar.gz) = e5073f3c6b816e7fa67d359d9745a5bb5de94a628ac85f624c992925a46844f9
-SHA256 (gtk2.20.patch) = 864c6963c4a2f4f69f1f028ecee6c821a4f4d5aba142f2e07898aede825ce9ea
-SHA256 (gtkglext-gcc8.patch) = 0ec0c22b15054b0684f9a9015ff05920af0c00dae5409e76321f683dcc17cff9
diff --git a/gtkglext/Pkgfile b/gtkglext/Pkgfile
deleted file mode 100644
index e0a0c6d08..000000000
--- a/gtkglext/Pkgfile
+++ /dev/null
@@ -1,30 +0,0 @@
-# Description: OpenGL extension to GTK 2.0.
-# URL: https://web.archive.org/web/20170805202534/https://projects.gnome.org/gtkglext/
-# Maintainer: Danny Rawlins, crux at romster dot me
-# Depends on: glu gtk pangox-compat xorg-libxmu
-
-name=gtkglext
-version=1.2.0
-release=3
-source=(https://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz
-	gtk2.20.patch
-	gtkglext-gcc8.patch)
-
-build() {
-	cd $name-$version
-
-	patch -p1 -i $SRC/gtk2.20.patch
-	sed '/AC_PATH_XTRA/d' -i configure.in
-	patch -p1 -i $SRC/gtkglext-gcc8.patch
-
-	autoreconf -vi
-
-	./configure \
-		--prefix=/usr \
-		--disable-gtk-doc
-
-	make
-	make DESTDIR=$PKG install
-
-	rm -r $PKG/usr/share
-}
diff --git a/gtkglext/gtk2.20.patch b/gtkglext/gtk2.20.patch
deleted file mode 100644
index 54b34c11e..000000000
--- a/gtkglext/gtk2.20.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-diff -Nur gtkglext-1.2.0.orig/gtk/gtkglwidget.c gtkglext-1.2.0/gtk/gtkglwidget.c
---- gtkglext-1.2.0.orig/gtk/gtkglwidget.c	2004-02-20 11:38:36.000000000 +0200
-+++ gtkglext-1.2.0/gtk/gtkglwidget.c	2010-04-20 19:29:42.941917275 +0300
-@@ -127,7 +127,7 @@
-    * Synchronize OpenGL and window resizing request streams.
-    */
- 
--  if (GTK_WIDGET_REALIZED (widget) && private->is_realized)
-+  if (gtk_widget_get_realized (widget) && private->is_realized)
-     {
-       gldrawable = gdk_window_get_gl_drawable (widget->window);
-       gdk_gl_drawable_wait_gdk (gldrawable);
-@@ -154,7 +154,7 @@
-    * Remove OpenGL-capability from widget->window.
-    */
- 
--  if (GTK_WIDGET_REALIZED (widget))
-+  if (gtk_widget_get_realized (widget))
-     gdk_window_unset_gl_capability (widget->window);
- 
-   private->is_realized = FALSE;
-@@ -174,7 +174,7 @@
-    */
- 
-   toplevel = gtk_widget_get_toplevel (widget);
--  if (GTK_WIDGET_TOPLEVEL (toplevel) && !GTK_WIDGET_REALIZED (toplevel))
-+  if (gtk_widget_is_toplevel (toplevel) && !gtk_widget_get_realized (toplevel))
-     {
-       GTK_GL_NOTE (MISC,
-         g_message (" - Install colormap to the top-level window."));
-@@ -194,7 +194,7 @@
-    * Set a background of "None" on window to avoid AIX X server crash.
-    */
- 
--  if (GTK_WIDGET_REALIZED (widget))
-+  if (gtk_widget_get_realized (widget))
-     {
-       GTK_GL_NOTE (MISC,
-         g_message (" - window->bg_pixmap = %p",
-@@ -250,8 +250,8 @@
-   GTK_GL_NOTE_FUNC ();
- 
-   g_return_val_if_fail (GTK_IS_WIDGET (widget), FALSE);
--  g_return_val_if_fail (!GTK_WIDGET_NO_WINDOW (widget), FALSE);
--  g_return_val_if_fail (!GTK_WIDGET_REALIZED (widget), FALSE);
-+  g_return_val_if_fail (gtk_widget_get_has_window (widget), FALSE);
-+  g_return_val_if_fail (!gtk_widget_get_realized (widget), FALSE);
-   g_return_val_if_fail (GDK_IS_GL_CONFIG (glconfig), FALSE);
- 
-   /* 
-@@ -432,7 +432,7 @@
-   GTK_GL_NOTE_FUNC ();
- 
-   g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
--  g_return_val_if_fail (GTK_WIDGET_REALIZED (widget), NULL);
-+  g_return_val_if_fail (gtk_widget_get_realized (widget), NULL);
- 
-   gldrawable = gdk_window_get_gl_drawable (widget->window);
-   if (gldrawable == NULL)
-@@ -474,7 +474,7 @@
-   GLWidgetPrivate *private;
- 
-   g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
--  g_return_val_if_fail (GTK_WIDGET_REALIZED (widget), NULL);
-+  g_return_val_if_fail (gtk_widget_get_realized (widget), NULL);
- 
-   private = g_object_get_qdata (G_OBJECT (widget), quark_gl_private);
-   if (private == NULL)
-@@ -501,7 +501,7 @@
- gtk_widget_get_gl_window (GtkWidget *widget)
- {
-   g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
--  g_return_val_if_fail (GTK_WIDGET_REALIZED (widget), NULL);
-+  g_return_val_if_fail (gtk_widget_get_realized (widget), NULL);
- 
-   return gdk_window_get_gl_window (widget->window);
- }
diff --git a/gtkglext/gtkglext-gcc8.patch b/gtkglext/gtkglext-gcc8.patch
deleted file mode 100644
index 266f5fefc..000000000
--- a/gtkglext/gtkglext-gcc8.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 1fe275cd7dfa9f3a6db771b0cb945d96787e72cf Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corsepiu at fedoraproject.org>
-Date: Thu, 15 Mar 2018 15:56:20 +0100
-Subject: [PATCH 2/2] GCC-8 fixes.
-
----
- gdk/gdkglshapes.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/gdk/gdkglshapes.c b/gdk/gdkglshapes.c
-index f72abba..9d1197f 100644
---- a/gdk/gdkglshapes.c
-+++ b/gdk/gdkglshapes.c
-@@ -544,7 +544,7 @@ static GLfloat idata[12][3] =
-   {-Z, -X, 0}
- };
- 
--static int index[20][3] =
-+static int iindex[20][3] =
- {
-   {0, 4, 1},
-   {0, 9, 4},
-@@ -574,7 +574,7 @@ icosahedron(GLenum shadeType)
-   int i;
- 
-   for (i = 19; i >= 0; i--) {
--    drawtriangle(i, idata, index, shadeType);
-+    drawtriangle(i, idata, iindex, shadeType);
-   }
- }
- 
--- 
-2.14.3
-


More information about the crux-commits mailing list