From c69663de360e6078ec1a1400b9720859fa3c426f Mon Sep 17 00:00:00 2001 From: "chromebrew-actions[bot]" <220035932+chromebrew-actions[bot]@users.noreply.github.com> Date: Sun, 5 Oct 2025 20:15:18 -0500 Subject: [PATCH] =?UTF-8?q?updater-xhost-1.0.10=20=E2=80=94=20xhost=20?= =?UTF-8?q?=E2=86=92=201.0.10=20(#13056)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * modernize package Signed-off-by: Satadru Pramanik * Add x86_64 build. Signed-off-by: Satadru Pramanik * updater-xhost-1.0.10: Package File Update Run on linux/amd64 container. * updater-xhost-1.0.10: Package File Update Run on linux/arm/v7 container. * Update compatibility. Signed-off-by: Satadru Pramanik --------- Signed-off-by: Satadru Pramanik Co-authored-by: Satadru Pramanik Co-authored-by: chromebrew-actions[bot] --- manifest/armv7l/x/xhost.filelist | 4 ++-- manifest/i686/x/xhost.filelist | 2 -- manifest/x86_64/x/xhost.filelist | 4 ++-- packages/xhost.rb | 31 +++++++++---------------------- 4 files changed, 13 insertions(+), 28 deletions(-) delete mode 100644 manifest/i686/x/xhost.filelist diff --git a/manifest/armv7l/x/xhost.filelist b/manifest/armv7l/x/xhost.filelist index c9524f282..159335e3e 100644 --- a/manifest/armv7l/x/xhost.filelist +++ b/manifest/armv7l/x/xhost.filelist @@ -1,3 +1,3 @@ -# Total size: 13323 +# Total size: 16257 /usr/local/bin/xhost -/usr/local/share/man/man1/xhost.1.gz +/usr/local/share/man/man1/xhost.1.zst diff --git a/manifest/i686/x/xhost.filelist b/manifest/i686/x/xhost.filelist deleted file mode 100644 index 4c3fd7513..000000000 --- a/manifest/i686/x/xhost.filelist +++ /dev/null @@ -1,2 +0,0 @@ -/usr/local/bin/xhost -/usr/local/share/man/man1/xhost.1.gz diff --git a/manifest/x86_64/x/xhost.filelist b/manifest/x86_64/x/xhost.filelist index acd8ba7a7..1d614a4f5 100644 --- a/manifest/x86_64/x/xhost.filelist +++ b/manifest/x86_64/x/xhost.filelist @@ -1,3 +1,3 @@ -# Total size: 32551 +# Total size: 17869 /usr/local/bin/xhost -/usr/local/share/man/man1/xhost.1.gz +/usr/local/share/man/man1/xhost.1.zst diff --git a/packages/xhost.rb b/packages/xhost.rb index 05e1af7ba..b83295f6a 100644 --- a/packages/xhost.rb +++ b/packages/xhost.rb @@ -1,36 +1,23 @@ -require 'package' +require 'buildsystems/autotools' -class Xhost < Package +class Xhost < Autotools description 'Server access control program for X' homepage 'https://github.com/freedesktop/xorg-xhost' - version '1.0.8' + version '1.0.10' license 'MIT' compatibility 'aarch64 armv7l x86_64' - source_url 'https://www.x.org/releases/individual/app/xhost-1.0.8.tar.bz2' - source_sha256 'a2dc3c579e13674947395ef8ccc1b3763f89012a216c2cc6277096489aadc396' + source_url 'https://gitlab.freedesktop.org/xorg/app/xhost.git' + git_hashtag "xhost-#{version}" binary_compression 'tar.zst' binary_sha256({ - aarch64: '314e4cf5b09e6e4517639c6904efd5e7cb1336536524f102c210e9e5c4388b5b', - armv7l: '314e4cf5b09e6e4517639c6904efd5e7cb1336536524f102c210e9e5c4388b5b', - x86_64: '8e108d51711153c01c45343af91d6b1c7bd493e4da823ebe85209eb5278ee25a' + aarch64: 'b8d3a228a19525ccecf38bc5b213a220dba83d8e7717d43a4193b828f89e3556', + armv7l: 'b8d3a228a19525ccecf38bc5b213a220dba83d8e7717d43a4193b828f89e3556', + x86_64: '5bed726a341d3a6f9c6bdbc54cb68c008f08fbae8c4ffc200de30cee08deb529' }) depends_on 'glibc' # R depends_on 'libx11' # R depends_on 'libxmu' # R - - def self.build - system "./configure \ - --enable-ipv6 \ - --enable-tcp-transport \ - --enable-unix-transport \ - --enable-local-transport \ - #{CREW_CONFIGURE_OPTIONS}" - system 'make' - end - - def self.install - system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' - end + depends_on 'libxtrans' => :build end