[baobab] Use egg-list-box as a submodule



commit 7bdf78d7d65af8f5420f39c17296979035d05f84
Author: Paolo Borelli <pborelli gnome org>
Date:   Thu Feb 21 21:56:19 2013 +0100

    Use egg-list-box as a submodule

 .gitmodules         |    5 +-
 autogen.sh          |    2 +
 egg-list-box        |    1 +
 src/Makefile.am     |   23 +-
 src/egg-list-box.c  | 1965 ---------------------------------------------------
 src/egg-list-box.h  |   78 --
 src/egglistbox.vapi |   55 --
 7 files changed, 21 insertions(+), 2108 deletions(-)
---
diff --git a/.gitmodules b/.gitmodules
index bfd964e..0ec7a39 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,6 @@
 [submodule "libgd"]
        path = libgd
-       url = git://git.gnome.org/libgd
+       url = ../libgd
+[submodule "egg-list-box"]
+       path = egg-list-box
+       url = ../egg-list-box
diff --git a/autogen.sh b/autogen.sh
index d4a5cf0..4bcbe46 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -26,6 +26,8 @@ if test -z $GNOMEDOC; then
     exit 1
 fi
 
+git submodule update --init --recursive
+
 autopoint --force || exit $?
 AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose
 
diff --git a/egg-list-box b/egg-list-box
new file mode 160000
index 0000000..c0394d8
--- /dev/null
+++ b/egg-list-box
@@ -0,0 +1 @@
+Subproject commit c0394d8e263ffbb2becdb574e80116c378cac223
diff --git a/src/Makefile.am b/src/Makefile.am
index bbd6930..afa86f9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -10,17 +10,17 @@ bin_PROGRAMS = baobab
 BUILT_SOURCES = baobab-resources.c
 
 baobab_VALAFLAGS = \
-       --vapidir=$(top_builddir)/libgd \
-       --pkg gtk+-3.0          \
-       --pkg gio-2.0           \
-       --pkg gio-unix-2.0      \
+       --vapidir=$(top_builddir)/egg-list-box  \
+       --vapidir=$(top_builddir)/libgd         \
+       --pkg gtk+-3.0                          \
+       --pkg gio-2.0                           \
+       --pkg gio-unix-2.0                      \
        --pkg gd-1.0
 
 noinst_HEADERS = \
        baobab-chart.h                  \
        baobab-treemap.h                \
-       baobab-ringschart.h             \
-       egg-list-box.h
+       baobab-ringschart.h
 
 VALA_SOURCES = \
        baobab-application.vala         \
@@ -34,16 +34,20 @@ VALA_SOURCES = \
        main.vala                       \
        $(NULL)
 
+egg_list_box_sources = \
+       $(top_builddir)/egg-list-box/egglistbox.vapi    \
+       $(top_builddir)/egg-list-box/egg-list-box.c     \
+       $(top_builddir)/egg-list-box/egg-list-box-accessible.c
+
 baobab_SOURCES = \
-       $(VALA_SOURCES)         \
+       $(VALA_SOURCES)                 \
        fixes.vapi                      \
        baobab.vapi                     \
        config.vapi                     \
-       egglistbox.vapi                 \
        baobab-chart.c                  \
        baobab-treemap.c                \
        baobab-ringschart.c             \
-       egg-list-box.c                  \
+       $(egg_list_box_sources)         \
        $(BUILT_SOURCES)
 
 baobab-resources.c: baobab.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies 
--sourcedir=$(srcdir) $(srcdir)/baobab.gresource.xml)
@@ -51,6 +55,7 @@ baobab-resources.c: baobab.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --gen
 
 AM_CFLAGS = \
        $(BAOBAB_CFLAGS)                \
+       -I$(top_srcdir)/egg-list-box    \
        -I$(top_srcdir)/libgd           \
        -Wall                           \
        -Wno-unused-but-set-variable    \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]