On 06/26/2014 03:42 PM, Yves-Alexis Perez wrote:
On jeu., 2014-06-26 at 15:21 +0200, Erwan Prioul wrote:
I've tried a bunch of times to use dh_autoreconf. It needed to tweak a
bit configure.ac and Makefile.am, not a big deal. But it always ended
with this kind of error:
./configure: line 13374: syntax error near unexpected token `am'
./configure: line 13374: `XDT_I18N(am ar ast bn ca cs cy da de dz el
en_GB es et eu fi fr gl he hu id is it ja ka kk ko lt lv mk nb nl nn pa
pl pt pt_BR ro ru si sk sl sq sv tl_PH tr ug uk ur ur_PK zh_CN zh_TW )'
It's related to the XDT macros from the configure.ac. I couldn't figure
out how to get rid of this. So that's why I've finally decided to patch
aclocal.m4 and configure, even if I know it's not the best way to fix
this issue.
I think it needs a call do xdt-autogen before configure (and a
build-dep on xfce4-dev-tools).
Thanks for the help.
I've reworked my patch (it replaces the previous one). This time it only
patches debian/control and debian/rules.
In debian/control the build-dep list has been extended.
debian/rules runs dh_autoreconf and xdt-autogen is called before configure.
Regards,
Erwan.
diff -Naur a/debian/control b/debian/control
--- a/debian/control 2014-06-25 11:58:00.495454365 +0200
+++ b/debian/control 2014-06-26 16:45:34.801945231 +0200
@@ -5,7 +5,7 @@
Uploaders: Yves-Alexis Perez <[email protected]>,
Lionel Le Folgoc <[email protected]>
Build-Depends: debhelper (>= 9), libglib2.0-dev, intltool,
- dpkg-dev (>= 1.16.1)
+ dpkg-dev (>= 1.16.1), dh-autoreconf, gtk-doc-tools, xfce4-dev-tools
Standards-Version: 3.9.3
Homepage: http://www.xfce.org/
Vcs-Svn: svn://svn.debian.org/pkg-xfce/desktop/trunk/libxfce4util/
diff -Naur a/debian/rules b/debian/rules
--- a/debian/rules 2014-06-25 11:58:00.495454365 +0200
+++ b/debian/rules 2014-06-26 16:37:20.845971484 +0200
@@ -9,5 +9,9 @@
override_dh_strip:
dh_strip --dbg-package=libxfce4util6-dbg
+override_dh_auto_configure:
+ xdt-autogen
+ dh_auto_configure $@
+
%:
- dh $@ --parallel
+ dh $@ --parallel --with autoreconf
_______________________________________________
Pkg-xfce-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-xfce-devel