diff options
author | Carlos Soriano <csoriano@gnome.org> | 2015-01-27 14:20:25 +0100 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2015-01-28 10:59:54 +0100 |
commit | d9474827337c4bee1542f7d70d3c4a614c2cab5c (patch) | |
tree | 7618a458daa3846fb5a3be2916654bc894e953a2 | |
parent | 6a95c7b5bf2e2e98e10a78c87af04621611073e7 (diff) | |
download | nautilus-d9474827337c4bee1542f7d70d3c4a614c2cab5c.tar.gz |
general: Add libgd as a submodule
We will use it for in app notifications.
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | Makefile.am | 3 | ||||
-rwxr-xr-x | autogen.sh | 2 | ||||
-rw-r--r-- | configure.ac | 6 | ||||
m--------- | libgd | 0 | ||||
-rw-r--r-- | src/Makefile.am | 2 |
6 files changed, 15 insertions, 1 deletions
diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 000000000..bfd964e3a --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "libgd"] + path = libgd + url = git://git.gnome.org/libgd diff --git a/Makefile.am b/Makefile.am index bad8ee206..afeafc922 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,6 +4,7 @@ DIRS = \ eel \ libnautilus-extension \ libnautilus-private \ + libgd \ src \ test \ po \ @@ -56,6 +57,6 @@ MAINTAINERCLEANFILES = \ DISTCHECK_CONFIGURE_FLAGS = --disable-update-mimedb --enable-gtk-doc -ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} +ACLOCAL_AMFLAGS = -I m4 -I libgd ${ACLOCAL_FLAGS} -include $(top_srcdir)/git.mk diff --git a/autogen.sh b/autogen.sh index de919b72a..795422cf9 100755 --- a/autogen.sh +++ b/autogen.sh @@ -14,6 +14,8 @@ PKG_NAME="nautilus" exit 1 } +git submodule update --init --recursive + which gnome-autogen.sh || { echo "gnome-autogen.sh not found, you need to install gnome-common" exit 1 diff --git a/configure.ac b/configure.ac index 4d2912732..fca843c14 100644 --- a/configure.ac +++ b/configure.ac @@ -308,6 +308,11 @@ AC_ARG_ENABLE(update-mimedb, enable_update_mimedb=yes) AM_CONDITIONAL(ENABLE_UPDATE_MIMEDB, test x$enable_update_mimedb = xyes) +LIBGD_INIT([ + notification + static +]) + AC_CONFIG_FILES([ Makefile data/Makefile @@ -324,6 +329,7 @@ libnautilus-private/Makefile libnautilus-extension/Makefile libnautilus-extension/libnautilus-extension.pc libnautilus-extension/libnautilus-extension-uninstalled.pc +libgd/Makefile po/Makefile.in src/Makefile nautilus-sendto-extension/Makefile diff --git a/libgd b/libgd new file mode 160000 +Subproject 04b2480259769709ec34d7ee48294878c94bbbb diff --git a/src/Makefile.am b/src/Makefile.am index d3c88dd73..d797d2389 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -13,6 +13,7 @@ libexec_PROGRAMS= \ AM_CPPFLAGS = \ -I$(top_srcdir) \ -I$(top_builddir)/libnautilus-private \ + -I$(top_srcdir)/libgd \ $(BASE_CFLAGS) \ $(COMMON_CFLAGS) \ $(NAUTILUS_CFLAGS) \ @@ -30,6 +31,7 @@ AM_CPPFLAGS = \ LDADD =\ $(top_builddir)/libnautilus-private/libnautilus-private.la \ + $(top_builddir)/libgd/libgd.la \ $(BASE_LIBS) \ $(COMMON_LIBS) \ $(NAUTILUS_LIBS) \ |