public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-pda/libopensync: ChangeLog libopensync-9999.ebuild
@ 2007-11-26 20:12 Piotr Jaroszynski (peper)
  0 siblings, 0 replies; 2+ messages in thread
From: Piotr Jaroszynski (peper) @ 2007-11-26 20:12 UTC (permalink / raw
  To: gentoo-commits

peper       07/11/26 20:12:08

  Modified:             ChangeLog
  Added:                libopensync-9999.ebuild
  Log:
  Add live svn ebuild.
  (Portage version: 2.1.4_rc3)

Revision  Changes    Path
1.21                 app-pda/libopensync/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libopensync/ChangeLog?rev=1.21&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libopensync/ChangeLog?rev=1.21&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libopensync/ChangeLog?r1=1.20&r2=1.21

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-pda/libopensync/ChangeLog,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- ChangeLog	11 Aug 2007 14:52:21 -0000	1.20
+++ ChangeLog	26 Nov 2007 20:12:07 -0000	1.21
@@ -1,6 +1,12 @@
 # ChangeLog for app-pda/libopensync
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/ChangeLog,v 1.20 2007/08/11 14:52:21 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/ChangeLog,v 1.21 2007/11/26 20:12:07 peper Exp $
+
+*libopensync-9999 (26 Nov 2007)
+
+  26 Nov 2007; Piotr Jaroszyński <peper@gentoo.org>
+  +libopensync-9999.ebuild:
+  Add live svn ebuild.
 
   11 Aug 2007; Raúl Porcel <armin76@gentoo.org> libopensync-0.22.ebuild:
   x86 stable wrt #185823



1.1                  app-pda/libopensync/libopensync-9999.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libopensync/libopensync-9999.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libopensync/libopensync-9999.ebuild?rev=1.1&content-type=text/plain

Index: libopensync-9999.ebuild
===================================================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/libopensync-9999.ebuild,v 1.1 2007/11/26 20:12:07 peper Exp $

inherit cmake-utils eutils subversion

DESCRIPTION="OpenSync synchronisation framework library"
HOMEPAGE="http://www.opensync.org/"
SRC_URI=""

ESVN_REPO_URI="http://svn.opensync.org/trunk"

KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
SLOT="0"
LICENSE="LGPL-2.1"
IUSE="debug doc python"

# Tests don't pass
#>=dev-libs/check-0.9.2
#mycmakeargs="${mycmakeargs} -DOPENSYNC_UNITTESTS=ON"
RESTRICT="test"

RDEPEND=">=dev-db/sqlite-3
	>=dev-libs/glib-2
	dev-libs/libxml2
	python? ( >=dev-lang/python-2.2 >=dev-lang/swig-1.3.17 )"

DEPEND="${RDEPEND}
	>=dev-util/pkgconfig-0.9.0
	doc? ( app-doc/doxygen )"

src_compile() {
	local mycmakeargs
	mycmakeargs="${mycmakeargs} -DCMAKE_SKIP_RPATH=ON"
	mycmakeargs="${mycmakeargs} -DOPENSYNC_TRACE=$(use debug && echo ON || echo OFF)"
	mycmakeargs="${mycmakeargs} -DOPENSYNC_DEBUG_MODULES=$(use debug && echo ON || echo OFF)"
	mycmakeargs="${mycmakeargs} -DOPENSYNC_PYTHONBINDINGS=$(use python && echo ON || echo OFF)"
	mycmakeargs="${mycmakeargs} -DBUILD_DOCUMENTATION=$(use doc && echo ON || echo OFF)"
	cmake-utils_src_compile

	use doc && doxygen Doxyfile
}

src_install() {
	cmake-utils_src_install

	use doc && dohtml docs/html/*
}

pkg_postinst() {
	elog "Building with 'debug' useflag is highly encouraged"
	elog "and requiered for bug reports."
	elog "Also see http://www.opensync.org/wiki/tracing"
}



-- 
gentoo-commits@gentoo.org mailing list



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

* [gentoo-commits] gentoo-x86 commit in app-pda/libopensync: ChangeLog libopensync-9999.ebuild
@ 2011-02-20  3:31 Ryan Hill (dirtyepic)
  0 siblings, 0 replies; 2+ messages in thread
From: Ryan Hill (dirtyepic) @ 2011-02-20  3:31 UTC (permalink / raw
  To: gentoo-commits

dirtyepic    11/02/20 03:31:30

  Modified:             ChangeLog libopensync-9999.ebuild
  Log:
  Update live ebuild.
  
  (Portage version: 2.2.0_alpha24/cvs/Linux x86_64)

Revision  Changes    Path
1.41                 app-pda/libopensync/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libopensync/ChangeLog?rev=1.41&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libopensync/ChangeLog?rev=1.41&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libopensync/ChangeLog?r1=1.40&r2=1.41

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-pda/libopensync/ChangeLog,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- ChangeLog	18 Feb 2011 06:21:48 -0000	1.40
+++ ChangeLog	20 Feb 2011 03:31:30 -0000	1.41
@@ -1,6 +1,9 @@
 # ChangeLog for app-pda/libopensync
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/ChangeLog,v 1.40 2011/02/18 06:21:48 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/ChangeLog,v 1.41 2011/02/20 03:31:30 dirtyepic Exp $
+
+  20 Feb 2011; Ryan Hill <dirtyepic@gentoo.org> libopensync-9999.ebuild:
+  Update live ebuild.
 
   18 Feb 2011; Ryan Hill <dirtyepic@gentoo.org> libopensync-0.22-r1.ebuild,
   +files/libopensync-0.22-Makefile.patch:



1.7                  app-pda/libopensync/libopensync-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libopensync/libopensync-9999.ebuild?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libopensync/libopensync-9999.ebuild?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libopensync/libopensync-9999.ebuild?r1=1.6&r2=1.7

Index: libopensync-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-pda/libopensync/libopensync-9999.ebuild,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- libopensync-9999.ebuild	15 Nov 2009 22:02:52 -0000	1.6
+++ libopensync-9999.ebuild	20 Feb 2011 03:31:30 -0000	1.7
@@ -1,8 +1,13 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/libopensync-9999.ebuild,v 1.6 2009/11/15 22:02:52 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/libopensync-9999.ebuild,v 1.7 2011/02/20 03:31:30 dirtyepic Exp $
 
-inherit cmake-utils subversion
+EAPI="3"
+
+PYTHON_DEPEND="python? 2:2.5"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit cmake-utils subversion python
 
 DESCRIPTION="OpenSync synchronisation framework library"
 HOMEPAGE="http://www.opensync.org/"
@@ -13,33 +18,73 @@
 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
 SLOT="0"
 LICENSE="LGPL-2.1"
-IUSE="doc python test"
+IUSE="debug doc python" # test
 
-RDEPEND=">=dev-db/sqlite-3
-	>=dev-libs/glib-2.12
+RDEPEND="dev-db/sqlite:3
+	>=dev-libs/glib-2.12:2
 	dev-libs/libxml2
-	python? ( >=dev-lang/python-2.2 )"
+	dev-libs/libxslt"
 
 DEPEND="${RDEPEND}
 	>=dev-util/pkgconfig-0.9.0
-	doc? ( app-doc/doxygen )
-	python? ( >=dev-lang/swig-1.3.17 )
-	test? ( >=dev-libs/check-0.9.2 )"
+	doc?	( app-doc/doxygen
+			  media-gfx/graphviz )
+	python? ( >=dev-lang/swig-1.3.17 )"
+#	test? ( >=dev-libs/check-0.9.2 )
+
+DOCS="AUTHORS CODING ChangeLog README"
+
+# tests don't pass
+RESTRICT="test"
+RESTRICT_PYTHON_ABIS="3.*"
+
+src_prepare() {
+	# Use cmake's instead - bug #276220
+	rm "${S}"/cmake/modules/FindPythonLibs.cmake
 
-src_compile() {
-	DOCS="AUTHORS CODING ChangeLog README"
+	use python && python_copy_sources
+}
 
-	local mycmakeargs="
-		-DCMAKE_SKIP_RPATH=ON
-		$(cmake-utils_use_enable python WRAPPER)
+src_configure() {
+	local mycmakeargs="-DCMAKE_SKIP_RPATH=ON
 		$(cmake-utils_use_build doc DOCUMENTATION)
-		$(cmake-utils_use test OPENSYNC_UNITTESTS)
-	"
+		$(cmake-utils_use_enable python WRAPPER)
+		$(cmake-utils_use python OPENSYNC_PYTHONBINDINGS)
+		$(cmake-utils_use debug OPENSYNC_DEBUG_MODULES)
+		$(cmake-utils_use debug OPENSYNC_TRACE)"
+#		$(cmake-utils_use test OPENSYNC_UNITTESTS)
+
+	do_configure() {
+		if use python; then
+			CMAKE_BUILD_DIR="${WORKDIR}/${P}-${PYTHON_ABI}"
+			CMAKE_USE_DIR="${CMAKE_BUILD_DIR}"
+			# since we're using cmake's FindPythonLibs PYTHON_VERSION is not defined
+			sed -i -e "s:\${PYTHON_VERSION}:${PYTHON_ABI}:g" \
+				"${CMAKE_BUILD_DIR}"/wrapper/CMakeLists.txt
+		fi
+		cmake-utils_src_configure || die
+	}
+
+	use python \
+		&& python_execute_function -s do_configure \
+		|| do_configure
+}
 
-	cmake-utils_src_compile
+src_compile() {
+	do_compile() {
+		if use python; then
+			CMAKE_BUILD_DIR="${WORKDIR}/${P}-${PYTHON_ABI}"
+			CMAKE_USE_DIR="${CMAKE_BUILD_DIR}"
+		fi
+		cmake-utils_src_compile || die
+	}
+
+	use python \
+		&& python_execute_function -s do_compile \
+		|| do_compile
 
 	if use doc ; then
-		cmake-utils_src_make DoxygenDoc || die "Failed to generate docs."
+		cmake-utils_src_make DoxygenDoc || die
 	fi
 }
 
@@ -54,11 +99,23 @@
 }
 
 src_install() {
-	cmake-utils_src_install
+	do_install() {
+		if use python; then
+			CMAKE_BUILD_DIR="${WORKDIR}/${P}-${PYTHON_ABI}"
+			CMAKE_USE_DIR="${CMAKE_BUILD_DIR}"
+		fi
+		cmake-utils_src_install || die
+	}
+
+	use python \
+		&& python_execute_function -s do_install \
+		|| do_install
 
-	if use doc ; then
+	find "${D}" -name '*.la' -exec rm -f {} + || die
+
+	if use doc; then
 		cd "${CMAKE_BUILD_DIR}"
-		dohtml docs/html/* || die "Failed to install docs."
+		dohtml docs/html/* || die
 	fi
 }
 






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

end of thread, other threads:[~2011-02-20  3:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-26 20:12 [gentoo-commits] gentoo-x86 commit in app-pda/libopensync: ChangeLog libopensync-9999.ebuild Piotr Jaroszynski (peper)
  -- strict thread matches above, loose matches on Subject: below --
2011-02-20  3:31 Ryan Hill (dirtyepic)

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