Version bump
authorAndrey Grozin <grozin@gentoo.org>
Tue, 13 Apr 2010 13:25:58 +0000 (13:25 +0000)
committerAndrey Grozin <grozin@gentoo.org>
Tue, 13 Apr 2010 13:25:58 +0000 (13:25 +0000)
Package-Manager: portage-2.2_rc67/cvs/Linux i686

media-gfx/asymptote/ChangeLog
media-gfx/asymptote/Manifest
media-gfx/asymptote/asymptote-1.92.ebuild [moved from media-gfx/asymptote/asymptote-1.91.ebuild with 92% similarity]
media-gfx/asymptote/files/asymptote-1.92-configure-ac.patch [new file with mode: 0644]
media-gfx/asymptote/files/asymptote-1.92-xdg-utils.patch [new file with mode: 0644]

index bb58fe0bcea97686317c08dfac53139b1b31df5a..b2f8207731f33d4539e8b99a41a5379056c7157e 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for media-gfx/asymptote
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/ChangeLog,v 1.66 2010/03/24 20:01:17 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/ChangeLog,v 1.67 2010/04/13 13:25:58 grozin Exp $
+
+*asymptote-1.92 (13 Apr 2010)
+
+  13 Apr 2010; Andrey Grozin <grozin@gentoo.org> -asymptote-1.91.ebuild,
+  +asymptote-1.92.ebuild, +files/asymptote-1.92-configure-ac.patch,
+  +files/asymptote-1.92-xdg-utils.patch:
+  Version bump
 
 *asymptote-1.91-r1 (25 Mar 2010)
 
index eb4c75ab31820dd4c0223d336e40802aebdf2c73..726920a24dd1b2f9ec64ac5a8b4d2257dc2656f3 100644 (file)
@@ -4,10 +4,13 @@ AUX asymptote-1.86-configure-ac.patch 1141 RMD160 423165b11a7020f23af9c10743d768
 AUX asymptote-1.86-xdg-utils.patch 688 RMD160 dac5aabf6f88ed30e79ca9a258b6422e4558c1bd SHA1 26380cbce501404484993a4b7623b93e85bd7b47 SHA256 469b5d377a11ecb51e21a9ed47d28974968969e8a13c60d0126a79289702714e
 AUX asymptote-1.91-configure-ac.patch 1141 RMD160 2e06cc4dda7b18e0a3804ad4b0241a59108fde18 SHA1 1f756c95ab106ce917a949d402f0f999033d23c2 SHA256 18e4807d68bbdcc80137a4c7f13539d00f7d02c8415b35c5a351f023d0f4663c
 AUX asymptote-1.91-xdg-utils.patch 688 RMD160 d835b72da3bb855a17e9b522f81f7e024f7f7973 SHA1 a093b787aeb12dda0aea5ea91c59b11b5fc76472 SHA256 e23ff35d41488e2fe158223320393822226772e5274065efeecd31bb4753eba4
+AUX asymptote-1.92-configure-ac.patch 1141 RMD160 14390066c7536740a4cacce92bca1cd6e5f8cf57 SHA1 51d57a416cf9de4c56bb8ef96d05fef1a207189c SHA256 c25671f6f21ad151c3f45dbc91c92febd47aa669bd9092aa05c0204801223fa9
+AUX asymptote-1.92-xdg-utils.patch 699 RMD160 aa549730e6065b7bad7bdf8f53451ea4fb0694c4 SHA1 43ac09bcce431a6de5100c0de636ef8447fb4183 SHA256 bc5572d75f1d92965b70e51225e48dd591bc5e71e9b16e4d5a33dc3a11fee3c0
 DIST asymptote-1.86.src.tgz 1523200 RMD160 6e8d054253cae75e77c79ead65433f8d64b161e6 SHA1 20158c38a079d20c30fbe8e6e5e39420df3da338 SHA256 fc138a73669e1d43e2edf9e3853257a4831c4bc5fcce61be4d7da5658f2c05e1
 DIST asymptote-1.91.src.tgz 1553086 RMD160 7b6323213d83a873168b8f2f4bc8ea3c6b3f23ab SHA1 0294d778cfd4725732c700a59cc41b3ef161eec0 SHA256 5707b988cc060e1d0da1a3e364f44ce03620b50715995c0ff912c2cf10fd90ad
+DIST asymptote-1.92.src.tgz 1555176 RMD160 a5cf44c55a558c06dbc42411f29d69ab895737dc SHA1 6b414b0224a2aa5e46d3fb26a70bd5aed8221e46 SHA256 65428193d8f87ba345e5d145ae059b0189d50ea7ef39b21c1134d05d9c1027b5
 EBUILD asymptote-1.86.ebuild 4594 RMD160 262b6acbae79036e27a291969bce3f36a6463413 SHA1 c37dcbf957d46a39f55597c2e0480b9ff262c8e3 SHA256 f7155327cc2635e4ded9e886dc298ef2daea3304333897026f8fe50111505acf
 EBUILD asymptote-1.91-r1.ebuild 4598 RMD160 8420e7bbad57533ffc48f5ddab6b5e95afaa73bc SHA1 1005d2683fcc5a9ea9f47d461fed4cd33a114544 SHA256 83e1add459f9a4e97091ba9a6d2602aea81a9445ee38f254e9b82a2f2ab2a87b
-EBUILD asymptote-1.91.ebuild 4596 RMD160 46faf8b2b9472f697413d52c22196f6ee0329c6d SHA1 8f1f140e7b39717a8d7f3e4cd8f8ae1ff9f5996e SHA256 dda0f4f23501d51a6c053b7692103113d96e110d8c449180561d5d0b2c8ba283
-MISC ChangeLog 18932 RMD160 cd3d01799fec563f7fd9caa12220ecd4418e1cb8 SHA1 e7404fe2c66596f649bbc9f0cc37d778fd2db59e SHA256 371e86cdf8f1e25701eb95b99aef30bc9cfb8b4d4d64e4e892cbb74fe0933d58
+EBUILD asymptote-1.92.ebuild 4595 RMD160 91f559100dc8e62ecd63d5d9ed01d3fabc409525 SHA1 773da5f9327825abfed2f38a7fb45cdabf38367b SHA256 3914fdbe207fc58d74fc9fba75af2a96ed61c8fddfa6e22b2106cab561c13332
+MISC ChangeLog 19161 RMD160 0f4fca64dec7721bb117ac728ec8af82789dac65 SHA1 32628e30530317b1cbd828f4cf1f49cf299556d1 SHA256 687548a6a09669a354bcc040674a5fd384cb7207ac99d7c04feef826e2cd5a10
 MISC metadata.xml 869 RMD160 4719ac66d805256a91cf9c311ea75e6d53db256e SHA1 f00600bb09e08fd31ba4fa15414bd3d578a4f136 SHA256 41c4190d40edabcbed20b712c8dca48783e336c7cd14bff51015966b263865b5
similarity index 92%
rename from media-gfx/asymptote/asymptote-1.91.ebuild
rename to media-gfx/asymptote/asymptote-1.92.ebuild
index bbff272bba6977c680a217b880a2b11227bf45fb..bc473875240dd4f6e836a8b7b6c293288116ffec 100644 (file)
@@ -1,7 +1,10 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/asymptote-1.91.ebuild,v 1.1 2010/01/03 06:56:48 grozin Exp $
-EAPI=2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/asymptote-1.92.ebuild,v 1.1 2010/04/13 13:25:58 grozin Exp $
+EAPI=3
+SUPPORT_PYTHON_ABIS=1
+PYTHON_DEPEND="python? 2"
+RESTRICT_PYTHON_ABIS="3.*"
 inherit eutils autotools elisp-common latex-package multilib python
 
 DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
@@ -20,7 +23,6 @@ RDEPEND=">=sys-libs/readline-4.3-r5
        fftw? ( >=sci-libs/fftw-3.0.1 )
        gsl? ( sci-libs/gsl )
        X? ( x11-misc/xdg-utils dev-lang/python dev-python/imaging[tk] )
-       python? ( dev-lang/python )
        latex? ( virtual/latex-base )
        emacs? ( virtual/emacs )
        vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
@@ -139,9 +141,11 @@ src_install() {
 
        # asymptote.py
        if use python; then
-               python_version
-               insinto /usr/$(get_libdir)/python${PYVER}/site-packages
-               doins base/${PN}.py
+               python_install() {
+                       insinto "$(python_get_sitedir)"
+                       doins base/${PN}.py
+               }
+               python_execute_function python_install
        fi
 
        # emacs mode
@@ -174,14 +178,8 @@ src_install() {
 }
 
 pkg_postinst() {
-       if use python; then
-               python_version
-               python_mod_compile \
-                       /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}.py
-       fi
-
+       use python && python_mod_optimize ${PN}.py
        use latex && latex-package_rehash
-
        use emacs && elisp-site-regen
 
        elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
@@ -189,7 +187,7 @@ pkg_postinst() {
 }
 
 pkg_postrm() {
+       use python && python_mod_cleanup ${PN}.py
        use latex && latex-package_rehash
        use emacs && elisp-site-regen
-       use python && python_mod_cleanup
 }
diff --git a/media-gfx/asymptote/files/asymptote-1.92-configure-ac.patch b/media-gfx/asymptote/files/asymptote-1.92-configure-ac.patch
new file mode 100644 (file)
index 0000000..c9be065
--- /dev/null
@@ -0,0 +1,32 @@
+Index: asymptote-1.92/configure.ac
+===================================================================
+--- asymptote-1.92.orig/configure.ac
++++ asymptote-1.92/configure.ac
+@@ -148,7 +148,7 @@ if test "x$ac_cv_use_gc" != "xno" ; then
+       fi
+       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 "
+         AC_MSG_NOTICE([enabling system $GCNAME])],[
+@@ -215,7 +215,17 @@ AC_MSG_ERROR([*** Please install libm on
+ AC_CHECK_LIB([z], [deflate],,
+ AC_MSG_ERROR([*** Please install libz on your system ***]))
+ AC_CHECK_LIB([pthread], [pthread_create])
+-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([rt], [sched_yield])
+ 
+ AC_ARG_ENABLE(readline,
diff --git a/media-gfx/asymptote/files/asymptote-1.92-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-1.92-xdg-utils.patch
new file mode 100644 (file)
index 0000000..3e18c60
--- /dev/null
@@ -0,0 +1,22 @@
+Index: asymptote-1.92/settings.cc
+===================================================================
+--- asymptote-1.92.orig/settings.cc
++++ asymptote-1.92/settings.cc
+@@ -88,14 +88,14 @@ string systemDir=ASYMPTOTE_SYSDIR;
+ bool msdos=false;
+ string 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 defaultAnimate="animate";
+ string docdir=ASYMPTOTE_DOCDIR;
+ void queryRegistry() {}