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