diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-08-04 08:53:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-08-04 08:53:53 +0100 |
commit | e3872864be25f7421015bef2732fa57c0c9fb726 (patch) | |
tree | 9cb29a544215119b5c5538e37211b994ce1c87ae /dev-lang/logtalk | |
parent | 480486b52ea64765faf696c88b2c6a26a5a454d4 (diff) |
gentoo resync : 04.08.2018
Diffstat (limited to 'dev-lang/logtalk')
-rw-r--r-- | dev-lang/logtalk/Manifest | 13 | ||||
-rw-r--r-- | dev-lang/logtalk/files/logtalk-3.00.0-no-user-docs.patch | 34 | ||||
-rw-r--r-- | dev-lang/logtalk/files/logtalk-3.03.0-no-user-docs.patch | 34 | ||||
-rw-r--r-- | dev-lang/logtalk/files/logtalk-3.18.0-portage.patch | 19 | ||||
-rw-r--r-- | dev-lang/logtalk/logtalk-3.00.0.ebuild | 132 | ||||
-rw-r--r-- | dev-lang/logtalk/logtalk-3.03.0.ebuild | 132 | ||||
-rw-r--r-- | dev-lang/logtalk/logtalk-3.11.2.ebuild | 2 | ||||
-rw-r--r-- | dev-lang/logtalk/logtalk-3.18.0.ebuild (renamed from dev-lang/logtalk/logtalk-3.07.0.ebuild) | 70 |
8 files changed, 60 insertions, 376 deletions
diff --git a/dev-lang/logtalk/Manifest b/dev-lang/logtalk/Manifest index efd44e72ab8e..b4419fa23159 100644 --- a/dev-lang/logtalk/Manifest +++ b/dev-lang/logtalk/Manifest @@ -1,12 +1,7 @@ -AUX logtalk-3.00.0-no-user-docs.patch 1608 BLAKE2B d9bba69d6e8b71cf8e0942d94b5499f111563a57673de876c0dcbdca4ffa4722d1a37fa6e796aba4abf28a8a8daad749a34e9915f88d10f3c19ff7b6257b611c SHA512 9fca7ee47d11cf90b88a62f244b67ffad6c9d43e08b41fef3731461a3519555ae0c76167e8b313d103e27bcc4a24fb86e496cf8a5ef075c10f21f4dc27812fa3 -AUX logtalk-3.03.0-no-user-docs.patch 1608 BLAKE2B f485845bdbffe2ae11cf7335e66ea0a3e66ae241bcb847bb8839421012d0d27c80a348f0fd2fe64529b0a62a26f9eead3602541a53d088f8b8f2be4de280155b SHA512 ad899d1b941e1f162420f74c58868c91480c243c5888a8afb910b5fa5f8bb77073da31bed334ed193d4cbb17ce1980e5d426d2d57f0b15fbf8fdeb545c369197 AUX logtalk-3.11.2-portage.patch 920 BLAKE2B d20d393bc10809945d6100aef08610e9cffe5b40f91927448c5fa4ce3b1cd6120613f754438f15b4f008ff32deabf108e2c242d33ef1fe0d574705e93fb8505e SHA512 b1f6f6457e343db0674aad9633dc7d38f9714574372cb1bfb2e9dd72da52710df45b7488329d6e1448bd84aa10550598f73fc4aac182f60168220898423381dc -DIST logtalk-3.00.0.tar.bz2 1886297 BLAKE2B 7018a39b841c2c7e86945282baf04f83ecbe0dccc5d3760af963bd6e623acf8d04b3e6ce3aa7a702c7f1eb3a8f70d8c6d00d394ec249d2cbfa021d815e4db398 SHA512 bb4ecc709e71eee9a9a532bfcef764095e581189f3e17c9c0f2d80ceeaa4dd993d7da087b07e27f4a377a40d7a798378591d89ab6c801c7a26c1b1d646c7b76c -DIST logtalk-3.03.0.tar.bz2 1997131 BLAKE2B 98cbf7d0b9778b7379b7de1c22ff1772b9bab7475b377cda07c7ae48a60494dc7a39fd0b88ab808f2076d1359b209ca43b1e6565052f0e47d34cb7e9ca33d30b SHA512 8445b0dda78ce0a7a0fe380b03d061271eb924df34c8f035c96a949b177c99234e2998c65f18c55be04c7d661c94473448eb2dc79a586dbc346ab07887f0e98a -DIST logtalk-3.07.0.tar.bz2 2114396 BLAKE2B 62b5960c31fee312ce842b450d49a066508569b636277306e60bbca51bb825c967b0fb53779181e31cf8c9e3345addf7e6d2f1aae98f153cc42cc75bab93f3f9 SHA512 1b26c4f49dee469d6f3a4ae15dd0c429b2b79a407aca9f518af6d1f19f682b6c72dd76c6ed3da38555353219f832efce6f0fb54a4a946cae2fccfa78c67c5757 +AUX logtalk-3.18.0-portage.patch 1179 BLAKE2B 25fad57b8969a487a45ab254cfba3f17bd92741f3a49718efca75307af0a269d0aedf847ae6fa93c3495971653c7b442c4f454f61bb9968f5da809b2dd386e85 SHA512 2f2423991fe8e65c058ab295b73e64693a91e99225bb2af953702227a1234b45d89508cb339fbe12143e6a98657c440778b41c701ed333d0e05520705bfe12dc DIST logtalk-3.11.2.tar.bz2 3122034 BLAKE2B bb790f6c11f5812337777718f92585f459ba7acb4f66a246d575061bb269db85fc37dd73bd8e185de3fc4cdfe62dcdf1d26782ff1dfe26846d99b39c57e97dc5 SHA512 5c48a4c2165c8b4bfe3047d7dc42f3210a72488fbc2e7349a93ae17ed3590cdd4ff22417f153f163c76605ffc30a5bc8fad2bd91099edf68e675b1d94fb7662b -EBUILD logtalk-3.00.0.ebuild 4014 BLAKE2B 8048fd0cc426d1d8db44edc7b5abfad50b50cccbb7c2369bfdb5b106f21662f94f91e3c07e1f8c7942f9f97fb663f86dd4c7cc34f8af4a27eb7ebf6169a032ab SHA512 2c38935ab304ed3de15635ce207e5ae3d8cb5a565c61b9257ff604fe40db262237198311423d93691ab73dd42aafc97eb06533c0781f1d018b6a3fa3b44e1d0e -EBUILD logtalk-3.03.0.ebuild 4013 BLAKE2B 48e997cbd052b46bf2aaa5bb1b5e90f9b8e94baba7bce3e75168821b93c297c8dd7b3dac41f4fe94c16e4fd593fb5cb1fbe4e1654c26271fc86569497858338f SHA512 959f26b924c1082ed72fd1c84a6b26e56c40c3100118370f1cac5005b0df24f7cdff178031945cef27e3458c4c9ef90097abd995c060a6d14060e67d6464a3f4 -EBUILD logtalk-3.07.0.ebuild 3938 BLAKE2B b3627d4b97f1533e82382dab963ba2f537ec35c19a18e482046684c2194ae9524369a5e465b4e4065a5a0314cdb13a2817509ef00b83324fa0a8a3bbc4d064b1 SHA512 995fd87302c4866b048cc1f0089741380157b9a90b7c8565d7a1e9fa99aa0f604c91277a0bf33b019f0b3aa03aea490178fbce7614cf3468d8585bd8ce9f6eee -EBUILD logtalk-3.11.2.ebuild 3868 BLAKE2B 6721c10a6c1e3d289222fc4ea2d8d84b27fee025de8b19cdf747f5c410183294581f0c9b7d603a191a808e1d71b7d61fc02dfb815a74fcfc4cc10ed61315ebab SHA512 6d8f9d1cf0764414ea4479a1975e79a76ff5b91365bfdf40f68d23e570f9028fd0ee218639ab278a413dc45da3f32b024d63fb9d4adfed80c868b25f8a0f083e +DIST logtalk-3.18.0.tar.bz2 3280635 BLAKE2B 0105c0816d3b265f15f9ba6e82a4e6dbc877869c2ade6deac3f2748da12e14bd5de2e82ca8f1793c6553a635ca8a55138e79645219f09146c8adec4b60f70b30 SHA512 1575a564ff23d35b4d1581e7f5725515a548ea57d128fbfa13f8138e41791c50cc9626bdc26a85f5e676500b3f232faf742e434b1416707134e4c9b3f8afe424 +EBUILD logtalk-3.11.2.ebuild 3928 BLAKE2B 6cbf824bcc49a68323547c248804383c7f70b2758fd212f4633e64eec5b11d45bde5168a52f7ec544160f68ce1657d1b39cced7ea32910289d4737ff2c77a2af SHA512 35c80ddf1777b6aa22060ab7df909cef4fd912266eb3321a1ec5de3e6fde6c8010bcb77effb1a45730b67e44e0b1a12f59d288b84cbbae5fd498d453411d4bcb +EBUILD logtalk-3.18.0.ebuild 3920 BLAKE2B 847c5589b746cef798569f891352d70e634d73604320a06c9815c7c5ee479e43db9b27261e175eb47192a51cdacad3cd68d13ecbbec306715005768faeae07c4 SHA512 709a63c3aca854248e484bb189aa8f4e04f28753ef4d5f24879c424ff12b1b3246912a21e98b16bdb91a7011f0b79d000bbb9001b2010dfc1319328b0477155c MISC metadata.xml 404 BLAKE2B 8eee9851c967beb38e36f649b8eaefc8b8329f06adf298702a06b427edeb9a0e556a2f47e63c2b4cf4219027ed18502336b4a9e032d876bde18897985aea7dd8 SHA512 1faeefef2f7670809936eb73c4e9e4e18f44ee6e5851cc7386e996768ab88dbfa7c24801daa2cf4edca8646427eec1c871136540d71b7e0b0add3d00c78691ed diff --git a/dev-lang/logtalk/files/logtalk-3.00.0-no-user-docs.patch b/dev-lang/logtalk/files/logtalk-3.00.0-no-user-docs.patch deleted file mode 100644 index 7c14f28413a6..000000000000 --- a/dev-lang/logtalk/files/logtalk-3.00.0-no-user-docs.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- a/scripts/logtalk_user_setup.sh -+++ b/scripts/logtalk_user_setup.sh -@@ -114,14 +114,12 @@ - - echo "Copying Logtalk files and directories..." - mkdir -p "$LOGTALKUSER"/contributions --mkdir -p "$LOGTALKUSER"/docs - mkdir -p "$LOGTALKUSER"/examples - mkdir -p "$LOGTALKUSER"/library - mkdir -p "$LOGTALKUSER"/scratch - mkdir -p "$LOGTALKUSER"/tests - mkdir -p "$LOGTALKUSER"/tools - cp -RL "$LOGTALKHOME"/contributions "$LOGTALKUSER"/ --cp -RL "$LOGTALKHOME"/docs "$LOGTALKUSER"/ - cp -RL "$LOGTALKHOME"/examples "$LOGTALKUSER"/ - cp -RL "$LOGTALKHOME"/library "$LOGTALKUSER"/ - cp -RL "$LOGTALKHOME"/scratch "$LOGTALKUSER"/ -@@ -135,16 +133,7 @@ - rm -f "$LOGTALKUSER"/tools/lgtdoc/xml/lgt2* - rm -f "$LOGTALKUSER"/tools/lgtdoc/xml/logtalk.dtd - rm -f "$LOGTALKUSER"/tools/lgtdoc/xml/logtalk.xsd --ln -sf "$LOGTALKHOME"/BIBLIOGRAPHY.bib "$LOGTALKUSER"/BIBLIOGRAPHY.bib --ln -sf "$LOGTALKHOME"/CUSTOMIZE.md "$LOGTALKUSER"/CUSTOMIZE.md --ln -sf "$LOGTALKHOME"/INSTALL.md "$LOGTALKUSER"/INSTALL.md --ln -sf "$LOGTALKHOME"/LICENSE.txt "$LOGTALKUSER"/LICENSE.txt --ln -sf "$LOGTALKHOME"/QUICK_START.md "$LOGTALKUSER"/QUICK_START.md --ln -sf "$LOGTALKHOME"/README.md "$LOGTALKUSER"/README.md --ln -sf "$LOGTALKHOME"/RELEASE_NOTES.md "$LOGTALKUSER"/RELEASE_NOTES.md --ln -sf "$LOGTALKHOME"/UPGRADING.md "$LOGTALKUSER"/UPGRADING.md - ln -sf "$LOGTALKHOME"/adapters "$LOGTALKUSER"/adapters --ln -sf "$LOGTALKHOME"/manuals "$LOGTALKUSER"/manuals - ln -sf "$LOGTALKHOME"/paths "$LOGTALKUSER"/paths - ln -sf "$LOGTALKHOME"/coding "$LOGTALKUSER"/coding - ln -sf "$LOGTALKHOME"/tools/lgtdoc/xml/lgt2html.sh "$LOGTALKUSER"/tools/lgtdoc/xml/lgt2html diff --git a/dev-lang/logtalk/files/logtalk-3.03.0-no-user-docs.patch b/dev-lang/logtalk/files/logtalk-3.03.0-no-user-docs.patch deleted file mode 100644 index 6d4e7ab9154b..000000000000 --- a/dev-lang/logtalk/files/logtalk-3.03.0-no-user-docs.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- a/scripts/logtalk_user_setup.sh -+++ b/scripts/logtalk_user_setup.sh -@@ -110,14 +110,12 @@ - - echo "Copying Logtalk files and directories..." - mkdir -p "$LOGTALKUSER"/contributions --mkdir -p "$LOGTALKUSER"/docs - mkdir -p "$LOGTALKUSER"/examples - mkdir -p "$LOGTALKUSER"/library - mkdir -p "$LOGTALKUSER"/scratch - mkdir -p "$LOGTALKUSER"/tests - mkdir -p "$LOGTALKUSER"/tools - cp -RL "$LOGTALKHOME"/contributions "$LOGTALKUSER"/ --cp -RL "$LOGTALKHOME"/docs "$LOGTALKUSER"/ - cp -RL "$LOGTALKHOME"/examples "$LOGTALKUSER"/ - cp -RL "$LOGTALKHOME"/library "$LOGTALKUSER"/ - cp -RL "$LOGTALKHOME"/scratch "$LOGTALKUSER"/ -@@ -131,16 +129,7 @@ - rm -f "$LOGTALKUSER"/tools/lgtdoc/xml/lgt2* - rm -f "$LOGTALKUSER"/tools/lgtdoc/xml/logtalk.dtd - rm -f "$LOGTALKUSER"/tools/lgtdoc/xml/logtalk.xsd --ln -sf "$LOGTALKHOME"/BIBLIOGRAPHY.bib "$LOGTALKUSER"/BIBLIOGRAPHY.bib --ln -sf "$LOGTALKHOME"/CUSTOMIZE.md "$LOGTALKUSER"/CUSTOMIZE.md --ln -sf "$LOGTALKHOME"/INSTALL.md "$LOGTALKUSER"/INSTALL.md --ln -sf "$LOGTALKHOME"/LICENSE.txt "$LOGTALKUSER"/LICENSE.txt --ln -sf "$LOGTALKHOME"/QUICK_START.md "$LOGTALKUSER"/QUICK_START.md --ln -sf "$LOGTALKHOME"/README.md "$LOGTALKUSER"/README.md --ln -sf "$LOGTALKHOME"/RELEASE_NOTES.md "$LOGTALKUSER"/RELEASE_NOTES.md --ln -sf "$LOGTALKHOME"/UPGRADING.md "$LOGTALKUSER"/UPGRADING.md - ln -sf "$LOGTALKHOME"/adapters "$LOGTALKUSER"/adapters --ln -sf "$LOGTALKHOME"/manuals "$LOGTALKUSER"/manuals - ln -sf "$LOGTALKHOME"/paths "$LOGTALKUSER"/paths - ln -sf "$LOGTALKHOME"/coding "$LOGTALKUSER"/coding - ln -sf "$LOGTALKHOME"/tools/lgtdoc/xml/lgt2html.sh "$LOGTALKUSER"/tools/lgtdoc/xml/lgt2html diff --git a/dev-lang/logtalk/files/logtalk-3.18.0-portage.patch b/dev-lang/logtalk/files/logtalk-3.18.0-portage.patch new file mode 100644 index 000000000000..cb0d44010d25 --- /dev/null +++ b/dev-lang/logtalk/files/logtalk-3.18.0-portage.patch @@ -0,0 +1,19 @@ +--- logtalk-3.18.0.orig/scripts/logtalk_user_setup.sh 2018-06-26 15:11:02.000000000 +0200 ++++ logtalk-3.18.0/scripts/logtalk_user_setup.sh 2018-07-22 14:05:50.343406307 +0200 +@@ -131,16 +131,6 @@ + rm -f "$LOGTALKUSER"/tools/lgtdoc/xml/lgt2* + rm -f "$LOGTALKUSER"/tools/lgtdoc/xml/logtalk.dtd + rm -f "$LOGTALKUSER"/tools/lgtdoc/xml/logtalk.xsd +-ln -sf "$LOGTALKHOME"/ACKNOWLEDGMENTS.md "$LOGTALKUSER"/ACKNOWLEDGMENTS.md +-ln -sf "$LOGTALKHOME"/BIBLIOGRAPHY.bib "$LOGTALKUSER"/BIBLIOGRAPHY.bib +-ln -sf "$LOGTALKHOME"/CONTRIBUTING.md "$LOGTALKUSER"/CONTRIBUTING.md +-ln -sf "$LOGTALKHOME"/CUSTOMIZE.md "$LOGTALKUSER"/CUSTOMIZE.md +-ln -sf "$LOGTALKHOME"/INSTALL.md "$LOGTALKUSER"/INSTALL.md +-ln -sf "$LOGTALKHOME"/LICENSE.txt "$LOGTALKUSER"/LICENSE.txt +-ln -sf "$LOGTALKHOME"/QUICK_START.md "$LOGTALKUSER"/QUICK_START.md +-ln -sf "$LOGTALKHOME"/README.md "$LOGTALKUSER"/README.md +-ln -sf "$LOGTALKHOME"/RELEASE_NOTES.md "$LOGTALKUSER"/RELEASE_NOTES.md +-ln -sf "$LOGTALKHOME"/UPGRADING.md "$LOGTALKUSER"/UPGRADING.md + ln -sf "$LOGTALKHOME"/adapters "$LOGTALKUSER"/adapters + ln -sf "$LOGTALKHOME"/coding "$LOGTALKUSER"/coding + ln -sf "$LOGTALKHOME"/integration "$LOGTALKUSER"/integration diff --git a/dev-lang/logtalk/logtalk-3.00.0.ebuild b/dev-lang/logtalk/logtalk-3.00.0.ebuild deleted file mode 100644 index d21ce5022afa..000000000000 --- a/dev-lang/logtalk/logtalk-3.00.0.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils xdg-utils - -DESCRIPTION="Open source object-oriented logic programming language" -HOMEPAGE="http://logtalk.org" -SRC_URI="http://logtalk.org/files/${P}.tar.bz2" -LICENSE="logtalk" - -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="doc fop xslt" - -DEPEND="" -RDEPEND=" - xslt? ( dev-libs/libxslt ) - fop? ( dev-java/fop ) - ${DEPEND}" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-3.00.0-no-user-docs.patch -} - -src_install() { - # Look at scripts/install.sh for upstream installation process. - # Install logtalk base - mv scripts/logtalk_user_setup.sh integration/ - mkdir -p "${D}/usr/share/${P}" - cp -r adapters coding contributions core examples integration \ - library paths scratch tests tools VERSION.txt \ - loader-sample.lgt settings-sample.lgt tester-sample.lgt \ - "${D}/usr/share/${P}" \ - || die "Failed to install files" - - # Install mime file, the database will be updated later - insinto /usr/share/mime/packages - doins scripts/freedesktop/logtalk.xml - - # Install documentation - dodoc ACKNOWLEDGMENTS.md BIBLIOGRAPHY.bib CUSTOMIZE.md \ - INSTALL.md LICENSE.txt QUICK_START.md README.md \ - RELEASE_NOTES.md UPGRADING.md VERSION.txt - if use doc ; then - dohtml -r docs/* \ - || die "Failed to install html core documentation" - dohtml -r manuals/* \ - || die "Failed to install html manual" - fi - - rm -f man/man1/logtalk_backend_select.1 - rm -f man/man1/logtalk_version_select.1 - doman man/man1/*.1 || die "Failed to install man pages" - - # Integration symlinks - dosym /usr/share/${P}/integration/logtalk_user_setup.sh \ - /usr/bin/logtalk_user_setup - dosym /usr/share/${P}/integration/bplgt.sh \ - /usr/bin/bplgt - dosym /usr/share/${P}/integration/cxlgt.sh \ - /usr/bin/cxlgt - dosym /usr/share/${P}/integration/eclipselgt.sh \ - /usr/bin/eclipselgt - dosym /usr/share/${P}/integration/gplgt.sh \ - /usr/bin/gplgt - dosym /usr/share/${P}/integration/lplgt.sh \ - /usr/bin/lplgt - dosym /usr/share/${P}/integration/qplgt.sh \ - /usr/bin/qplgt - dosym /usr/share/${P}/integration/quintuslgt.sh \ - /usr/bin/quintuslgt - dosym /usr/share/${P}/integration/sicstuslgt.sh \ - /usr/bin/sicstuslgt - dosym /usr/share/${P}/integration/swilgt.sh \ - /usr/bin/swilgt - dosym /usr/share/${P}/integration/xsblgt.sh \ - /usr/bin/xsblgt - dosym /usr/share/${P}/integration/xsbmtlgt.sh \ - /usr/bin/xsbmtlgt - dosym /usr/share/${P}/integration/yaplgt.sh \ - /usr/bin/yaplgt - - dosym /usr/share/${P}/tools/lgtdoc/xml/lgt2xml.sh \ - /usr/bin/lgt2xml - use xslt && dosym /usr/share/${P}/tools/lgtdoc/xml/lgt2html.sh \ - /usr/bin/lgt2html - use xslt && dosym /usr/share/${P}/tools/lgtdoc/xml/lgt2txt.sh \ - /usr/bin/lgt2txt - use xslt && dosym /usr/share/${P}/tools/lgtdoc/xml/lgt2md.sh \ - /usr/bin/lgt2md - use fop && dosym /usr/share/${P}/tools/lgtdoc/xml/lgt2pdf.sh \ - /usr/bin/lgt2pdf - - # Install environment files - echo "LOGTALKHOME=/usr/share/${P}" > 99logtalk - doenvd 99logtalk -} - -pkg_postinst() { - xdg_desktop_database_update - - ewarn "Before running logtalk, users should execute" - ewarn "logtalk_user_setup *once*." - ewarn "" - ewarn "The following integration scripts are installed" - ewarn "for running logtalk with selected Prolog compilers:" - ewarn "B-Prolog: /usr/bin/bplgt" - ewarn "CxProlog: /usr/bin/cxlgt" - ewarn "ECLiPSe: /usr/bin/eclipselgt" - ewarn "GNU Prolog: /usr/bin/gplgt" - ewarn "Lean Prolog: /usr/bin/lplgt" - ewarn "Qu-Prolog: /usr/bin/qplgt" - ewarn "Quintus Prolog: /usr/bin/quintuslgt" - ewarn "SICStus Prolog: /usr/bin/sicstuslgt" - ewarn "SWI Prolog: /usr/bin/swilgt" - ewarn "XSB: /usr/bin/xsblgt" - ewarn "XSB MT: /usr/bin/xsbmtlgt" - ewarn "YAP: /usr/bin/yaplgt" - ewarn "" - - ewarn "The environment has been set up to make the above" - ewarn "integration scripts find files automatically for logtalk." - ewarn "Please run 'etc-update && source /etc/profile' to update" - ewarn "the environment now, otherwise it will be updated at next" - ewarn "login." -} - -pkg_postrm() { - xdg_desktop_database_update -} diff --git a/dev-lang/logtalk/logtalk-3.03.0.ebuild b/dev-lang/logtalk/logtalk-3.03.0.ebuild deleted file mode 100644 index 018dbd5eff83..000000000000 --- a/dev-lang/logtalk/logtalk-3.03.0.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils xdg-utils - -DESCRIPTION="Open source object-oriented logic programming language" -HOMEPAGE="http://logtalk.org" -SRC_URI="http://logtalk.org/files/${P}.tar.bz2" -LICENSE="logtalk" - -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="doc fop xslt" - -DEPEND="" -RDEPEND=" - xslt? ( dev-libs/libxslt ) - fop? ( dev-java/fop ) - ${DEPEND}" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-3.03.0-no-user-docs.patch -} - -src_install() { - # Look at scripts/install.sh for upstream installation process. - # Install logtalk base - mv scripts/logtalk_user_setup.sh integration/ - mkdir -p "${D}/usr/share/${P}" - cp -r adapters coding contributions core examples integration \ - library paths scratch tests tools VERSION.txt \ - loader-sample.lgt settings-sample.lgt tester-sample.lgt \ - "${D}/usr/share/${P}" \ - || die "Failed to install files" - - # Install mime file, the database will be updated later - insinto /usr/share/mime/packages - doins scripts/freedesktop/logtalk.xml - - # Install documentation - dodoc ACKNOWLEDGMENTS.md BIBLIOGRAPHY.bib CUSTOMIZE.md \ - INSTALL.md LICENSE.txt QUICK_START.md README.md \ - RELEASE_NOTES.md UPGRADING.md VERSION.txt - if use doc ; then - dohtml -r docs/* \ - || die "Failed to install html core documentation" - dohtml -r manuals/* \ - || die "Failed to install html manual" - fi - - rm -f man/man1/logtalk_backend_select.1 - rm -f man/man1/logtalk_version_select.1 - doman man/man1/*.1 || die "Failed to install man pages" - - # Integration symlinks - dosym /usr/share/${P}/integration/logtalk_user_setup.sh \ - /usr/bin/logtalk_user_setup - dosym /usr/share/${P}/integration/bplgt.sh \ - /usr/bin/bplgt - dosym /usr/share/${P}/integration/cxlgt.sh \ - /usr/bin/cxlgt - dosym /usr/share/${P}/integration/eclipselgt.sh \ - /usr/bin/eclipselgt - dosym /usr/share/${P}/integration/gplgt.sh \ - /usr/bin/gplgt - dosym /usr/share/${P}/integration/lplgt.sh \ - /usr/bin/lplgt - dosym /usr/share/${P}/integration/qplgt.sh \ - /usr/bin/qplgt - dosym /usr/share/${P}/integration/quintuslgt.sh \ - /usr/bin/quintuslgt - dosym /usr/share/${P}/integration/sicstuslgt.sh \ - /usr/bin/sicstuslgt - dosym /usr/share/${P}/integration/swilgt.sh \ - /usr/bin/swilgt - dosym /usr/share/${P}/integration/xsblgt.sh \ - /usr/bin/xsblgt - dosym /usr/share/${P}/integration/xsbmtlgt.sh \ - /usr/bin/xsbmtlgt - dosym /usr/share/${P}/integration/yaplgt.sh \ - /usr/bin/yaplgt - - dosym /usr/share/${P}/tools/lgtdoc/xml/lgt2xml.sh \ - /usr/bin/lgt2xml - use xslt && dosym /usr/share/${P}/tools/lgtdoc/xml/lgt2html.sh \ - /usr/bin/lgt2html - use xslt && dosym /usr/share/${P}/tools/lgtdoc/xml/lgt2txt.sh \ - /usr/bin/lgt2txt - use xslt && dosym /usr/share/${P}/tools/lgtdoc/xml/lgt2md.sh \ - /usr/bin/lgt2md - use fop && dosym /usr/share/${P}/tools/lgtdoc/xml/lgt2pdf.sh \ - /usr/bin/lgt2pdf - - # Install environment files - echo "LOGTALKHOME=/usr/share/${P}" > 99logtalk - doenvd 99logtalk -} - -pkg_postinst() { - xdg_desktop_database_update - - ewarn "Before running logtalk, users should execute" - ewarn "logtalk_user_setup *once*" - ewarn "" - ewarn "The following integration scripts are installed" - ewarn "for running logtalk with selected Prolog compilers:" - ewarn "B-Prolog: /usr/bin/bplgt" - ewarn "CxProlog: /usr/bin/cxlgt" - ewarn "ECLiPSe: /usr/bin/eclipselgt" - ewarn "GNU Prolog: /usr/bin/gplgt" - ewarn "Lean Prolog: /usr/bin/lplgt" - ewarn "Qu-Prolog: /usr/bin/qplgt" - ewarn "Quintus Prolog: /usr/bin/quintuslgt" - ewarn "SICStus Prolog: /usr/bin/sicstuslgt" - ewarn "SWI Prolog: /usr/bin/swilgt" - ewarn "XSB: /usr/bin/xsblgt" - ewarn "XSB MT: /usr/bin/xsbmtlgt" - ewarn "YAP: /usr/bin/yaplgt" - ewarn "" - - ewarn "The environment has been set up to make the above" - ewarn "integration scripts find files automatically for logtalk." - ewarn "Please run 'etc-update && source /etc/profile' to update" - ewarn "the environment now, otherwise it will be updated at next" - ewarn "login." -} - -pkg_postrm() { - xdg_desktop_database_update -} diff --git a/dev-lang/logtalk/logtalk-3.11.2.ebuild b/dev-lang/logtalk/logtalk-3.11.2.ebuild index 682b01ea55f2..a9cb4028bfed 100644 --- a/dev-lang/logtalk/logtalk-3.11.2.ebuild +++ b/dev-lang/logtalk/logtalk-3.11.2.ebuild @@ -95,6 +95,7 @@ src_install() { } pkg_postinst() { + xdg_mimeinfo_database_update xdg_desktop_database_update ewarn "The following integration scripts are installed" @@ -122,5 +123,6 @@ pkg_postinst() { } pkg_postrm() { + xdg_mimeinfo_database_update xdg_desktop_database_update } diff --git a/dev-lang/logtalk/logtalk-3.07.0.ebuild b/dev-lang/logtalk/logtalk-3.18.0.ebuild index b5e3854b4f1e..f7bd2a861f1c 100644 --- a/dev-lang/logtalk/logtalk-3.07.0.ebuild +++ b/dev-lang/logtalk/logtalk-3.18.0.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 inherit eutils xdg-utils @@ -12,16 +12,17 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="doc fop xslt" +IUSE="fop xslt" DEPEND="" -RDEPEND=" +RDEPEND="${DEPEND} xslt? ( dev-libs/libxslt ) - fop? ( dev-java/fop ) - ${DEPEND}" + fop? ( dev-java/fop )" src_prepare() { - epatch "${FILESDIR}"/${PN}-3.03.0-no-user-docs.patch + epatch "${FILESDIR}"/${P}-portage.patch + + eapply_user } src_install() { @@ -29,8 +30,8 @@ src_install() { # Install logtalk base mv scripts/logtalk_user_setup.sh integration/ mkdir -p "${D}/usr/share/${P}" - cp -r adapters coding contributions core examples integration \ - library paths scratch tests tools VERSION.txt \ + cp -r adapters coding contributions core docs examples integration \ + library manuals paths scratch tests tools VERSION.txt \ loader-sample.lgt settings-sample.lgt tester-sample.lgt \ tests-sample.lgt \ "${D}/usr/share/${P}" \ @@ -41,57 +42,53 @@ src_install() { doins scripts/freedesktop/logtalk.xml # Install documentation - dodoc ACKNOWLEDGMENTS.md BIBLIOGRAPHY.bib CUSTOMIZE.md \ - INSTALL.md LICENSE.txt QUICK_START.md README.md \ - RELEASE_NOTES.md UPGRADING.md VERSION.txt - if use doc ; then - dohtml -r docs/* \ - || die "Failed to install html core documentation" - dohtml -r manuals/* \ - || die "Failed to install html manual" - fi + dodoc ACKNOWLEDGMENTS.md BIBLIOGRAPHY.bib CONTRIBUTING.md \ + CUSTOMIZE.md INSTALL.md LICENSE.txt QUICK_START.md \ + README.md RELEASE_NOTES.md UPGRADING.md VERSION.txt rm -f man/man1/logtalk_backend_select.1 rm -f man/man1/logtalk_version_select.1 doman man/man1/*.1 || die "Failed to install man pages" # Integration symlinks - dosym /usr/share/${P}/integration/logtalk_user_setup.sh \ + dosym ../share/${P}/integration/logtalk_user_setup.sh \ /usr/bin/logtalk_user_setup - dosym /usr/share/${P}/integration/bplgt.sh \ + dosym ../share/${P}/integration/bplgt.sh \ /usr/bin/bplgt - dosym /usr/share/${P}/integration/cxlgt.sh \ + dosym ../share/${P}/integration/cxlgt.sh \ /usr/bin/cxlgt - dosym /usr/share/${P}/integration/eclipselgt.sh \ + dosym ../share/${P}/integration/eclipselgt.sh \ /usr/bin/eclipselgt - dosym /usr/share/${P}/integration/gplgt.sh \ + dosym ../share/${P}/integration/gplgt.sh \ /usr/bin/gplgt - dosym /usr/share/${P}/integration/lplgt.sh \ + dosym ../share/${P}/integration/jiplgt.sh \ + /usr/bin/jiplgt + dosym ../share/${P}/integration/lplgt.sh \ /usr/bin/lplgt - dosym /usr/share/${P}/integration/qplgt.sh \ + dosym ../share/${P}/integration/qplgt.sh \ /usr/bin/qplgt - dosym /usr/share/${P}/integration/quintuslgt.sh \ + dosym ../share/${P}/integration/quintuslgt.sh \ /usr/bin/quintuslgt - dosym /usr/share/${P}/integration/sicstuslgt.sh \ + dosym ../share/${P}/integration/sicstuslgt.sh \ /usr/bin/sicstuslgt - dosym /usr/share/${P}/integration/swilgt.sh \ + dosym ../share/${P}/integration/swilgt.sh \ /usr/bin/swilgt - dosym /usr/share/${P}/integration/xsblgt.sh \ + dosym ../share/${P}/integration/xsblgt.sh \ /usr/bin/xsblgt - dosym /usr/share/${P}/integration/xsbmtlgt.sh \ + dosym ../share/${P}/integration/xsbmtlgt.sh \ /usr/bin/xsbmtlgt - dosym /usr/share/${P}/integration/yaplgt.sh \ + dosym ../share/${P}/integration/yaplgt.sh \ /usr/bin/yaplgt - dosym /usr/share/${P}/tools/lgtdoc/xml/lgt2xml.sh \ + dosym ../share/${P}/tools/lgtdoc/xml/lgt2xml.sh \ /usr/bin/lgt2xml - use xslt && dosym /usr/share/${P}/tools/lgtdoc/xml/lgt2html.sh \ + use xslt && dosym ../share/${P}/tools/lgtdoc/xml/lgt2html.sh \ /usr/bin/lgt2html - use xslt && dosym /usr/share/${P}/tools/lgtdoc/xml/lgt2txt.sh \ + use xslt && dosym ../share/${P}/tools/lgtdoc/xml/lgt2txt.sh \ /usr/bin/lgt2txt - use xslt && dosym /usr/share/${P}/tools/lgtdoc/xml/lgt2md.sh \ + use xslt && dosym ../share/${P}/tools/lgtdoc/xml/lgt2md.sh \ /usr/bin/lgt2md - use fop && dosym /usr/share/${P}/tools/lgtdoc/xml/lgt2pdf.sh \ + use fop && dosym ../share/${P}/tools/lgtdoc/xml/lgt2pdf.sh \ /usr/bin/lgt2pdf # Install environment files @@ -100,6 +97,7 @@ src_install() { } pkg_postinst() { + xdg_mimeinfo_database_update xdg_desktop_database_update ewarn "The following integration scripts are installed" @@ -108,6 +106,7 @@ pkg_postinst() { ewarn "CxProlog: /usr/bin/cxlgt" ewarn "ECLiPSe: /usr/bin/eclipselgt" ewarn "GNU Prolog: /usr/bin/gplgt" + ewarn "JIProlog: /usr/bin/jiplgt" ewarn "Lean Prolog: /usr/bin/lplgt" ewarn "Qu-Prolog: /usr/bin/qplgt" ewarn "Quintus Prolog: /usr/bin/quintuslgt" @@ -126,5 +125,6 @@ pkg_postinst() { } pkg_postrm() { + xdg_mimeinfo_database_update xdg_desktop_database_update } |