[arch-commits] Commit in lablgtk3/repos/community-x86_64 (6 files)

Jürgen Hötzel juergen at gemini.archlinux.org
Tue Aug 9 20:28:18 UTC 2022


    Date: Tuesday, August 9, 2022 @ 20:28:18
  Author: juergen
Revision: 1264555

archrelease: copy trunk to community-x86_64

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

-----------------------------------------------+
 0001-disable-warn-error-on-Obj.truncate.patch |   52 ++++++------
 PKGBUILD                                      |  102 ++++++++++++------------
 dune-project.patch                            |   16 +--
 3 files changed, 85 insertions(+), 85 deletions(-)

Deleted: 0001-disable-warn-error-on-Obj.truncate.patch
===================================================================
--- 0001-disable-warn-error-on-Obj.truncate.patch	2022-08-09 20:27:46 UTC (rev 1264554)
+++ 0001-disable-warn-error-on-Obj.truncate.patch	2022-08-09 20:28:18 UTC (rev 1264555)
@@ -1,26 +0,0 @@
-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-x86_64/0001-disable-warn-error-on-Obj.truncate.patch (from rev 1264554, lablgtk3/trunk/0001-disable-warn-error-on-Obj.truncate.patch)
===================================================================
--- 0001-disable-warn-error-on-Obj.truncate.patch	                        (rev 0)
+++ 0001-disable-warn-error-on-Obj.truncate.patch	2022-08-09 20:28:18 UTC (rev 1264555)
@@ -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
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-09 20:27:46 UTC (rev 1264554)
+++ PKGBUILD	2022-08-09 20:28:18 UTC (rev 1264555)
@@ -1,51 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge dot pw>
-# Contributor: Baptiste Jonglez <baptiste--aur at jonglez dot org>
-
-_pkgname=lablgtk
-pkgname="${_pkgname}3"
-pkgver=3.1.2
-pkgrel=3
-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.14.0' 'ocaml-findlib' 'dune')
-optdepends=('ocaml: for using the tools')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/garrigue/lablgtk/archive/refs/tags/${pkgver}.tar.gz" "dune-project.patch")
-sha256sums=('ad7417875f79716597cc06ccd8cae1efccb326263db1010d9f83555c185f1669'
-            'd4810af69a7a548dc779f5390aaf6954d6b9636cfc67babdaf3ce5bf6e757ed4')
-
-_dune_release_pkgs=('lablgtk3' 'lablgtk3-gtkspell3' 'lablgtk3-sourceview3')
-dune_release_pkgs_comma() {
-  # dune build needs a comma separated list of packages
-  local dune_release_pkgs='dummy'
-  for _pkg in "${_dune_release_pkgs[@]}"; do
-    dune_release_pkgs+=",${_pkg}"
-  done
-  dune_release_pkgs="${dune_release_pkgs#dummy,}"
-  echo "${dune_release_pkgs}"
-}
-
-prepare() {
-  cd "${srcdir}/${_pkgname}-${pkgver}"
-  patch -Np1 -i ../dune-project.patch
-}
-
-build() {
-  cd "${srcdir}/${_pkgname}-${pkgver}"
-  # gcc-10 workaround
-  export OCAMLPATH="$(ocamlfind printconf destdir)"
-  LABLGTK_EXTRA_FLAGS=-fcommon dune build -p $(dune_release_pkgs_comma)
-}
-
-package() {
-  cd "${srcdir}/${_pkgname}-${pkgver}"
-  # we need to install packages one by one
-    for _pkg in "${_dune_release_pkgs[@]}"; do
-      dune install "${_pkg}" --destdir="${pkgdir}" --prefix="/usr" --libdir="$(ocamlfind printconf destdir)" 
-    done
-
-  install -dm755 "${pkgdir}/usr/share/"
-  mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/"
-}

Copied: lablgtk3/repos/community-x86_64/PKGBUILD (from rev 1264554, lablgtk3/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-09 20:28:18 UTC (rev 1264555)
@@ -0,0 +1,51 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+# Contributor: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+
+_pkgname=lablgtk
+pkgname="${_pkgname}3"
+pkgver=3.1.2
+pkgrel=3
+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.14.0' 'ocaml-findlib' 'dune')
+optdepends=('ocaml: for using the tools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/garrigue/lablgtk/archive/refs/tags/${pkgver}.tar.gz" "dune-project.patch")
+sha256sums=('ad7417875f79716597cc06ccd8cae1efccb326263db1010d9f83555c185f1669'
+            'd4810af69a7a548dc779f5390aaf6954d6b9636cfc67babdaf3ce5bf6e757ed4')
+
+_dune_release_pkgs=('lablgtk3' 'lablgtk3-gtkspell3' 'lablgtk3-sourceview3')
+dune_release_pkgs_comma() {
+  # dune build needs a comma separated list of packages
+  local dune_release_pkgs='dummy'
+  for _pkg in "${_dune_release_pkgs[@]}"; do
+    dune_release_pkgs+=",${_pkg}"
+  done
+  dune_release_pkgs="${dune_release_pkgs#dummy,}"
+  echo "${dune_release_pkgs}"
+}
+
+prepare() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  patch -Np1 -i ../dune-project.patch
+}
+
+build() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  # gcc-10 workaround
+  export OCAMLPATH="$(ocamlfind printconf destdir)"
+  LABLGTK_EXTRA_FLAGS=-fcommon dune build -p $(dune_release_pkgs_comma)
+}
+
+package() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  # we need to install packages one by one
+    for _pkg in "${_dune_release_pkgs[@]}"; do
+      dune install "${_pkg}" --destdir="${pkgdir}" --prefix="/usr" --libdir="$(ocamlfind printconf destdir)" 
+    done
+
+  install -dm755 "${pkgdir}/usr/share/"
+  mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/"
+}

Deleted: dune-project.patch
===================================================================
--- dune-project.patch	2022-08-09 20:27:46 UTC (rev 1264554)
+++ dune-project.patch	2022-08-09 20:28:18 UTC (rev 1264555)
@@ -1,8 +0,0 @@
-diff --git a/dune-project b/dune-project
-index 389cd199..da00e4e1 100644
---- a/dune-project
-+++ b/dune-project
-@@ -1,2 +1,3 @@
- (lang dune 1.8)
- (name lablgtk3)
-+(version 3.1.2)

Copied: lablgtk3/repos/community-x86_64/dune-project.patch (from rev 1264554, lablgtk3/trunk/dune-project.patch)
===================================================================
--- dune-project.patch	                        (rev 0)
+++ dune-project.patch	2022-08-09 20:28:18 UTC (rev 1264555)
@@ -0,0 +1,8 @@
+diff --git a/dune-project b/dune-project
+index 389cd199..da00e4e1 100644
+--- a/dune-project
++++ b/dune-project
+@@ -1,2 +1,3 @@
+ (lang dune 1.8)
+ (name lablgtk3)
++(version 3.1.2)



More information about the arch-commits mailing list