Package list xapp / 878756c
New upstream version 1.2.0 Fabio Fantoni 3 years ago
55 changed file(s) with 1597 addition(s) and 10330 deletion(s). Raw diff Collapse all Expand all
0 version: 2.0
1
2 shared: &shared
3
4 steps:
5
6 - checkout
7
8 - run:
9 name: Prepare environment
10 command: apt-get update
11
12 - run:
13 name: Build project
14 command: mint-build -i
15
16 - run:
17 name: Prepare packages
18 command: |
19 if [ -z $CI_PULL_REQUEST ]; then
20 mkdir /packages
21 mv /root/*.deb /packages/
22 git log > /packages/git.log
23 cd /
24 tar zcvf packages.tar.gz packages
25 fi
26
27 - run:
28 name: Deploy packages to Github
29 command: |
30 if [ -z $CI_PULL_REQUEST ]; then
31 wget https://github.com/tcnksm/ghr/releases/download/v0.5.4/ghr_v0.5.4_linux_amd64.zip
32 apt-get install --yes unzip
33 unzip ghr_v0.5.4_linux_amd64.zip
34 TAG="master".$CIRCLE_JOB
35 ./ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME -replace $TAG /packages.tar.gz
36 ./ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME -recreate -b "Latest unstable packages" $TAG /packages.tar.gz
37 fi
38
39 jobs:
40 "mint18":
41 <<: *shared
42 docker:
43 - image: linuxmintd/mint18-amd64
44
45 "mint19":
46 <<: *shared
47 docker:
48 - image: linuxmintd/mint19-amd64
49
50 "lmde3":
51 <<: *shared
52 docker:
53 - image: linuxmintd/lmde3-amd64
54
55 workflows:
56 version: 2
57 build:
58 jobs:
59 - "mint18"
60 - "mint19"
61 - "lmde3"
+0
-41
Makefile.am less more
0 SUBDIRS = libxapp po schemas files docs
1 if ENABLE_PYTHON
2 SUBDIRS += pygobject
3 endif
4
5 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
6
7 DISTCHECK_CONFIGURE_FLAGS = --enable-introspection
8
9 @INTLTOOL_XML_RULE@
10
11 MAINTAINERCLEANFILES = \
12 $(srcdir)/aclocal.m4 \
13 $(srcdir)/config.guess \
14 $(srcdir)/config.h.in \
15 $(srcdir)/config.sub \
16 $(srcdir)/depcomp \
17 $(srcdir)/install-sh \
18 $(srcdir)/ltmain.sh \
19 $(srcdir)/missing \
20 $(srcdir)/mkinstalldirs \
21 `find "$(srcdir)" -type f -name Makefile.in -print` \
22 $(srcdir)/configure \
23 $(srcdir)/m4/gnome-doc-utils.m4 \
24 $(srcdir)/m4/gtk-doc.m4 \
25 $(srcdir)/m4/intltool.m4
26
27 dist-hook:
28 $(AM_V_GEN)if test -d "$(srcdir)/.git"; then \
29 ( echo '# Generated by Makefile. Do not edit.'; echo; \
30 GIT_DIR="$(top_srcdir)/.git" ./missing --run \
31 git log $(CHANGELOG_GIT_RANGE) --no-color -M -C --name-status ) \
32 > ChangeLog.tmp \
33 && mv -f ChangeLog.tmp $(distdir)/ChangeLog \
34 || ( rm -f ChangeLog.tmp ; echo Failed to generate ChangeLog >&2 ); \
35 else \
36 echo A git checkout is required to generate ChangeLog >&2; \
37 fi
38
39 GITIGNOREFILES = $(PACKAGE)-\*.tar.{gz,bz2,xz}
40 -include $(top_srcdir)/git.mk
+0
-0
README less more
(Empty file)
+0
-164
acinclude.m4 less more
0 # Configure paths for ESD
1 # Manish Singh 98-9-30
2 # stolen back from Frank Belew
3 # stolen from Manish Singh
4 # Shamelessly stolen from Owen Taylor
5
6 dnl AM_PATH_ESD([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
7 dnl Test for ESD, and define ESD_CFLAGS and ESD_LIBS
8 dnl
9 AC_DEFUN([AM_PATH_ESD],
10 [dnl
11 dnl Get the cflags and libraries from the esd-config script
12 dnl
13 AC_ARG_WITH(esd-prefix,[ --with-esd-prefix=PFX Prefix where ESD is installed (optional)],
14 esd_prefix="$withval", esd_prefix="")
15 AC_ARG_WITH(esd-exec-prefix,[ --with-esd-exec-prefix=PFX Exec prefix where ESD is installed (optional)],
16 esd_exec_prefix="$withval", esd_exec_prefix="")
17 AC_ARG_ENABLE(esdtest, [ --disable-esdtest Do not try to compile and run a test ESD program],
18 , enable_esdtest=yes)
19
20 if test x$esd_exec_prefix != x ; then
21 esd_args="$esd_args --exec-prefix=$esd_exec_prefix"
22 if test x${ESD_CONFIG+set} != xset ; then
23 ESD_CONFIG=$esd_exec_prefix/bin/esd-config
24 fi
25 fi
26 if test x$esd_prefix != x ; then
27 esd_args="$esd_args --prefix=$esd_prefix"
28 if test x${ESD_CONFIG+set} != xset ; then
29 ESD_CONFIG=$esd_prefix/bin/esd-config
30 fi
31 fi
32
33 AC_PATH_PROG(ESD_CONFIG, esd-config, no)
34 min_esd_version=ifelse([$1], ,0.2.5,$1)
35 AC_MSG_CHECKING(for ESD - version >= $min_esd_version)
36 no_esd=""
37 if test "$ESD_CONFIG" = "no" ; then
38 no_esd=yes
39 else
40 ESD_CFLAGS=`$ESD_CONFIG $esdconf_args --cflags`
41 ESD_LIBS=`$ESD_CONFIG $esdconf_args --libs`
42
43 esd_major_version=`$ESD_CONFIG $esd_args --version | \
44 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
45 esd_minor_version=`$ESD_CONFIG $esd_args --version | \
46 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
47 esd_micro_version=`$ESD_CONFIG $esd_config_args --version | \
48 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
49 if test "x$enable_esdtest" = "xyes" ; then
50 ac_save_CFLAGS="$CFLAGS"
51 ac_save_LIBS="$LIBS"
52 CFLAGS="$CFLAGS $ESD_CFLAGS"
53 LIBS="$LIBS $ESD_LIBS"
54 dnl
55 dnl Now check if the installed ESD is sufficiently new. (Also sanity
56 dnl checks the results of esd-config to some extent
57 dnl
58 rm -f conf.esdtest
59 AC_TRY_RUN([
60 #include <stdio.h>
61 #include <stdlib.h>
62 #include <string.h>
63 #include <esd.h>
64
65 char*
66 my_strdup (char *str)
67 {
68 char *new_str;
69
70 if (str)
71 {
72 new_str = malloc ((strlen (str) + 1) * sizeof(char));
73 strcpy (new_str, str);
74 }
75 else
76 new_str = NULL;
77
78 return new_str;
79 }
80
81 int main ()
82 {
83 int major, minor, micro;
84 char *tmp_version;
85
86 system ("touch conf.esdtest");
87
88 /* HP/UX 9 (%@#!) writes to sscanf strings */
89 tmp_version = my_strdup("$min_esd_version");
90 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
91 printf("%s, bad version string\n", "$min_esd_version");
92 exit(1);
93 }
94
95 if (($esd_major_version > major) ||
96 (($esd_major_version == major) && ($esd_minor_version > minor)) ||
97 (($esd_major_version == major) && ($esd_minor_version == minor) && ($esd_micro_version >= micro)))
98 {
99 return 0;
100 }
101 else
102 {
103 printf("\n*** 'esd-config --version' returned %d.%d.%d, but the minimum version\n", $esd_major_version, $esd_minor_version, $esd_micro_version);
104 printf("*** of ESD required is %d.%d.%d. If esd-config is correct, then it is\n", major, minor, micro);
105 printf("*** best to upgrade to the required version.\n");
106 printf("*** If esd-config was wrong, set the environment variable ESD_CONFIG\n");
107 printf("*** to point to the correct copy of esd-config, and remove the file\n");
108 printf("*** config.cache before re-running configure\n");
109 return 1;
110 }
111 }
112
113 ],, no_esd=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
114 CFLAGS="$ac_save_CFLAGS"
115 LIBS="$ac_save_LIBS"
116 fi
117 fi
118 if test "x$no_esd" = x ; then
119 AC_MSG_RESULT(yes)
120 ifelse([$2], , :, [$2])
121 else
122 AC_MSG_RESULT(no)
123 if test "$ESD_CONFIG" = "no" ; then
124 echo "*** The esd-config script installed by ESD could not be found"
125 echo "*** If ESD was installed in PREFIX, make sure PREFIX/bin is in"
126 echo "*** your path, or set the ESD_CONFIG environment variable to the"
127 echo "*** full path to esd-config."
128 else
129 if test -f conf.esdtest ; then
130 :
131 else
132 echo "*** Could not run ESD test program, checking why..."
133 CFLAGS="$CFLAGS $ESD_CFLAGS"
134 LIBS="$LIBS $ESD_LIBS"
135 AC_TRY_LINK([
136 #include <stdio.h>
137 #include <esd.h>
138 ], [ return 0; ],
139 [ echo "*** The test program compiled, but did not run. This usually means"
140 echo "*** that the run-time linker is not finding ESD or finding the wrong"
141 echo "*** version of ESD. If it is not finding ESD, you'll need to set your"
142 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
143 echo "*** to the installed location Also, make sure you have run ldconfig if that"
144 echo "*** is required on your system"
145 echo "***"
146 echo "*** If you have an old version installed, it is best to remove it, although"
147 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
148 [ echo "*** The test program failed to compile or link. See the file config.log for the"
149 echo "*** exact error that occured. This usually means ESD was incorrectly installed"
150 echo "*** or that you have moved ESD since it was installed. In the latter case, you"
151 echo "*** may want to edit the esd-config script: $ESD_CONFIG" ])
152 CFLAGS="$ac_save_CFLAGS"
153 LIBS="$ac_save_LIBS"
154 fi
155 fi
156 ESD_CFLAGS=""
157 ESD_LIBS=""
158 ifelse([$3], , :, [$3])
159 fi
160 AC_SUBST(ESD_CFLAGS)
161 AC_SUBST(ESD_LIBS)
162 rm -f conf.esdtest
163 ])
+0
-42
autogen.sh less more
0 #!/bin/sh
1 # Run this to generate all the initial makefiles, etc.
2 test -n "$srcdir" || srcdir=$(dirname "$0")
3 test -n "$srcdir" || srcdir=.
4
5 olddir=$(pwd)
6
7 cd $srcdir
8
9 (test -f configure.ac) || {
10 echo "*** ERROR: Directory '$srcdir' does not look like the top-level project directory ***"
11 exit 1
12 }
13
14 # shellcheck disable=SC2016
15 PKG_NAME=$(autoconf --trace 'AC_INIT:$1' configure.ac)
16
17 if [ "$#" = 0 -a "x$NOCONFIGURE" = "x" ]; then
18 echo "*** WARNING: I am going to run 'configure' with no arguments." >&2
19 echo "*** If you wish to pass any to it, please specify them on the" >&2
20 echo "*** '$0' command line." >&2
21 echo "" >&2
22 fi
23
24 mkdir -p m4
25
26 glib-gettextize --force --copy || exit 1
27 gtkdocize --copy || exit 1
28 intltoolize --force --copy --automake || exit 1
29 autoreconf --verbose --force --install || exit 1
30
31 cd "$olddir"
32 if [ "$NOCONFIGURE" = "" ]; then
33 $srcdir/configure "$@" || exit 1
34
35 if [ "$1" = "--help" ]; then exit 0 else
36 echo "Now type 'make' to compile $PKG_NAME" || exit 1
37 fi
38 else
39 echo "Skipping configure process."
40 fi
41
+0
-150
configure.ac less more
0
1 AC_INIT(xapp, 1.0.4)
2 AC_CONFIG_SRCDIR(libxapp)
3 m4_ifdef([AX_IS_RELEASE], [AX_IS_RELEASE([always])])
4
5 AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz tar-ustar])
6 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
7
8 AC_CONFIG_HEADERS([config.h])
9
10 AC_CONFIG_MACRO_DIR([m4])
11 AC_SUBST([ACLOCAL_AMFLAGS], ["-I $ac_macro_dir \${ACLOCAL_FLAGS}"])
12
13 # Before making a release, the LT_VERSION string should be modified.
14 # The string is of the form C:R:A.
15 # - If interfaces have been changed or added, but binary compatibility has
16 # been preserved, change to C+1:0:A+1
17 # - If binary compatibility has been broken (eg removed or changed interfaces)
18 # change to C+1:0:0
19 # - If the interface is the same as the previous version, change to C:R+1:A
20
21 LT_VERSION=1:0:0
22 AC_SUBST(LT_VERSION)
23
24 LT_PREREQ([2.2.6])
25 LT_INIT([dlopen win32-dll disable-static])
26
27 IT_PROG_INTLTOOL([0.40.6])
28
29 AC_PROG_CC
30 PKG_PROG_PKG_CONFIG
31
32 m4_ifdef([AX_COMPILER_FLAGS],
33 [AX_COMPILER_FLAGS([WARN_CFLAGS],[WARN_LDFLAGS])])
34
35 GTK_DOC_CHECK([1.0],[--flavour=no-tmpl])
36
37 AC_ARG_ENABLE(deprecation_flags,
38 [AC_HELP_STRING([--enable-deprecation-flags],
39 [use *_DISABLE_DEPRECATED flags @<:@default=no@:>@])],,
40 [enable_deprecation_flags=no])
41
42 if test "x$enable_deprecation_flags" = "xyes"; then
43 DISABLE_DEPRECATED_CFLAGS=$DISABLE_DEPRECATED
44 AC_SUBST(DISABLE_DEPRECATED_CFLAGS)
45 fi
46
47 dnl If you add a version number here, you *must* add an AC_SUBST line for
48 dnl it too, or it will never make it into the spec file!
49
50 GDK_PIXBUF_REQUIRED=2.22.0
51 GTK_REQUIRED=3.3.16
52 GLIB_REQUIRED=2.37.3
53
54 AC_SUBST(GTK_REQUIRED)
55 AC_SUBST(GLIB_REQUIRED)
56 AC_SUBST(GDK_PIXBUF_REQUIRED)
57
58 PKG_CHECK_MODULES(XLIB, x11,
59 X11_PACKAGE=x11,
60 [X11_PACKAGE=
61 AC_PATH_XTRA
62 if test "x$no_x" = xyes; then
63 AC_MSG_ERROR("no (requires X development libraries)")
64 else
65 XLIB_LIBS="$X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS"
66 XLIB_CFLAGS=$X_CFLAGS
67 fi])
68 AC_SUBST(X11_PACKAGE)
69 AC_SUBST(XLIB_CFLAGS)
70 AC_SUBST(XLIB_LIBS)
71
72 AC_ARG_ENABLE([gtk-doc],
73 AC_HELP_STRING([--enable-gtk-doc],
74 [use gtk-doc to build documentation [[default=yes]]]),,
75 enable_gtk_doc=yes)
76
77 dnl pkg-config dependency checks
78
79 PKG_CHECK_MODULES(XAPP, gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED
80 gtk+-3.0 >= $GTK_REQUIRED
81 glib-2.0 >= $GLIB_REQUIRED
82 gio-2.0 >= $GLIB_REQUIRED
83 cairo
84 libgnomekbdui)
85
86 dnl Language Support
87
88 GETTEXT_PACKAGE=xapp
89 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
90 [The gettext translation domain])
91 AC_SUBST(GETTEXT_PACKAGE)
92
93 AM_GLIB_GNU_GETTEXT
94
95 GLIB_GSETTINGS
96
97 GOBJECT_INTROSPECTION_CHECK([0.9.7])
98
99 CFLAGS="$CFLAGS -Wno-declaration-after-statement"
100
101 # Python support
102
103 PYGOBJECT_REQUIRED=2.90
104
105 PKG_CHECK_EXISTS([pygobject-3.0 >= $PYGOBJECT_REQUIRED],
106 [have_python=yes], [have_python=no])
107
108 AS_IF([test "x$have_python" = "xyes"],
109 [AM_PATH_PYTHON
110 AC_SUBST([pyoverridesdir], [`$PYTHON -c "import gi;print (gi._overridesdir)" 2>/dev/null`])])
111
112 AM_CONDITIONAL([ENABLE_PYTHON], [test "x$have_python" = "xyes"])
113
114 AC_CONFIG_FILES([
115 Makefile
116 docs/Makefile
117 docs/reference/Makefile
118 pygobject/Makefile
119 libxapp/Makefile
120 libxapp/xapp.pc
121 libxapp/xapp-uninstalled.pc
122 schemas/Makefile
123 po/Makefile.in
124 files/Makefile
125 ])
126
127 AC_OUTPUT
128
129 dnl ---------------------------------------------------------------------------
130 dnl - Show summary
131 dnl ---------------------------------------------------------------------------
132
133 echo "
134
135 prefix: ${prefix}
136 exec_prefix: ${exec_prefix}
137 libdir: ${libdir}
138 bindir: ${bindir}
139 sbindir: ${sbindir}
140 sysconfdir: ${sysconfdir}
141 localstatedir: ${localstatedir}
142 datadir: ${datadir}
143 source code location: ${srcdir}
144 compiler: ${CC}
145 cflags: ${CFLAGS}
146 Maintainer mode: ${USE_MAINTAINER_MODE}
147 Use *_DISABLE_DEPRECATED: ${enable_deprecation_flags}
148
149 "
+0
-3
docs/Makefile.am less more
0 SUBDIRS = reference
1
2 -include $(top_srcdir)/git.mk
0 subdir('xml')
1
2 gnome.gtkdoc('libxapp',
3 install: true,
4 src_dir: [
5 join_paths(meson.source_root(), 'libxapp'),
6 join_paths(meson.build_root(), 'libxapp'),
7 ],
8 dependencies: libxapp_dep,
9 gobject_typesfile: 'libxapp.types',
10 main_xml: 'xapp-docs.xml',
11 scan_args: ['--rebuild-types'],
12 mkdb_args: ['--xml-mode', '--output-format=xml'],
13 )
+0
-51
docs/reference/Makefile.am less more
0 ## Process this file with automake to produce Makefile.in
1
2 # see /gtk-doc/examples/Makefile.am
3
4 # We require automake 1.6 at least.
5 AUTOMAKE_OPTIONS = 1.6
6
7 # The name of the module, e.g. 'glib'.
8 DOC_MODULE = xapp
9
10 # The top-level XML file (SGML in the past).
11 DOC_MAIN_SGML_FILE = xapp-docs.xml
12
13 # The directory containing the source code. Relative to $(srcdir).
14 DOC_SOURCE_DIR = $(top_srcdir)/libxapp
15
16 # Extra options to supply to gtkdoc-scan.
17 # e.g. SCAN_OPTIONS = --deprecated-guards="GTK_DISABLE_DEPRECATED"
18 SCAN_OPTIONS = --rebuild-types
19
20 # Extra options to supply to gtkdoc-mkdb.
21 MKDB_OPTIONS = --xml-mode --output-format=xml
22
23 # Used for dependencies. The docs will be rebuilt if any of these change.
24 HFILE_GLOB = $(top_srcdir)/libxapp/*.h
25 CFILE_GLOB = $(top_srcdir)/libxapp/*.c
26
27 # Header files to ignore when scanning (These are internal to xed).
28 IGNORE_HFILES =
29
30 # Images to copy into HTML directory.
31 HTML_IMAGES =
32
33 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
34 content_files =
35
36 # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
37 # Only needed if you are using gtkdoc-scangobj to dynamically query widget
38 # signals and properties.
39 GTKDOC_CFLAGS =
40
41 GTKDOC_LIBS = \
42 $(top_builddir)/libxapp/libxapp.la \
43 $(XAPP_LIBS)
44
45 MAINTAINERCLEANFILES = xapp.types
46
47 # This includes the standard gtk-doc make rules, copied by gtkdocize.
48 include $(top_srcdir)/gtk-doc.make
49
50 -include $(top_srcdir)/git.mk
+0
-37
docs/reference/xapp-docs.xml less more
0 <?xml version="1.0"?>
1 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
2 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
3 [
4 <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
5 <!ENTITY % gtkdocentities SYSTEM "xml/gtkdocentities.ent">
6 %gtkdocentities;
7 ]>
8 <book id="index">
9 <bookinfo>
10 <title>XApp Reference Manual</title>
11 <releaseinfo>
12 for &package_string;.
13 </releaseinfo>
14 </bookinfo>
15
16 <chapter>
17 <title>API reference</title>
18 <xi:include href="xml/xapp-kbd-layout-controller.xml"/>
19 <xi:include href="xml/xapp-monitor-blanker.xml"/>
20 <xi:include href="xml/xapp-gtk-window.xml"/>
21
22 </chapter>
23 <chapter id="object-tree">
24 <title>Object Hierarchy</title>
25 <xi:include href="xml/tree_index.sgml"/>
26 </chapter>
27 <index id="api-index-full">
28 <title>API Index</title>
29 <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
30 </index>
31 <index id="deprecated-api-index" role="deprecated">
32 <title>Index of deprecated API</title>
33 <xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
34 </index>
35 <xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
36 </book>
0 <?xml version="1.0"?>
1 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
2 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
3 [
4 <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
5 <!ENTITY % gtkdocentities SYSTEM "xml/gtkdocentities.ent">
6 %gtkdocentities;
7 ]>
8 <book id="index">
9 <bookinfo>
10 <title>XApp Reference Manual</title>
11 <releaseinfo>
12 &package_string; &package_version;
13 </releaseinfo>
14 </bookinfo>
15
16 <chapter>
17 <title>API reference</title>
18 <xi:include href="xml/xapp-kbd-layout-controller.xml"/>
19 <xi:include href="xml/xapp-monitor-blanker.xml"/>
20 <xi:include href="xml/xapp-gtk-window.xml"/>
21 <xi:include href="xml/xapp-preferences-window.xml"/>
22
23 </chapter>
24 <chapter id="object-tree">
25 <title>Object Hierarchy</title>
26 <xi:include href="xml/tree_index.sgml"/>
27 </chapter>
28 <index id="api-index-full">
29 <title>API Index</title>
30 <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
31 </index>
32 <index id="deprecated-api-index" role="deprecated">
33 <title>Index of deprecated API</title>
34 <xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
35 </index>
36 <xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
37 </book>
0 <!ENTITY package "@PACKAGE@">
1 <!ENTITY package_bugreport "@PACKAGE_BUGREPORT@">
2 <!ENTITY package_name "@PACKAGE_NAME@">
3 <!ENTITY package_string "@PACKAGE_STRING@">
4 <!ENTITY package_tarname "@PACKAGE_TARNAME@">
5 <!ENTITY package_url "@PACKAGE_URL@">
6 <!ENTITY package_version "@PACKAGE_VERSION@">
0 ent_conf = configuration_data()
1 ent_conf.set('PACKAGE', 'xapps')
2 ent_conf.set('PACKAGE_BUGREPORT', 'https://github.com/linuxmint/xapps/issues/new')
3 ent_conf.set('PACKAGE_NAME', 'XApp')
4 ent_conf.set('PACKAGE_STRING', meson.project_name())
5 ent_conf.set('PACKAGE_TARNAME', '@0@-@1@'.format(meson.project_name(), meson.project_version()))
6 ent_conf.set('PACKAGE_URL', 'https://github.com/linuxmint/xapps')
7 ent_conf.set('PACKAGE_VERSION', meson.project_version())
8
9 configure_file(
10 input: 'gtkdocentities.ent.in',
11 output: 'gtkdocentities.ent',
12 configuration: ent_conf
13 )
+0
-5
files/Makefile.am less more
0 install-data-hook:
1 find -mindepth 1 -maxdepth 1 -type d -exec cp -R {} $(DESTDIR)/ \;
2
3 uninstall-hook:
4 find -mindepth 1 -type f -exec rm $(DESTDIR)/{} \;
0 message('Copying ./files structure')
1
2 install_subdir('usr',
3 install_dir: '/',
4 )
5
6
0 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
1 <!-- Created with Inkscape (http://www.inkscape.org/) -->
2
3 <svg
4 xmlns:dc="http://purl.org/dc/elements/1.1/"
5 xmlns:cc="http://creativecommons.org/ns#"
6 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
7 xmlns:svg="http://www.w3.org/2000/svg"
8 xmlns="http://www.w3.org/2000/svg"
9 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
10 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
11 id="svg7384"
12 height="16"
13 width="16"
14 version="1.1"
15 inkscape:version="0.91 r13725"
16 sodipodi:docname="add-files-to-archive.svg">
17 <defs
18 id="defs7667">
19 <linearGradient
20 id="StandardGradient"
21 gradientTransform="scale(0.9219544,1.0846523)"
22 x1="11.998966"
23 y1="0.92195445"
24 x2="11.998966"
25 y2="19.387045"
26 gradientUnits="userSpaceOnUse">
27 <stop
28 style="stop-color:#000000;stop-opacity:0.23529412;"
29 offset="0"
30 id="stop3283" />
31 <stop
32 style="stop-color:#000000;stop-opacity:0.54901963;"
33 offset="1"
34 id="stop2651" />
35 </linearGradient>
36 </defs>
37 <sodipodi:namedview
38 pagecolor="#ffffff"
39 bordercolor="#666666"
40 borderopacity="1"
41 objecttolerance="10"
42 gridtolerance="10"
43 guidetolerance="10"
44 inkscape:pageopacity="0"
45 inkscape:pageshadow="2"
46 inkscape:window-width="1920"
47 inkscape:window-height="1026"
48 id="namedview7665"
49 showgrid="true"
50 inkscape:zoom="32"
51 inkscape:cx="9.1632285"
52 inkscape:cy="5.6009653"
53 inkscape:window-x="0"
54 inkscape:window-y="0"
55 inkscape:window-maximized="1"
56 inkscape:current-layer="g4147"
57 inkscape:snap-bbox="true"
58 inkscape:bbox-paths="true"
59 inkscape:snap-bbox-edge-midpoints="true"
60 inkscape:bbox-nodes="true"
61 inkscape:snap-bbox-midpoints="true">
62 <inkscape:grid
63 type="xygrid"
64 id="grid4138" />
65 </sodipodi:namedview>
66 <metadata
67 id="metadata90">
68 <rdf:RDF>
69 <cc:Work
70 rdf:about="">
71 <dc:format>image/svg+xml</dc:format>
72 <dc:type
73 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
74 <dc:title>Gnome Symbolic Icon Theme</dc:title>
75 </cc:Work>
76 </rdf:RDF>
77 </metadata>
78 <title
79 id="title9167">Gnome Symbolic Icon Theme</title>
80 <g
81 id="g4147"
82 style="fill:#bebebe;fill-opacity:1;stroke:none"
83 transform="matrix(1.3889016,0,0,1.3889016,-3.0103731,-3.5159478)">
84 <path
85 inkscape:connector-curvature="0"
86 style="display:inline;opacity:0.05;fill:#ffffff;fill-opacity:1;stroke:none"
87 d="m 28.177211,21.847532 c -0.97181,0 -1.777484,0.805674 -1.777484,1.777484 l 0,0.359997 a 0.69597745,0.69597745 0 0 0 0.0225,0.157498 c -0.146651,0.03065 -0.27353,0.09259 -0.404996,0.157499 l 0,-0.292497 -1.439987,0 c -0.97181,0 -1.777484,0.805673 -1.777484,1.777483 l 0,3.599967 c 0,0.971811 0.805674,1.777484 1.777484,1.777484 l 1.439987,0 0,-0.292497 c 0.131466,0.06491 0.258345,0.126844 0.404996,0.157498 a 0.69597745,0.69597745 0 0 0 -0.0225,0.157499 l 0,0.359996 c 0,0.971811 0.805673,1.777484 1.777484,1.777484 l 4.31996,0 c 0.97181,0 1.777484,-0.805673 1.777484,-1.777484 l 0,-7.919927 c 0,-0.97181 -0.805674,-1.777484 -1.777484,-1.777484 l -4.31996,0 z m 0,0.697494 4.31996,0 c 0.598315,0 1.07999,0.481676 1.07999,1.07999 l 0,7.919927 c 0,0.598315 -0.481675,1.079991 -1.07999,1.079991 l -4.31996,0 c -0.598315,0 -1.07999,-0.481676 -1.07999,-1.079991 l 0,-0.359996 4.31996,0 c 0.398876,0 0.719993,-0.321117 0.719993,-0.719994 l 0,-5.759947 c 0,-0.398876 -0.321117,-0.719993 -0.719993,-0.719993 l -4.31996,0 0,-0.359997 c 0,-0.598314 0.481675,-1.07999 1.07999,-1.07999 z m 2.767474,2.137481 0.472496,0 c 0.02538,0 0.0225,-0.0029 0.0225,0.0225 l 0,5.759946 c 0,0.02538 0.0029,0.0225 -0.0225,0.0225 l -0.472496,0 c 0.254117,-0.307549 0.449996,-0.677704 0.449996,-1.10249 l 0,-3.599966 c 0,-0.424786 -0.195879,-0.794942 -0.449996,-1.10249 z m -6.367441,0.0225 1.439987,0 c -0.598315,0 -1.079991,0.481675 -1.079991,1.07999 l 0,0.719993 0,2.15998 0,0.719993 c 0,0.598315 0.481676,1.07999 1.079991,1.07999 l -1.439987,0 c -0.598315,0 -1.07999,-0.481675 -1.07999,-1.07999 l 0,-3.599966 c 0,-0.598315 0.481675,-1.07999 1.07999,-1.07999 z m 2.15998,0 2.879974,0 c 0.598314,0 1.07999,0.481675 1.07999,1.07999 l 0,3.599966 c 0,0.598315 -0.481676,1.07999 -1.07999,1.07999 l -2.879974,0 c -0.598315,0 -1.07999,-0.481675 -1.07999,-1.07999 l 0,-3.599966 c 0,-0.598315 0.481675,-1.07999 1.07999,-1.07999 z m 0.719993,1.439986 c -0.199438,0 -0.359996,0.160559 -0.359996,0.359997 l 0,2.15998 c 0,0.199438 0.160558,0.359997 0.359996,0.359997 l 1.439987,0 c 0.199438,0 0.359997,-0.160559 0.359997,-0.359997 l 0,-2.15998 c 0,-0.199438 -0.160559,-0.359997 -0.359997,-0.359997 l -1.439987,0 z m 0.337497,0.697494 0.764993,0 0,1.484986 -0.764993,0 0,-1.484986 z"
88 id="path3091" />
89 <path
90 inkscape:connector-curvature="0"
91 style="display:inline;fill:#bebebe;fill-opacity:1;stroke:none"
92 d="m 7.5673995,3.2514525 c -0.598315,0 -1.07999,0.481676 -1.07999,1.07999 l 0,0.359997 4.3199605,0 c 0.398876,0 0.719993,0.321117 0.719993,0.719993 l 0,5.7599475 c 0,0.398877 -0.321117,0.719994 -0.719993,0.719994 l -4.3199605,0 0,0.359996 c 0,0.598315 0.481675,1.079991 1.07999,1.079991 l 4.3199605,0 c 0.598315,0 1.07999,-0.481676 1.07999,-1.079991 l 0,-7.9199275 c 0,-0.598314 -0.481675,-1.07999 -1.07999,-1.07999 z m -3.599967,2.15998 c -0.598315,0 -1.07999,0.481676 -1.07999,1.07999 l 0,3.5999675 c 0,0.598315 0.481675,1.07999 1.07999,1.07999 l 1.439987,0 c -0.598315,0 -1.079991,-0.481675 -1.079991,-1.07999 l 0,-0.7199935 0,-2.15998 0,-0.719994 c 0,-0.598314 0.481676,-1.07999 1.079991,-1.07999 z m 2.15998,0 c -0.598315,0 -1.07999,0.481676 -1.07999,1.07999 l 0,3.5999675 c 0,0.598315 0.481675,1.07999 1.07999,1.07999 l 2.8799741,0 c 0.598314,0 1.0799904,-0.481675 1.0799904,-1.07999 l 0,-3.5999675 c 0,-0.598314 -0.4816764,-1.07999 -1.0799904,-1.07999 z m 0.719993,1.439987 1.439987,0 c 0.1994381,0 0.3599971,0.160559 0.3599971,0.359997 l 0,2.15998 c 0,0.199438 -0.160559,0.359997 -0.3599971,0.359997 l -1.439987,0 c -0.199438,0 -0.359996,-0.160559 -0.359996,-0.359997 l 0,-2.15998 c 0,-0.199438 0.160558,-0.359997 0.359996,-0.359997 z"
93 id="path3708"
94 sodipodi:nodetypes="sscsssscsccsssssssscsccscsssssssssssssssssss" />
95 </g>
96 </svg>
0 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
1 <!-- Created with Inkscape (http://www.inkscape.org/) -->
2
3 <svg
4 xmlns:dc="http://purl.org/dc/elements/1.1/"
5 xmlns:cc="http://creativecommons.org/ns#"
6 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
7 xmlns:svg="http://www.w3.org/2000/svg"
8 xmlns="http://www.w3.org/2000/svg"
9 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
10 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
11 id="svg7384"
12 height="16"
13 width="16"
14 version="1.1"
15 inkscape:version="0.91 r13725"
16 sodipodi:docname="extract-archive.svg">
17 <defs
18 id="defs7667">
19 <linearGradient
20 id="StandardGradient"
21 gradientTransform="scale(0.9219544,1.0846523)"
22 x1="11.998966"
23 y1="0.92195445"
24 x2="11.998966"
25 y2="19.387045"
26 gradientUnits="userSpaceOnUse">
27 <stop
28 style="stop-color:#000000;stop-opacity:0.23529412;"
29 offset="0"
30 id="stop3283" />
31 <stop
32 style="stop-color:#000000;stop-opacity:0.54901963;"
33 offset="1"
34 id="stop2651" />
35 </linearGradient>
36 </defs>
37 <sodipodi:namedview
38 pagecolor="#ffffff"
39 bordercolor="#666666"
40 borderopacity="1"
41 objecttolerance="10"
42 gridtolerance="10"
43 guidetolerance="10"
44 inkscape:pageopacity="0"
45 inkscape:pageshadow="2"
46 inkscape:window-width="1920"
47 inkscape:window-height="1026"
48 id="namedview7665"
49 showgrid="true"
50 inkscape:zoom="11.313708"
51 inkscape:cx="22.097824"
52 inkscape:cy="3.7621969"
53 inkscape:window-x="0"
54 inkscape:window-y="0"
55 inkscape:window-maximized="1"
56 inkscape:current-layer="g4147"
57 inkscape:snap-bbox="true"
58 inkscape:bbox-paths="true"
59 inkscape:snap-bbox-edge-midpoints="true"
60 inkscape:bbox-nodes="true"
61 inkscape:snap-bbox-midpoints="true">
62 <inkscape:grid
63 type="xygrid"
64 id="grid4138" />
65 </sodipodi:namedview>
66 <metadata
67 id="metadata90">
68 <rdf:RDF>
69 <cc:Work
70 rdf:about="">
71 <dc:format>image/svg+xml</dc:format>
72 <dc:type
73 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
74 <dc:title>Gnome Symbolic Icon Theme</dc:title>
75 </cc:Work>
76 </rdf:RDF>
77 </metadata>
78 <title
79 id="title9167">Gnome Symbolic Icon Theme</title>
80 <g
81 id="g4147"
82 style="fill:#bebebe;fill-opacity:1;stroke:none"
83 transform="matrix(1.3889016,0,0,1.3889016,-3.0103731,-3.5159478)">
84 <path
85 inkscape:connector-curvature="0"
86 style="display:inline;fill:#bebebe;fill-opacity:1;stroke:none"
87 d="m 9.3673833,2.5314592 -3.599967,4.3199598 2.15998,0 0,3.599968 2.8799737,0 0,-3.599968 2.159981,0 z M 3.9674321,7.571413 c -0.5983146,0 -1.0799906,0.481675 -1.0799906,1.07999 l 0,3.599967 c 0,0.598314 0.481676,1.07999 1.0799906,1.07999 l 7.9199289,0 c 0.598315,0 1.07999,-0.481676 1.07999,-1.07999 l 0,-3.599967 c 0,-0.598315 -0.481675,-1.07999 -1.07999,-1.07999 l -0.359997,0 0,1.7999834 0,1.0799896 0,1.079991 c 0,0.199438 -0.160559,0.359996 -0.359997,0.359996 l -6.4799417,0 c -0.199438,0 -0.359996,-0.160558 -0.359996,-0.359996 l 0,-2.1599806 c 0,-0.1994384 0.160558,-0.3599964 0.359996,-0.3599964 l 2.519977,0 0,-1.439987 z"
88 id="Symbol"
89 sodipodi:nodetypes="ccccccccsssssssscccssssssccs" />
90 </g>
91 </svg>
0 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
1 <!-- Created with Inkscape (http://www.inkscape.org/) -->
2
3 <svg
4 xmlns:dc="http://purl.org/dc/elements/1.1/"
5 xmlns:cc="http://creativecommons.org/ns#"
6 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
7 xmlns:svg="http://www.w3.org/2000/svg"
8 xmlns="http://www.w3.org/2000/svg"
9 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
10 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
11 id="svg7384"
12 height="16"
13 width="16"
14 version="1.1"
15 inkscape:version="0.92.3 (2405546, 2018-03-11)"
16 sodipodi:docname="media-mount-symbolic.svg">
17 <defs
18 id="defs7667" />
19 <sodipodi:namedview
20 pagecolor="#ffffff"
21 bordercolor="#666666"
22 borderopacity="1"
23 objecttolerance="10"
24 gridtolerance="10"
25 guidetolerance="10"
26 inkscape:pageopacity="0"
27 inkscape:pageshadow="2"
28 inkscape:window-width="1280"
29 inkscape:window-height="745"
30 id="namedview7665"
31 showgrid="true"
32 inkscape:zoom="16"
33 inkscape:cx="6.9181492"
34 inkscape:cy="4.2111319"
35 inkscape:window-x="0"
36 inkscape:window-y="0"
37 inkscape:window-maximized="0"
38 inkscape:current-layer="g4147"
39 inkscape:snap-bbox="true"
40 inkscape:bbox-paths="true"
41 inkscape:snap-bbox-edge-midpoints="true"
42 inkscape:bbox-nodes="true"
43 inkscape:snap-bbox-midpoints="true">
44 <inkscape:grid
45 type="xygrid"
46 id="grid4138" />
47 </sodipodi:namedview>
48 <metadata
49 id="metadata90">
50 <rdf:RDF>
51 <cc:Work
52 rdf:about="">
53 <dc:format>image/svg+xml</dc:format>
54 <dc:type
55 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
56 <dc:title>Gnome Symbolic Icon Theme</dc:title>
57 </cc:Work>
58 </rdf:RDF>
59 </metadata>
60 <title
61 id="title9167">Gnome Symbolic Icon Theme</title>
62 <g
63 id="g4147"
64 style="fill:#bebebe;fill-opacity:1;stroke:none"
65 transform="matrix(1.3889016,0,0,1.3889016,-3.0103731,-3.5159478)">
66 <g
67 id="g4551">
68 <path
69 inkscape:connector-curvature="0"
70 d="M 12.247433,10.451386 H 3.6075116 v 1.439987 h 8.6399214 z"
71 id="path3807-1-1-9-3-0-9"
72 sodipodi:nodetypes="ccccc"
73 style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:Sans;-inkscape-font-specification:Sans;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-anchor:start;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1.43998682;marker:none;enable-background:accumulate" />
74 <path
75 style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:Sans;-inkscape-font-specification:Sans;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-anchor:start;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.43998682;marker:none;enable-background:accumulate"
76 sodipodi:nodetypes="sccccccccccs"
77 id="path3807-1-1-9-8-4"
78 d="m 7.927328,9.0113995 c -0.1915038,0 -0.3838788,-0.064151 -0.5174952,-0.2024982 L 3.8098657,5.2089343 C 3.6974028,5.0943905 3.6246474,4.9411687 3.6073676,4.7814382 V 4.691439 3.9714456 H 12.247289 V 4.691439 4.781438 c -0.01728,0.1597305 -0.09004,0.3129523 -0.202499,0.4274961 L 8.4448233,8.8089013 C 8.3112069,8.9472265 8.1188319,9.0113995 7.927328,9.0113995 Z"
79 inkscape:connector-curvature="0" />
80 </g>
81 </g>
82 </svg>
0 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
1 <!-- Created with Inkscape (http://www.inkscape.org/) -->
2
3 <svg
4 xmlns:dc="http://purl.org/dc/elements/1.1/"
5 xmlns:cc="http://creativecommons.org/ns#"
6 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
7 xmlns:svg="http://www.w3.org/2000/svg"
8 xmlns="http://www.w3.org/2000/svg"
9 xmlns:xlink="http://www.w3.org/1999/xlink"
10 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12 width="16"
13 height="16"
14 id="svg2"
15 sodipodi:version="0.32"
16 inkscape:version="0.91 r13725"
17 version="1.0"
18 sodipodi:docname="xapp-go-history-previous-symbolic.svg"
19 inkscape:output_extension="org.inkscape.output.svg.inkscape">
20 <defs
21 id="defs4">
22 <inkscape:perspective
23 sodipodi:type="inkscape:persp3d"
24 inkscape:vp_x="0 : 8 : 1"
25 inkscape:vp_y="0 : 1000 : 0"
26 inkscape:vp_z="16 : 8 : 1"
27 inkscape:persp3d-origin="8 : 5.3333333 : 1"
28 id="perspective18" />
29 <linearGradient
30 id="StandardGradient"
31 gradientTransform="matrix(-1.0923124,0,0,0.915489,16.03125,0)"
32 x1="7.6386113"
33 y1="3.2598698"
34 x2="7.6386113"
35 y2="14.22356"
36 gradientUnits="userSpaceOnUse">
37 <stop
38 id="stop3284"
39 offset="0"
40 style="stop-color:#000000;stop-opacity:0.86274511;" />
41 <stop
42 id="stop3286"
43 offset="1"
44 style="stop-color:#000000;stop-opacity:0.47058824;" />
45 </linearGradient>
46 <inkscape:perspective
47 id="perspective3648"
48 inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
49 inkscape:vp_z="1 : 0.5 : 1"
50 inkscape:vp_y="0 : 1000 : 0"
51 inkscape:vp_x="0 : 0.5 : 1"
52 sodipodi:type="inkscape:persp3d" />
53 <linearGradient
54 inkscape:collect="always"
55 xlink:href="#StandardGradient"
56 id="linearGradient3626"
57 gradientUnits="userSpaceOnUse"
58 gradientTransform="matrix(-1.0923124,0,0,0.915489,-3.96875,0)"
59 x1="7.6386113"
60 y1="3.2598698"
61 x2="7.6386113"
62 y2="14.22356" />
63 <clipPath
64 clipPathUnits="userSpaceOnUse"
65 id="clipPath3633">
66 <path
67 style="fill:#ff00ff;fill-opacity:1;stroke:none;display:inline"
68 d="m -20,0 0,16 16,0 0,-16 -16,0 z m 10.03125,3 0,2.96875 3.96875,0 0,4.0625 -3.96875,0 0,2.96875 -8,-5 8,-5 z"
69 id="path3635" />
70 </clipPath>
71 <linearGradient
72 inkscape:collect="always"
73 xlink:href="#StandardGradient"
74 id="linearGradient4469"
75 gradientUnits="userSpaceOnUse"
76 gradientTransform="matrix(-1.0923124,0,0,0.915489,16.03125,0)"
77 x1="7.6386113"
78 y1="3.2598698"
79 x2="7.6386113"
80 y2="14.22356" />
81 <linearGradient
82 inkscape:collect="always"
83 xlink:href="#StandardGradient"
84 id="linearGradient4473"
85 gradientUnits="userSpaceOnUse"
86 gradientTransform="matrix(-1.0923124,0,0,0.915489,16.03125,0)"
87 x1="7.6386113"
88 y1="3.2598698"
89 x2="7.6386113"
90 y2="14.22356" />
91 </defs>
92 <sodipodi:namedview
93 id="base"
94 pagecolor="#047a7c"
95 bordercolor="#9a9a9a"
96 borderopacity="1"
97 inkscape:pageopacity="0"
98 inkscape:pageshadow="2"
99 inkscape:zoom="35.157114"
100 inkscape:cx="5.5910016"
101 inkscape:cy="8.4322583"
102 inkscape:document-units="px"
103 inkscape:current-layer="layer4"
104 showgrid="true"
105 inkscape:showpageshadow="true"
106 showguides="true"
107 inkscape:guide-bbox="true"
108 inkscape:window-width="1559"
109 inkscape:window-height="968"
110 inkscape:window-x="357"
111 inkscape:window-y="18"
112 inkscape:window-maximized="0"
113 inkscape:snap-bbox="true"
114 inkscape:bbox-paths="true"
115 inkscape:snap-bbox-edge-midpoints="true"
116 inkscape:bbox-nodes="true"
117 inkscape:snap-bbox-midpoints="true">
118 <sodipodi:guide
119 orientation="1,0"
120 position="0,112"
121 id="guide2383" />
122 <sodipodi:guide
123 orientation="0,1"
124 position="26.278146,128"
125 id="guide2385" />
126 <sodipodi:guide
127 orientation="1,0"
128 position="128,54.082119"
129 id="guide2387" />
130 <sodipodi:guide
131 orientation="0,1"
132 position="78.156291,0"
133 id="guide2389" />
134 <inkscape:grid
135 type="xygrid"
136 id="grid3672"
137 visible="true"
138 enabled="true"
139 empspacing="5"
140 snapvisiblegridlinesonly="true" />
141 </sodipodi:namedview>
142 <metadata
143 id="metadata7">
144 <rdf:RDF>
145 <cc:Work
146 rdf:about="">
147 <dc:format>image/svg+xml</dc:format>
148 <dc:type
149 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
150 <dc:title></dc:title>
151 </cc:Work>
152 </rdf:RDF>
153 </metadata>
154 <g
155 inkscape:groupmode="layer"
156 id="layer4"
157 inkscape:label="Arrow"
158 style="display:inline">
159 <path
160 style="display:inline;fill:#bebebe;fill-opacity:1;stroke:none"
161 d="m 10.028195,1.9843776 -8.0125701,5.0027051 8.0125701,5.0285443 0,-2.9948184 3.95618,0 0,-4.043966 -3.95618,0.00753 0,-3 z"
162 id="Symbol"
163 sodipodi:nodetypes="cccccccc"
164 inkscape:label="#path2493"
165 inkscape:connector-curvature="0" />
166 <rect
167 style="opacity:1;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
168 id="rect4149"
169 width="2"
170 height="2"
171 x="2"
172 y="13" />
173 <rect
174 style="display:inline;opacity:1;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
175 id="rect4149-3"
176 width="2"
177 height="2"
178 x="7"
179 y="13" />
180 <rect
181 style="display:inline;opacity:1;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
182 id="rect4149-6"
183 width="2"
184 height="2"
185 x="12"
186 y="13" />
187 </g>
188 </svg>
0 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
1 <!-- Created with Inkscape (http://www.inkscape.org/) -->
2
3 <svg
4 xmlns:dc="http://purl.org/dc/elements/1.1/"
5 xmlns:cc="http://creativecommons.org/ns#"
6 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
7 xmlns:svg="http://www.w3.org/2000/svg"
8 xmlns="http://www.w3.org/2000/svg"
9 xmlns:xlink="http://www.w3.org/1999/xlink"
10 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12 width="16"
13 height="16"
14 id="svg2"
15 sodipodi:version="0.32"
16 inkscape:version="0.91 r13725"
17 version="1.0"
18 sodipodi:docname="xapp-go-history-next-symbolic.svg"
19 inkscape:output_extension="org.inkscape.output.svg.inkscape">
20 <defs
21 id="defs4">
22 <inkscape:perspective
23 sodipodi:type="inkscape:persp3d"
24 inkscape:vp_x="0 : 8 : 1"
25 inkscape:vp_y="0 : 1000 : 0"
26 inkscape:vp_z="16 : 8 : 1"
27 inkscape:persp3d-origin="8 : 5.3333333 : 1"
28 id="perspective18" />
29 <linearGradient
30 id="StandardGradient"
31 gradientTransform="matrix(-1.0923124,0,0,0.915489,16.03125,0)"
32 x1="7.6386113"
33 y1="3.2598698"
34 x2="7.6386113"
35 y2="14.22356"
36 gradientUnits="userSpaceOnUse">
37 <stop
38 id="stop3284"
39 offset="0"
40 style="stop-color:#000000;stop-opacity:0.86274511;" />
41 <stop
42 id="stop3286"
43 offset="1"
44 style="stop-color:#000000;stop-opacity:0.47058824;" />
45 </linearGradient>
46 <inkscape:perspective
47 id="perspective3648"
48 inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
49 inkscape:vp_z="1 : 0.5 : 1"
50 inkscape:vp_y="0 : 1000 : 0"
51 inkscape:vp_x="0 : 0.5 : 1"
52 sodipodi:type="inkscape:persp3d" />
53 <linearGradient
54 inkscape:collect="always"
55 xlink:href="#StandardGradient"
56 id="linearGradient3626"
57 gradientUnits="userSpaceOnUse"
58 gradientTransform="matrix(-1.0923124,0,0,0.915489,-3.96875,0)"
59 x1="7.6386113"
60 y1="3.2598698"
61 x2="7.6386113"
62 y2="14.22356" />
63 <clipPath
64 clipPathUnits="userSpaceOnUse"
65 id="clipPath3633">
66 <path
67 style="fill:#ff00ff;fill-opacity:1;stroke:none;display:inline"
68 d="m -20,0 0,16 16,0 0,-16 -16,0 z m 10.03125,3 0,2.96875 3.96875,0 0,4.0625 -3.96875,0 0,2.96875 -8,-5 8,-5 z"
69 id="path3635" />
70 </clipPath>
71 <linearGradient
72 inkscape:collect="always"
73 xlink:href="#StandardGradient"
74 id="linearGradient4469"
75 gradientUnits="userSpaceOnUse"
76 gradientTransform="matrix(-1.0923124,0,0,0.915489,16.03125,0)"
77 x1="7.6386113"
78 y1="3.2598698"
79 x2="7.6386113"
80 y2="14.22356" />
81 <linearGradient
82 inkscape:collect="always"
83 xlink:href="#StandardGradient"
84 id="linearGradient4473"
85 gradientUnits="userSpaceOnUse"
86 gradientTransform="matrix(-1.0923124,0,0,0.915489,16.03125,0)"
87 x1="7.6386113"
88 y1="3.2598698"
89 x2="7.6386113"
90 y2="14.22356" />
91 </defs>
92 <sodipodi:namedview
93 id="base"
94 pagecolor="#047a7c"
95 bordercolor="#9a9a9a"
96 borderopacity="1"
97 inkscape:pageopacity="0"
98 inkscape:pageshadow="2"
99 inkscape:zoom="35.157114"
100 inkscape:cx="5.5910016"
101 inkscape:cy="8.4322583"
102 inkscape:document-units="px"
103 inkscape:current-layer="layer4"
104 showgrid="true"
105 inkscape:showpageshadow="true"
106 showguides="true"
107 inkscape:guide-bbox="true"
108 inkscape:window-width="1559"
109 inkscape:window-height="968"
110 inkscape:window-x="357"
111 inkscape:window-y="18"
112 inkscape:window-maximized="0"
113 inkscape:snap-bbox="true"
114 inkscape:bbox-paths="true"
115 inkscape:snap-bbox-edge-midpoints="true"
116 inkscape:bbox-nodes="true"
117 inkscape:snap-bbox-midpoints="true">
118 <sodipodi:guide
119 orientation="1,0"
120 position="0,112"
121 id="guide2383" />
122 <sodipodi:guide
123 orientation="0,1"
124 position="26.278146,128"
125 id="guide2385" />
126 <sodipodi:guide
127 orientation="1,0"
128 position="128,54.082119"
129 id="guide2387" />
130 <sodipodi:guide
131 orientation="0,1"
132 position="78.156291,0"
133 id="guide2389" />
134 <inkscape:grid
135 type="xygrid"
136 id="grid3672"
137 visible="true"
138 enabled="true"
139 empspacing="5"
140 snapvisiblegridlinesonly="true" />
141 </sodipodi:namedview>
142 <metadata
143 id="metadata7">
144 <rdf:RDF>
145 <cc:Work
146 rdf:about="">
147 <dc:format>image/svg+xml</dc:format>
148 <dc:type
149 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
150 <dc:title></dc:title>
151 </cc:Work>
152 </rdf:RDF>
153 </metadata>
154 <g
155 inkscape:groupmode="layer"
156 id="layer4"
157 inkscape:label="Arrow"
158 style="display:inline">
159 <path
160 style="display:inline;fill:#bebebe;fill-opacity:1;stroke:none"
161 d="m 5.9718048,1.9843776 8.0125702,5.0027051 -8.0125702,5.0285443 0,-2.9948184 -3.9561799,0 0,-4.043966 3.9561799,0.00753 0,-3 z"
162 id="Symbol"
163 sodipodi:nodetypes="cccccccc"
164 inkscape:label="#path2493"
165 inkscape:connector-curvature="0" />
166 <rect
167 style="opacity:1;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
168 id="rect4149"
169 width="2"
170 height="2"
171 x="2"
172 y="13" />
173 <rect
174 style="display:inline;opacity:1;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
175 id="rect4149-3"
176 width="2"
177 height="2"
178 x="7"
179 y="13" />
180 <rect
181 style="display:inline;opacity:1;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
182 id="rect4149-6"
183 width="2"
184 height="2"
185 x="12"
186 y="13" />
187 </g>
188 </svg>
0 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
1 <!-- Created with Inkscape (http://www.inkscape.org/) -->
2
3 <svg
4 xmlns:dc="http://purl.org/dc/elements/1.1/"
5 xmlns:cc="http://creativecommons.org/ns#"
6 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
7 xmlns:svg="http://www.w3.org/2000/svg"
8 xmlns="http://www.w3.org/2000/svg"
9 xmlns:xlink="http://www.w3.org/1999/xlink"
10 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12 width="16"
13 height="16"
14 id="svg2"
15 sodipodi:version="0.32"
16 inkscape:version="0.91 r13725"
17 version="1.0"
18 sodipodi:docname="xapp-go-history-next-symbolic.svg"
19 inkscape:output_extension="org.inkscape.output.svg.inkscape">
20 <defs
21 id="defs4">
22 <inkscape:perspective
23 sodipodi:type="inkscape:persp3d"
24 inkscape:vp_x="0 : 8 : 1"
25 inkscape:vp_y="0 : 1000 : 0"
26 inkscape:vp_z="16 : 8 : 1"
27 inkscape:persp3d-origin="8 : 5.3333333 : 1"
28 id="perspective18" />
29 <linearGradient
30 id="StandardGradient"
31 gradientTransform="matrix(-1.0923124,0,0,0.915489,16.03125,0)"
32 x1="7.6386113"
33 y1="3.2598698"
34 x2="7.6386113"
35 y2="14.22356"
36 gradientUnits="userSpaceOnUse">
37 <stop
38 id="stop3284"
39 offset="0"
40 style="stop-color:#000000;stop-opacity:0.86274511;" />
41 <stop
42 id="stop3286"
43 offset="1"
44 style="stop-color:#000000;stop-opacity:0.47058824;" />
45 </linearGradient>
46 <inkscape:perspective
47 id="perspective3648"
48 inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
49 inkscape:vp_z="1 : 0.5 : 1"
50 inkscape:vp_y="0 : 1000 : 0"
51 inkscape:vp_x="0 : 0.5 : 1"
52 sodipodi:type="inkscape:persp3d" />
53 <linearGradient
54 inkscape:collect="always"
55 xlink:href="#StandardGradient"
56 id="linearGradient3626"
57 gradientUnits="userSpaceOnUse"
58 gradientTransform="matrix(-1.0923124,0,0,0.915489,-3.96875,0)"
59 x1="7.6386113"
60 y1="3.2598698"
61 x2="7.6386113"
62 y2="14.22356" />
63 <clipPath
64 clipPathUnits="userSpaceOnUse"
65 id="clipPath3633">
66 <path
67 style="fill:#ff00ff;fill-opacity:1;stroke:none;display:inline"
68 d="m -20,0 0,16 16,0 0,-16 -16,0 z m 10.03125,3 0,2.96875 3.96875,0 0,4.0625 -3.96875,0 0,2.96875 -8,-5 8,-5 z"
69 id="path3635" />
70 </clipPath>
71 <linearGradient
72 inkscape:collect="always"
73 xlink:href="#StandardGradient"
74 id="linearGradient4469"
75 gradientUnits="userSpaceOnUse"
76 gradientTransform="matrix(-1.0923124,0,0,0.915489,16.03125,0)"
77 x1="7.6386113"
78 y1="3.2598698"
79 x2="7.6386113"
80 y2="14.22356" />
81 <linearGradient
82 inkscape:collect="always"
83 xlink:href="#StandardGradient"
84 id="linearGradient4473"
85 gradientUnits="userSpaceOnUse"
86 gradientTransform="matrix(-1.0923124,0,0,0.915489,16.03125,0)"
87 x1="7.6386113"
88 y1="3.2598698"
89 x2="7.6386113"
90 y2="14.22356" />
91 </defs>
92 <sodipodi:namedview
93 id="base"
94 pagecolor="#047a7c"
95 bordercolor="#9a9a9a"
96 borderopacity="1"
97 inkscape:pageopacity="0"
98 inkscape:pageshadow="2"
99 inkscape:zoom="35.157114"
100 inkscape:cx="5.5910016"
101 inkscape:cy="8.4322583"
102 inkscape:document-units="px"
103 inkscape:current-layer="layer4"
104 showgrid="true"
105 inkscape:showpageshadow="true"
106 showguides="true"
107 inkscape:guide-bbox="true"
108 inkscape:window-width="1559"
109 inkscape:window-height="968"
110 inkscape:window-x="357"
111 inkscape:window-y="18"
112 inkscape:window-maximized="0"
113 inkscape:snap-bbox="true"
114 inkscape:bbox-paths="true"
115 inkscape:snap-bbox-edge-midpoints="true"
116 inkscape:bbox-nodes="true"
117 inkscape:snap-bbox-midpoints="true">
118 <sodipodi:guide
119 orientation="1,0"
120 position="0,112"
121 id="guide2383" />
122 <sodipodi:guide
123 orientation="0,1"
124 position="26.278146,128"
125 id="guide2385" />
126 <sodipodi:guide
127 orientation="1,0"
128 position="128,54.082119"
129 id="guide2387" />
130 <sodipodi:guide
131 orientation="0,1"
132 position="78.156291,0"
133 id="guide2389" />
134 <inkscape:grid
135 type="xygrid"
136 id="grid3672"
137 visible="true"
138 enabled="true"
139 empspacing="5"
140 snapvisiblegridlinesonly="true" />
141 </sodipodi:namedview>
142 <metadata
143 id="metadata7">
144 <rdf:RDF>
145 <cc:Work
146 rdf:about="">
147 <dc:format>image/svg+xml</dc:format>
148 <dc:type
149 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
150 <dc:title></dc:title>
151 </cc:Work>
152 </rdf:RDF>
153 </metadata>
154 <g
155 inkscape:groupmode="layer"
156 id="layer4"
157 inkscape:label="Arrow"
158 style="display:inline">
159 <path
160 style="display:inline;fill:#bebebe;fill-opacity:1;stroke:none"
161 d="m 5.9718048,1.9843776 8.0125702,5.0027051 -8.0125702,5.0285443 0,-2.9948184 -3.9561799,0 0,-4.043966 3.9561799,0.00753 0,-3 z"
162 id="Symbol"
163 sodipodi:nodetypes="cccccccc"
164 inkscape:label="#path2493"
165 inkscape:connector-curvature="0" />
166 <rect
167 style="opacity:1;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
168 id="rect4149"
169 width="2"
170 height="2"
171 x="2"
172 y="13" />
173 <rect
174 style="display:inline;opacity:1;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
175 id="rect4149-3"
176 width="2"
177 height="2"
178 x="7"
179 y="13" />
180 <rect
181 style="display:inline;opacity:1;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
182 id="rect4149-6"
183 width="2"
184 height="2"
185 x="12"
186 y="13" />
187 </g>
188 </svg>
0 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
1 <!-- Created with Inkscape (http://www.inkscape.org/) -->
2
3 <svg
4 xmlns:dc="http://purl.org/dc/elements/1.1/"
5 xmlns:cc="http://creativecommons.org/ns#"
6 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
7 xmlns:svg="http://www.w3.org/2000/svg"
8 xmlns="http://www.w3.org/2000/svg"
9 xmlns:xlink="http://www.w3.org/1999/xlink"
10 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12 width="16"
13 height="16"
14 id="svg2"
15 sodipodi:version="0.32"
16 inkscape:version="0.91 r13725"
17 version="1.0"
18 sodipodi:docname="xapp-go-history-previous-symbolic.svg"
19 inkscape:output_extension="org.inkscape.output.svg.inkscape">
20 <defs
21 id="defs4">
22 <inkscape:perspective
23 sodipodi:type="inkscape:persp3d"
24 inkscape:vp_x="0 : 8 : 1"
25 inkscape:vp_y="0 : 1000 : 0"
26 inkscape:vp_z="16 : 8 : 1"
27 inkscape:persp3d-origin="8 : 5.3333333 : 1"
28 id="perspective18" />
29 <linearGradient
30 id="StandardGradient"
31 gradientTransform="matrix(-1.0923124,0,0,0.915489,16.03125,0)"
32 x1="7.6386113"
33 y1="3.2598698"
34 x2="7.6386113"
35 y2="14.22356"
36 gradientUnits="userSpaceOnUse">
37 <stop
38 id="stop3284"
39 offset="0"
40 style="stop-color:#000000;stop-opacity:0.86274511;" />
41 <stop
42 id="stop3286"
43 offset="1"
44 style="stop-color:#000000;stop-opacity:0.47058824;" />
45 </linearGradient>
46 <inkscape:perspective
47 id="perspective3648"
48 inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
49 inkscape:vp_z="1 : 0.5 : 1"
50 inkscape:vp_y="0 : 1000 : 0"
51 inkscape:vp_x="0 : 0.5 : 1"
52 sodipodi:type="inkscape:persp3d" />
53 <linearGradient
54 inkscape:collect="always"
55 xlink:href="#StandardGradient"
56 id="linearGradient3626"
57 gradientUnits="userSpaceOnUse"
58 gradientTransform="matrix(-1.0923124,0,0,0.915489,-3.96875,0)"
59 x1="7.6386113"
60 y1="3.2598698"
61 x2="7.6386113"
62 y2="14.22356" />
63 <clipPath
64 clipPathUnits="userSpaceOnUse"
65 id="clipPath3633">
66 <path
67 style="fill:#ff00ff;fill-opacity:1;stroke:none;display:inline"
68 d="m -20,0 0,16 16,0 0,-16 -16,0 z m 10.03125,3 0,2.96875 3.96875,0 0,4.0625 -3.96875,0 0,2.96875 -8,-5 8,-5 z"
69 id="path3635" />
70 </clipPath>
71 <linearGradient
72 inkscape:collect="always"
73 xlink:href="#StandardGradient"
74 id="linearGradient4469"
75 gradientUnits="userSpaceOnUse"
76 gradientTransform="matrix(-1.0923124,0,0,0.915489,16.03125,0)"
77 x1="7.6386113"
78 y1="3.2598698"
79 x2="7.6386113"
80 y2="14.22356" />
81 <linearGradient
82 inkscape:collect="always"
83 xlink:href="#StandardGradient"
84 id="linearGradient4473"
85 gradientUnits="userSpaceOnUse"
86 gradientTransform="matrix(-1.0923124,0,0,0.915489,16.03125,0)"
87 x1="7.6386113"
88 y1="3.2598698"
89 x2="7.6386113"
90 y2="14.22356" />
91 </defs>
92 <sodipodi:namedview
93 id="base"
94 pagecolor="#047a7c"
95 bordercolor="#9a9a9a"
96 borderopacity="1"
97 inkscape:pageopacity="0"
98 inkscape:pageshadow="2"
99 inkscape:zoom="35.157114"
100 inkscape:cx="5.5910016"
101 inkscape:cy="8.4322583"
102 inkscape:document-units="px"
103 inkscape:current-layer="layer4"
104 showgrid="true"
105 inkscape:showpageshadow="true"
106 showguides="true"
107 inkscape:guide-bbox="true"
108 inkscape:window-width="1559"
109 inkscape:window-height="968"
110 inkscape:window-x="357"
111 inkscape:window-y="18"
112 inkscape:window-maximized="0"
113 inkscape:snap-bbox="true"
114 inkscape:bbox-paths="true"
115 inkscape:snap-bbox-edge-midpoints="true"
116 inkscape:bbox-nodes="true"
117 inkscape:snap-bbox-midpoints="true">
118 <sodipodi:guide
119 orientation="1,0"
120 position="0,112"
121 id="guide2383" />
122 <sodipodi:guide
123 orientation="0,1"
124 position="26.278146,128"
125 id="guide2385" />
126 <sodipodi:guide
127 orientation="1,0"
128 position="128,54.082119"
129 id="guide2387" />
130 <sodipodi:guide
131 orientation="0,1"
132 position="78.156291,0"
133 id="guide2389" />
134 <inkscape:grid
135 type="xygrid"
136 id="grid3672"
137 visible="true"
138 enabled="true"
139 empspacing="5"
140 snapvisiblegridlinesonly="true" />
141 </sodipodi:namedview>
142 <metadata
143 id="metadata7">
144 <rdf:RDF>
145 <cc:Work
146 rdf:about="">
147 <dc:format>image/svg+xml</dc:format>
148 <dc:type
149 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
150 <dc:title></dc:title>
151 </cc:Work>
152 </rdf:RDF>
153 </metadata>
154 <g
155 inkscape:groupmode="layer"
156 id="layer4"
157 inkscape:label="Arrow"
158 style="display:inline">
159 <path
160 style="display:inline;fill:#bebebe;fill-opacity:1;stroke:none"
161 d="m 10.028195,1.9843776 -8.0125701,5.0027051 8.0125701,5.0285443 0,-2.9948184 3.95618,0 0,-4.043966 -3.95618,0.00753 0,-3 z"
162 id="Symbol"
163 sodipodi:nodetypes="cccccccc"
164 inkscape:label="#path2493"
165 inkscape:connector-curvature="0" />
166 <rect
167 style="opacity:1;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
168 id="rect4149"
169 width="2"
170 height="2"
171 x="2"
172 y="13" />
173 <rect
174 style="display:inline;opacity:1;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
175 id="rect4149-3"
176 width="2"
177 height="2"
178 x="7"
179 y="13" />
180 <rect
181 style="display:inline;opacity:1;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
182 id="rect4149-6"
183 width="2"
184 height="2"
185 x="12"
186 y="13" />
187 </g>
188 </svg>
+0
-90
files/usr/share/vala/vapi/xapp.vapi less more
0 /* xapp.vapi generated by vapigen, do not modify. */
1
2 [CCode (cprefix = "XApp", gir_namespace = "XApp", gir_version = "1.0", lower_case_cprefix = "xapp__")]
3 namespace XApp {
4 [CCode (cheader_filename = "libxapp/xapp-gtk-window.h", type_id = "xapp_gtk_window_get_type ()")]
5 public class GtkWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable {
6 [CCode (cname = "xapp_gtk_window_new", has_construct_function = false, type = "GtkWidget*")]
7 public GtkWindow (Gtk.WindowType type);
8 [CCode (cname = "xapp_gtk_window_set_icon_from_file")]
9 public void set_icon_from_file (string? file_name) throws GLib.Error;
10 [CCode (cname = "xapp_gtk_window_set_icon_name")]
11 public void set_icon_name (string? icon_name);
12 [CCode (cname = "xapp_gtk_window_set_progress")]
13 public void set_progress (int progress);
14 [CCode (cname = "xapp_gtk_window_set_progress_pulse")]
15 public void set_progress_pulse (bool pulse);
16 }
17 [CCode (cheader_filename = "libxapp/xapp-kbd-layout-controller.h", type_id = "xapp_kbd_layout_controller_get_type ()")]
18 public class KbdLayoutController : GLib.Object {
19 [CCode (cname = "xapp_kbd_layout_controller_new", has_construct_function = false)]
20 public KbdLayoutController ();
21 [CCode (array_length = false, array_null_terminated = true, cname = "xapp_kbd_layout_controller_get_all_names")]
22 public unowned string[] get_all_names ();
23 [CCode (cname = "xapp_kbd_layout_controller_get_current_flag_id")]
24 public int get_current_flag_id ();
25 [CCode (cname = "xapp_kbd_layout_controller_get_current_group")]
26 public uint get_current_group ();
27 [CCode (cname = "xapp_kbd_layout_controller_get_current_icon_name")]
28 public string get_current_icon_name ();
29 [CCode (cname = "xapp_kbd_layout_controller_get_current_name")]
30 public string get_current_name ();
31 [CCode (cname = "xapp_kbd_layout_controller_get_current_short_group_label")]
32 public string get_current_short_group_label ();
33 [CCode (cname = "xapp_kbd_layout_controller_get_current_variant_label")]
34 public string get_current_variant_label ();
35 [CCode (cname = "xapp_kbd_layout_controller_get_enabled")]
36 public bool get_enabled ();
37 [CCode (cname = "xapp_kbd_layout_controller_get_flag_id_for_group")]
38 public int get_flag_id_for_group (uint group);
39 [CCode (cname = "xapp_kbd_layout_controller_get_icon_name_for_group")]
40 public string get_icon_name_for_group (uint group);
41 [CCode (cname = "xapp_kbd_layout_controller_get_short_group_label_for_group")]
42 public string get_short_group_label_for_group (uint group);
43 [CCode (cname = "xapp_kbd_layout_controller_get_variant_label_for_group")]
44 public string get_variant_label_for_group (uint group);
45 [CCode (cname = "xapp_kbd_layout_controller_next_group")]
46 public void next_group ();
47 [CCode (cname = "xapp_kbd_layout_controller_previous_group")]
48 public void previous_group ();
49 [CCode (cname = "xapp_kbd_layout_controller_render_cairo_subscript")]
50 public static void render_cairo_subscript (Cairo.Context cr, double x, double y, double width, double height, int subscript);
51 [CCode (cname = "xapp_kbd_layout_controller_set_current_group")]
52 public void set_current_group (uint group);
53 [NoAccessorMethod]
54 public bool enabled { get; }
55 public signal void config_changed ();
56 public signal void layout_changed (uint object);
57 }
58 [CCode (cheader_filename = "libxapp/xapp-monitor-blanker.h", type_id = "xapp_monitor_blanker_get_type ()")]
59 public class MonitorBlanker : GLib.Object {
60 [CCode (cname = "xapp_monitor_blanker_new", has_construct_function = false)]
61 public MonitorBlanker ();
62 [CCode (cname = "xapp_monitor_blanker_are_monitors_blanked")]
63 public bool are_monitors_blanked ();
64 [CCode (cname = "xapp_monitor_blanker_blank_other_monitors")]
65 public void blank_other_monitors (Gtk.Window window);
66 [CCode (cname = "xapp_monitor_blanker_unblank_monitors")]
67 public void unblank_monitors ();
68 }
69 [CCode (cheader_filename = "libxapp/xapp-gtk-window.h")]
70 [SimpleType]
71 public struct GtkWindow_autoptr {
72 }
73 [CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_window_icon_from_file")]
74 public static void set_window_icon_from_file (Gtk.Window window, string? file_name) throws GLib.Error;
75 [CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_window_icon_name")]
76 public static void set_window_icon_name (Gtk.Window window, string? icon_name);
77 [CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_window_progress")]
78 public static void set_window_progress (Gtk.Window window, int progress);
79 [CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_window_progress_pulse")]
80 public static void set_window_progress_pulse (Gtk.Window window, bool pulse);
81 [CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_xid_icon_from_file")]
82 public static void set_xid_icon_from_file (ulong xid, string? file_name);
83 [CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_xid_icon_name")]
84 public static void set_xid_icon_name (ulong xid, string? icon_name);
85 [CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_xid_progress")]
86 public static void set_xid_progress (ulong xid, int progress);
87 [CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_xid_progress_pulse")]
88 public static void set_xid_progress_pulse (ulong xid, bool pulse);
89 }
+0
-80
libxapp/Makefile.am less more
0 CLEANFILES =
1
2 noinst_LTLIBRARIES =
3 lib_LTLIBRARIES = libxapp.la
4
5 AM_CPPFLAGS = \
6 -I$(top_srcdir) \
7 $(XAPP_CFLAGS) \
8 $(XLIB_CFLAGS) \
9 $(WARN_CFLAGS) \
10 -DG_LOG_DOMAIN=\"XApp\" \
11 -DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale\"" \
12 $(DISABLE_DEPRECATED_CFLAGS)
13
14 AM_CFLAGS = $(WARN_CFLAGS)
15
16 introspection_sources = \
17 xapp-monitor-blanker.c \
18 xapp-kbd-layout-controller.c \
19 xapp-gtk-window.c \
20 xapp-glade-catalog.c
21
22 libxapp_la_SOURCES = \
23 $(introspection_sources)
24
25 libxapp_la_LIBADD = \
26 $(XLIB_LIBS) \
27 $(XAPP_LIBS) \
28 -lrt
29
30 libxapp_la_LDFLAGS = \
31 $(WARN_LDFLAGS) \
32 -version-info $(LT_VERSION) \
33 -export-symbols-regex "^xapp_.*" \
34 -no-undefined
35
36 pkgconfigdir = $(libdir)/pkgconfig
37 pkgconfig_DATA = xapp.pc
38
39 catalogdir = $(prefix)/share/glade/catalogs/
40 catalog_DATA = xapp-glade-catalog.xml
41
42 libxappdir = $(includedir)/xapp/libxapp
43 libxapp_HEADERS = \
44 xapp-monitor-blanker.h \
45 xapp-kbd-layout-controller.h \
46 xapp-gtk-window.h
47
48 -include $(INTROSPECTION_MAKEFILE)
49 INTROSPECTION_GIRS =
50 INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) --warn-all
51 INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
52
53 if HAVE_INTROSPECTION
54
55 XApp-1.0.gir: libxapp.la
56 XApp_1_0_gir_INCLUDES = GObject-2.0 Gtk-3.0
57 XApp_1_0_gir_PACKAGES = gdk-pixbuf-2.0 glib-2.0 gobject-2.0 gio-2.0 gtk+-3.0
58 XApp_1_0_gir_EXPORT_PACKAGES = xapp
59 XApp_1_0_gir_CFLAGS = $(WARN_CFLAGS) -I$(top_srcdir) -DWITH_INTROSPECTION
60 XApp_1_0_gir_LIBS = libxapp.la
61 XApp_1_0_gir_FILES = $(introspection_sources) $(libxapp_HEADERS)
62 XApp_1_0_gir_SCANNERFLAGS = $(WARN_SCANNERFLAGS) --identifier-prefix=XApp --symbol-prefix=xapp_
63 INTROSPECTION_GIRS += XApp-1.0.gir
64
65 girdir = $(datadir)/gir-1.0
66 gir_DATA = $(INTROSPECTION_GIRS)
67
68 typelibdir = $(libdir)/girepository-1.0
69 typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
70
71 CLEANFILES += $(gir_DATA) $(typelib_DATA)
72 endif
73
74 EXTRA_DIST = \
75 xapp.pc.in \
76 xapp-uninstalled.pc.in \
77 $(pnpdata_DATA_dist)
78
79 -include $(top_srcdir)/git.mk
0 GtkWindow cheader_filename="libxapp/xapp-gtk-window.h"
1 MonitorBlanker cheader_filename="libxapp/xapp-monitor-blanker.h"
2 KbdLayoutController cheader_filename="libxapp/xapp-kbd-layout-controller.h"
3 XApp cheader_filename="libxapp/xapp-gtk-window.h"
0 glib_min_ver = '>=2.37.3'
1
2 libdeps = []
3 libdeps += dependency('gio-2.0', version: glib_min_ver, required: true)
4 libdeps += dependency('glib-2.0', version: glib_min_ver, required: true)
5 libdeps += dependency('gtk+-3.0', version: '>=3.3.16', required: true)
6 libdeps += dependency('gdk-pixbuf-2.0', version: '>=2.22.0', required: true)
7 libdeps += dependency('cairo', required: true)
8 libdeps += dependency('libgnomekbdui', required: true)
9 libdeps += dependency('x11', required: true)
10
11 xapp_headers = [
12 'xapp-gtk-window.h',
13 'xapp-kbd-layout-controller.h',
14 'xapp-monitor-blanker.h',
15 'xapp-preferences-window.h'
16 ]
17
18 xapp_sources = [
19 'xapp-glade-catalog.c',
20 'xapp-gtk-window.c',
21 'xapp-kbd-layout-controller.c',
22 'xapp-monitor-blanker.c',
23 'xapp-preferences-window.c',
24 ]
25
26 libxapp = library('xapp',
27 sources : xapp_headers + xapp_sources,
28 include_directories: [top_inc],
29 version: meson.project_version(),
30 soversion: '1',
31 dependencies: libdeps,
32 c_args: ['-Wno-declaration-after-statement'],
33 link_args: [ '-Wl,-Bsymbolic', '-Wl,-z,relro', '-Wl,-z,now', ],
34 install: true
35 )
36
37 install_headers(xapp_headers,
38 subdir: 'xapp/libxapp'
39 )
40
41 libxapp_dep = declare_dependency(
42 link_with: libxapp,
43 include_directories: top_inc,
44 dependencies: libdeps,
45 sources: [ xapp_headers ]
46 )
47
48 gir = gnome.generate_gir(libxapp,
49 namespace: 'XApp',
50 nsversion: '1.0',
51 sources: xapp_headers + xapp_sources,
52 identifier_prefix: 'XApp',
53 symbol_prefix: 'xapp_',
54 includes: ['GObject-2.0', 'Gtk-3.0'],
55 install: true
56 )
57
58 pkg.generate(
59 libraries: libxapp,
60 name: 'xapp',
61 subdirs: 'xapp',
62 description: 'Utility library',
63 version: meson.project_version(),
64 requires: ['gtk+-3.0', 'gobject-2.0', 'cairo'],
65 requires_private: 'xkbfile',
66 )
67
68 install_data(['xapp-glade-catalog.xml'],
69 install_dir : join_paths(get_option('datadir'), 'glade/catalogs')
70 )
71
72 gnome.generate_vapi('xapp',
73 packages: ['glib-2.0', 'gio-unix-2.0', 'gtk+-3.0'],
74 sources: gir[0],
75 metadata_dirs: meson.current_source_dir(),
76 install: true
77 )
6868 };
6969
7070 G_DEFINE_TYPE_WITH_PRIVATE (XAppGtkWindow, xapp_gtk_window, GTK_TYPE_WINDOW)
71
72 static gboolean
73 is_x11_session (void)
74 {
75 static gboolean running_x11 = FALSE;
76 static gsize once_init_value = 0;
77
78 if (g_once_init_enter (&once_init_value))
79 {
80 running_x11 = GDK_IS_X11_DISPLAY(gdk_display_get_default());
81 g_debug ("XAppGtkWindow: is_x11_session: %s\n", running_x11 ? "TRUE" : "FALSE");
82
83 g_once_init_leave (&once_init_value, 1);
84 }
85
86 return running_x11;
87 }
7188
7289 static void
7390 clear_icon_strings (XAppGtkWindowPrivate *priv)
128145 gdk_x11_get_xatom_by_name_for_display (display, atom_name));
129146 }
130147
131 gdk_error_trap_pop ();
148 gdk_error_trap_pop_ignored ();
132149 }
133150
134151 static Window
191208 XAppGtkWindowPrivate *priv,
192209 const gchar *icon_name)
193210 {
211 if (!is_x11_session ()) {
212 goto out;
213 }
214
194215 if (g_strcmp0 (icon_name, priv->icon_name) == 0)
195216 {
196217 gtk_window_set_icon_name (window, icon_name);
213234 update_window_icon (window, priv);
214235 }
215236
237 out:
216238 /* Call the GtkWindow method for compatibility */
217239 gtk_window_set_icon_name (GTK_WINDOW (window), icon_name);
218240 }
223245 const gchar *file_name,
224246 GError **error)
225247 {
248 if (!is_x11_session ()) {
249 goto out;
250 }
251
226252 if (g_strcmp0 (file_name, priv->icon_path) == 0)
227253 {
228254 gtk_window_set_icon_from_file (window, file_name, error);
245271 update_window_icon (window, priv);
246272 }
247273
274 out:
248275 gtk_window_set_icon_from_file (GTK_WINDOW (window), file_name, error);
249276 }
250277
253280 XAppGtkWindowPrivate *priv,
254281 gint progress)
255282 {
283 if (!is_x11_session ()) {
284 return;
285 }
286
256287 gboolean update;
257288 guint clamped_progress;
258289
288319 XAppGtkWindowPrivate *priv,
289320 gboolean pulse)
290321 {
322 if (!is_x11_session ()) {
323 return;
324 }
325
291326 gboolean update;
292327
293328 update = FALSE;
0 #include <gdk/gdk.h>
1 #include "xapp-preferences-window.h"
2
3 /**
4 * SECTION:xapp-preferences-window
5 * @Short_description: A base preferences window
6 * @Title: XAppPreferencesWindow
7 *
8 * The XAppPreferencesWindow sets up a simple dialog
9 * window with a GtkStack, GtkSidebarSwitcher, and
10 * GtkActionBar. The stack switcher and action bar only
11 * show when needed.
12 */
13
14 typedef struct
15 {
16 GtkWidget *stack;
17 GtkWidget *side_switcher;
18 GtkWidget *button_area;
19 GtkSizeGroup *button_size_group;
20
21 gint num_pages;
22 } XAppPreferencesWindowPrivate;
23
24 enum
25 {
26 CLOSE,
27 LAST_SIGNAL
28 };
29
30 static guint signals[LAST_SIGNAL] = {0, };
31
32 G_DEFINE_TYPE_WITH_PRIVATE (XAppPreferencesWindow, xapp_preferences_window, GTK_TYPE_WINDOW)
33
34 static void
35 xapp_preferences_window_init (XAppPreferencesWindow *window)
36 {
37 XAppPreferencesWindowPrivate *priv = xapp_preferences_window_get_instance_private (window);
38 GtkWidget *main_box;
39 GtkWidget *secondary_box;
40
41 gtk_window_set_default_size (GTK_WINDOW (window), 600, 400);
42 gtk_window_set_skip_taskbar_hint (GTK_WINDOW (window), TRUE);
43 gtk_window_set_type_hint (GTK_WINDOW (window), GDK_WINDOW_TYPE_HINT_DIALOG);
44
45 main_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
46 gtk_container_add (GTK_CONTAINER (window), main_box);
47
48 secondary_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
49 gtk_box_pack_start (GTK_BOX (main_box), secondary_box, TRUE, TRUE, 0);
50
51 priv->side_switcher = gtk_stack_sidebar_new ();
52 gtk_widget_set_size_request (priv->side_switcher, 100, -1);
53 gtk_box_pack_start (GTK_BOX (secondary_box), priv->side_switcher, FALSE, FALSE, 0);
54 gtk_widget_set_no_show_all (priv->side_switcher, TRUE);
55
56 priv->stack = gtk_stack_new ();
57 gtk_stack_set_transition_type (GTK_STACK (priv->stack), GTK_STACK_TRANSITION_TYPE_CROSSFADE);
58 gtk_box_pack_start (GTK_BOX (secondary_box), priv->stack, TRUE, TRUE, 0);
59 gtk_stack_sidebar_set_stack (GTK_STACK_SIDEBAR (priv->side_switcher), GTK_STACK (priv->stack));
60
61 priv->button_area = gtk_action_bar_new ();
62 gtk_box_pack_start (GTK_BOX (main_box), priv->button_area, FALSE, FALSE, 0);
63 gtk_widget_set_no_show_all (priv->button_area, TRUE);
64
65 priv->button_size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
66
67 /* Keep track of the number of pages so we can hide the stack switcher with < 2 */
68 priv->num_pages = 0;
69 }
70
71 static void
72 xapp_preferences_window_close (XAppPreferencesWindow *window)
73 {
74 gtk_window_close (GTK_WINDOW (window));
75 }
76
77 static void
78 xapp_preferences_window_class_init (XAppPreferencesWindowClass *klass)
79 {
80 GtkBindingSet *binding_set;
81
82 klass->close = xapp_preferences_window_close;
83
84 signals[CLOSE] =
85 g_signal_new ("close",
86 G_TYPE_FROM_CLASS (klass),
87 G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
88 G_STRUCT_OFFSET (XAppPreferencesWindowClass, close),
89 NULL, NULL, NULL,
90 G_TYPE_NONE, 0);
91
92 binding_set = gtk_binding_set_by_class (klass);
93 gtk_binding_entry_add_signal (binding_set, GDK_KEY_Escape, 0, "close", 0);
94 }
95
96 /**
97 * xapp_preferences_window_new:
98 *
99 * Creates a new #XAppPreferencesWindow.
100 *
101 * Returns: a newly created #XAppPreferencesWindow
102 */
103 XAppPreferencesWindow *
104 xapp_preferences_window_new (void)
105 {
106 return g_object_new (XAPP_TYPE_PREFERENCES_WINDOW, NULL);
107 }
108
109
110 /**
111 * xapp_preferences_window_add_page:
112 * @window: a #XAppPreferencesWindow
113 * @widget: a #GtkWidget to add
114 * @name: the name for the page
115 * @title: a human-readable title for the page
116 *
117 * Adds a page to the window. The page is identified by name. The
118 * title will be used in the sidebar so should be short. The sidebar
119 * will show automatically once at least two pages are added.
120 */
121 void
122 xapp_preferences_window_add_page (XAppPreferencesWindow *window,
123 GtkWidget *widget,
124 const gchar *name,
125 const gchar *title)
126 {
127 XAppPreferencesWindowPrivate *priv = xapp_preferences_window_get_instance_private (window);
128
129 g_return_if_fail (XAPP_IS_PREFERENCES_WINDOW (window));
130
131 gtk_stack_add_titled (GTK_STACK (priv->stack), widget, name, title);
132
133 priv->num_pages++;
134
135 if (priv->num_pages > 1)
136 {
137 gtk_widget_set_no_show_all (priv->side_switcher, FALSE);
138 }
139 }
140
141 /**
142 * xapp_preferences_window_add_button:
143 * @window: a #XAppPreferencesWindow
144 * @button: a #GtkWidget to add
145 * @pack_type: a #GtkPackType to use
146 *
147 * Adds a button to the bottom action bar of the window. Where
148 * the button is place will be determined by the #GtkPackType. The
149 * action bar will show automatically once at least one button is
150 * added.
151 */
152 void
153 xapp_preferences_window_add_button (XAppPreferencesWindow *window,
154 GtkWidget *button,
155 GtkPackType pack_type)
156 {
157 XAppPreferencesWindowPrivate *priv = xapp_preferences_window_get_instance_private (window);
158 GtkStyleContext *style_context;
159
160 g_return_if_fail (XAPP_IS_PREFERENCES_WINDOW (window));
161 g_return_if_fail (GTK_IS_WIDGET (button));
162
163 if (pack_type == GTK_PACK_START)
164 {
165 gtk_action_bar_pack_start (GTK_ACTION_BAR (priv->button_area), button);
166 gtk_widget_set_margin_start (button, 6);
167 }
168 else if (pack_type == GTK_PACK_END)
169 {
170 gtk_action_bar_pack_end (GTK_ACTION_BAR (priv->button_area), button);
171 gtk_widget_set_margin_end (button, 6);
172 }
173 else
174 {
175 return;
176 }
177
178 style_context = gtk_widget_get_style_context (button);
179 gtk_style_context_add_class (style_context, "text-button");
180
181 gtk_size_group_add_widget (priv->button_size_group, button);
182 gtk_widget_set_no_show_all (priv->button_area, FALSE);
183 }
0 #ifndef _XAPP_PREFERENCES_WINDOW_H_
1 #define _XAPP_PREFERENCES_WINDOW_H_
2
3 #include <glib-object.h>
4 #include <gtk/gtk.h>
5
6 G_BEGIN_DECLS
7
8 #define XAPP_TYPE_PREFERENCES_WINDOW (xapp_preferences_window_get_type ())
9
10 G_DECLARE_DERIVABLE_TYPE (XAppPreferencesWindow, xapp_preferences_window, XAPP, PREFERENCES_WINDOW, GtkWindow)
11
12 struct _XAppPreferencesWindowClass
13 {
14 GtkWindowClass parent_class;
15
16 /* Keybinding signals */
17 void (* close) (XAppPreferencesWindow *window);
18 };
19
20 XAppPreferencesWindow *xapp_preferences_window_new (void);
21
22 void xapp_preferences_window_add_page (XAppPreferencesWindow *window,
23 GtkWidget *widget,
24 const gchar *name,
25 const gchar *title);
26
27 void xapp_preferences_window_add_button (XAppPreferencesWindow *window,
28 GtkWidget *button,
29 GtkPackType pack_type);
30
31 G_END_DECLS
32
33 #endif /* _XAPP_PREFERENCES_WINDOW_H_ */
+0
-11
libxapp/xapp-uninstalled.pc.in less more
0 prefix=@prefix@
1 exec_prefix=@exec_prefix@
2 libdir=@libdir@
3 includedir=@includedir@
4
5 Name: xapp
6 Description: Utility library for loading .desktop files
7 Requires: gtk+-3.0
8 Version: @VERSION@
9 Libs: ${pc_top_builddir}/${pcfiledir}/libxapp.la
10 Cflags: -I${pc_top_builddir}/${pcfiledir}/..
+0
-12
libxapp/xapp.pc.in less more
0 prefix=@prefix@
1 exec_prefix=@exec_prefix@
2 libdir=@libdir@
3 includedir=@includedir@
4
5 Name: xapp
6 Description: Utility library for loading .desktop files
7 Requires: gtk+-3.0
8 Requires.private: xkbfile
9 Version: @VERSION@
10 Libs: -L${libdir} -lxapp
11 Cflags: -I${includedir}/xapp
+0
-88
m4/gtk-doc.m4 less more
0 dnl -*- mode: autoconf -*-
1
2 # serial 2
3
4 dnl Usage:
5 dnl GTK_DOC_CHECK([minimum-gtk-doc-version])
6 AC_DEFUN([GTK_DOC_CHECK],
7 [
8 AC_REQUIRE([PKG_PROG_PKG_CONFIG])
9 AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
10 AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
11
12 ifelse([$1],[],[gtk_doc_requires="gtk-doc"],[gtk_doc_requires="gtk-doc >= $1"])
13 AC_MSG_CHECKING([for gtk-doc])
14 PKG_CHECK_EXISTS([$gtk_doc_requires],[have_gtk_doc=yes],[have_gtk_doc=no])
15 AC_MSG_RESULT($have_gtk_doc)
16
17 if test "$have_gtk_doc" = "no"; then
18 AC_MSG_WARN([
19 You will not be able to create source packages with 'make dist'
20 because $gtk_doc_requires is not found.])
21 fi
22
23 dnl check for tools we added during development
24 dnl Use AC_CHECK_PROG to avoid the check target using an absolute path that
25 dnl may not be writable by the user. Currently, automake requires that the
26 dnl test name must end in '.test'.
27 dnl https://bugzilla.gnome.org/show_bug.cgi?id=701638
28 AC_CHECK_PROG([GTKDOC_CHECK],[gtkdoc-check],[gtkdoc-check.test])
29 AC_PATH_PROG([GTKDOC_CHECK_PATH],[gtkdoc-check])
30 AC_PATH_PROGS([GTKDOC_REBASE],[gtkdoc-rebase],[true])
31 AC_PATH_PROG([GTKDOC_MKPDF],[gtkdoc-mkpdf])
32
33 dnl for overriding the documentation installation directory
34 AC_ARG_WITH([html-dir],
35 AS_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),,
36 [with_html_dir='${datadir}/gtk-doc/html'])
37 HTML_DIR="$with_html_dir"
38 AC_SUBST([HTML_DIR])
39
40 dnl enable/disable documentation building
41 AC_ARG_ENABLE([gtk-doc],
42 AS_HELP_STRING([--enable-gtk-doc],
43 [use gtk-doc to build documentation [[default=no]]]),,
44 [enable_gtk_doc=no])
45
46 AC_MSG_CHECKING([whether to build gtk-doc documentation])
47 AC_MSG_RESULT($enable_gtk_doc)
48
49 if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
50 AC_MSG_ERROR([
51 You must have $gtk_doc_requires installed to build documentation for
52 $PACKAGE_NAME. Please install gtk-doc or disable building the
53 documentation by adding '--disable-gtk-doc' to '[$]0'.])
54 fi
55
56 dnl don't check for glib if we build glib
57 if test "x$PACKAGE_NAME" != "xglib"; then
58 dnl don't fail if someone does not have glib
59 PKG_CHECK_MODULES(GTKDOC_DEPS, glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0,,[:])
60 fi
61
62 dnl enable/disable output formats
63 AC_ARG_ENABLE([gtk-doc-html],
64 AS_HELP_STRING([--enable-gtk-doc-html],
65 [build documentation in html format [[default=yes]]]),,
66 [enable_gtk_doc_html=yes])
67 AC_ARG_ENABLE([gtk-doc-pdf],
68 AS_HELP_STRING([--enable-gtk-doc-pdf],
69 [build documentation in pdf format [[default=no]]]),,
70 [enable_gtk_doc_pdf=no])
71
72 if test -z "$GTKDOC_MKPDF"; then
73 enable_gtk_doc_pdf=no
74 fi
75
76 if test -z "$AM_DEFAULT_VERBOSITY"; then
77 AM_DEFAULT_VERBOSITY=1
78 fi
79 AC_SUBST([AM_DEFAULT_VERBOSITY])
80
81 AM_CONDITIONAL([HAVE_GTK_DOC], [test x$have_gtk_doc = xyes])
82 AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])
83 AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [test x$enable_gtk_doc_html = xyes])
84 AM_CONDITIONAL([GTK_DOC_BUILD_PDF], [test x$enable_gtk_doc_pdf = xyes])
85 AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"])
86 AM_CONDITIONAL([GTK_DOC_USE_REBASE], [test -n "$GTKDOC_REBASE"])
87 ])
+0
-212
m4/intltool.m4 less more
0 ## intltool.m4 - Configure intltool for the target system. -*-Shell-script-*-
1 ## Copyright (C) 2001 Eazel, Inc.
2 ## Author: Maciej Stachowiak <mjs@noisehavoc.org>
3 ## Kenneth Christiansen <kenneth@gnu.org>
4 ##
5 ## This program is free software; you can redistribute it and/or modify
6 ## it under the terms of the GNU General Public License as published by
7 ## the Free Software Foundation; either version 2 of the License, or
8 ## (at your option) any later version.
9 ##
10 ## This program is distributed in the hope that it will be useful, but
11 ## WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 ## General Public License for more details.
14 ##
15 ## You should have received a copy of the GNU General Public License
16 ## along with this program; if not, write to the Free Software
17 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 ##
19 ## As a special exception to the GNU General Public License, if you
20 ## distribute this file as part of a program that contains a
21 ## configuration script generated by Autoconf, you may include it under
22 ## the same distribution terms that you use for the rest of that program.
23
24 dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
25 # serial 42 IT_PROG_INTLTOOL
26 AC_DEFUN([IT_PROG_INTLTOOL], [
27 AC_PREREQ([2.50])dnl
28 AC_REQUIRE([AM_NLS])dnl
29
30 case "$am__api_version" in
31 1.[01234])
32 AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool])
33 ;;
34 *)
35 ;;
36 esac
37
38 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
39 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
40 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
41 if test -n "$1"; then
42 AC_MSG_CHECKING([for intltool >= $1])
43 AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
44 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
45 AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.])
46 fi
47
48 AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update])
49 AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge])
50 AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract])
51 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
52 AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.])
53 fi
54
55 if test -z "$AM_DEFAULT_VERBOSITY"; then
56 AM_DEFAULT_VERBOSITY=1
57 fi
58 AC_SUBST([AM_DEFAULT_VERBOSITY])
59
60 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
61 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
62 INTLTOOL__v_MERGE_0='@echo " ITMRG " [$]@;'
63 AC_SUBST(INTLTOOL_V_MERGE)
64 AC_SUBST(INTLTOOL__v_MERGE_)
65 AC_SUBST(INTLTOOL__v_MERGE_0)
66
67 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
68 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
69 intltool__v_merge_options_0='-q'
70 AC_SUBST(INTLTOOL_V_MERGE_OPTIONS)
71 AC_SUBST(intltool__v_merge_options_)
72 AC_SUBST(intltool__v_merge_options_0)
73
74 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
75 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
76 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
77 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
78 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< [$]@'
79 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
80 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
81 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
82 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
83 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
84 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
85 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
86 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< [$]@'
87 else
88 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.[$][$]RANDOM && mkdir [$][$]_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u [$][$]_it_tmp_dir $< [$]@ && rmdir [$][$]_it_tmp_dir'
89 fi
90 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
91 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
92 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
93 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
94 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
95 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
96 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
97
98 _IT_SUBST(INTLTOOL_DESKTOP_RULE)
99 _IT_SUBST(INTLTOOL_DIRECTORY_RULE)
100 _IT_SUBST(INTLTOOL_KEYS_RULE)
101 _IT_SUBST(INTLTOOL_PROP_RULE)
102 _IT_SUBST(INTLTOOL_OAF_RULE)
103 _IT_SUBST(INTLTOOL_PONG_RULE)
104 _IT_SUBST(INTLTOOL_SERVER_RULE)
105 _IT_SUBST(INTLTOOL_SHEET_RULE)
106 _IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
107 _IT_SUBST(INTLTOOL_UI_RULE)
108 _IT_SUBST(INTLTOOL_XAM_RULE)
109 _IT_SUBST(INTLTOOL_KBD_RULE)
110 _IT_SUBST(INTLTOOL_XML_RULE)
111 _IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
112 _IT_SUBST(INTLTOOL_CAVES_RULE)
113 _IT_SUBST(INTLTOOL_SCHEMAS_RULE)
114 _IT_SUBST(INTLTOOL_THEME_RULE)
115 _IT_SUBST(INTLTOOL_SERVICE_RULE)
116 _IT_SUBST(INTLTOOL_POLICY_RULE)
117
118 # Check the gettext tools to make sure they are GNU
119 AC_PATH_PROG(XGETTEXT, xgettext)
120 AC_PATH_PROG(MSGMERGE, msgmerge)
121 AC_PATH_PROG(MSGFMT, msgfmt)
122 AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
123 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
124 AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
125 fi
126 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
127 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
128 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
129 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
130 AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
131 fi
132
133 AC_PATH_PROG(INTLTOOL_PERL, perl)
134 if test -z "$INTLTOOL_PERL"; then
135 AC_MSG_ERROR([perl not found])
136 fi
137 AC_MSG_CHECKING([for perl >= 5.8.1])
138 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
139 if test $? -ne 0; then
140 AC_MSG_ERROR([perl 5.8.1 is required for intltool])
141 else
142 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
143 AC_MSG_RESULT([$IT_PERL_VERSION])
144 fi
145 if test "x$2" != "xno-xml"; then
146 AC_MSG_CHECKING([for XML::Parser])
147 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
148 AC_MSG_RESULT([ok])
149 else
150 AC_MSG_ERROR([XML::Parser perl module is required for intltool])
151 fi
152 fi
153
154 # Substitute ALL_LINGUAS so we can use it in po/Makefile
155 AC_SUBST(ALL_LINGUAS)
156
157 IT_PO_SUBDIR([po])
158
159 ])
160
161
162 # IT_PO_SUBDIR(DIRNAME)
163 # ---------------------
164 # All po subdirs have to be declared with this macro; the subdir "po" is
165 # declared by IT_PROG_INTLTOOL.
166 #
167 AC_DEFUN([IT_PO_SUBDIR],
168 [AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS.
169 dnl
170 dnl The following CONFIG_COMMANDS should be executed at the very end
171 dnl of config.status.
172 AC_CONFIG_COMMANDS_PRE([
173 AC_CONFIG_COMMANDS([$1/stamp-it], [
174 if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then
175 AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.])
176 fi
177 rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
178 >"$1/stamp-it.tmp"
179 [sed '/^#/d
180 s/^[[].*] *//
181 /^[ ]*$/d
182 '"s|^| $ac_top_srcdir/|" \
183 "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES"
184 ]
185 [sed '/^POTFILES =/,/[^\\]$/ {
186 /^POTFILES =/!d
187 r $1/POTFILES
188 }
189 ' "$1/Makefile.in" >"$1/Makefile"]
190 rm -f "$1/Makefile.tmp"
191 mv "$1/stamp-it.tmp" "$1/stamp-it"
192 ])
193 ])dnl
194 ])
195
196 # _IT_SUBST(VARIABLE)
197 # -------------------
198 # Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
199 #
200 AC_DEFUN([_IT_SUBST],
201 [
202 AC_SUBST([$1])
203 m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
204 ]
205 )
206
207 # deprecated macros
208 AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
209 # A hint is needed for aclocal from Automake <= 1.9.4:
210 # AC_DEFUN([AC_PROG_INTLTOOL], ...)
211
+0
-8388
m4/libtool.m4 less more
0 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
1 #
2 # Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
3 # Written by Gordon Matzigkeit, 1996
4 #
5 # This file is free software; the Free Software Foundation gives
6 # unlimited permission to copy and/or distribute it, with or without
7 # modifications, as long as this notice is preserved.
8
9 m4_define([_LT_COPYING], [dnl
10 # Copyright (C) 2014 Free Software Foundation, Inc.
11 # This is free software; see the source for copying conditions. There is NO
12 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
14 # GNU Libtool is free software; you can redistribute it and/or modify
15 # it under the terms of the GNU General Public License as published by
16 # the Free Software Foundation; either version 2 of of the License, or
17 # (at your option) any later version.
18 #
19 # As a special exception to the GNU General Public License, if you
20 # distribute this file as part of a program or library that is built
21 # using GNU Libtool, you may include this file under the same
22 # distribution terms that you use for the rest of that program.
23 #
24 # GNU Libtool is distributed in the hope that it will be useful, but
25 # WITHOUT ANY WARRANTY; without even the implied warranty of
26 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 # GNU General Public License for more details.
28 #
29 # You should have received a copy of the GNU General Public License
30 # along with this program. If not, see <http://www.gnu.org/licenses/>.
31 ])
32
33 # serial 58 LT_INIT
34
35
36 # LT_PREREQ(VERSION)
37 # ------------------
38 # Complain and exit if this libtool version is less that VERSION.
39 m4_defun([LT_PREREQ],
40 [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
41 [m4_default([$3],
42 [m4_fatal([Libtool version $1 or higher is required],
43 63)])],
44 [$2])])
45
46
47 # _LT_CHECK_BUILDDIR
48 # ------------------
49 # Complain if the absolute build directory name contains unusual characters
50 m4_defun([_LT_CHECK_BUILDDIR],
51 [case `pwd` in
52 *\ * | *\ *)
53 AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
54 esac
55 ])
56
57
58 # LT_INIT([OPTIONS])
59 # ------------------
60 AC_DEFUN([LT_INIT],
61 [AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
62 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
63 AC_BEFORE([$0], [LT_LANG])dnl
64 AC_BEFORE([$0], [LT_OUTPUT])dnl
65 AC_BEFORE([$0], [LTDL_INIT])dnl
66 m4_require([_LT_CHECK_BUILDDIR])dnl
67
68 dnl Autoconf doesn't catch unexpanded LT_ macros by default:
69 m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
70 m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
71 dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
72 dnl unless we require an AC_DEFUNed macro:
73 AC_REQUIRE([LTOPTIONS_VERSION])dnl
74 AC_REQUIRE([LTSUGAR_VERSION])dnl
75 AC_REQUIRE([LTVERSION_VERSION])dnl
76 AC_REQUIRE([LTOBSOLETE_VERSION])dnl
77 m4_require([_LT_PROG_LTMAIN])dnl
78
79 _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
80
81 dnl Parse OPTIONS
82 _LT_SET_OPTIONS([$0], [$1])
83
84 # This can be used to rebuild libtool when needed
85 LIBTOOL_DEPS=$ltmain
86
87 # Always use our own libtool.
88 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
89 AC_SUBST(LIBTOOL)dnl
90
91 _LT_SETUP
92
93 # Only expand once:
94 m4_define([LT_INIT])
95 ])# LT_INIT
96
97 # Old names:
98 AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
99 AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
100 dnl aclocal-1.4 backwards compatibility:
101 dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
102 dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
103
104
105 # _LT_PREPARE_CC_BASENAME
106 # -----------------------
107 m4_defun([_LT_PREPARE_CC_BASENAME], [
108 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
109 func_cc_basename ()
110 {
111 for cc_temp in @S|@*""; do
112 case $cc_temp in
113 compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
114 distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
115 \-*) ;;
116 *) break;;
117 esac
118 done
119 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
120 }
121 ])# _LT_PREPARE_CC_BASENAME
122
123
124 # _LT_CC_BASENAME(CC)
125 # -------------------
126 # It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME,
127 # but that macro is also expanded into generated libtool script, which
128 # arranges for $SED and $ECHO to be set by different means.
129 m4_defun([_LT_CC_BASENAME],
130 [m4_require([_LT_PREPARE_CC_BASENAME])dnl
131 AC_REQUIRE([_LT_DECL_SED])dnl
132 AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
133 func_cc_basename $1
134 cc_basename=$func_cc_basename_result
135 ])
136
137
138 # _LT_FILEUTILS_DEFAULTS
139 # ----------------------
140 # It is okay to use these file commands and assume they have been set
141 # sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'.
142 m4_defun([_LT_FILEUTILS_DEFAULTS],
143 [: ${CP="cp -f"}
144 : ${MV="mv -f"}
145 : ${RM="rm -f"}
146 ])# _LT_FILEUTILS_DEFAULTS
147
148
149 # _LT_SETUP
150 # ---------
151 m4_defun([_LT_SETUP],
152 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
153 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
154 AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
155 AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
156
157 _LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
158 dnl
159 _LT_DECL([], [host_alias], [0], [The host system])dnl
160 _LT_DECL([], [host], [0])dnl
161 _LT_DECL([], [host_os], [0])dnl
162 dnl
163 _LT_DECL([], [build_alias], [0], [The build system])dnl
164 _LT_DECL([], [build], [0])dnl
165 _LT_DECL([], [build_os], [0])dnl
166 dnl
167 AC_REQUIRE([AC_PROG_CC])dnl
168 AC_REQUIRE([LT_PATH_LD])dnl
169 AC_REQUIRE([LT_PATH_NM])dnl
170 dnl
171 AC_REQUIRE([AC_PROG_LN_S])dnl
172 test -z "$LN_S" && LN_S="ln -s"
173 _LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
174 dnl
175 AC_REQUIRE([LT_CMD_MAX_LEN])dnl
176 _LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
177 _LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
178 dnl
179 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
180 m4_require([_LT_CHECK_SHELL_FEATURES])dnl
181 m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
182 m4_require([_LT_CMD_RELOAD])dnl
183 m4_require([_LT_CHECK_MAGIC_METHOD])dnl
184 m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
185 m4_require([_LT_CMD_OLD_ARCHIVE])dnl
186 m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
187 m4_require([_LT_WITH_SYSROOT])dnl
188 m4_require([_LT_CMD_TRUNCATE])dnl
189
190 _LT_CONFIG_LIBTOOL_INIT([
191 # See if we are running on zsh, and set the options that allow our
192 # commands through without removal of \ escapes INIT.
193 if test -n "\${ZSH_VERSION+set}"; then
194 setopt NO_GLOB_SUBST
195 fi
196 ])
197 if test -n "${ZSH_VERSION+set}"; then
198 setopt NO_GLOB_SUBST
199 fi
200
201 _LT_CHECK_OBJDIR
202
203 m4_require([_LT_TAG_COMPILER])dnl
204
205 case $host_os in
206 aix3*)
207 # AIX sometimes has problems with the GCC collect2 program. For some
208 # reason, if we set the COLLECT_NAMES environment variable, the problems
209 # vanish in a puff of smoke.
210 if test set != "${COLLECT_NAMES+set}"; then
211 COLLECT_NAMES=
212 export COLLECT_NAMES
213 fi
214 ;;
215 esac
216
217 # Global variables:
218 ofile=libtool
219 can_build_shared=yes
220
221 # All known linkers require a '.a' archive for static linking (except MSVC,
222 # which needs '.lib').
223 libext=a
224
225 with_gnu_ld=$lt_cv_prog_gnu_ld
226
227 old_CC=$CC
228 old_CFLAGS=$CFLAGS
229
230 # Set sane defaults for various variables
231 test -z "$CC" && CC=cc
232 test -z "$LTCC" && LTCC=$CC
233 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
234 test -z "$LD" && LD=ld
235 test -z "$ac_objext" && ac_objext=o
236
237 _LT_CC_BASENAME([$compiler])
238
239 # Only perform the check for file, if the check method requires it
240 test -z "$MAGIC_CMD" && MAGIC_CMD=file
241 case $deplibs_check_method in
242 file_magic*)
243 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
244 _LT_PATH_MAGIC
245 fi
246 ;;
247 esac
248
249 # Use C for the default configuration in the libtool script
250 LT_SUPPORTED_TAG([CC])
251 _LT_LANG_C_CONFIG
252 _LT_LANG_DEFAULT_CONFIG
253 _LT_CONFIG_COMMANDS
254 ])# _LT_SETUP
255
256
257 # _LT_PREPARE_SED_QUOTE_VARS
258 # --------------------------
259 # Define a few sed substitution that help us do robust quoting.
260 m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
261 [# Backslashify metacharacters that are still active within
262 # double-quoted strings.
263 sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
264
265 # Same as above, but do not quote variable references.
266 double_quote_subst='s/\([["`\\]]\)/\\\1/g'
267
268 # Sed substitution to delay expansion of an escaped shell variable in a
269 # double_quote_subst'ed string.
270 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
271
272 # Sed substitution to delay expansion of an escaped single quote.
273 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
274
275 # Sed substitution to avoid accidental globbing in evaled expressions
276 no_glob_subst='s/\*/\\\*/g'
277 ])
278
279 # _LT_PROG_LTMAIN
280 # ---------------
281 # Note that this code is called both from 'configure', and 'config.status'
282 # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
283 # 'config.status' has no value for ac_aux_dir unless we are using Automake,
284 # so we pass a copy along to make sure it has a sensible value anyway.
285 m4_defun([_LT_PROG_LTMAIN],
286 [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
287 _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
288 ltmain=$ac_aux_dir/ltmain.sh
289 ])# _LT_PROG_LTMAIN
290
291
292 ## ------------------------------------- ##
293 ## Accumulate code for creating libtool. ##
294 ## ------------------------------------- ##
295
296 # So that we can recreate a full libtool script including additional
297 # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
298 # in macros and then make a single call at the end using the 'libtool'
299 # label.
300
301
302 # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
303 # ----------------------------------------
304 # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
305 m4_define([_LT_CONFIG_LIBTOOL_INIT],
306 [m4_ifval([$1],
307 [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
308 [$1
309 ])])])
310
311 # Initialize.
312 m4_define([_LT_OUTPUT_LIBTOOL_INIT])
313
314
315 # _LT_CONFIG_LIBTOOL([COMMANDS])
316 # ------------------------------
317 # Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
318 m4_define([_LT_CONFIG_LIBTOOL],
319 [m4_ifval([$1],
320 [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
321 [$1
322 ])])])
323
324 # Initialize.
325 m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
326
327
328 # _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
329 # -----------------------------------------------------
330 m4_defun([_LT_CONFIG_SAVE_COMMANDS],
331 [_LT_CONFIG_LIBTOOL([$1])
332 _LT_CONFIG_LIBTOOL_INIT([$2])
333 ])
334
335
336 # _LT_FORMAT_COMMENT([COMMENT])
337 # -----------------------------
338 # Add leading comment marks to the start of each line, and a trailing
339 # full-stop to the whole comment if one is not present already.
340 m4_define([_LT_FORMAT_COMMENT],
341 [m4_ifval([$1], [
342 m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
343 [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
344 )])
345
346
347
348 ## ------------------------ ##
349 ## FIXME: Eliminate VARNAME ##
350 ## ------------------------ ##
351
352
353 # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
354 # -------------------------------------------------------------------
355 # CONFIGNAME is the name given to the value in the libtool script.
356 # VARNAME is the (base) name used in the configure script.
357 # VALUE may be 0, 1 or 2 for a computed quote escaped value based on
358 # VARNAME. Any other value will be used directly.
359 m4_define([_LT_DECL],
360 [lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
361 [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
362 [m4_ifval([$1], [$1], [$2])])
363 lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
364 m4_ifval([$4],
365 [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
366 lt_dict_add_subkey([lt_decl_dict], [$2],
367 [tagged?], [m4_ifval([$5], [yes], [no])])])
368 ])
369
370
371 # _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
372 # --------------------------------------------------------
373 m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
374
375
376 # lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
377 # ------------------------------------------------
378 m4_define([lt_decl_tag_varnames],
379 [_lt_decl_filter([tagged?], [yes], $@)])
380
381
382 # _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
383 # ---------------------------------------------------------
384 m4_define([_lt_decl_filter],
385 [m4_case([$#],
386 [0], [m4_fatal([$0: too few arguments: $#])],
387 [1], [m4_fatal([$0: too few arguments: $#: $1])],
388 [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
389 [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
390 [lt_dict_filter([lt_decl_dict], $@)])[]dnl
391 ])
392
393
394 # lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
395 # --------------------------------------------------
396 m4_define([lt_decl_quote_varnames],
397 [_lt_decl_filter([value], [1], $@)])
398
399
400 # lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
401 # ---------------------------------------------------
402 m4_define([lt_decl_dquote_varnames],
403 [_lt_decl_filter([value], [2], $@)])
404
405
406 # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
407 # ---------------------------------------------------
408 m4_define([lt_decl_varnames_tagged],
409 [m4_assert([$# <= 2])dnl
410 _$0(m4_quote(m4_default([$1], [[, ]])),
411 m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
412 m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
413 m4_define([_lt_decl_varnames_tagged],
414 [m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
415
416
417 # lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
418 # ------------------------------------------------
419 m4_define([lt_decl_all_varnames],
420 [_$0(m4_quote(m4_default([$1], [[, ]])),
421 m4_if([$2], [],
422 m4_quote(lt_decl_varnames),
423 m4_quote(m4_shift($@))))[]dnl
424 ])
425 m4_define([_lt_decl_all_varnames],
426 [lt_join($@, lt_decl_varnames_tagged([$1],
427 lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
428 ])
429
430
431 # _LT_CONFIG_STATUS_DECLARE([VARNAME])
432 # ------------------------------------
433 # Quote a variable value, and forward it to 'config.status' so that its
434 # declaration there will have the same value as in 'configure'. VARNAME
435 # must have a single quote delimited value for this to work.
436 m4_define([_LT_CONFIG_STATUS_DECLARE],
437 [$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
438
439
440 # _LT_CONFIG_STATUS_DECLARATIONS
441 # ------------------------------
442 # We delimit libtool config variables with single quotes, so when
443 # we write them to config.status, we have to be sure to quote all
444 # embedded single quotes properly. In configure, this macro expands
445 # each variable declared with _LT_DECL (and _LT_TAGDECL) into:
446 #
447 # <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
448 m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
449 [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
450 [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
451
452
453 # _LT_LIBTOOL_TAGS
454 # ----------------
455 # Output comment and list of tags supported by the script
456 m4_defun([_LT_LIBTOOL_TAGS],
457 [_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
458 available_tags='_LT_TAGS'dnl
459 ])
460
461
462 # _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
463 # -----------------------------------
464 # Extract the dictionary values for VARNAME (optionally with TAG) and
465 # expand to a commented shell variable setting:
466 #
467 # # Some comment about what VAR is for.
468 # visible_name=$lt_internal_name
469 m4_define([_LT_LIBTOOL_DECLARE],
470 [_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
471 [description])))[]dnl
472 m4_pushdef([_libtool_name],
473 m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
474 m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
475 [0], [_libtool_name=[$]$1],
476 [1], [_libtool_name=$lt_[]$1],
477 [2], [_libtool_name=$lt_[]$1],
478 [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
479 m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
480 ])
481
482
483 # _LT_LIBTOOL_CONFIG_VARS
484 # -----------------------
485 # Produce commented declarations of non-tagged libtool config variables
486 # suitable for insertion in the LIBTOOL CONFIG section of the 'libtool'
487 # script. Tagged libtool config variables (even for the LIBTOOL CONFIG
488 # section) are produced by _LT_LIBTOOL_TAG_VARS.
489 m4_defun([_LT_LIBTOOL_CONFIG_VARS],
490 [m4_foreach([_lt_var],
491 m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
492 [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
493
494
495 # _LT_LIBTOOL_TAG_VARS(TAG)
496 # -------------------------
497 m4_define([_LT_LIBTOOL_TAG_VARS],
498 [m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
499 [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
500
501
502 # _LT_TAGVAR(VARNAME, [TAGNAME])
503 # ------------------------------
504 m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
505
506
507 # _LT_CONFIG_COMMANDS
508 # -------------------
509 # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
510 # variables for single and double quote escaping we saved from calls
511 # to _LT_DECL, we can put quote escaped variables declarations
512 # into 'config.status', and then the shell code to quote escape them in
513 # for loops in 'config.status'. Finally, any additional code accumulated
514 # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
515 m4_defun([_LT_CONFIG_COMMANDS],
516 [AC_PROVIDE_IFELSE([LT_OUTPUT],
517 dnl If the libtool generation code has been placed in $CONFIG_LT,
518 dnl instead of duplicating it all over again into config.status,
519 dnl then we will have config.status run $CONFIG_LT later, so it
520 dnl needs to know what name is stored there:
521 [AC_CONFIG_COMMANDS([libtool],
522 [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
523 dnl If the libtool generation code is destined for config.status,
524 dnl expand the accumulated commands and init code now:
525 [AC_CONFIG_COMMANDS([libtool],
526 [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
527 ])#_LT_CONFIG_COMMANDS
528
529
530 # Initialize.
531 m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
532 [
533
534 # The HP-UX ksh and POSIX shell print the target directory to stdout
535 # if CDPATH is set.
536 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
537
538 sed_quote_subst='$sed_quote_subst'
539 double_quote_subst='$double_quote_subst'
540 delay_variable_subst='$delay_variable_subst'
541 _LT_CONFIG_STATUS_DECLARATIONS
542 LTCC='$LTCC'
543 LTCFLAGS='$LTCFLAGS'
544 compiler='$compiler_DEFAULT'
545
546 # A function that is used when there is no print builtin or printf.
547 func_fallback_echo ()
548 {
549 eval 'cat <<_LTECHO_EOF
550 \$[]1
551 _LTECHO_EOF'
552 }
553
554 # Quote evaled strings.
555 for var in lt_decl_all_varnames([[ \
556 ]], lt_decl_quote_varnames); do
557 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
558 *[[\\\\\\\`\\"\\\$]]*)
559 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
560 ;;
561 *)
562 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
563 ;;
564 esac
565 done
566
567 # Double-quote double-evaled strings.
568 for var in lt_decl_all_varnames([[ \
569 ]], lt_decl_dquote_varnames); do
570 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
571 *[[\\\\\\\`\\"\\\$]]*)
572 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
573 ;;
574 *)
575 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
576 ;;
577 esac
578 done
579
580 _LT_OUTPUT_LIBTOOL_INIT
581 ])
582
583 # _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
584 # ------------------------------------
585 # Generate a child script FILE with all initialization necessary to
586 # reuse the environment learned by the parent script, and make the
587 # file executable. If COMMENT is supplied, it is inserted after the
588 # '#!' sequence but before initialization text begins. After this
589 # macro, additional text can be appended to FILE to form the body of
590 # the child script. The macro ends with non-zero status if the
591 # file could not be fully written (such as if the disk is full).
592 m4_ifdef([AS_INIT_GENERATED],
593 [m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
594 [m4_defun([_LT_GENERATED_FILE_INIT],
595 [m4_require([AS_PREPARE])]dnl
596 [m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
597 [lt_write_fail=0
598 cat >$1 <<_ASEOF || lt_write_fail=1
599 #! $SHELL
600 # Generated by $as_me.
601 $2
602 SHELL=\${CONFIG_SHELL-$SHELL}
603 export SHELL
604 _ASEOF
605 cat >>$1 <<\_ASEOF || lt_write_fail=1
606 AS_SHELL_SANITIZE
607 _AS_PREPARE
608 exec AS_MESSAGE_FD>&1
609 _ASEOF
610 test 0 = "$lt_write_fail" && chmod +x $1[]dnl
611 m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
612
613 # LT_OUTPUT
614 # ---------
615 # This macro allows early generation of the libtool script (before
616 # AC_OUTPUT is called), incase it is used in configure for compilation
617 # tests.
618 AC_DEFUN([LT_OUTPUT],
619 [: ${CONFIG_LT=./config.lt}
620 AC_MSG_NOTICE([creating $CONFIG_LT])
621 _LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
622 [# Run this file to recreate a libtool stub with the current configuration.])
623
624 cat >>"$CONFIG_LT" <<\_LTEOF
625 lt_cl_silent=false
626 exec AS_MESSAGE_LOG_FD>>config.log
627 {
628 echo
629 AS_BOX([Running $as_me.])
630 } >&AS_MESSAGE_LOG_FD
631
632 lt_cl_help="\
633 '$as_me' creates a local libtool stub from the current configuration,
634 for use in further configure time tests before the real libtool is
635 generated.
636
637 Usage: $[0] [[OPTIONS]]
638
639 -h, --help print this help, then exit
640 -V, --version print version number, then exit
641 -q, --quiet do not print progress messages
642 -d, --debug don't remove temporary files
643
644 Report bugs to <bug-libtool@gnu.org>."
645
646 lt_cl_version="\
647 m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
648 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
649 configured by $[0], generated by m4_PACKAGE_STRING.
650
651 Copyright (C) 2011 Free Software Foundation, Inc.
652 This config.lt script is free software; the Free Software Foundation
653 gives unlimited permision to copy, distribute and modify it."
654
655 while test 0 != $[#]
656 do
657 case $[1] in
658 --version | --v* | -V )
659 echo "$lt_cl_version"; exit 0 ;;
660 --help | --h* | -h )
661 echo "$lt_cl_help"; exit 0 ;;
662 --debug | --d* | -d )
663 debug=: ;;
664 --quiet | --q* | --silent | --s* | -q )
665 lt_cl_silent=: ;;
666
667 -*) AC_MSG_ERROR([unrecognized option: $[1]
668 Try '$[0] --help' for more information.]) ;;
669
670 *) AC_MSG_ERROR([unrecognized argument: $[1]
671 Try '$[0] --help' for more information.]) ;;
672 esac
673 shift
674 done
675
676 if $lt_cl_silent; then
677 exec AS_MESSAGE_FD>/dev/null
678 fi
679 _LTEOF
680
681 cat >>"$CONFIG_LT" <<_LTEOF
682 _LT_OUTPUT_LIBTOOL_COMMANDS_INIT
683 _LTEOF
684
685 cat >>"$CONFIG_LT" <<\_LTEOF
686 AC_MSG_NOTICE([creating $ofile])
687 _LT_OUTPUT_LIBTOOL_COMMANDS
688 AS_EXIT(0)
689 _LTEOF
690 chmod +x "$CONFIG_LT"
691
692 # configure is writing to config.log, but config.lt does its own redirection,
693 # appending to config.log, which fails on DOS, as config.log is still kept
694 # open by configure. Here we exec the FD to /dev/null, effectively closing
695 # config.log, so it can be properly (re)opened and appended to by config.lt.
696 lt_cl_success=:
697 test yes = "$silent" &&
698 lt_config_lt_args="$lt_config_lt_args --quiet"
699 exec AS_MESSAGE_LOG_FD>/dev/null
700 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
701 exec AS_MESSAGE_LOG_FD>>config.log
702 $lt_cl_success || AS_EXIT(1)
703 ])# LT_OUTPUT
704
705
706 # _LT_CONFIG(TAG)
707 # ---------------
708 # If TAG is the built-in tag, create an initial libtool script with a
709 # default configuration from the untagged config vars. Otherwise add code
710 # to config.status for appending the configuration named by TAG from the
711 # matching tagged config vars.
712 m4_defun([_LT_CONFIG],
713 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
714 _LT_CONFIG_SAVE_COMMANDS([
715 m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
716 m4_if(_LT_TAG, [C], [
717 # See if we are running on zsh, and set the options that allow our
718 # commands through without removal of \ escapes.
719 if test -n "${ZSH_VERSION+set}"; then
720 setopt NO_GLOB_SUBST
721 fi
722
723 cfgfile=${ofile}T
724 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
725 $RM "$cfgfile"
726
727 cat <<_LT_EOF >> "$cfgfile"
728 #! $SHELL
729 # Generated automatically by $as_me ($PACKAGE) $VERSION
730 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
731 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
732
733 # Provide generalized library-building support services.
734 # Written by Gordon Matzigkeit, 1996
735
736 _LT_COPYING
737 _LT_LIBTOOL_TAGS