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

fix(goreleaser): bundle compiled terminfo in deb/rpm #986

Merged
merged 3 commits into from
Feb 26, 2025

Conversation

vedantmgoyal9
Copy link
Contributor

No description provided.

@@ -151,10 +151,10 @@ nfpms:
contents:
- src: ./misc/rio.desktop
dst: /usr/share/applications/rio.desktop
- src: ./misc/rio.terminfo
- src: ./misc/72/rio

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is it 72?

Copy link
Contributor Author

@vedantmgoyal9 vedantmgoyal9 Feb 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't know honestly... it remained same every time, so i didn't think too much and simply hardcoded it. my guess is it will only change when terminfo is modified, and i don't think it will happen anytime soon.

cc/ @raphamorim

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

./misc/72/rio is created after run make install-terminfo, that runs @tic -xe rio -o $(APP_EXTRAS_DIR) $(TERMINFO).

I think if you run tic later in goreleaser prob is better use ./misc/rio.terminfo instead

@raphamorim raphamorim merged commit d48241d into raphamorim:main Feb 26, 2025
@vedantmgoyal9 vedantmgoyal9 deleted the patch-1 branch February 26, 2025 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants