Github messages for voidlinux
 help / color / mirror / Atom feed
From: tranzystorek-io <tranzystorek-io@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] alacritty: update to 0.11.0
Date: Thu, 13 Oct 2022 09:49:49 +0200	[thread overview]
Message-ID: <20221013074949.4SwxPlt7mVfe9tbp1roTrag5Zg9S9aw6W7_PTum1wX0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39926@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1266 bytes --]

There is an updated pull request by tranzystorek-io against master on the void-packages repository

https://github.com/tranzystorek-io/void-packages alacritty
https://github.com/void-linux/void-packages/pull/39926

alacritty: update to 0.11.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/39926.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-alacritty-39926.patch --]
[-- Type: text/x-diff, Size: 2962 bytes --]

From b99cc8234b1253d1a5c6181dbbca34ba28c47893 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Thu, 13 Oct 2022 07:32:25 +0200
Subject: [PATCH] alacritty: update to 0.11.0

---
 srcpkgs/alacritty/template | 34 ++++++++++++++++------------------
 1 file changed, 16 insertions(+), 18 deletions(-)

diff --git a/srcpkgs/alacritty/template b/srcpkgs/alacritty/template
index 9e6180a05a6d..57873e263b55 100644
--- a/srcpkgs/alacritty/template
+++ b/srcpkgs/alacritty/template
@@ -1,9 +1,9 @@
 # Template file for 'alacritty'
 pkgname=alacritty
-version=0.10.1
-revision=2
-build_wrksrc="${pkgname}"
+version=0.11.0
+revision=1
 build_style=cargo
+make_install_args="--path alacritty"
 hostmakedepends="pkg-config python3"
 makedepends="freetype-devel fontconfig-devel libxcb-devel libxkbcommon-devel"
 depends="libXcursor libXrandr libXi libXxf86vm ncurses alacritty-terminfo-${version}_${revision}"
@@ -12,28 +12,26 @@ maintainer="Andrea Brancaleoni <abc@pompel.me>"
 license="Apache-2.0"
 homepage="https://github.com/alacritty/alacritty"
 changelog="https://raw.githubusercontent.com/alacritty/alacritty/master/CHANGELOG.md"
-distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
-checksum=e48d4b10762c2707bb17fd8f89bd98f0dcccc450d223cade706fdd9cfaefb308
-
-post_patch() {
-	# fixes an indexmap error when cross compiling
-	cargo update --package autocfg:1.0.1 --precise 1.1.0
-}
+distfiles="https://github.com/alacritty/alacritty/archive/refs/tags/v${version}.tar.gz"
+checksum=0fb3370c662f5b87d1b9a487aef999195212b192e08f6f68a572fed8fd637e07
 
 case "$XBPS_TARGET_MACHINE" in
 	ppc64*) ;;
 	ppc*) broken="ftbfs: thread 'main' panicked at 'slice index starts at 4289555962 but ends at 114', /builddir/rustc-1.46.0-src/src/libstd/io/mod.rs:396:27";;
+	# disable doctests on i686
+	i686) make_check_args="--tests";;
 esac
 
 post_install() {
-	vinstall ../extra/linux/Alacritty.desktop 644 usr/share/applications
-	vinstall ../extra/logo/alacritty-term.svg 644 usr/share/pixmaps Alacritty.svg
-	vinstall ../extra/completions/alacritty.bash 644 usr/share/bash-completion/completions alacritty
-	vinstall ../extra/completions/_alacritty 644 usr/share/zsh/site-functions
-	vinstall ../extra/completions/alacritty.fish 644 usr/share/fish/vendor_completions.d
-	tic -o ${DESTDIR}/usr/share/terminfo -xe alacritty,alacritty-direct ../extra/alacritty.info
-	vman ../extra/alacritty.man alacritty.1
-	vsconf ../alacritty.yml
+	vcompletion extra/completions/alacritty.bash bash
+	vcompletion extra/completions/alacritty.fish fish
+	vcompletion extra/completions/_alacritty zsh
+	vinstall extra/linux/Alacritty.desktop 644 usr/share/applications
+	vinstall extra/logo/alacritty-term.svg 644 usr/share/icons/hicolor/scalable/apps Alacritty.svg
+	vman extra/alacritty.man alacritty.1
+	vsconf alacritty.yml
+
+	tic -o ${DESTDIR}/usr/share/terminfo -xe alacritty,alacritty-direct extra/alacritty.info
 }
 
 alacritty-terminfo_package() {

  parent reply	other threads:[~2022-10-13  7:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-13  5:33 [PR PATCH] " tranzystorek-io
2022-10-13  5:33 ` tranzystorek-io
2022-10-13  5:58 ` [PR PATCH] [Updated] " tranzystorek-io
2022-10-13  7:10 ` [PR REVIEW] " classabbyamp
2022-10-13  7:49 ` tranzystorek-io [this message]
2022-10-13  8:08 ` [PR PATCH] [Merged]: " classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221013074949.4SwxPlt7mVfe9tbp1roTrag5Zg9S9aw6W7_PTum1wX0@z \
    --to=tranzystorek-io@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).