wxWidgets / wxWidgets

Cross-Platform C++ GUI Library
https://www.wxwidgets.org/
5.78k stars 1.7k forks source link

Switch to 7-zip compression. #9278

Closed wxtrac closed 12 years ago

wxtrac commented 19 years ago

Issue migrated from trac ticket # 9278

component: project infrastructure | priority: low | resolution: fixed

2004-10-14 16:08:03: poromenos (Stavros Korokithakis) created the issue


I decompressed wxAll-2.5.3.zip and recompressed it using 7zip. The results were: wxAll-2.5.3.zip: 19.014.838 bytes wxWidgets-2.5.3.7z: 8.355.485 bytes That's 43% of the original filesize. It takes a bit more to compress, but with that ratio, it's more than worth it.

wxtrac commented 19 years ago

2004-10-14 23:01:07: @discnl commented


Is this fully compatible with (pk?)zip? Does it decompress with software such as WinZip, XP built-in support, WinRAR?

wxtrac commented 19 years ago

2004-10-14 23:05:19: poromenos (Stavros Korokithakis) commented


No it's not, it's a whole new method of compression (open source, it's on sourceforge as a matter of fact), but it's catching on rather quickly as many projects use it, and you can create a self extracting .exe with a few KB overhead that extracts the files by itself without the use of any external programs.

wxtrac commented 19 years ago

2004-10-20 05:29:38: hockkn (Kevin Hock) commented


zip format is arguably the most accessible archive format (especially on Windows). Aren't tar.gz files also available, how do they compare to 7zip?

wxtrac commented 19 years ago

2004-10-20 11:49:26: poromenos (Stavros Korokithakis) commented


As you can see on the download page, tar.gz is 17.706.090 bytes, and as I mentioned 7zip is less than half that. And it is true that .zip is the most accessible format, but a self- extracting .exe would be even more accessible, since the user would not need another program to extract it with. It wouldn't run on other OSes though. Maybe you could add a 7z release alongside it and see how downloads go?

wxtrac commented 19 years ago

2004-10-20 21:55:30: hockkn (Kevin Hock) commented


The decision here is not mine to make. I personally don't believe it would be useful due to 7zip still being a niche-ish market, but without anyone using it it would never catch on, of course. :)

wxtrac commented 19 years ago

2004-11-04 22:04:52: abxabx (WÅ‚odzimierz Skiba) commented


Hi!

Being also part of the other community I noticed somebody who made comparison which fits into this feature request. Take a look at http://www.cs.tut.fi/~warp/ArchiverComparison/ . I do not use 7zip myself but I think such benchmark is an argument for consideration. Regards,

ABX

wxtrac commented 17 years ago

2006-07-28 02:42:10: @vadz commented


I think now that release creation is automated, we could easily create 7zip-compressed archives too. But this is hardly urgent.

wxtrac commented 17 years ago

2006-08-13 15:09:13: @vadz commented


BTW, I can indeed reproduce big savings in the file sizes. For example, for wxMAC-2.7.0-1 we have:

.ZIP 15156 KB .tar.gz 12475 KB .tar.bz2 9117 KB .7z 7470 KB

wxtrac commented 15 years ago

2008-05-23 17:43:41: @wojdyr changed component from * to project infrastructure*

wxtrac commented 13 years ago

2010-07-17 18:15:38: @vadz changed status from new to confirmed

2010-07-17 18:15:38: @vadz commented

FWIW for 2.91 the numbers are proportionally the same:

zip: 26MB tar.bz2: 16MB 7z: 13MB

I will experimentally make 7z version available for download as being twice smaller is an important advantage IMHO. Then we'll see how many people download it compared to the zip version and will decide whether to provide it for 3.0.

wxtrac commented 13 years ago

2010-07-17 18:24:20: poromenos (Stavros Korokithakis) commented


This bug is six years old, when I opened it I had a 33.6 Kbps connection, so downloading a 7zipped file took an hour less. Now it takes ten seconds less, so it doesn't much matter, but thanks for addressing the issue.

wxtrac commented 12 years ago

2012-02-07 10:16:39: @oneeyeman1 commented


Didn't we supply 7z archive with latest 2.9.x release?

wxtrac commented 12 years ago

2012-02-07 10:32:59: poromenos (Stavros Korokithakis) changed resolution from * to fixed*

2012-02-07 10:32:59: poromenos (Stavros Korokithakis) changed status from confirmed to closed

2012-02-07 10:32:59: poromenos (Stavros Korokithakis) commented

Oh wow, this is still open? It's been seven years, I can download this on my mobile connection and size will barely make a few seconds' difference. Please clsoe this seven year old enhancement request as irrelevant, as it's rather late to be discussing it.