Commit fac68554 authored by Christian Persch's avatar Christian Persch

build: Port to meson

parent ed58089b
Noah Levitt <nlevitt@columbia.edu>
Daniel Elstner <daniel.elstner@gmx.net>
Padraig O'Briain <Padraig.Obriain@sun.com>
DaeHyun Sung <sungdh86@gmail.com>
Gucharmap doesn't use ChangeLog anymore. Instead, we use git checkin comments
to autogenerate a ChangeLog file at "make dist" time. Use "make ChangeLog" in the
toplevel directory to manually create a ChangeLog. Or use
http://svn.gnome.org/viewvc/gucharmap/?view=queryform
to look up the version history.
When committing a patch to svn, use a checkin comment that describes the changes
made. If the checkin is related to a bug, reference the bug number. Example:
When removing a toolbar, make its items available again in the toolbar
editor. (Bug #131182)
Checkin comments MUST use the UTF-8 encoding.
Do NOT commit to this module without permission from a maintainer.
See the MAINTAINERS file for who they are.
This diff is collapsed.
NULL =
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
GITIGNOREFILES = m4
SUBDIRS = po pixmaps gucharmap data docs
if ENABLE_CHARMAP
SUBDIRS += help
endif
distuninstallcheck_listfiles = find . -type -f -print | grep -v scrollkeeper
distcleancheck_listfiles = find . -type -f print | grep -v 'omf\.out'
desktopdir = $(datadir)/applications
desktop_in_files = gucharmap.desktop.in.in
desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gucharmap-$(GUCHARMAP_API_PC_VERSION).pc
desktop-file-validate: $(desktop_DATA)
for f in $^; do \
$(DESKTOP_FILE_VALIDATE) $$f; \
done
check-local: desktop-file-validate
EXTRA_DIST = \
ChangeLog.pre-2-23 \
ChangeLog.README \
autogen.sh \
gtkrc.win32 \
COPYING.GFDL \
COPYING.UNICODE \
$(NULL)
DISTCHECK_CONFIGURE_FLAGS = \
--disable-scrollkeeper \
--disable-schemas-install \
--enable-gtk-doc \
--disable-introspection \
--enable-charmap \
--with-gtk=3.0 \
--with-unicode-data=$(unicodedatadir)
CLEANFILES = \
$(desktop_DATA) \
$(NULL)
MAINTAINERCLEANFILES = \
$(srcdir)/INSTALL \
$(srcdir)/aclocal.m4 \
$(srcdir)/autoscan.log \
$(srcdir)/compile \
$(srcdir)/config.guess \
$(srcdir)/config.h.in \
$(srcdir)/config.sub \
$(srcdir)/configure.scan \
$(srcdir)/depcomp \
$(srcdir)/install-sh \
$(srcdir)/ltmain.sh \
$(srcdir)/missing \
$(srcdir)/mkinstalldirs \
$(srcdir)/gtk-doc.make \
`find "$(srcdir)" -type f -name Makefile.in -print`
ChangeLog:
$(AM_V_GEN) if test -f $(top_srcdir)/.git/HEAD; then \
git log --stat > $@; \
fi
dist: ChangeLog
.PHONY: ChangeLog
@INTLTOOL_DESKTOP_RULE@
-include $(top_srcdir)/git.mk
# Copyright © 2019 Christian Persch
#
# This programme is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or (at your
# option) any later version.
#
# This programme is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this library. If not, see <https://www.gnu.org/licenses/>.
srcdir=@srcdir@
builddir=@builddir@
#
NTHREADS = 1
NJOBS = -j$(NTHREADS)
NINJA = ninja $(NJOBS)
#
all:
$(NINJA)
check:
MESON_TESTTHREADS=$(NTHREADS) $(NINJA) test
clean:
$(NINJA) clean
coverage:
$(NINJA) coverage
install:
$(NINJA) install
uninstall:
$(NINJA) uninstall
gucharmap 9.0.0:
Update to Unicode 9.0.0 release.
gucharmap 8.0.0:
Gucharmap no longer includes Unicode data. Instead the data
is generated a build time from the unicode source data, which
can either be downloaded from unicode.org, or be provided in
a directory specified by the --with-unicode-data=DIRECTORY
configure switch.
gucharmap 3.18.0:
- Update to unicode 8.0
gucharmap 3.12.0:
- Translation updates
gucharmap 3.9.99:
- Translation updates
gucharmap 3.9.92:
- Fix action / settings interaction (#686820)
- Update to latest unicode data
- Translation updates
gucharmap 3.9.90:
- Build fixes
- Update to unicode 6.3.0 beta
- Translation updates
gucharmap 3.8.2
- fix the build with vala 0.20
- translation updates
gucharmap 3.8.0
- Bug fixes
- Translation updates
gucharmap 3.6.0
- Translation updates
gucharmap 3.5.99
- Translation updates
- Look for help files in the right location
gucharmap 3.5.90
- No news provided
gucharmap 3.5.1
- Update to Unicode 6.2.0 beta
- Translation updates
- Define an app menu
gucharmap 3.4.1.1
- No changes
gucharmap 3.4.1
- Translation updates
gucharmap 3.4.0
* Updated to Unicode 6.1.0
* Ported to GSettings
* Misc cleanup and bug fixes
* Translation updates
gucharmap 3.2.0
* Drop GTK 2 support
* Translation updates
gucharmap 3.0.0
* Updated to Unicode 6.0.0
* Support building with gtk+ 3.0
* Update introspection support, and add annotations
* Bugs fixed: http://bugzilla.gnome.org/buglist.cgi?product=gucharmap&bug_status=RESOLVED&resolution=FIXED&chfieldfrom=2010-09-27&chfieldto=2011-04-04+23:59:00&chfield=bug_status
* Translation updates
gucharmap 2.32.0
* Gucharmap is now licensed under GPL 3 or later
* Bugs fixed: http://bugzilla.gnome.org/buglist.cgi?product=gucharmap&bug_status=RESOLVED&resolution=FIXED&chfieldfrom=2010-03-29&chfieldto=2010-09-27+23:59:00&chfield=bug_status
* Translation updates
gucharmap 2.30.0
* Updated to Unicode 5.2.0
* Bugs fixed: http://bugzilla.gnome.org/buglist.cgi?product=gucharmap&bug_status=RESOLVED&resolution=FIXED&chfieldfrom=2009-09-21&chfieldto=2010-03-29+23:59:00&chfield=bug_status
* Translation updates
gucharmap 2.28.0
* Bugs fixed: http://bugzilla.gnome.org/buglist.cgi?product=gucharmap&bug_status=RESOLVED&resolution=FIXED&chfieldfrom=2009-03-16&chfieldto=2009-09-21+23:59:00&chfield=bug_status
- Translation updates
gucharmap 2.26.0
* Bugs fixed: http://bugzilla.gnome.org/buglist.cgi?product=gucharmap&bug_status=RESOLVED&resolution=FIXED&chfieldfrom=2008-09-22&chfieldto=2009-03-16+23:59:00&chfield=bug_status
- Translation updates
gucharmap 2.24.0
- Updated translations.
gucharmap 2.23.3
- API changed; the pkg-config name is now "gucharmap-2"
- support for Unicode 5.1
- gtk-doc API docs
- python bindings
- many bug fixes
gucharmap 2.21.4
Bugfixes:
- Bug 396243 – Fix character popup problems with alternative window managers
- Bug 501915 – Fix character popup sizing
- Bug 331103 – Don't export internal functions
- Bug 501710 – Build fix
- Bug 469131 – Remove libgnome dependency
gucharmap 1.10.1
Bug 311912 – Should come up showing the unicode block for the default
language
Patch from Federico Mena Quintero
Bug 357471 – chartable::finalize()
Patch from paolo borelli
Bug 396265 – don't export internal symbols
Bug 434276 – G_UNICODE_BREAK_SURROGATE
Patch from huzheng
Bug 433134 – not chaining up dispose/finalize handlers
gucharmap 1.10.0
- Updated translations.
gucharmap 1.9.0
- Updated build system.
- Updated translations.
gucharmap 1.8.0
- Small fixes and new translations.
gucharmap 1.7.0
Bug 341260 – String "Snap Columns to Power of Two" not marked for translation
Part of Bug 331103 – please use '_' to indicate internal symbols
Bug 334505 – Search buttons Prev Next unsensitive when they shouldn't be
Bug 336283 – Update to UCD 5.0
Update to Unicode 5.0 Character Database
Bug 337943 – [Patch] Use po/LINGUAS
Patch from Przemysław Grzegorczyk.
Bug 335952 – refcount leak in main
Patch from Christian Persch.
Bug 334865 – tiny string leak
Patch from Paolo Borelli.
Misc fixes.
gucharmap 1.6. Significant changes since 1.4:
- Updated to Unicode 4.1 character database.
- Improved search facility.
- Various bug fixes.
- New and updated translations.
gucharmap 1.4. Significant changes since 1.2:
- View by script as well as by Unicode block.
- New documentation in the following languages:
de es fr it ja ko sv zh_CN zh_HK zh_TW
- English documentation improved and updated.
- Search modified to look in CJK ideograph definitions as well as
character names. Search heuristic also improved in other areas.
- Bothersome gucharmap input method removed.
- Many user interface improvements.
- Much code reorganized.
- New and updated translations: ar az bn ca cs cy da de el en_CA
en_GB es fa fi fr ga hi id it ja ko lt mn ms nl no pa pl pt pt_BR
sk sq sr sr@Latn sv th uk zh_CN
Gucharmap
=========
Unicode data
------------
Note that to build gucharmap, you need to provide the (absolute) path
to the unicode data files to the -Ducd_path=... argument when running
meson. These data files are not included in gucharmap; you need to
download them separately, or use the package provided by your
distribution. E.g. on fedora, install the unicode-ucd package.
dnl Macros to check the presence of generic (non-typed) symbols.
dnl Copyright (c) 2006-2008 Diego Pettenò <flameeyes@gmail.com>
dnl Copyright (c) 2006-2008 xine project
dnl
dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; either version 3, or (at your option)
dnl any later version.
dnl
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
dnl GNU General Public License for more details.
dnl
dnl You should have received a copy of the GNU General Public License
dnl along with this program; if not, write to the Free Software
dnl Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
dnl 02110-1301, USA.
dnl
dnl As a special exception, the copyright owners of the
dnl macro gives unlimited permission to copy, distribute and modify the
dnl configure scripts that are the output of Autoconf when processing the
dnl Macro. You need not follow the terms of the GNU General Public
dnl License when using or distributing such scripts, even though portions
dnl of the text of the Macro appear in them. The GNU General Public
dnl License (GPL) does govern all other use of the material that
dnl constitutes the Autoconf Macro.
dnl
dnl This special exception to the GPL applies to versions of the
dnl Autoconf Macro released by this project. When you make and
dnl distribute a modified version of the Autoconf Macro, you may extend
dnl this special exception to the GPL to apply to your modified version as
dnl well.
dnl Check if the flag is supported by compiler
dnl CC_CHECK_CFLAGS_SILENT([FLAG], [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
AC_DEFUN([CC_CHECK_CFLAGS_SILENT], [
AC_CACHE_VAL(AS_TR_SH([cc_cv_cflags_$1]),
[ac_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $1"
AC_COMPILE_IFELSE([AC_LANG_SOURCE([int a;])],
[eval "AS_TR_SH([cc_cv_cflags_$1])='yes'"],
[eval "AS_TR_SH([cc_cv_cflags_$1])='no'"])
CFLAGS="$ac_save_CFLAGS"
])
AS_IF([eval test x$]AS_TR_SH([cc_cv_cflags_$1])[ = xyes],
[$2], [$3])
])
dnl Check if the flag is supported by compiler (cacheable)
dnl CC_CHECK_CFLAGS([FLAG], [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
AC_DEFUN([CC_CHECK_CFLAGS], [
AC_CACHE_CHECK([if $CC supports $1 flag],
AS_TR_SH([cc_cv_cflags_$1]),
CC_CHECK_CFLAGS_SILENT([$1]) dnl Don't execute actions here!
)
AS_IF([eval test x$]AS_TR_SH([cc_cv_cflags_$1])[ = xyes],
[$2], [$3])
])
dnl CC_CHECK_CFLAG_APPEND(FLAG, [action-if-found], [action-if-not-found])
dnl Check for CFLAG and appends them to CFLAGS if supported
AC_DEFUN([CC_CHECK_CFLAG_APPEND], [
AC_CACHE_CHECK([if $CC supports $1 flag],
AS_TR_SH([cc_cv_cflags_$1]),
CC_CHECK_CFLAGS_SILENT([$1]) dnl Don't execute actions here!
)
AS_IF([eval test x$]AS_TR_SH([cc_cv_cflags_$1])[ = xyes],
[CFLAGS="$CFLAGS $1"; DEBUG_CFLAGS="$DEBUG_CFLAGS $1"; $2], [$3])
])
dnl CC_CHECK_CFLAGS_APPEND([FLAG1 FLAG2], [action-if-found], [action-if-not])
AC_DEFUN([CC_CHECK_CFLAGS_APPEND], [
for flag in $1; do
CC_CHECK_CFLAG_APPEND($flag, [$2], [$3])
done
])
dnl Check if the flag is supported by linker (cacheable)
dnl CC_CHECK_LDFLAGS([FLAG], [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
AC_DEFUN([CC_CHECK_LDFLAGS], [
AC_CACHE_CHECK([if $CC supports $1 flag],
AS_TR_SH([cc_cv_ldflags_$1]),
[ac_save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS $1"
AC_LANG_PUSH([C])
AC_LINK_IFELSE([AC_LANG_SOURCE([int main() { return 1; }])],
[eval "AS_TR_SH([cc_cv_ldflags_$1])='yes'"],
[eval "AS_TR_SH([cc_cv_ldflags_$1])="])
AC_LANG_POP([C])
LDFLAGS="$ac_save_LDFLAGS"
])
AS_IF([eval test x$]AS_TR_SH([cc_cv_ldflags_$1])[ = xyes],
[$2], [$3])
])
dnl define the LDFLAGS_NOUNDEFINED variable with the correct value for
dnl the current linker to avoid undefined references in a shared object.
AC_DEFUN([CC_NOUNDEFINED], [
dnl We check $host for which systems to enable this for.
AC_REQUIRE([AC_CANONICAL_HOST])
case $host in
dnl FreeBSD (et al.) does not complete linking for shared objects when pthreads
dnl are requested, as different implementations are present; to avoid problems
dnl use -Wl,-z,defs only for those platform not behaving this way.
*-freebsd* | *-openbsd*) ;;
*)
dnl First of all check for the --no-undefined variant of GNU ld. This allows
dnl for a much more readable commandline, so that people can understand what
dnl it does without going to look for what the heck -z defs does.
for possible_flags in "-Wl,--no-undefined" "-Wl,-z,defs"; do
CC_CHECK_LDFLAGS([$possible_flags], [LDFLAGS_NOUNDEFINED="$possible_flags"])
break
done
;;
esac
AC_SUBST([LDFLAGS_NOUNDEFINED])
])
dnl Check for a -Werror flag or equivalent. -Werror is the GCC
dnl and ICC flag that tells the compiler to treat all the warnings
dnl as fatal. We usually need this option to make sure that some
dnl constructs (like attributes) are not simply ignored.
dnl
dnl Other compilers don't support -Werror per se, but they support
dnl an equivalent flag:
dnl - Sun Studio compiler supports -errwarn=%all
AC_DEFUN([CC_CHECK_WERROR], [
AC_CACHE_CHECK(
[for $CC way to treat warnings as errors],
[cc_cv_werror],
[CC_CHECK_CFLAGS_SILENT([-Werror], [cc_cv_werror=-Werror],
[CC_CHECK_CFLAGS_SILENT([-errwarn=%all], [cc_cv_werror=-errwarn=%all])])
])
])
AC_DEFUN([CC_CHECK_ATTRIBUTE], [
AC_REQUIRE([CC_CHECK_WERROR])
AC_CACHE_CHECK([if $CC supports __attribute__(( ifelse([$2], , [$1], [$2]) ))],
AS_TR_SH([cc_cv_attribute_$1]),
[ac_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $cc_cv_werror"
AC_LANG_PUSH([C])
AC_COMPILE_IFELSE([AC_LANG_SOURCE([$3])],
[eval "AS_TR_SH([cc_cv_attribute_$1])='yes'"],
[eval "AS_TR_SH([cc_cv_attribute_$1])='no'"])
AC_LANG_POP([C])
CFLAGS="$ac_save_CFLAGS"
])
AS_IF([eval test x$]AS_TR_SH([cc_cv_attribute_$1])[ = xyes],
[AC_DEFINE(
AS_TR_CPP([SUPPORT_ATTRIBUTE_$1]), 1,
[Define this if the compiler supports __attribute__(( ifelse([$2], , [$1], [$2]) ))]
)
$4],
[$5])
])
AC_DEFUN([CC_ATTRIBUTE_CONSTRUCTOR], [
CC_CHECK_ATTRIBUTE(
[constructor],,
[void __attribute__((constructor)) ctor() { int a; }],
[$1], [$2])
])
AC_DEFUN([CC_ATTRIBUTE_FORMAT], [
CC_CHECK_ATTRIBUTE(
[format], [format(printf, n, n)],
[void __attribute__((format(printf, 1, 2))) printflike(const char *fmt, ...) { fmt = (void *)0; }],
[$1], [$2])
])
AC_DEFUN([CC_ATTRIBUTE_FORMAT_ARG], [
CC_CHECK_ATTRIBUTE(
[format_arg], [format_arg(printf)],
[char *__attribute__((format_arg(1))) gettextlike(const char *fmt) { fmt = (void *)0; }],
[$1], [$2])
])
AC_DEFUN([CC_ATTRIBUTE_VISIBILITY], [
CC_CHECK_ATTRIBUTE(
[visibility_$1], [visibility("$1")],
[void __attribute__((visibility("$1"))) $1_function() { }],
[$2], [$3])
])
AC_DEFUN([CC_ATTRIBUTE_NONNULL], [
CC_CHECK_ATTRIBUTE(
[nonnull], [nonnull()],
[void __attribute__((nonnull())) some_function(void *foo, void *bar) { foo = (void*)0; bar = (void*)0; }],
[$1], [$2])
])
AC_DEFUN([CC_ATTRIBUTE_UNUSED], [
CC_CHECK_ATTRIBUTE(
[unused], ,
[void some_function(void *foo, __attribute__((unused)) void *bar);],
[$1], [$2])
])
AC_DEFUN([CC_ATTRIBUTE_SENTINEL], [
CC_CHECK_ATTRIBUTE(
[sentinel], ,
[void some_function(void *foo, ...) __attribute__((sentinel));],
[$1], [$2])
])
AC_DEFUN([CC_ATTRIBUTE_DEPRECATED], [
CC_CHECK_ATTRIBUTE(
[deprecated], ,
[void some_function(void *foo, ...) __attribute__((deprecated));],
[$1], [$2])
])
AC_DEFUN([CC_ATTRIBUTE_ALIAS], [
CC_CHECK_ATTRIBUTE(
[alias], [weak, alias],
[void other_function(void *foo) { }
void some_function(void *foo) __attribute__((weak, alias("other_function")));],
[$1], [$2])
])
AC_DEFUN([CC_ATTRIBUTE_MALLOC], [
CC_CHECK_ATTRIBUTE(
[malloc], ,
[void * __attribute__((malloc)) my_alloc(int n);],
[$1], [$2])
])
AC_DEFUN([CC_ATTRIBUTE_PACKED], [
CC_CHECK_ATTRIBUTE(
[packed], ,
[struct astructure { char a; int b; long c; void *d; } __attribute__((packed));],
[$1], [$2])
])
AC_DEFUN([CC_ATTRIBUTE_CONST], [
CC_CHECK_ATTRIBUTE(
[const], ,
[int __attribute__((const)) twopow(int n) { return 1 << n; } ],
[$1], [$2])
])
AC_DEFUN([CC_FLAG_VISIBILITY], [
AC_REQUIRE([CC_CHECK_WERROR])
AC_CACHE_CHECK([if $CC supports -fvisibility=hidden],
[cc_cv_flag_visibility],
[cc_flag_visibility_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $cc_cv_werror"
CC_CHECK_CFLAGS_SILENT([-fvisibility=hidden],
cc_cv_flag_visibility='yes',
cc_cv_flag_visibility='no')
CFLAGS="$cc_flag_visibility_save_CFLAGS"])
AS_IF([test "x$cc_cv_flag_visibility" = "xyes"],
[AC_DEFINE([SUPPORT_FLAG_VISIBILITY], 1,
[Define this if the compiler supports the -fvisibility flag])
$1],
[$2])
])
AC_DEFUN([CC_FUNC_EXPECT], [
AC_REQUIRE([CC_CHECK_WERROR])
AC_CACHE_CHECK([if compiler has __builtin_expect function],
[cc_cv_func_expect],
[ac_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $cc_cv_werror"
AC_LANG_PUSH([C])
AC_COMPILE_IFELSE([AC_LANG_SOURCE(
[int some_function() {
int a = 3;
return (int)__builtin_expect(a, 3);
}])],
[cc_cv_func_expect=yes],
[cc_cv_func_expect=no])
AC_LANG_POP([C])
CFLAGS="$ac_save_CFLAGS"
])
AS_IF([test "x$cc_cv_func_expect" = "xyes"],
[AC_DEFINE([SUPPORT__BUILTIN_EXPECT], 1,
[Define this if the compiler supports __builtin_expect() function])
$1],
[$2])
])
AC_DEFUN([CC_ATTRIBUTE_ALIGNED], [
AC_REQUIRE([CC_CHECK_WERROR])
AC_CACHE_CHECK([highest __attribute__ ((aligned ())) supported],
[cc_cv_attribute_aligned],
[ac_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $cc_cv_werror"
AC_LANG_PUSH([C])
for cc_attribute_align_try in 64 32 16 8 4 2; do
AC_COMPILE_IFELSE([AC_LANG_SOURCE([
int main() {
static char c __attribute__ ((aligned($cc_attribute_align_try))) = 0;
return c;
}])], [cc_cv_attribute_aligned=$cc_attribute_align_try; break])
done
AC_LANG_POP([C])
CFLAGS="$ac_save_CFLAGS"
])
if test "x$cc_cv_attribute_aligned" != "x"; then
AC_DEFINE_UNQUOTED([ATTRIBUTE_ALIGNED_MAX], [$cc_cv_attribute_aligned],
[Define the highest alignment supported])
fi
])
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
set -e
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
cd "$srcdir"
mkdir -p m4 >/dev/null 2>&1 || true
gtkdocize --copy --flavour no-tmpl
autoreconf --verbose --force --install
intltoolize --force
cd -
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
# Copyright © 2003 Noah Levitt
# Copyright © 2007, 2008, 2009 Christian Persch
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3 of the License, or (at your
# option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA
m4_define([gucharmap_version_major],[12])
m4_define([gucharmap_version_minor],[0])
m4_define([gucharmap_version_micro],[2])
m4_define([gucharmap_version_extra],[])
m4_define([gucharmap_version],[gucharmap_version_major.gucharmap_version_minor.gucharmap_version_micro()gucharmap_version_extra])
# Before making a release, the libtool version should be modified.
# The string is of the form C:R:A.
# - If interfaces have been changed or added, but binary compatibility has
# been preserved, change to C+1:0:A+1
# - If binary compatibility has been broken (eg removed or changed interfaces)
# change to C+1:0:0
# - If the interface is the same as the previous version, change to C:R+1:A