|
|
Home » Developing U++ » U++ Developers corner » Things we want from Linux/FreeBSD release archives
Re: Things we want from Linux/FreeBSD release archives [message #53381 is a reply to message #53378] |
Tue, 31 March 2020 20:46   |
|
Hi Mirek,
Quote:detect existence of apt-get / yum / zypper / pacman
Good idea, but there should also be a simple way to disable this. This will be appreciated by packagers who would like to create deb/rpm/PKGBUILD/... because in that case the tooling has its own ways to install prerequisites.
Quote:- use 7z (or at least zip), stop changing the name, just single "upp" folder
What's wrong with *.tar.gz? Or *.tar.xz which is actually what every major distro starts to use lately... The 7z extractor is not installed by default on many distributions (checked on Arch and Debian), so it is not really linux friendly...
Also I'm not sure what you mean by changing the name, but I'm pretty sure that the "x11" should be dropped from the filename.
Quote:- stop moving things around, stop writing outside "upp" folder - basically same behaviour as Win32 and MacOS. theide will get generated inside unpacked archive and will stay there. I think users can and will move it where they want later. (That said, I am not quite sure at this point about ~/.upp. Easy to do for theide, not so sure about compiled apps).
Definitely a good idea. I think the proper place for the things currently written in ~/.upp is actually in ~/.config. Also, TheIDE should store compiled object in ~/.cache, since they ca be easily rebuilt. It should be possible to configure it, since U++ already uses XDG Base Directory specification. So the Makefile in the source package should set the necessary XDG_* environment variables to some local directory, e.g. upp/build/.
Quote:- ship with umks and use it if possible. If not, use Makefile to create umk
Better not put it directly into the source package. Downloading it during the process if needed is IMHO better. The Makefile could also optionally support to use already existing umk (autodetecting it's presence on $PATH or by explicit configuration option).
Few more points I would like to suggest:
- Clean the files a bit, before packaging. I think the archive is pretty big and it wouldn't hurt to only include necessary files. E.g. 32MB of tppi could be omitted, as those are automatically created by TheIDE (if I understand it correctly). Perhaps they should not even be in the repository... There also might be some packages, that are no longer needed or maintained, or could be in separate nest, since they are not needed by regular users (yes TCore, I'm looking at you and your friends ).
- Follow common conventions as much as possible. It should be possible to build it just by running ./configure # this might not even be needed
make
make install
This is what most experienced user will try even before reading the README file. Which reminds me: there should be a README file Also, the "make install" part should honour the standard $DESTDIR and $PREFIX variables, to make it easier for packagers.
Best regards,
Honza
|
|
|
 |
|
Things we want from Linux/FreeBSD release archives
By: mirek on Tue, 31 March 2020 17:52
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: mirek on Tue, 31 March 2020 23:24
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: Novo on Wed, 01 April 2020 06:30
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: mirek on Wed, 01 April 2020 11:07
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: Novo on Wed, 01 April 2020 18:17
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: mirek on Wed, 01 April 2020 18:21
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: Novo on Wed, 01 April 2020 18:26
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: Novo on Wed, 01 April 2020 18:34
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: mirek on Wed, 01 April 2020 18:54
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: Novo on Thu, 02 April 2020 19:10
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: Novo on Thu, 02 April 2020 19:33
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: mirek on Thu, 02 April 2020 20:45
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: Novo on Fri, 03 April 2020 00:32
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: Novo on Fri, 03 April 2020 01:36
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: mirek on Fri, 03 April 2020 09:23
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: Novo on Fri, 03 April 2020 20:57
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: mirek on Sat, 04 April 2020 15:08
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: Novo on Sat, 04 April 2020 15:33
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: Novo on Sat, 04 April 2020 18:46
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: Zbych on Sat, 04 April 2020 21:06
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: Novo on Sun, 05 April 2020 00:49
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: Zbych on Sun, 05 April 2020 11:12
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: mirek on Sun, 05 April 2020 13:03
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: mirek on Sun, 05 April 2020 13:10
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: Novo on Mon, 06 April 2020 06:33
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: mirek on Mon, 06 April 2020 10:12
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: Novo on Mon, 06 April 2020 15:31
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: Novo on Tue, 07 April 2020 05:34
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: mirek on Fri, 10 April 2020 17:34
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: Novo on Fri, 10 April 2020 18:02
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: Novo on Fri, 10 April 2020 18:06
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: mirek on Fri, 10 April 2020 18:37
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: Novo on Fri, 10 April 2020 19:16
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: mirek on Tue, 07 April 2020 14:36
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: Novo on Tue, 07 April 2020 15:48
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: mirek on Tue, 07 April 2020 16:28
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: amrein on Sun, 05 April 2020 11:46
|
 |
|
Re: Things we want from Linux/FreeBSD release archives
By: mirek on Sun, 05 April 2020 13:07
|
Goto Forum:
Current Time: Sat Apr 26 13:47:33 CEST 2025
Total time taken to generate the page: 0.00522 seconds
|
|
|