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.54-xdg-utils.patch asymptote-1.54-configure-ac.patch asymptote-1.52-xdg-utils.patch asymptote-1.52-configure-ac.patch
Date: Tue, 02 Dec 2008 16:11:51
Message-Id: E1L7Xqm-00036T-8R@stork.gentoo.org
1 grozin 08/12/02 16:11:48
2
3 Added: asymptote-1.54-xdg-utils.patch
4 asymptote-1.54-configure-ac.patch
5 Removed: asymptote-1.52-xdg-utils.patch
6 asymptote-1.52-configure-ac.patch
7 Log:
8 Version bump
9 (Portage version: 2.2_rc16/cvs/Linux 2.6.26-tuxonice i686)
10
11 Revision Changes Path
12 1.1 media-gfx/asymptote/files/asymptote-1.54-xdg-utils.patch
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.54-xdg-utils.patch?rev=1.1&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.54-xdg-utils.patch?rev=1.1&content-type=text/plain
16
17 Index: asymptote-1.54-xdg-utils.patch
18 ===================================================================
19 Index: asymptote-1.54/settings.cc
20 ===================================================================
21 --- asymptote-1.54.orig/settings.cc
22 +++ asymptote-1.54/settings.cc
23 @@ -80,14 +80,14 @@ const bool haveglut=false;
24 bool msdos=false;
25 const char *HOME="HOME";
26 const char pathSeparator=':';
27 -string defaultPSViewer="gv";
28 +string defaultPSViewer="xdg-open";
29 #ifdef __APPLE__
30 string defaultPDFViewer="open";
31 #else
32 -string defaultPDFViewer="acroread";
33 +string defaultPDFViewer="xdg-open";
34 #endif
35 string defaultGhostscript="gs";
36 -string defaultDisplay="display";
37 +string defaultDisplay="xdg-open";
38 string defaultPython;
39 const string docdir=ASYMPTOTE_DOCDIR;
40 void queryRegistry() {}
41
42
43
44 1.1 media-gfx/asymptote/files/asymptote-1.54-configure-ac.patch
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.54-configure-ac.patch?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.54-configure-ac.patch?rev=1.1&content-type=text/plain
48
49 Index: asymptote-1.54-configure-ac.patch
50 ===================================================================
51 Index: asymptote-1.54/configure.ac
52 ===================================================================
53 --- asymptote-1.54.orig/configure.ac
54 +++ asymptote-1.54/configure.ac
55 @@ -79,10 +79,16 @@ if test "$GXX" = yes ; then
56 fi
57 fi
58
59 -AC_CHECK_HEADER(fftw3.h,
60 - AC_CHECK_LIB([fftw3], fftw_execute,,
61 +AC_ARG_WITH([fftw],
62 + [ --with-fftw use fftw3],
63 + [with_fftw=$withval],
64 + [with_fftw="no"])
65 +if test "$with_fftw" = "yes"; then
66 +AC_CHECK_HEADER([fftw3.h],
67 + AC_CHECK_LIB([fftw3], [fftw_execute],,
68 AC_MSG_NOTICE([*** Could not find libfftw3: will compile without optional fast Fourier transforms. ***])),
69 AC_MSG_NOTICE([*** Header file fftw3.h not found: will compile without optional fast Fourier transforms. ***]))
70 +fi
71
72 GCVERSION=gc-7.1
73
74 @@ -119,7 +125,7 @@ if test "x$ac_cv_use_gc" != "xno" ; then
75 fi
76 CPPFLAGS_SAVE=$CPPFLAGS
77 CPPFLAGS=$CPPFLAGS" $INCL"
78 - AC_CHECK_HEADER(gc.h,
79 + AC_CHECK_HEADER([gc/gc.h],
80 AC_CHECK_LIB([gc],[GC_malloc],[
81 LIBS=$LIBS"-lgc "
82 AC_MSG_NOTICE([enabling system $GCNAME])],[
83 @@ -186,7 +192,16 @@ AC_CHECK_LIB([ncurses], [setupterm], [AC
84 AC_CHECK_LIB([m], [sqrt])
85 AC_CHECK_LIB([z], [deflate])
86 AC_CHECK_LIB([pthread], [pthread_create])
87 -AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler])
88 +
89 +AC_ARG_WITH(sigsegv,
90 + [ --with-sigsegv use libsigsegv],
91 + [with_sigsegv=$withval],
92 + [with_sigsegv="no"])
93 +if test "$with_sigsegv" = "yes"; then
94 +AC_CHECK_HEADER([sigsegv.h],
95 + AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler]),
96 + AC_MSG_NOTICE([*** Header file sigsegv.h not found ***]))
97 +fi
98
99 AC_CHECK_LIB([readline], [rl_completion_matches],,
100 AC_MSG_NOTICE(*** Could not find GNU readline 4.2 or later: will compile without readline support ***))
101 @@ -203,11 +218,17 @@ AC_COMPILE_IFELSE(AC_LANG_PROGRAM([#incl
102 [Define if you have a working <rpc/rpc.h> header file])],
103 AC_MSG_WARN([*** Broken rpc headers; XDR support disabled ***]))
104
105 -AC_CHECK_HEADER(gsl/gsl_sf.h,
106 +AC_ARG_WITH(gsl,
107 + [ --with-gsl use gsl libraries],
108 + [with_gsl=$withval],
109 + [with_gsl="no"])
110 +if test "$with_gsl" = "yes"; then
111 +AC_CHECK_HEADER([gsl/gsl_sf.h],
112 AC_CHECK_LIB([gsl], gsl_sf_Si, [AC_DEFINE(HAVE_LIBGSL, 1,
113 [Define to 1 if you have the 'gsl' library (-lgsl). ]) LIBS=$LIBS"-lgsl -lgslcblas "],
114 AC_MSG_NOTICE([*** Could not find libgsl: will compile without optional special functions. ***]),[-lgslcblas]),
115 AC_MSG_NOTICE([*** Header file gsl_sf.h not found: will compile without optional special functions. ***]))
116 +fi
117
118 case "$OSTYPE" in
119 cygwin) AC_CHECK_HEADER(GL/glut.h,