Your message dated Sun, 20 Jul 2008 15:11:41 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#407126: hugin-tools: nona and nona_gui binaries are 
very large
has caused the Debian Bug report #407126,
regarding hugin-tools: nona and nona_gui binaries are very large
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
407126: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407126
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: hugin-tools
Version: 0.6.1-1
Severity: normal


Hi,

The nona and nona_gui binaries are some of the largest on my system:

$ ls -l /usr/bin | sort -rn -k 5|head
-rwxr-xr-x 1 root   root    8689772 2006-08-28 22:33 hugin
-rwxr-xr-x 1 root   root    7599308 2006-03-18 20:00 AbiWord-2.4
-rwxr-xr-x 1 root   root    7175116 2006-08-28 22:33 nona_gui
-rwxr-xr-x 1 root   root    7138380 2006-08-28 22:33 nona
-rwxr-xr-x 1 root   root    6182732 2006-01-16 15:56 mplayer
-rwxr-xr-x 1 root   root    5026708 2006-09-25 13:28 inkscape
-rwxr-xr-x 1 root   root    5017492 2006-09-25 13:28 inkview
-rwxr-xr-x 1 root   root    4016828 2006-05-04 09:11 Xprt
-rwxr-xr-x 1 root   root    3372768 2006-03-29 13:46 gs-gpl
-rwxr-xr-x 1 root   root    3085008 2006-01-30 21:09 gimp-2.2

I'm particularly sensitive to disk space as I'm running from a 4GB flash drive.

I suspect that the nona and nona_gui binaries are > 90% identical.  Would it be 
possible to eliminate one of them, and thereby save nearly 7MB?  Possible 
methods:

- Two links to the same executable which checks argv[0].
- An executable for nona and a script for nona_gui which calls nona with a 
  "gui" flag.
- Two small executables and a shared library.

I appreciate that not everyone shares my desire to optimise disk space and will 
understand if you choose to ignore this report.

Thanks,  Phil.




-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages hugin-tools depends on:
ii  hugin-data                0.6.1-1        data files for hugin
ii  libboost-thread1.33.1     1.33.1-4       portable C++ multi-threading
ii  libc6                     2.3.6.ds1-4    GNU C Library: Shared libraries
ii  libgcc1                   1:4.1.1-14     GCC support library
ii  libjpeg62                 6b-13          The Independent JPEG Group's JPEG 
ii  libpano12-0               2.8.3-1        panorama tools library
ii  libpng12-0                1.2.15~beta5-1 PNG library - runtime
ii  libstdc++6                4.1.1-14       The GNU Standard C++ Library v3
ii  libtiff4                  3.8.0-3        Tag Image File Format (TIFF) libra
ii  libwxbase2.6-0            2.6.3.2.1.5    wxBase library (runtime) - non-GUI
ii  libwxgtk2.6-0             2.6.3.2.1.5    wxWidgets Cross-platform C++ GUI t
ii  zlib1g                    1:1.2.3-13     compression library - runtime

Versions of packages hugin-tools recommends:
ii  hugin                         0.6.1-1    a Panorama Tools GUI to make panor

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 0.7.0~svn3191-1

On 2007-01-16 Phil Endecott <[EMAIL PROTECTED]> wrote:
> Package: hugin-tools
> Version: 0.6.1-1
> Severity: normal

> Hi,

> The nona and nona_gui binaries are some of the largest on my system:

> $ ls -l /usr/bin | sort -rn -k 5|head
> -rwxr-xr-x 1 root   root    8689772 2006-08-28 22:33 hugin
> -rwxr-xr-x 1 root   root    7599308 2006-03-18 20:00 AbiWord-2.4
> -rwxr-xr-x 1 root   root    7175116 2006-08-28 22:33 nona_gui
> -rwxr-xr-x 1 root   root    7138380 2006-08-28 22:33 nona
> -rwxr-xr-x 1 root   root    6182732 2006-01-16 15:56 mplayer
> -rwxr-xr-x 1 root   root    5026708 2006-09-25 13:28 inkscape
> -rwxr-xr-x 1 root   root    5017492 2006-09-25 13:28 inkview
> -rwxr-xr-x 1 root   root    4016828 2006-05-04 09:11 Xprt
> -rwxr-xr-x 1 root   root    3372768 2006-03-29 13:46 gs-gpl
> -rwxr-xr-x 1 root   root    3085008 2006-01-30 21:09 gimp-2.2

> I'm particularly sensitive to disk space as I'm running from a 4GB
> flash drive.

> I suspect that the nona and nona_gui binaries are > 90% identical.
> Would it be possible to eliminate one of them, and thereby save
> nearly 7MB?  Possible methods:

> - Two links to the same executable which checks argv[0].
> - An executable for nona and a script for nona_gui which calls nona with a 
>   "gui" flag.
> - Two small executables and a shared library.
[...]

Hello,
The latter seems to be the chosen path in 0.7.0~svn3191-1.

(SID)[EMAIL PROTECTED]:/tmp/$ for i in /usr/bin/nona* ; do ldd $i  | grep hug ; 
ls -hl $i ; done
        libhuginbase.so.0.0 => /usr/lib/libhuginbase.so.0.0 (0xf782c000)
        libhuginvigraimpex.so.0.0 => /usr/lib/libhuginvigraimpex.so.0.0 
(0xf74c8000)
-rwxr-xr-x 1 root root 35K Jul 16 20:47 /usr/bin/nona
        libhuginbase.so.0.0 => /usr/lib/libhuginbase.so.0.0 (0xf791d000)
        libhuginvigraimpex.so.0.0 => /usr/lib/libhuginvigraimpex.so.0.0 
(0xf7165000)
-rwxr-xr-x 1 root root 83K Jul 16 20:47 /usr/bin/nona_gui


The packages have gotten smaller:

[EMAIL PROTECTED]:/tmp/xxx$ zcat 
/org/ftp.root/debian/dists/stable/main/binary-i386/Packages.gz | grep-dctrl 
-FPackage hugin -sPackage,Size
Package: hugin
Size: 84298

Package: hugin-bin
Size: 2568366

Package: hugin-data
Size: 1034384

Package: hugin-tools
Size: 5043464

Total: 8.3 MB

[EMAIL PROTECTED]:/tmp/xxx$ zcat 
/org/ftp.root/debian/dists/unstable/main/binary-i
386/Packages.gz | grep-dctrl -FPackage hugin -sPackage,Size
Package: hugin
Size: 687142

Package: hugin-data
Size: 1024978

Package: hugin-tools
Size: 2658744

That is basically down from 8 to 4 MB in the gzipped debian package.
Closing.
cu andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'


--- End Message ---
_______________________________________________
Pkg-phototools-devel mailing list
Pkg-phototools-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-phototools-devel

Reply via email to