summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2009-04-18 18:30:17 +0000
committerDenis Dupeyron <calchan@gentoo.org>2009-04-18 18:30:17 +0000
commitfd17bc88ffef08cb495a013c5686c21704d564f4 (patch)
treea2739bfd767f91ed1465b77f35a6fffcebe7412e /sci-electronics
parentVersion bump. (diff)
downloadgentoo-2-fd17bc88ffef08cb495a013c5686c21704d564f4.tar.gz
gentoo-2-fd17bc88ffef08cb495a013c5686c21704d564f4.tar.bz2
gentoo-2-fd17bc88ffef08cb495a013c5686c21704d564f4.zip
Cleaned-up old ebuilds, kept the latest one for stabilization.
(Portage version: 2.1.6.11/cvs/Linux i686)
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/kicad/ChangeLog8
-rw-r--r--sci-electronics/kicad/files/kicad-20070702-wxGTK-2.6.patch24
-rw-r--r--sci-electronics/kicad/kicad-20070525.ebuild108
-rw-r--r--sci-electronics/kicad/kicad-20070702.ebuild109
-rw-r--r--sci-electronics/kicad/kicad-20080320.918.ebuild64
-rw-r--r--sci-electronics/kicad/kicad-20080914.1262.ebuild79
6 files changed, 7 insertions, 385 deletions
diff --git a/sci-electronics/kicad/ChangeLog b/sci-electronics/kicad/ChangeLog
index fc0bcf6d9617..88afdc3c8c98 100644
--- a/sci-electronics/kicad/ChangeLog
+++ b/sci-electronics/kicad/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-electronics/kicad
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/ChangeLog,v 1.36 2009/04/17 23:13:13 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/ChangeLog,v 1.37 2009/04/18 18:30:17 calchan Exp $
+
+ 18 Apr 2009; Denis Dupeyron <calchan@gentoo.org>
+ -files/kicad-20070702-wxGTK-2.6.patch, -kicad-20070525.ebuild,
+ -kicad-20070702.ebuild, -kicad-20080320.918.ebuild,
+ -kicad-20080914.1262.ebuild:
+ Cleaned-up old ebuilds, kept the latest one for stabilization.
*kicad-20090320.1666 (17 Apr 2009)
diff --git a/sci-electronics/kicad/files/kicad-20070702-wxGTK-2.6.patch b/sci-electronics/kicad/files/kicad-20070702-wxGTK-2.6.patch
deleted file mode 100644
index 59e3a3928e9e..000000000000
--- a/sci-electronics/kicad/files/kicad-20070702-wxGTK-2.6.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -Ndur kicad-20070702/pcbnew/dialog_edit_module.cpp kicad-20070702-wxGTK-2.6/pcbnew/dialog_edit_module.cpp
---- kicad-20070702/pcbnew/dialog_edit_module.cpp 2007-07-02 15:53:38.000000000 +0200
-+++ kicad-20070702-wxGTK-2.6/pcbnew/dialog_edit_module.cpp 2007-07-07 11:11:53.000000000 +0200
-@@ -279,11 +279,6 @@
- wxString attribut_list[3] = { _("Normal"), _("Normal+Insert"), _("Virtual") };
- m_AttributsCtrl = new wxRadioBox( m_PanelProperties, -1, _("Attributs"), wxDefaultPosition,
- wxSize(-1,-1), 3, attribut_list, 1);
-- m_AttributsCtrl->SetItemToolTip(0, _("Use this attribute for most non smd components"));
-- m_AttributsCtrl->SetItemToolTip(1,
-- _("Use this attribute for smd components.\nOnly components with this option are put in the footprint position list file"));
-- m_AttributsCtrl->SetItemToolTip(2,
-- _("Use this attribute for \"virtual\" components drawn on board (like a old ISA PC bus connector)"));
- PropRightSizer->Add(m_AttributsCtrl, 0, wxGROW|wxALL, 5);
-
- switch (m_CurrentModule->m_Attributs & 255)
-@@ -311,8 +306,6 @@
- wxSize(-1,-1), 2, properties_list, 1);
- m_AutoPlaceCtrl->SetSelection(
- (m_CurrentModule->m_ModuleStatus & MODULE_is_LOCKED) ? 1 : 0);
-- m_AutoPlaceCtrl->SetItemToolTip(0, _("Enable hotkey move commands and Auto Placement"));
-- m_AutoPlaceCtrl->SetItemToolTip(1, _("Disable hotkey move commands and Auto Placement"));
- PropRightSizer->Add(m_AutoPlaceCtrl, 0, wxGROW|wxALL, 5);
-
- StaticText = new wxStaticText(m_PanelProperties, -1, _("Rot 90"));
diff --git a/sci-electronics/kicad/kicad-20070525.ebuild b/sci-electronics/kicad/kicad-20070525.ebuild
deleted file mode 100644
index cabdcd3d29a5..000000000000
--- a/sci-electronics/kicad/kicad-20070525.ebuild
+++ /dev/null
@@ -1,108 +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/kicad/kicad-20070525.ebuild,v 1.9 2008/02/29 20:39:59 carlo Exp $
-
-inherit wxwidgets multilib
-
-UPSTREAM_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}"
-DESCRIPTION="Electronic schematic and PCB design tools."
-HOMEPAGE="http://www.lis.inpg.fr/realise_au_lis/kicad/"
-SRC_URI="mirror://gentoo/${P}.tar.bz2
- !minimal? ( ftp://iut-tice.ujf-grenoble.fr/cao/${PN}-${UPSTREAM_PV}.tgz )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="doc examples minimal unicode"
-
-DEPEND="=x11-libs/wxGTK-2.6*"
-
-pkg_setup() {
- # Tell wxwidgets.eclass which version we need
- WX_GTK_VER="2.6"
-
- # Ask for the correct wxGTK configuration
- if use unicode; then
- need-wxwidgets unicode
- else
- need-wxwidgets ansi
- fi
- built_with_use "=x11-libs/wxGTK-${WX_GTK_VER}*" opengl || die "You need to install wxGTK with opengl support."
-}
-
-src_unpack() {
- unpack ${A} || die "unpack failed"
- cd "${S}"
-
- # Use the chosen wx-config executable
- sed -i -e "s:wx-config:${WX_CONFIG}:" libs.* || die "sed failed"
- sed -i -e "s:wx-config:${WX_CONFIG}:" */makefile.* || die "sed failed"
-
- # Some patching is required for wxGTK-2.6
- if WX_GTK_VER="2.6" ; then
- sed -i -e "s:wxFD_OVERWRITE_PROMPT:wxOVERWRITE_PROMPT:" kicad/treeprj_frame.cpp || die "sed failed"
- sed -i -e "s:, false ): ):" kicad/treeprj_datas.cpp || die "sed failed"
- fi
-}
-
-src_compile() {
- # Build the main executables
- emake -f makefile.gtk || die "make failed (main)"
-
- # Minizip needs to be built independently
- cd kicad/minizip
- emake -f makefile.unx || die "make failed (minizip)"
-}
-
-src_install() {
- # kicad doesn't use the autotools yet
- exeinto /usr/$(get_libdir)/${PN}/linux
- doexe eeschema/eeschema || die "Installation failed"
- doexe pcbnew/pcbnew || die "Installation failed"
- doexe cvpcb/cvpcb || die "Installation failed"
- doexe kicad/kicad || die "Installation failed"
- doexe kicad/minizip/minizip || die "Installation failed"
- doexe gerbview/gerbview || die "Installation failed"
- exeinto /usr/$(get_libdir)/${PN}/linux/plugins
- doexe eeschema/plugins/netlist_form_pads-pcb || die "Installation failed"
- newicon kicad_icon.png kicad.png
- make_wrapper kicad "/usr/$(get_libdir)/${PN}/linux/kicad"
- make_desktop_entry kicad Kicad kicad "Application;Engineering;Electronics"
-
- # kicad requires everything to be in the same place
- cp -pPR library "${D}"/usr/$(get_libdir)/${PN}
- cp -pPR internat "${D}"/usr/$(get_libdir)/${PN}
- cp -pPR template "${D}"/usr/$(get_libdir)/${PN}
- cp -pPR help "${D}"/usr/$(get_libdir)/${PN}
- if ! use minimal ; then
- cp -pPR "${WORKDIR}"/kicad/library "${D}"/usr/$(get_libdir)/${PN}
- cp -pPR "${WORKDIR}"/kicad/modules "${D}"/usr/$(get_libdir)/${PN}
- cp -pPR "${WORKDIR}"/kicad/template "${D}"/usr/$(get_libdir)/${PN}
- if use doc ; then
- cp -pPR "${WORKDIR}"/kicad/help "${D}"/usr/$(get_libdir)/${PN}
- fi
- if use examples ; then
- cp -pPR "${WORKDIR}"/kicad/demos "${D}"/usr/$(get_libdir)/${PN}
- fi
- fi
- dodoc author.txt copyright.txt news.txt contrib.txt version.txt
-}
-
-pkg_postinst() {
- if use minimal ; then
- ewarn "If the schematic and/or board editors complain about missing libraries when you open old projects,"
- ewarn "you will have to take one or more of the following actions :"
- ewarn "- Install the missing libraries manually."
- ewarn "- Remove the libraries from the 'Libs and Dir' preferences."
- ewarn "- Fix the libraries' locations in the 'Libs and Dir' preferences."
- ewarn "- Emerge kicad without the 'minimal' USE flag."
- else
- elog "Please note that the PDF datasheets that can be linked to components from the default libraries"
- elog "cannot be mirrored by Gentoo for legal reasons."
- elog "If you want them, you need to download them yourself from :"
- elog "${HOMEPAGE}"
- elog "and install them manually."
- fi
- elog
- elog "You may want to emerge media-gfx/wings if you want to create 3D models of components."
-}
diff --git a/sci-electronics/kicad/kicad-20070702.ebuild b/sci-electronics/kicad/kicad-20070702.ebuild
deleted file mode 100644
index 7efc93c01c25..000000000000
--- a/sci-electronics/kicad/kicad-20070702.ebuild
+++ /dev/null
@@ -1,109 +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/kicad/kicad-20070702.ebuild,v 1.6 2008/02/29 20:39:59 carlo Exp $
-
-inherit eutils wxwidgets multilib
-
-UPSTREAM_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}"
-DESCRIPTION="Electronic schematic and PCB design tools."
-HOMEPAGE="http://www.lis.inpg.fr/realise_au_lis/kicad/"
-SRC_URI="mirror://gentoo/${P}.tar.bz2
- !minimal? ( ftp://iut-tice.ujf-grenoble.fr/cao/${PN}-${UPSTREAM_PV}.tgz )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="doc examples minimal unicode"
-
-DEPEND="=x11-libs/wxGTK-2.6*"
-
-pkg_setup() {
- # Tell wxwidgets.eclass which version we need
- WX_GTK_VER="2.6"
-
- # Ask for the correct wxGTK configuration
- if use unicode; then
- need-wxwidgets unicode
- else
- need-wxwidgets ansi
- fi
- built_with_use "=x11-libs/wxGTK-${WX_GTK_VER}*" opengl || die "You need to install wxGTK with opengl support."
-}
-
-src_unpack() {
- unpack ${A} || die "unpack failed"
- cd "${S}"
-
- # Use the chosen wx-config executable
- sed -i -e "s:wx-config:${WX_CONFIG}:" libs.* || die "sed failed"
- sed -i -e "s:wx-config:${WX_CONFIG}:" */makefile.* || die "sed failed"
-
- # Some patching is required for wxGTK-2.6
- if WX_GTK_VER="2.6" ; then
- sed -i -e "s:wxFD_OVERWRITE_PROMPT:wxOVERWRITE_PROMPT:" kicad/treeprj_frame.cpp || die "sed failed"
- sed -i -e "s:, false ): ):" kicad/treeprj_datas.cpp || die "sed failed"
- epatch "${FILESDIR}"/${P}-wxGTK-2.6.patch || die "patch failed"
- fi
-}
-
-src_compile() {
- # Build the main executables
- emake -f makefile.gtk || die "make failed (main)"
-
- # Minizip needs to be built independently
- cd kicad/minizip
- emake -f makefile.unx || die "make failed (minizip)"
-}
-
-src_install() {
- # kicad doesn't use the autotools yet
- exeinto /usr/$(get_libdir)/${PN}/linux
- doexe eeschema/eeschema || die "Installation failed"
- doexe pcbnew/pcbnew || die "Installation failed"
- doexe cvpcb/cvpcb || die "Installation failed"
- doexe kicad/kicad || die "Installation failed"
- doexe kicad/minizip/minizip || die "Installation failed"
- doexe gerbview/gerbview || die "Installation failed"
- exeinto /usr/$(get_libdir)/${PN}/linux/plugins
- doexe eeschema/plugins/netlist_form_pads-pcb || die "Installation failed"
- newicon kicad_icon.png kicad.png
- make_wrapper kicad "/usr/$(get_libdir)/${PN}/linux/kicad"
- make_desktop_entry kicad Kicad kicad "Application;Engineering;Electronics"
-
- # kicad requires everything to be in the same place
- cp -pPR library "${D}"/usr/$(get_libdir)/${PN}
- cp -pPR internat "${D}"/usr/$(get_libdir)/${PN}
- cp -pPR template "${D}"/usr/$(get_libdir)/${PN}
- cp -pPR help "${D}"/usr/$(get_libdir)/${PN}
- if ! use minimal ; then
- cp -pPR "${WORKDIR}"/kicad/library "${D}"/usr/$(get_libdir)/${PN}
- cp -pPR "${WORKDIR}"/kicad/modules "${D}"/usr/$(get_libdir)/${PN}
- cp -pPR "${WORKDIR}"/kicad/template "${D}"/usr/$(get_libdir)/${PN}
- if use doc ; then
- cp -pPR "${WORKDIR}"/kicad/help "${D}"/usr/$(get_libdir)/${PN}
- fi
- if use examples ; then
- cp -pPR "${WORKDIR}"/kicad/demos "${D}"/usr/$(get_libdir)/${PN}
- fi
- fi
- dodoc author.txt copyright.txt news.txt contrib.txt version.txt
-}
-
-pkg_postinst() {
- if use minimal ; then
- ewarn "If the schematic and/or board editors complain about missing libraries when you open old projects,"
- ewarn "you will have to take one or more of the following actions :"
- ewarn "- Install the missing libraries manually."
- ewarn "- Remove the libraries from the 'Libs and Dir' preferences."
- ewarn "- Fix the libraries' locations in the 'Libs and Dir' preferences."
- ewarn "- Emerge kicad without the 'minimal' USE flag."
- else
- elog "Please note that the PDF datasheets that can be linked to components from the default libraries"
- elog "cannot be mirrored by Gentoo for legal reasons."
- elog "If you want them, you need to download them yourself from :"
- elog "${HOMEPAGE}"
- elog "and install them manually."
- fi
- elog
- elog "You may want to emerge media-gfx/wings if you want to create 3D models of components."
-}
diff --git a/sci-electronics/kicad/kicad-20080320.918.ebuild b/sci-electronics/kicad/kicad-20080320.918.ebuild
deleted file mode 100644
index f3e8a59f0c75..000000000000
--- a/sci-electronics/kicad/kicad-20080320.918.ebuild
+++ /dev/null
@@ -1,64 +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/kicad/kicad-20080320.918.ebuild,v 1.2 2008/03/30 13:58:33 calchan Exp $
-
-inherit versionator wxwidgets cmake-utils flag-o-matic
-
-MY_PV="$(get_major_version)-r$(get_after_major_version)"
-LIB_VERSION="1.0"
-DOC_VERSION="1.0"
-
-DESCRIPTION="Electronic Schematic and PCB design tools."
-HOMEPAGE="http://kicad.sourceforge.net"
-SRC_URI="mirror://sourceforge/kicad/${PN}-${MY_PV}.tar.bz2
- !minimal? ( mirror://sourceforge/kicad/${PN}-library-${LIB_VERSION}.tbz2 )
- doc? ( mirror://sourceforge/kicad/${PN}-doc-${DOC_VERSION}.tbz2 )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="doc debug examples minimal"
-
-DEPEND="=x11-libs/wxGTK-2.8*
- dev-libs/boost"
-
-S="${WORKDIR}/${PN}"
-DOCS="change_log.txt todo.txt"
-
-pkg_setup() {
- WX_GTK_VER="2.8"
- need-wxwidgets unicode
- check_wxuse opengl
-}
-
-src_unpack() {
- unpack ${A}
- if ! use examples ; then
- sed -i -e "s:^add_subdirectory(demos):#add_subdirectory(demos):" "${S}"/CMakeLists.txt || die "sed failed"
- fi
- sed -i -e "s:^install(FILES \${CMAKE_CURRENT_SOURCE_DIR}/install\.txt:#install(FILES \${CMAKE_CURRENT_SOURCE_DIR}/install\.txt:" \
- "${S}"/CMakeLists.txt || die "sed failed"
-}
-
-src_install() {
- cmake-utils_src_install
- [[ -d "${WORKDIR}/usr" ]] && doins -r "${WORKDIR}/usr"
-}
-
-pkg_postinst() {
- if use minimal ; then
- ewarn "If the schematic and/or board editors complain about missing libraries when you"
- ewarn "open old projects, you will have to take one or more of the following actions :"
- ewarn "- Install the missing libraries manually."
- ewarn "- Remove the libraries from the 'Libs and Dir' preferences."
- ewarn "- Fix the libraries' locations in the 'Libs and Dir' preferences."
- ewarn "- Emerge kicad without the 'minimal' USE flag."
- else
- if !(use doc) ; then
- elog "KiCad will complain about missing help files. If you want them you'll need"
- elog "to add the \"doc\" USE flag."
- fi
- fi
- elog
- elog "You may want to emerge media-gfx/wings if you want to create 3D models of components."
-}
diff --git a/sci-electronics/kicad/kicad-20080914.1262.ebuild b/sci-electronics/kicad/kicad-20080914.1262.ebuild
deleted file mode 100644
index ce4ba5cd8bb0..000000000000
--- a/sci-electronics/kicad/kicad-20080914.1262.ebuild
+++ /dev/null
@@ -1,79 +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/kicad/kicad-20080914.1262.ebuild,v 1.2 2008/09/22 07:17:11 calchan Exp $
-
-inherit versionator wxwidgets cmake-utils
-
-MY_PV="$(get_major_version)-r$(get_after_major_version)"
-
-DESCRIPTION="Electronic Schematic and PCB design tools."
-HOMEPAGE="http://kicad.sourceforge.net"
-SRC_URI="http://dev.gentoo.org/~calchan/distfiles/${PN}-${MY_PV}.tar.bz2
- !minimal? ( http://dev.gentoo.org/~calchan/distfiles/${PN}-library-${MY_PV}.tar.bz2 )
- doc? ( http://dev.gentoo.org/~calchan/distfiles/${PN}-doc-${MY_PV}.tar.bz2 )
- examples? ( http://dev.gentoo.org/~calchan/distfiles/${PN}-examples-${MY_PV}.tar.bz2 )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="doc debug examples minimal python"
-
-RDEPEND="sys-libs/zlib
- =x11-libs/wxGTK-2.8*
- python? ( dev-lang/python )"
-DEPEND="${RDEPEND}
- dev-libs/boost
- >=dev-util/cmake-2.6.0"
-
-S="${WORKDIR}/${PN}"
-
-pkg_setup() {
- WX_GTK_VER="2.8"
- need-wxwidgets unicode
- check_wxuse opengl
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- if use minimal ; then
- sed -i -e "s:add_subdirectory(kicad-library):#add_subdirectory(kicad-library):" \
- CMakeLists.txt || die "sed failed"
- fi
-
- if ! use doc ; then
- sed -i -e "s:add_subdirectory(kicad-doc):#add_subdirectory(kicad-doc):" \
- CMakeLists.txt || die "sed failed"
- fi
-
- if ! use examples ; then
- sed -i -e "s:^add_subdirectory(demos):#add_subdirectory(demos):" \
- CMakeLists.txt || die "sed failed"
- fi
-}
-
-src_compile() {
- cmakeargs="-DKICAD_MINIZIP=OFF"
-
- if use python ; then
- cmakeargs+=" -DKICAD_PYTHON=ON"
- else
- cmakeargs+=" -DKICAD_PYTHON=OFF"
- fi
-
- cmake-utils_src_compile
-}
-
-pkg_postinst() {
- if use minimal ; then
- ewarn "If the schematic and/or board editors complain about missing libraries when you"
- ewarn "open old projects, you will have to take one or more of the following actions :"
- ewarn "- Install the missing libraries manually."
- ewarn "- Remove the libraries from the 'Libs and Dir' preferences."
- ewarn "- Fix the libraries' locations in the 'Libs and Dir' preferences."
- ewarn "- Emerge kicad without the 'minimal' USE flag."
- fi
- elog
- elog "You may want to emerge media-gfx/wings if you want to create 3D models of components."
-}