File: 1002_intltool.patch

package info (click to toggle)
syncevolution 2.0.0-3.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,836 kB
  • sloc: cpp: 63,872; ansic: 14,604; python: 11,373; xml: 9,152; perl: 1,452; sh: 841; makefile: 322
file content (31 lines) | stat: -rw-r--r-- 1,270 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Description: adjust whitespace as required for recent autotools
 Recent releases of autotools (possibly only autoreconf
 apparently only recognizes the macro IT_PROG_INTLTOOL
 when listed as the first word on a line.
 Otherwise autoreconf fails with the following error message:
 .
 autoreconf: running: intltoolize --copy --force
 ERROR: 'IT_PROG_INTLTOOL' must appear in configure.ac for intltool to work.
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2021-10-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/configure.ac
+++ b/configure.ac
@@ -587,11 +587,11 @@
 AC_DEFINE_UNQUOTED(DBUS_SERVICES_DIR, "$DBUS_SERVICES_DIR", [Location of D-Bus services directory])
 
 if test "$enable_gui" != "no" || test "$enable_dbus_service" != "no"; then
-    IT_PROG_INTLTOOL([0.37.1])
-    GETTEXT_PACKAGE=syncevolution
-    AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [The gettext package name])
-    AM_GLIB_GNU_GETTEXT
-    SYNCEVOLUTION_LOCALEDIR=[${datadir}/locale]
+IT_PROG_INTLTOOL([0.37.1])
+GETTEXT_PACKAGE=syncevolution
+AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [The gettext package name])
+AM_GLIB_GNU_GETTEXT
+SYNCEVOLUTION_LOCALEDIR=[${datadir}/locale]
 fi
 
 # decide which sync-ui(s) we are building: