build: Fix dependencies for debian-based distros
https://bugzilla.gnome.org/show_bug.cgi?id=659770
This commit is contained in:
parent
be1c4f26b5
commit
c52ccc76a3
23
tools/build/gnome-shell-build-setup.sh
Normal file → Executable file
23
tools/build/gnome-shell-build-setup.sh
Normal file → Executable file
@ -62,12 +62,13 @@ fi
|
|||||||
# iso-codes, libical, libxml2, ORBit2, pam, python, readline, upower,
|
# iso-codes, libical, libxml2, ORBit2, pam, python, readline, upower,
|
||||||
# spidermonkey ({mozilla,firefox,xulrunner}-js), startup-notification,
|
# spidermonkey ({mozilla,firefox,xulrunner}-js), startup-notification,
|
||||||
# xdamage, icon-naming-utils, upower, libtool-ltdl, libvorbis,
|
# xdamage, icon-naming-utils, upower, libtool-ltdl, libvorbis,
|
||||||
# libgcrypt, libtasn1, libgnome-keyring, libgtop, cups, xcb, WebKit-gtk
|
# libgcrypt, libtasn1, libgnome-keyring, libgtop, cups, xcb, libwebkitgtk,
|
||||||
# libusb, libproxy, libdb, libproxy, sqlite, gudev, lcms2, sane
|
# libusb, libproxy, libdb, libproxy, sqlite, gudev, liblcms2, sane,
|
||||||
|
# python-gobject, libxtst, liboauth, libnm
|
||||||
#
|
#
|
||||||
# Non-devel packages needed by gnome-shell and its deps:
|
# Non-devel packages needed by gnome-shell and its deps:
|
||||||
# glxinfo, gstreamer-plugins-base, gstreamer-plugins-good,
|
# glxinfo, gstreamer-plugins-base, gstreamer-plugins-good,
|
||||||
# gvfs, python, pygobject, gnome-python (gconf),
|
# gvfs, python, gnome-python (gconf),
|
||||||
# icon-naming-utils, zenity, libtasn1-tools accountsservice
|
# icon-naming-utils, zenity, libtasn1-tools accountsservice
|
||||||
|
|
||||||
if test "x$system" = xUbuntu -o "x$system" = xDebian -o "x$system" = xLinuxMint ; then
|
if test "x$system" = xUbuntu -o "x$system" = xDebian -o "x$system" = xLinuxMint ; then
|
||||||
@ -77,16 +78,24 @@ if test "x$system" = xUbuntu -o "x$system" = xDebian -o "x$system" = xLinuxMint
|
|||||||
gvfs gvfs-backends icon-naming-utils
|
gvfs gvfs-backends icon-naming-utils
|
||||||
libdbus-glib-1-dev libexpat-dev libffi-dev libgnome-menu-dev libgnome-desktop-dev libgtop2-dev
|
libdbus-glib-1-dev libexpat-dev libffi-dev libgnome-menu-dev libgnome-desktop-dev libgtop2-dev
|
||||||
libical-dev libjasper-dev libjpeg-dev libpng-dev libstartup-notification0-dev libtiff-dev
|
libical-dev libjasper-dev libjpeg-dev libpng-dev libstartup-notification0-dev libtiff-dev
|
||||||
libwnck-dev libgl1-mesa-dev liborbit2-dev libpulse-dev libreadline5-dev libxml2-dev
|
libwnck-dev libgl1-mesa-dev liborbit2-dev libpulse-dev libreadline-dev libxml2-dev
|
||||||
mesa-common-dev mesa-utils libpam-dev python-dev python-gconf python-gobject
|
mesa-common-dev mesa-utils libpam-dev python-dev python-gconf python-gobject-dev
|
||||||
xulrunner-dev libcroco3-dev
|
libcroco3-dev
|
||||||
libgstreamer0.10-dev gstreamer0.10-plugins-base gstreamer0.10-plugins-good
|
libgstreamer0.10-dev gstreamer0.10-plugins-base gstreamer0.10-plugins-good
|
||||||
libltdl-dev libvorbis-dev iso-codes libgnome-keyring-dev libusb-1.0-0-dev
|
libltdl-dev libvorbis-dev iso-codes libgnome-keyring-dev libusb-1.0-0-dev
|
||||||
libupower-glib-dev libcups2-dev libproxy-dev libdb-dev libproxy-dev
|
libupower-glib-dev libcups2-dev libproxy-dev libdb-dev libproxy-dev
|
||||||
libsqlite3-dev libgudev-1.0-dev libsane-dev libwebkitgtk-3.0-0
|
libsqlite3-dev libgudev-1.0-dev libsane-dev libwebkitgtk-3.0-dev
|
||||||
libx11-xcb-dev libupower-glib-dev accountsservice
|
libx11-xcb-dev libupower-glib-dev accountsservice
|
||||||
|
gnome-doc-utils liblcms2-dev libxtst-dev liboauth-dev
|
||||||
|
libnm-glib-dev libnm-util-dev
|
||||||
"
|
"
|
||||||
|
|
||||||
|
if apt-cache show libmozjs-dev > /dev/null 2> /dev/null; then
|
||||||
|
reqd="$reqd libmozjs-dev"
|
||||||
|
elif apt-cache show xulrunner-dev > /dev/null 2> /dev/null; then
|
||||||
|
reqd="$reqd xulrunner-dev"
|
||||||
|
fi
|
||||||
|
|
||||||
if apt-cache show libxcb-util0-dev > /dev/null 2> /dev/null; then
|
if apt-cache show libxcb-util0-dev > /dev/null 2> /dev/null; then
|
||||||
reqd="$reqd libxcb-util0-dev"
|
reqd="$reqd libxcb-util0-dev"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user