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

Add support for flat/portable package #469

Open
sneetsher opened this Issue Apr 18, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@sneetsher
Copy link
Member

sneetsher commented Apr 18, 2017

I opened this report for issues needed to be fix at upstream level while in building process for snap package.

  1. Add default universal setup method: make; make install

    Current method: make build; make install_api; make install_desktop confusing packagers with custom build scripts that can break in future releases.

  2. Use sed (standard gnu tool) instead of introducing new build dependency on perl in Makefile similar syntax:

    sed -i 's|/usr/bin|$SNAP/usr/bin|g' my-bin-artifact.sh

  3. Introduce new make entry for flat/portable package. to be used for most all-in-one build systems: snapcraft, flatpak, appimage, edge/daily/portable builds

  4. Remove the hardcoded python hashbang:

    #!/home/username/Desktop/sandbox/alfanous-snap/parts/alfanous-git/install/usr/bin/python

    ./parts/partname/install is the tmp install path for snapcraft

@sneetsher

This comment has been minimized.

Copy link
Member Author

sneetsher commented Apr 18, 2017

Current snapcraft setup:
snapcraft.yaml.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment