Bug#741487: mozjpeg 2.1 package
On 2016-11-21 23:45, Pierre Rudloff wrote: By default mozjpeg is installed in /opt/mozjpeg/. You don't even need to use LD_PRELOAD as the binary it installs is automatically linked to /opt/mozjpeg/lib64/libjpeg.so. (The conflict issue I was raising is only if want to include mozjpeg in Debian and install it in /usr/.) Actually I just thought that utility tools in bin/ could be statically linked like in the example below: root@debian:~# ./configure --disable-shared; make clean install root@debian:~# ldd /opt/mozjpeg/bin/cjpeg linux-gate.so.1 (0xb7768000) libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xb7728000) libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xb76e2000) libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xb7537000) libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb751a000) /lib/ld-linux.so.2 (0x8002f000) Now one can package _only_ binaries and omit the (conflicting) library. Wouldn't this be a solution to finally allow mozjpeg into Debian repo? -- With best regards, Dmitry
Bug#741487: mozjpeg 2.1 package
Le 21/11/2016 à 23:27, Dmitry Katsubo a écrit : The question is: if I need to install mozjpeg together with libjpeg, what are the options? Do I need to change the prefix to /usr/local for mozjpeg, and then use $ LD_PRELOAD=/usr/local/lib/libjpeg.so jpegtran -copy all By default mozjpeg is installed in /opt/mozjpeg/. You don't even need to use LD_PRELOAD as the binary it installs is automatically linked to /opt/mozjpeg/lib64/libjpeg.so. (The conflict issue I was raising is only if want to include mozjpeg in Debian and install it in /usr/.)
Bug#741487: mozjpeg 2.1 package
On 2016-11-21 20:48, Pierre Rudloff wrote: >> Hello Pierre, >> >> Could you please share the mozjpeg Debian package sources (with >> debian/control, >> ... files)? For example as a branch in github? That will simplify creating a >> package to play with for me. >> >> Also I wonder what exactly the conflict with the standard libjpeg leads to. >> Does >> it mean that if mozjpeg is installed to /usr/local subtree it will interfere >> with software that uses libjpeg? >> >> Many thanks in advance! >> > Hello, > > Sorry, I don't have the source anymore (and it has been removed from mentors) > but it is pretty easy to build. > > IIRC mozjpeg installs its own libjpeg.so library so it can't be installed > alongside upstream libjpeg. Many thanks for the information! The question is: if I need to install mozjpeg together with libjpeg, what are the options? Do I need to change the prefix to /usr/local for mozjpeg, and then use $ LD_PRELOAD=/usr/local/lib/libjpeg.so jpegtran -copy all ? How have you played with it? Also if I may ask you, what options are meant to be for maximum compression? I see that "-optimize" and "-arithmetic" are mutually exclusive... I would assume that compression should have a mode "try all possible". P.S. Just discovered that non of modern browsers support arithmetic-encoded JPEGs https://bugzilla.mozilla.org/show_bug.cgi?id=680385 which makes "-arithmetic" option non-attractive. -- With best regards, Dmitry
Bug#741487: mozjpeg 2.1 package
> From: Pierre Rudloff> To: 741...@bugs.debian.org > Subject: mozjpeg 2.1 package > Date: Sun, 14 Sep 2014 02:49:22 +0200 > > Hello, > > I have built a package for mozjpeg 2.1: > http://mentors.debian.net/package/mozjpeg > > But, as I said, it conflicts with the standard libjpeg. > > Regards, Hello Pierre, Could you please share the mozjpeg Debian package sources (with debian/control, ... files)? For example as a branch in github? That will simplify creating a package to play with for me. Also I wonder what exactly the conflict with the standard libjpeg leads to. Does it mean that if mozjpeg is installed to /usr/local subtree it will interfere with software that uses libjpeg? Many thanks in advance! -- With best regards, Dmitry
Bug#741487: mozjpeg 2.1 package
Le 21/11/2016 à 20:42, Dmitry Katsubo a écrit : From: Pierre RudloffTo: 741...@bugs.debian.org Subject: mozjpeg 2.1 package Date: Sun, 14 Sep 2014 02:49:22 +0200 Hello, I have built a package for mozjpeg 2.1: http://mentors.debian.net/package/mozjpeg But, as I said, it conflicts with the standard libjpeg. Regards, Hello Pierre, Could you please share the mozjpeg Debian package sources (with debian/control, ... files)? For example as a branch in github? That will simplify creating a package to play with for me. Also I wonder what exactly the conflict with the standard libjpeg leads to. Does it mean that if mozjpeg is installed to /usr/local subtree it will interfere with software that uses libjpeg? Many thanks in advance! Hello, Sorry, I don't have the source anymore (and it has been removed from mentors) but it is pretty easy to build. IIRC mozjpeg installs its own libjpeg.so library so it can't be installed alongside upstream libjpeg. Regards,
Bug#741487: mozjpeg 2.1 package
Hello, I have built a package for mozjpeg 2.1: http://mentors.debian.net/package/mozjpeg But, as I said, it conflicts with the standard libjpeg. Regards, -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org