News for hackers. Stuff that matters.
Re:Consolidating the Linux Desktop App Story: An Idea by revelation on Thursday July 13, 2017 @06:54PM (#14765998)
The biggest takeaway from the era is that no one fucking bothers to write software for 10 different distributions with 15 different ideas on how the most trivial of things are to be accomplished.

And here is this guy wanting to build number 16. There is an xkcd on this. This train has left the station.

Re:Consolidating the Linux Desktop App Story: An Idea by drdaeman on Thursday July 13, 2017 @07:15PM (#14766106)
Nah, almost all mainstream (and even most non-mainstream) distros are basically equal. Seriously, maybe I'm wrong but I don't think that's an issue.

As long as your distro doesn't replace glibc for e.g. musl or bionic, and has all the usual GNU (and X11, and DBus if you need that) userland, i.e. no odd stuff - there is no much difference. Most of the time things just work. Normally, the only time you'll have to "write software for some specific distribution" is when the distribution is unusual in its ways, but you still want to target it.

That is, unless you need to target some specific library version that's higher or lower than the usually available, incompatible with the usual version, and you don't want to have a statically-linked release variant. E.g. something that would work only with Qt5.2 but not with Qt5.6. Don't see why not to just throw it all in a tarball and call it a release. Saw this done many times, I just unpacked it, ran it - and it worked.

And that is if that's you who package your software. Usually, some user just takes it further and becomes a maintainer (or a co-maintainer, or just a volunteer who submits patches).

Re:Consolidating the Linux Desktop App Story: An Idea by flukus on Thursday July 13, 2017 @11:29PM (#14767225)
> That is, unless you need to target some specific library version that's higher or lower than the usually available, incompatible with the usual version, and you don't want to have a statically-linked release variant. E.g. something that would work only with Qt5.2 but not with Qt5.6. Don't see why not to just throw it all in a tarball and call it a release. Saw this done many times, I just unpacked it, ran it - and it worked.

In this hypothetical (I hope) example, you've just subjected your users to unpatched vulnerabilities like this one: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0190

Re:Consolidating the Linux Desktop App Story: An Idea by jonobacon on Friday July 14, 2017 @01:50AM (#14767807)
Did you actually read the post? I am not suggesting anyone builds anything new, instead that we are realistic in how much work is involved and distributions consolidate around something that already exists.
Re:Consolidating the Linux Desktop App Story: An Idea by bryanlarsen on Friday July 14, 2017 @09:18AM (#14769530)
He advocates flatpak, which is basically desktop Docker. You package all your dependencies so you can choose any of the 15 to put inside your flatpak, and it'll work with any of the 15 outside your flatpak.

You get the normal trade-offs for this approach -- large downloads, disk space, slow security updates, UI inconsistencies but XKCD 927 doesn't really apply.

Re:Consolidating the Linux Desktop App Story: An Idea by revelation on Friday July 14, 2017 @09:29AM (#14769599)
Does everyone nowadays only write software that is some messy desktop rendition of a website?

The kind of software I write doesn't exist in a vacuum where all it needs is to run AMD64 code, Linux syscalls and a canvas to draw on. It needs to interact with the system, figure out what drives you have inserted, play nice with keychains and whatever..

You can't flatpak that.

Re:Consolidating the Linux Desktop App Story: An Idea by bryanlarsen on Friday July 14, 2017 @10:48AM (#14770175)
Why not? flatpak has access to devices.