Github messages for voidlinux
 help / color / mirror / Atom feed
From: jcgruenhage <jcgruenhage@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] nushell: update to 0.77.1.
Date: Sun, 02 Apr 2023 12:32:18 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43188@inbox.vuxu.org> (raw)

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

There is a new pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages nushell-0.77.1_1
https://github.com/void-linux/void-packages/pull/43188

nushell: update to 0.77.1.
- common/build-helper/rust.sh: dynamic linking to zstd
- nushell: update to 0.77.1.

<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### 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/43188.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nushell-0.77.1_1-43188.patch --]
[-- Type: text/x-diff, Size: 8445 bytes --]

From 1f9ed1edf36e529a12a74939c0068863df8ac330 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sun, 2 Apr 2023 12:24:12 +0200
Subject: [PATCH 1/2] common/build-helper/rust.sh: dynamic linking to zstd

---
 common/build-helper/rust.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/common/build-helper/rust.sh b/common/build-helper/rust.sh
index 2b15bde3a1ed..94a69510f2ba 100644
--- a/common/build-helper/rust.sh
+++ b/common/build-helper/rust.sh
@@ -51,3 +51,6 @@ export OPENSSL_NO_VENDOR=1
 
 # pcre2-sys, only necessary for musl targets
 export PCRE2_SYS_STATIC=0
+
+# zstd-sys
+export ZSTD_SYS_USE_PKG_CONFIG=1

From 6f4bec1d2cdebd6f9b7610205e4360d936d98282 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sun, 2 Apr 2023 12:29:20 +0200
Subject: [PATCH 2/2] nushell: update to 0.77.1.

---
 .../patches/0001-use-system-libraries.patch   | 124 +++++-------------
 srcpkgs/nushell/template                      |   4 +-
 2 files changed, 38 insertions(+), 90 deletions(-)

diff --git a/srcpkgs/nushell/patches/0001-use-system-libraries.patch b/srcpkgs/nushell/patches/0001-use-system-libraries.patch
index 3df63674f80e..08084eae53d8 100644
--- a/srcpkgs/nushell/patches/0001-use-system-libraries.patch
+++ b/srcpkgs/nushell/patches/0001-use-system-libraries.patch
@@ -1,121 +1,69 @@
-From c26c60ed459918ed817ac52cfc36733563a570b7 Mon Sep 17 00:00:00 2001
+From bad881bc02070492c3bc80696db2dedcdc98ab98 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
  <jan.christian@gruenhage.xyz>
 Date: Wed, 8 Jun 2022 16:15:55 +0200
 Subject: [PATCH] use system libraries
 
 ---
- Cargo.lock                                  | 3 ++-
- Cargo.toml                                  | 7 +++++--
- crates/nu-cli/Cargo.toml                    | 2 +-
- crates/nu-command/Cargo.toml                | 4 ++--
- crates/old/nu_plugin_from_sqlite/Cargo.toml | 2 +-
- crates/old/nu_plugin_to_sqlite/Cargo.toml   | 2 +-
- 6 files changed, 12 insertions(+), 8 deletions(-)
+ Cargo.lock                   | 1 -
+ Cargo.toml                   | 2 +-
+ crates/nu-cli/Cargo.toml     | 2 +-
+ crates/nu-command/Cargo.toml | 4 ++--
+ 4 files changed, 4 insertions(+), 5 deletions(-)
 
 diff --git a/Cargo.lock b/Cargo.lock
-index 7e75169c2..f74c8d9fc 100644
+index 072806ccc..db30ad8fd 100644
 --- a/Cargo.lock
 +++ b/Cargo.lock
-@@ -2025,7 +2025,6 @@ version = "0.25.1"
+@@ -2190,7 +2190,6 @@ version = "0.25.2"
  source = "registry+https://github.com/rust-lang/crates.io-index"
- checksum = "9f0455f2c1bc9a7caa792907026e469c1d91761fb0ea37cbb16427c77280cf35"
+ checksum = "29f835d03d717946d28b1d1ed632eb6f0e24a299388ee623d0c23118d3e8a7fa"
  dependencies = [
 - "cc",
   "pkg-config",
   "vcpkg",
  ]
-@@ -2498,6 +2497,7 @@ dependencies = [
-  "tempfile",
-  "time 0.3.14",
-  "winres",
-+ "zstd",
- ]
- 
- [[package]]
-@@ -5786,4 +5786,5 @@ checksum = "9fd07cbbc53846d9145dbffdf6dd09a7a0aa52be46741825f5c97bdd4f73f12b"
- dependencies = [
-  "cc",
-  "libc",
-+ "pkg-config",
- ]
 diff --git a/Cargo.toml b/Cargo.toml
-index e9ab2c589..6b24e54d2 100644
+index 428d7dcea..c2f579fc4 100644
 --- a/Cargo.toml
 +++ b/Cargo.toml
-@@ -52,7 +52,7 @@ nu-system = { path = "./crates/nu-system", version = "0.71.0" }
- nu-table = { path = "./crates/nu-table", version = "0.71.0"  }
- nu-term-grid = { path = "./crates/nu-term-grid", version = "0.71.0"  }
- nu-utils = { path = "./crates/nu-utils", version = "0.71.0"  }
--reedline = { version = "0.14.0", features = ["bashisms", "sqlite"]}
-+reedline = { version = "0.14.0", features = ["bashisms", "sqlite-dynlib"]}
+@@ -63,7 +63,7 @@ nu-term-grid = { path = "./crates/nu-term-grid", version = "0.77.1" }
+ nu-utils = { path = "./crates/nu-utils", version = "0.77.1" }
+ 
+ nu-ansi-term = "0.47.0"
+-reedline = { version = "0.17.0", features = ["bashisms", "sqlite"] }
++reedline = { version = "0.17.0", features = ["bashisms", "sqlite-dynlib"] }
  
- rayon = "1.5.1"
+ rayon = "1.7.0"
  is_executable = "1.0.1"
-@@ -130,4 +130,7 @@ path = "src/main.rs"
- # To use a development version of a dependency please use a global override here
- # changing versions in each sub-crate of the workspace is tedious
- [patch.crates-io]
--# reedline = { git = "https://github.com/nushell/reedline.git", branch = "main" }
-+
-+[dependencies.zstd]
-+features = ["pkg-config"]
-+version = ">=0.0.0"
 diff --git a/crates/nu-cli/Cargo.toml b/crates/nu-cli/Cargo.toml
-index dbe2b639c..8bfcb0dd8 100644
+index f742c5ecd..ce74e11ec 100644
 --- a/crates/nu-cli/Cargo.toml
 +++ b/crates/nu-cli/Cargo.toml
-@@ -20,7 +20,7 @@ nu-protocol = { path = "../nu-protocol", version = "0.71.0"  }
- nu-utils = { path = "../nu-utils", version = "0.71.0"  }
- nu-ansi-term = "0.46.0"
- nu-color-config = { path = "../nu-color-config", version = "0.71.0"  }
--reedline = { version = "0.14.0", features = ["bashisms", "sqlite"]}
-+reedline = { version = "0.14.0", features = ["bashisms", "sqlite-dynlib"]}
+@@ -24,7 +24,7 @@ nu-utils = { path = "../nu-utils", version = "0.77.1" }
+ nu-color-config = { path = "../nu-color-config", version = "0.77.1" }
+ 
+ nu-ansi-term = "0.47.0"
+-reedline = { version = "0.17.0", features = ["bashisms", "sqlite"] }
++reedline = { version = "0.17.0", features = ["bashisms", "sqlite-dynlib"] }
  
  atty = "0.2.14"
- chrono = "0.4.21"
+ chrono = { default-features = false, features = ["std"], version = "0.4.23" }
 diff --git a/crates/nu-command/Cargo.toml b/crates/nu-command/Cargo.toml
-index 99deb0cfc..647b56e9a 100644
+index 0f8fa6750..da8a57270 100644
 --- a/crates/nu-command/Cargo.toml
 +++ b/crates/nu-command/Cargo.toml
-@@ -86,9 +86,9 @@ unicode-segmentation = "1.8.0"
- url = "2.2.1"
- uuid = { version = "1.1.2", features = ["v4"] }
- which = { version = "4.3.0", optional = true }
--reedline = { version = "0.14.0", features = ["bashisms", "sqlite"]}
-+reedline = { version = "0.14.0", features = ["bashisms", "sqlite-dynlib"]}
- wax = { version =  "0.5.0" }
+@@ -84,8 +84,8 @@ serde_yaml = "0.9.4"
+ sha2 = "0.10.0"
+ # Disable default features b/c the default features build Git (very slow to compile)
+ percent-encoding = "2.2.0"
+-reedline = { version = "0.17.0", features = ["bashisms", "sqlite"] }
 -rusqlite = { version = "0.28.0", features = ["bundled"], optional = true }
++reedline = { version = "0.17.0", features = ["bashisms", "sqlite-dynlib"] }
 +rusqlite = { version = "0.28.0", optional = true }
- sqlparser = { version = "0.23.0", features = ["serde"], optional = true }
- 
- [target.'cfg(windows)'.dependencies]
-diff --git a/crates/old/nu_plugin_from_sqlite/Cargo.toml b/crates/old/nu_plugin_from_sqlite/Cargo.toml
-index 3166d3203..520052cfd 100644
---- a/crates/old/nu_plugin_from_sqlite/Cargo.toml
-+++ b/crates/old/nu_plugin_from_sqlite/Cargo.toml
-@@ -18,7 +18,7 @@ nu-source = { path="../nu-source", version = "0.71.0" }
- tempfile = "3.2.0"
- 
- [dependencies.rusqlite]
--features = ["bundled", "blob"]
-+features = ["blob"]
- version = "0.26.1"
- 
- [build-dependencies]
-diff --git a/crates/old/nu_plugin_to_sqlite/Cargo.toml b/crates/old/nu_plugin_to_sqlite/Cargo.toml
-index 085163b21..923301c9f 100644
---- a/crates/old/nu_plugin_to_sqlite/Cargo.toml
-+++ b/crates/old/nu_plugin_to_sqlite/Cargo.toml
-@@ -18,7 +18,7 @@ nu-source = { path="../nu-source", version = "0.71.0" }
- tempfile = "3.2.0"
- 
- [dependencies.rusqlite]
--features = ["bundled", "blob"]
-+features = ["blob"]
- version = "0.26.1"
- 
- [build-dependencies]
+ sqlparser = { version = "0.30.0", features = ["serde"], optional = true }
+ sysinfo = "0.28.2"
+ tabled = "0.10.0"
 -- 
-2.38.1
+2.40.0
 
diff --git a/srcpkgs/nushell/template b/srcpkgs/nushell/template
index 928bb9562363..3677f9807d46 100644
--- a/srcpkgs/nushell/template
+++ b/srcpkgs/nushell/template
@@ -1,6 +1,6 @@
 # Template file for 'nushell'
 pkgname=nushell
-version=0.71.0
+version=0.77.1
 revision=1
 build_style=cargo
 configure_args="--features=extra"
@@ -14,7 +14,7 @@ license="MIT"
 homepage="https://www.nushell.sh/"
 changelog="https://www.nushell.sh/blog/"
 distfiles="https://github.com/nushell/nushell/archive/refs/tags/${version}.tar.gz"
-checksum=0f3a279ead004c86c44b6c9991e9e838b819dad23d65add7250a9691ad29f209
+checksum=37b767351e1a15ca59988f2257d61a52f035a35079e8a304ff59448a46190df0
 register_shell="/usr/bin/nu"
 # all tests fail with argument --target
 make_check=no

             reply	other threads:[~2023-04-02 10:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-02 10:32 jcgruenhage [this message]
2023-04-02 10:33 ` [PR REVIEW] " jcgruenhage
2023-04-04 20:18 ` [PR PATCH] [Updated] " jcgruenhage
2023-04-06 16:36 ` [PR PATCH] [Merged]: nushell: update to 0.78.0 paper42

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43188@inbox.vuxu.org \
    --to=jcgruenhage@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).