# This file contains the name and version of all packages,
# as well the corresponding patches, if needed.
-ABIWORD="abiword-2.6.4"
+ABIWORD="abiword-2.8.6"
AGG="agg-2.5"
ALSA_DRIVER="alsa-driver-1.0.21"
ALSA_LIB="alsa-lib-1.0.21"
CAIROMM="cairomm-1.8.4"
CDRTOOLS="cdrtools-2.01"
CDRDAO="cdrdao-1.2.2"
-CKERMIT="ckermit-8.0.211"
+CKERMIT="cku211"
CLAMAV="clamav-0.93.3"
CLOOG_PPL="cloog-ppl-0.15.10"
CONSOLEKIT="ConsoleKit-0.4.1"
JACK="jack-audio-connection-kit-0.120.1"
JADETEX="jadetex-3.13"
JASPER="jasper-1.900.1"
-JAVA="jre-1.6.0_05"
KBD="kbd-1.15.2"
KERBEROS5="krb5-1.4.1"
KERNEL="linux-2.6.37.1"
+NOUVEAU_NVIDIA_KERNEL="linux-2.6.38-rc7-g3d3d123-nouveau-git"
KVM="kvm-84"
LAME="lame-398-2"
STARTUP_NOTIFICATION="startup-notification-0.9"
STRACE="strace-4.5.20"
SUBVERSION="subversion-1.6.6"
-SYLPHEED="sylpheed-3.1"
+SYLPHEED="sylpheed-3.1.0"
SUDO="sudo-1.7.2p2"
SYSKLOGD="sysklogd-1.5"
-SYSVINIT="sysvinit-2.86"
+SYSVINIT="sysvinit-2.88dsf"
T1LIB="t1lib-5.1.2"
TALLOC="talloc-2.0.1"
TK="tk8.5.8-src"
TRANSMISSION="transmission-1.34"
-UDEV="udev-160"
+UDEV="udev-166"
UDEV_CONFIG="udev-config-20100128"
UML_UTILITIES="uml_utilities_20070815"
UNRAR="unrar-3.7.8"
WIRELESS_TOOLS="wireless_tools.29"
WMNOTIFY="wmnotify-0.3.2"
WPA_SUPPLICANT="wpa_supplicant-0.7.3"
-WV="wv-1.2.4"
+WV="wv-1.2.9"
XORG_VER="7.6-1"
XORG_APP=app-${XORG_VER}
USE_SAMBA="no"
# Override some packages
-KERNEL="linux-2.6-nouveau-git-20110310"
+KERNEL="${NOUVEAU_NVIDIA_KERNEL}"
WMAKER_URL="http://windowmaker.info/pub/source/release"
CAIRO_URL="http://cairographics.org/releases"
KERNEL_URL="http://www.kernel.org/pub"
+ABIWORD_URL="http://www.abisource.com/downloads"
# FTP: will say "File not found"
if grep --ignore-case "not found" ${WGET_LOG_FILE} \
1> /dev/null 2>&1; then
- echo "404 NOTFOUND"
+ #echo "404 NOTFOUND"
return 0
fi
# Most common layout:
# http://pkg-config.freedesktop.org/releases/
- if [ -z "${SRC_DIR}" ]; then
+ if [ -z "${MODE_OPT}" ]; then
# Default subdirectory or module on server
- SRC_DIR=$(get_pkg_name ${PACK})
+ MODE_OPT=$(get_pkg_name ${PACK})
fi
-
if [ -z "${FILE_EXT}" ]; then
# Default file extension is always tar.gz???
FILE_EXT="tar.gz"
fi
FD_SUBDIR_FINAL="releases"
- if [ -n "${MODE_OPT}" ]; then
+ if [ -n "${SRC_DIR}" ]; then
# Optional final subdir:
# releases (default)
# dist
# none (don't append anything)
- if [ "x${MODE_OPT}" = "xnone" ]; then
+ if [ "x${SRC_DIR}" = "xnone" ]; then
FD_SUBDIR_FINAL=""
else
- FD_SUBDIR_FINAL=${MODE_OPT}
+ FD_SUBDIR_FINAL=${SRC_DIR}
fi
fi
- URL="http://${SRC_DIR}.freedesktop.org/${FD_SUBDIR_FINAL}"
+ URL="http://${MODE_OPT}.freedesktop.org/${FD_SUBDIR_FINAL}"
SRC_DIR=""
;;
apa)
fi
if [ -n "${TEST_INTEGRITY}" ]; then
+ set +e
test_archive_integrity "${PACK}" "${DEST_FILE}" "${FINAL_EXT}"
-
+ set -e
+
# We do not want to fetch patches when testing integrity,
# so return immediately
return 0
echo ${1} | sed "s!^.*-\([0-9]*\.[0-9]*\).*!\1!g"
}
+# Extracting the 3-digit version number from a complete package name.
+# Arg. #1: Complete package name with version
+# (ex: linux-2.6.37.1 will output 2.6.37)
+get_pkg_ver3()
+{
+ # Checking for correct number of arguments
+ if [ $# -ne 1 ]; then
+ echo "${FUNCNAME}(), wrong number of arguments: ${*}"
+ return 1
+ fi
+
+ echo ${1} | sed "s!^.*-\([0-9]*\.[0-9]*\.[0-9]*\).*!\1!g"
+}
+
# Extracting the base version number from a complete package name.
# Arg. #1: Complete package name with version (ex: gcc-3.4.4 will output 3)
get_pkg_ver_major()
update_packages_init ${*}
-fpkg -s "linux/kernel/v2.6" ${KERNEL} ${KERNEL_URL}
+if [ "x${KERNEL}" = "x${NOUVEAU_NVIDIA_KERNEL}" ]; then
+ # Special case
+ fpkg -m hv ${KERNEL}
+else
+ fpkg -s "linux/kernel/v2.6" ${KERNEL} ${KERNEL_URL}
+fi
+
fpkg ${FILE_PKG} "ftp://ftp.astron.com/pub/file"
fpkg -m gnu ${NCURSES}
fpkg -m gnu ${GMP}
--disable-profile \
--enable-add-ons \
--with-tls \
- --enable-kernel=$(get_pkg_ver ${KERNEL}) \
+ --enable-kernel=$(get_pkg_ver3 ${KERNEL}) \
--with-__thread \
--with-binutils=/cross-tools/bin \
--with-headers=/tools/include"
fpkg -m gnome ${LIBART}
fpkg -m sf ${LIBEXIF}
fpkg -e "tar.gz" ${FRIBIDI} "http://fribidi.org/download"
-fpkg -m fd -s "icon-theme" ${HICOLOR_ICON_THEME}
+fpkg -m fd -o "icon-theme" ${HICOLOR_ICON_THEME}
fpkg ${TIFF} "http://download.osgeo.org/libtiff"
fpkg -m sf ${GIFLIB}
fpkg -m sf ${LCMS}
fpkg -m sf ${LESSTIF}
fpkg -m xorg -s data ${XBITMAPS}
-fpkg -m fd -o "dist" -s "xcb" ${LIBPTHREAD_STUBS}
-fpkg -m fd -o "dist" -s "xcb" ${XCB_PROTO}
-fpkg -m fd -o "dist" -s "xcb" ${XCB_UTIL}
+fpkg -m fd -o "xcb" -s "dist" ${LIBPTHREAD_STUBS}
+fpkg -m fd -o "xcb" -s "dist" ${XCB_PROTO}
+fpkg -m fd -o "xcb" -s "dist" ${XCB_UTIL}
fpkg -m gnu ${GPERF}
fpkg -m hv ${LIBDRM}
fpkg -s "$(get_pkg_ver ${MESALIB})" ${MESALIB} \
ftp://ftp.freedesktop.org/pub/mesa
fpkg -m xorg -s data ${XCURSOR_THEMES}
-fpkg -m fd -o "xlibs" -s "xkbdesc" ${XKEYBOARD_CONFIG}
+fpkg -m fd -o "xlibs" -s "xkbdesc" -e "tar.bz2" ${XKEYBOARD_CONFIG}
fpkg -m xorg -s app ${LUIT}
fpkg -e "tar.gz" ${PIXMAN} ${CAIRO_URL}
fpkg -e "tar.gz" ${LIBFFI} "ftp://sourceware.org/pub/libffi"
-fpkg -m fd -o "releases/dbus" ${DBUS}
+fpkg -m fd -s "releases/dbus" ${DBUS}
fpkg -m gnome ${GLIB}
fpkg -m gnome ${GOBJECT_INSTROSPECTION}
-fpkg -m fd -o "dbus" ${DBUS_GLIB}
+fpkg -m fd -o "dbus" -s "releases/dbus-glib" ${DBUS_GLIB}
fpkg -m fd -o "hal" ${EGGDBUS}
fpkg -m fd -o "hal" ${POLKIT}
fpkg ${CONSOLEKIT} "http://www.freedesktop.org/software/ConsoleKit/dist"
ipkg -m acnb ${BRIDGE_UTILS}
ipkg ${UML_UTILITIES}
-ipkg ${CKERMIT}
+ipkg -s ckermit ${CKERMIT}
ipkg ${TRANSMISSION} "--disable-daemon"
fpkg -m sf -s "ghostscript" ${GHOSTSCRIPT_FONTS_OTHER}
fpkg -m sf -s "imagemagick" ${IMAGE_MAGICK}
-fpkg -m fd -o "none" ${POPPLER}
+fpkg -m fd -s "none" ${POPPLER}
fpkg -m gnome ${LIBRSVG}
fpkg ${BABL} "ftp://ftp.gtk.org/pub/babl/$(get_pkg_ver_base ${BABL})"
fpkg ${GEGL} "ftp://ftp.gimp.org/pub/gegl/$(get_pkg_ver_base ${BABL})"
fpkg -e "tar.gz" ${LIBOGG} "http://downloads.xiph.org/releases/ogg"
fpkg ${LIBVORBIS} "http://downloads.xiph.org/releases/vorbis"
-fpkg -m hv ${FLAC}
+fpkg -m sf ${FLAC}
fpkg -m sf ${LAME}
fpkg -m hv ${LIBA52}
fpkg -m hv ${LIBID3TAG}
"http://lilypond.org/download/sources/v$(get_pkg_ver_base ${LILYPOND})"
fpkg -m hv ${FFMPEG}
-fpkg ${SYLPHEED} "http://sylpheed.good-day.net/sylpheed/v$(get_pkg_ver_base ${SYLPHEED})"
-
+fpkg ${SYLPHEED} \
+ "http://sylpheed.good-day.net/sylpheed/v$(get_pkg_ver_base ${SYLPHEED})"
fpkg -m hv ${NSS}
fpkg -f "${FIREFOX}.source" ${FIREFOX} \
"http://releases.mozilla.org/pub/mozilla.org/firefox/releases/$(get_pkg_ver ${FIREFOX})/source"
-fpkg -m hv ${AGG}
+fpkg -m hv ${AGG} "http://www.antigrain.com"
fpkg ${GNASH} "http://ftp.gnu.org/pub/gnu/gnash/$(get_pkg_ver ${GNASH})"
fpkg -e "tar.gz" ${SASL2} "ftp://ftp.andrew.cmu.edu/pub/cyrus-mail"
fpkg ${TRANSMISSION} "http://mirrors.m0k.org/transmission/files"
-fpkg -m hv ${CKERMIT}
+fpkg -e "tar.gz" ${CKERMIT} "ftp://kermit.columbia.edu/kermit/archives"
fpkg -e "tar.gz" ${LIBGAMIN} "http://www.gnome.org/~veillard/gamin/sources"
# Remove old links
rm -f /usr/lib/mozilla
rm -f /usr/lib/firefox
- rm -f /usr/lib/${FIREFOX_PKG_VERSION}/plugins/libjavaplugin_oji.so
ln -v -sf ${FIREFOX_PKG_VERSION} /usr/lib/mozilla
ln -v -sf ${FIREFOX_PKG_VERSION} /usr/lib/firefox
ipkg_gnome ${GNOME_TOTEM}
ipkg ${GDM}
ipkg ${LIBNOTIFY}
-ipkg -m gnomenb ${GNOME_MOUNT}
ipkg ${RHYTHMBOX} "--disable-python"
update_packages_init ${*}
# Gnome 2 core packages
-fpkg_gnome ${ORBIT2}
-fpkg_gnome ${LIBBONOBO}
-fpkg_gnome ${GCONF}
-fpkg_gnome ${GNOME_MIME_DATA}
-fpkg_gnome ${GNOME_VFS}
-fpkg_gnome ${GNOME_VFS_MONIKERS}
-fpkg_gnome ${LIBGNOME}
-fpkg_gnome ${LIBGNOMECANVAS}
-fpkg_gnome ${LIBBONOBOUI}
-fpkg_gnome ${GNOME_ICON_THEME}
-fpkg_gnome ${GNOME_KEYRING}
-fpkg_gnome ${LIBGNOMEUI}
-fpkg_gnome ${GNOME_THEMES}
-fpkg_gnome ${SCROLLKEEPER}
-fpkg_gnome ${GNOME_DOC_UTILS}
-fpkg_gnome ${GNOME_DESKTOP}
-fpkg_gnome ${GNOME_BACKGROUNDS}
-fpkg_gnome ${GNOME_MENUS}
-fpkg_gnome ${GNOME_PANEL}
-fpkg_gnome ${GNOME_SESSION}
-fpkg_gnome ${VTE}
-fpkg_gnome ${GNOME_TERMINAL}
-fpkg_gnome ${LIBGTOP}
-fpkg_gnome ${LIBGNOMEKBD}
-fpkg_gnome ${LIBGAIL_GNOME}
-fpkg_gnome ${GNOME_APPLETS}
-fpkg_gnome ${EEL}
-fpkg_gnome ${NAUTILUS}
-fpkg_gnome ${YELP}
-fpkg_gnome ${METACITY}
-fpkg_gnome ${GNOME_CONTROL_CENTER}
-fpkg_gnome ${GNOME_USER_DOCS}
+fpkg -m gnome ${ORBIT2}
+fpkg -m gnome ${LIBBONOBO}
+fpkg -m gnome ${GCONF}
+fpkg -m gnome ${GNOME_MIME_DATA}
+fpkg -m gnome ${GNOME_VFS}
+fpkg -m gnome ${GNOME_VFS_MONIKERS}
+fpkg -m gnome ${LIBGNOME}
+fpkg -m gnome ${LIBGNOMECANVAS}
+fpkg -m gnome ${LIBBONOBOUI}
+fpkg -m gnome ${GNOME_ICON_THEME}
+fpkg -m gnome ${GNOME_KEYRING}
+fpkg -m gnome ${LIBGNOMEUI}
+fpkg -m gnome ${GNOME_THEMES}
+fpkg -m gnome ${SCROLLKEEPER}
+fpkg -m gnome ${GNOME_DOC_UTILS}
+fpkg -m gnome ${GNOME_DESKTOP}
+fpkg -m gnome ${GNOME_BACKGROUNDS}
+fpkg -m gnome ${GNOME_MENUS}
+fpkg -m gnome ${GNOME_PANEL}
+fpkg -m gnome ${GNOME_SESSION}
+fpkg -m gnome ${VTE}
+fpkg -m gnome ${GNOME_TERMINAL}
+fpkg -m gnome ${LIBGTOP}
+fpkg -m gnome ${LIBGNOMEKBD}
+fpkg -m gnome ${LIBGAIL_GNOME}
+fpkg -m gnome ${GNOME_APPLETS}
+fpkg -m gnome ${EEL}
+fpkg -m gnome ${NAUTILUS}
+fpkg -m gnome ${YELP}
+fpkg -m gnome ${METACITY}
+fpkg -m gnome ${GNOME_CONTROL_CENTER}
+fpkg -m gnome ${GNOME_USER_DOCS}
# Gnome 2 additional packages - Libraries
-fpkg_gnome ${LIBGNOMECUPS}
-fpkg_gnome ${LIBGNOMEPRINT}
-fpkg_gnome ${LIBGNOMEPRINTUI}
-fpkg_gnome ${GTKHTML}
-fpkg_gnome ${EVOLUTION_DATA_SERVER}
-fpkg_gnome ${GTKSOURCEVIEW}
-fpkg_gnome ${SYSTEM_TOOLS_BACKENDS}
-fpkg_gnome ${GNOME_AUDIO}
+fpkg -m gnome ${LIBGNOMECUPS}
+fpkg -m gnome ${LIBGNOMEPRINT}
+fpkg -m gnome ${LIBGNOMEPRINTUI}
+fpkg -m gnome ${GTKHTML}
+fpkg -m gnome ${EVOLUTION_DATA_SERVER}
+fpkg -m gnome ${GTKSOURCEVIEW}
+fpkg -m gnome ${SYSTEM_TOOLS_BACKENDS}
+fpkg -m gnome ${GNOME_AUDIO}
# Gnome 2 additional packages - Utilities
-fpkg_gnome ${GEDIT}
-fpkg_gnome ${EOG}
-fpkg_gnome ${EVINCE}
-fpkg_gnome ${FILE_ROLLER}
-fpkg_gnome ${GCONF_EDITOR}
-fpkg_gnome ${GNOME_UTILS}
-fpkg_gnome ${GNOME_SYSTEM_MONITOR}
-fpkg_gnome ${NAUTILUS_CD_BURNER}
-fpkg_gnome ${GSTREAMER}
-fpkg_gnome ${GST_PLUGINS_BASE}
-fpkg ${GST_PLUGINS_GOOD} "http://gstreamer.freedesktop.org/src/gst-plugins-good"
-fpkg ${GST_PLUGINS_BAD} "http://gstreamer.freedesktop.org/src/gst-plugins-bad"
-fpkg ${GST_PLUGINS_UGLY} "http://gstreamer.freedesktop.org/src/gst-plugins-ugly"
-fpkg ${GST_FFMPEG} "http://gstreamer.freedesktop.org/src/gst-ffmpeg"
-fpkg_gnome ${GNOME_MEDIA}
-fpkg_gnome ${GNOME_NETSTATUS}
-fpkg_gnome ${GCALCTOOL}
-fpkg_gnome ${GUCHARMAP}
-fpkg_gnome ${ZENITY}
+fpkg -m gnome ${GEDIT}
+fpkg -m gnome ${EOG}
+fpkg -m gnome ${EVINCE}
+fpkg -m gnome ${FILE_ROLLER}
+fpkg -m gnome ${GCONF_EDITOR}
+fpkg -m gnome ${GNOME_UTILS}
+fpkg -m gnome ${GNOME_SYSTEM_MONITOR}
+fpkg -m gnome ${NAUTILUS_CD_BURNER}
+fpkg -m gnome ${GSTREAMER}
+fpkg -m gnome ${GST_PLUGINS_BASE}
+fpkg -m fd -o "gstreamer" -s "src/gst-plugins-good" ${GST_PLUGINS_GOOD}
+fpkg -m fd -o "gstreamer" -s "src/gst-plugins-bad" ${GST_PLUGINS_BAD}
+fpkg -m fd -o "gstreamer" -s "src/gst-plugins-ugly" ${GST_PLUGINS_UGLY}
+fpkg -m fd -o "gstreamer" -s "src/gst-ffmpeg" ${GST_FFMPEG}
+fpkg -m gnome ${GNOME_MEDIA}
+fpkg -m gnome ${GNOME_NETSTATUS}
+fpkg -m gnome ${GCALCTOOL}
+fpkg -m gnome ${GUCHARMAP}
+fpkg -m gnome ${ZENITY}
-fpkg_gnome ${GNOME_KEYRING_MANAGER}
-fpkg_gnome ${GNOME_VOLUME_MANAGER}
-fpkg ${LIBMUSICBRAINZ} "http://ftp.musicbrainz.org/pub/musicbrainz"
-fpkg_gnome ${GNOME_SOUND_JUICER}
+fpkg -m gnome ${GNOME_KEYRING_MANAGER}
+fpkg -m gnome ${GNOME_VOLUME_MANAGER}
+fpkg -e "tar.gz" ${LIBMUSICBRAINZ} "http://ftp.musicbrainz.org/pub/musicbrainz"
+fpkg -m gnome ${GNOME_SOUND_JUICER}
-fpkg_gnome ${GNOME_TOTEM}
-fpkg_gnome ${GDM}
-fpkg ${LIBNOTIFY} "http://www.galago-project.org/files/releases/source/libnotify"
-fpkg ${GNOME_MOUNT} "http://people.freedesktop.org/~david/dist"
+fpkg -m gnome ${GNOME_TOTEM}
+fpkg -m gnome ${GDM}
+fpkg ${LIBNOTIFY} \
+ "http://www.galago-project.org/files/releases/source/libnotify"
-fpkg_gnome ${RHYTHMBOX}
+fpkg -m gnome ${RHYTHMBOX}
-fpkg_gnome ${LIBGSF}
-fpkg_gnome ${GOFFICE}
-fpkg_gnome ${GNUMERIC}
-fpkg_sf ${WV}
-fpkg ${ABIWORD} "http://www.abisource.com/downloads/abiword/$(get_pkg_ver ${ABIWORD})/source"
+fpkg -m gnome ${LIBGSF}
+fpkg -m gnome ${GOFFICE}
+fpkg -m gnome ${GNUMERIC}
+fpkg -e "tar.gz" ${WV} "${ABIWORD_URL}/wv/$(get_pkg_ver ${WV})"
+fpkg -e "tar.gz" ${ABIWORD} \
+ "${ABIWORD_URL}/abiword/$(get_pkg_ver ${ABIWORD})/source"
-fpkg_gnome ${EVOLUTION_EXCHANGE}
-fpkg_gnome ${EVOLUTION}
+fpkg -m gnome ${EVOLUTION_EXCHANGE}
+fpkg -m gnome ${EVOLUTION}
exit $?