On 6/13/17 10:19 PM, Hanspeter Niederstrasser wrote:
On 6/13/17 5:22 PM, Heinz Nabielek wrote:
After tons of errors like:
Overfull \hbox (11.38092pt too wide) has occurred while \output is active
[]
[]
[479644]
Underfull \vbox (badness 10000) has occurred while \output is active []
fink --version
Package manager version: 0.41.1
Distribution version: selfupdate-rsync Tue Jun 13 23:53:28 2017,
10.12, x86_64
Trees: local/main stable/main local/injected
I get the same failure now on 10.11. The libcaca build worked on my
system on Dec 2015. Texlive has been updated twice since then (1: fix
system-libXt flat namespace issues, and 2: use Fink's libXt).
Updating to upstreams 0.99.b19 did not fix the problem, but downgrading
to our old doxygen-1.8.3.1 did allow the build to finish.
Justin,
If I use Debian's doxygen patch for libcaca, the build finishes.
Attached are the new extra caca-doxygen.patch and the .info to use it.
https://anonscm.debian.org/viewvc/sam-hocevar/pkg-misc/unstable/libcaca/debian/patches/100_doxygen.diff?view=markup
Hanspeter
Description: Don't mess with Doxygen's output
Author: Balint Reczey <bal...@balintreczey.hu>
Index: libcaca-0.99.beta19/doc/Makefile.am
===================================================================
--- libcaca-0.99.beta19.orig/doc/Makefile.am
+++ libcaca-0.99.beta19/doc/Makefile.am
@@ -28,10 +28,7 @@ stamp-latex: stamp-doxygen
if BUILD_DOCUMENTATION
if USE_LATEX
rm -f latex/libcaca.tex latex/libcaca.pdf
- mv latex/refman.tex latex/libcaca.tex
- sed 's/setlength{/renewcommand{/' latex/libcaca.tex \
- | sed 's/.*usepackage.*times.*//' > latex/refman.tex
- cd latex && $(MAKE) $(AM_CFLAGS) refman.pdf || (cat refman.log; exit 1)
+ (cd latex && pdflatex refman ; makeindex refman.idx ; pdflatex refman
; pdflatex refman ; pdflatex refman ; pdflatex refman ; pdflatex refman; echo
"pdflatex exit code: $$?")
mv latex/refman.pdf latex/libcaca.pdf
touch stamp-latex
endif
Index: libcaca-0.99.beta19/doc/doxygen.cfg.in
===================================================================
--- libcaca-0.99.beta19.orig/doc/doxygen.cfg.in
+++ libcaca-0.99.beta19/doc/doxygen.cfg.in
@@ -1,4 +1,4 @@
-# Doxyfile 1.8.6
+# Doxyfile 1.8.7
# This file describes the settings to be used by the documentation system
# doxygen (www.doxygen.org) for a project.
@@ -70,6 +70,14 @@ OUTPUT_DIRECTORY = .
CREATE_SUBDIRS = NO
+# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII
+# characters to appear in the names of generated files. If set to NO, non-ASCII
+# characters will be escaped, for example _xE3_x81_x84 will be used for Unicode
+# U+3044.
+# The default value is: NO.
+
+ALLOW_UNICODE_NAMES = NO
+
# The OUTPUT_LANGUAGE tag is used to specify the language in which all
# documentation generated by doxygen is written. Doxygen will use this
# information to generate all constant output in the proper language.
@@ -261,9 +269,12 @@ OPTIMIZE_OUTPUT_VHDL = NO
# extension. Doxygen has a built-in mapping, but you can override or extend it
# using this tag. The format is ext=language, where ext is a file extension,
and
# language is one of the parsers supported by doxygen: IDL, Java, Javascript,
-# C#, C, C++, D, PHP, Objective-C, Python, Fortran, VHDL. For instance to make
-# doxygen treat .inc files as Fortran files (default is PHP), and .f files as C
-# (default is Fortran), use: inc=Fortran f=C.
+# C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran:
+# FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran:
+# Fortran. In the later case the parser tries to guess whether the code is
fixed
+# or free formatted code, this is the default for Fortran type files), VHDL.
For
+# instance to make doxygen treat .inc files as Fortran files (default is PHP),
+# and .f files as C (default is Fortran), use: inc=Fortran f=C.
#
# Note For files without extension you can use no_extension as a placeholder.
#
@@ -1242,7 +1253,8 @@ GENERATE_CHI = NO
CHM_INDEX_ENCODING =
# The BINARY_TOC flag controls whether a binary table of contents is generated
(
-# YES) or a normal table of contents ( NO) in the .chm file.
+# YES) or a normal table of contents ( NO) in the .chm file. Furthermore it
+# enables the Previous and Next buttons.
# The default value is: NO.
# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
@@ -1482,11 +1494,11 @@ SEARCHENGINE = NO
# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
# implemented using a web server instead of a web client using Javascript.
There
-# are two flavours of web server based searching depending on the
-# EXTERNAL_SEARCH setting. When disabled, doxygen will generate a PHP script
for
-# searching and an index file used by the script. When EXTERNAL_SEARCH is
-# enabled the indexing and searching needs to be provided by external tools.
See
-# the section "External Indexing and Searching" for details.
+# are two flavors of web server based searching depending on the
EXTERNAL_SEARCH
+# setting. When disabled, doxygen will generate a PHP script for searching and
+# an index file used by the script. When EXTERNAL_SEARCH is enabled the
indexing
+# and searching needs to be provided by external tools. See the section
+# "External Indexing and Searching" for details.
# The default value is: NO.
# This tag requires that the tag SEARCHENGINE is set to YES.
@@ -1774,6 +1786,13 @@ MAN_OUTPUT = man
MAN_EXTENSION = .3caca
+# The MAN_SUBDIR tag determines the name of the directory created within
+# MAN_OUTPUT in which the man pages are placed. If defaults to man followed by
+# MAN_EXTENSION with the initial . removed.
+# This tag requires that the tag GENERATE_MAN is set to YES.
+
+MAN_SUBDIR =
+
# If the MAN_LINKS tag is set to YES and doxygen generates man output, then it
# will generate one additional man file for each entity documented in the real
# man page(s). These additional files only source the real man page, but
without
@@ -1801,18 +1820,6 @@ GENERATE_XML = NO
XML_OUTPUT = xml
-# The XML_SCHEMA tag can be used to specify a XML schema, which can be used by
a
-# validating XML parser to check the syntax of the XML files.
-# This tag requires that the tag GENERATE_XML is set to YES.
-
-XML_SCHEMA =
-
-# The XML_DTD tag can be used to specify a XML DTD, which can be used by a
-# validating XML parser to check the syntax of the XML files.
-# This tag requires that the tag GENERATE_XML is set to YES.
-
-XML_DTD =
-
# If the XML_PROGRAMLISTING tag is set to YES doxygen will dump the program
# listings (including syntax highlighting and cross-referencing information) to
# the XML output. Note that enabling this will significantly increase the size
@@ -1961,9 +1968,9 @@ EXPAND_AS_DEFINED = __extern \
__class
# If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor
will
-# remove all refrences to function-like macros that are alone on a line, have
an
-# all uppercase name, and do not end with a semicolon. Such function macros are
-# typically used for boiler-plate code, and will confuse the parser if not
+# remove all references to function-like macros that are alone on a line, have
+# an all uppercase name, and do not end with a semicolon. Such function macros
+# are typically used for boiler-plate code, and will confuse the parser if not
# removed.
# The default value is: YES.
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
@@ -1983,7 +1990,7 @@ SKIP_FUNCTION_MACROS = YES
# where loc1 and loc2 can be relative or absolute paths or URLs. See the
# section "Linking to external documentation" for more information about the
use
# of tag files.
-# Note: Each tag file must have an unique name (where the name does NOT include
+# Note: Each tag file must have a unique name (where the name does NOT include
# the path). If a tag file is not located in the directory in which doxygen is
# run, you must also specify the path to the tagfile here.
@@ -2061,7 +2068,7 @@ HIDE_UNDOC_RELATIONS = YES
# http://www.graphviz.org/), a graph visualization toolkit from AT&T and Lucent
# Bell Labs. The other options in this section have no effect if this option is
# set to NO
-# The default value is: NO.
+# The default value is: YES.
HAVE_DOT = NO
@@ -2083,7 +2090,7 @@ DOT_NUM_THREADS = 0
# The default value is: Helvetica.
# This tag requires that the tag HAVE_DOT is set to YES.
-#DOT_FONTNAME = FreeSans
+DOT_FONTNAME = Helvetica
# The DOT_FONTSIZE tag can be used to set the size (in points) of the font of
# dot graphs.
@@ -2213,7 +2220,9 @@ DIRECTORY_GRAPH = YES
# Note: If you choose svg you need to set HTML_FILE_EXTENSION to xhtml in order
# to make the SVG files visible in IE 9+ (other browsers do not have this
# requirement).
-# Possible values are: png, jpg, gif and svg.
+# Possible values are: png, png:cairo, png:cairo:cairo, png:cairo:gd, png:gd,
+# png:gd:gd, jpg, jpg:cairo, jpg:cairo:gd, jpg:gd, jpg:gd:gd, gif, gif:cairo,
+# gif:cairo:gd, gif:gd, gif:gd:gd and svg.
# The default value is: png.
# This tag requires that the tag HAVE_DOT is set to YES.
Package: caca
Version: 0.99.beta19
Revision: 4
###
Depends: <<
libcaca-shlibs (>= %v-%r),
imlib2-shlibs,
libncursesw5-shlibs (>= 5.4-20041023-1001),
slang2-shlibs
<<
Builddepends: <<
cairo (>= 1.12.8-3),
doxygen (>= 1.8.9.1),
fink (>= 0.30.0),
fink-package-precedence,
fontconfig2-dev (>= 2.10.0-1),
freeglut2,
freetype219 (>= 2.5.5-1),
glib2-dev (>= 2.22.0-1),
imlib2,
libncursesw5 (>= 5.4-20041023-1001),
pango1-xft2-ft219-dev (>= 1.24.5-4),
pkgconfig (>= 0.23),
slang2,
tetex-base,
x11-dev
<<
# libftgl2-dev # detected but not used
GCC: 4.0
###
Source: http://caca.zoy.org/files/libcaca/libcaca-%v.tar.gz
Source-MD5: a3d4441cdef488099f4a92f4c6c1da00
###
PatchFile: %n.patch
PatchFile-MD5: 772e23de1319128e782df88b52985fd1
PatchFile2: %n-doxygen.patch
PatchFile2-MD5: ede3b655dec3ed7871be00382819730d
PatchScript: <<
%{default_script}
#patch -p1 < %{PatchFile2}
# file renamed to getopt.c but apparently no damage from not having
# this tweak not applied to it, so omitting
# perl -pi -e 's,ifndef __intptr_t_defined,if !defined(__intptr_t_defined) &&
!defined(_UINTPTR_T),' src/mygetopt.c
# Get rid of the SDK stuff
perl -pi -e 's, \${MACOSX_SDK_[A-Z]*},,; s/-syslibroot,\${MACOSX_SDK},//; s,
*\${ARCH} *,,' configure
# dmacks (0.99.beta17-3) -- Some symbols got renamed and old left
# behind as alias and #define to new, maybe even twice. But weakrefs
# aren't supported on darwin, so the ABI compatibility links aren't
# working reliably. Patch #define of some old to point to the
# current actual names not the intermediate in the renaming pathway
# (fixes 'toilet' build).
perl -pi -e 's/caca_export_memory/caca_export_canvas_to_memory/' caca/caca.h
perl -pi -e 's/caca_import_memory/caca_import_canvas_from_memory/' caca/caca.h
# fix llvm and clang failure (via MacPorts)--don't even try weakref
perl -pi -e 's,defined __GNUC__ \&\& __GNUC__,\!defined __APPLE__ \&\&
defined __GNUC__ \&\& __GNUC__,g' caca/caca.h
# autoconf2.6ish patch for modern XQuartz paths
perl -pi -e "s|/usr/lpp/Xamples|/opt/X11|" configure
<<
###
SetCFLAGS: -DREAL_UNIX_SYSTEM -fno-common
SetLDFLAGS:
-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
###
ConfigureParams: --enable-shared --disable-static --with-pic
--mandir=%p/share/man --infodir=%p/share/info --libexecdir=%p/lib --with-x
--enable-cxx --enable-plugins --disable-cocoa --disable-csharp --disable-ruby
--disable-java --disable-python --enable-dependency-tracking --disable-zzuf
###
DocFiles: AUTHORS COPYING ChangeLog NEWS NOTES README THANKS
###
CompileScript: <<
#!/bin/sh -ev
export PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig-strict:$PKG_CONFIG_PATH"
%{default_script}
fink-package-precedence --prohibit-bdep=libcaca-dev .
<<
InfoTest: <<
TestDepends: <<
cppunit1.12.1
<<
TestScript: <<
make -j1 check || exit 2
<<
<<
InstallScript: <<
make -j1 install DESTDIR="%d"
<<
SplitOff: <<
Package: libcaca-shlibs
Depends: <<
freeglut2-shlibs,
libncursesw5-shlibs (>= 5.4-20041023-1001),
slang2-shlibs,
x11-shlibs
<<
# loadable-module .la are used at runtime (if at all) not compile-time
Replaces: libcaca-dev (<< 0.99.beta17-1)
Files: lib/lib*.0*.dylib lib/caca
DocFiles: COPYING
Shlibs: <<
%p/lib/libcaca.0.dylib 100.0.0 %n (>= 0.99.beta12-1)
%p/lib/libcaca++.0.dylib 100.0.0 %n (>= 0.99.beta12-1)
<<
<<
SplitOff2: <<
Package: libcaca-dev
BuildDependsOnly: true
Depends: libcaca-shlibs (= %v-%r)
Files: <<
bin/caca-config
include
lib
share/man/man3
share/doc/%n
<<
DocFiles: AUTHORS COPYING ChangeLog NEWS NOTES README THANKS
<<
###
Description: Colour AsCii Art library
DescDetail: <<
The libcaca library is a graphics library that outputs text instead of
pixels, so that it can work on older video cards or text terminals. It
is not unlike the famous AAlib library except it supports colour output.
<<
DescPort: <<
We disable ruby to avoid the mess of /usr/bin/ruby vs. %p/bin/ruby.
library-suffix detection is incorrect but LT_SUFFIX result is only used
for caca-sharp, which is disabled.
zzuf isn't used, so don't even bother detecting it.
Use Debian's doxygen patch to work with doxygen >= 1.8.9.1.
<<
###
License: LGPL
Maintainer: Justin F. Hallett <the...@users.sourceforge.net>
Homepage: http://libcaca.zoy.org/
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners