Commit 5996ace8 authored by Bastien Nocera's avatar Bastien Nocera

build: Add libgd submodule

parent 082cd72d
......@@ -5,3 +5,7 @@
[submodule "panels/sound/gvc"]
path = panels/sound/gvc
url = git://git.gnome.org/libgnome-volume-control
[submodule "libgd"]
path = libgd
url = git://git.gnome.org/libgd
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
ACLOCAL_AMFLAGS = -I m4 -I libgd ${ACLOCAL_FLAGS}
SUBDIRS = po egg-list-box panels shell
SUBDIRS = libgd po egg-list-box panels shell
if BUILD_DOCUMENTATION
SUBDIRS += man
endif
DIST_SUBDIRS = egg-list-box po panels shell man
DIST_SUBDIRS = libgd egg-list-box po panels shell man
MAINTAINERCLEANFILES = \
$(srcdir)/INSTALL \
......
......@@ -5,6 +5,7 @@ srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME="control-center"
ACLOCAL_FLAGS="-I libgd $ACLOCAL_FLAGS"
(test -f $srcdir/configure.ac \
&& test -f $srcdir/autogen.sh \
......@@ -19,12 +20,8 @@ DIE=0
rm -f .using-gnome-libs-package
# Fetch submodules if needed
if test ! -f egg-list-box/COPYING;
then
echo "+ Setting up submodules"
git submodule init
fi
git submodule update
echo "+ Setting up submodules"
git submodule update --init --recursive
cd egg-list-box
sh autogen.sh --no-configure
......
......@@ -117,6 +117,8 @@ COMMON_MODULES="gtk+-3.0 >= $GTK_REQUIRED_VERSION
gsettings-desktop-schemas >= $SCHEMAS_REQUIRED_VERSION
libnotify >= $LIBNOTIFY_REQUIRED_VERSION"
LIBGD_INIT([_view-common])
PKG_CHECK_MODULES(LIBLANGUAGE, $COMMON_MODULES gnome-desktop-3.0 fontconfig)
PKG_CHECK_MODULES(LIBSHORTCUTS, $COMMON_MODULES x11)
# egg-list-box is a static library, so it must be shared among all panels
......@@ -502,6 +504,7 @@ panels/wacom/Makefile
panels/wacom/calibrator/Makefile
panels/wacom/gnome-wacom-panel.desktop.in
po/Makefile.in
libgd/Makefile
shell/Makefile
shell/gnome-control-center.desktop.in
man/Makefile
......
libgd @ 680a9f72
Subproject commit 680a9f72a0c3019cf4013ed026270ee7b9f1abc9
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment