* [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
@ 2008-10-20 10:50 Andrey Grozin (grozin)
0 siblings, 0 replies; only message in thread
From: Andrey Grozin (grozin) @ 2008-10-20 10:50 UTC (permalink / raw
To: gentoo-commits
grozin 08/10/20 10:50:16
Added: asymptote-1.46-xdg-utils.patch
asymptote-1.46-configure-ac.patch
Removed: asymptote-1.43-xdg-utils.patch
asymptote-1.43-r1-configure-ac.patch
Log:
Version bump
(Portage version: 2.2_rc12/cvs/Linux 2.6.25-tuxonice-r1 i686)
Revision Changes Path
1.1 media-gfx/asymptote/files/asymptote-1.46-xdg-utils.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.46-xdg-utils.patch?rev=1.1&view=markup
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
Index: asymptote-1.46-xdg-utils.patch
===================================================================
diff -U2 -r asymptote-1.46.orig/settings.cc asymptote-1.46/settings.cc
--- asymptote-1.46.orig/settings.cc 2008-10-19 01:38:49.000000000 +0700
+++ asymptote-1.46/settings.cc 2008-10-21 01:07:49.000000000 +0700
@@ -81,12 +81,12 @@
const char *HOME="HOME";
const char pathSeparator=':';
-string defaultPSViewer="gv";
+string defaultPSViewer="xdg-open";
#ifdef __APPLE__
string defaultPDFViewer="open";
#else
-string defaultPDFViewer="acroread";
+string defaultPDFViewer="xdg-open";
#endif
string defaultGhostscript="gs";
-string defaultDisplay="display";
+string defaultDisplay="xdg-open";
string defaultPython;
const string docdir=ASYMPTOTE_DOCDIR;
1.1 media-gfx/asymptote/files/asymptote-1.46-configure-ac.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.46-configure-ac.patch?rev=1.1&view=markup
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
Index: asymptote-1.46-configure-ac.patch
===================================================================
diff -U2 -r asymptote-1.46.orig/configure.ac asymptote-1.46/configure.ac
--- asymptote-1.46.orig/configure.ac 2008-10-19 01:39:07.000000000 +0700
+++ asymptote-1.46/configure.ac 2008-10-21 01:03:30.000000000 +0700
@@ -77,8 +77,14 @@
fi
-AC_CHECK_HEADER(fftw3.h,
- AC_CHECK_LIB([fftw3], fftw_execute,,
+AC_ARG_WITH([fftw],
+ [ --with-fftw use fftw3],
+ [with_fftw=$withval],
+ [with_fftw="no"])
+if test "$with_fftw" = "yes"; then
+AC_CHECK_HEADER([fftw3.h],
+ AC_CHECK_LIB([fftw3], [fftw_execute],,
AC_MSG_NOTICE([*** Could not find libfftw3: will compile without optional fast Fourier transforms. ***])),
AC_MSG_NOTICE([*** Header file fftw3.h not found: will compile without optional fast Fourier transforms. ***]))
+fi
GCVERSION=gc-7.1
@@ -117,5 +123,5 @@
CPPFLAGS_SAVE=$CPPFLAGS
CPPFLAGS=$CPPFLAGS" $INCL"
- AC_CHECK_HEADER(gc.h,
+ AC_CHECK_HEADER([gc/gc.h],
AC_CHECK_LIB([gc],[GC_malloc],[
LIBS=$LIBS"-lgc "
@@ -183,5 +189,14 @@
AC_CHECK_LIB([m], [sqrt])
AC_CHECK_LIB([z], [deflate])
-AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler])
+
+AC_ARG_WITH(sigsegv,
+ [ --with-sigsegv use libsigsegv],
+ [with_sigsegv=$withval],
+ [with_sigsegv="no"])
+if test "$with_sigsegv" = "yes"; then
+AC_CHECK_HEADER([sigsegv.h],
+ AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler]),
+ AC_MSG_NOTICE([*** Header file sigsegv.h not found ***]))
+fi
AC_CHECK_LIB([readline], [rl_completion_matches],,
@@ -200,9 +215,15 @@
AC_MSG_WARN([*** Broken rpc headers; XDR support disabled ***]))
-AC_CHECK_HEADER(gsl/gsl_sf.h,
+AC_ARG_WITH(gsl,
+ [ --with-gsl use gsl libraries],
+ [with_gsl=$withval],
+ [with_gsl="no"])
+if test "$with_gsl" = "yes"; then
+AC_CHECK_HEADER([gsl/gsl_sf.h],
AC_CHECK_LIB([gsl], gsl_sf_Si, [AC_DEFINE(HAVE_LIBGSL, 1,
[Define to 1 if you have the 'gsl' library (-lgsl). ]) LIBS=$LIBS"-lgsl -lgslcblas "],
AC_MSG_NOTICE([*** Could not find libgsl: will compile without optional special functions. ***]),[-lgslcblas]),
AC_MSG_NOTICE([*** Header file gsl_sf.h not found: will compile without optional special functions. ***]))
+fi
case "$MACHTYPE" in
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-10-20 10:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-20 10:50 [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 Andrey Grozin (grozin)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox