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