[gnome-weather/wip/egg-flow-box: 3/4] Add egg-list-box



commit 987f055c98dc6a18b4e9c44a14d4db05a331485d
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Wed Mar 20 18:26:48 2013 +0100

    Add egg-list-box
    
    For the main view we want to use a flow box, which is provided by EggListBox
    until merged into Gtk.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=695735

 .gitmodules  |    3 +++
 Makefile.am  |    4 ++--
 autogen.sh   |    2 +-
 configure.ac |    2 ++
 egg-list-box |    1 +
 src/main.js  |    1 +
 6 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/.gitmodules b/.gitmodules
index bfd964e..ee3430a 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,6 @@
 [submodule "libgd"]
        path = libgd
        url = git://git.gnome.org/libgd
+[submodule "egg-list-box"]
+       path = egg-list-box
+       url = git://git.gnome.org/egg-list-box
diff --git a/Makefile.am b/Makefile.am
index 1206837..a65d274 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
-ACLOCAL_AMFLAGS = -I m4 -I libgd
+ACLOCAL_AMFLAGS = -I m4 -I libgd -I egg-list-box
 
-SUBDIRS = po data libgd src
+SUBDIRS = po data egg-list-box libgd src
 
 MAINTAINERCLEANFILES = \
        $(srcdir)/INSTALL \
diff --git a/autogen.sh b/autogen.sh
index ea09943..10f02f4 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -4,7 +4,7 @@
 srcdir=`dirname $0`
 test -z "$srcdir" && srcdir=.
 
-ACLOCAL_FLAGS="-I libgd ${ACLOCAL_FLAGS}"
+ACLOCAL_FLAGS="-I libgd -I egg-list-box ${ACLOCAL_FLAGS}"
 PKG_NAME="gnome-weather"
 
 test -f $srcdir/configure.ac || {
diff --git a/configure.ac b/configure.ac
index 4a0e1dd..e199bae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,6 +22,7 @@ AM_PROG_CC_C_O
 LT_INIT([disable-static])
 
 LIBGD_INIT([main-view gir])
+EGG_LIST_BOX_INIT([gir])
 
 PKG_PROG_PKG_CONFIG([0.22])
 
@@ -37,6 +38,7 @@ AC_CONFIG_FILES([
   Makefile
   data/Makefile
   data/icons/Makefile
+  egg-list-box/Makefile
   libgd/Makefile
   src/Makefile
   po/Makefile.in
diff --git a/egg-list-box b/egg-list-box
new file mode 160000
index 0000000..575e4e6
--- /dev/null
+++ b/egg-list-box
@@ -0,0 +1 @@
+Subproject commit 575e4e6735f804cf3e11b31b23f3d075e2268b16
diff --git a/src/main.js b/src/main.js
index 6695f58..fdc89f6 100644
--- a/src/main.js
+++ b/src/main.js
@@ -16,6 +16,7 @@
 // with Gnome Weather; if not, write to the Free Software Foundation,
 // Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
+pkg.initSubmodule('egg-list-box');
 pkg.initSubmodule('libgd');
 pkg.initGettext();
 pkg.initFormat();


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