[arch-commits] Commit in lablgtk2/repos/extra-x86_64 (4 files)
Jürgen Hötzel
juergen at gemini.archlinux.org
Sat Dec 11 12:27:59 UTC 2021
Date: Saturday, December 11, 2021 @ 12:27:59
Author: juergen
Revision: 431862
archrelease: copy trunk to extra-x86_64
Added:
lablgtk2/repos/extra-x86_64/PKGBUILD
(from rev 431861, lablgtk2/trunk/PKGBUILD)
lablgtk2/repos/extra-x86_64/gcc10.patch
(from rev 431861, lablgtk2/trunk/gcc10.patch)
Deleted:
lablgtk2/repos/extra-x86_64/PKGBUILD
lablgtk2/repos/extra-x86_64/gcc10.patch
-------------+
PKGBUILD | 90 +++++++++++++++++++++++++++++-----------------------------
gcc10.patch | 20 ++++++------
2 files changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-11 12:27:51 UTC (rev 431861)
+++ PKGBUILD 2021-12-11 12:27:59 UTC (rev 431862)
@@ -1,45 +0,0 @@
-#Maintainer: Juergen Hoetzel <juergen at archlinux.org>
-
-pkgname=lablgtk2
-pkgver=2.18.11
-pkgrel=7
-pkgdesc="An Objective Caml interface to gtk2"
-arch=(x86_64)
-license=('LGPL')
-url="http://lablgtk.forge.ocamlcore.org/"
-depends=('gtk2' 'librsvg')
-makedepends=('ocaml-compiler-libs>=4.12.0' 'camlp5>=7.12')
-optdepends=('ocaml: for using the tools')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/garrigue/lablgtk/archive/${pkgver}.tar.gz" gcc10.patch)
-sha512sums=('adc840df68aa5f9541db44f888f344b313e40c7d8f5cd35f2a45f1bc84e7136dde4b39f873de011db5d5fdfd904c0a097cd9d105458ea9f483cdab3954a2ee05'
- '0fcb9f333101c5ab04dde1729a9c9805e422f100f79ad8014a3cd8c5cb78d19344292e334d4cc70d3614a41a4e143a30cd707b67a8443fa8b6f8c8fc9d7f27d9')
-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 \
- --without-gtksourceview2 \
- --without-glade
- sed -e "s|-O|$CFLAGS|" \
- -e "s|-shared|& -ccopt \"$LDFLAGS\"|" \
- -e "s|(CAMLMKLIB)|& -ldopt \"$LDFLAGS\"|" \
- -i src/Makefile
- 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 431861, lablgtk2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-11 12:27:59 UTC (rev 431862)
@@ -0,0 +1,45 @@
+#Maintainer: Juergen Hoetzel <juergen at archlinux.org>
+
+pkgname=lablgtk2
+pkgver=2.18.11
+pkgrel=8
+pkgdesc="An Objective Caml interface to gtk2"
+arch=(x86_64)
+license=('LGPL')
+url="http://lablgtk.forge.ocamlcore.org/"
+depends=('gtk2' 'librsvg')
+makedepends=('ocaml-compiler-libs>=4.12.0' 'camlp5>=7.12')
+optdepends=('ocaml: for using the tools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/garrigue/lablgtk/archive/${pkgver}.tar.gz" gcc10.patch)
+sha512sums=('adc840df68aa5f9541db44f888f344b313e40c7d8f5cd35f2a45f1bc84e7136dde4b39f873de011db5d5fdfd904c0a097cd9d105458ea9f483cdab3954a2ee05'
+ '0fcb9f333101c5ab04dde1729a9c9805e422f100f79ad8014a3cd8c5cb78d19344292e334d4cc70d3614a41a4e143a30cd707b67a8443fa8b6f8c8fc9d7f27d9')
+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 \
+ --without-gtksourceview2 \
+ --without-glade
+ sed -e "s|-O|$CFLAGS|" \
+ -e "s|-shared|& -ccopt \"$LDFLAGS\"|" \
+ -e "s|(CAMLMKLIB)|& -ldopt \"$LDFLAGS\"|" \
+ -i src/Makefile
+ make world
+ make opt
+}
+
+package() {
+ cd "${srcdir}/lablgtk-${pkgver}"
+ make DESTDIR="${pkgdir}" old-install
+ install -m644 META "${pkgdir}/usr/lib/ocaml/lablgtk2/"
+}
Deleted: gcc10.patch
===================================================================
--- gcc10.patch 2021-12-11 12:27:51 UTC (rev 431861)
+++ gcc10.patch 2021-12-11 12:27:59 UTC (rev 431862)
@@ -1,10 +0,0 @@
---- 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) \
Copied: lablgtk2/repos/extra-x86_64/gcc10.patch (from rev 431861, lablgtk2/trunk/gcc10.patch)
===================================================================
--- gcc10.patch (rev 0)
+++ gcc10.patch 2021-12-11 12:27:59 UTC (rev 431862)
@@ -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