From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 023411381F3 for ; Fri, 14 Dec 2012 17:23:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D10E1E0652; Fri, 14 Dec 2012 17:23:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1E90FE0652 for ; Fri, 14 Dec 2012 17:23:04 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DBE3833DCB9 for ; Fri, 14 Dec 2012 17:23:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 8D16FE543C for ; Fri, 14 Dec 2012 17:23:01 +0000 (UTC) From: "Chris Reffett" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Chris Reffett" Message-ID: <1355504717.c408e86e1bb528b2453483c86eee93dfb1eb43a6.creffett@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: dev-util/cmocka/files/, dev-util/cmocka/ X-VCS-Repository: proj/kde X-VCS-Files: dev-util/cmocka/cmocka-0.2.0_p20121129.ebuild dev-util/cmocka/cmocka-9999.ebuild dev-util/cmocka/files/cmocka-automagicness.patch dev-util/cmocka/metadata.xml X-VCS-Directories: dev-util/cmocka/files/ dev-util/cmocka/ X-VCS-Committer: creffett X-VCS-Committer-Name: Chris Reffett X-VCS-Revision: c408e86e1bb528b2453483c86eee93dfb1eb43a6 X-VCS-Branch: master Date: Fri, 14 Dec 2012 17:23:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7045754e-5a62-4568-afbc-13cd5887de6a X-Archives-Hash: b3f58396f388671548d5ffb5d35ba178 commit: c408e86e1bb528b2453483c86eee93dfb1eb43a6 Author: Chris Reffett gentoo org> AuthorDate: Fri Dec 14 17:05:17 2012 +0000 Commit: Chris Reffett gmail com> CommitDate: Fri Dec 14 17:05:17 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=c408e86e [dev-util/cmocka] Moved to tree --- dev-util/cmocka/cmocka-0.2.0_p20121129.ebuild | 31 --------- dev-util/cmocka/cmocka-9999.ebuild | 31 --------- dev-util/cmocka/files/cmocka-automagicness.patch | 74 ---------------------- dev-util/cmocka/metadata.xml | 9 --- 4 files changed, 0 insertions(+), 145 deletions(-) diff --git a/dev-util/cmocka/cmocka-0.2.0_p20121129.ebuild b/dev-util/cmocka/cmocka-0.2.0_p20121129.ebuild deleted file mode 100644 index ef5f527..0000000 --- a/dev-util/cmocka/cmocka-0.2.0_p20121129.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit cmake-utils -DESCRIPTION="The lightweight C unit testing library" -HOMEPAGE="https://open.cryptomilk.org/projects/cmocka" -SRC_URI="http://dev.gentoo.org/~creffett/distfiles/${P}.tar.xz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc static-libs" - -DEPEND=" - doc? ( app-doc/doxygen[latex] ) -" -RDEPEND="" - -PATCHES=( "${FILESDIR}/${PN}-automagicness.patch" ) - -src_configure() { - local mycmakeargs=( - $(cmake-utils_use_with static-libs STATIC_LIB) - $(cmake-utils_use test UNIT_TESTING) - $(cmake-utils_use_with doc APIDOC) - ) - cmake-utils_src_configure -} diff --git a/dev-util/cmocka/cmocka-9999.ebuild b/dev-util/cmocka/cmocka-9999.ebuild deleted file mode 100644 index 0abf3ef..0000000 --- a/dev-util/cmocka/cmocka-9999.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit cmake-utils git-2 -DESCRIPTION="The lightweight C unit testing library" -HOMEPAGE="https://open.cryptomilk.org/projects/cmocka" -EGIT_REPO_URI="git://git.cryptomilk.org/projects/cmocka.git" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="" -IUSE="doc static-libs" - -DEPEND=" - doc? ( app-doc/doxygen[latex] ) -" -RDEPEND="" - -PATCHES=( "${FILESDIR}/${PN}-automagicness.patch" ) - -src_configure() { - local mycmakeargs=( - $(cmake-utils_use_with static-libs STATIC_LIB) - $(cmake-utils_use test UNIT_TESTING) - $(cmake-utils_use_with doc APIDOC) - ) - cmake-utils_src_configure -} diff --git a/dev-util/cmocka/files/cmocka-automagicness.patch b/dev-util/cmocka/files/cmocka-automagicness.patch deleted file mode 100644 index 29ece45..0000000 --- a/dev-util/cmocka/files/cmocka-automagicness.patch +++ /dev/null @@ -1,74 +0,0 @@ ---- a/cmake/Modules/MacroOptionalFindPackage.cmake -+++ b/cmake/Modules/MacroOptionalFindPackage.cmake -@@ -0,0 +1,48 @@ -+# - MACRO_OPTIONAL_FIND_PACKAGE() combines FIND_PACKAGE() with an OPTION() -+# MACRO_OPTIONAL_FIND_PACKAGE( [QUIT] ) -+# This macro is a combination of OPTION() and FIND_PACKAGE(), it -+# works like FIND_PACKAGE(), but additionally it automatically creates -+# an option name WITH_, which can be disabled via the cmake GUI. -+# or via -DWITH_=OFF -+# The standard _FOUND variables can be used in the same way -+# as when using the normal FIND_PACKAGE() -+ -+# Copyright (c) 2006-2010 Alexander Neundorf, -+# -+# Redistribution and use is allowed according to the terms of the BSD license. -+# For details see the accompanying COPYING-CMAKE-SCRIPTS file. -+ -+# This is just a helper macro to set a bunch of variables empty. -+# We don't know whether the package uses UPPERCASENAME or CamelCaseName, so we try both: -+macro(_MOFP_SET_EMPTY_IF_DEFINED _name _var) -+ if(DEFINED ${_name}_${_var}) -+ set(${_name}_${_var} "") -+ endif(DEFINED ${_name}_${_var}) -+ -+ string(TOUPPER ${_name} _nameUpper) -+ if(DEFINED ${_nameUpper}_${_var}) -+ set(${_nameUpper}_${_var} "") -+ endif(DEFINED ${_nameUpper}_${_var}) -+endmacro(_MOFP_SET_EMPTY_IF_DEFINED _package _var) -+ -+ -+macro (MACRO_OPTIONAL_FIND_PACKAGE _name ) -+ option(WITH_${_name} "Search for ${_name} package" ON) -+ if (WITH_${_name}) -+ find_package(${_name} ${ARGN}) -+ else (WITH_${_name}) -+ string(TOUPPER ${_name} _nameUpper) -+ set(${_name}_FOUND FALSE) -+ set(${_nameUpper}_FOUND FALSE) -+ -+ _mofp_set_empty_if_defined(${_name} INCLUDE_DIRS) -+ _mofp_set_empty_if_defined(${_name} INCLUDE_DIR) -+ _mofp_set_empty_if_defined(${_name} INCLUDES) -+ _mofp_set_empty_if_defined(${_name} LIBRARY) -+ _mofp_set_empty_if_defined(${_name} LIBRARIES) -+ _mofp_set_empty_if_defined(${_name} LIBS) -+ _mofp_set_empty_if_defined(${_name} FLAGS) -+ _mofp_set_empty_if_defined(${_name} DEFINITIONS) -+ endif (WITH_${_name}) -+endmacro (MACRO_OPTIONAL_FIND_PACKAGE) -+ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -34,7 +34,7 @@ - include(DefineInstallationPaths) - include(DefineOptions.cmake) - include(CPackConfig.cmake) -- -+include(MacroOptionalFindPackage) - if (UNIT_TESTING) - include(AddCMockaTest) - endif (UNIT_TESTING) ---- a/doc/CMakeLists.txt -+++ b/doc/CMakeLists.txt -@@ -1,5 +1,7 @@ - # - # Build the documentation - # --include(UseDoxygen OPTIONAL) -- -+option(WITH_APIDOC "Use doxygen to generate documentation" ON) -+if (WITH_APIDOC) -+ include(UseDoxygen OPTIONAL) -+endif (WITH_APIDOC) diff --git a/dev-util/cmocka/metadata.xml b/dev-util/cmocka/metadata.xml deleted file mode 100644 index f017c11..0000000 --- a/dev-util/cmocka/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -kde - - creffett@gentoo.org - Chris Reffett - -