1 |
grozin 12/06/02 18:17:12 |
2 |
|
3 |
Added: asymptote-2.16-configure-ac.patch |
4 |
asymptote-2.16-info.patch |
5 |
asymptote-2.16-xdg-utils.patch |
6 |
Removed: asymptote-2.14-xdg-utils.patch |
7 |
asymptote-2.14-info.patch |
8 |
asymptote-2.14-configure-ac.patch |
9 |
Log: |
10 |
Version bump |
11 |
|
12 |
(Portage version: 2.2.0_alpha108/cvs/Linux i686) |
13 |
|
14 |
Revision Changes Path |
15 |
1.1 media-gfx/asymptote/files/asymptote-2.16-configure-ac.patch |
16 |
|
17 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/files/asymptote-2.16-configure-ac.patch?rev=1.1&view=markup |
18 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/files/asymptote-2.16-configure-ac.patch?rev=1.1&content-type=text/plain |
19 |
|
20 |
Index: asymptote-2.16-configure-ac.patch |
21 |
=================================================================== |
22 |
Index: asymptote-2.16/configure.ac |
23 |
=================================================================== |
24 |
--- asymptote-2.16.orig/configure.ac |
25 |
+++ asymptote-2.16/configure.ac |
26 |
@@ -154,7 +154,7 @@ if test "x$ac_cv_use_gc" != "xno" ; then |
27 |
fi |
28 |
CPPFLAGS_SAVE=$CPPFLAGS |
29 |
CPPFLAGS=$CPPFLAGS" $INCL" |
30 |
- AC_CHECK_HEADER(gc.h, |
31 |
+ AC_CHECK_HEADER([gc/gc.h], |
32 |
AC_CHECK_LIB([gc],[GC_malloc],[ |
33 |
LIBS=$LIBS"-lgc " |
34 |
AC_MSG_NOTICE([enabling system $GCNAME])],[ |
35 |
@@ -227,7 +227,17 @@ AC_MSG_ERROR([*** Please install libm on |
36 |
AC_CHECK_LIB([z], [deflate],, |
37 |
AC_MSG_ERROR([*** Please install libz on your system ***])) |
38 |
AX_PTHREAD |
39 |
-AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler]) |
40 |
+ |
41 |
+AC_ARG_WITH(sigsegv, |
42 |
+ [ --with-sigsegv use libsigsegv], |
43 |
+ [with_sigsegv=$withval], |
44 |
+ [with_sigsegv="no"]) |
45 |
+if test "$with_sigsegv" = "yes"; then |
46 |
+AC_CHECK_HEADER([sigsegv.h], |
47 |
+ AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler]), |
48 |
+ AC_MSG_NOTICE([*** Header file sigsegv.h not found ***])) |
49 |
+fi |
50 |
+ |
51 |
AC_CHECK_LIB([rt], [sched_yield]) |
52 |
|
53 |
AC_ARG_ENABLE(readline, |
54 |
|
55 |
|
56 |
|
57 |
1.1 media-gfx/asymptote/files/asymptote-2.16-info.patch |
58 |
|
59 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/files/asymptote-2.16-info.patch?rev=1.1&view=markup |
60 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/files/asymptote-2.16-info.patch?rev=1.1&content-type=text/plain |
61 |
|
62 |
Index: asymptote-2.16-info.patch |
63 |
=================================================================== |
64 |
Index: asymptote-2.16/doc/asymptote.texi |
65 |
=================================================================== |
66 |
--- asymptote-2.16.orig/doc/asymptote.texi |
67 |
+++ asymptote-2.16/doc/asymptote.texi |
68 |
@@ -21,7 +21,7 @@ file LICENSE in the top-level source dir |
69 |
|
70 |
@dircategory Languages |
71 |
@direntry |
72 |
-* asymptote: (asymptote/asymptote). Vector graphics language. |
73 |
+* asymptote: (asymptote). Vector graphics language. |
74 |
@end direntry |
75 |
|
76 |
@titlepage |
77 |
|
78 |
|
79 |
|
80 |
1.1 media-gfx/asymptote/files/asymptote-2.16-xdg-utils.patch |
81 |
|
82 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/files/asymptote-2.16-xdg-utils.patch?rev=1.1&view=markup |
83 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/files/asymptote-2.16-xdg-utils.patch?rev=1.1&content-type=text/plain |
84 |
|
85 |
Index: asymptote-2.16-xdg-utils.patch |
86 |
=================================================================== |
87 |
Index: asymptote-2.16/settings.cc |
88 |
=================================================================== |
89 |
--- asymptote-2.16.orig/settings.cc |
90 |
+++ asymptote-2.16/settings.cc |
91 |
@@ -96,14 +96,14 @@ bool msdos=false; |
92 |
string HOME="HOME"; |
93 |
string docdir=ASYMPTOTE_DOCDIR; |
94 |
const char pathSeparator=':'; |
95 |
-string defaultPSViewer="gv"; |
96 |
+string defaultPSViewer="xdg-open"; |
97 |
#ifdef __APPLE__ |
98 |
string defaultPDFViewer="open"; |
99 |
#else |
100 |
-string defaultPDFViewer="acroread"; |
101 |
+string defaultPDFViewer="xdg-open"; |
102 |
#endif |
103 |
string defaultGhostscript="gs"; |
104 |
-string defaultDisplay="display"; |
105 |
+string defaultDisplay="xdg-open"; |
106 |
string defaultAnimate="animate"; |
107 |
void queryRegistry() {} |
108 |
const string dirsep="/"; |