Gentoo Archives: gentoo-commits

From: "Andrey Grozin (grozin)" <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/asymptote/files: asymptote-1.46-xdg-utils.patch asymptote-1.46-configure-ac.patch asymptote-1.43-xdg-utils.patch asymptote-1.43-r1-configure-ac.patch
Date: Mon, 20 Oct 2008 10:50:19
Message-Id: E1KrsL2-0003cc-2F@stork.gentoo.org
1 grozin 08/10/20 10:50:16
2
3 Added: asymptote-1.46-xdg-utils.patch
4 asymptote-1.46-configure-ac.patch
5 Removed: asymptote-1.43-xdg-utils.patch
6 asymptote-1.43-r1-configure-ac.patch
7 Log:
8 Version bump
9 (Portage version: 2.2_rc12/cvs/Linux 2.6.25-tuxonice-r1 i686)
10
11 Revision Changes Path
12 1.1 media-gfx/asymptote/files/asymptote-1.46-xdg-utils.patch
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.46-xdg-utils.patch?rev=1.1&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.46-xdg-utils.patch?rev=1.1&content-type=text/plain
16
17 Index: asymptote-1.46-xdg-utils.patch
18 ===================================================================
19 diff -U2 -r asymptote-1.46.orig/settings.cc asymptote-1.46/settings.cc
20 --- asymptote-1.46.orig/settings.cc 2008-10-19 01:38:49.000000000 +0700
21 +++ asymptote-1.46/settings.cc 2008-10-21 01:07:49.000000000 +0700
22 @@ -81,12 +81,12 @@
23 const char *HOME="HOME";
24 const char pathSeparator=':';
25 -string defaultPSViewer="gv";
26 +string defaultPSViewer="xdg-open";
27 #ifdef __APPLE__
28 string defaultPDFViewer="open";
29 #else
30 -string defaultPDFViewer="acroread";
31 +string defaultPDFViewer="xdg-open";
32 #endif
33 string defaultGhostscript="gs";
34 -string defaultDisplay="display";
35 +string defaultDisplay="xdg-open";
36 string defaultPython;
37 const string docdir=ASYMPTOTE_DOCDIR;
38
39
40
41 1.1 media-gfx/asymptote/files/asymptote-1.46-configure-ac.patch
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.46-configure-ac.patch?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.46-configure-ac.patch?rev=1.1&content-type=text/plain
45
46 Index: asymptote-1.46-configure-ac.patch
47 ===================================================================
48 diff -U2 -r asymptote-1.46.orig/configure.ac asymptote-1.46/configure.ac
49 --- asymptote-1.46.orig/configure.ac 2008-10-19 01:39:07.000000000 +0700
50 +++ asymptote-1.46/configure.ac 2008-10-21 01:03:30.000000000 +0700
51 @@ -77,8 +77,14 @@
52 fi
53
54 -AC_CHECK_HEADER(fftw3.h,
55 - AC_CHECK_LIB([fftw3], fftw_execute,,
56 +AC_ARG_WITH([fftw],
57 + [ --with-fftw use fftw3],
58 + [with_fftw=$withval],
59 + [with_fftw="no"])
60 +if test "$with_fftw" = "yes"; then
61 +AC_CHECK_HEADER([fftw3.h],
62 + AC_CHECK_LIB([fftw3], [fftw_execute],,
63 AC_MSG_NOTICE([*** Could not find libfftw3: will compile without optional fast Fourier transforms. ***])),
64 AC_MSG_NOTICE([*** Header file fftw3.h not found: will compile without optional fast Fourier transforms. ***]))
65 +fi
66
67 GCVERSION=gc-7.1
68 @@ -117,5 +123,5 @@
69 CPPFLAGS_SAVE=$CPPFLAGS
70 CPPFLAGS=$CPPFLAGS" $INCL"
71 - AC_CHECK_HEADER(gc.h,
72 + AC_CHECK_HEADER([gc/gc.h],
73 AC_CHECK_LIB([gc],[GC_malloc],[
74 LIBS=$LIBS"-lgc "
75 @@ -183,5 +189,14 @@
76 AC_CHECK_LIB([m], [sqrt])
77 AC_CHECK_LIB([z], [deflate])
78 -AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler])
79 +
80 +AC_ARG_WITH(sigsegv,
81 + [ --with-sigsegv use libsigsegv],
82 + [with_sigsegv=$withval],
83 + [with_sigsegv="no"])
84 +if test "$with_sigsegv" = "yes"; then
85 +AC_CHECK_HEADER([sigsegv.h],
86 + AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler]),
87 + AC_MSG_NOTICE([*** Header file sigsegv.h not found ***]))
88 +fi
89
90 AC_CHECK_LIB([readline], [rl_completion_matches],,
91 @@ -200,9 +215,15 @@
92 AC_MSG_WARN([*** Broken rpc headers; XDR support disabled ***]))
93
94 -AC_CHECK_HEADER(gsl/gsl_sf.h,
95 +AC_ARG_WITH(gsl,
96 + [ --with-gsl use gsl libraries],
97 + [with_gsl=$withval],
98 + [with_gsl="no"])
99 +if test "$with_gsl" = "yes"; then
100 +AC_CHECK_HEADER([gsl/gsl_sf.h],
101 AC_CHECK_LIB([gsl], gsl_sf_Si, [AC_DEFINE(HAVE_LIBGSL, 1,
102 [Define to 1 if you have the 'gsl' library (-lgsl). ]) LIBS=$LIBS"-lgsl -lgslcblas "],
103 AC_MSG_NOTICE([*** Could not find libgsl: will compile without optional special functions. ***]),[-lgslcblas]),
104 AC_MSG_NOTICE([*** Header file gsl_sf.h not found: will compile without optional special functions. ***]))
105 +fi
106
107 case "$MACHTYPE" in