Christian Heusel pushed to branch main at Arch Linux / Packaging / Packages /
protobuf
Commits:
af0a0110 by loqs at 2025-05-20T20:52:59+02:00
Fix ruby gem with protbuf 31.0
- - - - -
14dcbd14 by Christian Heusel at 2025-05-20T21:00:28+02:00
upgpkg: 31.0-1: New upstream release
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = protobuf
pkgdesc = Protocol Buffers - Google's data interchange format
- pkgver = 30.2
- pkgrel = 3
+ pkgver = 31.0
+ pkgrel = 1
url = https://developers.google.com/protocol-buffers/
arch = x86_64
license = BSD-3-Clause
@@ -24,10 +24,10 @@ pkgbase = protobuf
depends = zlib
depends = abseil-cpp
options = !lto
- source = git+https://github.com/protocolbuffers/protobuf.git#tag=v30.2
+ source = git+https://github.com/protocolbuffers/protobuf.git#tag=v31.0
source = protobuf-fix-build-type-none.patch
source = protobuf-25.3-ruby-disable-LTO.patch
- sha512sums =
cbcd41de2e98404226b4c287ed39dce3260c4822ab5960253b54fae27ac9c683d0f57afa80961c331c1994968529c8b35286ba910b82234d3cde455c3a08150d
+ sha512sums =
f3e58172d823e83a880e0e6aa600aa689cfd53e9199c3e676d6665c64cab606fc2f0569bca7b96a85087bbf13a4410decc397f2ccc7aa6d7653f4d357cbc54e8
sha512sums =
18bc71031bbcbc3810a9985fa670465040f06a6c104ab8079b56bdfc499bb6cec40805a0cefd455031142490a576dc60aa8000523877ac0353b93558e9beabbd
sha512sums =
1ebdea4e533ee0f71baf1b3fe2623ca723b36a08c6b97475ea5996b10aeb6873cf94d9120596ddd1216bd2f6feb991f8c33078e8104008a5078ace5be5431efd
@@ -39,7 +39,7 @@ pkgname = protobuf
pkgname = python-protobuf
pkgdesc = Python 3 bindings for Google Protocol Buffers
- depends = protobuf=30.2
+ depends = protobuf=31.0
depends = python
pkgname = ruby-google-protobuf
=====================================
PKGBUILD
=====================================
@@ -10,8 +10,8 @@
pkgbase='protobuf'
pkgname=('protobuf' 'python-protobuf' 'ruby-google-protobuf')
-pkgver=30.2
-pkgrel=3
+pkgver=31.0
+pkgrel=1
pkgdesc="Protocol Buffers - Google's data interchange format"
arch=('x86_64')
url='https://developers.google.com/protocol-buffers/'
@@ -46,7 +46,7 @@ source=(
# https://github.com/protocolbuffers/protobuf/issues/11935
$pkgbase-25.3-ruby-disable-LTO.patch
)
-sha512sums=('cbcd41de2e98404226b4c287ed39dce3260c4822ab5960253b54fae27ac9c683d0f57afa80961c331c1994968529c8b35286ba910b82234d3cde455c3a08150d'
+sha512sums=('f3e58172d823e83a880e0e6aa600aa689cfd53e9199c3e676d6665c64cab606fc2f0569bca7b96a85087bbf13a4410decc397f2ccc7aa6d7653f4d357cbc54e8'
'18bc71031bbcbc3810a9985fa670465040f06a6c104ab8079b56bdfc499bb6cec40805a0cefd455031142490a576dc60aa8000523877ac0353b93558e9beabbd'
'1ebdea4e533ee0f71baf1b3fe2623ca723b36a08c6b97475ea5996b10aeb6873cf94d9120596ddd1216bd2f6feb991f8c33078e8104008a5078ace5be5431efd')
@@ -87,9 +87,8 @@ build() {
local _gemver=4.$pkgver
PROTOC="$srcdir"/build/protoc \
- rake
-
- gem build --verbose "${_gemname}.gemspec"
+ rake
+ rake gem
gem install \
--local \
@@ -98,10 +97,7 @@ build() {
--no-user-install \
--install-dir "tmp_install${_gemdir}" \
--bindir "tmp_install/usr/bin" \
- "${_gemname}-${_gemver}.gem"
-
- install -D lib/google/protobuf_c.so \
- "tmp_install${_gemdir}/gems/${_gemname}-${_gemver}"/lib/google/$(ruby -e
'require "rbconfig"; puts RbConfig::CONFIG["RUBY_API_VERSION"]')/protobuf_c.so
+ "pkg/${_gemname}-${_gemver}.gem"
# remove unrepreducible files
rm --force --recursive --verbose \
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/protobuf/-/compare/7dca842aca4d2e409e4daf288e87f756cc89a03d...14dcbd14ac3ad5d4f6b2a9937e80889a8a2758ad
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/protobuf/-/compare/7dca842aca4d2e409e4daf288e87f756cc89a03d...14dcbd14ac3ad5d4f6b2a9937e80889a8a2758ad
You're receiving this email because of your account on gitlab.archlinux.org.