-# X
-if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; then
- ipkg_ac ${FREETYPE}
- ipkg ${FONTCONFIG} cis-fontconfig
- ipkg ${T1LIB} cis-t1lib
- ipkg ${XFREE86} cis-xfree86
- source /etc/profile
-
- # Some packages (Gnome control center) require a more
- # recent version of libxft than the one installed by XFree86.
- ipkg_ac ${LIBXFT} "--prefix=/usr/X11R6"
-
- ipkg ${WINDOWMAKER} cis-windowmaker
- ipkg_ac ${WINDOWMAKER_EXTRA}
-
- # Open Source version of OSF/Motif
- ipkg_ac ${LESSTIF} "--disable-debug --enable-production --with-xdnd --disable-build-tests"
- # Re-installing emacs now that X is present (it was installed in stage 2)
- ipkg ${EMACS} cis-emacs
-fi
-
-ipkg ${TCL} cis-tcl
-ipkg ${TK} cis-tk
-
-ipkg_ac ${SQLITE}
-ipkg_ac ${PYTHON} "--enable-shared"
-
-ipkg ${LIBBOOST} cis-boost
-
-if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; then
- # DocBook
- ipkg ${SGML_COMMON} cis-sgml-common
- ipkg ${SGML_DTD3} cis-sgml-dtd3
- ipkg ${SGML_DTD4} cis-sgml-dtd4
- ipkg ${OPENSP} cis-opensp
- ipkg ${OPENJADE} cis-openjade
- ipkg ${DOCBOOK_DSSSL} cis-docbook-dsssl
- ipkg ${DOCBOOK_UTILS} cis-docbook-utils
- ipkg_ac_nb ${LIBXML2}
- ipkg_ac_nb ${LIBXSLT}
- ipkg ${DOCBOOK_XML} cis-docbook-xml
- ipkg ${DOCBOOK_XSL} cis-docbook-xsl
- ipkg ${SGML_SPM} cis-sgml-spm
-
- ipkg ${XMLTOMAN} cis-xmltoman
-
- # Perl modules
- ipkg_pm ${PERL_MOD_PDL}
- ipkg_pm ${PERL_MOD_XML_WRITER}
- ipkg_pm ${PERL_MOD_XML_PARSER}
-
- # Needed by Tango
- ipkg_pm ${PERL_MOD_XML_SIMPLE}
- ipkg_pm ${PERL_MOD_PARSE_REDESCENT}
-
- # Required PERL modules for SpamAssassin
- ipkg_pm ${PERL_MOD_HTML_TAGSET}
- ipkg_pm ${PERL_MOD_HTML_PARSER}
- ipkg_pm ${PERL_MOD_APACHE_LOGGED_AUTH_DBI}
- ipkg_pm ${PERL_MOD_DB_FILE}
- ipkg_pm ${PERL_MOD_DIGEST_SHA1}
- ipkg_pm ${PERL_MOD_URI}
- ipkg_pm ${PERL_MOD_LWP}
- ipkg ${PERL_MOD_NET_DNS} cis-pm-net-dns
-
- # Needed by OpenOffice ???
- ipkg_pm ${PERL_MOD_ARCHIVE_ZIP}
- ipkg_pm ${PERL_MOD_COMPRESS_ZLIB}
- ipkg_pm ${PERL_MOD_IO_COMPRESS_BASE}
- ipkg_pm ${PERL_MOD_COMPRESS_RAW_ZLIB}
- ipkg_pm ${PERL_MOD_IO_COMPRESS_ZLIB}
-
- # Gtk
- ipkg_ac ${GTK_DOC}
- ipkg_ac ${GLIB2}
- ipkg_ac ${PIXMAN}
- ipkg_ac ${GLITZ}
- ipkg_ac ${CAIRO} "--enable-glitz"
- ipkg_ac ${PANGO}
- ipkg_ac ${ATK}
- ipkg_ac ${GTK2} "--without-libjasper"
- ipkg_ac ${GTK_ENGINES}
- ipkg_ac ${PYGOBJECT}
- ipkg_ac ${PYGTK}
-
- ipkg_ac ${LIBSIGCPP}
- ipkg_ac ${GC}
- ipkg_ac ${GLIBMM}
- ipkg_ac ${CAIROMM}
- ipkg_ac ${GTKMM}
- ipkg_ac_nb ${HICOLOR_ICON_THEME}
-
- ipkg_ac ${HVCLOCK}
- ipkg_ac ${WMNOTIFY}
-
- # Needed by GNOME-2
- ipkg_ac ${DESKTOP_FILE_UTILS}
- ipkg_ac ${SHARED_MIME_INFO}
- ipkg_ac ${STARTUP_NOTIFICATION}
- ipkg_ac ${LIBWNCK}
- ipkg_ac ${LIBXKLAVIER}
- ipkg_ac ${LIBGLADE}
- ipkg_ac ${LIBSOUP}
- ipkg_ac ${LIBIDL}
-fi
-
-ipkg_ac ${INTLTOOL}
-ipkg_ac ${GSL}
-ipkg ${CUPS} cis-cups
-ipkg ${SPLIX} cis-splix # Drivers Samsung pour CUPS
-ipkg ${ESPGS} cis-espgs
-
-if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; then
- ipkg ${LIBUSB} cis-libusb
- ipkg_ac ${LIBGPHOTO2}
- ipkg_ac ${IMAGE_MAGICK} "--with-modules"
- 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_ac ${INKSCAPE} "CFLAGS=\"-DPOPPLER_NEW_GFXFONT\""
-fi
-
-ipkg_ac ${BC} "--with-readline"
-ipkg ${CDRTOOLS} cis-cdrtools
-ipkg ${DVDRWTOOLS} cis-dvd-rw-tools
-
-if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; then
- ipkg_ac ${ED}
- ipkg ${TETEX_SRC} cis-tetex
- ipkg ${JADETEX} cis-jadetex
-fi
-
-if [ "x${SANE_SUPPORT}" = "xyes" ]; then
- ipkg ${SANE_BACKENDS} cis-sane-backends
- ipkg ${XSANE} cis-xsane
-fi
-
-ipkg_ac ${ICON_NAMING_UTILS}
-ipkg_ac ${TANGO_ICON_THEME}
-ipkg_ac ${TANGO_ICON_THEME_EXTRAS}
-
-if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; then
- # Audio
- if [ "x${SOUND_CARD}" = "xyes" ]; then
- # Needed by some packages, mostly audio applications.
- ipkg_ac ${LIBOIL}
-
- # ALSA
- ipkg ${ALSA_LIB} cis-alsa-lib
- ipkg ${ALSA_UTILS} cis-alsa-utils
- ipkg_ac ${ALSA_OSS}
-
- # Audio raw utilities
- ipkg_ac ${LIBSAMPLERATE}
-
- # Audio file formats
- ipkg_ac ${LIBOGG}
- ipkg_ac ${LIBVORBIS}
- ipkg_ac_nb ${FLAC}
- ipkg_ac ${LAME}
- ipkg_ac ${LIBA52} "--enable-shared"
- ipkg ${LIBID3TAG} cis-libid3tag
- ipkg ${LIBMAD} cis-libmad
-
- ipkg_ac_nb ${LIBFAAC}
- ipkg_ac_nb ${LIBFAAD2}
- ipkg_ac ${LIBTHEORA}
- ipkg ${XVIDCORE} cis-xvidcore
-
- # Audio libraries
- ipkg_ac_nb ${AUDIOFILE}
- ipkg_ac ${PORTAUDIO}
- ipkg_ac ${LIBSNDFILE}
-
- # Audio servers
- ipkg_ac ${ESOUND}
- ipkg ${GDBM} cis-gdbm
- ipkg_ac ${SPEEX}
- ipkg ${PULSEAUDIO} cis-pulseaudio
- ipkg_ac ${JACK} "--disable-portaudio"
-
- ipkg_ac ${ALSA_PLUGINS} # Depends on pulseaudio
- ipkg_ac ${VORBIS_TOOLS}
-
- # Audio applications
- ipkg_ac_nb ${GRIP} "--disable-id3"
- ipkg_ac_nb ${CDRDAO}
- ipkg_ac ${SWEEP} "--enable-pulseaudio"
- ipkg_ac ${EASYTAG}
-
- ipkg_ac_nb ${FFMPEG} "--enable-shared --enable-pthreads --enable-gpl --enable-nonfree --disable-ffplay \
- --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora \
- --enable-libvorbis --enable-libxvid"
- fi
-
- ipkg_ac ${SYLPHEED} "--enable-ssl --enable-ldap"
- ipkg ${NSS} cis-nss
- ipkg ${FIREFOX} cis-firefox
-
- # Plugins for Opera and Firefox
- ipkg ${JAVA} cis-java
- ipkg ${AGG} cis-agg
- ipkg ${GNASH} cis-gnash
-fi
-
-ipkg ${DBUS} cis-dbus
-ipkg_ac ${DBUS_GLIB} "--disable-tests --disable-dependency-tracking --disable-xml-docs --disable-doxygen-docs"
-ipkg ${HAL} cis-hal
-
-ipkg_ac ${LIBGAMIN} "--libexecdir=/usr/sbin"
-ipkg_ac ${PCMANFM}
-
-# Mail
-ipkg ${SASL2} cis-sasl2
-ipkg ${OPENLDAP} cis-openldap
-ipkg ${KERBEROS5} cis-krb5
-ipkg ${SENDMAIL} cis-sendmail
-
-if [ "x${INST_TYPE}" = "xserver" -o "x${INST_TYPE}" = "xltsp-server" ]; then
- ipkg ${PROCMAIL} cis-procmail
- ipkg_ac ${LIBSPF2}
- ipkg ${MILTER_SPF} cis-milter-spf
- ipkg ${MILTER_GREYLIST} cis-milter-greylist
-fi
-
-# fcron needs sendmail installed.
-ipkg ${FCRON} cis-fcron
-ipkg ${GETDATE} cis-getdate
-
-if [ "x${INST_TYPE}" = "xserver" -o "x${INST_TYPE}" = "xltsp-server" ]; then
- ipkg ${CLAMAV} cis-clamav
- ipkg ${SPAMASSASSIN} cis-spamassassin
- ipkg ${UW_IMAP} cis-uw-imap
-
- # Apache
- ipkg ${HTTPD} cis-apache
- ipkg_ac ${CURL}
- ipkg ${PHP} cis-php
-
- ipkg ${SQUIRRELMAIL} cis-squirrelmail
- ipkg ${MAILMAN} cis-mailman
- ipkg_ac ${FETCHMAIL} "--with-ssl"
- ipkg_ac ${MUTT} "--enable-imap --with-ssl"
-
- # Subversion server (client was already installed in stage2)
- ipkg ${SUBVERSION} cis-subversion
-fi
-
- ipkg_ac_nb ${GIT}
- ipkg ${GIT_MANPAGES} cis-git-manpages
-
-if [ "x${USE_SAMBA}" = "xyes" ]; then
- ipkg ${SAMBA} cis-samba
-fi
-
-if [ "x${INST_TYPE}" = "xltsp-server" ]; then
- ipkg ${TFTP_HPA} cis-tftp-hpa
- ipkg ${LTSP_UTILS} cis-ltsp-utils
-fi
-
-ipkg_ac_nb ${KVM}
-ipkg_ac_nb ${BRIDGE_UTILS}
-ipkg ${UML_UTILITIES} cis-uml-utilities
-
-ipkg ${GUILE} cis-guile
-
-ipkg ${CKERMIT} cis-ckermit
-
-# BitTorrent client
-ipkg_ac ${TRANSMISSION} "--disable-daemon"
-
-# For bitbake
-ipkg_ac ${HELP2MAN}
-
-ipkg_ac ${LIBDVDCSS}
-ipkg_ac ${LIBDVDREAD} "--with-libdvdcss"
-
-ipkg ${DOSFSTOOLS} cis-dosfstools
-
-./cis-postinstall