gnome-shell-build-setup.sh: install libdb on Fedora 18.
For F18, db4-devel doesn't install the main -ldb and db.h any more, so we need the libdb-devel package and Berkeley DB 5.
This commit is contained in:
parent
aa1a84e677
commit
1e890a8a0a
@ -98,7 +98,7 @@ xcb: f:xcb-util-devel d:libx11-xcb-dev # startup-notification
|
|||||||
# Other libraries
|
# Other libraries
|
||||||
cracklib: fs:cracklib-devel d:libcrack2-dev # libpwquality
|
cracklib: fs:cracklib-devel d:libcrack2-dev # libpwquality
|
||||||
cups: fs:cups-devel d:libcups2-dev # gnome-control-center
|
cups: fs:cups-devel d:libcups2-dev # gnome-control-center
|
||||||
db4: f:db4-devel d:libdb-dev # evolution-data-server
|
libdb: d:libdb-dev # evolution-data-server - see below for Fedora
|
||||||
icu: f:libicu-devel d:libicu-dev # WebKit
|
icu: f:libicu-devel d:libicu-dev # WebKit
|
||||||
libacl: f:libacl-devel d:libacl1-dev # gudev
|
libacl: f:libacl-devel d:libacl1-dev # gudev
|
||||||
libcurl: f:libcurl-devel # liboauth. See below for Debian
|
libcurl: f:libcurl-devel # liboauth. See below for Debian
|
||||||
@ -212,6 +212,14 @@ if test "x$system" = xFedora ; then
|
|||||||
reqd="$reqd gettext-devel"
|
reqd="$reqd gettext-devel"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# For evolution-data-server:
|
||||||
|
# /usr/include/db.h moved packages in Fedora 18
|
||||||
|
if expr $version \>= 18 > /dev/null ; then
|
||||||
|
reqd="$reqd libdb-devel"
|
||||||
|
else
|
||||||
|
reqd="$reqd db4-devel"
|
||||||
|
fi
|
||||||
|
|
||||||
echo -n "Computing packages to install ... "
|
echo -n "Computing packages to install ... "
|
||||||
for pkg in $reqd ; do
|
for pkg in $reqd ; do
|
||||||
if ! rpm -q --whatprovides $pkg > /dev/null 2>&1; then
|
if ! rpm -q --whatprovides $pkg > /dev/null 2>&1; then
|
||||||
|
Loading…
Reference in New Issue
Block a user