Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package: ncspot-0.11.2 #33600

Merged
merged 1 commit into from
Jan 17, 2023
Merged

New package: ncspot-0.11.2 #33600

merged 1 commit into from
Jan 17, 2023

Conversation

ram02z
Copy link
Contributor

@ram02z ram02z commented Oct 17, 2021

General

Have the results of the proposed changes been tested?

  • I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
  • I generally don't use the affected packages but briefly tested this PR

Using the termion as the backend instead of ncurses-rs which doesn't crosscompile. See #23415

@paper42 paper42 added the new-package This PR adds a new package label Oct 17, 2021
srcpkgs/ncspot/template Outdated Show resolved Hide resolved
@ram02z ram02z force-pushed the ncspot branch 2 times, most recently from 1cc2dc4 to 9a561d4 Compare October 30, 2021 09:49
@ram02z ram02z requested a review from abenson November 13, 2021 14:36
@ram02z
Copy link
Contributor Author

ram02z commented Nov 30, 2021

Waiting on #32555, since ncspot 0.9.1 requires Rust 1.55 or later.

@pfr-dev
Copy link

pfr-dev commented Dec 12, 2021

Waiting on #32555, since ncspot 0.9.1 requires Rust 1.55 or later.

0.9.3 just got released. I'm following this thread watching for updates. Cheers for your work :)

@0323pin
Copy link

0323pin commented Dec 15, 2021

FI, @pfr-dev ncspot-0.9.3 requires rust >= 1.56, neither 1.54 or 1.55 will do as edition was bumped to 2021.

@ram02z ram02z changed the title New package: ncspot-0.9.0 New package: ncspot-0.9.4 Jan 4, 2022
@ram02z
Copy link
Contributor Author

ram02z commented Jan 5, 2022

CI failures might be related to librespot-org/librespot#774

Also, why are cross builds taking 2 hours?

@ram02z
Copy link
Contributor Author

ram02z commented Jan 20, 2022

ncspot-0.95 requires rust 1.58.0

See hrkfdn/ncspot#714

@0323pin
Copy link

0323pin commented Jan 20, 2022

@ram02z Yes but, I can confirm that the patch provide, hrkfdn/ncspot#714 (comment)

allows the build to succeed with rust-1.57.0
I've merged the package on NetBSD yesterday, https://mail-index.netbsd.org/pkgsrc-changes/2022/01/19/msg247190.html

EDIT:

$NetBSD: patch-src_ui_listview.rs,v 1.1 2022/01/19 14:04:45 pin Exp $

Fix build with rust =< 1.58.0
Patch provided by upstream

--- src/ui/listview.rs.orig    2022-01-18 21:10:09.000000000 +0000
+++ src/ui/listview.rs
@@ -85,7 +85,7 @@ impl<I: ListItem> ListView<I> {
 
     pub fn content_height_with_paginator(&self) -> usize {
         let content_len = self.content.read().unwrap().len();
-        log::info!("content len: {content_len}");
+        log::info!("content len: {}", content_len);
 
         // add 1 more row for paginator if we can paginate
         if self.can_paginate() {
@@ -97,7 +97,7 @@ impl<I: ListItem> ListView<I> {
 
     fn can_paginate(&self) -> bool {
         let loaded = self.get_pagination().loaded_content();
-        log::info!("can paginate: {loaded}");
+        log::info!("can paginate: {}", loaded);
         self.get_pagination().max_content().unwrap_or(0) > self.get_pagination().loaded_content()
     }

@ram02z
Copy link
Contributor Author

ram02z commented Jan 20, 2022

@ram02z Yes but, I can confirm that the patch provide, hrkfdn/ncspot#714 (comment)

allows the build to succeed with rust-1.57.0 I've merged the package on NetBSD yesterday, https://mail-index.netbsd.org/pkgsrc-changes/2022/01/19/msg247190.html

Thanks. I saw the patch but I probably won't bump this package until the rust cross build starts working again on Void Linux.

@0323pin
Copy link

0323pin commented Jan 20, 2022

probably won't bump this package until the rust cross build starts working again on Void Linux.

I haven't tried to cross compile. It will take a few days before the build infrastructure starts to spit-out binaries and to see if the builds are successful on other platforms. I only have access to x86_64 hardware and on it, it builds fine.

@ram02z ram02z changed the title New package: ncspot-0.9.4 New package: ncspot-0.9.5 Feb 19, 2022
@ram02z ram02z changed the title New package: ncspot-0.9.5 New package: ncspot-0.9.6 Mar 10, 2022
@ram02z
Copy link
Contributor Author

ram02z commented Mar 10, 2022

Cross build now works thanks to this snippet #34889 (comment)

@ram02z ram02z force-pushed the ncspot branch 2 times, most recently from fdb8903 to 2c1edf7 Compare March 28, 2022 14:23
@pfr-dev
Copy link

pfr-dev commented Apr 5, 2022

trying to update to 0.9.7 from 0.9.0

I took the template and swapped it out for the old one and ran ./xbps-src update-sys but it fails to build zlib-1.2.11_4

=> zlib-1.2.11_4: building [configure] (dependency of pcre) for x86_64...
   [runtime] zlib-1.2.11_4: not found (self, ignored)
=> zlib-1.2.11_4: running do-fetch hook: 00-distfiles ...
=> zlib-1.2.11_4: fetching distfile 'zlib-1.2.11.tar.gz'...
http://www.zlib.net/zlib-1.2.11.tar.gz: Not Found
=> ERROR: zlib-1.2.11_4: failed to fetch zlib-1.2.11.tar.gz.
=> ERROR: xbps-src: failed to build ncspot-0.9.7_1 pkg!

I have zlib-1.2.12_1 currently installed

@ram02z ram02z changed the title New package: ncspot-0.9.6 New package: ncspot-0.9.7 Apr 5, 2022
@abenson
Copy link
Contributor

abenson commented Apr 5, 2022 via email

@ram02z ram02z changed the title New package: ncspot-0.9.7 New package: ncspot-0.9.8 May 26, 2022
@ram02z ram02z changed the title New package: ncspot-0.9.8 New package: ncspot-0.10.0 Jun 11, 2022
@apprehensions
Copy link
Contributor

🧁

@ram02z ram02z changed the title New package: ncspot-0.10.0 New package: ncspot-0.11.1 Sep 19, 2022
@github-actions
Copy link

Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.

@github-actions github-actions bot added the Stale label Dec 19, 2022
@ram02z
Copy link
Contributor Author

ram02z commented Dec 19, 2022

Bump (Will update to 0.11.2 tomorrow).

@ram02z ram02z force-pushed the ncspot branch 2 times, most recently from bf667a9 to 2738e55 Compare January 16, 2023 13:44
@ram02z ram02z changed the title New package: ncspot-0.11.1 New package: ncspot-0.11.2 Jan 16, 2023
@ram02z ram02z requested review from classabbyamp and removed request for abenson January 16, 2023 14:07
@ram02z ram02z force-pushed the ncspot branch 2 times, most recently from bdc72a4 to ecdc870 Compare January 17, 2023 17:05
@atweiden
Copy link
Contributor

https://github.com/hrkfdn/ncspot/blob/main/README.md#on-linux

cover feature should entail depends+=ueberzug for displaying cover art at runtime.

clipboard is a default feature of the crate, hence libxcb may be a runtime dep. I haven’t tested, though.

@classabbyamp
Copy link
Member

libxcb is detected

@classabbyamp
Copy link
Member

see 009bac3

@0323pin
Copy link

0323pin commented Jan 17, 2023

@classabbyamp
Copy link
Member

ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-package This PR adds a new package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants