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