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

bim - add a Text editor #52

Open
scsijon opened this issue Feb 27, 2020 · 11 comments
Open

bim - add a Text editor #52

scsijon opened this issue Feb 27, 2020 · 11 comments
Assignees
Labels

Comments

@scsijon
Copy link

scsijon commented Feb 27, 2020

https://github.com/klange/bim/
Bim has no external dependencies beyond a functioning C library, C99 compiler, and sufficient escape code support in the hosting terminal.

@tpimh tpimh added the package label Mar 2, 2020
@tpimh
Copy link
Owner

tpimh commented Mar 2, 2020

This seems pretty easy to add. Do you want to try to write the build rules yourself or wait for someone to pick it up?

@scsijon
Copy link
Author

scsijon commented Mar 5, 2020 via email

@scsijon
Copy link
Author

scsijon commented Sep 30, 2020

Just a note that i'm finally back. (phew).

I shall have a look at the rules used for the other packages already done and see if I can do it myself before yelping unless someone is already having a go.

I want to get my EasyOS development system cleaned out/updated/refreshed first and build the basic nenuzhnix system before getting into it though, so i won't be starting on this for a week.

I've got a few others that i've thought of or come across that may be of interest after refreshing myself to see if their addition and usefull is to add at this stage of nenuzhnix's development.

@tpimh
Copy link
Owner

tpimh commented Sep 30, 2020

I haven't updated the packages in a while, so really hope to see bim in next nenuzhnix release!

@scsijon
Copy link
Author

scsijon commented Oct 25, 2020 via email

@tpimh
Copy link
Owner

tpimh commented Oct 25, 2020

I guess, it would be easier to start over at this point. Last release was over a year ago, so there must be many outdated packages, I had a handy script to check the latest versions for all packages, hope I can find it. If you can help keeping packages up to date, that's great! Usually, you will just need to change the version number and the checksum of the package, but sometimes might be tricky.

@scsijon
Copy link
Author

scsijon commented Oct 28, 2020 via email

@tpimh
Copy link
Owner

tpimh commented Oct 29, 2020

For source tarballs .tar.gz, .tar.bz2 and .tar.xz are currently supported, so for bim correct variables should be the following:

Repo: https://github.com/klange/${PKG}/archive/
Filename: v${VER}.tar.gz
MD5: 7b3fdd0025726295f0387d7f5c358a34

MD5 here is only used to check the integrity of the source, so to me it seems very unlikely that someone hacks software repositories adds malicious code to the source and then 'fudges' source tarballs to have the same MD5 sums. Still, it's very easy to change it to SHA224.

@tpimh
Copy link
Owner

tpimh commented Nov 11, 2020

Also in case you don't know, there is a guide on adding new package: https://github.com/tpimh/nenuzhnix/wiki/add-a-package

Feel free to comment and extend it.

@scsijon
Copy link
Author

scsijon commented Nov 12, 2020 via email

@tpimh
Copy link
Owner

tpimh commented Dec 10, 2020

Hi @scsijon! I've been updating the packages and also tried to build bim. Version 2.6.2 was build without any warnings and here are my versions of the build files, feel free to use them:

  • rules:
#!/bin/sh
set -e

PACKAGE=bim

case "$1" in
  build)
    make
    ;;

  install)
    rm -rf /tmp/$PACKAGE
    mkdir -p /tmp/$PACKAGE
    DESTDIR=/tmp/$PACKAGE
    make install DESTDIR=$DESTDIR
    ;;

  clean)
    make clean
    ;;

  *)
    echo unknown argument $1
    ;;
esac
  • source:
Repo: https://github.com/klange/${PKG}/archive/
Filename: v${VER}.tar.gz
MD5: 2f408810ec7038694d93fc2755291958
  • you will also need to create control file, it's pretty easy and is described in wiki, but if you will have troubles with it, feel free to ask

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants