upg gc libxml2

This commit is contained in:
joborun linux 2024-02-05 01:52:52 +02:00
parent aa0efd676e
commit 590db18d72
6 changed files with 56 additions and 23 deletions

View File

@ -6,13 +6,14 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=gc
pkgver=8.2.4
pkgver=8.2.6
pkgrel=01
pkgdesc="A garbage collector for C and C++"
groups=( jobbot )
url="https://www.hboehm.info/gc/"
depends=('gcc-libs')
source=(https://github.com/ivmai/bdwgc/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
source=(https://github.com/ivmai/bdwgc/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz
https://www.hboehm.info/gc/license.txt)
# gc-missing-header.patch::https://patch-diff.githubusercontent.com/raw/ivmai/bdwgc/pull/389.patch)
# gc-missing-header.patch::https://github.com/ivmai/bdwgc/commit/c876dc2b.patch)
@ -37,16 +38,17 @@ check() {
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
sed 's|GC_MALLOC 1L|gc 3|g' doc/gc.man |
install -Dm644 /dev/stdin "${pkgdir}/usr/share/man/man3/gc.3"
sed 's|GC_MALLOC 1L|gc 3|g' doc/gc.man | install -Dm644 /dev/stdin "${pkgdir}/usr/share/man/man3/gc.3"
install -Dm644 ../license.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL')
license=('LicenseRef-GC' 'MIT')
sha256sums=(3d0d3cdbe077403d3106bb40f0cbb563413d6efdbb2a7e1cd6886595dec48fc2) # gc-8.2.4.tar.gz
sha256sums=(b9183fe49d4c44c7327992f626f8eaa1d8b14de140f243edb1c9dcff7719a7fc # gc-8.2.6.tar.gz
d84e4948951c3571fdf05b934db7c94bbee25f594c1901b1baf835589ce5f2dc) # license.txt
## 4cb131ae136d610c521fc1f4b2247ba72fdd67d26a6f195b5c08eec1044dd25d gc-8.2.4-01-x86_64.pkg.tar.lz
## 0f1748de8aabaf669f50985475c8c88b0c6de07de13c07d06e547bf3f7b922b5 gc-8.2.6-01-x86_64.pkg.tar.lz

View File

@ -2,15 +2,17 @@
# Contributor: dorphell <dorphell@gmx.net>
pkgname=gc
pkgver=8.2.4
pkgver=8.2.6
pkgrel=1
pkgdesc="A garbage collector for C and C++"
arch=('x86_64')
url="https://www.hboehm.info/gc/"
license=('GPL')
license=('LicenseRef-GC' 'MIT')
depends=('gcc-libs')
source=(https://github.com/ivmai/bdwgc/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha512sums=('27d014378000f25fb2f5598904be85604822d5ed4553f8b3d1c279122300d3958b4432ec08f951cfd842d92121ea8a030dda34bf2475ec53d4fded551fdd3a98')
source=(https://github.com/ivmai/bdwgc/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz
https://www.hboehm.info/gc/license.txt)
sha512sums=('48afcc1d8570d6b5d62addf8b7b947a3836717e71c073f6dff8982744c06f5973a02e890d17e8dd93f7f997d029b49c652929e6efa0e32aefbcdf7ab0910eda5'
'73b381858db41cb757be67fa00778cb177fa147c892ae1e83d7d31b489c576ffe6c7339b688c41550c896aef1b8af5bfa3e58d1bb9902cc9640a8b837498a9b2')
build() {
cd ${pkgname}-${pkgver}
@ -27,6 +29,6 @@ check() {
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
sed 's|GC_MALLOC 1L|gc 3|g' doc/gc.man |
install -Dm644 /dev/stdin "${pkgdir}/usr/share/man/man3/gc.3"
sed 's|GC_MALLOC 1L|gc 3|g' doc/gc.man | install -Dm644 /dev/stdin "${pkgdir}/usr/share/man/man3/gc.3"
install -Dm644 ../license.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}

View File

@ -1,3 +1,4 @@
autoconf
automake

30
gc/license.txt Normal file
View File

@ -0,0 +1,30 @@
Copyright (c) 1988, 1989 Hans-J. Boehm, Alan J. Demers
Copyright (c) 1991-1996 by Xerox Corporation. All rights reserved.
Copyright (c) 1996-1999 by Silicon Graphics. All rights reserved.
Copyright (c) 1999-2004 Hewlett-Packard Development Company, L.P.
The file linux_threads.c is also
Copyright (c) 1998 by Fergus Henderson. All rights reserved.
The files Makefile.am, and configure.in are
Copyright (c) 2001 by Red Hat Inc. All rights reserved.
Several files supporting GNU-style builds are copyrighted by the Free
Software Foundation, and carry a different license from that given
below.
THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
Permission is hereby granted to use or copy this program
for any purpose, provided the above notices are retained on all copies.
Permission to modify the code and to distribute modified code is granted,
provided the above notices are retained, and a notice that the code was
modified is included with the above copyright notice.
A few of the files needed to use the GNU-style build procedure come with
slightly different licenses, though they are all similar in spirit. A few
are GPL'ed, but with an exception that should cover all uses in the
collector. (If you are concerned about such things, I recommend you look
at the notice in config.guess or ltmain.sh.)

View File

@ -8,7 +8,7 @@
#pkgbase=libxml2
#pkgname=(libxml2 libxml2-docs)
pkgname=libxml2
pkgver=2.12.4
pkgver=2.12.5
pkgrel=01
# mixup between jobcore and staging 4/22 rebuild on jobcore used staging PKGBUILD-arch
# so staging pkgrel is bumped up one to distinguish from jobcore's build
@ -19,12 +19,10 @@ makedepends=(python git)
optdepends=('python: Python bindings')
provides=(libxml2.so)
#options=(debug) ## uncomment this to have the debug pkg produced
_commit=8292f361458fcffe0bff515a385be02e9d35582c # tags/v2.12.4^0
source=(
"git+https://gitlab.gnome.org/GNOME/libxml2.git#commit=$_commit"
0001-HACK-Don-t-run-fuzzing-tests.patch
https://www.w3.org/XML/Test/xmlts20130923.tar.gz
)
_commit=e189e9945317ad4c8603fa2300d11d11f5e2e335 # tags/v2.12.5^0
source=("git+https://gitlab.gnome.org/GNOME/libxml2.git#commit=$_commit"
0001-HACK-Don-t-run-fuzzing-tests.patch
https://www.w3.org/XML/Test/xmlts20130923.tar.gz)
pkgver() {
cd libxml2
@ -95,5 +93,5 @@ sha256sums=(SKIP
60921b7894753a079659369b49b718c83d09edd49de76503850e5560af778c3a # 0001-HACK-Don-t-run-fuzzing-tests.patch
9b61db9f5dbffa545f4b8d78422167083a8568c59bd1129f94138f936cf6fc1f) # xmlts20130923.tar.gz
## 0aae509494a1c856ac157c74664255bf88c3ca71fb3076ab7bcfeec195afbf27 libxml2-2.12.4-01-x86_64.pkg.tar.lz
## f6c3b01f9491a1d72602737012153b9817be2ca8b204f8d41b65e01e9f11ee11 libxml2-2.12.5-01-x86_64.pkg.tar.lz

View File

@ -9,7 +9,7 @@ pkgname=(
libxml2
libxml2-docs
)
pkgver=2.12.4
pkgver=2.12.5
pkgrel=1
pkgdesc="XML C parser and toolkit"
url="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home"
@ -26,7 +26,7 @@ makedepends=(
git
python
)
_commit=8292f361458fcffe0bff515a385be02e9d35582c # tags/v2.12.4^0
_commit=e189e9945317ad4c8603fa2300d11d11f5e2e335 # tags/v2.12.5^0
source=(
"git+https://gitlab.gnome.org/GNOME/libxml2.git#commit=$_commit"
0001-HACK-Don-t-run-fuzzing-tests.patch