Thread: [Lcms-user] Lcms distribution package size
An ICC-based CMM for color management
Brought to you by:
mm2
From: Bob F. <bfr...@si...> - 2020-06-01 23:57:23
|
It seems that the lcms distribution packages have grown to astonishingly large sizes given what the software is. It used to be pretty small. Lcms2 has grown from 3.3M up to its current size of 15M. The growth in the package size impacts GraphicsMagick since GraphicsMagick ships lcms sources almost as is for the Windows builds. I put this into the GraphicsMagick source repository and so the source repository becomes even larger. Then the full GraphicsMagick sources for Windows becomes astonishingly large. Is there a way to make the distribution package smaller? For example, split source files, sample files, formatted documentation? This is the growth that I see in lcms2 distribution file sizes: % ls -lthgr lcms2* -r--r--r-- 1 ftp 3.3M May 15 2010 lcms2-2.0a.tar.gz -r--r--r-- 1 ftp 3.6M Dec 1 2010 lcms2-2.1.tar.gz -r--r--r-- 1 ftp 4.1M Jun 10 2011 lcms2-2.2.zip -r--r--r-- 1 ftp 4.0M Jun 10 2011 lcms2-2.2.tar.gz -r--r--r-- 1 ftp 4.3M Dec 23 2011 lcms2-2.3.tar.gz -r--r--r-- 1 ftp 4.3M Dec 23 2011 lcms2-2.3.zip -r--r--r-- 1 ftp 4.1M Sep 10 2012 lcms2-2.4.tar.gz -r--r--r-- 1 ftp 4.2M Sep 10 2012 lcms2-2.4.zip -r--r--r-- 1 ftp 6.7M Jul 1 2013 lcms2-2.5.tar.gz -r--r--r-- 1 ftp 6.8M Jul 1 2013 lcms2-2.5.zip -r--r--r-- 1 ftp 4.4M Mar 17 2014 lcms2-2.6.tar.gz -r--r--r-- 1 ftp 4.5M Mar 17 2014 lcms2-2.6.zip -r--r--r-- 1 ftp 6.2M Mar 21 2015 lcms2-2.7.tar.gz -r--r--r-- 1 ftp 6.4M Mar 21 2015 lcms2-2.7.zip -r--r--r-- 1 ftp 6.4M Jul 20 2016 lcms2-2.8.tar.gz -r--r--r-- 1 ftp 6.5M Jul 20 2016 lcms2-2.8.zip -r--r--r-- 1 ftp 11M Dec 7 09:48 lcms2-2.9.zip -r--r--r-- 1 ftp 10M Dec 7 09:48 lcms2-2.9.tar.gz -r--r--r-- 1 ftp 15M May 31 11:38 lcms2-2.10.tar.gz -r--r--r-- 1 ftp 15M May 31 11:39 lcms2-2.10.zip Bob -- Bob Friesenhahn bfr...@si..., http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt |
From: <mar...@li...> - 2020-06-02 07:11:06
|
<div dir='auto'>Hello Bob, <div dir="auto"><br></div><div dir="auto">This is because the PDFs. I use ms word and print to PDF and the result is huge files.</div><div dir="auto"><br></div><div dir="auto">I could make a tarball without the doc folders and this will squeeze the size in about 10 Mb less. </div><div dir="auto"><br></div><div dir="auto">Someting like lcms2-2.10_no_doc.tar.gz would work?</div><div dir="auto"><br></div><div dir="auto">I guess most people just want the sources for automated builds.</div><div dir="auto"><br></div><div dir="auto">Best regards</div><div dir="auto">Marti</div></div><div class="gmail_extra"><br><div class="gmail_quote">El 2 jun. 2020 1:57, Bob Friesenhahn <bfr...@si...> escribió:<br type="attribution" /><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">It seems that the lcms distribution packages have grown to <br> astonishingly large sizes given what the software is. It used to be <br> pretty small. Lcms2 has grown from 3.3M up to its current size of <br> 15M. <br> <br> The growth in the package size impacts GraphicsMagick since <br> GraphicsMagick ships lcms sources almost as is for the Windows builds. <br> I put this into the GraphicsMagick source repository and so the source <br> repository becomes even larger. Then the full GraphicsMagick sources <br> for Windows becomes astonishingly large. <br> <br> Is there a way to make the distribution package smaller? For example, <br> split source files, sample files, formatted documentation? <br> <br> This is the growth that I see in lcms2 distribution file sizes: <br> <br> % ls -lthgr lcms2* <br> -r--r--r-- 1 ftp 3.3M May 15 2010 lcms2-2.0a.tar.gz <br> -r--r--r-- 1 ftp 3.6M Dec 1 2010 lcms2-2.1.tar.gz <br> -r--r--r-- 1 ftp 4.1M Jun 10 2011 lcms2-2.2.zip <br> -r--r--r-- 1 ftp 4.0M Jun 10 2011 lcms2-2.2.tar.gz <br> -r--r--r-- 1 ftp 4.3M Dec 23 2011 lcms2-2.3.tar.gz <br> -r--r--r-- 1 ftp 4.3M Dec 23 2011 lcms2-2.3.zip <br> -r--r--r-- 1 ftp 4.1M Sep 10 2012 lcms2-2.4.tar.gz <br> -r--r--r-- 1 ftp 4.2M Sep 10 2012 lcms2-2.4.zip <br> -r--r--r-- 1 ftp 6.7M Jul 1 2013 lcms2-2.5.tar.gz <br> -r--r--r-- 1 ftp 6.8M Jul 1 2013 lcms2-2.5.zip <br> -r--r--r-- 1 ftp 4.4M Mar 17 2014 lcms2-2.6.tar.gz <br> -r--r--r-- 1 ftp 4.5M Mar 17 2014 lcms2-2.6.zip <br> -r--r--r-- 1 ftp 6.2M Mar 21 2015 lcms2-2.7.tar.gz <br> -r--r--r-- 1 ftp 6.4M Mar 21 2015 lcms2-2.7.zip <br> -r--r--r-- 1 ftp 6.4M Jul 20 2016 lcms2-2.8.tar.gz <br> -r--r--r-- 1 ftp 6.5M Jul 20 2016 lcms2-2.8.zip <br> -r--r--r-- 1 ftp 11M Dec 7 09:48 lcms2-2.9.zip <br> -r--r--r-- 1 ftp 10M Dec 7 09:48 lcms2-2.9.tar.gz <br> -r--r--r-- 1 ftp 15M May 31 11:38 lcms2-2.10.tar.gz <br> -r--r--r-- 1 ftp 15M May 31 11:39 lcms2-2.10.zip <br> <br> Bob <br> -- <br> Bob Friesenhahn <br> bfr...@si..., http://www.simplesystems.org/users/bfriesen/ <br> GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ <br> Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt <br> <br> <br> _______________________________________________ <br> Lcms-user mailing list <br> Lcm...@li... <br> https://lists.sourceforge.net/lists/listinfo/lcms-user <br> </p> </blockquote></div><br></div> |
From: Vincent T. <vin...@gm...> - 2020-06-02 08:44:09
|
hello use LaTeX :-) regards Vincent Torri On Tue, Jun 2, 2020 at 9:12 AM <mar...@li...> wrote: > > Hello Bob, > > This is because the PDFs. I use ms word and print to PDF and the result is huge files. > > I could make a tarball without the doc folders and this will squeeze the size in about 10 Mb less. > > Someting like lcms2-2.10_no_doc.tar.gz would work? > > I guess most people just want the sources for automated builds. > > Best regards > Marti > > El 2 jun. 2020 1:57, Bob Friesenhahn <bfr...@si...> escribió: > > It seems that the lcms distribution packages have grown to > astonishingly large sizes given what the software is. It used to be > pretty small. Lcms2 has grown from 3.3M up to its current size of > 15M. > > The growth in the package size impacts GraphicsMagick since > GraphicsMagick ships lcms sources almost as is for the Windows builds. > I put this into the GraphicsMagick source repository and so the source > repository becomes even larger. Then the full GraphicsMagick sources > for Windows becomes astonishingly large. > > Is there a way to make the distribution package smaller? For example, > split source files, sample files, formatted documentation? > > This is the growth that I see in lcms2 distribution file sizes: > > % ls -lthgr lcms2* > -r--r--r-- 1 ftp 3.3M May 15 2010 lcms2-2.0a.tar.gz > -r--r--r-- 1 ftp 3.6M Dec 1 2010 lcms2-2.1.tar.gz > -r--r--r-- 1 ftp 4.1M Jun 10 2011 lcms2-2.2.zip > -r--r--r-- 1 ftp 4.0M Jun 10 2011 lcms2-2.2.tar.gz > -r--r--r-- 1 ftp 4.3M Dec 23 2011 lcms2-2.3.tar.gz > -r--r--r-- 1 ftp 4.3M Dec 23 2011 lcms2-2.3.zip > -r--r--r-- 1 ftp 4.1M Sep 10 2012 lcms2-2.4.tar.gz > -r--r--r-- 1 ftp 4.2M Sep 10 2012 lcms2-2.4.zip > -r--r--r-- 1 ftp 6.7M Jul 1 2013 lcms2-2.5.tar.gz > -r--r--r-- 1 ftp 6.8M Jul 1 2013 lcms2-2.5.zip > -r--r--r-- 1 ftp 4.4M Mar 17 2014 lcms2-2.6.tar.gz > -r--r--r-- 1 ftp 4.5M Mar 17 2014 lcms2-2.6.zip > -r--r--r-- 1 ftp 6.2M Mar 21 2015 lcms2-2.7.tar.gz > -r--r--r-- 1 ftp 6.4M Mar 21 2015 lcms2-2.7.zip > -r--r--r-- 1 ftp 6.4M Jul 20 2016 lcms2-2.8.tar.gz > -r--r--r-- 1 ftp 6.5M Jul 20 2016 lcms2-2.8.zip > -r--r--r-- 1 ftp 11M Dec 7 09:48 lcms2-2.9.zip > -r--r--r-- 1 ftp 10M Dec 7 09:48 lcms2-2.9.tar.gz > -r--r--r-- 1 ftp 15M May 31 11:38 lcms2-2.10.tar.gz > -r--r--r-- 1 ftp 15M May 31 11:39 lcms2-2.10.zip > > Bob > -- > Bob Friesenhahn > bfr...@si..., http://www.simplesystems.org/users/bfriesen/ > GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ > Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt > > > _______________________________________________ > Lcms-user mailing list > Lcm...@li... > https://lists.sourceforge.net/lists/listinfo/lcms-user > > > _______________________________________________ > Lcms-user mailing list > Lcm...@li... > https://lists.sourceforge.net/lists/listinfo/lcms-user |
From: Bob F. <bfr...@si...> - 2020-06-02 13:06:40
|
On Tue, 2 Jun 2020, mar...@li... wrote: > Hello Bob, > This is because the PDFs. I use ms word and print to PDF and the result is huge files. > > I could make a tarball without the doc folders and this will squeeze the size in about 10 Mb less. > > Someting like lcms2-2.10_no_doc.tar.gz would work? Certainly breaking out generated large files which are not needed to build or use the distribution into a different archive file would help. I am not sure what the impact would be for Linux (or other) distributions such as if they bundle these PDF files into an installable documentation package. > I guess most people just want the sources for automated builds. In some cases. But for many users of binary distributions they do not care about the sources at all because only a few people build the binary packages they install. Users of source-based distributions would care about source. Regardless out of the packages that GraphicsMagick directly uses, Lcms has become the package with the largest source distribution file. FreeType may be a good model to follow given that they distribute three different archive files per release, one of which contains the documentation. Bob -- Bob Friesenhahn bfr...@si..., http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt |
From: <mar...@li...> - 2020-06-02 16:49:44
|
> Regardless out of the packages that GraphicsMagick directly uses, > Lcms has become the package with the largest source distribution > file. FreeType may be a good model to follow given that they > distribute three different archive files per release, one of which > contains the documentation. Okey, after removing the documentation I have: -rw-r--r-- 1 marti marti 5.0M Jun 2 16:55 lcms2-2.10_no_doc.tar.gz -rw-r--r-- 1 marti marti 16M Jun 2 16:52 lcms2-2.10.tar.gz Which seems reasonable. I have uploaded all packages on: https://github.com/mm2/Little-CMS/releases/tag/lcms2.10 https://sourceforge.net/projects/lcms/files/lcms/2.10/ Thanks for pointing out the issue! Best regards Marti |
From: Vincent T. <vin...@gm...> - 2020-06-02 16:59:58
|
have you tried to also provide archives compressed with xz ? Vincent Torri On Tue, Jun 2, 2020 at 6:51 PM <mar...@li...> wrote: > > > > Regardless out of the packages that GraphicsMagick directly uses, > > Lcms has become the package with the largest source distribution > > file. FreeType may be a good model to follow given that they > > distribute three different archive files per release, one of which > > contains the documentation. > > Okey, after removing the documentation I have: > > -rw-r--r-- 1 marti marti 5.0M Jun 2 16:55 lcms2-2.10_no_doc.tar.gz > -rw-r--r-- 1 marti marti 16M Jun 2 16:52 lcms2-2.10.tar.gz > > Which seems reasonable. I have uploaded all packages on: > > https://github.com/mm2/Little-CMS/releases/tag/lcms2.10 > https://sourceforge.net/projects/lcms/files/lcms/2.10/ > > Thanks for pointing out the issue! > Best regards > Marti > > > > > > > > > > _______________________________________________ > Lcms-user mailing list > Lcm...@li... > https://lists.sourceforge.net/lists/listinfo/lcms-user |
From: <mar...@li...> - 2020-06-02 17:38:27
|
<div dir='auto'><div><br><div class="gmail_extra"><div class="gmail_quote"><br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">have you tried to also provide archives compressed with xz ? <br><br> </p> </blockquote></div>Sure it will be better, problem is everybody have zip and tar, and the release scripts are complex enough. I think just providing a stripped down tarball would suffice.</div></div><div class="gmail_extra" dir="auto"><br></div><div class="gmail_extra" dir="auto">Regards</div><div class="gmail_extra" dir="auto">Marti.</div></div> |
From: Vincent T. <vin...@gm...> - 2020-06-02 17:56:43
|
it's easy as you are using autotools : https://www.gnu.org/software/automake/manual/automake.html#The-Types-of-Distributions add dist-xz to AM_INIT_AUTOMAKE Vincent Torri On Tue, Jun 2, 2020 at 7:38 PM <mar...@li...> wrote: > > > > have you tried to also provide archives compressed with xz ? > > Sure it will be better, problem is everybody have zip and tar, and the release scripts are complex enough. I think just providing a stripped down tarball would suffice. > > Regards > Marti. |
From: Noel C. <NCa...@Pr...> - 2020-06-02 18:34:48
|
Hi Marti, Not to go against the grain, but I think the practice of providing the documentation along with the code is good. It's all in one place and everyone knows what goes together. That being said, we pull from your git repo so what's in your distribution package really matters not to us here. I'm not saying this is the issue, but I do know that Acrobat offers effective options for reducing the size impact of embedded images. -Noel Carboni ProDigital Software -----Original Message----- From: mar...@li... <mar...@li...> Sent: Tue, June 2, 2020 12:51 PM To: Bob Friesenhahn <bfr...@si...> Cc: Lcms Liste <lcm...@li...> Subject: Re: [Lcms-user] Lcms distribution package size > Regardless out of the packages that GraphicsMagick directly uses, Lcms > has become the package with the largest source distribution file. > FreeType may be a good model to follow given that they distribute > three different archive files per release, one of which contains the > documentation. Okey, after removing the documentation I have: -rw-r--r-- 1 marti marti 5.0M Jun 2 16:55 lcms2-2.10_no_doc.tar.gz -rw-r--r-- 1 marti marti 16M Jun 2 16:52 lcms2-2.10.tar.gz Which seems reasonable. I have uploaded all packages on: https://github.com/mm2/Little-CMS/releases/tag/lcms2.10 https://sourceforge.net/projects/lcms/files/lcms/2.10/ Thanks for pointing out the issue! Best regards Marti _______________________________________________ Lcms-user mailing list Lcm...@li... https://lists.sourceforge.net/lists/listinfo/lcms-user |