Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages / 
gtkglext


Commits:
5fd6aee8 by Christian Hesse at 2024-05-24T13:54:14+02:00
upgpkg: 1.2.0-15: fixes, cleanups & rebuild

- - - - -


5 changed files:

- .SRCINFO
- kill-pangox.patch → 001-kill-pangox.patch
- gtk2.20.patch → 002-gtk2.20.patch
- gtkglext-gcc8.patch → 003-gtkglext-gcc8.patch
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,21 +1,21 @@
 pkgbase = gtkglext
        pkgdesc = opengl extensions for gtk2
        pkgver = 1.2.0
-       pkgrel = 14
-       url = http://gtkglext.sourceforge.net/
+       pkgrel = 15
+       url = https://sourceforge.net/projects/gtkglext/
        arch = x86_64
        license = LGPL
        makedepends = python
        depends = gtk2
        depends = glu
        depends = libxmu
-       source = 
https://downloads.sourceforge.net/sourceforge/gtkglext/gtkglext-1.2.0.tar.bz2
-       source = gtk2.20.patch
-       source = gtkglext-gcc8.patch
-       source = kill-pangox.patch
+       source = 
https://sourceforge.net/projects/gtkglext/files/gtkglext/1.2.0/gtkglext-1.2.0.tar.bz2
+       source = 001-kill-pangox.patch
+       source = 002-gtk2.20.patch
+       source = 003-gtkglext-gcc8.patch
        sha256sums = 
16bd736074f6b14180f206b7e91263fc721b49912ea3258ab5f094cfa5497f51
+       sha256sums = 
8ce31aa17ea84aede3b03fa392ec95e0e9c001f348384ba93d850de9f0b7044e
        sha256sums = 
864c6963c4a2f4f69f1f028ecee6c821a4f4d5aba142f2e07898aede825ce9ea
        sha256sums = 
0ec0c22b15054b0684f9a9015ff05920af0c00dae5409e76321f683dcc17cff9
-       sha256sums = 
8ce31aa17ea84aede3b03fa392ec95e0e9c001f348384ba93d850de9f0b7044e
 
 pkgname = gtkglext


=====================================
kill-pangox.patch → 001-kill-pangox.patch
=====================================


=====================================
gtk2.20.patch → 002-gtk2.20.patch
=====================================


=====================================
gtkglext-gcc8.patch → 003-gtkglext-gcc8.patch
=====================================


=====================================
PKGBUILD
=====================================
@@ -1,38 +1,40 @@
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Ben <b...@benmazer.net>
+# Maintainer: Well, none... Currently orphaned.
 
 pkgname=gtkglext
 pkgver=1.2.0
-pkgrel=14
-pkgdesc="opengl extensions for gtk2"
+pkgrel=15
+pkgdesc='opengl extensions for gtk2'
 arch=('x86_64')
-url="http://gtkglext.sourceforge.net/";
+url='https://sourceforge.net/projects/gtkglext/'
 license=('LGPL')
 depends=('gtk2' 'glu' 'libxmu')
 makedepends=('python')
-source=("https://downloads.sourceforge.net/sourceforge/gtkglext/${pkgname}-${pkgver}.tar.bz2";
-       'gtk2.20.patch' gtkglext-gcc8.patch kill-pangox.patch)
+source=("https://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2";
+       '001-kill-pangox.patch'
+       '002-gtk2.20.patch'
+       '003-gtkglext-gcc8.patch')
 sha256sums=('16bd736074f6b14180f206b7e91263fc721b49912ea3258ab5f094cfa5497f51'
+            '8ce31aa17ea84aede3b03fa392ec95e0e9c001f348384ba93d850de9f0b7044e'
             '864c6963c4a2f4f69f1f028ecee6c821a4f4d5aba142f2e07898aede825ce9ea'
-            '0ec0c22b15054b0684f9a9015ff05920af0c00dae5409e76321f683dcc17cff9'
-            '8ce31aa17ea84aede3b03fa392ec95e0e9c001f348384ba93d850de9f0b7044e')
+            '0ec0c22b15054b0684f9a9015ff05920af0c00dae5409e76321f683dcc17cff9')
 
 prepare() {
   cd $pkgname-$pkgver
 
-  patch -Np1 -i "${srcdir}/kill-pangox.patch"
-  patch -Np1 -i "${srcdir}/gtk2.20.patch"
-  sed '/AC_PATH_XTRA/d' -i configure.in  
-  patch -p1 -i ../gtkglext-gcc8.patch # Fix build with GCC 8
+  patch -Np1 < ../001-kill-pangox.patch
+  patch -Np1 < ../002-gtk2.20.patch
+  patch -Np1 < ../003-gtkglext-gcc8.patch
 
+  sed '/AC_PATH_XTRA/d' -i configure.in
   autoreconf -vi
 }
   
 build() {
   cd ${pkgname}-${pkgver}
 
-  ./configure --prefix=/usr \
-              --disable-static
+  ./configure \
+    --prefix=/usr \
+    --disable-static
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gtkglext/-/commit/5fd6aee899c248f3df59e6eabc528e2caae7fc0a

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gtkglext/-/commit/5fd6aee899c248f3df59e6eabc528e2caae7fc0a
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to