From 27dfd272ae3be15b1017f733682211afa1c7c0f0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 2 Nov 2017 21:07:25 +0000 Subject: gentoo resync : 02.11.2017 --- media-gfx/asymptote/Manifest | 13 +- media-gfx/asymptote/asymptote-2.36.ebuild | 210 --------------------- media-gfx/asymptote/asymptote-2.38.ebuild | 210 --------------------- media-gfx/asymptote/asymptote-2.41-r1.ebuild | 3 + .../files/asymptote-2.36-configure-ac.patch | 32 ---- .../asymptote/files/asymptote-2.36-info.patch | 13 -- .../asymptote/files/asymptote-2.36-xdg-utils.patch | 23 --- .../files/asymptote-2.38-configure-ac.patch | 13 -- .../asymptote/files/asymptote-2.38-info.patch | 13 -- .../asymptote/files/asymptote-2.38-xdg-utils.patch | 23 --- .../asymptote/files/asymptote-2.41-perl-5.26.patch | 10 + 11 files changed, 15 insertions(+), 548 deletions(-) delete mode 100644 media-gfx/asymptote/asymptote-2.36.ebuild delete mode 100644 media-gfx/asymptote/asymptote-2.38.ebuild delete mode 100644 media-gfx/asymptote/files/asymptote-2.36-configure-ac.patch delete mode 100644 media-gfx/asymptote/files/asymptote-2.36-info.patch delete mode 100644 media-gfx/asymptote/files/asymptote-2.36-xdg-utils.patch delete mode 100644 media-gfx/asymptote/files/asymptote-2.38-configure-ac.patch delete mode 100644 media-gfx/asymptote/files/asymptote-2.38-info.patch delete mode 100644 media-gfx/asymptote/files/asymptote-2.38-xdg-utils.patch create mode 100644 media-gfx/asymptote/files/asymptote-2.41-perl-5.26.patch (limited to 'media-gfx/asymptote') diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest index b0e5f47299b2..48ab4438a5c6 100644 --- a/media-gfx/asymptote/Manifest +++ b/media-gfx/asymptote/Manifest @@ -4,23 +4,14 @@ AUX asymptote-2.32-configure-ac.patch 1124 SHA256 9c18c6f135fdc0acb04bd3ee54eaba AUX asymptote-2.32-ghostscript-9.15.patch 906 SHA256 d2cb6119969ed17f07b09a5a348698f51fc8f86b11e8f3d9b0e4e9bd50af08e2 SHA512 d5d40d10cead93f73755599aeb0177e65c9d34855b9889cdd603d7334c771b53132acc46c199c872d46b66f541f31326fe5747cd2cc60529b5051cf29e09d904 WHIRLPOOL 3a969631d6bb295d9ee912be7063d5d0ae8a50467159a824b278cd0cc4bc1f577b97a45a298ecf18fbeb79f25ff547316a8f408b8c0839c4001d6d8c36cc2683 AUX asymptote-2.32-info.patch 436 SHA256 ff2cac5daac0c4efa5d2375cd440791d2843590d07f39e3808b034732e8a49ee SHA512 55283a8103625f1aee32ed3b8b235ff4af6350a2879a9c1289779a9a37ab0d76446dd3b17b731e9e1b8d1bb1c5e37c6c738eb193f00df89ef22b08b084e2ae36 WHIRLPOOL d5b2d599e033eab06e1d96d697f83a1f86e637dc2b613a1ba0ad7b7f2cc3b107cecddf8703c1f4c9fcfae76046806bbdec617dde2acbf02f4474bfd964a0b3cc AUX asymptote-2.32-xdg-utils.patch 744 SHA256 c86323f54b475641e62047605ada38c7749a60990fde1a81b589f74a9f9c02d0 SHA512 972be61509145f61537a0b8eab79a7f3b5f866e790bf9b18066235c906ed29621cd32dd0d894458221f3fb2c28ab67199139ba7f8e4753d2b20d5f1f07435b9b WHIRLPOOL 249514ce515990dec942a241a2cdd0269bef07f651a4b1c08c7440eaf7bb7e40d417f9b4629d7fe8ba4cf1514c718c4ed78a3ada61762121c41b49687fffcd46 -AUX asymptote-2.36-configure-ac.patch 1124 SHA256 6dad1267500d06b129e115b470a3a0d7c15f40248684137a28060b76e73092f3 SHA512 3ba2f8290d04f5e7ebb0d0aba4fb8a040b332a5992099d6cef525cc4d1566d4c9a69b7e3ab09bd6b1e5c567dbe266a3f4115f898344f5e3e9507a1ff6916b2c6 WHIRLPOOL 1c851a8745fb5bcedd2ac8340b272e582f07f4f4b30e24471ee6470ee697f7cd95e5cf6d58cdc8e711481cb6b943a9e547631694221cee8d18d62f55b471402f -AUX asymptote-2.36-info.patch 436 SHA256 c0e41508f5456cce92c3fee5d892877f3b9f91549eda61575b684fe1d24bb2e6 SHA512 cf98ee0840d260ad5e80090405934d80847ae0f7ad2237a7c12cbcccd282b62c2e455b27d60b81bb54f0a7bab3cb148e273d6e5e19b180e19a6c494eb6835032 WHIRLPOOL 99e6824bb1f02f29a3d2aa1f88e1e9ad9436a71d1b2eaa5419e8434a8fb3fd46476fb5610a4b91f99d9d4fee8d9ab23d9c7b25f82317b49152ce614db2cf2657 -AUX asymptote-2.36-xdg-utils.patch 744 SHA256 ad6c438c59e6e797aefbe2ad10793a4ffd87b73e7d8a07c887e58115f6db8e81 SHA512 8752e8b107907f06ba03916aa61ec0ba5ca5d7b5505f7dff482f722962e17f42dbf22acbba8d2b54ead8fc6b3cc57aadb645d3c3a51170225dc84784333d7e81 WHIRLPOOL 979be4dd968a073f9c57b5fc02cda8611942888d767dd37b382ed7be04dcac1c09f02f2e9f22131ea82a74befdd7976b5983e0d70db31fdb94e394469011d6bf -AUX asymptote-2.38-configure-ac.patch 475 SHA256 af34e95b049945a4c92ac1017f96280262ecffe36a758a8661167a808f990714 SHA512 64627a98caa1d03a274d2e9f009513f1d0cf3b5028c169ff851079a9bf836920cd196a1fd2cf6a31e0f9d0a1e8cd90bd17641fff7daaf478fbceb54c49e2b28e WHIRLPOOL 66b04fcdd7bbb79668a48ba819160eeae44db60be0cbf6532c870f01a6e32a710c69c94452d2c4d826a42cbfa8a10707ce4ffef5dc8a0cca46d6104afecc1ce4 -AUX asymptote-2.38-info.patch 436 SHA256 038acbd6ff38034ab5de8ff85211d06b87ad81d259c831f433efcade037fddb4 SHA512 9980cf8c2c2178d60cd3bae04046f985d42e12322ad480e070a6dd66f56b3704ae64687b8d9e6e912a097fcd10042983a3a7e014c5c3464476ab9b7fc87ba55e WHIRLPOOL fae6b6128239fd564fe5944c3319a736c90293dd5556b1cb8d73c30ddf53ae6976fce99088ac579a9a4aeccac0823b4e6d1d20f504d7721e8a0db2f9236e6751 -AUX asymptote-2.38-xdg-utils.patch 744 SHA256 3f95c9cc59675c397189c0348859cd4672f5781caf59126b1ac073bd964c0b08 SHA512 3b3e2398d705128c2b885ac43cac044c97795c776452687ac33dec336ec32bdc81183e15c717693aa4924620230abb651a6a92775b0f9ec08de5b81a1e925919 WHIRLPOOL 0af2754fba57d9fdf823abfa17897145c570c6a6038e4bc37a05c51c17e55c60333407a81efc962e03cdd50102e4f8ff3aa879356f7d38bf2677859825874b0e AUX asymptote-2.41-configure-ac.patch 475 SHA256 4f59616116fe2249884031c8e5214afc8ff39d788383a765c29b9749d072eba6 SHA512 39403fbd218ca5a6c3a565e6f1955467c8e11296c69acfe529aca5566e03bfee395c360746288fe09d768c2cabd46faaa6efcb7e57595f0dc784b4ef2e0c416a WHIRLPOOL 7219bb876fedae8283e9770e3f338f0d4d8a20fa2bd34590797eecdf70d87d307d00fa8f502572463d263baeef18e2199924e1c2bcfd7b7591b2fcfba6a3bc99 AUX asymptote-2.41-info.patch 436 SHA256 e92ddd03ecc3ed2aea37566912cb885370daa8691e62372e86281b2cd1e484e8 SHA512 7d3ae35b2eb2b226ae3b7326d2e7d50524402d49be90303035a2872b5a109bb104f53376b9da681cc8d6922ddadec6a606540842745109edd3b55ce50725a6fb WHIRLPOOL 17dfa7c8a791f9a1d797bc81fd21e0b3c5c3ddd0333e2404100ada628a3776886caa9d31c24275dbdccc30896324918966c028960ebea9578717c89950efab5d +AUX asymptote-2.41-perl-5.26.patch 400 SHA256 3352219fd2102bfc89523ea98bfdb349d58b90422220d1a4dffccd353f19f179 SHA512 bb333f4f42063be1c4a19d4cfd4209ac7b7d3c4318a5c3634581d63af2183cc27918b80e47148b1cbc256049b38cb85982ef7e00f7f021be3e714adabf15c87b WHIRLPOOL 6fc210b84d1a9647e8847de4bd8f18960f78bdc14d872af10306bac0138b1f997bf1c520fe2ea8d23d849ab094e5d1eea197b674662adf5fa829d04d2dcf874d AUX asymptote-2.41-xdg-utils.patch 744 SHA256 16e222d9d039645aca3c3bf015d509fa723d31362dc2ed3ae71138b86b39b38a SHA512 370fb078d926185ab7e10cbbc8afc4bfe0829e682fe89729a5d41bb3bda5dda96711f1fdcb99b9da69606563ce120383e5a1211372f3d8dd54ea3ddfc0838d7f WHIRLPOOL 10008a622cbe9b995f2d2e701796bea989c9b4e9fa71bf0ae417a18d1c909e73c2185a87e5a871eb5c6486fbee6940a3b1db243967ef0c52b274b9208c1c38f2 DIST asymptote-2.32.src.tgz 1794495 SHA256 2035035e02774598312d5588da2685d20fb85a378ea2bbe48b825c5442b18fa5 SHA512 a0663f1768cb4340bb6e9224d4fbc6e2f8b41501b1f59793d84db2e0f99b9ff071d3dd8fa5c4715c1874f8ef1af713a54b27de37ff40d8ca042f0f48579a57f9 WHIRLPOOL 38a8aaa581acb07bcc7ac0c802222501acf77abaf609d5ae758d9b5668ac6b8b1343640259cc3948e62a39862404709ddb64b4bbd11bcf20dbb7ce29d4fc25d1 -DIST asymptote-2.36.src.tgz 3449528 SHA256 cd3276cba498965f8c9e6c56b157d2f22304b0453d175bd9017b4c62b3fd1750 SHA512 18b079829f90561f88ebde0391f5d842d89ea28bf7b00306b908faeeca21b421127423af3a335bab9afa22036b3d93611702a579513d8a458be2f8cdd542222f WHIRLPOOL 532b221d619c8af077e0ef4cda960e6bc1b2c2eab263cfa1eb729df5928f7ae1d9e05459efee18a5a4fa4464b0b3aacd7f5ab42076e8af4e1fc3745f75dd9b6c -DIST asymptote-2.38.src.tgz 3460789 SHA256 e9c6dbb3fed27cbaf9ba01fd2264f0cff51781466acb29e76418bed801debcb7 SHA512 c54974a0476a33112c7913cfd8962e80a5ff10bc11f65b59a2bc0641f3c2fcfe69ba4592d84b33078d85c43fab7261670195766eca6419f6fd4923fd1ace6904 WHIRLPOOL f1d0a31fe25046c072a4963f64c92f718d980712f46637db65a5664c0a94c1eba162902c9ec4e787685f2250158ecffa9e834564ecbd69c6e3b948c5ad7d7a24 DIST asymptote-2.41.src.tgz 3516426 SHA256 1d6e7e89fb5293fad7d836fb0477f785a113f689bd71f37a05af18ff0c5eeef0 SHA512 93f737a44b085c2290c4553c765cf49679820e6623bc5b6d0229818409868876275d6f0571abeb76033955fa95ee594e37d10c9901c54755b085e36760fd96cb WHIRLPOOL e75a6a2b4e29c3388f221b86958b6564edb14a46dad014acdc81554e1f0ac6b889c757f5a0626af6fb46783bf02393f73e92d2209080a31d665bc23550714a39 EBUILD asymptote-2.32.ebuild 4691 SHA256 6254347d0375c6bfafe9c2d77cd9097fd89a6df6512382daeaf20aa4508cac37 SHA512 542341209f454e6c6bb7c38b2efc3075da2a50b2702999e3d5286aec60593264145176b47fca8dad5588e22bc957d069441f2389c074b95619ff2f50dd6ebcf4 WHIRLPOOL cf78bdeb62f783f8bda5db4c1f48528679837740dcc11de1d9ae7b49cce8364368ce8236dcc916b6e1a85f20cd0ce205b934f80aa7aa09c85e6a53c396705787 -EBUILD asymptote-2.36.ebuild 4557 SHA256 93f08f61479f5acb247958512d20b888ee01043ba191b5f62ae864795c8fb27f SHA512 818d94470a0f3b5efa9caea2a505029f3bd9424471e50192b048894ab073146bb455e00578a2e691c5ed3633a037e3fcf2983d1c1c2f81a72db4f7b16b3118ef WHIRLPOOL c0cdad138b661de2438db5e63006cdc5e77b2c76dc501527a0786a11011588adb3690f5acc364fc454b45426e1db3f8648f090ec3dc441f545afd38ccdd602ce -EBUILD asymptote-2.38.ebuild 4521 SHA256 7bdb0c46047997a43335348457b11cecfbf82cfe2e5e16ffef710f618c8851be SHA512 4580c1f6986557979a24a70a8a2f6e9450abc2edb8f0113ae4728e7af66086d1ec3d1ed40a11f8fc5dec1b9b896db8a9dc9e423c26f9c4909aa5bd1bf15df63b WHIRLPOOL 7517f968fc8bb8725caad371caef3c0ed38e6bc482a0cddc177e7fb97fd13185e5fa7050578a3e05087e0366e5a9f777f2730fef51dfc171ce2b4927b5e58ffb -EBUILD asymptote-2.41-r1.ebuild 4580 SHA256 040c1fcedcef34d452304eeba9103e0092cf2d951738206ba11de775bf609ea5 SHA512 926aca84b8cff2122a1e93a25e11d7bbc6774f1902ad8234d322be41a688961d6c9641695dbc341bb7ade014ddc46a78884772a500948620da4c5ae3714638cf WHIRLPOOL 08ea9564f28fe065922267ae970aa8c2826e6c4e63816a8b186f2c83c241254202ef1aa9169b14993b0816573bb12b7e5126009c26b389fb31c1022a5257cf2a +EBUILD asymptote-2.41-r1.ebuild 4668 SHA256 93440ac086bb68642c6442ffb24fcb2a27c3efca4a92d36d606bb456da432296 SHA512 a30db348b7593b896ba32d94a96d079acbb07e32de936c86db27565f33bfa46854f836a98847b635630930385f380406d05abc81f123377c3f96dc97db912c90 WHIRLPOOL 004625b5b074d3aae1886ea56b42777b26c9c78ee7e9b773223df4062f1f42912a1c1b1ada568855ca9d05f7eec11c69a6b0ff23e5bc14b661c2bd4a5877d2ff MISC ChangeLog 5493 SHA256 42c19752496aa3f28c7c4ad7539a72e14c8d3c24ec96c4a19a584c9ec42f1a81 SHA512 bea0953d358fb283d6ff7daabdde77b39c2ee1c81f133ee75d9760725a38d0fb8e5828b6d2bbb69b24e5b7b9e5b0535c2a0f07983079979a50ac49b8bcb6dca6 WHIRLPOOL 944056444f36cb4a510f95361c4bd73be17db3f6a196b37b868b16fdb9d75c5ccd8f5f2c61d2377856135e78ff7d1f55a0d7d7d363f637d2eb7d28af6c6a093e MISC ChangeLog-2015 31345 SHA256 d8ac4e20f284e917db6fd098648757c19bb67c04036d706d848d799ebc7497c2 SHA512 a10cd2714c8efb07b2d7ef9538951faace408525becbd7b203fa36241c24475cc6d8714f8246a813be4cceca48c71de421aaebd336c1f349bf648d7d176b5908 WHIRLPOOL 67ed17ab8d83fac0512dda190408d7f25ec4789be94d687849e04fbde69f45614b886e4dfc9b89e8e04b2839bfb110d6f2a5cfdb9053ada736fde780b8477fe5 MISC metadata.xml 1151 SHA256 30058a1aac7241ba11cea8839912fda208d83156f9769b57a877766bd5227328 SHA512 37a7c882ae951dee27c69937621d9385026ec2fb41d771010b48c07cf753fb5233c7edadf1dd937e9f6013c41406c0a3052a1b3d3493d7fa927bc1da9d6d8f3e WHIRLPOOL 173a1e3e82098ad3c846534101a5851d1b71b3d1ab9856a0e97168e49d3542e78c35cf70c236440589ea6a048316faa2c5550f7a8d9824b1559d6933d062d684 diff --git a/media-gfx/asymptote/asymptote-2.36.ebuild b/media-gfx/asymptote/asymptote-2.36.ebuild deleted file mode 100644 index ce68c0d99b83..000000000000 --- a/media-gfx/asymptote/asymptote-2.36.ebuild +++ /dev/null @@ -1,210 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit autotools elisp-common eutils latex-package multilib python-single-r1 - -DESCRIPTION="A vector graphics language that provides a framework for technical drawing" -HOMEPAGE="http://asymptote.sourceforge.net/" -SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -IUSE="+boehm-gc doc emacs examples fftw gsl +imagemagick latex offscreen +opengl python sigsegv svg vim-syntax X" - -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - offscreen? ( opengl )" - -RDEPEND=" - >=sys-libs/ncurses-5.4-r5:0= - >=sys-libs/readline-4.3-r5:0= - imagemagick? ( media-gfx/imagemagick[png] ) - opengl? ( >=media-libs/mesa-8 ) - offscreen? ( media-libs/mesa[osmesa] ) - svg? ( app-text/dvisvgm ) - sigsegv? ( dev-libs/libsigsegv ) - boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] ) - fftw? ( >=sci-libs/fftw-3.0.1 ) - gsl? ( sci-libs/gsl ) - python? ( ${PYTHON_DEPS} ) - X? ( - ${PYTHON_DEPS} - x11-misc/xdg-utils - dev-python/pillow[tk,${PYTHON_USEDEP}] - ) - latex? ( - virtual/latex-base - >=dev-texlive/texlive-latexextra-2013 - ) - emacs? ( virtual/emacs ) - vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )" -DEPEND="${RDEPEND} - doc? ( - dev-lang/perl - media-gfx/imagemagick[png] - virtual/texi2dvi - virtual/latex-base - )" - -TEXMF=/usr/share/texmf-site - -pkg_setup() { - (use python || use X) && python-single-r1_pkg_setup -} - -src_prepare() { - # Fixing sigsegv enabling - epatch "${FILESDIR}/${P}-configure-ac.patch" - einfo "Patching configure.ac" - sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \ - -i configure.ac \ - || die "sed configure.ac failed" - - # Changing pdf, ps, image viewers to xdg-open - epatch "${FILESDIR}/${P}-xdg-utils.patch" - - # Bug #322473 - epatch "${FILESDIR}/${P}-info.patch" - - eautoreconf -} - -src_configure() { - # for the CPPFLAGS see - # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349 - econf \ - CPPFLAGS=-DHAVE_SYS_TYPES_H \ - CFLAGS="${CXXFLAGS}" \ - --disable-gc-debug \ - $(use_enable boehm-gc gc system) \ - $(use_enable fftw) \ - $(use_enable gsl) \ - $(use_enable opengl gl) \ - $(use_enable offscreen) \ - $(use_with sigsegv) -} - -src_compile() { - default - - cd doc || die - emake asy.1 - if use doc; then - # info - einfo "Making info" - emake ${PN}.info - cd FAQ || die - emake - cd .. || die - # pdf - einfo "Making pdf docs" - export VARTEXFONTS="${T}"/fonts - # see bug #260606 - emake -j1 asymptote.pdf - emake CAD.pdf - fi - cd .. || die - - if use emacs; then - einfo "Compiling emacs lisp files" - elisp-compile base/*.el - fi -} - -src_install() { - # the program - dobin asy - - # .asy files - insinto /usr/share/${PN} - doins base/*.asy - - # documentation - dodoc BUGS ChangeLog README ReleaseNotes TODO - doman doc/asy.1 - - # X GUI - if use X; then - python_scriptinto /usr/share/${PN}/GUI - python_doscript GUI/*.py - dosym /usr/share/${PN}/GUI/xasy.py /usr/bin/xasy - doman doc/xasy.1x - fi - - # examples - if use examples; then - insinto /usr/share/${PN}/examples - doins \ - examples/*.asy \ - examples/*.eps \ - doc/*.asy \ - doc/*.csv \ - doc/*.dat \ - doc/extra/*.asy - use X && doins GUI/*.asy - - insinto /usr/share/${PN}/examples/animations - doins examples/animations/*.asy - fi - - # LaTeX style - if use latex; then - cd doc || die - insinto "${TEXMF}"/tex/latex/${PN} - doins ${PN}.sty asycolors.sty - if use examples; then - insinto /usr/share/${PN}/examples - doins latexusage.tex - fi - cd .. || die - fi - - # asymptote.py - use python && python_domodule base/${PN}.py - - # emacs mode - if use emacs; then - elisp-install ${PN} base/*.el base/*.elc - elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el - fi - - # vim syntax - if use vim-syntax; then - insinto /usr/share/vim/vimfiles/syntax - doins base/asy.vim - insinto /usr/share/vim/vimfiles/ftdetect - doins "${FILESDIR}"/asy-ftd.vim - fi - - # extra documentation - if use doc; then - cd doc || die - doinfo ${PN}.info* - cd FAQ || die - dodoc asy-faq.ascii - doinfo asy-faq.info - insinto /usr/share/doc/${PF}/html/FAQ - doins asy-faq.html/* - cd .. || die - insinto /usr/share/doc/${PF} - doins ${PN}.pdf CAD.pdf - fi -} - -pkg_postinst() { - use latex && latex-package_rehash - use emacs && elisp-site-regen - - elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer' - elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer' -} - -pkg_postrm() { - use latex && latex-package_rehash - use emacs && elisp-site-regen -} diff --git a/media-gfx/asymptote/asymptote-2.38.ebuild b/media-gfx/asymptote/asymptote-2.38.ebuild deleted file mode 100644 index 7c441dfe2481..000000000000 --- a/media-gfx/asymptote/asymptote-2.38.ebuild +++ /dev/null @@ -1,210 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit autotools elisp-common eutils latex-package multilib python-single-r1 - -DESCRIPTION="A vector graphics language that provides a framework for technical drawing" -HOMEPAGE="http://asymptote.sourceforge.net/" -SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -IUSE="+boehm-gc doc emacs examples fftw gsl +imagemagick latex offscreen +opengl python sigsegv svg vim-syntax X" - -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - offscreen? ( opengl )" - -RDEPEND=" - >=sys-libs/ncurses-5.4-r5:0= - >=sys-libs/readline-4.3-r5:0= - imagemagick? ( media-gfx/imagemagick[png] ) - opengl? ( >=media-libs/mesa-8 ) - offscreen? ( media-libs/mesa[osmesa] ) - svg? ( app-text/dvisvgm ) - sigsegv? ( dev-libs/libsigsegv ) - boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] ) - fftw? ( >=sci-libs/fftw-3.0.1 ) - gsl? ( sci-libs/gsl ) - python? ( ${PYTHON_DEPS} ) - X? ( - ${PYTHON_DEPS} - x11-misc/xdg-utils - dev-python/pillow[tk,${PYTHON_USEDEP}] - ) - latex? ( - virtual/latex-base - >=dev-texlive/texlive-latexextra-2013 - ) - emacs? ( virtual/emacs ) - vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )" -DEPEND="${RDEPEND} - doc? ( - dev-lang/perl - media-gfx/imagemagick[png] - virtual/texi2dvi - virtual/latex-base - )" - -TEXMF=/usr/share/texmf-site - -pkg_setup() { - (use python || use X) && python-single-r1_pkg_setup -} - -src_prepare() { - # gc.h -> gc/gc.h - epatch "${FILESDIR}/${P}-configure-ac.patch" - - sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \ - -i configure.ac \ - || die "sed configure.ac failed" - - # Changing pdf, ps, image viewers to xdg-open - epatch "${FILESDIR}/${P}-xdg-utils.patch" - - # Bug #322473 - epatch "${FILESDIR}/${P}-info.patch" - - eautoreconf -} - -src_configure() { - # for the CPPFLAGS see - # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349 - econf \ - CPPFLAGS=-DHAVE_SYS_TYPES_H \ - CFLAGS="${CXXFLAGS}" \ - --disable-gc-debug \ - $(use_enable boehm-gc gc system) \ - $(use_enable fftw) \ - $(use_enable gsl) \ - $(use_enable opengl gl) \ - $(use_enable offscreen) \ - $(use_enable sigsegv) -} - -src_compile() { - default - - cd doc || die - emake asy.1 - if use doc; then - # info - einfo "Making info" - emake ${PN}.info - cd FAQ || die - emake - cd .. || die - # pdf - einfo "Making pdf docs" - export VARTEXFONTS="${T}"/fonts - # see bug #260606 - emake -j1 asymptote.pdf - emake CAD.pdf - fi - cd .. || die - - if use emacs; then - einfo "Compiling emacs lisp files" - elisp-compile base/*.el - fi -} - -src_install() { - # the program - dobin asy - - # .asy files - insinto /usr/share/${PN} - doins base/*.asy - - # documentation - dodoc BUGS ChangeLog README ReleaseNotes TODO - doman doc/asy.1 - - # X GUI - if use X; then - python_scriptinto /usr/share/${PN}/GUI - python_doscript GUI/*.py - dosym /usr/share/${PN}/GUI/xasy.py /usr/bin/xasy - doman doc/xasy.1x - fi - - # examples - if use examples; then - insinto /usr/share/${PN}/examples - doins \ - examples/*.asy \ - examples/*.eps \ - doc/*.asy \ - doc/*.csv \ - doc/*.dat \ - doc/extra/*.asy - use X && doins GUI/*.asy - - insinto /usr/share/${PN}/examples/animations - doins examples/animations/*.asy - fi - - # LaTeX style - if use latex; then - cd doc || die - insinto "${TEXMF}"/tex/latex/${PN} - doins ${PN}.sty asycolors.sty - if use examples; then - insinto /usr/share/${PN}/examples - doins latexusage.tex - fi - cd .. || die - fi - - # asymptote.py - use python && python_domodule base/${PN}.py - - # emacs mode - if use emacs; then - elisp-install ${PN} base/*.el base/*.elc - elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el - fi - - # vim syntax - if use vim-syntax; then - insinto /usr/share/vim/vimfiles/syntax - doins base/asy.vim - insinto /usr/share/vim/vimfiles/ftdetect - doins "${FILESDIR}"/asy-ftd.vim - fi - - # extra documentation - if use doc; then - cd doc || die - doinfo ${PN}.info* - cd FAQ || die - dodoc asy-faq.ascii - doinfo asy-faq.info - insinto /usr/share/doc/${PF}/html/FAQ - doins asy-faq.html/* - cd .. || die - insinto /usr/share/doc/${PF} - doins ${PN}.pdf CAD.pdf - fi -} - -pkg_postinst() { - use latex && latex-package_rehash - use emacs && elisp-site-regen - - elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer' - elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer' -} - -pkg_postrm() { - use latex && latex-package_rehash - use emacs && elisp-site-regen -} diff --git a/media-gfx/asymptote/asymptote-2.41-r1.ebuild b/media-gfx/asymptote/asymptote-2.41-r1.ebuild index 4dc9ef30750e..87c3bab47784 100644 --- a/media-gfx/asymptote/asymptote-2.41-r1.ebuild +++ b/media-gfx/asymptote/asymptote-2.41-r1.ebuild @@ -63,6 +63,9 @@ PATCHES=( # Bug #322473 "${FILESDIR}/${P}-info.patch" + + # Bug #635984 - perl-5.26 no longer has . in @INC + "${FILESDIR}/${P}-perl-5.26.patch" ) pkg_setup() { diff --git a/media-gfx/asymptote/files/asymptote-2.36-configure-ac.patch b/media-gfx/asymptote/files/asymptote-2.36-configure-ac.patch deleted file mode 100644 index ea8bc4525d22..000000000000 --- a/media-gfx/asymptote/files/asymptote-2.36-configure-ac.patch +++ /dev/null @@ -1,32 +0,0 @@ -Index: asymptote-2.36/configure.ac -=================================================================== ---- asymptote-2.36.orig/configure.ac -+++ asymptote-2.36/configure.ac -@@ -156,7 +156,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])],[ -@@ -231,7 +231,17 @@ AC_MSG_ERROR([*** Please install libm on - AC_CHECK_LIB([z], [deflate],, - AC_MSG_ERROR([*** Please install libz or zlib-devel on your system ***])) - AX_PTHREAD --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-2.36-info.patch b/media-gfx/asymptote/files/asymptote-2.36-info.patch deleted file mode 100644 index 950732838e38..000000000000 --- a/media-gfx/asymptote/files/asymptote-2.36-info.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: asymptote-2.36/doc/asymptote.texi -=================================================================== ---- asymptote-2.36.orig/doc/asymptote.texi -+++ asymptote-2.36/doc/asymptote.texi -@@ -21,7 +21,7 @@ file LICENSE in the top-level source dir - - @dircategory Languages - @direntry --* asymptote: (asymptote/asymptote). Vector graphics language. -+* asymptote: (asymptote). Vector graphics language. - @end direntry - - @titlepage diff --git a/media-gfx/asymptote/files/asymptote-2.36-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-2.36-xdg-utils.patch deleted file mode 100644 index 4763a52084e5..000000000000 --- a/media-gfx/asymptote/files/asymptote-2.36-xdg-utils.patch +++ /dev/null @@ -1,23 +0,0 @@ -Index: asymptote-2.36/settings.cc -=================================================================== ---- asymptote-2.36.orig/settings.cc -+++ asymptote-2.36/settings.cc -@@ -90,15 +90,15 @@ bool msdos=false; - string HOME="HOME"; - string docdir=ASYMPTOTE_DOCDIR; - 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 defaultGhostscriptLibrary="/usr/lib/libgs.so"; --string defaultDisplay="display"; -+string defaultDisplay="xdg-open"; - string defaultAnimate="animate"; - void queryRegistry() {} - const string dirsep="/"; diff --git a/media-gfx/asymptote/files/asymptote-2.38-configure-ac.patch b/media-gfx/asymptote/files/asymptote-2.38-configure-ac.patch deleted file mode 100644 index 3acff863dad9..000000000000 --- a/media-gfx/asymptote/files/asymptote-2.38-configure-ac.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: asymptote-2.38/configure.ac -=================================================================== ---- asymptote-2.38.orig/configure.ac -+++ asymptote-2.38/configure.ac -@@ -156,7 +156,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])],[ diff --git a/media-gfx/asymptote/files/asymptote-2.38-info.patch b/media-gfx/asymptote/files/asymptote-2.38-info.patch deleted file mode 100644 index 7005f152518f..000000000000 --- a/media-gfx/asymptote/files/asymptote-2.38-info.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: asymptote-2.38/doc/asymptote.texi -=================================================================== ---- asymptote-2.38.orig/doc/asymptote.texi -+++ asymptote-2.38/doc/asymptote.texi -@@ -21,7 +21,7 @@ file LICENSE in the top-level source dir - - @dircategory Languages - @direntry --* asymptote: (asymptote/asymptote). Vector graphics language. -+* asymptote: (asymptote). Vector graphics language. - @end direntry - - @titlepage diff --git a/media-gfx/asymptote/files/asymptote-2.38-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-2.38-xdg-utils.patch deleted file mode 100644 index 044244e4008a..000000000000 --- a/media-gfx/asymptote/files/asymptote-2.38-xdg-utils.patch +++ /dev/null @@ -1,23 +0,0 @@ -Index: asymptote-2.38/settings.cc -=================================================================== ---- asymptote-2.38.orig/settings.cc -+++ asymptote-2.38/settings.cc -@@ -91,15 +91,15 @@ bool msdos=false; - string HOME="HOME"; - string docdir=ASYMPTOTE_DOCDIR; - 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 defaultGhostscriptLibrary="/usr/lib/libgs.so"; --string defaultDisplay="display"; -+string defaultDisplay="xdg-open"; - string defaultAnimate="animate"; - void queryRegistry() {} - const string dirsep="/"; diff --git a/media-gfx/asymptote/files/asymptote-2.41-perl-5.26.patch b/media-gfx/asymptote/files/asymptote-2.41-perl-5.26.patch new file mode 100644 index 000000000000..54499b74e6cb --- /dev/null +++ b/media-gfx/asymptote/files/asymptote-2.41-perl-5.26.patch @@ -0,0 +1,10 @@ +diff -r -U2 asymptote-2.41.orig/doc/FAQ/bfnnconv.pl asymptote-2.41/doc/FAQ/bfnnconv.pl +--- asymptote-2.41.orig/doc/FAQ/bfnnconv.pl 2017-03-22 14:56:46.000000000 +0700 ++++ asymptote-2.41/doc/FAQ/bfnnconv.pl 2017-10-31 23:44:05.511045390 +0700 +@@ -62,5 +62,5 @@ + open(U,">$prefix.xrefdb-new"); + +-for $x (@outputs) { require("m-$x.pl"); } ++for $x (@outputs) { require("./m-$x.pl"); } + + &call('init'); -- cgit v1.2.3