public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-electronics/kicad: ChangeLog kicad-20090320.1666.ebuild
@ 2009-04-17 23:13 Denis Dupeyron (calchan)
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Dupeyron (calchan) @ 2009-04-17 23:13 UTC (permalink / raw
  To: gentoo-commits

calchan     09/04/17 23:13:13

  Modified:             ChangeLog
  Added:                kicad-20090320.1666.ebuild
  Log:
  Version bump.
  (Portage version: 2.1.6.11/cvs/Linux i686)

Revision  Changes    Path
1.36                 sci-electronics/kicad/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/kicad/ChangeLog?rev=1.36&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/kicad/ChangeLog?rev=1.36&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/kicad/ChangeLog?r1=1.35&r2=1.36

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-electronics/kicad/ChangeLog,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- ChangeLog	22 Sep 2008 07:17:11 -0000	1.35
+++ ChangeLog	17 Apr 2009 23:13:13 -0000	1.36
@@ -1,6 +1,12 @@
 # ChangeLog for sci-electronics/kicad
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/ChangeLog,v 1.35 2008/09/22 07:17:11 calchan Exp $
+# 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 $
+
+*kicad-20090320.1666 (17 Apr 2009)
+
+  17 Apr 2009; Denis Dupeyron <calchan@gentoo.org>
+  +kicad-20090320.1666.ebuild:
+  Version bump.
 
   22 Sep 2008; Denis Dupeyron <calchan@gentoo.org>
   kicad-20080914.1262.ebuild:



1.1                  sci-electronics/kicad/kicad-20090320.1666.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/kicad/kicad-20090320.1666.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/kicad/kicad-20090320.1666.ebuild?rev=1.1&content-type=text/plain

Index: kicad-20090320.1666.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/kicad-20090320.1666.ebuild,v 1.1 2009/04/17 23:13:13 calchan Exp $

EAPI="2"

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}-sources-${MY_PV}.tar.lzma
	!minimal? ( http://dev.gentoo.org/~calchan/distfiles/${PN}-library-${MY_PV}.tar.lzma )
	doc? ( http://dev.gentoo.org/~calchan/distfiles/${PN}-doc-${MY_PV}.tar.lzma )
	examples? ( http://dev.gentoo.org/~calchan/distfiles/${PN}-examples-${MY_PV}.tar.lzma )"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="doc debug examples minimal python"

CDEPEND=">=dev-util/cmake-2.6.0
	dev-libs/boost
	=x11-libs/wxGTK-2.8*
	sys-libs/zlib"
DEPEND="${CDEPEND}
	app-arch/lzma-utils"
RDEPEND="${CDEPEND}
	python? ( dev-lang/python )"

S="${WORKDIR}/${PN}"

pkg_setup() {
	WX_GTK_VER="2.8"
	check_wxuse opengl
}

src_unpack() {
	unpack ${A}
	cd "${S}"

	if ! use doc ; then
		sed -i -e '/add_subdirectory(kicad-doc)/d' CMakeLists.txt || die "sed failed"
	fi
	if ! use examples ; then
		sed -i -e '/add_subdirectory(demos)/d' CMakeLists.txt || die "sed failed"
	fi
	if use minimal ; then
		sed -i -e '/add_subdirectory(kicad-library)/d' CMakeLists.txt || die "sed failed"
	fi
}

src_configure() {
	mycmakeargs="${mycmakeargs}
		-DKICAD_CYRILLIC=ON
		-DwxUSE_UNICODE=ON
		-DKICAD_GOST=ON
		$(cmake-utils_use python KICAD_PYTHON)
		-DKICAD_DOCS=/usr/share/doc/${P}
		-DKICAD_HELP=/usr/share/doc/${P}"

	cmake-utils_src_configure
}

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."
}






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-electronics/kicad: ChangeLog kicad-20090320.1666.ebuild
@ 2009-04-21 21:53 Denis Dupeyron (calchan)
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Dupeyron (calchan) @ 2009-04-21 21:53 UTC (permalink / raw
  To: gentoo-commits

calchan     09/04/21 21:53:16

  Modified:             ChangeLog kicad-20090320.1666.ebuild
  Log:
  Fixed bug #266978.
  (Portage version: 2.1.6.11/cvs/Linux i686)

Revision  Changes    Path
1.38                 sci-electronics/kicad/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/kicad/ChangeLog?rev=1.38&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/kicad/ChangeLog?rev=1.38&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/kicad/ChangeLog?r1=1.37&r2=1.38

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-electronics/kicad/ChangeLog,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- ChangeLog	18 Apr 2009 18:30:17 -0000	1.37
+++ ChangeLog	21 Apr 2009 21:53:16 -0000	1.38
@@ -1,6 +1,9 @@
 # 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.37 2009/04/18 18:30:17 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/ChangeLog,v 1.38 2009/04/21 21:53:16 calchan Exp $
+
+  21 Apr 2009; Denis Dupeyron <calchan@gentoo.org> kicad-20090320.1666:
+  Fixed bug #266978.
 
   18 Apr 2009; Denis Dupeyron <calchan@gentoo.org>
   -files/kicad-20070702-wxGTK-2.6.patch, -kicad-20070525.ebuild,



1.2                  sci-electronics/kicad/kicad-20090320.1666.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/kicad/kicad-20090320.1666.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/kicad/kicad-20090320.1666.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/kicad/kicad-20090320.1666.ebuild?r1=1.1&r2=1.2

Index: kicad-20090320.1666.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-electronics/kicad/kicad-20090320.1666.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- kicad-20090320.1666.ebuild	17 Apr 2009 23:13:13 -0000	1.1
+++ kicad-20090320.1666.ebuild	21 Apr 2009 21:53:16 -0000	1.2
@@ -1,8 +1,9 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/kicad-20090320.1666.ebuild,v 1.1 2009/04/17 23:13:13 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/kicad-20090320.1666.ebuild,v 1.2 2009/04/21 21:53:16 calchan Exp $
 
 EAPI="2"
+WX_GTK_VER="2.8"
 
 inherit versionator wxwidgets cmake-utils
 
@@ -22,7 +23,7 @@
 
 CDEPEND=">=dev-util/cmake-2.6.0
 	dev-libs/boost
-	=x11-libs/wxGTK-2.8*
+	x11-libs/wxGTK:2.8[X,opengl]
 	sys-libs/zlib"
 DEPEND="${CDEPEND}
 	app-arch/lzma-utils"
@@ -31,15 +32,7 @@
 
 S="${WORKDIR}/${PN}"
 
-pkg_setup() {
-	WX_GTK_VER="2.8"
-	check_wxuse opengl
-}
-
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
-
+src_prepare() {
 	if ! use doc ; then
 		sed -i -e '/add_subdirectory(kicad-doc)/d' CMakeLists.txt || die "sed failed"
 	fi
@@ -52,6 +45,8 @@
 }
 
 src_configure() {
+	need-wxwidgets unicode
+
 	mycmakeargs="${mycmakeargs}
 		-DKICAD_CYRILLIC=ON
 		-DwxUSE_UNICODE=ON






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-21 21:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-21 21:53 [gentoo-commits] gentoo-x86 commit in sci-electronics/kicad: ChangeLog kicad-20090320.1666.ebuild Denis Dupeyron (calchan)
  -- strict thread matches above, loose matches on Subject: below --
2009-04-17 23:13 Denis Dupeyron (calchan)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox