diff options
-rw-r--r-- | dev-python/compizconfig-python/ChangeLog | 145 | ||||
-rw-r--r-- | dev-python/compizconfig-python/Manifest | 18 | ||||
-rw-r--r-- | dev-python/compizconfig-python/compizconfig-python-0.8.4-r5.ebuild | 43 | ||||
-rw-r--r-- | dev-python/compizconfig-python/metadata.xml | 7 | ||||
-rw-r--r-- | dev-vcs/git-subversion/Manifest | 4 | ||||
-rw-r--r-- | dev-vcs/git-subversion/git-subversion-2.3.0.ebuild | 261 |
6 files changed, 478 insertions, 0 deletions
diff --git a/dev-python/compizconfig-python/ChangeLog b/dev-python/compizconfig-python/ChangeLog new file mode 100644 index 00000000..94c2b2f8 --- /dev/null +++ b/dev-python/compizconfig-python/ChangeLog @@ -0,0 +1,145 @@ +# ChangeLog for dev-python/compizconfig-python +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/compizconfig-python/ChangeLog,v 1.30 2013/08/25 14:58:39 pinkbyte Exp $ + + 25 Aug 2013; Sergey Popov <pinkbyte@gentoo.org> + -compizconfig-python-0.8.4-r4.ebuild, compizconfig-python-0.8.4-r5.ebuild: + Add missing REQUIRED_USE for python-r1 eclass, drop old revision + +*compizconfig-python-0.8.4-r5 (07 May 2013) + + 07 May 2013; Sergey Popov <pinkbyte@gentoo.org> + +compizconfig-python-0.8.4-r5.ebuild: + Revision bump: migrate to python-r1 + + 10 Nov 2012; Sergey Popov <pinkbyte@gentoo.org> + compizconfig-python-0.8.4-r4.ebuild: + Restrict usage of jython wrt bug #442424. Thanks to Ian Whyman for reporting + this issue + + 19 Oct 2012; Patrick Lauer <patrick@gentoo.org> + compizconfig-python-0.8.4-r4.ebuild: + Restricting pypy + + 25 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> + -compizconfig-python-0.8.4-r3.ebuild: + Drop old revision + + 30 Aug 2012; Sergey Popov <pinkbyte@gentoo.org> metadata.xml: + Remove myself and proxy maintainer from maintainers + +*compizconfig-python-0.8.4-r4 (30 Aug 2012) + + 30 Aug 2012; Sergey Popov <pinkbyte@gentoo.org> + -compizconfig-python-0.8.4.ebuild, -compizconfig-python-0.8.4-r1.ebuild, + +compizconfig-python-0.8.4-r4.ebuild: + Add new EAPI4 revision, drop old + + 04 May 2012; Patrick Lauer <patrick@gentoo.org> + compizconfig-python-0.8.4-r3.ebuild: + Migrating dev-util/pkgconfig -> virtual/pkgconfig + + 20 Apr 2012; Naohiro Aota <naota@gentoo.org> metadata.xml: + Assign Pinkbyte as maintainer. + +*compizconfig-python-0.8.4-r3 (08 Sep 2010) + + 08 Sep 2010; Diego E. Pettenò <flameeyes@gentoo.org> + -compizconfig-python-0.8.4-r2.ebuild, + +compizconfig-python-0.8.4-r3.ebuild: + Apply patch from #336491 to build with contrived eclasses. + +*compizconfig-python-0.8.4-r2 (04 Sep 2010) + + 04 Sep 2010; Diego E. Pettenò <flameeyes@gentoo.org> + +compizconfig-python-0.8.4-r2.ebuild: + Disable static libraries (they are plugins anyway), remove .la files. + + 03 Apr 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + compizconfig-python-0.8.4-r1.ebuild: + Whitespace. + + 03 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + compizconfig-python-0.8.4-r1.ebuild: + Set SUPPORT_PYTHON_ABIS. + +*compizconfig-python-0.8.4-r1 (03 Apr 2010) + + 03 Apr 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + +compizconfig-python-0.8.4-r1.ebuild: + Replaced compiz ~ deps with >= deps to support the new compiz-0.8.6 + release and to avoid future dep issues. + Did a revbump to avoid issues with installed packages. + + 20 Dec 2009; Romain Perier <mrpouet@gentoo.org> + -compizconfig-python-0.8.2.ebuild: + Clean up old version + +*compizconfig-python-0.8.4 (15 Oct 2009) + + 15 Oct 2009; Romain Perier <mrpouet@gentoo.org> + +compizconfig-python-0.8.4.ebuild: + Version bump. + + 05 Sep 2009; Patrick Lauer <patrick@gentoo.org> + -compizconfig-python-0.6.0.1.ebuild: + Remove old + + 25 Apr 2009; Brent Baude <ranger@gentoo.org> + compizconfig-python-0.8.2.ebuild: + Marking compizconfig-python-0.8.2 ~ppc for bug 246804 + + 25 Apr 2009; Brent Baude <ranger@gentoo.org> + compizconfig-python-0.8.2.ebuild: + Marking compizconfig-python-0.8.2 ~ppc64 for bug 246804 + + 11 Apr 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + -compizconfig-python-0.7.8.ebuild: + Removing old compiz 0.7.8 ebuilds - affected by bug 263678. + +*compizconfig-python-0.8.2 (03 Apr 2009) + + 03 Apr 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + metadata.xml, +compizconfig-python-0.8.2.ebuild: + Bumped compiz to the 0.8.2 release. + + 15 Nov 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + compizconfig-python-0.7.8.ebuild: + Removed the mirror restriction that was used for the overlay. + + 01 Nov 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + metadata.xml: + Whitespace. + + 31 Oct 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + metadata.xml: + Fixed the metadata.xml. + + 27 Oct 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + compizconfig-python-0.7.8.ebuild: + Removed the bug reporting warning that was copied from the desktop-effects + overlay by mistake. + +*compizconfig-python-0.7.8 (27 Oct 2008) + + 27 Oct 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + metadata.xml, +compizconfig-python-0.7.8.ebuild: + Added compiz-0.7.8 to the tree + + 30 Oct 2007; nixnut <nixnut@gentoo.org> + compizconfig-python-0.6.0.1.ebuild: + added ~ppc for mr_bones + + 25 Oct 2007; Olivier Crête <tester@gentoo.org> + compizconfig-python-0.6.0.1.ebuild: + Marked ~amd64 + + 24 Oct 2007; Hanno Boeck <hanno@gentoo.org> + compizconfig-python-0.6.0.1.ebuild: + QA fixes. + +*compizconfig-python-0.6.0.1 (23 Oct 2007) + + 23 Oct 2007; Hanno Boeck <hanno@gentoo.org> +metadata.xml, + +compizconfig-python-0.6.0.1.ebuild: + Initial compiz-fusion commit, ebuild based on xeffects overlay. diff --git a/dev-python/compizconfig-python/Manifest b/dev-python/compizconfig-python/Manifest new file mode 100644 index 00000000..f961a78c --- /dev/null +++ b/dev-python/compizconfig-python/Manifest @@ -0,0 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST compizconfig-python-0.8.4.tar.bz2 269812 SHA256 6734ae35ee69d081f35f98a89cd3bccb411a4db7c5b35fbd226270d95ac76f5a SHA512 3cd20014a7d0b186c9659ce104576d8e08e9e9f1f60bed4b7f4097c12ca4c49392621d2328abb50017c7d9f86af5b43675468b1cd4b5d128e23c24371c4af9ef WHIRLPOOL d2b92846acc25a134604a8773f96b5745b65864f4365e864b9a43e72bbaa7a277592911932886ca3e0af052240f3a56d89ff66799bba0afad58bc8b6d33ba2ac +EBUILD compizconfig-python-0.8.4-r5.ebuild 1031 SHA256 d02a4609c23e2bac67a64012030c4ff5d69be396c806ec958dccc406d12dff63 SHA512 5164211433a6ff9204adadb31217f43fbf157e219dcea2f021795d5ba963ba548bf458d648176ddcdd50aae8583f5b48ba566fac85568a43435bf0f09806dc2c WHIRLPOOL 67478d26ec64a5debb809ad838cc16b930ed57d5cc396ab1ce1c094fc1b623baa9793441bf753b007f96e76e014078371dd72f8ee134cf609c0cf715ee00457e +MISC ChangeLog 4949 SHA256 e396282ea97bd2a25c4a11800d177bdf023ee9fe10d9ecfc36cca959698651f9 SHA512 af5e6309fd27b666ed21f7d2ae5777b79db7f46d052fd61ed7fef3fc5682727ef0738e3786d9cfe853e7d766176492f9172d518a7f4bbe9d919ee725f15c5abc WHIRLPOOL 40c073f1bb176414b7cc8c3afa30c37c8376d73284e6fbfc152d0b2501d4767ea1a32a0eff731027dff9acc97102906c16ebe1aa7ca4e97c3a59e3228484dbe5 +MISC metadata.xml 251 SHA256 5cf6e4528fd87ffa1e34b06bcee06396740ed034a225a2c23ea4cae1422c345f SHA512 e4e6d39ee3d5861e9376fb1192ac71cbe1aa124f1f1b309194519ee1d3d380f4b55a4663f380176e1f1fb71c760983824046d372be47c1f737d1ab7499d9fa92 WHIRLPOOL 47c6903ee91d103ca457ab33b5c41752fa8369908b43be76240cada264cb224aa3e0d2a7a481937f6efa9e5fa4d9206824a06c193c5ea17517db87f5a60be609 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.20 (GNU/Linux) + +iQEcBAEBCAAGBQJSGhugAAoJECo/aRed9267lgcH/0BjUUzbnK1cqJcTRonbLZc2 +OmAfacOMWHlX7CWif1uIQZkxjOM2JXCURgZskKDqIeaF/7evXXmR5o4OXV0gu2Tl +g0L1iFfYqGZ4FHyG3m/YpDpOQNRbl70iYuqWNnS9RVZYeZpGHQBVRBEiZJwZ/yJI +a5N3Y6cl41flnq8CSKHaL1upBJ/3/pwzMU2UOrgHgQ9M/Pyy5BswX8Inup429qPg +yhdN+SyDHNwmP7yE+SpZaCFG29ThMM1AElk6H2e0DHDXg0V0DOl3EFrJ78ymRk+w +3BJSJoI4qIJ7c/DtxUx+X1h58cIdT+5AjaJrhdUUMO8Y/aKbxR4C7zWQusqjIm0= +=fjZg +-----END PGP SIGNATURE----- diff --git a/dev-python/compizconfig-python/compizconfig-python-0.8.4-r5.ebuild b/dev-python/compizconfig-python/compizconfig-python-0.8.4-r5.ebuild new file mode 100644 index 00000000..8defefd3 --- /dev/null +++ b/dev-python/compizconfig-python/compizconfig-python-0.8.4-r5.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/compizconfig-python/compizconfig-python-0.8.4-r5.ebuild,v 1.2 2013/08/25 14:58:39 pinkbyte Exp $ + +EAPI="5" + +PYTHON_COMPAT=( python2_{6,7} ) +inherit eutils autotools-utils python-r1 + +DESCRIPTION="Compizconfig Python Bindings" +HOMEPAGE="http://www.compiz.org/" +SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +RDEPEND="${PYTHON_DEPS} + >=dev-libs/glib-2.6 + >=x11-libs/libcompizconfig-${PV}" + +DEPEND="${RDEPEND} + dev-python/pyrex[${PYTHON_USEDEP}] + virtual/pkgconfig" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_configure() { + local myeconfargs=( + --enable-fast-install + --disable-static + ) + python_foreach_impl autotools-utils_src_configure +} + +src_compile() { + python_foreach_impl autotools-utils_src_compile +} + +src_install() { + python_foreach_impl autotools-utils_src_install + prune_libtool_files --modules +} diff --git a/dev-python/compizconfig-python/metadata.xml b/dev-python/compizconfig-python/metadata.xml new file mode 100644 index 00000000..20b5ab50 --- /dev/null +++ b/dev-python/compizconfig-python/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-effects</herd> +<longdescription lang="en">Python bindings for libcompizconfig.</longdescription> +</pkgmetadata> + diff --git a/dev-vcs/git-subversion/Manifest b/dev-vcs/git-subversion/Manifest index 0fc4773d..977b0d75 100644 --- a/dev-vcs/git-subversion/Manifest +++ b/dev-vcs/git-subversion/Manifest @@ -1,7 +1,11 @@ +DIST git-2.2.1-Gentoo-patches.tar.gz 3808 SHA256 170d06c861e8ab18d8c25743291dec60afcd0abea6e2b3b32563dba98134d874 SHA512 50941f35b0aa85b3bdded2367fb71113525280b137d8bfd25bd7a04986237136ee50ade5fa61b747937a3d7f7689d38998c215ca2a17c84232bfacca0aec6696 WHIRLPOOL 7224129460a2b98a0fd3c9cc4e38737d2d53f47e590fc688f77f4b19cd46b2dd8c2aeffa65a0df664eb677ec4b95d503d472cbb20c2306cbd0986cf2a09173bd +DIST git-2.2.1.tar.xz 3590808 SHA256 09422dc9a0bdddf6bdd5b8634c71e1ed3125256c47424e6a2687701e764ef450 SHA512 66bccfa617d2c8e2e61e5aac9b8daef9d4dc151b85906af252cadef3306ecf792ad6d7869deb149f0d04f6e7c3e9f71119bfeece5690e61782fb357e5384027b WHIRLPOOL f288d0227f3ad3045fd7dcc7a7fa6e68cb29c3a4d363d6648aa4f09aa5742a4496c67d63d0ad120a1f8f9420b9ae30930b8ffb3229f176cf429f8b8c8a1d06e6 DIST git-2.2.2-Gentoo-patches.tar.gz 4605 SHA256 70613dd13269a919069deadda91e157928d4ea9ff3b3e54d7755552610275cd0 SHA512 cd7b27108a0cb9449c90c063d7506ae28004d95bc3379542adf77cd135345b591383b264398ede5d7ce946dca01cd064d30688ec6143588d969a1f9dfc896c8c WHIRLPOOL 1ecffa35d78eadda38a517f9c3b1e177e8a84541cabeba95ab670dfa9d8ada9a7f7817c592bd80e9e0b5993549d9e9c2c3325b2eda07a60164679b3048b1d403 DIST git-2.2.2.tar.xz 3592264 SHA256 aa6d2efcc0c7bb9b9edc6d56d90921706b833972f1d2abe70f71be7838f22d05 SHA512 e3ca6f40de04ed940f521fff4c7e92446e40ad1627acc5b4c090ebf114dcf279d4b1f3efe1189ffa43192fce412165621fc12ea90e2f7d02a6a9ccda655dc69b WHIRLPOOL 9e20def83bbb9b11cb5982fc5f19b09767657ff80f02a237dff6ddaddd3209b4cfb9288bec1b6dc80c6a6db1869cfcaa90e2374279012fc8215771c1a58a1fc2 DIST git-2.3.0.tar.xz 3608648 SHA256 94b23a14d66df536cfe7de37551f55acf908f8bddf30a0f5325a255bb57b0aca SHA512 4be85d3ba3ffac6c55cce648ab6c0a6fe89164e9657480aeee0def79289dbcba486722756b1729d0cedda6012cd582b88129d483ce916bfe06cde5a423f05bc7 WHIRLPOOL d08762cf37536a347aabb2916dce9d482313c41a180b5c440481d9574e9a6c482eb18e0055410171478010e647ae353d70f7113fa07fd8d74bb77909e327ea75 +DIST git-htmldocs-2.2.1.tar.xz 975488 SHA256 dee32b06ecf26044169adf40d95cb301c4219416a65c94b89c6513a80f03863b SHA512 68843b883e2fd4f14646ff97ba9e5f3fd4de9f6bbf57a40e9c1bceb6578ebf497e50f2b808fdb4174966e26bf9ac068b44cfdf111652d15796f4f84a7406d336 WHIRLPOOL 771af06f8663eaaa6de4d117277ea05680671c6d72010653ad8e2b037b7a8d77b4a3733b6c48e4775971304b680d0df2596ed1cb4eedbf9948135912ac9509a3 DIST git-htmldocs-2.2.2.tar.xz 976312 SHA256 41179ff0816189d583f290a227a73788002a319c7ff8c5cada970878c50b901d SHA512 b51b7d619e82d83b4f0b90d31bfccc30291a5beb48b2f5e5e59e75e91e5d772e89b560534a683648cd5480f4bf241f733efc87b30062ef5bb003bf0b5dbeed7f WHIRLPOOL c9dc7ac1a40559e4306d7d97a1619a272faf83d8b05c5a11f5f7b010566cd02fe853fee7eb550c6ccf744db446966a9696f9eb6feeee7ce4f976c6aa88b097d2 DIST git-htmldocs-2.3.0.tar.xz 980936 SHA256 e8e202bae7a89f22a815e15753e9742f2e140b3c0ca548e9a831cfdbfad3a873 SHA512 c4d226784d89469c8faa72f29ab87594682ba46b1887769e29f87ce0db1ac241c9568a8b1530e6d28d43a9861acf803f93dddcc1db59cbe97e21d7b9e374c565 WHIRLPOOL 5bb37b7e7b317ffbf842616b00caad54d4594748726063d2b66c2ccc5fc125a88001506ddff63b15ebaccd7e8a96399bad383eec13dbd8bdc40d5cf7f8696e2b +DIST git-manpages-2.2.1.tar.xz 369796 SHA256 00f8357fd8ab9e3b397dd087b20d405ed141765d04f3f2162e65fdec7cb1e538 SHA512 9fea3a61afa7336c7da9a4c9c130ed4dd05bb3b5b1cc7fe5a3953109085169d9fb92aafd2b932e6b66ad93ac46e3b60ea05c0f311a8178b53bc1c2184773ada5 WHIRLPOOL f5d1f4d47a2bc244beb3a343db37fe6898fc121310cd6bec0d3292a3352a3c86e16b3538b22317419c760870fb511120a3b03c7bc0585bfaa15c1c7418a4e8ac DIST git-manpages-2.2.2.tar.xz 369876 SHA256 d30688bb62763bf1b87f5eaf4c0a66c68999e479ccd2963108a5f6f82138147c SHA512 5c2220bb09f199ad4fe5c1bc20a813a6c62daab5e6e7fa87bf24861d25b7f7e0fdde215c4f59d8895badd7c361ed202e7837de48d2d54a155d24759db39dd4e1 WHIRLPOOL 45acc45663f13faf5b8197516bb934723bf84cd6db929443e2bd9fc3a915baf258ee93e782741e088a5f799115ea4ee6043225fc9ea9ec954feed21ba54c9be4 DIST git-manpages-2.3.0.tar.xz 370864 SHA256 1641d4fb67159961b4c295d2d5a05954bae19ebcaaa67728b6d72b70020b7842 SHA512 aa54b9fd96831a690848ef6df708d45999f03bc45aab3600bf578c998bbb225f54a8999ee5012996cb9d6f28d0d18c97209329cfba557b86d3dd0da7a23b1c1b WHIRLPOOL 817db829cd9e9eba93dc537531fd861278baa410d5a9aca09b2010f299d87c744b8a20d707052c6f8d470a5be74dba7a3bba3d20390915cc2a3eed47e84acb75 diff --git a/dev-vcs/git-subversion/git-subversion-2.3.0.ebuild b/dev-vcs/git-subversion/git-subversion-2.3.0.ebuild new file mode 100644 index 00000000..2cbe9cbf --- /dev/null +++ b/dev-vcs/git-subversion/git-subversion-2.3.0.ebuild @@ -0,0 +1,261 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +GENTOO_DEPEND_ON_PERL=no + +PYTHON_COMPAT=( python2_{6,7} ) +[[ ${PV} == *9999 ]] && SCM="git-2" +EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git" +EGIT_MASTER=pu + +SAB_PATCHES_SRC=( "mirror://sabayon/dev-vcs/git/git-2.2.2-Gentoo-patches.tar.gz" ) +inherit sab-patches toolchain-funcs eutils multilib python-single-r1 ${SCM} + +MY_PV="${PV/_rc/.rc}" +MY_PN="${PN/-subversion}" +MY_P="${MY_PN}-${MY_PV}" + +DOC_VER=${MY_PV} + +DESCRIPTION="Subversion module for GIT, the stupid content tracker" +HOMEPAGE="http://www.git-scm.com/" +if [[ ${PV} != *9999 ]]; then + SRC_URI_SUFFIX="xz" + SRC_URI_GOOG="http://git-core.googlecode.com/files" + SRC_URI_KORG="mirror://kernel/software/scm/git" + SRC_URI+=" ${SRC_URI_GOOG}/${MY_P}.tar.${SRC_URI_SUFFIX} + ${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX} + ${SRC_URI_GOOG}/${MY_PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} + ${SRC_URI_KORG}/${MY_PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} + doc? ( + ${SRC_URI_KORG}/${MY_PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} + ${SRC_URI_GOOG}/${MY_PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} + )" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="doc iconv nls +threads" + +RDEPEND="~dev-vcs/git-${PV}[-subversion,perl] + dev-perl/Error + dev-perl/Net-SMTP-SSL + dev-perl/Authen-SASL + dev-vcs/subversion[-dso,perl] dev-perl/libwww-perl dev-perl/TermReadKey + ${PYTHON_DEPS}" +DEPEND="app-arch/cpio + dev-lang/perl:=[-build(-)] + doc? ( + app-text/asciidoc + app-text/docbook2X + sys-apps/texinfo + app-text/xmlto + )" + +# Live ebuild builds man pages and HTML docs, additionally +if [[ ${PV} == *9999 ]]; then + DEPEND="${DEPEND} + app-text/asciidoc" +fi + +S="${WORKDIR}/${MY_P}" + +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} +" + +# This is needed because for some obscure reasons future calls to make don't +# pick up these exports if we export them in src_unpack() +exportmakeopts() { + local myopts + + # broken assumptions, because of broken build system ... + myopts+=" NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease" + myopts+=" INSTALL=install TAR=tar" + myopts+=" SHELL_PATH=${EPREFIX}/bin/sh" + myopts+=" SANE_TOOL_PATH=" + myopts+=" OLD_ICONV=" + myopts+=" NO_EXTERNAL_GREP=" + + # split ebuild: avoid collisions with dev-vcs/git's .mo files + myopts+=" NO_GETTEXT=YesPlease" + + # For svn-fe + #extlibs="-lz -lssl ${S}/xdiff/lib.a $(usex threads -lpthread '')" + extlibs="-lz -lssl -lcrypto ${S}/xdiff/lib.a $(usex threads -lpthread '')" + + # can't define this to null, since the entire makefile depends on it + sed -i -e '/\/usr\/local/s/BASIC_/#BASIC_/' Makefile + + myopts+=" INSTALLDIRS=vendor" + myopts+=" NO_SVN_TESTS=YesPlease" + myopts+=" NO_CVS=YesPlease" + + has_version '>=app-text/asciidoc-8.0' \ + && myopts+=" ASCIIDOC8=YesPlease" + myopts+=" ASCIIDOC_NO_ROFF=YesPlease" + + # Bug 290465: + # builtin-fetch-pack.c:816: error: 'struct stat' has no member named 'st_mtim' + [[ "${CHOST}" == *-uclibc* ]] && \ + myopts+=" NO_NSEC=YesPlease" + + export MY_MAKEOPTS="${myopts}" + export EXTLIBS="${extlibs}" +} + +src_unpack() { + if [[ ${PV} != *9999 ]]; then + unpack ${MY_P}.tar.${SRC_URI_SUFFIX} + cd "${S}" + unpack ${MY_PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} + use doc && \ + cd "${S}"/Documentation && \ + unpack ${MY_PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} + cd "${S}" + else + git-2_src_unpack + fi + + sab-patches_unpack + +} + +src_prepare() { + # see the git ebuild for the list of patches + sab-patches_apply_all + + epatch_user + + sed -i \ + -e 's:^\(CFLAGS[[:space:]]*=\).*$:\1 $(OPTCFLAGS) -Wall:' \ + -e 's:^\(LDFLAGS[[:space:]]*=\).*$:\1 $(OPTLDFLAGS):' \ + -e 's:^\(CC[[:space:]]* =\).*$:\1$(OPTCC):' \ + -e 's:^\(AR[[:space:]]* =\).*$:\1$(OPTAR):' \ + -e "s:\(PYTHON_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ + -e "s:\(PERL_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ + Makefile contrib/svn-fe/Makefile || die "sed failed" + + # Fix docbook2texi command + sed -r -i 's/DOCBOOK2X_TEXI[[:space:]]*=[[:space:]]*docbook2x-texi/DOCBOOK2X_TEXI = docbook2texi.pl/' \ + Documentation/Makefile || die "sed failed" + + # Never install the private copy of Error.pm (bug #296310) + sed -i \ + -e '/private-Error.pm/s,^,#,' \ + perl/Makefile.PL +} + +git_emake() { + # bug #326625: PERL_PATH, PERL_MM_OPT + # bug #320647: PYTHON_PATH + PYTHON_PATH="${PYTHON}" + emake ${MY_MAKEOPTS} \ + DESTDIR="${D}" \ + OPTCFLAGS="${CFLAGS}" \ + OPTLDFLAGS="${LDFLAGS}" \ + OPTCC="$(tc-getCC)" \ + OPTAR="$(tc-getAR)" \ + prefix="${EPREFIX}"/usr \ + htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ + sysconfdir="${EPREFIX}"/etc \ + PYTHON_PATH="${PYTHON_PATH}" \ + PERL_MM_OPT="" \ + GIT_TEST_OPTS="--no-color" \ + V=1 \ + "$@" + # This is the fix for bug #326625, but it also causes breakage, see bug + # #352693. + # PERL_PATH="${EPREFIX}/usr/bin/env perl" \ +} + +src_configure() { + exportmakeopts +} + +src_compile() { + #if use perl ; then + git_emake perl/PM.stamp || die "emake perl/PM.stamp failed" + git_emake perl/perl.mak || die "emake perl/perl.mak failed" + #fi + + git_emake || die "emake failed" + + cd "${S}"/Documentation + if [[ ${PV} == *9999 ]] ; then + git_emake man \ + || die "emake man failed" + if use doc ; then + git_emake info html \ + || die "emake info html failed" + fi + else + if use doc ; then + git_emake info \ + || die "emake info html failed" + fi + fi + + cd "${S}"/contrib/svn-fe + # by defining EXTLIBS we override the detection for libintl and + # libiconv, bug #516168 + local nlsiconv= + use nls && use !elibc_glibc && nlsiconv+=" -lintl" + use iconv && use !elibc_glibc && nlsiconv+=" -liconv" + git_emake EXTLIBS="${EXTLIBS} ${nlsiconv}" || die "emake svn-fe failed" + if use doc ; then + git_emake svn-fe.{1,html} || die "emake svn-fe.1 svn-fe.html failed" + fi +} + +src_install() { + git_emake \ + install || \ + die "make install failed" + + rm -r "${ED}"usr/share/gitweb || die + rm -r "${ED}"usr/bin || die + rm -r "${ED}"usr/share/git-core/templates || die + rm -r "${ED}"usr/share/git-gui || die + rm -r "${ED}"usr/share/gitk || die + + # avoid conflict with dev-vcs/git + # it looks weird but this binary is installed by git ebuild + # so removing in git-subversion + rm "${ED}"usr/libexec/git-core/git-remote-testsvn || die + + for myfile in "${ED}"usr/libexec/git-core/* "${ED}"usr/$(get_libdir)/* "${ED}"usr/share/man/*/*; do + case "$myfile" in + *svn*) + true ;; + *) + rm -r "${myfile}" || die ;; + esac + done + + local libdir=${ED}usr/$(get_libdir) + if [[ -d ${libdir} ]]; then + # must be empty + rmdir "${libdir}" || die + fi + + doman man*/*svn* || die + if use doc; then + docinto / + dodoc Documentation/*svn*.txt + dohtml -p / Documentation/*svn*.html + fi + + cd "${S}"/contrib/svn-fe + dobin svn-fe + dodoc svn-fe.txt + use doc && doman svn-fe.1 && dohtml svn-fe.html + cd "${S}" + + # kill empty dirs from ${ED} + find "${ED}" -type d -empty -delete || die +} |