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

Create debian package with fpm #686

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Conversation

akbarnes
Copy link

@akbarnes akbarnes commented Mar 1, 2022

I've been having trouble building sc-im on some machines so wrote a script to build .deb packages with fpm. Creating a PR because having binary releases for sc-im would be really nice. If you choose to merge, probably you will want to update the package info to reflect the original repo as opposed to the fork.

@andmarti1424
Copy link
Owner

What trouble do you have when building it from source? I don't know what changed in Debian but this worked properly for years..

@akbarnes
Copy link
Author

akbarnes commented Mar 2, 2022

I had color handling come out funky when I built from source on a machine running Ubuntu server 20. Weirdly when I copied a binary over that I had built on another machine the colors came out fine.

@andmarti1424
Copy link
Owner

That's strange. If both methods of building uses the same ncurses library.. dont think its related to the building process.

@ItzSwirlz
Copy link

I've been having trouble building sc-im on some machines so wrote a script to build .deb packages with fpm.

I maintain https://salsa.debian.org/math-team/sc-im , what issues do you have? What are the errors?

@akbarnes
Copy link
Author

akbarnes commented Jun 7, 2022

Hi, thanks for asking, ItzSwirlz. What happened is that when I built sc-im on a machine with an older version of Ubuntu (18 or 20) I think, but then the colors in sc-im got screwed up so the cursor wasn't visible. Oddly this didn't happen when I built it on another machine and copied it over. I never tried figuring out what caused the issue as I assumed it had something to do with running an older Distro. Do you guys create binary releases over at https://salsa.debian.org/math-team/sc-im ?

@ItzSwirlz
Copy link

Sorry for late reply!!

What happened is that when I built sc-im on a machine with an older version of Ubuntu (18 or 20) I think, but then the colors in sc-im got screwed up so the cursor wasn't visible

Probably an ncurses thing. sc-im was built for Debian unstable (0.8.2); so the libraries will be incompatible. Expect issues. I don't plan to backport the package atm

Oddly this didn't happen when I built it on another machine and copied it over. I never tried figuring out what caused the issue as I assumed it had something to do with running an older Distro.

Probably again, because of libraries, bugs and stuff were better implemented in later updates/releases of ncurses and stuff and works.

Do you guys create binary releases over at https://salsa.debian.org/math-team/sc-im ?

We sadly do not, but there are places you can download the raw .deb from.

You can download package files built for Ubuntu here: https://launchpad.net/ubuntu/+source/sc-im

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.

None yet

3 participants