[arch-commits] Commit in lablgtk3 (4 files)

Baptiste Jonglez zorun at archlinux.org
Fri Nov 1 17:37:53 UTC 2019


    Date: Friday, November 1, 2019 @ 17:37:52
  Author: zorun
Revision: 522064

archrelease: copy trunk to community-testing-x86_64

Added:
  lablgtk3/repos/
  lablgtk3/repos/community-testing-x86_64/
  lablgtk3/repos/community-testing-x86_64/0001-disable-warn-error-on-Obj.truncate.patch
    (from rev 522063, lablgtk3/trunk/0001-disable-warn-error-on-Obj.truncate.patch)
  lablgtk3/repos/community-testing-x86_64/PKGBUILD
    (from rev 522063, lablgtk3/trunk/PKGBUILD)

-----------------------------------------------+
 0001-disable-warn-error-on-Obj.truncate.patch |   26 ++++++++++++++++++
 PKGBUILD                                      |   34 ++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

Copied: lablgtk3/repos/community-testing-x86_64/0001-disable-warn-error-on-Obj.truncate.patch (from rev 522063, lablgtk3/trunk/0001-disable-warn-error-on-Obj.truncate.patch)
===================================================================
--- repos/community-testing-x86_64/0001-disable-warn-error-on-Obj.truncate.patch	                        (rev 0)
+++ repos/community-testing-x86_64/0001-disable-warn-error-on-Obj.truncate.patch	2019-11-01 17:37:52 UTC (rev 522064)
@@ -0,0 +1,26 @@
+From 1418b24bf99b10a3bd45258ed30613a8de4b8955 Mon Sep 17 00:00:00 2001
+From: Jacques Garrigue <garrigue at math.nagoya-u.ac.jp>
+Date: Wed, 25 Sep 2019 16:41:02 +0200
+Subject: [PATCH] disable -warn-error on Obj.truncate
+
+---
+ src/dune | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/dune b/src/dune
+index ed283fd4..def43f7a 100644
+--- a/src/dune
++++ b/src/dune
+@@ -68,7 +68,8 @@
+ (library
+  (name lablgtk3)
+  (public_name lablgtk3)
+- (flags :standard -w -6-7-9-10-27-32-33-34-35-36-50-52 -no-strict-sequence)
++ (flags :standard -w -6-7-9-10-27-32-33-34-35-36-50-52 -no-strict-sequence
++        -warn-error A-3) ; needed for Obj.truncate
+  (wrapped false)
+  (modules
+    ; gtkBrokenProps ogtkBrokenProps gtkBroken gBroken
+-- 
+2.23.0
+

Copied: lablgtk3/repos/community-testing-x86_64/PKGBUILD (from rev 522063, lablgtk3/trunk/PKGBUILD)
===================================================================
--- repos/community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-testing-x86_64/PKGBUILD	2019-11-01 17:37:52 UTC (rev 522064)
@@ -0,0 +1,34 @@
+# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+
+pkgname=lablgtk3
+pkgver=3.0.beta6
+pkgrel=2
+pkgdesc="An Objective Caml interface to gtk3"
+arch=('x86_64')
+license=('LGPL')
+url="http://lablgtk.forge.ocamlcore.org/"
+depends=('gtk3' 'gtksourceview3' 'gtkspell3' 'ocaml-cairo')
+makedepends=('ocaml-compiler-libs>=4.0.9' 'ocaml-findlib' 'dune')
+optdepends=('ocaml: for using the tools')
+source=("https://github.com/garrigue/lablgtk/releases/download/${pkgver}/${pkgname}-${pkgver}.tbz"
+        "0001-disable-warn-error-on-Obj.truncate.patch")
+sha256sums=('4014ac73afd502cfce862fc65a3c77372fb191a8f317d6803f1a9372172bd1ca'
+            '22713c672519f7cdb67ba61e2b975504c8b740ca9e6728e52389978dd672270b')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -p1 < "${srcdir}"/0001-disable-warn-error-on-Obj.truncate.patch
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  dune build -p lablgtk3,lablgtk3-gtkspell3,lablgtk3-sourceview3
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  DESTDIR="${pkgdir}" dune install --prefix "/usr" --libdir "lib/ocaml"
+
+  install -dm755 "${pkgdir}/usr/share/"
+  mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/"
+}



More information about the arch-commits mailing list