public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-kernel/mips-sources: mips-sources-3.0.4.ebuild ChangeLog metadata.xml mips-sources-2.6.34.7.ebuild mips-sources-2.6.36.3.ebuild mips-sources-2.6.37.ebuild mips-sources-2.6.31.12.ebuild mips-sources-2.6.35.9.ebuild
@ 2011-09-04 11:18 Joshua Kinard (kumba)
  0 siblings, 0 replies; only message in thread
From: Joshua Kinard (kumba) @ 2011-09-04 11:18 UTC (permalink / raw
  To: gentoo-commits

kumba       11/09/04 11:18:13

  Modified:             ChangeLog metadata.xml
  Added:                mips-sources-3.0.4.ebuild
  Removed:              mips-sources-2.6.34.7.ebuild
                        mips-sources-2.6.36.3.ebuild
                        mips-sources-2.6.37.ebuild
                        mips-sources-2.6.31.12.ebuild
                        mips-sources-2.6.35.9.ebuild
  Log:
  Add mips-sources-3.0.4, and remove old ebuilds and associated eblits.
  
  (Portage version: 2.1.10.13/cvs/Linux x86_64)

Revision  Changes    Path
1.141                sys-kernel/mips-sources/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/mips-sources/ChangeLog?rev=1.141&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/mips-sources/ChangeLog?rev=1.141&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/mips-sources/ChangeLog?r1=1.140&r2=1.141

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/ChangeLog,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -r1.140 -r1.141
--- ChangeLog	25 Apr 2011 06:45:37 -0000	1.140
+++ ChangeLog	4 Sep 2011 11:18:13 -0000	1.141
@@ -1,6 +1,18 @@
 # ChangeLog for sys-kernel/mips-sources
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/ChangeLog,v 1.140 2011/04/25 06:45:37 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/ChangeLog,v 1.141 2011/09/04 11:18:13 kumba Exp $
+
+*mips-sources-3.0.4 (04 Sep 2011)
+
+  04 Sep 2011; Joshua Kinard <kumba@gentoo.org>
+  +files/eblits/show_ip22_info-v3.eblit, +files/eblits/show_ip30_info-v2.eblit,
+  +files/eblits/show_ip32_info-v3.eblit, +files/eblits/src_unpack-v3.eblit,
+  -files/eblits/show_ip22_info-v2.eblit, -files/eblits/show_ip32_info-v2.eblit,
+  -files/eblits/src_unpack-v1.eblit, -mips-sources-2.6.31.12.ebuild,
+  -mips-sources-2.6.34.7.ebuild, -mips-sources-2.6.35.9.ebuild,
+  -mips-sources-2.6.36.3.ebuild, -mips-sources-2.6.37.ebuild,
+  +mips-sources-3.0.4.ebuild, metadata.xml:
+  Add mips-sources-3.0.4, and remove old ebuilds and associated eblits.
 
   25 Apr 2011; Ulrich Mueller <ulm@gentoo.org> mips-sources-2.6.29.1.ebuild,
   mips-sources-2.6.31.12.ebuild, mips-sources-2.6.34.7.ebuild,



1.5                  sys-kernel/mips-sources/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/mips-sources/metadata.xml?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/mips-sources/metadata.xml?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/mips-sources/metadata.xml?r1=1.4&r2=1.5

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/metadata.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- metadata.xml	26 Apr 2010 07:38:47 -0000	1.4
+++ metadata.xml	4 Sep 2011 11:18:13 -0000	1.5
@@ -20,7 +20,9 @@
 			'Speedracer')</flag>
 		<flag name='ip32r10k'>Enables experimental support for IP32 R10K kernels
 			(SGI O2, 'Moosehead')</flag>
-		<flag name='impactdebug'>Enables use of the Impact Early Console Hack.
+		<flag name='impactdebug'>Enables use of the IP30 Impact Early Console Hack.
+			FOR DEBUGGING ONLY!</flag>
+		<flag name='odysseydebug'>Enables use of the IP30 Odyssey Early Console Hack.
 			FOR DEBUGGING ONLY!</flag>
 		<flag name='deblob'>Remove binary blobs from kernel sources to provide libre license compliance.</flag>
 	</use>



1.1                  sys-kernel/mips-sources/mips-sources-3.0.4.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/mips-sources/mips-sources-3.0.4.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/mips-sources/mips-sources-3.0.4.ebuild?rev=1.1&content-type=text/plain

Index: mips-sources-3.0.4.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/mips-sources-3.0.4.ebuild,v 1.1 2011/09/04 11:18:13 kumba Exp $

# INCLUDED:
# 1) linux sources from kernel.org
# 2) linux-mips.org GIT snapshot diff
# 3) Generic Fixes
# 4) Patch for the IOC3 Metadriver (IP27, IP30)
# 5) Patch for IP30 Support
# 6) Patch for IP28 Graphics Support (SolidImpact)
# 7) Experimental patches (if needed)

#//------------------------------------------------------------------------------

# Version Data
OKV=${PV/_/-}
GITDATE="20110821"			# Date of diff between kernel.org and lmo GIT
GENPATCHREV="1"				# Tarball revision for patches

# Directories
S="${WORKDIR}/linux-${OKV}-${GITDATE}"
MIPS_PATCHES="${WORKDIR}/mips-patches"

# Kernel-2 Vars
K_SECURITY_UNSUPPORTED="1"
K_NOUSENAME="0"
K_NOUSEPR="0"
K_USEPV="0"
ETYPE="sources"

# EAPI Version
EAPI="4"

# Inherit Eclasses
inherit kernel-2 eutils
detect_version

# Version Data
F_KV="${PVR}"
BASE_KV="$(get_version_component_range 1-2).0"
[[ "${EXTRAVERSION}" = -rc* ]] && KVE="${EXTRAVERSION}"

# Portage Vars
HOMEPAGE="http://www.linux-mips.org/ http://www.gentoo.org/"
SLOT="${OKV}"
KEYWORDS="-* ~mips"
IUSE="cobalt ip27 ip28 ip30 ip32r10k impactdebug odysseydebug"
DEPEND=">=sys-devel/gcc-4.1.1"
RDEPEND=""

# Machine Support Control Variables
DO_IP22="yes"				# If "yes", enable IP22 support		(SGI Indy, Indigo2 R4x00)
DO_IP27="test"				# 		   IP27 support		(SGI Origin)
DO_IP28="yes"				# 		   IP28 support		(SGI Indigo2 Impact R10000)
DO_IP30="test"				# 		   IP30 support		(SGI Octane)
DO_IP32="yes"				# 		   IP32 support		(SGI O2, R5000/RM5200 Only)
DO_CBLT="yes"				# 		   Cobalt Support	(Cobalt Microsystems)

# Machine Stable Version Variables
SV_IP22=""				# If set && DO_IP22 == "no", indicates last "good" IP22 version
SV_IP27=""				# 	    DO_IP27 == "no", 			   IP27
SV_IP28=""				# 	    DO_IP28 == "no", 			   IP28
SV_IP30=""				# 	    DO_IP30 == "no", 			   IP30
SV_IP32=""				# 	    DO_IP32 == "no", 			   IP32
SV_CBLT=""				# 	    DO_CBLT == "no", 			   Cobalt

DESCRIPTION="Linux-Mips GIT sources for MIPS-based machines, dated ${GITDATE}"
SRC_URI="${KERNEL_URI}
	 mirror://gentoo/mipsgit-${BASE_KV}${KVE}-${GITDATE}.diff.xz
	 mirror://gentoo/${PN}-${BASE_KV}-patches-v${GENPATCHREV}.tar.xz"

UNIPATCH_STRICTORDER="1"
UNIPATCH_LIST="${DISTDIR}/mipsgit-${BASE_KV}${KVE}-${GITDATE}.diff.xz"

#//------------------------------------------------------------------------------

# Eblit Handling Functions
#
# They'll likely be superseded someday by better ideas, possibly elibs.

# eblit-core
# Usage: <function> [version]
# Main eblit engine
eblit-core() {
	local e v func=$1 ver=$2
	for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do
		e="${FILESDIR}/eblits/${func}${v}.eblit"
		if [[ -e ${e} ]] ; then
			. "${e}"
			[[ ${func} == pkg_* ]] && eval "${func}() { eblit-run ${func} ${ver} ; }"
			return 0
		fi
	done
	return 1
}

# eblit-include
# Usage: [--skip] <function> [version]
# Includes an "eblit" -- a chunk of common code among ebuilds in a given
# package so that its functions can be sourced and utilized within the
# ebuild.
eblit-include() {
	local skipable=false r=0
	[[ $1 == "--skip" ]] && skipable=true && shift
	[[ $1 == pkg_* ]] && skipable=true

	[[ -z $1 ]] && die "Usage: eblit-include <function> [version]"
	eblit-core $1 $2
	r="$?"
	${skipable} && return 0
	[[ "$r" -gt "0" ]] && die "Could not locate requested eblit '$1' in ${FILESDIR}/eblits/"
}

# eblit-run-maybe
# Usage: <function>
# Runs a function if it is defined in an eblit
eblit-run-maybe() {
	[[ $(type -t "$@") == "function" ]] && "$@"
}

# eblit-run
# Usage: <function> [version]
# Runs a function defined in an eblit
eblit-run() {
	eblit-include --skip common "${*:2}"
	eblit-include "$@"
	eblit-run-maybe eblit-$1-pre
	eblit-${PN}-$1
	eblit-run-maybe eblit-$1-post
}

# eblit-pkg
# Usage: <phase> [version]
# Runs the pkg_* functions AND evals them so they're included in the binpkgs
eblit-pkg() {
	[[ -z $1 ]] && die "Usage: eblit-pkg <phase> [version]"
	eblit-core pkg_$1 $2
}

#//------------------------------------------------------------------------------

load_eblit_funcs() {
	# This is a sanity check to avoid QA issues.  It prevents
	# eblits from being referenced during metadata operations.
	[ -n "${MIPS_SOURCES_EBLITS_LOADED}" ] && return

	# All are in ${FILESDIR}/eblits
	# If a message for a given machine needs to change,
	# then we create a new eblit and increment the
	# version and reference it here.
	eblit-include err_disabled_mach v1
	eblit-include err_only_one_mach_allowed v1
	eblit-include show_ip22_info v3
	eblit-include show_ip27_info v1
	eblit-include show_ip28_info v1
	eblit-include show_ip30_info v2
	eblit-include show_ip32_info v3
	eblit-include show_cobalt_info v1

	# This makes sure pkg_setup & pkg_postinst gets into any binpkg.
	# Neccessary because we can't guarantee FILESDIR is around for binpkgs.
	eblit-pkg setup v1
	eblit-pkg postinst v1

	# Eblit load complete
	MIPS_SOURCES_EBLITS_LOADED=1
}

pkg_setup() {
	load_eblit_funcs
	pkg_setup
}

src_unpack() { eblit-run src_unpack v3 ; }

#//------------------------------------------------------------------------------






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-04 11:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-04 11:18 [gentoo-commits] gentoo-x86 commit in sys-kernel/mips-sources: mips-sources-3.0.4.ebuild ChangeLog metadata.xml mips-sources-2.6.34.7.ebuild mips-sources-2.6.36.3.ebuild mips-sources-2.6.37.ebuild mips-sources-2.6.31.12.ebuild mips-sources-2.6.35.9.ebuild Joshua Kinard (kumba)

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