News for hackers. Stuff that matters.
Re:Let's Package JQuery: A JavaScript Packaging Dystopian No... by raziel2p on Saturday May 02, 2015 @02:56AM (#9476166)
I fail to see the problem. Just create a .tar.gz with all the dependencies installed and assets compiled, which you can distribute to users that don't care about or don't want to mess around with the build tools.

If I want to build a native application (like git, which I often do) from source, it's not like the situation is much better. I have to install the compiler obviously, and I have to manually install the dependencies.

Re:Let's Package JQuery: A JavaScript Packaging Dystopian No... by paulfurtado on Saturday May 02, 2015 @04:34AM (#9476345)
You usually don't have to manually install a compiler and all the dependencies. If you want to build a package from source which has already been packaged by the distribution, it's usually quite easy to do so. For example, in Arch Linux you can run

yaourt -Sb git

and it will get the PKGBUILD file for the package and allow you to edit it before building so you can build a newer version or alter build flags. When building a package this way, it will also fetch all of the packages it depends on in order to build and run. You generally don't have to think about dependencies at all.

In Ubuntu/Debian and Fedora/CentOS it is several more commands, although there are probably scripts that do it in a single command. It's still a lot easier than manually hunting dependencies and figuring out how exactly to build a package.

Re:Let's Package JQuery: A JavaScript Packaging Dystopian No... by icebraining on Saturday May 02, 2015 @07:29AM (#9476683)
In Ubuntu/Debian and Fedora/CentOS it is several more commands

In Debian & derivatives it's just "apt-get build-dep git && apt-get source --build git".