aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoël Krähemann <jkraehemann@gmail.com>2018-11-15 18:40:21 +0100
committerJoël Krähemann <jkraehemann@gmail.com>2018-11-15 18:40:21 +0100
commitfc00651e42836a16d0143aa4a79b5aff91ba7c22 (patch)
tree53fcaf452010f43f4465ae010174343421a2e575
parent2eb31fca1aa78660a986ef8abcd913f5c345f2fe (diff)
downloadgsequencer-fc00651e42836a16d0143aa4a79b5aff91ba7c22.tar.gz
added m4/ags-symbols.m4
-rw-r--r--Makefile.am7
-rw-r--r--Makefile.in62
-rwxr-xr-xconfigure30
-rw-r--r--configure.ac7
-rw-r--r--docs/reference/libags-audio/Makefile.in2
-rw-r--r--docs/reference/libags-gui/Makefile.in2
-rw-r--r--docs/reference/libags/Makefile.in2
-rw-r--r--docs/reference/libgsequencer/Makefile.in2
-rw-r--r--m4/Makefile.in2
-rw-r--r--m4/ags-symbols.m410
10 files changed, 87 insertions, 39 deletions
diff --git a/Makefile.am b/Makefile.am
index 948897a..73911e5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -109,7 +109,12 @@ man1_MANS = gsequencer.1 midi2xml.1
CLEANFILES = \
functional-system-tests.mk \
- m4/Makefile
+ m4/Makefile \
+ libags.sym \
+ libags_thread.sym \
+ libags_server.sym \
+ libags_audio.sym \
+ libags_gui.sym
# pkg-config
pkgconfigdir = $(libdir)/pkgconfig
diff --git a/Makefile.in b/Makefile.in
index 4141865..78f4c09 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -292,7 +292,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
$(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
- $(top_srcdir)/configure.ac
+ $(top_srcdir)/m4/ags-symbols.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
@@ -5165,9 +5165,9 @@ am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/libags.pc.in \
$(top_srcdir)/ags/ags_config.h.in \
$(top_srcdir)/ags/config.h.in \
$(top_srcdir)/functional-tests.mk $(top_srcdir)/unit-tests.mk \
- AUTHORS COPYING ChangeLog INSTALL NEWS README TODO compile \
- config.guess config.rpath config.sub depcomp install-sh \
- ltmain.sh missing mkinstalldirs test-driver
+ ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
+ compile config.guess config.rpath config.sub depcomp \
+ install-sh ltmain.sh missing mkinstalldirs test-driver
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
@@ -5523,8 +5523,9 @@ EXTRA_DIST = config.rpath COPYING.server COPYING.docs COPYING.stk-4.3 \
man1_MANS = gsequencer.1 midi2xml.1
# clean
-CLEANFILES = functional-system-tests.mk m4/Makefile $(appdata_DATA) \
- $(pkgconfig_DATA)
+CLEANFILES = functional-system-tests.mk m4/Makefile libags.sym \
+ libags_thread.sym libags_server.sym libags_audio.sym \
+ libags_gui.sym $(appdata_DATA) $(pkgconfig_DATA)
# pkg-config
pkgconfigdir = $(libdir)/pkgconfig
@@ -22590,36 +22591,41 @@ clean-local:
rm -f docs/reference/libgsequencer/libgsequencer.signals
gen-symbols-ags:
- rm -f libags.sym
- touch libags.sym
- find ags/util -name "*.h" | xargs grep --no-filename -o -P "(?<=\s)(ags_[a-z0-9_]+)(?=[\s]*\()" >> libags.sym
- find ags/lib -name "*.h" | xargs grep --no-filename -o -P "(?<=\s)(ags_[a-z0-9_]+)(?=[\s]*\()" >> libags.sym
- echo "ags_application_context" >> libags.sym
- find ags/object -name "*.h" | xargs grep --no-filename -o -P "(?<=\s)(ags_[a-z0-9_]+)(?=[\s]*\()" >> libags.sym
- find ags/object -name "ags_marshal.h" | xargs grep --no-filename -o -P "(ags_cclosure_marshal_[a-zA-Z0-9_]+)" >> libags.sym
- find ags/file -name "*.h" | xargs grep --no-filename -o -P "(?<=\s)(ags_[a-z0-9_]+)(?=[\s]*\()" >> libags.sym
+ rm -f libags.sym.in
+ touch libags.sym.in
+ cat license-notice-gnu-gpl-3-0+-c.sym >> libags.sym.in
+ find ags/util -name "*.h" | xargs grep --no-filename -o -P "(?<=\s)(ags_[a-z0-9_]+)(?=[\s]*\()" >> libags.sym.in
+ find ags/lib -name "*.h" | xargs grep --no-filename -o -P "(?<=\s)(ags_[a-z0-9_]+)(?=[\s]*\()" >> libags.sym.in
+ echo "ags_application_context" >> libags.sym.in
+ find ags/object -name "*.h" | xargs grep --no-filename -o -P "(?<=\s)(ags_[a-z0-9_]+)(?=[\s]*\()" >> libags.sym.in
+ find ags/object -name "ags_marshal.h" | xargs grep --no-filename -o -P "(ags_cclosure_marshal_[a-zA-Z0-9_]+)" >> libags.sym.in
+ find ags/file -name "*.h" | xargs grep --no-filename -o -P "(?<=\s)(ags_[a-z0-9_]+)(?=[\s]*\()" >> libags.sym.in
gen-symbols-ags-thread:
- rm -f libags_thread.sym
- touch libags_thread.sym
- find ags/thread -name "*.h" | xargs grep --no-filename -o -P "(?<=\s)(ags_[a-z0-9_]+)(?=[\s]*\()" >> libags_thread.sym
+ rm -f libags_thread.sym.in
+ touch libags_thread.sym.in
+ cat license-notice-gnu-gpl-3-0+-c.sym >> libags_thread.sym.in
+ find ags/thread -name "*.h" | xargs grep --no-filename -o -P "(?<=\s)(ags_[a-z0-9_]+)(?=[\s]*\()" >> libags_thread.sym.in
gen-symbols-ags-server:
- rm -f libags_server.sym
- touch libags_server.sym
- find ags/server -name "*.h" | xargs grep --no-filename -o -P "(?<=\s)(ags_[a-z0-9_]+)(?=[\s]*\()" >> libags_server.sym
+ rm -f libags_server.sym.in
+ touch libags_server.sym.in
+ cat license-notice-gnu-gpl-3-0+-c.sym >> libags_server.sym.in
+ find ags/server -name "*.h" | xargs grep --no-filename -o -P "(?<=\s)(ags_[a-z0-9_]+)(?=[\s]*\()" >> libags_server.sym.in
gen-symbols-ags-audio:
- rm -f libags_audio.sym
- touch libags_audio.sym
- find ags/plugin -name "*.h" | xargs grep --no-filename -o -P "(?<=\s)(ags_[a-z0-9_]+)(?=[\s]*\()" >> libags_audio.sym
- find ags/audio -name "*.h" | xargs grep --no-filename -o -P "(?<=\s)(ags_[a-z0-9_]+)(?=[\s]*\()" >> libags_audio.sym
+ rm -f libags_audio.sym.in
+ touch libags_audio.sym.in
+ cat license-notice-gnu-gpl-3-0+-c.sym >> libags_audio.sym.in
+ find ags/plugin -name "*.h" | xargs grep --no-filename -o -P "(?<=\s)(ags_[a-z0-9_]+)(?=[\s]*\()" >> libags_audio.sym.in
+ find ags/audio -name "*.h" | xargs grep --no-filename -o -P "(?<=\s)(ags_[a-z0-9_]+)(?=[\s]*\()" >> libags_audio.sym.in
gen-symbols-ags-gui:
- rm -f libags_gui.sym
- touch libags_gui.sym
- find ags/widget -name "*.h" | xargs grep --no-filename -o -P "(?<=\s)(ags_[a-z0-9_]+)(?=[\s]*\()" >> libags_gui.sym
- find ags/widget -name "ags_widget_marshal.h" | xargs grep --no-filename -o -P "(ags_widget_cclosure_marshal_[a-zA-Z0-9_]+)" >> libags_gui.sym
+ rm -f libags_gui.sym.in
+ touch libags_gui.sym.in
+ cat license-notice-gnu-gpl-3-0+-c.sym >> libags_gui.sym.in
+ find ags/widget -name "*.h" | xargs grep --no-filename -o -P "(?<=\s)(ags_[a-z0-9_]+)(?=[\s]*\()" >> libags_gui.sym.in
+ find ags/widget -name "ags_widget_marshal.h" | xargs grep --no-filename -o -P "(ags_widget_cclosure_marshal_[a-zA-Z0-9_]+)" >> libags_gui.sym.in
gen-symbols-all: gen-symbols-ags gen-symbols-ags-thread gen-symbols-ags-server gen-symbols-ags-audio gen-symbols-ags-gui
echo "Generated all symbols"
diff --git a/configure b/configure
index 943aafe..0ffe2b5 100755
--- a/configure
+++ b/configure
@@ -3194,6 +3194,30 @@ ac_config_headers="$ac_config_headers ags/config.h"
ac_config_headers="$ac_config_headers ags/ags_config.h"
+# GSequencer - Advanced GTK Sequencer
+# Copyright (C) 2018 Joël Krähemann
+#
+# This file is part of GSequencer.
+#
+# GSequencer is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# GSequencer is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GSequencer. If not, see <http://www.gnu.org/licenses/>.
+
+
+
+
+
+
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
@@ -19141,6 +19165,12 @@ fi
+
+
+
+
+
+
ac_config_files="$ac_config_files Makefile docs/reference/libags/Makefile docs/reference/libags-audio/Makefile docs/reference/libags-gui/Makefile docs/reference/libgsequencer/Makefile m4/Makefile po/Makefile.in libags.pc libags_audio.pc libags_gui.pc libgsequencer.pc"
diff --git a/configure.ac b/configure.ac
index 8464063..3246798 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,6 +14,7 @@ AC_CONFIG_SRCDIR([ags/config.h.in])
AC_CONFIG_HEADERS([ags/config.h])
AC_CONFIG_HEADERS([ags/ags_config.h])
AC_CONFIG_MACRO_DIR([m4])
+m4_include([m4/ags-symbols.m4])
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.19.7])
@@ -299,6 +300,12 @@ GTK_DOC_CHECK([1.14],[--flavour no-tmpl])
AM_CONDITIONAL([ENABLE_GTK_DOC], false)
])
+LIBAGS_SYMBOLS()
+LIBAGS_THREAD_SYMBOLS()
+LIBAGS_SERVER_SYMBOLS()
+LIBAGS_AUDIO_SYMBOLS()
+LIBAGS_GUI_SYMBOLS()
+
AM_EXTRA_RECURSIVE_TARGETS([ags-docs])
AC_CONFIG_FILES([
Makefile
diff --git a/docs/reference/libags-audio/Makefile.in b/docs/reference/libags-audio/Makefile.in
index f0d1a44..0adc45d 100644
--- a/docs/reference/libags-audio/Makefile.in
+++ b/docs/reference/libags-audio/Makefile.in
@@ -108,7 +108,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
$(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
- $(top_srcdir)/configure.ac
+ $(top_srcdir)/m4/ags-symbols.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
diff --git a/docs/reference/libags-gui/Makefile.in b/docs/reference/libags-gui/Makefile.in
index 04ed49e..32c4229 100644
--- a/docs/reference/libags-gui/Makefile.in
+++ b/docs/reference/libags-gui/Makefile.in
@@ -108,7 +108,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
$(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
- $(top_srcdir)/configure.ac
+ $(top_srcdir)/m4/ags-symbols.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
diff --git a/docs/reference/libags/Makefile.in b/docs/reference/libags/Makefile.in
index b667daa..3b24638 100644
--- a/docs/reference/libags/Makefile.in
+++ b/docs/reference/libags/Makefile.in
@@ -108,7 +108,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
$(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
- $(top_srcdir)/configure.ac
+ $(top_srcdir)/m4/ags-symbols.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
diff --git a/docs/reference/libgsequencer/Makefile.in b/docs/reference/libgsequencer/Makefile.in
index f8a5315..331bb8d 100644
--- a/docs/reference/libgsequencer/Makefile.in
+++ b/docs/reference/libgsequencer/Makefile.in
@@ -108,7 +108,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
$(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
- $(top_srcdir)/configure.ac
+ $(top_srcdir)/m4/ags-symbols.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
diff --git a/m4/Makefile.in b/m4/Makefile.in
index b95d55a..8866cd6 100644
--- a/m4/Makefile.in
+++ b/m4/Makefile.in
@@ -97,7 +97,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
$(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
- $(top_srcdir)/configure.ac
+ $(top_srcdir)/m4/ags-symbols.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
diff --git a/m4/ags-symbols.m4 b/m4/ags-symbols.m4
index 30f06ae..1989eba 100644
--- a/m4/ags-symbols.m4
+++ b/m4/ags-symbols.m4
@@ -16,8 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with GSequencer. If not, see <http://www.gnu.org/licenses/>.
-syscmd(`tail -n +17 libags.sym.in > libags.sym')
-syscmd(`tail -n +17 libags_thread.sym.in > libags_thread.sym')
-syscmd(`tail -n +17 libags_server.sym.in > libags_server.sym')
-syscmd(`tail -n +17 libags_audio.sym.in > libags_audio.sym')
-syscmd(`tail -n +17 libags_gui.sym.in > libags_gui.sym')
+define(LIBAGS_SYMBOLS, syscmd(tail -n +17 libags.sym.in > libags.sym))
+define(LIBAGS_THREAD_SYMBOLS, syscmd(tail -n +17 libags_thread.sym.in > libags_thread.sym))
+define(LIBAGS_SERVER_SYMBOLS, syscmd(tail -n +17 libags_server.sym.in > libags_server.sym))
+define(LIBAGS_AUDIO_SYMBOLS, syscmd(tail -n +17 libags_audio.sym.in > libags_audio.sym))
+define(LIBAGS_GUI_SYMBOLS, syscmd(tail -n +17 libags_gui.sym.in > libags_gui.sym))