Re: glib causes bloat

[prev] [thread] [next] [lurker] [Date index for 2006/04/13]

From: H.Merijn Brand
Subject: Re: glib causes bloat
Date: 16:36 on 13 Apr 2006
On Thu, 13 Apr 2006 18:12:19 +0300, Jarkko Hietaniemi <jhietaniemi@xxxxx.xxx>
wrote:

> H.Merijn Brand wrote:
> > I just want a 64bit ethereal on HP-UX
> > 
> > ethereal needs glib and gtk+
> > those need pango and atk
> > 
> > so far so good. Understandable and OK.
> 
> No, it's not, since they are the first few steps in the descend to hell.
> Why the fuck it seems that to install anything I need to install a
> mountain of deeply interconnected and bloated libraries (yes, I am
> looking at you, gnome and kde), and don't even get me started on trying
> to configure compile any of that stuff outside Linux.  Just thinking
> about GNU configure and the GNU autotools make me see horrible violent
> visions through blood-red haze.  Making software portable my ass.

/me hands Jarkko a box with libtool

> > But glib does not allow to be configured without NLS, hence requires gettext
> > and libintl, two of the most stupid extentions ever invented to make software
> > portable. --disable-nls should be the default, and supported by every single
> 
> On that I can agree.  They are prime WTFWTT (What The Fuck Where They
> Thinking) software.

In fact it almost makes me want to release a kill-nfs package, with empty
placeholders for all those useless calls. And look what they install by
default! As if I am only faintly interested in polish translations!

# find . -name \*.po | xargs tar cf - | wc
956679 3206729 28626944

28 Mb of stuff I am *NEVER* going to use! And not a single moment in the
process were I asked if I wanted all those translations.

> > piece of open source software.

I still do not have a running gtk+
To get there I needed to install:

libiconv-1.9.2 and gettext-0.14.5 needed for glib
glib-2.8.6
pkgconfig-0.18 needed by all
atk-1.10.3 needed by gtk+
freetype-2.1.10 needed by cairo
renderext-0.9 needed by xrender
xrender-0.8.3 needed by cairo
fontconfig-2.3.94 needed by caire
  does not build with native HP C-ANSI-C and requires stdint.h, an
  fully useless include file only available on linux
cairo-1.0.4 needed by gtk+
  doesn't build at all. I had to modify almost every makfile, libtool,
  configure, and even some include files. This is the worst product in
  the history of portable software. Hmm, maybe libtool is worse. Might
  be worth a flamewar.
jpeg-6b needed by tiff
tiff-3.8.2 needed by gtk+ (though the require doesn't mention that)
pango-1.10.4 needed by gtk+
  had to rebuild three times, as gtk+ requires pangocairo, and cairo
  must be built before pango, and pango refuses to be built with the
  native C compiler and thus sucks too.
libpng-1.2.8 wanted by gtk+
  though it still complaints
gtk+-2.8.17
  still building. I think I issued the configure command here now
  about 40 times

Making all in stock-icons
make[4]: Entering directory `/pro/3gl/LINUX/gtk+-2.8.17/gtk/stock-icons'
GDK_PIXBUF_MODULE_FILE=../../gdk-pixbuf/gdk-pixbuf.loaders ../../gdk-pixbuf/gdk-pixbuf-csource                                          \
   --raw --build-list stock_about_16          ./stock_about_16.png stock_about_24          ./stock_about_24.png stock_add_16            ./stock_add_16.png stock_add_24             ./stock_add_24.png stock_align_center_16        ./stock_align_center_16.png stock_align_center_24       ./stock_align_center_24.png stock_align_justify_16  ./stock_align_justify_16.png stock_align_justify_24     ./stock_align_justify_24.png stock_align_left_16        ./stock_align_left_16.png stock_align_left_24       ./stock_align_left_24.png stock_align_right_16  ./stock_align_right_16.png stock_align_right_24 ./stock_align_right_24.png stock_apply_20               ./stock_apply_20.png stock_cancel_20                ./stock_cancel_20.png stock_dnd_multiple_32     ./stock_dnd_multiple_32.png stock_bottom_16             ./stock_bottom_16.png stock_bottom_24               ./stock_bottom_24.png stock_cdrom_16            ./stock_cdrom_16.png stock_cdrom_24             ./stock_cdrom_24.png stock_clear_!
 24         ./stock_clear_24.png stock_close_20             ./stock_close_20.png stock_close_24             ./stock_close_24.png stock_colorselector_24     ./stock_colorselector_24.png stock_color_picker_25  ./stock_color_picker_25.png > gtkstockpixbufs.h ||      \
           ( rm -f gtkstockpixbufs.h && false )
failed to load "./stock_about_16.png": Couldn't recognize the image file format for file './stock_about_16.png'
make[4]: *** [gtkstockpixbufs.h] Error 1
make[4]: Leaving directory `/pro/3gl/LINUX/gtk+-2.8.17/gtk/stock-icons'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/pro/3gl/LINUX/gtk+-2.8.17/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/pro/3gl/LINUX/gtk+-2.8.17/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/pro/3gl/LINUX/gtk+-2.8.17'
make: *** [all] Error 2

Yeah, sure! I stop for today.


-- 
H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using & porting perl 5.6.2, 5.8.x, 5.9.x  on HP-UX 10.20, 11.00, 11.11,
& 11.23, SuSE 10.0, AIX 4.3 & 5.2, and Cygwin.       http://qa.perl.org
http://mirrors.develooper.com/hpux/           http://www.test-smoke.org
                       http://www.goldmark.org/jeff/stupid-disclaimers/
There's stuff above here

Generated at 07:00 on 25 Apr 2006 by mariachi 0.52