Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Native distro packages for appimaged #339
Comments
probonopd
referenced this issue
Jan 28, 2017
Open
Build scripts are fragile (wrong arch in systemd-nspawn) #325
probonopd
added
enhancement
help-wanted
labels
Jan 28, 2017
marguerite
commented
Jan 28, 2017
|
In openSUSE Build Service, we don't have network access in the build vitual machine created dynamically either. But we have something called source service that can git with sub modules and compress the result to a tarbal. So running git submodule directly when building is also impossible here. It has to be commented out for native packaging. But in bash there are ways to detect network availability. So I think we could use git only when network is possible. on those isolated machines, just unpack the tarball. Leaving the responsibility to create the tarball to the distro packagers |
marguerite
commented
Jan 28, 2017
|
I think checking the common local IP could be enough. ping or nc is too heavy in this case. |
rickysarraf
commented
Jan 29, 2017
|
There are 2 parts of the problem here.
So to summarize point 2, the concern is not about a sub-module, but more about carrying embedded copies of the source. The current build script structure is trying too hard being simple for the end user. In doing that, it is breaking standard practices. In my opinion, you should keep them separately as end-user-helper-scripts and instead have a much standardized build setup. I doubt if end-users are going to build the tool. Most they care is is a binary package. |
Yes, I am not happy about that.
Sent a PR half a year ago but no reaction: plougher/squashfs-tools#13 - is something wrong with it?
Do you mean "carry the delta" as in "provide a diff"? Or do you think we should send a patch to https://bugs.debian.org/cgi-bin/pkgreport.cgi?src=squashfs-tools? |
rickysarraf
commented
Jan 29, 2017
|
On Sun, 2017-01-29 at 03:33 -0800, probonopd wrote:
Yes, I am not happy about that.
You could either push your change to the squashfs folks
Sent a PR half a year ago but no reaction: plougher/squashfs-tools#13 - is
something wrong with it?
That repo seems inactive. So does the git repo at kernel.org. but I would rely
on that one.
Let's try fresh now. Given there's been not much development in the upstream
repo, I've just taken your patch, as is, for submission.
Or you could just carry the delta and ask the user to fetch the squashfs-tools
source themselves
Do you mean "carry the delta" as in "provide a diff"?
Doing now.
Dear Squashfs Team,
Can you please review/include the attached patch into squashfs-tools ?
The mentioned changes are needed by AppImageKit.
What is AppImage
The AppImage format is a format for packaging applications in a way that allows
them to run on a variety of different target systems (base operating systems,
distributions) without further modification.
https://en.wikipedia.org/wiki/AppImage
AppImageKit is a concrete implementation of the AppImage format and provides
tools such as appimagetool and appimaged for conveniently handling AppImages.
https://github.com/probonopd/AppImageKit
…
|
|
Thanks @rickysarraf |
rickysarraf
commented
Jan 29, 2017
|
You're welcome. Let's hope it gets merged. Once that is done, I can care for its (and squashfuse) inclusion into Debian. |
rickysarraf
commented
Jan 31, 2017
|
On Sun, Jan 29, 2017 at 2:00 PM, Ritesh Raj Sarraf <rrs@researchut.com>
wrote:
On Sun, 2017-01-29 at 03:33 -0800, probonopd wrote:
> Yes, I am not happy about that.
> You could either push your change to the squashfs folks
> Sent a PR half a year ago but no reaction: plougher/squashfs-tools#13 -
is
> something wrong with it?
That repo seems inactive. So does the git repo at kernel.org. but I would
rely
on that one.
The repo at github is dead, I only used it during the time kernel.org was
offline due to the hack.
The repo at kernel.org is the official repo. It hasn't been updated in a
while simply because the tools are considered stable, and I have not had a
burning desire to add new features for a while.
Let's try fresh now. Given there's been not much development in the
upstream
repo, I've just taken your patch, as is, for submission.
> Or you could just carry the delta and ask the user to fetch the
squashfs-tools
> source themselves
> Do you mean "carry the delta" as in "provide a diff"?
Doing now.
Dear Squashfs Team,
Well that's me.
Can you please review/include the attached patch into squashfs-tools ?
The mentioned changes are needed by AppImageKit.
Well from a quick look at the attached patches, I see no reason not to pull
them.
I'll have a look over at github because is the first I've seen of these
patches, and I'll see if I can pull them from there.
If not, I'll ask the author to send them to me at this address.
Phillip@lougher.demon.co.uk is dead because my ISP arbitrarily ceased
email support sometime ago (and I'd had that email for 20 years). It would
appear phillip@squashfs,org.uk is still redirected to that, and I'll fix
that.
Phillip
…
|
rickysarraf
commented
Jan 31, 2017
|
On Sun, Jan 29, 2017 at 2:00 PM, Ritesh Raj Sarraf ***@***.***> wrote:
On Sun, 2017-01-29 at 03:33 -0800, probonopd wrote:
> Yes, I am not happy about that.
> You could either push your change to the squashfs folks
> Sent a PR half a year ago but no reaction: plougher/squashfs-tools#13 - is
> something wrong with it?
That repo seems inactive. So does the git repo at kernel.org. but I would rely
on that one.
The repo at github is dead, I only used it during the time kernel.org
was offline due to the hack.
The repo at kernel.org is the official repo. It hasn't been updated in a while
simply because the tools are considered stable, and I have not had a burning
desire to add new features for a while.
Let's try fresh now. Given there's been not much development in the upstream
repo, I've just taken your patch, as is, for submission.
> Or you could just carry the delta and ask the user to fetch the squashfs-tools
> source themselves
> Do you mean "carry the delta" as in "provide a diff"?
Doing now.
Dear Squashfs Team,
That's me.
Can you please review/include the attached patch into squashfs-tools ?
The mentioned changes are needed by AppImageKit.
Well from a quick look at the attached patches, I see no reason
not to pull them.
I'll have a look over at github because is the first I've seen of these
patches, and I'll see if I can pull them from there.
If not, I'll ask the author to send them to me at this address.
Phillip@lougher.demon.co.uk is dead because my ISP arbitrarily ceased
email support sometime ago (and I'd had that email for 20 years).
It would appear phillip@squashfs,org.uk is still redirected to that,
and I'll fix that.
Phillip
…
|
rickysarraf
commented
Jan 31, 2017
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hello Phillip,
Good to hear from you. When the emails bounced, I was wondering if you are still
active or not.
On Tue, 2017-01-31 at 02:57 +0000, Phillip Lougher wrote:
The repo at kernel.org is the official repo. It hasn't been updated in a
while
simply because the tools are considered stable, and I have not had a burning
desire to add new features for a while.
Cool. Thanks.
>
> Can you please review/include the attached patch into squashfs-tools ?
> The mentioned changes are needed by AppImageKit.
>
Well from a quick look at the attached patches, I see no reason
not to pull them.
I'll have a look over at github because is the first I've seen of these
patches, and I'll see if I can pull them from there.
If not, I'll ask the author to send them to me at this address.
Great. The author (probono AT puredarwin.org) is copied on this email.
***@***.*** is dead because my ISP arbitrarily ceased
email support sometime ago (and I'd had that email for 20 years).
It would appear ***@***.***,org.uk is still redirected to that,
and I'll fix that.
I used to maintain my own mail server but eventually gave up (amount of spam
kept the machine alive all the while) and switched to GApps.
- --
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEQCVDstmIVAB/Yn02pjpYo/LhdWkFAliQYmYACgkQpjpYo/Lh
dWlblg/8DxMhZEDN8CnL1ZslyIdlTtz9aFPQ73qjNSHvNKx+zO0KhgOC7dSbB/uU
BPlNBXlGcJ9q4rIVcgxEmETIUpag4aZND8bkfnX4rVffq8/Q0rPHNjknlkT8Wvah
UjsyqIBP5PgAlyJKNr2ukl5TXGk+OTpcAnWgZBEdsrJbFBF/GxRnGkHxr7DZEjkK
D2gPs2GTK6SF21+Mj2nkuNWzf2ofX1amf5ZQyOoTOOO0WBRquTQIKDGk5eM13+5o
+yP16UGUD60ADJfeSYXSAbLCRzIRNPc++9jmcyccpTdU5zSYGzeO5+UyH7wlTF5Q
lHPA0W5ss7xq2bW2iDM/+iPB75YY9iHGXsyWt66sHZ28BFR32KdoxzmQlKnV2+cT
QOBSDbGto+f64CbN+ufLROIu5g89G6LNOu1PIH6KVY4f7z2zCZK8VRvcL/XQschp
8+jc67fSv+go8yOY2C3VG1JYSds7vsb7TyJZQKxbEMQC0vkoO5R6olbCMNb+8O1A
kPk0eozr/GnWm1/xqXUMT9ZEhqeicQeTa2MXnPWypgfJnTxbkA4PuDUid1YUtpJ0
xNFJOSKu6SdFOgH2GkO8nXFlB8DOfvlulATdUJJyHa3ThPzo3EGPss9vZU8Gj34g
CJBovBqkNp3Azu26ksQrEMK2UP/BF9LaiKpPgTrhLkULWnH7nBQ=
=RCdF
-----END PGP SIGNATURE-----
|
|
Is there any action required from my side at this time? |
|
Yay, it just was merged: plougher/squashfs-tools#13 (comment) |
rickysarraf
commented
Feb 10, 2017
|
Great news. I'll soon look at the debian/ packaging again. |
rickysarraf
commented
Feb 11, 2017
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854901 For anyone interested to help/collaborate, please feel free to drop me a note here, or on the referenced Debian ITPs. |
|
Thank you @rickysarraf. The primary objective should be to get a native package for Minor disagreement, I don't think "Flatpak and Snaps solve similar problems". They don't allow users to download a single file from an application's download page, and run that on most Linux distributions without changes to the system. I think they are valuable, but they solve different problems. |
rickysarraf
commented
Feb 11, 2017
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On Sat, 2017-02-11 at 10:07 -0800, probonopd wrote:
Thank you @rickysarraf. Minor disagreement, I don't think "Flatpak and Snaps
solve similar problems". They don't allow users to download a single file from
an application's download page, and run that on most Linux distributions
without changes to the system.
THanks. I will pick your corrections when I start working on it.
And one reason why I like AppImage over Flatpak/Snaps/etc is really its
simplicity to "Just Run". Once I'm done with the package's inclusion into
Debian, I'd like to explore possibilities with Firejail/cgroup integration.
- --
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEQCVDstmIVAB/Yn02pjpYo/LhdWkFAlifVloACgkQpjpYo/Lh
dWmaYQ//RebFMejQgZfyv3RWdX/8P/6GjxlQkyBIR5l9eF++yhHogSveSt9xT7VW
si+meR5zOkUNXqAOiI0vrnnL+wwWMLdtamBOaAlWCVqQQwGn3kdlY+0TsHj+ilMd
6f0MOb3mayTL22Bb7p0yRgp8P7PZoFJBcpYShXr7oCK2hGLy4m0JbdXt592/Ce2Y
hLmpsrfPVlSXECVsw6m+jsB+4vY8/LkcFMAxDMczac5SC1jtAoMzqqUPILBbkkuA
oKdjjSFYQCZYzQ4zxvVJIQTMAgzLgDZLkDduyEJ9vXtMG/bY9g7Ggn7gniVf2Dm5
04KQMWpP5Wmdb0ZlltHf3Umpv1dYmEjehWcCq1/+f5tKzq2Z+kN5WlFEJvcwx3Zx
V/p2OZ4L2184znR6L5LZZfDtcZjrLJXqdJ9FcOFbevLE3lm0O1+H7WCAUqQimRj/
u4cK5S9+nR+8TyOAkyYDqpxeL1LIar9211H90ak3nfiJLoTcETZSAPF3Mo81+xrk
pJUDfSo+iZVL7wx5bkJvlUGFuAwVC+0+ffItC5BZNitf9mRJnAwN2X7lSaC6pKKJ
XNaNTrk2Ls0TAMAHAMsWeEgChYIYW6x34hAnw3lihtla43zupMQL95iHz/Ijejg4
dy/+5BnMAI+LfQDobSVG4f7yZL+knKIMbBed/6ARPUMPTU9cf5U=
=5tgh
-----END PGP SIGNATURE-----
|
probonopd
changed the title from
Native debian package for appimaged
to
Native distro packages for appimaged
Feb 11, 2017
|
Also see https://build.opensuse.org/package/show?project=devel%3Atools%3Abuilding&package=appimagekit by @dirkmueller (thanks @kossebau for the hint) |
rickysarraf
commented
Jul 31, 2017
|
@probonopd I went off for quite some time. Real life priorities came in. I have packaged the squashfuse dependency as a package now. But now, with version 9, I see the entire Cmake based build to have vanished. Is build.sh the way upstream way to build appimagekit ? |
|
Yes, build.sh is the most upstream way to create binaries. Though, it is pretty likely that you will need only parts of it, so you should think about copy-pasting to your own script for building only the parts you need. I am working to create and improve CMake configs for the AppImage ecosystem (primarily for tool development and not necessarily for release buils), suggestions welcome. |
rickysarraf
commented
Jul 31, 2017
|
@TheAssassin You guys should have revived the build.sh script such that the actual compilation and 3rd party library fetches were separate. @probonopd You still applying squashfuse patches. Weren't these included upstream the last time we visited this topic ?
@probonopd Also, that opensuse build link you've shared, is broken. |
rickysarraf
commented
Jul 31, 2017
|
So this is the complete build rules for appimagekit, excluding the dependencies. If I am to package it for Debian, I'd just adapt these. But it'd be nicer if this was done upstream.
|
Wouldn't it be sufficient to (pseudo-code)
I'd happily merge a PR with such
Were all of them? I was only aware of the offset patch having been accepted.
https://build.opensuse.org/package/show/devel:tools:building/appimagekit seems to be the official one now. |
Isn't this the build.sh script with some lines removed? If so, please use |
|
As you might have noticed, there's also a CMake configuration that we could extend and modify to work for you, @rickysarraf. If you just need appimaged, let me add the configuration and we're good to go. |
probonopd commentedJan 28, 2017
•
Edited 1 time
-
probonopd
Jan 28, 2017
EDIT: Anyone reading this and interested in doing native distribution packages, we are on IRC on #AppImages on irc.freenode.net
@rickysarraf writes in probonopd#325
I am not sure what is the best path of action here, but I will definitely support anyone who wants to make a native (in the sense of: part of the official debian distribution) debian package for
appimaged. Also see the great work by @marguerite who has packaged it (andappimagetool) for openSUSE.Perhaps @ScarlettGatelyClark wants to chime in?
Collecting here the need for a debian package: