-if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; then
- ipkg_ac ${IMAGE_MAGICK} "--with-modules --with-gslib=/usr/lib"
- # xpdf headers needed by inkscape
- ipkg_ac ${POPPLER} "--enable-xpdf-headers --enable-zlib"
- ipkg_ac ${LIBRSVG} "--disable-gtk-doc --disable-mozilla-plugin"
- ipkg_ac ${BABL}
- ipkg_ac ${GEGL}
- ipkg_ac ${GIMP} "--disable-print"
- ipkg_ac_nb ${GUTENPRINT}
- ipkg_cust ${BOOST} cis-boost
- # inkscape-0.47 has a problem with poppler >= 0.12.2
- ####ipkg_ac ${INKSCAPE} "CFLAGS=\"-DPOPPLER_NEW_GFXFONT\""
+ipkg ${GLIB_NETWORKING} "\
+ --libexecdir=/usr/lib/glib-networking \
+ --with-ca-certificates=/etc/ssl/ca-bundle.crt \
+ --disable-static"
+
+if [ "x${INST_TYPE}" = "xworkstation" -o \
+ "x${INST_TYPE}" = "xltsp-server" ]; then
+ # Gtk
+ ipkg ${LIBSIGCPP}
+ ipkg ${JASPER} "--enable-shared"
+ ipkg -m acnb ${GLIBMM}
+ ipkg ${CAIRO} "--enable-tee"
+ ipkg ${CAIROMM}
+ ipkg -m acnb ${PANGO}
+ ipkg ${PANGOMM}
+ ipkg ${ATK}
+ ipkg ${GDK_PIXBUF} "--with-x11"
+ ipkg ${GTK} "--disable-gtk-doc"
+ ipkg ${ATKMM}
+ ipkg ${GTKMM} "--disable-documentation"
+ ipkg ${GTK_ENGINES}
+ ipkg -m acnb ${PYCAIRO}
+ ipkg ${PYGOBJECT} "--disable-introspection"
+ ipkg ${PYGTK}
+
+ ipkg ${EMACS}
+ ipkg ${MMM_MODE}
+ ipkg ${HVCLOCK}
+ ipkg ${WMNOTIFY}
+
+ ipkg ${DESKTOP_FILE_UTILS}
+ ipkg -m acnb -j ${SHARED_MIME_INFO}
+ ipkg ${STARTUP_NOTIFICATION}
+ ipkg ${LIBWNCK}
+ ipkg ${ISO_CODES}
+ ipkg ${LIBXKLAVIER}
+ ipkg ${LIBGLADE}
+ ipkg -m acnb ${GCONF}
+ ipkg ${GNOME_KEYRING}
+ ipkg ${LIBSOUP} "--disable-static --without-gnome"
+
+ ipkg ${XSCREENSAVER} "--libexecdir=/usr/lib"
+fi
+
+ipkg ${GPARTED} "--disable-doc"
+
+if [ "x${INST_TYPE}" = "xworkstation" -o \
+ "x${INST_TYPE}" = "xltsp-server" ]; then
+ ipkg ${IMAGE_MAGICK} "--with-modules --with-gslib=/usr/lib"
+ ipkg ${VIEWNIOR}
+ # xpdf headers are needed by inkscape
+ ipkg ${POPPLER} "--enable-xpdf-headers --enable-zlib"
+ ipkg ${LIBCROCO} "--disable-static"
+ ipkg ${LIBRSVG} "--disable-gtk-doc --disable-static --disable-mozilla-plugin"
+ ipkg ${BABL}
+ ipkg ${GEGL}
+ ipkg ${GIMP}
+ ipkg -m acnb ${GUTENPRINT}
+ ipkg -s boost -m noac ${BOOST}
+ ipkg ${INKSCAPE} "CFLAGS=\"-DPOPPLER_NEW_GFXFONT\""