~ubuntu-branches/ubuntu/quantal/glom/quantal

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Iain Lane
  • Date: 2009-01-11 17:12:01 UTC
  • mfrom: (1.1.39 upstream)
  • Revision ID: james.westby@ubuntu.com-20090111171201-0ov9zh1fxfueshxc
Tags: 1.8.5-0ubuntu1
* New upstream release (LP: #256701), fixes LP bugs: 
  + Clear the text in property dialogs for text items (LP: #309147)
  + Don't crash when showing and then hiding the grid (LP: #303453)
  + Temporarily remember the sort order so it is the same when navigating 
    away and back (LP: #303422)
  + Use the list's sort order for the top-level records in the report 
    (LP: #303425)
  + Users/Groups: Disable drag-and-drop for the treeview, because it is
    useless and confusing (LP: #299573)
  + Import: Sort the fields list alphabetically (LP: #306593)
  + delete primary key make unusuable the database (LP: #299549)
  + Spanish translate incomplete (LP: #299556)
  + import date format error (LP: #299591)
  + can't delete data from table list view (LP: #299853)
  + Field definition: default value not saved (LP: #299896)
  + reports crashing (LP: #300054)
  + Year error with date fields (LP: #300057)
  + list view: 2 records added instead of 1 (LP: #300819)
* debian/control: Refreshed dependencies for libglom-dev.
* debian/control: Updated build-deps to match configure checks. goocavnasmm
  build-dep bumped to version without .la files.
* debian/rules: Don't delete the directory containing the templates.
* debian/control, debian/rules, debian/glom-doc.*: Split out
  arch-independent manual and examples into separate package glom-doc, which
  is now recommended by glom (glom will still work if they're not available)
* debian/copyright: Rewritten to new machine-readable format. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1524
1524
# GNOME_DOC_INIT ([MINIMUM-VERSION],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
1525
1525
#
1526
1526
AC_DEFUN([GNOME_DOC_INIT],
1527
 
[
 
1527
[AC_REQUIRE([AC_PROG_LN_S])dnl
 
1528
 
1528
1529
ifelse([$1],,[gdu_cv_version_required=0.3.2],[gdu_cv_version_required=$1])
1529
1530
 
1530
1531
PKG_CHECK_EXISTS([gnome-doc-utils >= $gdu_cv_version_required],
1542
1543
 
1543
1544
dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
1544
1545
# serial 40 IT_PROG_INTLTOOL
1545
 
AC_DEFUN([IT_PROG_INTLTOOL],
1546
 
[AC_PREREQ([2.50])dnl
 
1546
AC_DEFUN([IT_PROG_INTLTOOL], [
 
1547
AC_PREREQ([2.50])dnl
 
1548
AC_REQUIRE([AM_NLS])dnl
1547
1549
 
1548
1550
case "$am__api_version" in
1549
1551
    1.[01234])
1592
1594
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
1593
1595
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
1594
1596
 
1595
 
AC_SUBST(INTLTOOL_DESKTOP_RULE)
1596
 
AC_SUBST(INTLTOOL_DIRECTORY_RULE)
1597
 
AC_SUBST(INTLTOOL_KEYS_RULE)
1598
 
AC_SUBST(INTLTOOL_PROP_RULE)
1599
 
AC_SUBST(INTLTOOL_OAF_RULE)
1600
 
AC_SUBST(INTLTOOL_PONG_RULE)
1601
 
AC_SUBST(INTLTOOL_SERVER_RULE)
1602
 
AC_SUBST(INTLTOOL_SHEET_RULE)
1603
 
AC_SUBST(INTLTOOL_SOUNDLIST_RULE)
1604
 
AC_SUBST(INTLTOOL_UI_RULE)
1605
 
AC_SUBST(INTLTOOL_XAM_RULE)
1606
 
AC_SUBST(INTLTOOL_KBD_RULE)
1607
 
AC_SUBST(INTLTOOL_XML_RULE)
1608
 
AC_SUBST(INTLTOOL_XML_NOMERGE_RULE)
1609
 
AC_SUBST(INTLTOOL_CAVES_RULE)
1610
 
AC_SUBST(INTLTOOL_SCHEMAS_RULE)
1611
 
AC_SUBST(INTLTOOL_THEME_RULE)
1612
 
AC_SUBST(INTLTOOL_SERVICE_RULE)
1613
 
AC_SUBST(INTLTOOL_POLICY_RULE)
 
1597
_IT_SUBST(INTLTOOL_DESKTOP_RULE)
 
1598
_IT_SUBST(INTLTOOL_DIRECTORY_RULE)
 
1599
_IT_SUBST(INTLTOOL_KEYS_RULE)
 
1600
_IT_SUBST(INTLTOOL_PROP_RULE)
 
1601
_IT_SUBST(INTLTOOL_OAF_RULE)
 
1602
_IT_SUBST(INTLTOOL_PONG_RULE)
 
1603
_IT_SUBST(INTLTOOL_SERVER_RULE)
 
1604
_IT_SUBST(INTLTOOL_SHEET_RULE)
 
1605
_IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
 
1606
_IT_SUBST(INTLTOOL_UI_RULE)
 
1607
_IT_SUBST(INTLTOOL_XAM_RULE)
 
1608
_IT_SUBST(INTLTOOL_KBD_RULE)
 
1609
_IT_SUBST(INTLTOOL_XML_RULE)
 
1610
_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
 
1611
_IT_SUBST(INTLTOOL_CAVES_RULE)
 
1612
_IT_SUBST(INTLTOOL_SCHEMAS_RULE)
 
1613
_IT_SUBST(INTLTOOL_THEME_RULE)
 
1614
_IT_SUBST(INTLTOOL_SERVICE_RULE)
 
1615
_IT_SUBST(INTLTOOL_POLICY_RULE)
1614
1616
 
1615
1617
# Check the gettext tools to make sure they are GNU
1616
1618
AC_PATH_PROG(XGETTEXT, xgettext)
1617
1619
AC_PATH_PROG(MSGMERGE, msgmerge)
1618
1620
AC_PATH_PROG(MSGFMT, msgfmt)
 
1621
AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
1619
1622
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
1620
1623
    AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
1621
1624
fi
1626
1629
    AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
1627
1630
fi
1628
1631
 
1629
 
AC_PATH_PROG(INTLTOOL_PERL, [perl])
 
1632
AC_PATH_PROG(INTLTOOL_PERL, perl)
1630
1633
if test -z "$INTLTOOL_PERL"; then
1631
 
   AC_MSG_ERROR([perl not found; required for intltool])
 
1634
   AC_MSG_ERROR([perl not found])
1632
1635
fi
1633
 
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
1634
 
   AC_MSG_ERROR([perl 5.x required for intltool])
 
1636
AC_MSG_CHECKING([for perl >= 5.8.1])
 
1637
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
1638
if test $? -ne 0; then
 
1639
   AC_MSG_ERROR([perl 5.8.1 is required for intltool])
 
1640
else
 
1641
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
1642
   AC_MSG_RESULT([$IT_PERL_VERSION])
1635
1643
fi
1636
1644
if test "x$2" != "xno-xml"; then
1637
1645
   AC_MSG_CHECKING([for XML::Parser])
1687
1695
dnl of config.status.
1688
1696
AC_CONFIG_COMMANDS_PRE([
1689
1697
  AC_CONFIG_COMMANDS([$1/stamp-it], [
 
1698
    if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then
 
1699
       AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.])
 
1700
    fi
1690
1701
    rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
1691
1702
    >"$1/stamp-it.tmp"
1692
1703
    [sed '/^#/d
1695
1706
        '"s|^|  $ac_top_srcdir/|" \
1696
1707
      "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES"
1697
1708
    ]
1698
 
    if test ! -f "$1/Makefile"; then
1699
 
      AC_MSG_ERROR([$1/Makefile is not ready.])
1700
 
    fi
1701
 
    mv "$1/Makefile" "$1/Makefile.tmp"
1702
1709
    [sed '/^POTFILES =/,/[^\\]$/ {
1703
1710
                /^POTFILES =/!d
1704
1711
                r $1/POTFILES
1705
1712
          }
1706
 
         ' "$1/Makefile.tmp" >"$1/Makefile"]
 
1713
         ' "$1/Makefile.in" >"$1/Makefile"]
1707
1714
    rm -f "$1/Makefile.tmp"
1708
1715
    mv "$1/stamp-it.tmp" "$1/stamp-it"
1709
1716
  ])
1710
1717
])dnl
1711
1718
])
1712
1719
 
 
1720
# _IT_SUBST(VARIABLE)
 
1721
# -------------------
 
1722
# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
 
1723
#
 
1724
AC_DEFUN([_IT_SUBST],
 
1725
[
 
1726
AC_SUBST([$1])
 
1727
m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
 
1728
]
 
1729
)
1713
1730
 
1714
1731
# deprecated macros
1715
1732
AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
8356
8373
AC_MSG_RESULT([$SED])
8357
8374
])
8358
8375
 
 
8376
# nls.m4 serial 3 (gettext-0.15)
 
8377
dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc.
 
8378
dnl This file is free software; the Free Software Foundation
 
8379
dnl gives unlimited permission to copy and/or distribute it,
 
8380
dnl with or without modifications, as long as this notice is preserved.
 
8381
dnl
 
8382
dnl This file can can be used in projects which are not available under
 
8383
dnl the GNU General Public License or the GNU Library General Public
 
8384
dnl License but which still want to provide support for the GNU gettext
 
8385
dnl functionality.
 
8386
dnl Please note that the actual code of the GNU gettext library is covered
 
8387
dnl by the GNU Library General Public License, and the rest of the GNU
 
8388
dnl gettext package package is covered by the GNU General Public License.
 
8389
dnl They are *not* in the public domain.
 
8390
 
 
8391
dnl Authors:
 
8392
dnl   Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
 
8393
dnl   Bruno Haible <haible@clisp.cons.org>, 2000-2003.
 
8394
 
 
8395
AC_PREREQ(2.50)
 
8396
 
 
8397
AC_DEFUN([AM_NLS],
 
8398
[
 
8399
  AC_MSG_CHECKING([whether NLS is requested])
 
8400
  dnl Default is enabled NLS
 
8401
  AC_ARG_ENABLE(nls,
 
8402
    [  --disable-nls           do not use Native Language Support],
 
8403
    USE_NLS=$enableval, USE_NLS=yes)
 
8404
  AC_MSG_RESULT($USE_NLS)
 
8405
  AC_SUBST(USE_NLS)
 
8406
])
 
8407
 
8359
8408
# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
8360
8409
8361
8410
# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.