parent
43458ff286
commit
56f757551d
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-boost/eselect-boost-0.2.ebuild,v 1.3 2009/05/20 18:04:12 armin76 Exp $
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="boost module for eselect"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/eselect/"
|
||||
SRC_URI=""
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=app-admin/eselect-1.0.5"
|
||||
|
||||
src_install() {
|
||||
local mdir="/usr/share/eselect/modules"
|
||||
dodir ${mdir}
|
||||
sed -e "s|%LIBDIR%|$(get_libdir)|g" "${FILESDIR}/boost.eselect-${PVR}" > "${D}${mdir}/boost.eselect" || die "failed to install"
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-boost/eselect-boost-0.3.ebuild,v 1.12 2011/06/28 21:32:24 mattst88 Exp $
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="boost module for eselect"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/eselect/"
|
||||
SRC_URI=""
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=app-admin/eselect-1.0.5"
|
||||
|
||||
src_install() {
|
||||
local mdir="/usr/share/eselect/modules"
|
||||
dodir ${mdir}
|
||||
sed -e "s|%LIBDIR%|$(get_libdir)|g" "${FILESDIR}/boost.eselect-${PVR}" > "${D}${mdir}/boost.eselect" || die "failed to install"
|
||||
|
||||
keepdir /etc/eselect/boost
|
||||
keepdir /usr/share/boost-eselect/profiles
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-boost/eselect-boost-0.4.ebuild,v 1.9 2012/09/05 22:34:58 blueness Exp $
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="boost module for eselect"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/eselect/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=app-admin/eselect-1.0.5"
|
||||
|
||||
src_install() {
|
||||
local mdir="/usr/share/eselect/modules"
|
||||
dodir ${mdir}
|
||||
sed -e "s|%LIBDIR%|$(get_libdir)|g" "${FILESDIR}/boost.eselect-${PVR}" > "${D}${mdir}/boost.eselect" || die "failed to install"
|
||||
|
||||
keepdir /etc/eselect/boost
|
||||
keepdir /usr/share/boost-eselect/profiles
|
||||
}
|
@ -1,205 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id: boost.eselect-0.2,v 1.2 2010/01/22 15:00:56 jer Exp $
|
||||
|
||||
# This eclass-module has been initially written by Łukasz Michalik <lmi@ift.uni.wroc.pl>
|
||||
# Corrections and extensions by Tiziano Müller <dev-zero@gentoo.org>
|
||||
|
||||
DESCRIPTION="Manage boost installations"
|
||||
|
||||
_boost_tools="bcp bjam compiler_status inspect library_status process_jam_log quickbook wave"
|
||||
|
||||
find_targets() {
|
||||
local f
|
||||
for f in "${ROOT}"/usr/include/boost-[[:digit:]]* ; do
|
||||
[[ -d "${f}" ]] && echo $(basename "${f}")
|
||||
done
|
||||
}
|
||||
|
||||
remove_installation() {
|
||||
local link
|
||||
for link in "${ROOT}/usr/include/boost" "${ROOT}/usr/share/boostbook" ; do
|
||||
if [[ -L "${link}" ]] ; then
|
||||
rm "${link}" || die -q "Couldn't remove \"${link}\" symlink"
|
||||
else
|
||||
[[ -e "${link}" ]] && die -q "\"${link}\" exists and isn't a symlink"
|
||||
fi
|
||||
done
|
||||
|
||||
pushd "${ROOT}/usr/%LIBDIR%" 1>/dev/null
|
||||
local lib
|
||||
for lib in libboost_*.{a,so} ; do
|
||||
[[ -L "${lib}" && "${lib}" != libboost_*[[:digit:]]_[[:digit:]][[:digit:]].@(a|so) ]] || continue
|
||||
rm "${lib}" || die -q "Unable to remove \"/usr/%LIBDIR%/${lib}\" symlink"
|
||||
done
|
||||
popd 1>/dev/null
|
||||
|
||||
pushd "${ROOT}"/usr/bin 1>/dev/null
|
||||
local tool
|
||||
for tool in ${_boost_tools} ; do
|
||||
[[ -L "${tool}" ]] && ( rm "${tool}" || die -q "Unable to remove \"/usr/bin/${tool}\" symlink" )
|
||||
done
|
||||
popd 1>/dev/null
|
||||
|
||||
local mod="mpi.so"
|
||||
for moddir in "${ROOT}"/usr/%LIBDIR%/python*/site-packages ; do
|
||||
if [ -L "${moddir}/${mod}" ] ; then
|
||||
rm "${moddir}/${mod}" || die -q "Unable to remove \"${moddir}/${mod}\" symlink"
|
||||
else
|
||||
[[ -e "${moddir}/${mod}" ]] && die -q "\"${moddir}/${mod}\" exists and isn't a symlink"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
set_installation() {
|
||||
[[ -z "${2}" ]] && die -q "Too few parameters to set_installation()"
|
||||
local target="${1}"
|
||||
local version="${2}"
|
||||
|
||||
if [[ -d "${ROOT}/usr/include/${target}" ]] ; then
|
||||
pushd "${ROOT}/usr/include" 1>/dev/null
|
||||
ln -s "${target}/boost" boost || die -q "Couldn't create symlink \"/usr/include/boost\""
|
||||
popd 1>/dev/null
|
||||
|
||||
pushd "${ROOT}/usr/share/" 1>/dev/null
|
||||
[[ -d "boostbook-${version}" ]] && \
|
||||
( ln -s "boostbook-${version}" "boostbook" || die -q "Couldn't create symlink \"/usr/bin/${tool}\"" )
|
||||
popd 1>/dev/null
|
||||
|
||||
pushd "${ROOT}/usr/%LIBDIR%" 1>/dev/null
|
||||
local lib
|
||||
for lib in libboost_*-"${version}".{a,so} ; do
|
||||
[[ -e "${lib}" ]] && \
|
||||
( ln -s "${lib}" "${lib//-${version}}" || die -q "Couldn't create symlink \"/usr/%LIBDIR%/${lib}\"" )
|
||||
done
|
||||
popd 1>/dev/null
|
||||
|
||||
pushd "${ROOT}/usr/bin/" 1>/dev/null
|
||||
local tool
|
||||
for tool in ${_boost_tools} ; do
|
||||
[[ -e "${tool}" ]] && die -q "\"/usr/bin/${tool}\" exists and isn't a symlink"
|
||||
[[ -e "${tool}-${version}" ]] && \
|
||||
( ln -s "${tool}-${version}" "${tool}" || die -q "Couldn't create symlink \"/usr/bin/${tool}\"" )
|
||||
done
|
||||
popd 1>/dev/null
|
||||
|
||||
local mod="mpi.so"
|
||||
for moddir in "${ROOT}"/usr/%LIBDIR%/python*/site-packages ; do
|
||||
pushd "${moddir}" 1>/dev/null
|
||||
[[ -e "${mod}" ]] && die -q "\"${moddir}/${mod}\" exists and isn't a symlink"
|
||||
[[ -e "mpi_${version}/mpi.so" ]] && \
|
||||
( ln -s "mpi_${version}/${mod}" "${mod}" || die -q "Couldn't create symlink \"${moddir}/${mod}\"" )
|
||||
popd 1>/dev/null
|
||||
done
|
||||
|
||||
else
|
||||
die -q "Target \"${target}\" doesn't appear to be valid!"
|
||||
fi
|
||||
}
|
||||
|
||||
### show action ###
|
||||
|
||||
describe_show() {
|
||||
echo "Show the current boost version used"
|
||||
}
|
||||
|
||||
do_show() {
|
||||
local include
|
||||
|
||||
write_list_start "Current boost version:"
|
||||
if [[ -L "${ROOT}"/usr/include/boost ]] ; then
|
||||
include=$(basename $(dirname $(canonicalise "${ROOT}"/usr/include/boost )))
|
||||
write_kv_list_entry "${include%/}" ""
|
||||
else
|
||||
write_kv_list_entry "(unset)" ""
|
||||
fi
|
||||
}
|
||||
|
||||
### list action ###
|
||||
|
||||
describe_list() {
|
||||
echo "List available boost versions"
|
||||
}
|
||||
|
||||
do_list() {
|
||||
local targets=( $(find_targets ) )
|
||||
write_list_start "Available boost versions:"
|
||||
if [[ -n "${targets[@]}" ]] ; then
|
||||
local i
|
||||
for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do
|
||||
[[ "${targets[${i}]}" == $(basename $(dirname $(canonicalise "${ROOT}"/usr/include/boost))) ]] && \
|
||||
targets[${i}]="${targets[${i}]} $(highlight '*' )"
|
||||
done
|
||||
write_numbered_list "${targets[@]}"
|
||||
else
|
||||
write_kv_list_entry "(none found)" ""
|
||||
fi
|
||||
}
|
||||
|
||||
### set action ###
|
||||
|
||||
describe_set() {
|
||||
echo "Set a new boost version"
|
||||
}
|
||||
|
||||
describe_set_parameters() {
|
||||
echo "<target>"
|
||||
}
|
||||
|
||||
describe_set_options() {
|
||||
echo "target : Target name or number (from 'list' action)"
|
||||
}
|
||||
|
||||
do_set() {
|
||||
if [[ -z "${1}" ]] ; then
|
||||
# no parameter
|
||||
die -q "You didn't tell me what to set the version to"
|
||||
fi
|
||||
|
||||
local target="${1}"
|
||||
if is_number "${target}" ; then
|
||||
targets=($(find_targets))
|
||||
target="${targets[$((${target} - 1))]}"
|
||||
fi
|
||||
local version="${target//boost-}"
|
||||
|
||||
if [[ -L "${ROOT}"/usr/include/boost ]] ; then
|
||||
if ! remove_installation ; then
|
||||
die -q "Couldn't unset existing installation"
|
||||
elif ! set_installation "${target}" "${version}" ; then
|
||||
die -q "Couldn't set a new installation"
|
||||
fi
|
||||
elif [[ -e "${ROOT}"/usr/include/boost ]] ; then
|
||||
die -q "Sorry, existing boost installation confuses me"
|
||||
else
|
||||
set_installation "${target}" "${version}" || die -q "Couldn't set a new version"
|
||||
fi
|
||||
}
|
||||
|
||||
### update action ###
|
||||
|
||||
describe_update() {
|
||||
echo "Automaticly update boost version used"
|
||||
}
|
||||
|
||||
do_update() {
|
||||
local current=
|
||||
if [[ -L "${ROOT}/usr/include/boost" ]]; then
|
||||
current=$(basename $(canonicalise "${ROOT}/usr/include/boost") )
|
||||
if [[ ! -e $(canonicalise "${ROOT}/usr/include/boost") ]]; then
|
||||
# clean up dead symlinks
|
||||
remove_installation || die -q "Couldn't remove existing installation"
|
||||
fi
|
||||
elif [[ -e "${ROOT}/usr/include/boost" ]]; then
|
||||
die -q "Sorry, \"/usr/include/boost\" exists but is not a symlink"
|
||||
fi
|
||||
|
||||
local targets=($(find_targets))
|
||||
if [[ ${#targets[@]} -gt 0 ]]; then
|
||||
remove_installation
|
||||
local target="${targets[@]:(-1)}"
|
||||
set_installation "${target}" "${target//boost-}" || die -q "Couldn't set a new symlink"
|
||||
else
|
||||
die -q "No slotted boost version found"
|
||||
fi
|
||||
}
|
@ -1,229 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id: boost.eselect-0.3,v 1.3 2011/08/28 06:48:29 ulm Exp $
|
||||
|
||||
# This eclass-module has been initially written by Łukasz Michalik <lmi@ift.uni.wroc.pl>
|
||||
# Corrections and extensions by Tiziano Müller <dev-zero@gentoo.org>
|
||||
|
||||
DESCRIPTION="Manage boost installations"
|
||||
MAINTAINER="dev-zero@gentoo.org"
|
||||
VERSION="0.3"
|
||||
|
||||
_boost_tools="bcp bjam compiler_status inspect library_status process_jam_log quickbook wave"
|
||||
|
||||
# ... meaning: <none> and -debug:
|
||||
_suffices="|-debug"
|
||||
|
||||
find_targets() {
|
||||
local f
|
||||
# use ls here to get a really empty set in case no boost is installed
|
||||
for d in $(ls -d "${ROOT}"/usr/share/boost-eselect/profiles/* 2>/dev/null) ; do
|
||||
for p in "${d}"/* ; do
|
||||
echo "boost-$(basename ${d})/$(basename ${p})"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
remove_installation() {
|
||||
echo "Removing symlinks from old version"
|
||||
|
||||
local link
|
||||
for link in "${ROOT}/usr/include/boost" "${ROOT}/usr/share/boostbook" ; do
|
||||
if [[ -L "${link}" ]] ; then
|
||||
rm "${link}" || die -q "Couldn't remove \"${link}\" symlink"
|
||||
else
|
||||
[[ -e "${link}" ]] && die -q "\"${link}\" exists and isn't a symlink"
|
||||
fi
|
||||
done
|
||||
|
||||
pushd "${ROOT}/usr/%LIBDIR%" 1>/dev/null
|
||||
local lib
|
||||
for lib in libboost_*.{a,so} ; do
|
||||
[[ -L "${lib}" && "${lib}" != libboost_*[[:digit:]]_[[:digit:]][[:digit:]]@(${_suffices}).@(a|so) ]] || continue
|
||||
rm "${lib}" || die -q "Unable to remove \"/usr/%LIBDIR%/${lib}\" symlink"
|
||||
done
|
||||
popd 1>/dev/null
|
||||
|
||||
pushd "${ROOT}"/usr/bin 1>/dev/null
|
||||
local tool
|
||||
for tool in ${_boost_tools} ; do
|
||||
[[ -L "${tool}" ]] && ( rm "${tool}" || die -q "Unable to remove \"/usr/bin/${tool}\" symlink" )
|
||||
done
|
||||
popd 1>/dev/null
|
||||
|
||||
local mod="mpi.so"
|
||||
for moddir in "${ROOT}"/usr/%LIBDIR%/python*/site-packages ; do
|
||||
if [ -L "${moddir}/${mod}" ] ; then
|
||||
rm "${moddir}/${mod}" || die -q "Unable to remove \"${moddir}/${mod}\" symlink"
|
||||
else
|
||||
[[ -e "${moddir}/${mod}" ]] && die -q "\"${moddir}/${mod}\" exists and isn't a symlink"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -L "${ROOT}/etc/eselect/boost/active" ] ; then
|
||||
rm "${ROOT}/etc/eselect/boost/active" || die -q "Unable to remove \"${ROOT}/etc/eselect/boost/active\" symlink"
|
||||
else
|
||||
[[ -e "${ROOT}/etc/eselect/boost/active" ]] && die -q "\"${ROOT}/etc/eselect/boost/active\" exists and isn't a symlink"
|
||||
fi
|
||||
}
|
||||
|
||||
set_installation() {
|
||||
[[ -z "${1}" ]] && die -q "Too few parameters to set_installation()"
|
||||
local target="${1}"
|
||||
|
||||
echo "Creating symlinks for ${target}"
|
||||
|
||||
local profile="${target/*\/}"
|
||||
local version="${target/\/${profile}}"
|
||||
version="${version/boost-}"
|
||||
version="${version/./_}"
|
||||
|
||||
cd "${ROOT}/etc/eselect/boost"
|
||||
ln -s "${ROOT}/usr/share/boost-eselect/profiles/${target//boost-}" active || die -q "Couldn't create symlink active -> /usr/share/boost-eselect/profiles/${target//boost-}/${profile}"
|
||||
|
||||
. "${ROOT}/usr/share/boost-eselect/profiles/${target//boost-}"
|
||||
|
||||
for t in ${dirs} ${bins} ${libs} ; do
|
||||
[[ -e "${ROOT}${t}" ]] || die -q "\"${t}\" listed as target does not exist"
|
||||
|
||||
pushd "$(dirname ${ROOT}${t})" 1>/dev/null
|
||||
local ts=$(basename "${t}")
|
||||
local tt="${ts//-${version}}"
|
||||
tt="${tt//${suffix}}"
|
||||
ln -s ${ts} ${tt} || die -q "Couldn't create symlink \"$(pwd)/${tt}\""
|
||||
popd 1>/dev/null
|
||||
done
|
||||
|
||||
[[ -d "${ROOT}${includes}" ]] || die -q "\"${includes}\" does not exist"
|
||||
pushd "${ROOT}/usr/include" 1>/dev/null
|
||||
ln -s ${includes//\/usr\/include\/} boost || die -q "Couldn't create symlink \"/usr/include/boost\""
|
||||
popd 1>/dev/null
|
||||
|
||||
for t in ${python} ; do
|
||||
pushd "$(dirname ${ROOT}${t})/.." 1>/dev/null
|
||||
local ts="$(basename $(dirname ${ROOT}${t}))/${t//*\/}"
|
||||
ts="${ts//${suffix}}"
|
||||
local tt=${t//*\/}
|
||||
ln -s "${ts}" "${tt}" || die -q "Couldn't create symlink \"$(pwd)/${tt}\""
|
||||
popd 1>/dev/null
|
||||
done
|
||||
}
|
||||
|
||||
### show action ###
|
||||
|
||||
describe_show() {
|
||||
echo "Show the current boost version used"
|
||||
}
|
||||
|
||||
do_show() {
|
||||
local include
|
||||
|
||||
write_list_start "Current boost version:"
|
||||
if [[ -L "${ROOT}"/usr/include/boost ]] ; then
|
||||
include=$(basename $(dirname $(canonicalise "${ROOT}"/usr/include/boost )))
|
||||
write_kv_list_entry "${include%/}" ""
|
||||
else
|
||||
write_kv_list_entry "(unset)" ""
|
||||
fi
|
||||
}
|
||||
|
||||
### list action ###
|
||||
|
||||
describe_list() {
|
||||
echo "List available boost versions"
|
||||
}
|
||||
|
||||
do_list() {
|
||||
local targets=( $(find_targets ) )
|
||||
write_list_start "Available boost versions:"
|
||||
if [[ -n "${targets[@]}" ]] ; then
|
||||
local i
|
||||
local active_slot=$(canonicalise "${ROOT}/etc/eselect/boost/active")
|
||||
active_slot=${active_slot/"${ROOT}/usr/share/boost-eselect/profiles/"/boost-}
|
||||
for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do
|
||||
if [[ "${targets[${i}]}" == ${active_slot} ]] ; then
|
||||
targets[${i}]="${targets[${i}]} $(highlight '*' )"
|
||||
fi
|
||||
done
|
||||
write_numbered_list "${targets[@]}"
|
||||
else
|
||||
write_kv_list_entry "(none found)" ""
|
||||
fi
|
||||
}
|
||||
|
||||
### set action ###
|
||||
|
||||
describe_set() {
|
||||
echo "Set a new boost version"
|
||||
}
|
||||
|
||||
describe_set_parameters() {
|
||||
echo "<target>"
|
||||
}
|
||||
|
||||
describe_set_options() {
|
||||
echo "target : Target name or number (from 'list' action)"
|
||||
}
|
||||
|
||||
do_set() {
|
||||
if [[ -z "${1}" ]] ; then
|
||||
# no parameter
|
||||
die -q "You didn't tell me what to set the version to"
|
||||
fi
|
||||
|
||||
local target="${1}"
|
||||
if is_number "${target}" ; then
|
||||
targets=($(find_targets))
|
||||
target="${targets[$((${target} - 1))]}"
|
||||
fi
|
||||
|
||||
remove_installation
|
||||
set_installation "${target}"
|
||||
}
|
||||
|
||||
### update action ###
|
||||
|
||||
describe_update() {
|
||||
echo "Automatically update boost version used"
|
||||
}
|
||||
|
||||
do_update() {
|
||||
# set default profile
|
||||
profile="default"
|
||||
|
||||
# extract profile if there's already one boost version selected
|
||||
if [ -L "${ROOT}"/etc/eselect/boost/active ] ; then
|
||||
profile=$(basename $(canonicalise "${ROOT}/etc/eselect/boost/active"))
|
||||
fi
|
||||
|
||||
echo "Previously selected profile: ${profile}"
|
||||
|
||||
remove_installation
|
||||
|
||||
local targets=($(find_targets))
|
||||
[[ ${#targets[@]} -gt 0 ]] || die -q "No slotted boost version found"
|
||||
|
||||
# contains surely the highest available version, but maybe not the right profile
|
||||
local last_target="${targets[@]:(-1)}"
|
||||
# strip profile
|
||||
local target_version="${last_target//\/*}"
|
||||
|
||||
# in case the previously used profile isn't available anymore
|
||||
local target="${target_version}/default"
|
||||
local matching_profile_found=0
|
||||
for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do
|
||||
if [[ "${targets[${i}]}" == "${target_version}/${profile}" ]] ; then
|
||||
target="${targets[${i}]}"
|
||||
matching_profile_found=1
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ "${matching_profile_found}" == 1 ]] ; then
|
||||
echo "Found a matching profile \"${profile}\" for the new version."
|
||||
else
|
||||
echo "Didn't find the previously selected profile \"${profile}\" for the new version. Resetting to \"default\"."
|
||||
fi
|
||||
|
||||
set_installation "${target}"
|
||||
}
|
@ -1,254 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id: boost.eselect-0.4,v 1.1 2012/04/02 00:51:03 floppym Exp $
|
||||
|
||||
# This eclass-module has been initially written by Łukasz Michalik <lmi@ift.uni.wroc.pl>
|
||||
# Corrections and extensions by Tiziano Müller <dev-zero@gentoo.org>
|
||||
|
||||
DESCRIPTION="Manage boost installations"
|
||||
MAINTAINER="dev-zero@gentoo.org"
|
||||
VERSION="0.4"
|
||||
|
||||
_boost_tools="bcp bjam compiler_status inspect library_status process_jam_log quickbook wave"
|
||||
|
||||
# ... meaning: <none> and -debug:
|
||||
_suffices="|-debug"
|
||||
|
||||
find_targets() {
|
||||
local f
|
||||
# use ls here to get a really empty set in case no boost is installed
|
||||
for d in $(ls -d "${ROOT}"/usr/share/boost-eselect/profiles/* 2>/dev/null) ; do
|
||||
for p in "${d}"/* ; do
|
||||
echo "boost-$(basename ${d})/$(basename ${p})"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
remove_installation() {
|
||||
echo "Removing symlinks from old version"
|
||||
|
||||
local link
|
||||
for link in "${ROOT}/usr/include/boost" "${ROOT}/usr/share/boostbook" ; do
|
||||
if [[ -L "${link}" ]] ; then
|
||||
rm "${link}" || die -q "Couldn't remove \"${link}\" symlink"
|
||||
else
|
||||
[[ -e "${link}" ]] && die -q "\"${link}\" exists and isn't a symlink"
|
||||
fi
|
||||
done
|
||||
|
||||
pushd "${ROOT}/usr/%LIBDIR%" 1>/dev/null
|
||||
local lib
|
||||
for lib in libboost_*.{a,so} ; do
|
||||
[[ -L "${lib}" && "${lib}" != libboost_*[[:digit:]]_[[:digit:]][[:digit:]]@(${_suffices}).@(a|so) ]] || continue
|
||||
rm "${lib}" || die -q "Unable to remove \"/usr/%LIBDIR%/${lib}\" symlink"
|
||||
done
|
||||
popd 1>/dev/null
|
||||
|
||||
pushd "${ROOT}"/usr/bin 1>/dev/null
|
||||
local tool
|
||||
for tool in ${_boost_tools} ; do
|
||||
[[ -L "${tool}" ]] && ( rm "${tool}" || die -q "Unable to remove \"/usr/bin/${tool}\" symlink" )
|
||||
done
|
||||
popd 1>/dev/null
|
||||
|
||||
local python_module python_module_dir
|
||||
for python_module in mpi.py mpi_debug.py ; do
|
||||
for python_module_dir in "${ROOT}"usr/%LIBDIR%/python*/site-packages ; do
|
||||
if [[ -e "${python_module_dir}/${python_module}" ]] ; then
|
||||
rm "${python_module_dir}/${python_module}" || die -q "Unable to remove \"${python_module_dir}/${python_module}\""
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
# Deprecated code for older versions of Boost.
|
||||
local mod="mpi.so"
|
||||
for moddir in "${ROOT}"/usr/%LIBDIR%/python*/site-packages ; do
|
||||
if [ -L "${moddir}/${mod}" ] ; then
|
||||
rm "${moddir}/${mod}" || die -q "Unable to remove \"${moddir}/${mod}\" symlink"
|
||||
else
|
||||
[[ -e "${moddir}/${mod}" ]] && die -q "\"${moddir}/${mod}\" exists and isn't a symlink"
|
||||
fi
|
||||
done
|
||||
|
||||
local python_module
|
||||
for python_module in ${python_modules} ; do
|
||||
local target_python_module="${python_module#*:}"
|
||||
local wrapper_python_module="${python_module%:*}"
|
||||
echo "from ${target_python_module} import *" > "${ROOT}${wrapper_python_module}" || die -q "Couldn't create wrapper python module \"$(pwd)/${wrapper_python_module}\""
|
||||
done
|
||||
|
||||
if [ -L "${ROOT}/etc/eselect/boost/active" ] ; then
|
||||
rm "${ROOT}/etc/eselect/boost/active" || die -q "Unable to remove \"${ROOT}/etc/eselect/boost/active\" symlink"
|
||||
else
|
||||
[[ -e "${ROOT}/etc/eselect/boost/active" ]] && die -q "\"${ROOT}/etc/eselect/boost/active\" exists and isn't a symlink"
|
||||
fi
|
||||
}
|
||||
|
||||
set_installation() {
|
||||
[[ -z "${1}" ]] && die -q "Too few parameters to set_installation()"
|
||||
local target="${1}"
|
||||
|
||||
echo "Creating symlinks for ${target}"
|
||||
|
||||
local profile="${target/*\/}"
|
||||
local version="${target/\/${profile}}"
|
||||
version="${version/boost-}"
|
||||
version="${version/./_}"
|
||||
|
||||
cd "${ROOT}/etc/eselect/boost"
|
||||
ln -s "${ROOT}/usr/share/boost-eselect/profiles/${target//boost-}" active || die -q "Couldn't create symlink active -> /usr/share/boost-eselect/profiles/${target//boost-}/${profile}"
|
||||
|
||||
. "${ROOT}/usr/share/boost-eselect/profiles/${target//boost-}"
|
||||
|
||||
for t in ${dirs} ${bins} ${libs} ; do
|
||||
[[ -e "${ROOT}${t}" ]] || die -q "\"${t}\" listed as target does not exist"
|
||||
|
||||
pushd "$(dirname ${ROOT}${t})" 1>/dev/null
|
||||
local ts=$(basename "${t}")
|
||||
local tt="${ts//-${version}}"
|
||||
tt="${tt//${suffix}}"
|
||||
ln -s ${ts} ${tt} || die -q "Couldn't create symlink \"$(pwd)/${tt}\""
|
||||
popd 1>/dev/null
|
||||
done
|
||||
|
||||
[[ -d "${ROOT}${includes}" ]] || die -q "\"${includes}\" does not exist"
|
||||
pushd "${ROOT}/usr/include" 1>/dev/null
|
||||
ln -s ${includes//\/usr\/include\/} boost || die -q "Couldn't create symlink \"/usr/include/boost\""
|
||||
popd 1>/dev/null
|
||||
|
||||
local python_module
|
||||
for python_module in ${python_modules} ; do
|
||||
local target_python_module="${python_module#*:}"
|
||||
local wrapper_python_module="${python_module%:*}"
|
||||
echo "from ${target_python_module} import *" > "${ROOT}${wrapper_python_module}" || die -q "Couldn't create wrapper python module \"$(pwd)/${wrapper_python_module}\""
|
||||
done
|
||||
|
||||
# Deprecated code for older versions of Boost.
|
||||
for t in ${python} ; do
|
||||
pushd "$(dirname ${ROOT}${t})/.." 1>/dev/null
|
||||
local ts="$(basename $(dirname ${ROOT}${t}))/${t//*\/}"
|
||||
ts="${ts//${suffix}}"
|
||||
local tt=${t//*\/}
|
||||
ln -s "${ts}" "${tt}" || die -q "Couldn't create symlink \"$(pwd)/${tt}\""
|
||||
popd 1>/dev/null
|
||||
done
|
||||
}
|
||||
|
||||
### show action ###
|
||||
|
||||
describe_show() {
|
||||
echo "Show the current boost version used"
|
||||
}
|
||||
|
||||
do_show() {
|
||||
local include
|
||||
|
||||
write_list_start "Current boost version:"
|
||||
if [[ -L "${ROOT}"/usr/include/boost ]] ; then
|
||||
include=$(basename $(dirname $(canonicalise "${ROOT}"/usr/include/boost )))
|
||||
write_kv_list_entry "${include%/}" ""
|
||||
else
|
||||
write_kv_list_entry "(unset)" ""
|
||||
fi
|
||||
}
|
||||
|
||||
### list action ###
|
||||
|
||||
describe_list() {
|
||||
echo "List available boost versions"
|
||||
}
|
||||
|
||||
do_list() {
|
||||
local targets=( $(find_targets ) )
|
||||
write_list_start "Available boost versions:"
|
||||
if [[ -n "${targets[@]}" ]] ; then
|
||||
local i
|
||||
local active_slot=$(canonicalise "${ROOT}/etc/eselect/boost/active")
|
||||
active_slot=${active_slot/"${ROOT}/usr/share/boost-eselect/profiles/"/boost-}
|
||||
for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do
|
||||
if [[ "${targets[${i}]}" == ${active_slot} ]] ; then
|
||||
targets[${i}]="${targets[${i}]} $(highlight '*' )"
|
||||
fi
|
||||
done
|
||||
write_numbered_list "${targets[@]}"
|
||||
else
|
||||
write_kv_list_entry "(none found)" ""
|
||||
fi
|
||||
}
|
||||
|
||||
### set action ###
|
||||
|
||||
describe_set() {
|
||||
echo "Set a new boost version"
|
||||
}
|
||||
|
||||
describe_set_parameters() {
|
||||
echo "<target>"
|
||||
}
|
||||
|
||||
describe_set_options() {
|
||||
echo "target : Target name or number (from 'list' action)"
|
||||
}
|
||||
|
||||
do_set() {
|
||||
if [[ -z "${1}" ]] ; then
|
||||
# no parameter
|
||||
die -q "You didn't tell me what to set the version to"
|
||||
fi
|
||||
|
||||
local target="${1}"
|
||||
if is_number "${target}" ; then
|
||||
targets=($(find_targets))
|
||||
target="${targets[$((${target} - 1))]}"
|
||||
fi
|
||||
|
||||
remove_installation
|
||||
set_installation "${target}"
|
||||
}
|
||||
|
||||
### update action ###
|
||||
|
||||
describe_update() {
|
||||
echo "Automatically update boost version used"
|
||||
}
|
||||
|
||||
do_update() {
|
||||
# set default profile
|
||||
profile="default"
|
||||
|
||||
# extract profile if there's already one boost version selected
|
||||
if [ -L "${ROOT}"/etc/eselect/boost/active ] ; then
|
||||
profile=$(basename $(canonicalise "${ROOT}/etc/eselect/boost/active"))
|
||||
fi
|
||||
|
||||
echo "Previously selected profile: ${profile}"
|
||||
|
||||
remove_installation
|
||||
|
||||
local targets=($(find_targets))
|
||||
[[ ${#targets[@]} -gt 0 ]] || die -q "No slotted boost version found"
|
||||
|
||||
# contains surely the highest available version, but maybe not the right profile
|
||||
local last_target="${targets[@]:(-1)}"
|
||||
# strip profile
|
||||
local target_version="${last_target//\/*}"
|
||||
|
||||
# in case the previously used profile isn't available anymore
|
||||
local target="${target_version}/default"
|
||||
local matching_profile_found=0
|
||||
for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do
|
||||
if [[ "${targets[${i}]}" == "${target_version}/${profile}" ]] ; then
|
||||
target="${targets[${i}]}"
|
||||
matching_profile_found=1
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ "${matching_profile_found}" == 1 ]] ; then
|
||||
echo "Found a matching profile \"${profile}\" for the new version."
|
||||
else
|
||||
echo "Didn't find the previously selected profile \"${profile}\" for the new version. Resetting to \"default\"."
|
||||
fi
|
||||
|
||||
set_installation "${target}"
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>cpp</herd>
|
||||
<maintainer>
|
||||
<email>dev-zero@gentoo.org</email>
|
||||
<name>Tiziano Müller</name>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>arfrever.fta@gmail.com</email>
|
||||
<name>Arfrever Frehtes Taifersar Arahesis</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,2 +1 @@
|
||||
DIST dhex_0.67.tar.gz 56687 SHA256 89f9c7e039ac7199cea1bdeffca200b40bba454817dc9a2fc8ccb2f21a910e71 SHA512 cc5013edcdabf6febcb8c7e79339da2b2ad3ae2783d023754d6cc1f9fa3ef3c37807f21b6182ec5db7e9280f934f29ef84b1526d440a1ca2eb2b6c951e0eb14b WHIRLPOOL 5b7bfa136ba0ea767bcfe379e64e7f1692ed64f17cf9f3a1276e1d40623a8d406dff1016a234c2cf54e8ec917b2d3ec1cdceb6336678b6f94db5b27a22d321df
|
||||
DIST dhex_0.68.tar.gz 58602 SHA256 126c34745b48a07448cfe36fe5913d37ec562ad72d3f732b99bd40f761f4da08 SHA512 9397ec0574652022387f4108613f839b9262841c436079249fb325011b0a0e3c5bbd32d323f37b0f30e643f7060c1275337710c237ab68fb0c3f8096651a2421 WHIRLPOOL a56bf1952108a97a8c2672e681bce01ef2e5dd99f39373aad168acc6772692aa2d569d3d7fcbb3bfe86960f8f72e74aad2a3ba1053378ad48fc8a6de2d9e5bb8
|
||||
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/dhex/dhex-0.67.ebuild,v 1.4 2012/08/22 00:20:32 blueness Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
MY_P=${PN}_${PV}
|
||||
|
||||
DESCRIPTION="ncurses-based hex-editor with diff mode"
|
||||
HOMEPAGE="http://www.dettus.net/dhex/"
|
||||
SRC_URI="http://www.dettus.net/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-libs/ncurses"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-0.63-Makefile.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin dhex
|
||||
dodoc README.txt
|
||||
doman dhex.1 dhex_markers.5 dhex_searchlog.5 dhexrc.5
|
||||
}
|
@ -1,110 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/fte/fte-20051115-r1.ebuild,v 1.5 2012/11/05 13:05:32 pinkbyte Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Lightweight text-mode editor"
|
||||
HOMEPAGE="http://fte.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/fte/${P}-src.zip
|
||||
mirror://sourceforge/fte/${P}-common.zip"
|
||||
|
||||
LICENSE="|| ( GPL-2 Artistic )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ppc -sparc x86"
|
||||
IUSE="gpm slang X"
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
RDEPEND=">=sys-libs/ncurses-5.2
|
||||
X? (
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXau
|
||||
x11-libs/libX11
|
||||
)
|
||||
gpm? ( >=sys-libs/gpm-1.20 )"
|
||||
DEPEND="${RDEPEND}
|
||||
slang? ( >=sys-libs/slang-2.1.3 )
|
||||
app-arch/unzip"
|
||||
|
||||
set_targets() {
|
||||
export TARGETS=""
|
||||
use slang && TARGETS="$TARGETS sfte"
|
||||
use X && TARGETS="$TARGETS xfte"
|
||||
|
||||
TARGETS="$TARGETS vfte"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}-src.zip
|
||||
unpack ${P}-common.zip
|
||||
|
||||
cd "${S}"
|
||||
|
||||
epatch "${FILESDIR}"/fte-gcc34
|
||||
epatch "${FILESDIR}"/${PN}-new_keyword.patch
|
||||
epatch "${FILESDIR}"/${PN}-slang.patch
|
||||
|
||||
set_targets
|
||||
sed \
|
||||
-e "s:@targets@:${TARGETS}:" \
|
||||
-e "s:@cflags@:${CFLAGS}:" \
|
||||
-i src/fte-unix.mak
|
||||
|
||||
if ! use gpm; then
|
||||
sed \
|
||||
-e "s:#define USE_GPM://#define USE_GPM:" \
|
||||
-i src/con_linux.cpp
|
||||
sed \
|
||||
-e "s:-lgpm::" \
|
||||
-i src/fte-unix.mak
|
||||
fi
|
||||
|
||||
cat /usr/include/linux/keyboard.h \
|
||||
| grep -v "wait.h" \
|
||||
> src/hacked_keyboard.h
|
||||
|
||||
sed \
|
||||
-e "s:<linux/keyboard.h>:\"hacked_keyboard.h\":" \
|
||||
-i src/con_linux.cpp
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
DEFFLAGS="PREFIX=/usr CONFIGDIR=/usr/share/fte \
|
||||
DEFAULT_FTE_CONFIG=../config/main.fte OPTIMIZE="
|
||||
|
||||
set_targets
|
||||
emake $DEFFLAGS TARGETS="$TARGETS" all || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local files
|
||||
|
||||
keepdir /etc/fte
|
||||
|
||||
into /usr
|
||||
|
||||
set_targets
|
||||
files="${TARGETS} cfte"
|
||||
|
||||
for i in ${files} ; do
|
||||
dobin src/$i ;
|
||||
done
|
||||
|
||||
dobin "${FILESDIR}"/fte
|
||||
|
||||
dodoc CHANGES BUGS HISTORY README TODO
|
||||
dohtml doc/*
|
||||
|
||||
dodir usr/share/fte
|
||||
insinto /usr/share/fte
|
||||
doins -r config/*
|
||||
|
||||
rm -rf "${D}"/usr/share/fte/CVS
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ebegin "Compiling configuration"
|
||||
cd /usr/share/fte || die "missing configuration dir"
|
||||
/usr/bin/cfte main.fte /etc/fte/system.fterc
|
||||
eend $?
|
||||
}
|
@ -1,5 +1,4 @@
|
||||
DIST org-6.36c.tar.gz 2706358 SHA256 26db6b9c319a2dd54f3a8da78f761594b7c8e7edeb9106f14a1c3a6ff94786a0 SHA512 81dfd13f4a3540bf8e6c3cd9a49f02882bb1aa20ac4ecc97beaa159bd8ab7ca4bf10bf5ca23c40619788f8999cee8ae6b0439d1d51b561197c24e6efd34f5d56 WHIRLPOOL 9c89b8508338553a05458bd9c532aaf951dd8803a755f432bd3136629e17e2244c06377b5516cee5cb04a69edd9301cdeafac70da1f3e83715d41643bf65dd2b
|
||||
DIST org-7.7.tar.gz 3248717 SHA256 6df7633ec40231f466b436c5e63b03a62c585d3fe0e53838a2cd7c18c68e7f26 SHA512 775f12c771c27bc54ef2975b470a9b92310f66bd8e59f1219a6b7d9f8b14f308647ce7fd81cd4170d61dcf5257ce3a1b283b0690d25a90fe8bc3a3bde0b82042 WHIRLPOOL 4dee591a29a5e024e8bb25a0e33c00cef4910c3e6f13a7e799200a6fe64b013a5a9f0b9fa0f28d662719f0749048d9eb1b1da4c07fcc156e5a268d6b90e7f2ae
|
||||
DIST org-7.8.11.tar.gz 3303681 SHA256 2f6a69aaff5cd66162a9a1a6df900c6050434bced1bbc7eea715b5579a0487c1 SHA512 2032b5820b28c85b9780ec09d33348ab951709ce69a56c47dab85c3a42175c4588ca73f26552eb0b6f52051c546992f8a273f8319ca61a9a20313f071b5d6c38 WHIRLPOOL 6ab2466e9f341e32827ea588bee4be609ecce11e0ad38eca0870f6bec8dfef09422897ec960a6292dcb109ac0e4d980d53d5defce6e7f0192c75d5cae46ae74b
|
||||
DIST org-7.9.1.tar.gz 3841831 SHA256 01087eff07faf70b2336a2d327b8bab2359b7b4e1f944015a7bad6ebbe6de14f SHA512 0d8e4144d0d0d22859e2b1ba687dcb596d921ed523e3765cf6f222b7eb3c63e3edb76a0673b9501877ae69ee7957e8abdb22f22bcbf10c0278b30c5ed4838824 WHIRLPOOL 196bbfbe7ce27d318fff93c3ab440993ef38246a7b855f57e5e02152e917dad086e05fe2fd450d236de83dab1d40ec70beff4843fadd4d240b75b880c3c643bb
|
||||
DIST org-7.9.2.tar.gz 4141885 SHA256 14c91bf456c271ac17f2f083f86227d4e5f09483fdb69adbf314de4392e25469 SHA512 9b0f90ec47660dcc9faf7ad742b62c816a031119a2a89864f6fd183e343bd08027f5cf8439314b1593b9f5d76ff08f57b0b30aa188e1a94a426b3573c33c434c WHIRLPOOL 3ac9a49157375cd3628c4fb1248af071d8ed725307effbcce81961bd1d35117ae7f5a371baffa6159e0c57fd4f896cdf4a7b0d3ac67942ea177d8717a19ce47f
|
||||
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/org-mode/org-mode-7.9.1.ebuild,v 1.1 2012/09/26 18:19:45 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
NEED_EMACS=22
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="An Emacs mode for notes and project planning"
|
||||
HOMEPAGE="http://www.orgmode.org/"
|
||||
SRC_URI="http://orgmode.org/org-${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ contrib? ( GPL-2+ MIT ) odt-schema? ( OASIS-Open )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~x86-macos"
|
||||
IUSE="contrib doc odt-schema"
|
||||
|
||||
DEPEND="doc? ( virtual/texi2dvi )"
|
||||
|
||||
S="${WORKDIR}/org-${PV}"
|
||||
# Remove autoload file to make sure that it is regenerated with
|
||||
# the right Emacs version.
|
||||
ELISP_REMOVE="lisp/org-install.el"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
use doc && emake pdf card
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
ETCDIRS="styles $(use odt-schema && echo schema)" \
|
||||
install
|
||||
|
||||
cp "${FILESDIR}/${SITEFILE}" "${T}/${SITEFILE}"
|
||||
|
||||
if use contrib; then
|
||||
elisp-install ${PN}/contrib contrib/lisp/*org*.el || die
|
||||
insinto /usr/share/doc/${PF}/contrib
|
||||
doins -r contrib/README contrib/babel contrib/scripts
|
||||
find "${ED}/usr/share/doc/${PF}/contrib" -type f -name '.*' \
|
||||
-exec rm -f '{}' '+'
|
||||
# add the contrib subdirectory to load-path
|
||||
sed -ie 's:\(.*@SITELISP@\)\(.*\):&\n\1/contrib\2:' \
|
||||
"${T}/${SITEFILE}" || die
|
||||
fi
|
||||
|
||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||
dodoc README doc/orgcard.txt etc/ORG-NEWS
|
||||
use doc && dodoc doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
|
||||
}
|
@ -0,0 +1,372 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.1.2-r3.ebuild,v 1.2 2012/11/21 22:22:35 cardoe Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_PN="qemu-kvm"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python user
|
||||
BACKPORTS=91ef50cf
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="mirror://sourceforge/kvm/${MY_PN}/${MY_P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
HOMEPAGE="http://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="+aio alsa bluetooth brltty +caps +curl debug doc fdt +jpeg kernel_linux \
|
||||
kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python rbd sasl sdl \
|
||||
smartcard spice static systemtap tci +threads tls usbredir +uuid vde +vhost-net \
|
||||
virtfs +vnc xattr xen xfs"
|
||||
|
||||
COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips mipsel ppc ppc64 sh4 sh4eb sparc sparc64 s390x"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 mips64 mips64el ppcemb xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb ppc64abi32 sparc32plus unicore32"
|
||||
|
||||
# Setup the default SoftMMU targets, while using the loops
|
||||
# below to setup the other targets.
|
||||
REQUIRED_USE="|| ("
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS}; do
|
||||
IUSE="${IUSE} qemu_softmmu_targets_${target}"
|
||||
REQUIRED_USE="${REQUIRED_USE} qemu_softmmu_targets_${target}"
|
||||
done
|
||||
REQUIRED_USE="${REQUIRED_USE} )"
|
||||
|
||||
for target in ${IUSE_USER_TARGETS}; do
|
||||
IUSE="${IUSE} qemu_user_targets_${target}"
|
||||
done
|
||||
|
||||
# Block USE flag configurations known to not work
|
||||
REQUIRED_USE="${REQUIRED_USE}
|
||||
static? ( !alsa !pulseaudio !bluetooth )
|
||||
virtfs? ( xattr )"
|
||||
|
||||
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||
LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
|
||||
sys-apps/pciutils[static-libs(+)]
|
||||
sys-libs/zlib[static-libs(+)]
|
||||
aio? ( dev-libs/libaio[static-libs(+)] )
|
||||
caps? ( sys-libs/libcap-ng[static-libs(+)] )
|
||||
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
|
||||
fdt? ( >=sys-apps/dtc-1.2.0[static-libs(+)] )
|
||||
jpeg? ( virtual/jpeg[static-libs(+)] )
|
||||
ncurses? ( sys-libs/ncurses[static-libs(+)] )
|
||||
png? ( media-libs/libpng[static-libs(+)] )
|
||||
rbd? ( sys-cluster/ceph[static-libs(+)] )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
|
||||
sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] )
|
||||
spice? ( >=app-emulation/spice-0.9.0[static-libs(+)] )
|
||||
tls? ( net-libs/gnutls[static-libs(+)] )
|
||||
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
|
||||
vde? ( net-misc/vde[static-libs(+)] )
|
||||
xattr? ( sys-apps/attr[static-libs(+)] )
|
||||
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
|
||||
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
!app-emulation/kqemu
|
||||
>=sys-firmware/seabios-1.7.0
|
||||
sys-firmware/sgabios
|
||||
sys-firmware/vgabios
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
brltty? ( app-accessibility/brltty )
|
||||
opengl? ( virtual/opengl )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
python? ( =dev-lang/python-2*[ncurses] )
|
||||
sdl? ( media-libs/libsdl[X] )
|
||||
smartcard? ( dev-libs/nss )
|
||||
spice? ( >=app-emulation/spice-protocol-0.8.1 )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
usbredir? (
|
||||
>=sys-apps/usbredir-0.3.4
|
||||
x86? ( <sys-apps/usbredir-0.5 )
|
||||
)
|
||||
virtfs? ( sys-libs/libcap )
|
||||
xen? ( app-emulation/xen-tools )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-text/texi2html )
|
||||
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
|
||||
static? ( ${LIB_DEPEND} )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
STRIP_MASK="/usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/share/qemu/openbios-ppc
|
||||
usr/share/qemu/openbios-sparc64
|
||||
usr/share/qemu/openbios-sparc32
|
||||
usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_WX_LOAD="${QA_PRESTRIPPED}
|
||||
usr/bin/qemu-i386
|
||||
usr/bin/qemu-x86_64
|
||||
usr/bin/qemu-alpha
|
||||
usr/bin/qemu-arm
|
||||
usr/bin/qemu-cris
|
||||
usr/bin/qemu-m68k
|
||||
usr/bin/qemu-microblaze
|
||||
usr/bin/qemu-mips
|
||||
usr/bin/qemu-mipsel
|
||||
usr/bin/qemu-ppc
|
||||
usr/bin/qemu-ppc64
|
||||
usr/bin/qemu-ppc64abi32
|
||||
usr/bin/qemu-sh4
|
||||
usr/bin/qemu-sh4eb
|
||||
usr/bin/qemu-sparc
|
||||
usr/bin/qemu-sparc64
|
||||
usr/bin/qemu-armeb
|
||||
usr/bin/qemu-sparc32plus"
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux && kernel_is lt 2 6 25; then
|
||||
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
|
||||
elif use kernel_linux; then
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel for KVM support"
|
||||
else
|
||||
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
|
||||
ERROR_KVM="You must enable KVM in your kernel to continue"
|
||||
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
|
||||
ERROR_KVM_AMD+=" your kernel configuration."
|
||||
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
|
||||
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
|
||||
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
|
||||
ERROR_TUN+=" into your kernel or loaded as a module to use the"
|
||||
ERROR_TUN+=" virtual network device if using -net tap."
|
||||
ERROR_BRIDGE="You will also need support for 802.1d"
|
||||
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
|
||||
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
|
||||
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
|
||||
ERROR_VHOST_NET+=" support"
|
||||
|
||||
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
|
||||
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
|
||||
fi
|
||||
|
||||
use python && CONFIG_CHECK+=" ~DEBUG_FS"
|
||||
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
fi
|
||||
fi
|
||||
|
||||
if use static; then
|
||||
ewarn "USE=static is very much a moving target because of the packages"
|
||||
ewarn "we depend on will have their static libs ripped out or wrapped"
|
||||
ewarn "with USE=static-libs or USE=static due to continued dicsussion"
|
||||
ewarn "on the mailing list about USE=static's place in Gentoo. As a"
|
||||
ewarn "result what worked today may not work tomorrow."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
enewgroup kvm 78
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
|
||||
python_convert_shebangs -r 2 "${S}/scripts/kvm/kvm_stat"
|
||||
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local conf_opts audio_opts user_targets
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
use "qemu_softmmu_targets_${target}" && \
|
||||
softmmu_targets="${softmmu_targets} ${target}-softmmu"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
use "qemu_user_targets_${target}" && \
|
||||
user_targets="${user_targets} ${target}-linux-user"
|
||||
done
|
||||
|
||||
einfo "Building the following softmmu targets: ${softmmu_targets}"
|
||||
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
einfo "Building the following user targets: ${user_targets}"
|
||||
conf_opts="${conf_opts} --enable-linux-user"
|
||||
else
|
||||
conf_opts="${conf_opts} --disable-linux-user"
|
||||
fi
|
||||
|
||||
# Add support for SystemTAP
|
||||
use systemtap && conf_opts="${conf_opts} --enable-trace-backend=dtrace"
|
||||
|
||||
# Fix QA issues. QEMU needs executable heaps and we need to mark it as such
|
||||
#conf_opts="${conf_opts} --extra-ldflags=-Wl,-z,execheap"
|
||||
|
||||
# Add support for static builds
|
||||
use static && conf_opts="${conf_opts} --static --disable-pie"
|
||||
|
||||
# We always want to attempt to build with PIE support as it results
|
||||
# in a more secure binary. But it doesn't work with static or if
|
||||
# the current GCC doesn't have PIE support.
|
||||
if ! use static && gcc-specs-pie; then
|
||||
conf_opts="${conf_opts} --enable-pie"
|
||||
fi
|
||||
|
||||
# audio options
|
||||
audio_opts="oss"
|
||||
use alsa && audio_opts="alsa,${audio_opts}"
|
||||
use sdl && audio_opts="sdl,${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa,${audio_opts}"
|
||||
use mixemu && conf_opts="${conf_opts} --enable-mixemu"
|
||||
|
||||
# --enable-vnc-thread will go away in 1.2
|
||||
# $(use_enable xen xen-pci-passthrough) for 1.2
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-bsd-user \
|
||||
--disable-guest-agent \
|
||||
--disable-libiscsi \
|
||||
--disable-strip \
|
||||
--disable-werror \
|
||||
--python=python2 \
|
||||
$(use_enable aio linux-aio) \
|
||||
$(use_enable bluetooth bluez) \
|
||||
$(use_enable brltty brlapi) \
|
||||
$(use_enable caps cap-ng) \
|
||||
$(use_enable curl) \
|
||||
$(use_enable debug debug-info) \
|
||||
$(use_enable debug debug-mon) \
|
||||
$(use_enable debug debug-tcg) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable fdt) \
|
||||
$(use_enable jpeg vnc-jpeg) \
|
||||
$(use_enable kernel_linux kvm) \
|
||||
$(use_enable kernel_linux kvm-device-assignment) \
|
||||
$(use_enable kernel_linux nptl) \
|
||||
$(use_enable ncurses curses) \
|
||||
$(use_enable opengl) \
|
||||
$(use_enable png vnc-png) \
|
||||
$(use_enable rbd) \
|
||||
$(use_enable sasl vnc-sasl) \
|
||||
$(use_enable sdl) \
|
||||
$(use_enable smartcard smartcard) \
|
||||
$(use_enable smartcard smartcard-nss) \
|
||||
$(use_enable spice) \
|
||||
$(use_enable tci tcg-interpreter) \
|
||||
$(use_enable threads vnc-thread) \
|
||||
$(use_enable tls vnc-tls) \
|
||||
$(use_enable usbredir usb-redir) \
|
||||
$(use_enable uuid) \
|
||||
$(use_enable vde) \
|
||||
$(use_enable vhost-net) \
|
||||
$(use_enable virtfs) \
|
||||
$(use_enable vnc) \
|
||||
$(use_enable xattr attr) \
|
||||
$(use_enable xen) \
|
||||
$(use_enable xfs xfsctl) \
|
||||
--audio-drv-list=${audio_opts} \
|
||||
--target-list="${softmmu_targets} ${user_targets}" \
|
||||
--cc="$(tc-getCC)" \
|
||||
--host-cc="$(tc-getBUILD_CC)" \
|
||||
${conf_opts} \
|
||||
|| die "configure failed"
|
||||
|
||||
# FreeBSD's kernel does not support QEMU assigning/grabbing
|
||||
# host USB devices yet
|
||||
use kernel_FreeBSD && \
|
||||
sed -E -e "s|^(HOST_USB=)bsd|\1stub|" -i "${S}"/config-host.mak
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
if use kernel_linux; then
|
||||
insinto /lib/udev/rules.d/
|
||||
doins "${FILESDIR}"/65-kvm.rules
|
||||
fi
|
||||
|
||||
if use qemu_softmmu_targets_x86_64 ; then
|
||||
dobin "${FILESDIR}"/qemu-kvm
|
||||
ewarn "The depreciated '/usr/bin/kvm' symlink is no longer installed"
|
||||
ewarn "You should use '/usr/bin/qemu-kvm', you may need to edit"
|
||||
ewarn "your libvirt configs or other wrappers for ${PN}"
|
||||
else
|
||||
elog "You disabled QEMU_SOFTMMU_TARGETS=x86_64, this disables install"
|
||||
elog "of /usr/bin/qemu-kvm"
|
||||
fi
|
||||
fi
|
||||
|
||||
dodoc Changelog MAINTAINERS TODO pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
|
||||
if use doc; then
|
||||
dohtml qemu-doc.html qemu-tech.html || die
|
||||
fi
|
||||
|
||||
use python & dobin scripts/kvm/kvm_stat
|
||||
|
||||
# Avoid collision with app-emulation/libcacard
|
||||
use smartcard && mv "${ED}/usr/bin/vscclient" "${ED}/usr/bin/qemu-vscclient"
|
||||
|
||||
# Remove SeaBIOS since we're using the SeaBIOS packaged one
|
||||
rm "${ED}/usr/share/qemu/bios.bin"
|
||||
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
|
||||
|
||||
# Remove vgabios since we're using the vgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/vgabios.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
|
||||
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
|
||||
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
|
||||
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
|
||||
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
|
||||
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
|
||||
|
||||
# Remove sgabios since we're using the sgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/sgabios.bin"
|
||||
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
elog "If you don't have kvm compiled into the kernel, make sure you have"
|
||||
elog "the kernel module loaded before running kvm. The easiest way to"
|
||||
elog "ensure that the kernel module is loaded is to load it on boot."
|
||||
elog "For AMD CPUs the module is called 'kvm-amd'"
|
||||
elog "For Intel CPUs the module is called 'kvm-intel'"
|
||||
elog "Please review /etc/conf.d/modules for how to load these"
|
||||
elog
|
||||
elog "Make sure your user is in the 'kvm' group"
|
||||
elog "Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
|
||||
elog
|
||||
elog "The ssl USE flag was renamed to tls, so adjust your USE flags."
|
||||
elog "The nss USE flag was renamed to smartcard, so adjust your USE flags."
|
||||
fi
|
||||
}
|
@ -0,0 +1,381 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.2.1.ebuild,v 1.2 2012/11/21 22:22:35 cardoe Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_PN="qemu-kvm"
|
||||
MY_P=${MY_PN}-1.2.0
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python user
|
||||
BACKPORTS=3a5940fb
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="mirror://sourceforge/kvm/${MY_PN}/${MY_P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
HOMEPAGE="http://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="+aio alsa bluetooth brltty +caps +curl debug doc fdt +jpeg kernel_linux \
|
||||
kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python rbd sasl +seccomp \
|
||||
sdl smartcard spice static systemtap tci +threads tls usbredir +uuid vde \
|
||||
+vhost-net virtfs +vnc xattr xen xfs"
|
||||
|
||||
COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips mipsel ppc ppc64 sh4 sh4eb sparc sparc64 s390x"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 mips64 mips64el ppcemb xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb ppc64abi32 sparc32plus unicore32"
|
||||
|
||||
# Setup the default SoftMMU targets, while using the loops
|
||||
# below to setup the other targets.
|
||||
REQUIRED_USE="|| ("
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS}; do
|
||||
IUSE="${IUSE} qemu_softmmu_targets_${target}"
|
||||
REQUIRED_USE="${REQUIRED_USE} qemu_softmmu_targets_${target}"
|
||||
done
|
||||
REQUIRED_USE="${REQUIRED_USE} )"
|
||||
|
||||
for target in ${IUSE_USER_TARGETS}; do
|
||||
IUSE="${IUSE} qemu_user_targets_${target}"
|
||||
done
|
||||
|
||||
# Block USE flag configurations known to not work
|
||||
REQUIRED_USE="${REQUIRED_USE}
|
||||
static? ( !alsa !pulseaudio !bluetooth )
|
||||
virtfs? ( xattr )"
|
||||
|
||||
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||
LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
|
||||
sys-apps/pciutils[static-libs(+)]
|
||||
sys-libs/zlib[static-libs(+)]
|
||||
aio? ( dev-libs/libaio[static-libs(+)] )
|
||||
caps? ( sys-libs/libcap-ng[static-libs(+)] )
|
||||
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
|
||||
fdt? ( >=sys-apps/dtc-1.2.0[static-libs(+)] )
|
||||
jpeg? ( virtual/jpeg[static-libs(+)] )
|
||||
ncurses? ( sys-libs/ncurses[static-libs(+)] )
|
||||
png? ( media-libs/libpng[static-libs(+)] )
|
||||
rbd? ( sys-cluster/ceph[static-libs(+)] )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
|
||||
sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] )
|
||||
seccomp? ( >=sys-libs/libseccomp-1.0.0[static-libs(+)] )
|
||||
spice? ( >=app-emulation/spice-0.9.0[static-libs(+)] )
|
||||
tls? ( net-libs/gnutls[static-libs(+)] )
|
||||
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
|
||||
vde? ( net-misc/vde[static-libs(+)] )
|
||||
xattr? ( sys-apps/attr[static-libs(+)] )
|
||||
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
|
||||
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
!app-emulation/kqemu
|
||||
sys-firmware/ipxe
|
||||
>=sys-firmware/seabios-1.7.0
|
||||
sys-firmware/sgabios
|
||||
sys-firmware/vgabios
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
brltty? ( app-accessibility/brltty )
|
||||
opengl? ( virtual/opengl )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
python? ( =dev-lang/python-2*[ncurses] )
|
||||
sdl? ( media-libs/libsdl[X] )
|
||||
smartcard? ( dev-libs/nss )
|
||||
spice? ( >=app-emulation/spice-protocol-0.12.0 )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
usbredir? (
|
||||
>=sys-apps/usbredir-0.3.4
|
||||
x86? ( <sys-apps/usbredir-0.5 )
|
||||
)
|
||||
virtfs? ( sys-libs/libcap )
|
||||
xen? ( app-emulation/xen-tools )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-text/texi2html )
|
||||
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
|
||||
static? ( ${LIB_DEPEND} )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
STRIP_MASK="/usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/share/qemu/openbios-ppc
|
||||
usr/share/qemu/openbios-sparc64
|
||||
usr/share/qemu/openbios-sparc32
|
||||
usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_WX_LOAD="${QA_PRESTRIPPED}
|
||||
usr/bin/qemu-i386
|
||||
usr/bin/qemu-x86_64
|
||||
usr/bin/qemu-alpha
|
||||
usr/bin/qemu-arm
|
||||
usr/bin/qemu-cris
|
||||
usr/bin/qemu-m68k
|
||||
usr/bin/qemu-microblaze
|
||||
usr/bin/qemu-mips
|
||||
usr/bin/qemu-mipsel
|
||||
usr/bin/qemu-ppc
|
||||
usr/bin/qemu-ppc64
|
||||
usr/bin/qemu-ppc64abi32
|
||||
usr/bin/qemu-sh4
|
||||
usr/bin/qemu-sh4eb
|
||||
usr/bin/qemu-sparc
|
||||
usr/bin/qemu-sparc64
|
||||
usr/bin/qemu-armeb
|
||||
usr/bin/qemu-sparc32plus"
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux && kernel_is lt 2 6 25; then
|
||||
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
|
||||
elif use kernel_linux; then
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel for KVM support"
|
||||
else
|
||||
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
|
||||
ERROR_KVM="You must enable KVM in your kernel to continue"
|
||||
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
|
||||
ERROR_KVM_AMD+=" your kernel configuration."
|
||||
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
|
||||
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
|
||||
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
|
||||
ERROR_TUN+=" into your kernel or loaded as a module to use the"
|
||||
ERROR_TUN+=" virtual network device if using -net tap."
|
||||
ERROR_BRIDGE="You will also need support for 802.1d"
|
||||
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
|
||||
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
|
||||
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
|
||||
ERROR_VHOST_NET+=" support"
|
||||
|
||||
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
|
||||
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
|
||||
fi
|
||||
|
||||
use python && CONFIG_CHECK+=" ~DEBUG_FS"
|
||||
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
fi
|
||||
fi
|
||||
|
||||
if use static; then
|
||||
ewarn "USE=static is very much a moving target because of the packages"
|
||||
ewarn "we depend on will have their static libs ripped out or wrapped"
|
||||
ewarn "with USE=static-libs or USE=static due to continued dicsussion"
|
||||
ewarn "on the mailing list about USE=static's place in Gentoo. As a"
|
||||
ewarn "result what worked today may not work tomorrow."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
enewgroup kvm 78
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
|
||||
python_convert_shebangs -r 2 "${S}/scripts/kvm/kvm_stat"
|
||||
|
||||
epatch "${FILESDIR}"/qemu-1.2.0-cflags.patch
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local conf_opts audio_opts user_targets
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
use "qemu_softmmu_targets_${target}" && \
|
||||
softmmu_targets="${softmmu_targets} ${target}-softmmu"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
use "qemu_user_targets_${target}" && \
|
||||
user_targets="${user_targets} ${target}-linux-user"
|
||||
done
|
||||
|
||||
einfo "Building the following softmmu targets: ${softmmu_targets}"
|
||||
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
einfo "Building the following user targets: ${user_targets}"
|
||||
conf_opts="${conf_opts} --enable-linux-user"
|
||||
else
|
||||
conf_opts="${conf_opts} --disable-linux-user"
|
||||
fi
|
||||
|
||||
# Add support for SystemTAP
|
||||
use systemtap && conf_opts="${conf_opts} --enable-trace-backend=dtrace"
|
||||
|
||||
# Fix QA issues. QEMU needs executable heaps and we need to mark it as such
|
||||
#conf_opts="${conf_opts} --extra-ldflags=-Wl,-z,execheap"
|
||||
|
||||
# Add support for static builds
|
||||
use static && conf_opts="${conf_opts} --static --disable-pie"
|
||||
|
||||
# We always want to attempt to build with PIE support as it results
|
||||
# in a more secure binary. But it doesn't work with static or if
|
||||
# the current GCC doesn't have PIE support.
|
||||
if ! use static && gcc-specs-pie; then
|
||||
conf_opts="${conf_opts} --enable-pie"
|
||||
fi
|
||||
|
||||
# audio options
|
||||
audio_opts="oss"
|
||||
use alsa && audio_opts="alsa,${audio_opts}"
|
||||
use sdl && audio_opts="sdl,${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa,${audio_opts}"
|
||||
use mixemu && conf_opts="${conf_opts} --enable-mixemu"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-bsd-user \
|
||||
--disable-guest-agent \
|
||||
--disable-libiscsi \
|
||||
--disable-strip \
|
||||
--disable-werror \
|
||||
--python=python2 \
|
||||
$(use_enable aio linux-aio) \
|
||||
$(use_enable bluetooth bluez) \
|
||||
$(use_enable brltty brlapi) \
|
||||
$(use_enable caps cap-ng) \
|
||||
$(use_enable curl) \
|
||||
$(use_enable debug debug-info) \
|
||||
$(use_enable debug debug-tcg) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable fdt) \
|
||||
$(use_enable jpeg vnc-jpeg) \
|
||||
$(use_enable kernel_linux kvm) \
|
||||
$(use_enable kernel_linux nptl) \
|
||||
$(use_enable ncurses curses) \
|
||||
$(use_enable opengl) \
|
||||
$(use_enable png vnc-png) \
|
||||
$(use_enable rbd) \
|
||||
$(use_enable sasl vnc-sasl) \
|
||||
$(use_enable sdl) \
|
||||
$(use_enable seccomp) \
|
||||
$(use_enable smartcard smartcard) \
|
||||
$(use_enable smartcard smartcard-nss) \
|
||||
$(use_enable spice) \
|
||||
$(use_enable tci tcg-interpreter) \
|
||||
$(use_enable tls vnc-tls) \
|
||||
$(use_enable usbredir usb-redir) \
|
||||
$(use_enable uuid) \
|
||||
$(use_enable vde) \
|
||||
$(use_enable vhost-net) \
|
||||
$(use_enable virtfs) \
|
||||
$(use_enable vnc) \
|
||||
$(use_enable xattr attr) \
|
||||
$(use_enable xen) \
|
||||
$(use_enable xen xen-pci-passthrough) \
|
||||
$(use_enable xfs xfsctl) \
|
||||
--audio-drv-list=${audio_opts} \
|
||||
--target-list="${softmmu_targets} ${user_targets}" \
|
||||
--cc="$(tc-getCC)" \
|
||||
--host-cc="$(tc-getBUILD_CC)" \
|
||||
${conf_opts} \
|
||||
|| die "configure failed"
|
||||
|
||||
# FreeBSD's kernel does not support QEMU assigning/grabbing
|
||||
# host USB devices yet
|
||||
use kernel_FreeBSD && \
|
||||
sed -E -e "s|^(HOST_USB=)bsd|\1stub|" -i "${S}"/config-host.mak
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
if use kernel_linux; then
|
||||
insinto /lib/udev/rules.d/
|
||||
doins "${FILESDIR}"/65-kvm.rules
|
||||
fi
|
||||
|
||||
if use qemu_softmmu_targets_x86_64 ; then
|
||||
dosym /usr/bin/qemu-system-x86_64 /usr/bin/qemu-kvm
|
||||
ewarn "The depreciated '/usr/bin/kvm' symlink is no longer installed"
|
||||
ewarn "You should use '/usr/bin/qemu-kvm', you may need to edit"
|
||||
ewarn "your libvirt configs or other wrappers for ${PN}"
|
||||
else
|
||||
elog "You disabled QEMU_SOFTMMU_TARGETS=x86_64, this disables install"
|
||||
elog "of the /usr/bin/qemu-kvm symlink."
|
||||
fi
|
||||
fi
|
||||
|
||||
dodoc Changelog MAINTAINERS TODO pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
|
||||
if use doc; then
|
||||
dohtml qemu-doc.html qemu-tech.html || die
|
||||
fi
|
||||
|
||||
use python & dobin scripts/kvm/kvm_stat
|
||||
|
||||
# Avoid collision with app-emulation/libcacard
|
||||
use smartcard && mv "${ED}/usr/bin/vscclient" "${ED}/usr/bin/qemu-vscclient"
|
||||
|
||||
# Remove SeaBIOS since we're using the SeaBIOS packaged one
|
||||
rm "${ED}/usr/share/qemu/bios.bin"
|
||||
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
|
||||
|
||||
# Remove vgabios since we're using the vgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/vgabios.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
|
||||
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
|
||||
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
|
||||
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
|
||||
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
|
||||
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
|
||||
|
||||
# Remove sgabios since we're using the sgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/sgabios.bin"
|
||||
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
|
||||
|
||||
# Remove iPXE since we're using the iPXE packaged one
|
||||
rm "${ED}"/usr/share/qemu/pxe-*.rom
|
||||
dosym ../ipxe/808610de.rom /usr/share/qemu/pxe-e1000.rom
|
||||
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
|
||||
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
|
||||
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
|
||||
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
|
||||
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
elog "If you don't have kvm compiled into the kernel, make sure you have"
|
||||
elog "the kernel module loaded before running kvm. The easiest way to"
|
||||
elog "ensure that the kernel module is loaded is to load it on boot."
|
||||
elog "For AMD CPUs the module is called 'kvm-amd'"
|
||||
elog "For Intel CPUs the module is called 'kvm-intel'"
|
||||
elog "Please review /etc/conf.d/modules for how to load these"
|
||||
elog
|
||||
elog "Make sure your user is in the 'kvm' group"
|
||||
elog "Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
|
||||
elog
|
||||
elog "The ssl USE flag was renamed to tls, so adjust your USE flags."
|
||||
elog "The nss USE flag was renamed to smartcard, so adjust your USE flags."
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST unhide-20110113.tgz 34207 SHA256 21ef6128232d02bba981acdf20f92b92258189f0660c4dac9a8d2dfdcc83e6ab SHA512 d7b30ab3ac89777cd9390768c169b22aa0d0332efe258c21183b9ca2391f3ef18448876ce593be9ec5fc661919483f2807d1e6a6f54c6e137d601d02a5edf58a WHIRLPOOL 0b7ccb466f129dc5523de1d138c490ee962c33e882471c45271ced1df9793724d87ded6595e2d0280a3ae52d7e25ad6e19be45890e00f3636cf0bd260524b405
|
||||
DIST unhide_20120905.tgz 54571 SHA256 95d9fe597ce2192185d23412b51db336a45d629e616141dbe674ec753434d603 SHA512 b3ae277cec2c10e43503276ffd49ff37282505525390e05a0bbe7b5bf36d53695daf46738bcae32ecf66ed3b78c9943ad3a6752c71aa148e1ce39c725b3b9e45 WHIRLPOOL 80ad8c925a23bb458972bf56a97f234bed2984c817d03ed349f2b709ec97f1deef5043842fd6d5a8cf29a07ccf8348f951f4db46446b6084a8a5f64710e9ceec
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/unhide/unhide-20120905.ebuild,v 1.1 2012/11/21 19:33:55 blueness Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
MY_P="${PN}_${PV}"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DESCRIPTION="A forensic tool to find hidden processes and TCP/UDP ports by rootkits/LKMs or other technique."
|
||||
HOMEPAGE="http://www.unhide-forensics.info"
|
||||
SRC_URI="mirror://sourceforge/${PN}/files/${MY_P}.tgz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
$(tc-getCC) ${CFLAGS} ${LDFLAGS} --static -pthread \
|
||||
unhide-linux*.c unhide-output.c -o unhide
|
||||
$(tc-getCC) ${CFLAGS} ${LDFLAGS} --static \
|
||||
unhide-tcp.c unhide-tcp-fast.c unhide-output.c -o unhide-tcp
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dobin ${PN}-tcp
|
||||
dodoc changelog README.txt TODO
|
||||
dodoc changelog README.txt LEEME.txt LISEZ-MOI.TXT NEWS TODO
|
||||
doman man/unhide.8 man/unhide-tcp.8
|
||||
has "fr" ${LINGUAS} && newman man/fr/unhide.8 unhide.fr.8
|
||||
has "es" ${LINGUAS} && newman man/es/unhide.8 unhide.es.8
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST spicctrl-1.6.tar.bz2 10404 SHA256 920bc8b6e28ca65d807555256da1dcd07b11308516233a515f2ed2fcded115be SHA512 1cc9ec25f49d8db73967b2ae876fb60fafc75db436f88bfd72ef11ff19836550e2934413287227a493377c07387a0eab136c5c89671deff55b7efd000449f703 WHIRLPOOL 01ca016ca3ddccaf96862b883411f9e10638ebaea9a5756b83a6091e7786277a315122923880a73635a62e21f632a5280afeb61ba343a2f63e72d93712cc7f9b
|
||||
DIST spicctrl-1.9.tar.bz2 10917 SHA256 88d9795bf51af3496fdce2fec263363ff90929e0e7036f9c117fb2b829353b6b SHA512 7b1d7862a51dd3321fe84cc5921d71a8f0b978755cbd7c31e54a59ad1c9d3f781d649436bd9b7fba71446a593ad7e925470731f5bd135350942fb0c03fbd4d3e WHIRLPOOL 7d852723784dc9797b6f4f58b8d2aba54e2cd4ae70000e3482ed29354a0e2f8165ffc070721a60572d480b17bc4845906e09a4b2161f0b4977dae9322f053f5f
|
||||
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/spicctrl/spicctrl-1.6.ebuild,v 1.7 2009/09/23 15:45:10 patrick Exp $
|
||||
|
||||
DESCRIPTION="tool for the sonypi-Device (found in Sony Vaio Notebooks)"
|
||||
HOMEPAGE="http://spop.free.fr/sonypi/"
|
||||
SRC_URI="http://spop.free.fr/sonypi/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="x86 -ppc"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
||||
src_compile() {
|
||||
emake CFLAGS="${CFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin spicctrl || die "dobin failed"
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/spicctrl/spicctrl-1.9.ebuild,v 1.2 2009/09/23 15:45:10 patrick Exp $
|
||||
|
||||
DESCRIPTION="tool for the sonypi-Device (found in Sony Vaio Notebooks)"
|
||||
HOMEPAGE="http://www.popies.net/sonypi/"
|
||||
SRC_URI="http://www.popies.net/sonypi/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 -ppc"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
||||
src_compile() {
|
||||
emake CFLAGS="${CFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin spicctrl || die "dobin failed"
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/multimon/multimon-1.0.ebuild,v 1.16 2009/09/23 16:05:55 patrick Exp $
|
||||
|
||||
S=${WORKDIR}/multimon
|
||||
SRC_URI="http://www.baycom.org/~tom/ham/linux/multimon.tar.gz"
|
||||
HOMEPAGE="http://www.baycom.org/~tom/ham/linux/multimon.html"
|
||||
DESCRIPTION="Multimon decodes digital transmission codes using OSS"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="x11-libs/libX11"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
x11-proto/xproto"
|
||||
|
||||
src_compile() {
|
||||
make CFLAGS="${CFLAGS}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myarch
|
||||
myarch=`uname -m`
|
||||
dobin bin-${myarch}/gen bin-${myarch}/mkcostab bin-${myarch}/multimon
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST nut-17.12.tar.gz 1274051 SHA256 b2fbaa92cbb0351efc4b9a679c6fddb31ba56dd87c798fafecff12d21bb7d669 SHA512 eeefb7c0f0da918475ea1ef3a569f758d026fd6037579087b3e16d08d1fd026bff74466eca256e88de66676f5f782354fedb39f6546f13cca1fec4aff3782bcc WHIRLPOOL a0132c69591e14f137168efdd751cedaf832b42292ff0dec6d836eeccdc45dd43f07fb812df73bdcb58f54e9490be0fc16e14ddd76f270f7f3afd72db2166653
|
||||
DIST nut-17.7.tar.gz 1315707 SHA256 b41a9bf1687d6a7ce4a17b1afea19b0976a6828ec423c5b48ce648b80dbb5a5a SHA512 9f89d64a3b2a41835e845d272d57a905446e14626902106b2a88e1954748d4b7b33d7b2d0ea54e6d91cb6108667b9e187b57d5d9bc87eca1c9c799547d4d36de WHIRLPOOL 03ebba9de669cbddcd8ede868f70d416e7e6399b5156127745468c87256131f4fc653b5e36ea0e86eb8bb2fc0f5abbc043862e82ad42514803994e36adbe9878
|
||||
DIST nut-18.0.tar.gz 1301699 SHA256 3bba7386686e36735465aa2f95d73c28d808717fed80d3618ac9bb6baeb3cb4d SHA512 19d8bba3b9484bb59119c0aa89184b81b2c482e90e9d3738ef0bfb4dfeabe2a81d94d00838ea3243d2b29e855db0b4129ed7ceeb46304d57d9e73677c5304f48 WHIRLPOOL bfe91c9a64feab1793a00756af556138f1836e3b233f5047cb2c79d8bbe04d9bb96459aacabdf8d85134b0b11c3fcb0adf0f7f8b1e91ab58aa4c2ef1ec76e40d
|
||||
DIST nut-18.4.tar.gz 1336493 SHA256 b6cc5382ddbedd788ecdb9745111e3f8c606bfbf7d5fe2f7b9298e9bd77c903a SHA512 9b548322b3a4cee5acc522a11f3e2ecfe0fbd3f6be726979f16fcb236ebafae85f25f472d4bed43b6734ecd8b964c093adaac487d6621da00c96c9e94a0b966d WHIRLPOOL 8ddcd9cb0145800ccb6beb5504977c16f2cc956035e846fc4714a9eeffbdbe54c57afce0504eae5866fe039047cbc01591f19f01cb6329b1d13c124a8480e8a1
|
||||
|
@ -1,69 +0,0 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -8,15 +8,6 @@
|
||||
EXECUTABLE := nut
|
||||
LIBS := -lm
|
||||
|
||||
-FLTK_CONFIG := $(shell fltk-config --version 2>/dev/null)
|
||||
-ifeq ($(FLTK_CONFIG),)
|
||||
-HAVE_FLTK = 0
|
||||
-FLTK_NUT =
|
||||
-else
|
||||
-HAVE_FLTK = 1
|
||||
-FLTK_NUT = fltk/Nut
|
||||
-endif
|
||||
-
|
||||
OS := $(shell uname -s)
|
||||
ifeq ($(OS),HP-UX)
|
||||
CC = cc
|
||||
@@ -25,7 +16,7 @@
|
||||
OPT = -O1
|
||||
endif
|
||||
|
||||
-CFLAGS := $(OPT) -DNUTDIR=$(NUTDIR) -DFOODDIR=$(FOODDIR)
|
||||
+CFLAGS += -DNUTDIR=$(NUTDIR) -DFOODDIR=$(FOODDIR)
|
||||
ifeq ($(CC),gcc)
|
||||
CFLAGS += $(OPT) -Wall -fno-inline -ansi
|
||||
endif
|
||||
@@ -38,7 +29,7 @@
|
||||
all: nut $(FLTK_NUT)
|
||||
|
||||
nut: $(OBJS)
|
||||
- $(CC) $(OPT) -o $(EXECUTABLE) $(OBJS) $(LIBS)
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(EXECUTABLE) $(OBJS) $(LIBS)
|
||||
|
||||
ifeq ($(HAVE_FLTK),1)
|
||||
$(FLTK_NUT):
|
||||
--- a/fltk/Makefile
|
||||
+++ b/fltk/Makefile
|
||||
@@ -5,7 +5,7 @@
|
||||
NUTDIR := \".nutdb\"
|
||||
FOODDIR := \"$(libdir)\"
|
||||
EXECUTABLE := Nut
|
||||
-LIBS := `fltk-config --ldflags`
|
||||
+LIBS := $(shell fltk-config --ldflags)
|
||||
|
||||
OS := $(shell uname -s)
|
||||
ifeq ($(OS),HP-UX)
|
||||
@@ -16,11 +16,7 @@
|
||||
OPT = -Os
|
||||
endif
|
||||
|
||||
-CFLAGS := -I.. `fltk-config --optim --cflags` $(OPT) -DNUTDIR=$(NUTDIR) -DFOODDIR=$(FOODDIR)
|
||||
-
|
||||
-ifeq ($(CXX),g++)
|
||||
-CFLAGS := -I.. `fltk-config --optim --cflags` -DNUTDIR=$(NUTDIR) -DFOODDIR=$(FOODDIR) -Wall -fno-inline -ansi
|
||||
-endif
|
||||
+CFLAGS := -I.. $(shell fltk-config --optim --cflags) $(OPT) -DNUTDIR=$(NUTDIR) -DFOODDIR=$(FOODDIR) -Wall -fno-inline -ansi
|
||||
|
||||
CXXFLAGS := $(CFLAGS)
|
||||
|
||||
@@ -28,7 +24,7 @@
|
||||
OBJS := ../anameal.o ../db.o ../food.o ../meal.o ../options.o ../prtmenu.o ../recmeal.o ../util.o $(patsubst %.cc,%.o,$(SOURCE))
|
||||
|
||||
nut: $(OBJS)
|
||||
- $(CXX) $(OPT) -o $(EXECUTABLE) $(OBJS) $(LIBS)
|
||||
+ $(CXX) $(CFLAGS) $(LDFLAGS) -o $(EXECUTABLE) $(OBJS) $(LIBS)
|
||||
|
||||
deps:
|
||||
makedepend -Y.. ../anameal.c ../db.c ../food.c ../meal.c ../options.c ../prtmenu.c ../recmeal.c ../util.c *.cc >/dev/null 2>&1
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/nut/nut-17.12.ebuild,v 1.1 2012/09/05 16:37:54 jer Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Record what you eat and analyze your nutrient levels"
|
||||
HOMEPAGE="http://nut.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-17.12-makefile.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC) OPT="${CFLAGS}" FOODDIR=\\\"/usr/share/nut\\\"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/nut
|
||||
doins raw.data/*
|
||||
dobin nut
|
||||
doman nut.1
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/nut/nut-17.7.ebuild,v 1.4 2012/06/07 21:30:33 ranger Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Record what you eat and analyze your nutrient levels"
|
||||
HOMEPAGE="http://nut.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ppc x86"
|
||||
IUSE="fltk"
|
||||
|
||||
RDEPEND="
|
||||
fltk? ( x11-libs/fltk:1 )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-17.7-makefile.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC) FOODDIR=\\\"/usr/share/nut\\\"
|
||||
if use fltk; then
|
||||
cd fltk
|
||||
emake CXX=$(tc-getCXX) FOODDIR=\\\"/usr/share/nut\\\"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/nut
|
||||
doins raw.data/*
|
||||
dobin nut
|
||||
doman nut.1
|
||||
if use fltk; then
|
||||
dobin fltk/Nut
|
||||
doicon nut.xpm
|
||||
make_desktop_entry Nut nut nut Education
|
||||
fi
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
--- pal-0.3.4/src/Makefile.defs
|
||||
+++ pal-0.3.4/src/Makefile.defs
|
||||
@@ -25,4 +25,4 @@
|
||||
endif
|
||||
|
||||
CFLAGS = ${OPT} ${INCLDIR} ${DEFS}
|
||||
-LDFLAGS = ${LIBDIR} ${LIBS}
|
||||
+LDFLAGS = ${LIBDIR} ${LIBS} ${LDOPT}
|
@ -1,15 +0,0 @@
|
||||
--- pal-0.3.4/src/Makefile
|
||||
+++ pal-0.3.4/src/Makefile
|
||||
@@ -12,9 +12,9 @@
|
||||
|
||||
$(NAME): $(OBJ)
|
||||
$(CC) $(CFLAGS) $(OBJ) $(LDFLAGS) -o $(NAME)
|
||||
-ifneq ($(DEBUG),1)
|
||||
- strip $(NAME)
|
||||
-endif
|
||||
+#ifneq ($(DEBUG),1)
|
||||
+# strip $(NAME)
|
||||
+#endif
|
||||
|
||||
debug: clean
|
||||
@$(MAKE) DEBUG=1
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/pal/pal-0.4.3.ebuild,v 1.7 2012/05/03 19:41:34 jdhore Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit toolchain-funcs eutils
|
||||
|
||||
DESCRIPTION="pal command-line calendar program"
|
||||
HOMEPAGE="http://palcal.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/palcal/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~hppa ppc x86"
|
||||
IUSE="nls unicode"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.0
|
||||
sys-libs/readline
|
||||
sys-libs/ncurses[unicode?]
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
S=${WORKDIR}/${P}/src
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PV}-strip.patch
|
||||
epatch "${FILESDIR}"/${PV}-ldflags.patch
|
||||
if use unicode; then
|
||||
sed -i "/^LIBS/s/-lncurses/&w/" "${S}"/Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" OPT="${CFLAGS}" LDOPT="${LDFLAGS}" \
|
||||
|| die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install-man install-bin install-share \
|
||||
|| die "make install failed"
|
||||
|
||||
if use nls; then
|
||||
emake DESTDIR="${D}" install-mo || die "make install-mo failed"
|
||||
fi
|
||||
|
||||
dodoc "${WORKDIR}"/${P}/{ChangeLog,doc/example.css} || die "dodoc failed"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST tracker-0.12.10.tar.xz 6220648 SHA256 42722831fdde63cfa07e4f0bb75805425c09b1f1801d3d5280de8be37a357b69 SHA512 53b50847229190e9510e4fc37deadf94f6a478c32b7548a457fe6597433bf7ac9f5bc2470641fe4b665b92c989b1d5b6e9917f7e1903b93c32830f0b2efa8f6f WHIRLPOOL 707b290232a9c3b0b7825628c32130b77afd24915bc18eb77c517b6775d58379f94f4f8efb52bd53637fb66374f426f7a01c47986e951123ff0ff8af874fd870
|
||||
DIST tracker-0.14.2.tar.xz 5985464 SHA256 9b59330aa2e9e09feee587ded895e9247f71fc25f46b023d616d9969314bc7f1 SHA512 204749a915e6e9af7057a0de7f8b5c317a56899dd5a9ca05c029ab1a3b47c42e54b3a86eb53c31fa21ad50abebed2b3a4e99008aac6cc23cb3bc9f7faa6504ff WHIRLPOOL 431a2b06e6906269795fd05e10bac912ffcc8d1ee0e5c394e178c5c12197ed6a05ec6ba939cf21946be0a17b84717405ad8b8be3d052b3f82c4d58999308cb07
|
||||
DIST tracker-0.14.3.tar.xz 6120108 SHA256 7c1ecf3705ecbd2a0278d04277cd1bd8c89d5838913de922fef32321ce67abe4 SHA512 c4c30ffc7879069c5487773e7a905b2b4bff811160318f0c46550ef27fa70b23d481234e62059900f8101e2ce19b3c52ee08f65020d98168c0ec31ca263c8663 WHIRLPOOL e8bf48887c0a6cb43accf399b14d6b6e8221bf261c035572791ef56ff8782d57f675e18b60bc9411f201c0311ab58503f5154fe296235cd262e63b9d338580ad
|
||||
DIST tracker-0.14.4.tar.xz 5946796 SHA256 b818ee42b9007a94b2f8046edc4706bb2036187d5fd304e7ae23e5d2fcf85918 SHA512 e9d6d28276dc7f9930f0e8801fa3b3ea2a30ced0979309418ff5a36d7417ab85fb4d2c246032cad88ea63a4716b301db95a0046bd17eb1849e8a9a7edc464103 WHIRLPOOL 82aebbd0596c931867c65612672af52a510da202c881b2e1fdaa9a07136f8bef2840c2d0a6546ba0e6a53c9e61c973925dbc917ba5d8ec3b385f0656a34b926a
|
||||
|
@ -0,0 +1,290 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-0.14.4.ebuild,v 1.1 2012/11/21 23:04:42 eva Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
VALA_MIN_API_VERSION="0.14"
|
||||
|
||||
[[ ${PV} = 9999 ]] && inherit autotools git-2
|
||||
inherit gnome2 linux-info multilib python vala versionator virtualx
|
||||
|
||||
DESCRIPTION="A tagging metadata database, search tool and indexer"
|
||||
HOMEPAGE="http://projects.gnome.org/tracker/"
|
||||
EGIT_REPO_URI="git://git.gnome.org/${PN}
|
||||
http://git.gnome.org/browse/${PN}"
|
||||
[[ ${PV} = 9999 ]] && SRC_URI=""
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="0"
|
||||
if [[ ${PV} = 9999 ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
# USE="doc" is managed by eclass.
|
||||
IUSE="applet cue doc eds elibc_glibc exif firefox-bookmarks flac flickr gif
|
||||
gnome-keyring gsf gstreamer gtk iptc +iso +jpeg laptop +miner-fs mp3
|
||||
networkmanager pdf playlist rss test thunderbird +tiff upnp +vorbis xine +xml
|
||||
xmp xps" # qt4 strigi
|
||||
[[ ${PV} = 9999 ]] || IUSE="${IUSE} nautilus"
|
||||
|
||||
REQUIRED_USE="cue? ( gstreamer )"
|
||||
|
||||
# Test suite highly disfunctional, loops forever
|
||||
# putting aside for now
|
||||
RESTRICT="test"
|
||||
|
||||
# According to NEWS, introspection is non-optional
|
||||
# glibc-2.12 needed for SCHED_IDLE (see bug #385003)
|
||||
RDEPEND="
|
||||
>=app-i18n/enca-1.9
|
||||
>=dev-db/sqlite-3.7.14[threadsafe]
|
||||
>=dev-libs/glib-2.28:2
|
||||
>=dev-libs/gobject-introspection-0.9.5
|
||||
>=dev-libs/icu-4
|
||||
|| (
|
||||
>=media-gfx/imagemagick-5.2.1[png,jpeg=]
|
||||
media-gfx/graphicsmagick[imagemagick,png,jpeg=] )
|
||||
>=media-libs/libpng-1.2
|
||||
>=x11-libs/pango-1
|
||||
sys-apps/util-linux
|
||||
|
||||
applet? (
|
||||
>=gnome-base/gnome-panel-2.91.6
|
||||
>=x11-libs/gdk-pixbuf-2.12:2
|
||||
>=x11-libs/gtk+-3:3 )
|
||||
cue? ( media-libs/libcue )
|
||||
eds? (
|
||||
>=mail-client/evolution-3.3.5
|
||||
>=gnome-extra/evolution-data-server-3.3.5
|
||||
<mail-client/evolution-3.5.3
|
||||
<gnome-extra/evolution-data-server-3.5.3 )
|
||||
elibc_glibc? ( >=sys-libs/glibc-2.12 )
|
||||
exif? ( >=media-libs/libexif-0.6 )
|
||||
firefox-bookmarks? ( || (
|
||||
>=www-client/firefox-4.0
|
||||
>=www-client/firefox-bin-4.0 ) )
|
||||
flac? ( >=media-libs/flac-1.2.1 )
|
||||
flickr? ( net-libs/rest:0.7 )
|
||||
gif? ( media-libs/giflib )
|
||||
gnome-keyring? ( >=gnome-base/gnome-keyring-2.26 )
|
||||
gsf? ( >=gnome-extra/libgsf-1.13 )
|
||||
gstreamer? (
|
||||
>=media-libs/gstreamer-0.10.31:0.10
|
||||
upnp? ( >=media-libs/gupnp-dlna-0.5 )
|
||||
!upnp? ( >=media-libs/gst-plugins-base-0.10.31:0.10 ) )
|
||||
!gstreamer? ( !xine? ( || ( media-video/totem media-video/mplayer ) ) )
|
||||
gtk? (
|
||||
>=dev-libs/libgee-0.3:0
|
||||
>=x11-libs/gtk+-3:3 )
|
||||
iptc? ( media-libs/libiptcdata )
|
||||
iso? ( >=sys-libs/libosinfo-0.0.2 )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
laptop? ( >=sys-power/upower-0.9 )
|
||||
mp3? (
|
||||
>=media-libs/taglib-1.6
|
||||
gtk? ( x11-libs/gdk-pixbuf:2 ) )
|
||||
networkmanager? ( >=net-misc/networkmanager-0.8 )
|
||||
pdf? (
|
||||
>=x11-libs/cairo-1
|
||||
>=app-text/poppler-0.16[cairo,utils]
|
||||
>=x11-libs/gtk+-2.12:2 )
|
||||
playlist? ( dev-libs/totem-pl-parser )
|
||||
rss? ( net-libs/libgrss )
|
||||
thunderbird? ( || (
|
||||
>=mail-client/thunderbird-5.0
|
||||
>=mail-client/thunderbird-bin-5.0 ) )
|
||||
tiff? ( media-libs/tiff )
|
||||
vorbis? ( >=media-libs/libvorbis-0.22 )
|
||||
xine? ( >=media-libs/xine-lib-1 )
|
||||
xml? ( >=dev-libs/libxml2-2.6 )
|
||||
xmp? ( >=media-libs/exempi-2.1 )
|
||||
xps? ( app-text/libgxps )
|
||||
"
|
||||
# strigi? ( >=app-misc/strigi-0.7 )
|
||||
# mp3? ( qt4? ( >=x11-libs/qt-gui-4.7.1:4 ) )
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/gtk-doc-am-1.8
|
||||
>=dev-util/intltool-0.40
|
||||
>=sys-devel/gettext-0.17
|
||||
virtual/pkgconfig
|
||||
gtk? ( >=dev-libs/libgee-0.3 )
|
||||
doc? (
|
||||
app-office/dia
|
||||
>=dev-util/gtk-doc-1.8
|
||||
media-gfx/graphviz )
|
||||
test? (
|
||||
>=dev-libs/dbus-glib-0.82-r1
|
||||
>=sys-apps/dbus-1.3.1[X] )
|
||||
"
|
||||
[[ ${PV} = 9999 ]] && DEPEND="${DEPEND}
|
||||
>=dev-util/gtk-doc-1.8
|
||||
$(vala_depend)
|
||||
"
|
||||
[[ ${PV} = 9999 ]] || PDEPEND="nautilus? ( >=gnome-extra/nautilus-tracker-tags-0.14 )"
|
||||
|
||||
function inotify_enabled() {
|
||||
if linux_config_exists; then
|
||||
if ! linux_chkconfig_present INOTIFY_USER; then
|
||||
ewarn "You should enable the INOTIFY support in your kernel."
|
||||
ewarn "Check the 'Inotify support for userland' under the 'File systems'"
|
||||
ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config"
|
||||
die 'missing CONFIG_INOTIFY'
|
||||
fi
|
||||
else
|
||||
einfo "Could not check for INOTIFY support in your kernel."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
inotify_enabled
|
||||
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} = 9999 ]]; then
|
||||
git_src_unpack
|
||||
else
|
||||
gnome2_src_unpack
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use gstreamer ; then
|
||||
G2CONF="${G2CONF} --enable-generic-media-extractor=gstreamer"
|
||||
if use upnp; then
|
||||
G2CONF="${G2CONF} --with-gstreamer-backend=gupnp-dlna"
|
||||
else
|
||||
G2CONF="${G2CONF} --with-gstreamer-backend=discoverer"
|
||||
fi
|
||||
elif use xine ; then
|
||||
G2CONF="${G2CONF} --enable-generic-media-extractor=xine"
|
||||
else
|
||||
G2CONF="${G2CONF} --enable-generic-media-extractor=external"
|
||||
fi
|
||||
|
||||
# if use mp3 && (use gtk || use qt4); then
|
||||
if use mp3 && use gtk; then
|
||||
#G2CONF="${G2CONF} $(use_enable !qt4 gdkpixbuf) $(use_enable qt4 qt)"
|
||||
G2CONF="${G2CONF} --enable-gdkpixbuf"
|
||||
fi
|
||||
|
||||
# unicode-support: libunistring, libicu or glib ?
|
||||
# According to NEWS, introspection is required
|
||||
# FIXME: disabling streamanalyzer for now since tracker-sparql-builder.h
|
||||
# is not being generated
|
||||
# XXX: disabling qt since tracker-albumart-qt is unstable; bug #385345
|
||||
# nautilus extension is in a separate package, nautilus-tracker-tags
|
||||
G2CONF="${G2CONF}
|
||||
--disable-hal
|
||||
--enable-tracker-fts
|
||||
--with-enca
|
||||
--with-unicode-support=libicu
|
||||
--enable-guarantee-metadata
|
||||
--enable-introspection
|
||||
--disable-libstreamanalyzer
|
||||
--disable-qt
|
||||
--disable-nautilus-extension
|
||||
$(use_enable applet tracker-search-bar)
|
||||
$(use_enable cue libcue)
|
||||
$(use_enable eds miner-evolution)
|
||||
$(use_enable exif libexif)
|
||||
$(use_enable firefox-bookmarks miner-firefox)
|
||||
$(use_with firefox-bookmarks firefox-plugin-dir ${EPREFIX}/usr/$(get_libdir)/firefox/extensions)
|
||||
FIREFOX=${S}/firefox-version.sh
|
||||
$(use_enable flac libflac)
|
||||
$(use_enable flickr miner-flickr)
|
||||
$(use_enable gnome-keyring)
|
||||
$(use_enable gsf libgsf)
|
||||
$(use_enable gtk tracker-explorer)
|
||||
$(use_enable gtk tracker-preferences)
|
||||
$(use_enable gtk tracker-needle)
|
||||
$(use_enable iptc libiptcdata)
|
||||
$(use_enable iso libosinfo)
|
||||
$(use_enable jpeg libjpeg)
|
||||
$(use_enable laptop upower)
|
||||
$(use_enable miner-fs)
|
||||
$(use_enable mp3 taglib)
|
||||
$(use_enable networkmanager network-manager)
|
||||
$(use_enable pdf poppler)
|
||||
$(use_enable playlist)
|
||||
$(use_enable rss miner-rss)
|
||||
$(use_enable test functional-tests)
|
||||
$(use_enable test unit-tests)
|
||||
$(use_enable thunderbird miner-thunderbird)
|
||||
$(use_with thunderbird thunderbird-plugin-dir ${EPREFIX}/usr/$(get_libdir)/thunderbird/extensions)
|
||||
THUNDERBIRD=${S}/thunderbird-version.sh
|
||||
$(use_enable tiff libtiff)
|
||||
$(use_enable vorbis libvorbis)
|
||||
$(use_enable xml libxml2)
|
||||
$(use_enable xmp exempi)
|
||||
$(use_enable xps libgpxs)"
|
||||
# $(use_enable strigi libstreamanalyzer)
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
# Fix functional tests scripts
|
||||
find "${S}" -name "*.pyc" -delete
|
||||
python_convert_shebangs -q -r 2 tests utils examples
|
||||
|
||||
# Don't run 'firefox --version' or 'thunderbird --version'; it results in
|
||||
# access violations on some setups (bug #385347, #385495).
|
||||
create_version_script "www-client/firefox" "Mozilla Firefox" firefox-version.sh
|
||||
create_version_script "mail-client/thunderbird" "Mozilla Thunderbird" thunderbird-version.sh
|
||||
|
||||
# FIXME: report broken tests
|
||||
sed -e '/\/libtracker-miner\/tracker-password-provider\/setting/,+1 s:^\(.*\)$:/*\1*/:' \
|
||||
-e '/\/libtracker-miner\/tracker-password-provider\/getting/,+1 s:^\(.*\)$:/*\1*/:' \
|
||||
-i tests/libtracker-miner/tracker-password-provider-test.c || die
|
||||
|
||||
if [[ ${PV} = 9999 ]]; then
|
||||
eautoreconf
|
||||
vala_src_prepare
|
||||
fi
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
Xemake check XDG_DATA_HOME="${T}" XDG_CONFIG_HOME="${T}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
# Manually symlink extensions for {firefox,thunderbird}-bin
|
||||
if use firefox-bookmarks; then
|
||||
dosym /usr/share/xul-ext/trackerfox \
|
||||
/usr/$(get_libdir)/firefox-bin/extensions/trackerfox@bustany.org
|
||||
fi
|
||||
|
||||
if use thunderbird; then
|
||||
dosym /usr/share/xul-ext/trackerbird \
|
||||
/usr/$(get_libdir)/thunderbird-bin/extensions/trackerbird@bustany.org
|
||||
fi
|
||||
}
|
||||
|
||||
create_version_script() {
|
||||
# Create script $3 that prints "$2 MAX(VERSION($1), VERSION($1-bin))"
|
||||
|
||||
local v=$(best_version ${1})
|
||||
v=${v#${1}-}
|
||||
local vbin=$(best_version ${1}-bin)
|
||||
vbin=${vbin#${1}-bin-}
|
||||
|
||||
if [[ -z ${v} ]]; then
|
||||
v=${vbin}
|
||||
else
|
||||
version_compare ${v} ${vbin}
|
||||
[[ $? -eq 1 ]] && v=${vbin}
|
||||
fi
|
||||
|
||||
echo -e "#!/bin/sh\necho $2 $v" > "$3" || die
|
||||
chmod +x "$3" || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST mysql-connector-c++-1.1.0.tar.gz 467089 SHA256 dfb8933dada706a1b3188b162fc5a9686b5ed46323bf09548ce291e8dd4545e2 SHA512 d329c4596fa32d213a3c2208d0230bb566efa7978ffbd6938c93d4564bc43ab301085760861c4eb559b13b94ac85c91fab0a83110299ee1f2f7df5fc50d2358b WHIRLPOOL 5dbfe1b46ba735dcf23397e4236322b41ce7773012bb9707ef4f9aafaef765a492d60f0db7e6c181d048baada6f1594fac13c75a6a8da6896831b8bed989c900
|
||||
DIST mysql-connector-c++-1.1.1.tar.gz 492659 SHA256 31c3e4f637153bd270812dffc6a50708dfc686a8afa7ea1c88a9dfda0d8af52e SHA512 d6b34fd4aeaf1032870d6de4f57ae92230790a3661c24af4ffed30f715f9a1941d0d063abbc0d703c15697c054731af6e39240d6dd70459371f25435595ec903 WHIRLPOOL f9fddb59df913a728769824aa7cc39b9ba55b1d3de56048148bf5ca37a366772f34a85bae58f0d5efead4010b0aac7ab5b897bd4a0db113e99fdf4898a31d26c
|
||||
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-connector-c++/mysql-connector-c++-1.1.1.ebuild,v 1.1 2012/11/21 20:07:08 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils cmake-utils flag-o-matic multilib
|
||||
|
||||
DESCRIPTION="MySQL database connector for C++ (mimics JDBC 4.0 API)"
|
||||
HOMEPAGE="http://dev.mysql.com/downloads/connector/cpp/"
|
||||
URI_DIR="Connector-C++"
|
||||
SRC_URI="mirror://mysql/Downloads/${URI_DIR}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="debug examples gcov static-libs"
|
||||
|
||||
DEPEND=">=virtual/mysql-5.1
|
||||
dev-libs/boost
|
||||
dev-libs/openssl"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.1.0-fix-cmake.patch"
|
||||
"${FILESDIR}/${PN}-1.1.0-disable-tests.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
# native lib/wrapper needs this!
|
||||
append-flags "-fno-strict-aliasing"
|
||||
|
||||
local mycmakeargs=(
|
||||
"-DMYSQLCPPCONN_BUILD_EXAMPLES=OFF"
|
||||
"-DMYSQLCPPCONN_ICU_ENABLE=OFF"
|
||||
$(cmake-utils_use debug MYSQLCPPCONN_TRACE_ENABLE)
|
||||
$(cmake-utils_use gcov MYSQLCPPCONN_GCOV_ENABLE)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
# static lib has wrong name so we need to rename it
|
||||
if use static-libs; then
|
||||
mv "${ED}"/usr/$(get_libdir)/libmysqlcppconn-static.a \
|
||||
"${ED}"/usr/$(get_libdir)/libmysqlcppconn.a || die
|
||||
else
|
||||
rm -f "${ED}"/usr/$(get_libdir)/libmysqlcppconn-static.a
|
||||
fi
|
||||
|
||||
# docs are installed poorly
|
||||
rm -rf "${ED}"/usr/{ANNOUNCEMENT,COPYING,README}
|
||||
dodoc ANNOUNCEMENT README
|
||||
|
||||
# examples
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins "${S}"/examples/*
|
||||
fi
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
From 28704350d7b6148b2edbd5e8883c1c2dfba4f0ba Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Trofimovich <slyfox@gentoo.org>
|
||||
Date: Wed, 21 Nov 2012 23:44:33 +0300
|
||||
Subject: [PATCH] cabal: make depends on test libraries optional
|
||||
|
||||
before the patch 'QuickCheck' and friends were required unconditionally:
|
||||
|
||||
$ runhaskell Setup.hs configure -v -ftest | grep QuickCheck
|
||||
Dependency QuickCheck ==2.*: using QuickCheck-2.5.1.1
|
||||
$ runhaskell Setup.hs configure -v -f-test | grep QuickCheck
|
||||
Dependency QuickCheck ==2.*: using QuickCheck-2.5.1.1
|
||||
|
||||
the patch fixes it by putting 'build-depends' under condition
|
||||
|
||||
$ runhaskell Setup.hs configure -v -f-test | grep -i quickcheck
|
||||
$ runhaskell Setup.hs configure -v -ftest | grep -i quickcheck
|
||||
Dependency QuickCheck ==2.*: using QuickCheck-2.5.1.1
|
||||
|
||||
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
||||
---
|
||||
SHA.cabal | 11 ++++++-----
|
||||
1 file changed, 6 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/SHA.cabal b/SHA.cabal
|
||||
index a146b52..1ec2624 100644
|
||||
--- a/SHA.cabal
|
||||
+++ b/SHA.cabal
|
||||
@@ -37,9 +37,12 @@ Library
|
||||
Ghc-Options: -fregs-graph
|
||||
|
||||
Executable test_sha
|
||||
- build-depends: base >= 4 && < 6, bytestring, binary, array,
|
||||
- QuickCheck == 2.*, test-framework >= 0.3,
|
||||
- test-framework-quickcheck2 >= 0.2
|
||||
+ if flag(test)
|
||||
+ build-depends: base >= 4 && < 6, bytestring, binary, array,
|
||||
+ QuickCheck == 2.*, test-framework >= 0.3,
|
||||
+ test-framework-quickcheck2 >= 0.2
|
||||
+ else
|
||||
+ buildable: False
|
||||
Main-Is: Test.hs
|
||||
Other-Modules: Data.Digest.Pure.SHA
|
||||
|
||||
@@ -51,8 +54,6 @@ Executable test_sha
|
||||
if impl(ghc >= 6.12)
|
||||
Ghc-Options: -fregs-graph
|
||||
|
||||
- if !flag(test)
|
||||
- buildable: False
|
||||
|
||||
Executable sha1
|
||||
build-depends: base >= 4 && < 6, bytestring, binary, array, directory
|
||||
--
|
||||
1.8.0
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/tomcat-servlet-api/tomcat-servlet-api-7.0.33.ebuild,v 1.1 2012/11/22 01:40:52 fordfrog Exp $
|
||||
|
||||
EAPI="2"
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
MY_A="apache-${P}-src"
|
||||
MY_P="${MY_A/-servlet-api/}"
|
||||
DESCRIPTION="Tomcat's Servlet API 3.0/JSP API 2.2 implementation"
|
||||
HOMEPAGE="http://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-7/v${PV}/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6"
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml"
|
||||
rm -fR */*/build.xml
|
||||
einfo "Removing bundled jars and classes"
|
||||
find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -delete
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}"/output/build/lib/*.jar
|
||||
use source && java-pkg_dosrc java/javax/servlet/
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- boost/signals2/detail/variadic_slot_invoker.hpp.org 2012-11-20 09:15:55.000000000 +0400
|
||||
+++ boost/signals2/detail/variadic_slot_invoker.hpp 2012-11-20 09:19:56.000000000 +0400
|
||||
@@ -20,7 +20,7 @@
|
||||
// if compiler has std::tuple use it instead of boost::tuple
|
||||
// because boost::tuple does not have variadic template support at present.
|
||||
#ifdef BOOST_NO_CXX11_HDR_TUPLE
|
||||
-#include <boost/tuple.hpp>
|
||||
+#include <boost/tuple/tuple.hpp>
|
||||
#define BOOST_SIGNALS2_TUPLE boost::tuple
|
||||
#else
|
||||
#include <tuple>
|
@ -1,3 +1,4 @@
|
||||
DIST gobject-introspection-1.32.1.tar.xz 1120996 SHA256 44f3fb933f76e4728818cc360cb5f9e2edcbdf9bc8a8f9aded99b3e3ef5cb858 SHA512 115d317890e1a66a64760baebad5c9a0b50600f4cf8ba805fed8fcf047413be51603a3dbd83f552609e7a30dba303ebe9e6bfaa0bb3d6e2f95ad9f98d2c4a02c WHIRLPOOL 7a04b5db51ddbf555e251788334c1976874ab847f89577a0d1e94bbabc9c8bd9ecba7dbe9b85b1e92a63cb942df626a3934b959331e118750f8f4f5520961a64
|
||||
DIST gobject-introspection-1.34.0.tar.xz 1088520 SHA256 80e211ea95404fc7c5fa3b04ba69ee0b29af70847af315155ab06b8cff832c85 SHA512 ce67b29d223fcebe8ab941adf3871891d6cdbccc1cb8419198aada466715b588f1c190d24e58a001fa9cfb77a779192b1ac21b10dbde9a6f973fc92e26d0dd18 WHIRLPOOL df4a44e753cbb9688706e4ab500a575f92e8fc1919b6ebef1c9526eaeb7dcd03bf958201f73215217771d886def442105c5931fd5fd49dbfb7c3648901e0e464
|
||||
DIST gobject-introspection-1.34.1.1.tar.xz 1088672 SHA256 85b9ac268d34311138f3c6bf646c07975eebfae6ae67d9239e1066a42c5d525b SHA512 87a4294185e27a90003696be8e69b5e74f5661d879eea2154f3f5a9763813f97987163e2843abc9c1e1a5ca351be5d5d0c5b314bf00dd0c750bec7a67d2d60eb WHIRLPOOL 95ba83bb4fcf7e7c3f3d9e5cd7d24b2c2e6431146e8005e32b569698fd49a44642038ecd723f5ae2f6c1bd985bf0e4503f1c05b9f6531ca9eb2cca674e0502b8
|
||||
DIST gobject-introspection-1.34.2.tar.xz 1088768 SHA256 bc7948a35ce2218922dfb0806679cad21060715cc0c340cf7823eb633cc03429 SHA512 e57839f9354aacded057911914de94d6357c323cb57cbd2934e668f2d149e779d1aca818e18b13d67fd359afe75dbe9e3525d8f7544a7ced0bbe8f7397526330 WHIRLPOOL 01b5b0662886bd708dad0d60eb06ba18af8c5f50895268bc618ddfa988789621d086b754afe48d7002ba8c8163d92318ff34d564605f406f92ef4cb9ad4659b5
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection-common/gobject-introspection-common-1.34.2.ebuild,v 1.1 2012/11/21 22:40:17 eva Exp $
|
||||
|
||||
EAPI="4"
|
||||
GNOME_ORG_MODULE="gobject-introspection"
|
||||
|
||||
inherit gnome.org
|
||||
|
||||
DESCRIPTION="Build infrastructure for GObject Introspection"
|
||||
HOMEPAGE="http://live.gnome.org/GObjectIntrospection/"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
!<dev-libs/gobject-introspection-1.32.0"
|
||||
# Before 1.32.0, ${PN} was part of gobject-introspection
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/aclocal
|
||||
insinto /usr/share/aclocal
|
||||
doins m4/introspection.m4
|
||||
|
||||
dodir /usr/share/gobject-introspection-1.0
|
||||
insinto /usr/share/gobject-introspection-1.0
|
||||
doins Makefile.introspection
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.34.2.ebuild,v 1.1 2012/11/21 22:40:59 eva Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
PYTHON_DEPEND="2:2.7"
|
||||
PYTHON_USE_WITH="xml"
|
||||
|
||||
inherit gnome2 python toolchain-funcs
|
||||
|
||||
DESCRIPTION="Introspection infrastructure for generating gobject library bindings for various languages"
|
||||
HOMEPAGE="http://live.gnome.org/GObjectIntrospection/"
|
||||
|
||||
LICENSE="LGPL-2+ GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE="doctool test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/gobject-introspection-common-${PV}
|
||||
>=dev-libs/glib-2.34.1:2
|
||||
doctool? ( dev-python/mako )
|
||||
virtual/libffi
|
||||
"
|
||||
# Wants real bison, not virtual/yacc
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/gtk-doc-am-1.15
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# PDEPEND to avoid circular dependencies, bug #391213
|
||||
PDEPEND="x11-libs/cairo[glib]"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# To prevent crosscompiling problems, bug #414105
|
||||
CC=$(tc-getCC)
|
||||
|
||||
DOCS="AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO"
|
||||
G2CONF="${G2CONF}
|
||||
--disable-static
|
||||
YACC=$(type -p yacc)
|
||||
$(use_enable doctool)
|
||||
$(use_enable test tests)"
|
||||
|
||||
gnome2_src_prepare
|
||||
python_clean_py-compile_files
|
||||
|
||||
# avoid GNU-isms
|
||||
sed -i -e 's/\(if test .* \)==/\1=/' configure || die
|
||||
|
||||
gi_skip_tests=
|
||||
if ! has_version "x11-libs/cairo[glib]"; then
|
||||
# Bug #391213: enable cairo-gobject support even if it's not installed
|
||||
# We only PDEPEND on cairo to avoid circular dependencies
|
||||
export CAIRO_LIBS="-lcairo -lcairo-gobject"
|
||||
export CAIRO_CFLAGS="-I${EPREFIX}/usr/include/cairo"
|
||||
if use test; then
|
||||
G2CONF="${G2CONF} --disable-tests"
|
||||
gi_skip_tests=yes
|
||||
ewarn "Tests will be skipped because x11-libs/cairo[glib] is not present"
|
||||
ewarn "on your system. Consider installing it to get tests to run."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
[[ -z ${gi_skip_tests} ]] && default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
python_convert_shebangs 2 "${ED}"usr/bin/g-ir-{annotation-tool,scanner}
|
||||
use doctool && python_convert_shebangs 2 "${ED}"usr/bin/g-ir-doc-tool
|
||||
|
||||
# Prevent collision with gobject-introspection-common
|
||||
rm -v "${ED}"usr/share/aclocal/introspection.m4 \
|
||||
"${ED}"usr/share/gobject-introspection-1.0/Makefile.introspection || die
|
||||
rmdir "${ED}"usr/share/aclocal || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize /usr/$(get_libdir)/${PN}/giscanner
|
||||
python_need_rebuild
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/$(get_libdir)/${PN}/giscanner
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
DIST libgee-0.6.4.tar.xz 432732 SHA256 55f39f3b28e676f6cbd9377d83edd031084436a4da41280a9503c94faffb1665 SHA512 a0934337e8f3199f84d59d308e9a6e471c59a2484e7d4a35a800bfe422489866257732c769c8c53a448dcdbdf2ec0109b90e5472ef4319736a84114a339b4cd8 WHIRLPOOL 537f538d2740cbfb11f8ec00a49b519679e57da6f4cc87c1ff205a812ba8e7ae710bd749700c4c69fde47ab18564519dfc0024bba5ff9b2eec9c26b7109fef40
|
||||
DIST libgee-0.6.5.tar.xz 439156 SHA256 99b78db2492c533e386a07bce9aab1de4bdf23284b1a485b893683de388fff48 SHA512 4aa6b0f4ab6012cd398440e082c30fcb798821a416eab3c2a3127826b1422ae41999d68f643c9393d30afd88de86108365989bae1643c4413e54c4beb2c31876 WHIRLPOOL 78d13ef819903c988d58d74edd7d3c1aa18215e6052638c2f70dfaa90bdd1cc4a982c0eb59d83584906aa5af7a7e829ccb5ec5404f8aad969b0859b51323218d
|
||||
DIST libgee-0.6.6.1.tar.xz 442580 SHA256 ac6598776cda8d1c8689930f48df074e88f17e9f5832bc300902ded5ab8144dd SHA512 d0ccddf89c9b39ad823876e8bc36fab20b9e7ad25e33e9960caf08cc1a98c8c98a9221ed7f7340aed7f80521568f883473362530536d51e2b792932d6b5721e5 WHIRLPOOL 042c801f29831b8ca3f2185dd2c8dc8a9c8bb35c355096f510eedc5c37f6158fc2e406e86f890108603d01b20d0c859491d6d80aec9a736d2d018f11302ce912
|
||||
DIST libgee-0.6.6.tar.xz 442624 SHA256 b6b008a6b84332b88f5a12f33d56a3fa3a307946cdd70bc17a403822d4f02e7b SHA512 ae953a47d02e8ff176ae341c3cf1150995dab47da7c94e7bdeb33b68be43ebd926bad30c9740316fb221fbf39d7bf57e0a8ddf8f00647918e3922fddbaf8fc13 WHIRLPOOL c0b2f3ffba2e560e93d5425d96e7dac6e807669e67df68957c44066953eb739ba560341f66ddf02d06523a00df750c598816eea5017bb5caf4364c7cd655bb4a
|
||||
DIST libgee-0.8.0.tar.xz 579640 SHA256 5e3707cbc1cebea86ab8865682cb28f8f80273869551c3698e396b5dc57831ea SHA512 3288bfe989baeabfd89304d8d440e5dfe0e2ade3fc433a4d382bc16919fb50c8a7fa3482222cdb25f28139dc0a90a595fc4453618c7ca07bd98b75180951106d WHIRLPOOL eabc71daed947752cf14378841e3a66a1c30369160d86bfe3425422da53650c6988a87e4d1e156c8f57cb53128d8fd5db704227eebaa2016271f8adc60630c29
|
||||
DIST libgee-0.8.1.tar.xz 582880 SHA256 01568465b41074b7539baa15a74e8e51dc9f5d8c902cea56c0e4da9d0eb03ad1 SHA512 737419540ce2ada1f08f19be070cf979f29fb81279a37c2020451f05de211c67c820b352d90e3aeb8a073d9dff697aa8ada0fd8eee0d355569c64d7714cf9349 WHIRLPOOL fd040659065cc35a33ad535ae5e14b55d4f170676d4a8ef212a62cc6c521fee88e670aca7bd5c6fb37066a1d9bb91526300f8a33e20cb039854a9fb5ad2b4e0f
|
||||
DIST libgee-0.8.2.tar.xz 583048 SHA256 945b9f45487506bff8d895f9a50904bac6989f06615e6552f467d8ec0676629d SHA512 e29e0462cd8b987bc65aa80316fa8f1a8fe04d173c25347c5fc80d98754af330a777b843199199e49e87aafea30c1d0e18ec17ef324248dc4200f5c182e6ca2a WHIRLPOOL 163380779409ae81b14a4fd80f6c2e37521312e3aecde02c7c5c3dd8a9c9b8c7ee6be9b79c3d9cd5006ade41af6dd4b08e4d4eb2681a6d122210defcbe0cd037
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgee/libgee-0.6.6.1.ebuild,v 1.1 2012/11/21 23:19:05 eva Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2 multilib
|
||||
|
||||
DESCRIPTION="GObject-based interfaces and classes for commonly used data structures."
|
||||
HOMEPAGE="http://live.gnome.org/Libgee"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-linux"
|
||||
IUSE="+introspection"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.12:2
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.6 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS="AUTHORS ChangeLog* MAINTAINERS NEWS README"
|
||||
|
||||
src_configure() {
|
||||
G2CONF="${G2CONF} $(use_enable introspection)"
|
||||
gnome2_src_configure
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgee/libgee-0.8.2.ebuild,v 1.1 2012/11/21 23:27:46 eva Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
VALA_MIN_API_VERSION="0.18"
|
||||
|
||||
inherit gnome2 multilib vala
|
||||
|
||||
DESCRIPTION="GObject-based interfaces and classes for commonly used data structures."
|
||||
HOMEPAGE="http://live.gnome.org/Libgee"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0.8"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-linux"
|
||||
IUSE="+introspection"
|
||||
|
||||
# FIXME: add doc support, requires valadoc
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.12:2
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.6 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=dev-lang/vala-0.17.5
|
||||
$(vala_depend)"
|
||||
|
||||
DOCS="AUTHORS ChangeLog* MAINTAINERS NEWS README"
|
||||
|
||||
src_configure() {
|
||||
G2CONF="${G2CONF} $(use_enable introspection)"
|
||||
gnome2_src_configure
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
vala_src_prepare
|
||||
gnome2_src_prepare
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/tagpy/tagpy-0.94.8.ebuild,v 1.11 2012/02/25 01:59:13 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Python Bindings for TagLib"
|
||||
HOMEPAGE="http://mathema.tician.de//software/tagpy http://pypi.python.org/pypi/tagpy"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 sparc x86"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="<dev-libs/boost-1.48[python]
|
||||
>=media-libs/taglib-1.4"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
|
||||
# Disable broken check for Distribute.
|
||||
sed -e "s/if 'distribute' not in setuptools.__file__:/if False:/" -i aksetup_helper.py
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
"$(PYTHON -f)" ./configure.py \
|
||||
--taglib-inc-dir="${EPREFIX}/usr/include/taglib" \
|
||||
--boost-python-libname="boost_python-mt" || die "Configuration failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins test/*
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST quakeforge-0.5.5.tar.bz2 1954072 RMD160 1caf8d7b272c9e588708ac39841d46aac2c5df79 SHA1 680e47a189de508f8cc7c5c525537f0aa2dafb05 SHA256 9ff29340f571fc26d19992a32f58e767e1b811248688f383083bc2ccb263ec6a
|
||||
DIST quakeforge-0.5.5.tar.bz2 1954072 SHA256 9ff29340f571fc26d19992a32f58e767e1b811248688f383083bc2ccb263ec6a SHA512 0e81fbe2ef4fd1f491e2b46f222807eaa1b1dadf1e5200d3cd4609146050664a68c801c48418a3632a5ad0798ea9ec4eed70da03c2f90abb5fd1291adc95399c WHIRLPOOL 7442e2f2f8641b41cfbfb4206605faadc6f738bf9151c033ca8b39110428621b19e158ea185d4236069165738027a104dc939944bfb758021dbd85809276430c
|
||||
DIST quakeforge-0.7.0.tar.bz2 2780842 SHA256 3aafc52fbe8881c8f51f7726ebe00e42e9deb7b6db9dc308929a5cf998d25a62 SHA512 17f38fa30da32793b83e1f0e40d9185f65c87d2ea43ff5d2137c4302d56ab386803d4cc0407a18542162a3a3bddb81954c1419af24e29a21e99a9f07a6afd42f WHIRLPOOL a605b83c4da6a3ce85e1a74000223c1c7f68c4c7743ec095f12ab7df5e5074ac76d536092d50bf023f3af0b4f0201d7f19c111142365838d4fe13fe14298e6a7
|
||||
|
@ -0,0 +1,33 @@
|
||||
--- nq/source/Makefile.am.old 2012-11-18 16:57:56.658388682 +0100
|
||||
+++ nq/source/Makefile.am 2012-11-18 16:58:11.470268607 +0100
|
||||
@@ -138,7 +138,7 @@
|
||||
nq_x11_SOURCES= sys_unix.c
|
||||
nq_x11_LDADD= $(nq_x11_libs) \
|
||||
$(VIDMODE_LIBS) $(DGA_LIBS) $(X_LIBS) -lX11 \
|
||||
- $(X_EXTRA_LIBS) $(X_SHM_LIB) $(NET_LIBS)
|
||||
+ $(X_EXTRA_LIBS) $(X_SHM_LIB) $(NET_LIBS) -ldl
|
||||
nq_x11_LDFLAGS= $(common_ldflags)
|
||||
nq_x11_DEPENDENCIES= $(nq_x11_libs)
|
||||
|
||||
--- qw/source/Makefile.am.old 2012-11-18 17:10:59.148172332 +0100
|
||||
+++ qw/source/Makefile.am 2012-11-18 17:11:55.866876762 +0100
|
||||
@@ -169,7 +169,7 @@
|
||||
qw_client_x11_SOURCES= cl_sys_unix.c
|
||||
qw_client_x11_LDADD= $(qw_client_x11_libs) \
|
||||
$(VIDMODE_LIBS) $(DGA_LIBS) $(X_LIBS) -lX11 \
|
||||
- $(X_EXTRA_LIBS) $(X_SHM_LIB) $(NET_LIBS) $(LIBCURL_LIBS)
|
||||
+ $(X_EXTRA_LIBS) $(X_SHM_LIB) $(NET_LIBS) $(LIBCURL_LIBS) -ldl
|
||||
qw_client_x11_LDFLAGS= $(common_ldflags)
|
||||
qw_client_x11_DEPENDENCIES= $(qw_client_x11_libs)
|
||||
|
||||
--- tools/qwaq/Makefile.am.old 2012-11-18 17:15:16.024714317 +0100
|
||||
+++ tools/qwaq/Makefile.am 2012-11-18 17:15:41.955749660 +0100
|
||||
@@ -38,7 +38,7 @@
|
||||
qwaq_x11_SOURCES=qwaq.c qwaq-bi.c
|
||||
qwaq_x11_LDADD= $(qwaq_x11_libs) $(QWAQ_LIBS) \
|
||||
$(VIDMODE_LIBS) $(DGA_LIBS) $(X_LIBS) -lX11 \
|
||||
- $(X_EXTRA_LIBS) $(X_SHM_LIB)
|
||||
+ $(X_EXTRA_LIBS) $(X_SHM_LIB) -ldl
|
||||
qwaq_x11_LDFLAGS=
|
||||
qwaq_x11_DEPENDENCIES= $(qwaq_x11_libs) $(QWAQ_DEPS)
|
||||
|
@ -0,0 +1,126 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-fps/quakeforge/quakeforge-0.7.0.ebuild,v 1.1 2012/11/21 21:16:52 tupone Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit base eutils autotools games
|
||||
|
||||
DESCRIPTION="A new 3d engine based off of id Softwares's legendary Quake and QuakeWorld game engine"
|
||||
HOMEPAGE="http://www.quakeforge.net/"
|
||||
SRC_URI="mirror://sourceforge/quake/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="cdinstall debug fbcon flac opengl sdl svga X ncurses png vorbis zlib ipv6 xv dga alsa oss"
|
||||
RESTRICT="userpriv"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/libsamplerate
|
||||
net-misc/curl
|
||||
png? ( media-libs/libpng )
|
||||
flac? ( media-libs/flac )
|
||||
opengl? ( virtual/opengl )
|
||||
sdl? ( media-libs/libsdl )
|
||||
svga? ( media-libs/svgalib )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
)
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
vorbis? ( media-libs/libogg media-libs/libvorbis )
|
||||
zlib? ( sys-libs/zlib )
|
||||
xv? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXxf86vm
|
||||
)
|
||||
dga? ( x11-libs/libXxf86dga )
|
||||
alsa? ( media-libs/alsa-lib )"
|
||||
DEPEND="${RDEPEND}
|
||||
cdinstall? ( games-fps/quake1-data )
|
||||
sys-devel/bison
|
||||
sys-devel/flex"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-gentoo.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local debugopts
|
||||
use debug \
|
||||
&& debugopts="--enable-debug --disable-optimize --enable-profile" \
|
||||
|| debugopts="--disable-debug --disable-profile"
|
||||
|
||||
local clients=${QF_CLIENTS}
|
||||
use fbcon && clients="${clients},fbdev"
|
||||
use opengl && clients="${clients},glx"
|
||||
use sdl && clients="${clients},sdl,sdl32"
|
||||
use sdl && use opengl && clients="${clients},sgl"
|
||||
use svga && clients="${clients},svga"
|
||||
use X && clients="${clients},x11"
|
||||
use X && use opengl && clients="${clients},wgl"
|
||||
[ "${clients:0:1}" == "," ] && clients=${clients:1}
|
||||
|
||||
local servers=${QF_SERVERS:-master,nq,qw,qtv}
|
||||
|
||||
local tools=${QF_TOOLS:-all}
|
||||
|
||||
local svgaconf # use old school way for broken conf opts
|
||||
use svga \
|
||||
&& svgaconf="--with-svga=/usr" \
|
||||
|| svgaconf="--without-svga"
|
||||
|
||||
addpredict "$(games_get_libdir)"
|
||||
egamesconf \
|
||||
$(use_enable ncurses curses) \
|
||||
$(use_enable vorbis) \
|
||||
$(use_enable png) \
|
||||
$(use_enable zlib) \
|
||||
$(use_with ipv6) \
|
||||
$(use_with fbcon fbdev) \
|
||||
${svgaconf} \
|
||||
$(use_with X x) \
|
||||
$(use_enable xv vidmode) \
|
||||
$(use_enable dga) \
|
||||
$(use_enable sdl) \
|
||||
--disable-xmms \
|
||||
$(use_enable alsa) \
|
||||
$(use_enable flac) \
|
||||
$(use_enable oss) \
|
||||
--enable-sound \
|
||||
--disable-optimize \
|
||||
${debugopts} \
|
||||
--with-global-cfg="${GAMES_SYSCONFDIR}"/quakeforge.conf \
|
||||
--with-sharepath="${GAMES_DATADIR}"/quake1 \
|
||||
--with-clients=${clients} \
|
||||
--with-servers=${servers} \
|
||||
--with-tools=${tools}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
mv "${D}/${GAMES_PREFIX}"/include "${D}"/usr/
|
||||
dodoc ChangeLog NEWS TODO
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# same warning used in quake1 / quakeforge / nprquake-sdl
|
||||
games_pkg_postinst
|
||||
echo
|
||||
elog "Before you can play, you must make sure"
|
||||
elog "${PN} can find your Quake .pak files"
|
||||
elog
|
||||
elog "You have 2 choices to do this"
|
||||
elog "1 Copy pak*.pak files to ${GAMES_DATADIR}/quake1/id1"
|
||||
elog "2 Symlink pak*.pak files in ${GAMES_DATADIR}/quake1/id1"
|
||||
elog
|
||||
elog "Example:"
|
||||
elog "my pak*.pak files are in /mnt/secondary/Games/Quake/Id1/"
|
||||
elog "ln -s /mnt/secondary/Games/Quake/Id1/pak0.pak ${GAMES_DATADIR}/quake1/id1/pak0.pak"
|
||||
elog
|
||||
elog "You only need pak0.pak to play the demo version,"
|
||||
elog "the others are needed for registered version"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST dconf-0.10.0.tar.xz 172752 SHA256 9f744ccfb3da20163a4bb27916c960f6bf56048b3ec1112862c85414fc064ee2 SHA512 a4b784e26c3061744f810cc992b17538aa497de2682d1323b8cd3f8975ad26f0eaed97d5303738e40d5e35a1d39c99e509e2a8f9c08c77539e62220989d0b870 WHIRLPOOL 4cf38b8e0c308c28c4c34d5504bb3f832e95310dce543682a70051a73a6429fbbf24dca72e6670981da0472a28a5ef6782950952da42b6652eb78a68925f8431
|
||||
DIST dconf-0.12.1.tar.xz 202112 SHA256 3cd32b78d88ed7be90dace5d45e2cf8a6abdb253d43dbfa5ef52103b329dc214 SHA512 40206275d5d096dc229d8f12990e437aad8bce43d071300637ed642303eac9ae245d589aee4732a8c55711c41f5653ef2a7ceb80726ede8b8502b5de48003285 WHIRLPOOL 3b509c891802d8a293dd2588b08b6cfe90525d92c5b257a924586a002c70f47e6db316a328adae5ab44e5825cc267a7e71d87609ca4335d10500dd93d75ea7c9
|
||||
DIST dconf-0.14.0.tar.xz 288872 SHA256 9ae848bf25c3de0fb8c0157679630ddf39be1c10ed2f3beb2b8f0165d768da33 SHA512 e062b6307bce23206b3bd7c4fd9c839ad1b5a9d5da0aaec0ff5523b8b62eed19bb5e551dbea0f6ee1e6762cf0d00812bde89d86be426205ce7698b422520fb4d WHIRLPOOL 2f3e077e532bcce4b5a179f1a6d32f931c4d57e507a54c129d03f791c0d5dd32c8f986d4bc7b7dcf9d3ae7493202b487a9e3442dc703abd3c03c29c4422de04a
|
||||
DIST dconf-0.14.1.tar.xz 291300 SHA256 59c58c5eafa0ebd616287d078f4441d5342870a44634445d324e88fc0287f0b8 SHA512 110e1fe8ac986d61491f10c25ccfb687d914cbbacad70a0c6918bd07d32a19058050267e677626cb2dbc26928923f49b0495e0cf1eeeb210537f42b6936eed5f WHIRLPOOL 6d09a2f6011b1ed16a5373c68fd4f05a8dd5776448db1ff4f4e4193debb195727a940375292f82908166520fe8fd275f9ec2c4415ef292cd76bdf5ece4ab6c08
|
||||
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-base/dconf/dconf-0.14.1.ebuild,v 1.1 2012/11/21 23:13:39 eva Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit gnome2 bash-completion-r1 virtualx
|
||||
|
||||
DESCRIPTION="Simple low-level configuration system"
|
||||
HOMEPAGE="http://live.gnome.org/dconf"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
# TODO: coverage ?
|
||||
IUSE="test +X"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.33.3:2
|
||||
sys-apps/dbus
|
||||
X? (
|
||||
>=dev-libs/libxml2-2.7.7:2
|
||||
x11-libs/gtk+:3 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/libxslt
|
||||
>=dev-util/gtk-doc-am-1.15
|
||||
>=dev-util/intltool-0.50
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
G2CONF="${G2CONF}
|
||||
--disable-gcov
|
||||
$(use_enable X editor)
|
||||
VALAC=$(type -P valac-0.18)" # harmless even if valac-0.18 not found
|
||||
gnome2_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
Xemake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
# GSettings backend may be one of: memory, gconf, dconf
|
||||
# Only dconf is really considered functional by upstream
|
||||
# must have it enabled over gconf if both are installed
|
||||
echo 'CONFIG_PROTECT_MASK="/etc/dconf"' >> 51dconf
|
||||
echo 'GSETTINGS_BACKEND="dconf"' >> 51dconf
|
||||
doenvd 51dconf
|
||||
|
||||
# Install bash-completion file properly to the system
|
||||
rm -rv "${ED}usr/share/bash-completion" || die
|
||||
dobashcomp "${S}/bin/completion/dconf"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
# Kill existing dconf-service processes as recommended by upstream due to
|
||||
# possible changes in the dconf private dbus API.
|
||||
# dconf-service will be dbus-activated on next use.
|
||||
pids=$(pgrep -x dconf-service)
|
||||
if [[ $? == 0 ]]; then
|
||||
ebegin "Stopping dconf-service; it will automatically restart on demand"
|
||||
kill ${pids}
|
||||
eend $?
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST tracker-0.12.10.tar.xz 6220648 SHA256 42722831fdde63cfa07e4f0bb75805425c09b1f1801d3d5280de8be37a357b69 SHA512 53b50847229190e9510e4fc37deadf94f6a478c32b7548a457fe6597433bf7ac9f5bc2470641fe4b665b92c989b1d5b6e9917f7e1903b93c32830f0b2efa8f6f WHIRLPOOL 707b290232a9c3b0b7825628c32130b77afd24915bc18eb77c517b6775d58379f94f4f8efb52bd53637fb66374f426f7a01c47986e951123ff0ff8af874fd870
|
||||
DIST tracker-0.14.2.tar.xz 5985464 SHA256 9b59330aa2e9e09feee587ded895e9247f71fc25f46b023d616d9969314bc7f1 SHA512 204749a915e6e9af7057a0de7f8b5c317a56899dd5a9ca05c029ab1a3b47c42e54b3a86eb53c31fa21ad50abebed2b3a4e99008aac6cc23cb3bc9f7faa6504ff WHIRLPOOL 431a2b06e6906269795fd05e10bac912ffcc8d1ee0e5c394e178c5c12197ed6a05ec6ba939cf21946be0a17b84717405ad8b8be3d052b3f82c4d58999308cb07
|
||||
DIST tracker-0.14.3.tar.xz 6120108 SHA256 7c1ecf3705ecbd2a0278d04277cd1bd8c89d5838913de922fef32321ce67abe4 SHA512 c4c30ffc7879069c5487773e7a905b2b4bff811160318f0c46550ef27fa70b23d481234e62059900f8101e2ce19b3c52ee08f65020d98168c0ec31ca263c8663 WHIRLPOOL e8bf48887c0a6cb43accf399b14d6b6e8221bf261c035572791ef56ff8782d57f675e18b60bc9411f201c0311ab58503f5154fe296235cd262e63b9d338580ad
|
||||
DIST tracker-0.14.4.tar.xz 5946796 SHA256 b818ee42b9007a94b2f8046edc4706bb2036187d5fd304e7ae23e5d2fcf85918 SHA512 e9d6d28276dc7f9930f0e8801fa3b3ea2a30ced0979309418ff5a36d7417ab85fb4d2c246032cad88ea63a4716b301db95a0046bd17eb1849e8a9a7edc464103 WHIRLPOOL 82aebbd0596c931867c65612672af52a510da202c881b2e1fdaa9a07136f8bef2840c2d0a6546ba0e6a53c9e61c973925dbc917ba5d8ec3b385f0656a34b926a
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nautilus-tracker-tags/nautilus-tracker-tags-0.14.4.ebuild,v 1.1 2012/11/21 23:09:34 eva Exp $
|
||||
|
||||
EAPI="4"
|
||||
GNOME_ORG_MODULE="tracker"
|
||||
GNOME_TARBALL_SUFFIX="xz"
|
||||
|
||||
inherit gnome.org toolchain-funcs
|
||||
|
||||
DESCRIPTION="Nautilus extension to tag files for Tracker"
|
||||
HOMEPAGE="http://www.tracker-project.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND=">=app-misc/tracker-${PV}
|
||||
>=dev-libs/glib-2.28:2
|
||||
>=gnome-base/nautilus-2.90
|
||||
x11-libs/gtk+:3"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<app-misc/tracker-0.12.5-r1[nautilus]"
|
||||
# Before tracker-0.12.5-r1, nautilus-tracker-tags was part of tracker
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
|
||||
S="${S}/src/plugins/nautilus"
|
||||
|
||||
pkg_setup() {
|
||||
tc-export CC
|
||||
export TRACKER_API=${GNOME_ORG_PVP}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cp "${FILESDIR}/0.12.5-Makefile" Makefile || die "cp failed"
|
||||
# config.h is not used, but is included in every source file...
|
||||
sed -e 's:#include "config.h"::' -i *.c *.h || die "sed failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-client/roundcube/roundcube-0.8.4.ebuild,v 1.1 2012/11/21 22:32:38 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit webapp
|
||||
|
||||
MY_PN="${PN}mail"
|
||||
MY_P="${MY_PN}-${PV/_/-}"
|
||||
DESCRIPTION="A browser-based multilingual IMAP client with an application-like user interface"
|
||||
HOMEPAGE="http://roundcube.net"
|
||||
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
# roundcube is GPL-licensed, the rest of the licenses here are
|
||||
# for bundled PEAR components, googiespell and utf8.class.php
|
||||
LICENSE="GPL-3 BSD PHP-2.02 PHP-3 MIT public-domain"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="ldap +mysql postgres ssl spell"
|
||||
|
||||
RDEPEND="virtual/httpd-php
|
||||
>=dev-lang/php-5.3[crypt,gd,iconv,json,ldap?,postgres?,session,sockets,ssl?,xml,unicode]
|
||||
mysql? (
|
||||
|| ( dev-lang/php[mysql] dev-lang/php[mysqli] )
|
||||
|| ( dev-php/PEAR-MDB2_Driver_mysql dev-php/PEAR-MDB2_Driver_mysqli )
|
||||
)
|
||||
postgres? ( dev-php/PEAR-MDB2_Driver_pgsql )
|
||||
spell? ( dev-lang/php[curl,spell] )
|
||||
>=dev-php/PEAR-MDB2-2.5.0_beta3
|
||||
>=dev-php/PEAR-Mail_Mime-1.8.1
|
||||
>=dev-php/PEAR-Net_SMTP-1.4.2
|
||||
>=dev-php/PEAR-Net_IDNA2-0.1.1
|
||||
>=dev-php/PEAR-Auth_SASL-1.0.3"
|
||||
|
||||
need_httpd_cgi
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
cp config/db.inc.php{.dist,} || die
|
||||
cp config/main.inc.php{.dist,} || die
|
||||
|
||||
# Remove bundled PEAR packages
|
||||
rm -r program/lib/{Auth,Mail,MDB2*,Net,PEAR*} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
dodoc CHANGELOG INSTALL README.md UPGRADING
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r [[:lower:]]* SQL
|
||||
doins .htaccess
|
||||
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/logs
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/temp
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR}"/config/{db,main}.inc.php
|
||||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en-0.6.txt
|
||||
webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en-0.6.txt
|
||||
webapp_postupgrade_txt en UPGRADING
|
||||
webapp_src_install
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST libilbc-1.1.1.tar.xz 302324 SHA256 c52a3f46cf5671ac67494371e78281fa72c87a1af1fd8b8e1731693b6541be87 SHA512 7c9fa6da4d8b32fd49ea62f9e876e385930501c9caedcafac94ea74b9372722b06dd28062dc4fcca765ad6c519cfb52bb595d396ca50d361f563c715f6679845 WHIRLPOOL 120a041823e58d0db3d05549491c00e1b74340f2eefd51f2903f29aacefbbbc94f12cc821451e772c7434ea21fc86ff0c5f8ff15a26e732d1e698d2e7ef44c0a
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libilbc/libilbc-1.1.1.ebuild,v 1.2 2012/11/22 01:17:41 lu_zero Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
SCM="autotools git-2"
|
||||
EGIT_REPO_URI="git://github.com/lu-zero/libilbc.git"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://dev.gentoo.org/~lu_zero/${PN}/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
inherit eutils multilib ${SCM}
|
||||
|
||||
DESCRIPTION="Packaged version of iLBC codec from the WebRTC project"
|
||||
HOMEPAGE="https://github.com/dekkers/libilbc"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
[[ ${PV} == *9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
find "${D}"usr/$(get_libdir) -name '*.la' -delete
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libilbc/libilbc-9999.ebuild,v 1.2 2012/11/22 01:17:41 lu_zero Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
SCM="autotools git-2"
|
||||
EGIT_REPO_URI="git://github.com/lu-zero/libilbc.git"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://dev.gentoo.org/~lu_zero/${PN}/${P}.tar.xz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
inherit eutils multilib ${SCM}
|
||||
|
||||
DESCRIPTION="Packaged version of iLBC codec from the WebRTC project"
|
||||
HOMEPAGE="https://github.com/dekkers/libilbc"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
[[ ${PV} == *9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
find "${D}"usr/$(get_libdir) -name '*.la' -delete
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>sound</herd>
|
||||
<longdescription lang="en">iLBC BSD implementation from WebRTC</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,13 @@
|
||||
--- /home/mad/ardour-2.8.14/SConstruct 2012-11-21 00:30:54.000000000 +0100
|
||||
+++ SConstruct 2012-11-21 17:34:02.000000000 +0100
|
||||
@@ -955,7 +961,9 @@
|
||||
# FLAC ....
|
||||
#
|
||||
|
||||
-# boost (we don't link against boost, just use some header files)
|
||||
+# boost (we need to link against boost with >=1.50. header files alone will not work anymore)
|
||||
+
|
||||
+env.Append(LIBS=['boost_system'])
|
||||
|
||||
libraries['boost'] = LibraryInfo ()
|
||||
prep_libcheck(env, libraries['boost'])
|
@ -0,0 +1 @@
|
||||
DIST marrie-0.3.tar.gz 7565 SHA256 ec83a3ee9ececd94f4751d73f48b65241f290a1c0b665512c572542f9a0f6383 SHA512 3e90158b567c728a434dcd4965f7928dd704c8caca7e80b3f654b1156266e7af817a5aa9e10f01ab247acf505828b43a033cd84c698a817b9f203528b6f3037e WHIRLPOOL 8a7aed287a779c010de42e413b3de97c51be95dbe659fb9a2892eb858c944f4603885eaca6e38e4274da6e90e144cbd54da7c5e790c8e01120a8bf61cfec575c
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/marrie/marrie-0.3.ebuild,v 1.1 2012/11/22 04:39:08 rafaelmartins Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_COMPAT=(python2_7)
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A simple podcast client that runs on the Command Line Interface"
|
||||
HOMEPAGE="http://projects.rafaelmartins.eng.br/marrie/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/python-argparse
|
||||
dev-python/feedparser"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/docutils"
|
||||
|
||||
DOCS_HTML=(README.html)
|
||||
|
||||
src_compile() {
|
||||
rst2html.py README.rst README.html
|
||||
distutils-r1_src_compile
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue