diff options
author | 2008-10-02 02:43:17 +0000 | |
---|---|---|
committer | 2008-10-02 02:43:17 +0000 | |
commit | 8a1346aae4a3756853b75bfe121524941e842836 (patch) | |
tree | 3f51a379c4ee7714c2b5bff524a6ec404f52b835 /sci-electronics | |
parent | (non-maintainer commit) add deadkeys patch submitted by Yarda in bug #211576 (diff) | |
download | gentoo-2-8a1346aae4a3756853b75bfe121524941e842836.tar.gz gentoo-2-8a1346aae4a3756853b75bfe121524941e842836.tar.bz2 gentoo-2-8a1346aae4a3756853b75bfe121524941e842836.zip |
Revision bump and cleanup of old ebuilds. Also modified the warning at the end of installation to be a little more severe per UPDATE_en.
(Portage version: 2.2_rc9/cvs/Linux 2.6.22-ck1 x86_64)
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/eagle/ChangeLog | 11 | ||||
-rw-r--r-- | sci-electronics/eagle/eagle-4.16_p1.ebuild | 78 | ||||
-rw-r--r-- | sci-electronics/eagle/eagle-5.1.0.ebuild | 10 | ||||
-rw-r--r-- | sci-electronics/eagle/eagle-5.2.0.ebuild | 90 |
4 files changed, 107 insertions, 82 deletions
diff --git a/sci-electronics/eagle/ChangeLog b/sci-electronics/eagle/ChangeLog index 682490787994..a0f7222c6bfd 100644 --- a/sci-electronics/eagle/ChangeLog +++ b/sci-electronics/eagle/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for sci-electronics/eagle # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/ChangeLog,v 1.13 2008/07/17 00:12:09 nixphoeni Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/ChangeLog,v 1.14 2008/10/02 02:43:17 nixphoeni Exp $ + +*eagle-5.2.0 (02 Oct 2008) + + 02 Oct 2008; Joe Sapp <nixphoeni@gentoo.org> -eagle-4.16_p1.ebuild, + eagle-5.1.0.ebuild, +eagle-5.2.0.ebuild: + Revision bump. Also modified the warning at the end of installation to be + a little more severe per UPDATE_en. + Thanks to Alex <nabrozidhs@gmail.com> on bug #235380 for notifying me. + Cleaned up old ebuilds a little too. 17 Jul 2008; Joe Sapp <nixphoeni@gentoo.org> ChangeLog: Revised ebuild for eagle version 5, which uses a new packaging system and diff --git a/sci-electronics/eagle/eagle-4.16_p1.ebuild b/sci-electronics/eagle/eagle-4.16_p1.ebuild deleted file mode 100644 index b41bd72c9d3d..000000000000 --- a/sci-electronics/eagle/eagle-4.16_p1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/eagle-4.16_p1.ebuild,v 1.7 2008/02/29 20:38:42 carlo Exp $ - -inherit eutils - -DESCRIPTION="EAGLE Layout Editor" -HOMEPAGE="http://www.cadsoft.de" - -KEYWORDS="~amd64 ~x86" -IUSE="linguas_de doc" -LICENSE="cadsoft" -RESTRICT="strip" -SLOT="0" - -MY_PV=${PV/_p/r} -MANDOC="cadsoft_eagle_manual" -MANVER="2006.04.03" - -SRC_URI="linguas_de? ( ftp://ftp.cadsoft.de/pub/program/${MY_PV}/${PN}-lin-ger-${MY_PV}.tgz - doc? ( mirror://gentoo/${MANDOC}-ger-${MANVER}.pdf ) ) - !linguas_de? ( ftp://ftp.cadsoft.de/pub/program/${MY_PV}/${PN}-lin-eng-${MY_PV}.tgz - doc? ( mirror://gentoo/${MANDOC}-eng-${MANVER}.pdf ) )" - -RDEPEND="sys-libs/glibc - x11-libs/libXext - x11-libs/libX11 - x11-libs/libXau - x11-libs/libXdmcp" - -INSTALLDIR="/opt/eagle" -case "${LINGUAS}" in - *de*) - MY_LANG="ger";; - *) - MY_LANG="eng";; -esac -MANFILE=${MANDOC}-${MY_LANG}-${MANVER}.pdf -MY_P=${PN}-lin-${MY_LANG}-${MY_PV} -S="${WORKDIR}/${MY_P}" - -src_unpack() { - - unpack ${MY_P}.tgz - use doc && cp "${DISTDIR}"/${MANFILE} "${S}" - -} - -src_install() { - - cd "${S}" - dodir ${INSTALLDIR} - # Copy all to INSTALLDIR - cp -r . "${D}"/${INSTALLDIR} - - # Install the documentation - dodoc README doc/* - use doc && cp ${MANFILE} "${D}"/usr/share/doc/${PF} - doman man/eagle.1 - # Remove docs left in INSTALLDIR - rm -rf "${D}"/${INSTALLDIR}/{README,install,${MANFILE}} "${D}"/${INSTALLDIR}/doc "${D}"/${INSTALLDIR}/man - - echo -e "PATH=${INSTALLDIR}/bin\nROOTPATH=${INSTALLDIR}/bin\nPRELINK_PATH_MASK=${INSTALLDIR}" > "${S}"/90eagle - doenvd "${S}"/90eagle - - # Create desktop entry - doicon bin/${PN}.xpm - make_desktop_entry ${PN} ${PN} ${PN} "Graphics;Electronics" - -} - -pkg_postinst() { - - elog "Run \`env-update && source /etc/profile\` from within \${ROOT}" - elog "now to set up the correct paths." - elog "You must first run eagle as root to invoke product registration." - -} diff --git a/sci-electronics/eagle/eagle-5.1.0.ebuild b/sci-electronics/eagle/eagle-5.1.0.ebuild index 36fe72dfe1c0..abbf31005947 100644 --- a/sci-electronics/eagle/eagle-5.1.0.ebuild +++ b/sci-electronics/eagle/eagle-5.1.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/eagle-5.1.0.ebuild,v 1.1 2008/07/17 00:12:09 nixphoeni Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/eagle-5.1.0.ebuild,v 1.2 2008/10/02 02:43:17 nixphoeni Exp $ inherit eutils @@ -81,7 +81,11 @@ pkg_postinst() { elog "Run \`env-update && source /etc/profile\` from within \${ROOT}" elog "now to set up the correct paths." elog "You must first run eagle as root to invoke product registration." - elog - elog "Please read /usr/share/doc/${PF}/UPDATE_${MY_LANG} if you are upgrading from 4.xx." + echo + ewarn "Due to some necessary changes in the data structure, once you edit" + ewarn "a file with version 5.x you will no longer be able to edit it" + ewarn "with versions prior to 5.0!" + ewarn + ewarn "Please read /usr/share/doc/${PF}/UPDATE_${MY_LANG} if you are upgrading from 4.xx." } diff --git a/sci-electronics/eagle/eagle-5.2.0.ebuild b/sci-electronics/eagle/eagle-5.2.0.ebuild new file mode 100644 index 000000000000..60bc0563b7aa --- /dev/null +++ b/sci-electronics/eagle/eagle-5.2.0.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/eagle-5.2.0.ebuild,v 1.1 2008/10/02 02:43:17 nixphoeni Exp $ + +inherit eutils + +DESCRIPTION="EAGLE Layout Editor" +HOMEPAGE="http://www.cadsoft.de" + +KEYWORDS="~amd64 ~x86" +IUSE="linguas_de doc" +LICENSE="cadsoft" +RESTRICT="strip" +SLOT="0" + +# Cadsoft has used the suffix "_p" in the past which we translate to "r" +MY_PV=${PV/_p/r} + +SRC_URI="ftp://ftp.cadsoft.de/pub/program/${PV%\.[0-9]}/${PN}-lin-${MY_PV}.run" + +RDEPEND="sys-libs/glibc + x11-libs/libXext + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXdmcp" + +# Append ${PV} since that's what upstream installs to +INSTALLDIR="/opt/eagle-${PV}" +case "${LINGUAS}" in + *de*) + MY_LANG="de";; + *) + MY_LANG="en";; +esac +# Mandatory documentation being installed +DOCS="README_${MY_LANG} UPDATE_${MY_LANG} library_${MY_LANG}.txt" + +src_unpack() { + + # Extract the built-in .tar.bz2 file starting at __DATA__ + sed -e '1,/^__DATA__$/d' "${DISTDIR}/${A}" | tar xj || die "unpacking failed" + +} + +src_install() { + + cd "${S}" + dodir ${INSTALLDIR} + # Copy all to INSTALLDIR + cp -r . "${D}"/${INSTALLDIR} + + # Install wrapper (suppressing leading tabs) + # see bug #188368 or http://www.cadsoft.de/faq.htm#17040701 + exeinto /usr/bin + newexe "${FILESDIR}/eagle_wrapper_script" eagle + # Finally, append the path of the eagle binary respecting INSTALLDIR and any + # arguments passed to the script (thanks Denilson) + echo "${INSTALLDIR}/bin/eagle" '"$@"' >> "${D}/usr/bin/eagle" + + # Install the documentation + cd doc + dodoc ${DOCS} + # Install extra documentation if requested + use doc && dodoc elektro-tutorial.pdf manual_${MY_LANG}.pdf tutorial_${MY_LANG}.pdf + doman eagle.1 + # Remove docs left in INSTALLDIR + rm -rf "${D}${INSTALLDIR}/doc/*" + cd .. + + echo -e "ROOTPATH=${INSTALLDIR}/bin\nPRELINK_PATH_MASK=${INSTALLDIR}" > "${S}/90eagle" + doenvd "${S}/90eagle" + + # Create desktop entry + doicon bin/${PN}icon50.png + make_desktop_entry "${ROOT}/usr/bin/eagle" ${PN} ${PN}icon50.png "Graphics;Electronics" + +} + +pkg_postinst() { + + elog "Run \`env-update && source /etc/profile\` from within \${ROOT}" + elog "now to set up the correct paths." + elog "You must first run eagle as root to invoke product registration." + echo + ewarn "Due to some necessary changes in the data structure, once you edit" + ewarn "a file with version 5.x you will no longer be able to edit it" + ewarn "with versions prior to 5.0!" + ewarn + ewarn "Please read /usr/share/doc/${PF}/UPDATE_${MY_LANG} if you are upgrading from 4.xx." +} |