1 |
grozin 08/07/04 04:20:32 |
2 |
|
3 |
Added: asymptote-1.43-configure-ac.patch |
4 |
asymptote-1.43-xdg-utils.patch |
5 |
Log: |
6 |
Version bump. New USE flags. Dependence on virtual/tetex removed. Various ebuild improvements. Cleaning up old versions. |
7 |
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-tuxonice-r1 i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 media-gfx/asymptote/files/asymptote-1.43-configure-ac.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.43-configure-ac.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.43-configure-ac.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: asymptote-1.43-configure-ac.patch |
16 |
=================================================================== |
17 |
diff -U2 --recursive asymptote-1.43.orig/configure.ac asymptote-1.43/configure.ac |
18 |
--- asymptote-1.43.orig/configure.ac 2008-06-12 14:42:50.000000000 +0700 |
19 |
+++ asymptote-1.43/configure.ac 2008-06-22 17:30:54.000000000 +0700 |
20 |
@@ -77,8 +77,14 @@ |
21 |
fi |
22 |
|
23 |
-AC_CHECK_HEADER(fftw3.h, |
24 |
- AC_CHECK_LIB([fftw3], fftw_execute,, |
25 |
+AC_ARG_WITH([fftw], |
26 |
+ [ --with-fftw use fftw3], |
27 |
+ [with_fftw=$withval], |
28 |
+ [with_fftw="no"]) |
29 |
+if test "$with_fftw" = "yes"; then |
30 |
+AC_CHECK_HEADER([fftw3.h], |
31 |
+ AC_CHECK_LIB([fftw3], [fftw_execute],, |
32 |
AC_MSG_NOTICE([*** Could not find libfftw3: will compile without optional fast Fourier transforms. ***])), |
33 |
AC_MSG_NOTICE([*** Header file fftw3.h not found: will compile without optional fast Fourier transforms. ***])) |
34 |
+fi |
35 |
|
36 |
GCVERSION=gc-7.1 |
37 |
@@ -117,5 +123,5 @@ |
38 |
CPPFLAGS_SAVE=$CPPFLAGS |
39 |
CPPFLAGS=$CPPFLAGS" $INCL" |
40 |
- AC_CHECK_HEADER(gc.h, |
41 |
+ AC_CHECK_HEADER([gc/gc.h], |
42 |
AC_CHECK_LIB([gc],[GC_malloc],[ |
43 |
LIBS=$LIBS"-lgc " |
44 |
@@ -198,4 +204,9 @@ |
45 |
AC_MSG_WARN([*** Broken rpc headers; XDR support disabled ***])) |
46 |
|
47 |
+AC_ARG_WITH(gsl, |
48 |
+ [ --with-gsl use gsl libraries], |
49 |
+ [with_gsl=$withval], |
50 |
+ [with_gsl="no"]) |
51 |
+if test "$with_gsl" = "yes"; then |
52 |
AC_CHECK_HEADER(gsl/gsl_sf.h, |
53 |
AC_CHECK_LIB([gsl], gsl_sf_Si, [AC_DEFINE(HAVE_LIBGSL, 1, |
54 |
@@ -203,4 +214,5 @@ |
55 |
AC_MSG_NOTICE([*** Could not find libgsl: will compile without optional special functions. ***]),[-lgslcblas]), |
56 |
AC_MSG_NOTICE([*** Header file gsl_sf.h not found: will compile without optional special functions. ***])) |
57 |
+fi |
58 |
|
59 |
TRIANGLE=Delaunay |
60 |
|
61 |
|
62 |
|
63 |
1.1 media-gfx/asymptote/files/asymptote-1.43-xdg-utils.patch |
64 |
|
65 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.43-xdg-utils.patch?rev=1.1&view=markup |
66 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.43-xdg-utils.patch?rev=1.1&content-type=text/plain |
67 |
|
68 |
Index: asymptote-1.43-xdg-utils.patch |
69 |
=================================================================== |
70 |
diff -U2 --recursive asymptote-1.43.orig/settings.cc asymptote-1.43/settings.cc |
71 |
--- asymptote-1.43.orig/settings.cc 2008-06-12 14:41:38.000000000 +0700 |
72 |
+++ asymptote-1.43/settings.cc 2008-06-22 17:26:21.000000000 +0700 |
73 |
@@ -75,12 +75,12 @@ |
74 |
const char *HOME="HOME"; |
75 |
const char pathSeparator=':'; |
76 |
-string defaultPSViewer="gv"; |
77 |
+string defaultPSViewer="xdg-open"; |
78 |
#ifdef __APPLE__ |
79 |
string defaultPDFViewer="open"; |
80 |
#else |
81 |
-string defaultPDFViewer="acroread"; |
82 |
+string defaultPDFViewer="xdg-open"; |
83 |
#endif |
84 |
string defaultGhostscript="gs"; |
85 |
-string defaultDisplay="display"; |
86 |
+string defaultDisplay="xdg-open"; |
87 |
string defaultPython; |
88 |
const string docdir=ASYMPTOTE_DOCDIR; |
89 |
|
90 |
|
91 |
|
92 |
-- |
93 |
gentoo-commits@l.g.o mailing list |