Bug#737157: source-highlight: [PATCH] Enable build on newer arches

2014-09-02 Thread ravi

Source: source-highlight
Followup-For: Bug #737157
User: debian-de...@lists.debian.org
Usertags: ppc64el

Dear Maintainer,

One new arch is : ppc64el, which has been added to the Debian archive. 
But package FTBFS because of outdated config files.


Thanks,
Ravindran

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (SMP w/16 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#737157: source-highlight: [PATCH] Enable build on newer arches

2014-02-08 Thread Peter Eisentraut
On Thu, 2014-01-30 at 13:37 -0500, Daniel T Chen wrote:
 In Ubuntu 14.04, the attached patch was applied to achieve the following:
 
   * Use dh-autoreconf for newer arches.

Which newer arches?  AFAICT, this package builds fine on all
architectures supported by Debian.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#737157: source-highlight: [PATCH] Enable build on newer arches

2014-01-30 Thread Daniel T Chen
Package: source-highlight
Version: 3.1.6-2
Severity: wishlist
Tags: patch
User: debian-de...@lists.debian.org
Usertags: origin-ubuntu trusty ubuntu-patch autoreconf

Dear Maintainer,

In Ubuntu 14.04, the attached patch was applied to achieve the following:

  * Use dh-autoreconf for newer arches.
  * Backport upstream git changeset a9beab95 for AM_CPPFLAGS warning
using newer auto*.


This debdiff may contain extraneous metadata. If so, kindly please ignore
them. Thanks for considering the patch!


-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise-proposed'), (500, 'precise'), (100, 'precise-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11.0-15-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru source-highlight-3.1.6/debian/changelog source-highlight-3.1.6/debian/changelog
diff -Nru source-highlight-3.1.6/debian/control source-highlight-3.1.6/debian/control
--- source-highlight-3.1.6/debian/control	2013-11-05 06:23:19.0 -0500
+++ source-highlight-3.1.6/debian/control	2014-01-30 12:50:57.0 -0500
@@ -1,8 +1,9 @@
 Source: source-highlight
 Section: devel
 Priority: optional
-Maintainer: Peter Eisentraut pet...@debian.org
-Build-Depends: automake1.11, autotools-dev, debhelper (= 7.0.50~), exuberant-ctags, help2man, texi2html, texinfo, gawk, libboost-regex-dev
+Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
+XSBC-Original-Maintainer: Peter Eisentraut pet...@debian.org
+Build-Depends: dh-autoreconf, debhelper (= 7.0.50~), exuberant-ctags, help2man, texi2html, texinfo, gawk, libboost-regex-dev
 Standards-Version: 3.9.4
 Homepage: http://www.gnu.org/software/src-highlite/
 
diff -Nru source-highlight-3.1.6/debian/patches/automake_cppflags.patch source-highlight-3.1.6/debian/patches/automake_cppflags.patch
--- source-highlight-3.1.6/debian/patches/automake_cppflags.patch	1969-12-31 19:00:00.0 -0500
+++ source-highlight-3.1.6/debian/patches/automake_cppflags.patch	2014-01-30 13:11:03.0 -0500
@@ -0,0 +1,96 @@
+From a9beab9522b7f542f2a1fd624c3acfa244520ce1 Mon Sep 17 00:00:00 2001
+From: Lorenzo Bettini bett...@dsi.unifi.it
+Date: Sat, 14 Apr 2012 13:44:10 +
+Subject: Use AM_CPPFLAGS instead the obsolete INCLUDES
+
+---
+Index: source-highlight-3.1.6/lib/examples/Makefile.am
+===
+--- source-highlight-3.1.6.orig/lib/examples/Makefile.am	2011-12-16 12:10:10.0 -0500
 source-highlight-3.1.6/lib/examples/Makefile.am	2014-01-30 13:10:37.746798419 -0500
+@@ -8,7 +8,12 @@
+ # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
+ # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ 
+-AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl $(BOOST_CPPFLAGS) \
++AM_CPPFLAGS = \
++	-I$(top_srcdir)/gl \
++	-I$(top_builddir)/gl \
++	-I$(top_srcdir)/src \
++	-I$(srcdir)/.. \
++	$(BOOST_CPPFLAGS) \
+ 	-D DATADIR=\$(top_srcdir)/src/\
+ AM_LDFLAGS = $(BOOST_LDFLAGS) -no-install
+ 
+@@ -17,8 +22,6 @@
+ #LIBDIR = $(top_builddir)/lib/srchilite/
+ LIBDIR = ../srchilite/
+ 
+-INCLUDES = -I@top_srcdir@/src -I@srcdir@/..
+-
+ check_PROGRAMS = source-highlight-console infoformatter styleformatter
+ 
+ source_highlight_console_SOURCES = source-highlight-console-main.cpp
+Index: source-highlight-3.1.6/lib/srchilite/Makefile.am
+===
+--- source-highlight-3.1.6.orig/lib/srchilite/Makefile.am	2011-12-16 12:10:10.0 -0500
 source-highlight-3.1.6/lib/srchilite/Makefile.am	2014-01-30 13:10:37.746798419 -0500
+@@ -51,7 +51,7 @@
+ 	rm -f $(builddir)/html/*
+ endif
+ 
+-AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl $(BOOST_CPPFLAGS)
++AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl -I$(top_srcdir)/src $(BOOST_CPPFLAGS)
+ AM_LDFLAGS = $(BOOST_LDFLAGS)
+ 
+ LDADD = $(top_builddir)/gl/libgnu.la
+@@ -140,8 +140,6 @@
+  sourcehighlightutils.h utils.h \
+  instances.h
+ 
+-INCLUDES = -I@top_srcdir@/src
+-
+ EXTRA_DIST = $(h_sources) \
+ langelemsprinter_dbtab.cc \
+ highlightstatebuilder_dbtab.cc \
+Index: source-highlight-3.1.6/lib/tests/Makefile.am
+===
+--- source-highlight-3.1.6.orig/lib/tests/Makefile.am	2011-12-16 12:10:12.0 -0500
 source-highlight-3.1.6/lib/tests/Makefile.am	2014-01-30 13:10:37.746798419 -0500
+@@ -8,7 +8,11 @@
+ # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
+ # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ 
+-AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl $(BOOST_CPPFLAGS)
++AM_CPPFLAGS = \
++	-I$(top_srcdir)/gl \
++	-I$(top_builddir)/gl \
++	-I$(top_srcdir)/src -I$(srcdir)/..
++	$(BOOST_CPPFLAGS)
+