modernize package — libxkbfile → 1.1.3,xkbcomp → 1.4.7 (#13055)

* modernize package

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* fix builds and add binaries

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
chromebrew-actions[bot]
2025-10-05 15:08:47 -05:00
committed by GitHub
parent ec52a096ab
commit 536a409b83
6 changed files with 29 additions and 53 deletions

View File

@@ -1,12 +1,10 @@
# Total size: 1077116
# Total size: 157492
/usr/local/include/X11/extensions/XKBbells.h
/usr/local/include/X11/extensions/XKBconfig.h
/usr/local/include/X11/extensions/XKBfile.h
/usr/local/include/X11/extensions/XKBrules.h
/usr/local/include/X11/extensions/XKM.h
/usr/local/include/X11/extensions/XKMformat.h
/usr/local/lib/libxkbfile.a
/usr/local/lib/libxkbfile.la
/usr/local/lib/libxkbfile.so
/usr/local/lib/libxkbfile.so.1
/usr/local/lib/libxkbfile.so.1.0.2

View File

@@ -1,4 +1,4 @@
# Total size: 286187
# Total size: 193554
/usr/local/bin/xkbcomp
/usr/local/lib/pkgconfig/xkbcomp.pc
/usr/local/share/man/man1/xkbcomp.1.gz
/usr/local/share/man/man1/xkbcomp.1.zst

View File

@@ -1,12 +1,10 @@
# Total size: 1198788
# Total size: 209186
/usr/local/include/X11/extensions/XKBbells.h
/usr/local/include/X11/extensions/XKBconfig.h
/usr/local/include/X11/extensions/XKBfile.h
/usr/local/include/X11/extensions/XKBrules.h
/usr/local/include/X11/extensions/XKM.h
/usr/local/include/X11/extensions/XKMformat.h
/usr/local/lib64/libxkbfile.a
/usr/local/lib64/libxkbfile.la
/usr/local/lib64/libxkbfile.so
/usr/local/lib64/libxkbfile.so.1
/usr/local/lib64/libxkbfile.so.1.0.2

View File

@@ -1,4 +1,4 @@
# Total size: 291899
# Total size: 264526
/usr/local/bin/xkbcomp
/usr/local/lib64/pkgconfig/xkbcomp.pc
/usr/local/share/man/man1/xkbcomp.1.gz
/usr/local/share/man/man1/xkbcomp.1.zst

View File

@@ -1,36 +1,21 @@
require 'package'
require 'buildsystems/meson'
class Libxkbfile < Package
class Libxkbfile < Meson
description 'library for the X window system'
homepage 'https://x.org/wiki/'
version '1.1.1'
version '1.1.3'
license 'MIT and custom'
compatibility 'aarch64 armv7l x86_64'
source_url 'https://www.x.org/archive/individual/lib/libxkbfile-1.1.1.tar.xz'
source_sha256 '8623dc26e7aac3c5ad8a25e57b566f4324f5619e5db38457f0804ee4ed953443'
source_url 'https://gitlab.freedesktop.org/xorg/lib/libxkbfile.git'
git_hashtag "libxkbfile-#{version}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: '9eafce6985d4c43e7ddef7fb0eb0cfd2f85fb8c2eac0adc78da0099cc5f3093e',
armv7l: '9eafce6985d4c43e7ddef7fb0eb0cfd2f85fb8c2eac0adc78da0099cc5f3093e',
x86_64: 'fb124a25ad31cc261459b5e33b2e8aa0d6afc15dc3a1ee29452bd82acfefffed'
aarch64: '3e80b733419560e44aca358fd431d4e82d5af8cc5738e0883312272f4256090f',
armv7l: '3e80b733419560e44aca358fd431d4e82d5af8cc5738e0883312272f4256090f',
x86_64: '72a03aa9268078f5b40fcc0c8ca7f669f5f5ffce14a48eb653c2615c9f29c87e'
})
depends_on 'glibc' # R
depends_on 'libbsd' # R
depends_on 'libmd' # R
depends_on 'libx11' # R
depends_on 'libxau' # R
depends_on 'libxcb' # R
depends_on 'libxdmcp' # R
def self.build
system '[ -x configure ] || NOCONFIGURE=1 ./autogen.sh'
system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end

View File

@@ -1,32 +1,27 @@
require 'package'
require 'buildsystems/meson'
class Xkbcomp < Package
class Xkbcomp < Meson
description 'Compile XKB keyboard'
homepage 'https://xorg.freedesktop.org/wiki/'
version '1.4.4'
version '1.4.7-d03a4ab'
license 'ISC, MIT and custom'
compatibility 'aarch64 armv7l x86_64'
source_url 'https://www.x.org/archive/individual/app/xkbcomp-1.4.4.tar.bz2'
source_sha256 '59cce603a607a17722a0a1cf99010f4894e7812beb5d695abbc08474d59af27e'
binary_compression 'tar.xz'
source_url 'https://gitlab.freedesktop.org/xorg/app/xkbcomp.git'
git_hashtag 'd03a4ab1c0b24f6581411622ccf729ceb329aeb8'
# git_hashtag "xkbcomp-#{version}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'c654874e78a8da297b0bc5addc3a461e840366bdc333a010db05315f79497329',
armv7l: 'c654874e78a8da297b0bc5addc3a461e840366bdc333a010db05315f79497329',
x86_64: '5dbe7bc9bae31c26a4d0cb5a87e1655de43d05ed97307778df49a0b3fbbabaaa'
aarch64: '303da70f1671c19e2570c1dcb5117d0bce49591b6133833201509a62b75b4f99',
armv7l: '303da70f1671c19e2570c1dcb5117d0bce49591b6133833201509a62b75b4f99',
x86_64: '3afa38d8c71bf0f1fbde7fc0e3a93be5e8c66b86d40c6528172163a1e579ea87'
})
depends_on 'mesa'
depends_on 'xcb_util'
def self.build
system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
depends_on 'glibc' # R
depends_on 'libx11' # R
depends_on 'libxkbfile' # R
depends_on 'mesa' => :build
depends_on 'xcb_util' => :build
def self.postinstall
puts