[arch-commits] Commit in lablgtk2/repos/extra-x86_64 (PKGBUILD PKGBUILD gcc10.patch)

Jürgen Hötzel juergen at archlinux.org
Mon May 18 17:23:30 UTC 2020


    Date: Monday, May 18, 2020 @ 17:23:30
  Author: juergen
Revision: 385473

archrelease: copy trunk to extra-x86_64

Added:
  lablgtk2/repos/extra-x86_64/PKGBUILD
    (from rev 385472, lablgtk2/trunk/PKGBUILD)
  lablgtk2/repos/extra-x86_64/gcc10.patch
    (from rev 385472, lablgtk2/trunk/gcc10.patch)
Deleted:
  lablgtk2/repos/extra-x86_64/PKGBUILD

-------------+
 PKGBUILD    |   74 +++++++++++++++++++++++++++++++---------------------------
 gcc10.patch |   10 +++++++
 2 files changed, 50 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-18 17:22:47 UTC (rev 385472)
+++ PKGBUILD	2020-05-18 17:23:30 UTC (rev 385473)
@@ -1,34 +0,0 @@
-#Maintainer: Juergen Hoetzel <juergen at archlinux.org>
-
-pkgname=lablgtk2
-pkgver=2.18.8
-pkgrel=4
-pkgdesc="An Objective Caml interface to gtk2"
-arch=(x86_64)
-license=('LGPL')
-url="http://lablgtk.forge.ocamlcore.org/"
-depends=('gtk2' 'librsvg' 'gtksourceview2')
-makedepends=('ocaml-compiler-libs>=4.0.9' 'camlp5>=7.10' 'libglade')
-optdepends=('ocaml: for using the tools')
-DLAGENTS=('https::/usr/bin/curl -fLC - --insecure --retry 3 --retry-delay 3 -o %o %u')
-source=("https://github.com/garrigue/lablgtk/releases/download/lablgtk2188/lablgtk-${pkgver}.tar.gz")
-sha256sums=('91f59bafd07989ea00080f4fd65512ce339878c7117bf5116bad3b93b64d4de3')
-options=(!makeflags staticlibs)
-
-build() {
-  cd "${srcdir}/lablgtk-${pkgver}"
-  ./configure --prefix=/usr \
-    --without-gnomeui \
-    --without-gnomecanvas \
-    --without-panel \
-    --without-gtkspell \
-    --without-gtksourceview
-  make world
-  make opt
-}
-
-package() {
-  cd "${srcdir}/lablgtk-${pkgver}"
-  make DESTDIR="${pkgdir}" old-install
-  install -m644 META "${pkgdir}/usr/lib/ocaml/lablgtk2/"
-}

Copied: lablgtk2/repos/extra-x86_64/PKGBUILD (from rev 385472, lablgtk2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-18 17:23:30 UTC (rev 385473)
@@ -0,0 +1,40 @@
+#Maintainer: Juergen Hoetzel <juergen at archlinux.org>
+
+pkgname=lablgtk2
+pkgver=2.18.10
+pkgrel=1
+pkgdesc="An Objective Caml interface to gtk2"
+arch=(x86_64)
+license=('LGPL')
+url="http://lablgtk.forge.ocamlcore.org/"
+depends=('gtk2' 'librsvg' 'gtksourceview2')
+makedepends=('ocaml-compiler-libs>=4.0.9' 'camlp5>=7.10' 'libglade')
+optdepends=('ocaml: for using the tools')
+DLAGENTS=('https::/usr/bin/curl -fLC - --insecure --retry 3 --retry-delay 3 -o %o %u')
+source=("https://github.com/garrigue/lablgtk/archive/${pkgver}.tar.gz" gcc10.patch)
+sha256sums=('6f00f6b3114b468eb9e743d27511a6063936f6798f890e44b494f71a5cf95470'
+            '3d3c11ed9f906b11043c9e0ec3df3b4a0da1fcb8c35b8c4e6792bf0bf5ab4268')
+options=(!makeflags staticlibs)
+
+prepare() {
+  cd "${srcdir}/lablgtk-${pkgver}/src"
+  patch -p0 -i "${srcdir}/gcc10.patch"
+}
+
+build() {
+  cd "${srcdir}/lablgtk-${pkgver}"
+  ./configure --prefix=/usr \
+    --without-gnomeui \
+    --without-gnomecanvas \
+    --without-panel \
+    --without-gtkspell \
+    --without-gtksourceview
+  make world
+  make opt
+}
+
+package() {
+  cd "${srcdir}/lablgtk-${pkgver}"
+  make DESTDIR="${pkgdir}" old-install
+  install -m644 META "${pkgdir}/usr/lib/ocaml/lablgtk2/"
+}

Copied: lablgtk2/repos/extra-x86_64/gcc10.patch (from rev 385472, lablgtk2/trunk/gcc10.patch)
===================================================================
--- gcc10.patch	                        (rev 0)
+++ gcc10.patch	2020-05-18 17:23:30 UTC (rev 385473)
@@ -0,0 +1,10 @@
+--- Makefile.sic	2020-01-23 15:38:11.000000000 +0100
++++ Makefile	.2020-05-17 13:03:30.869429005 +0200
+@@ -17,6 +17,7 @@
+ DLLDIR = $(LIBDIR)/stublibs
+ 
+ include $(CONFIG)
++GTKCFLAGS += -fcommon
+ #GTKCFLAGS += -Werror -Wno-error=deprecated-declarations
+ 
+ TARGETS = varcc$(XE) lablgtktop$(XE) lablgtk2$(XB) gdk_pixbuf_mlsource$(XE) \


More information about the arch-commits mailing list