Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Things we want from Linux/FreeBSD release archives
Re: Things we want from Linux/FreeBSD release archives [message #53386 is a reply to message #53381] Tue, 31 March 2020 23:24 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
dolik.rce wrote on 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.


Well, in general, I just mean there should be quick and easy way to get U++ running.

There should still be Makefile and "normal" way.

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...
[/quote]

tar.gz compression sucks. LZMA seems to produce archives that are about 50% of size. But tar.xz is probably better than 7z.

Quote:

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.


I mean that file name can be basically the same (withou x11), but after unpacking, it should be just upp

Quote:

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


By not moving around I am actually thinking about putting everything to that "upp" folder after unpacking. Keep it "sandboxed", no writes outside that dir.


Quote:

- 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).


Well, they are needed during make unfortunately... The logic would need to move to compile phase.

I think most of those MB are screenshot in documentation. Perhaps redoing them with "Gray" theme would help. Or using jpg compression.

Quote:

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 Smile).


TCore is not present for a long time now...

Quote:

- Follow common conventions as much as possible. It should be possible to build it just by running [code]./configure # this might not even be needed
make
make install


Well, after changes I am planning I do not even know not only what ./configure would do, but even what make install is supposed to do.

After make, you get theide. Start theide and it configures itself.

Also, not really about release archive, but I think I will add nightly scrip that will add Makefile to svn so that it is buildable from git page.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: U++ does not appear to like playing nice with the Boost algorithm string library?
Next Topic: [POLL] Should we upgrade umk command line behavior ?
Goto Forum:
  


Current Time: Thu May 09 09:22:45 CEST 2024

Total time taken to generate the page: 0.02628 seconds