parent
42d5f87a9f
commit
2adf35a8ab
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/dpkg-1.16.6.ebuild,v 1.1 2012/07/02 10:47:56 jer Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils multilib autotools toolchain-funcs
|
||||
|
||||
DESCRIPTION="Package maintenance system for Debian"
|
||||
HOMEPAGE="http://packages.qa.debian.org/dpkg"
|
||||
SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="bzip2 dselect nls test unicode zlib"
|
||||
|
||||
LANGS="
|
||||
ast bs ca cs da de dz el eo es et eu fr gl hu id it ja km ko ku lt mr nb ne
|
||||
nl nn pa pl pt_BR pt ro ru sk sv th tl vi zh_CN zh_TW
|
||||
"
|
||||
|
||||
for X in ${LANGS} ; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
RDEPEND=">=dev-lang/perl-5.6.0
|
||||
dev-perl/TimeDate
|
||||
>=sys-libs/ncurses-5.2-r7
|
||||
zlib? ( >=sys-libs/zlib-1.1.4 )
|
||||
bzip2? ( app-arch/bzip2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
nls? ( app-text/po4a )
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
dev-perl/DateTime-Format-DateParse
|
||||
dev-perl/IO-String
|
||||
dev-perl/Test-Pod
|
||||
)"
|
||||
REQUIRED_USE="dselect? ( nls )"
|
||||
|
||||
src_prepare() {
|
||||
# do not expect Debian's gzip --rsyncable extension
|
||||
epatch "${FILESDIR}"/${PN}-1.16.4.2-gzip-rsyncable.patch
|
||||
|
||||
# Force the use of the running bash for get-version (this file is never
|
||||
# installed, so no need to worry about hardcoding a temporary bash)
|
||||
sed -i -e '1c\#!'"${BASH}" get-version || die
|
||||
|
||||
# this test depends on a Debian only gzip extension that adds --rsyncable
|
||||
# which will therefore always fail on Gentoo. (bug #310847).
|
||||
sed -i scripts/Makefile.am \
|
||||
-e '/850_Dpkg_Compression.t/d' \
|
||||
|| die "sed failed"
|
||||
|
||||
# test fails (bug #414095)
|
||||
sed -i utils/Makefile.am \
|
||||
-e '/^test_cases/d;/100_update_alternatives/d' || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
econf \
|
||||
${myconf} \
|
||||
$(use_enable dselect) \
|
||||
$(use_enable unicode) \
|
||||
$(use_with bzip2 bz2) \
|
||||
$(use_with zlib) \
|
||||
--disable-compiler-warnings \
|
||||
--disable-compiler-optimisations \
|
||||
--disable-linker-optimisations \
|
||||
--without-selinux \
|
||||
--disable-start-stop-daemon
|
||||
}
|
||||
|
||||
src_install() {
|
||||
strip-linguas ${LANGS}
|
||||
if [ -z "${LINGUAS}" ] ; then
|
||||
LINGUAS=none
|
||||
fi
|
||||
|
||||
emake DESTDIR="${D}" LINGUAS="${LINGUAS}" install || die "emake install failed"
|
||||
rm "${ED}"/usr/sbin/install-info || die "rm install-info failed"
|
||||
dodoc ChangeLog THANKS TODO
|
||||
keepdir /usr/$(get_libdir)/db/methods/{mnt,floppy,disk}
|
||||
keepdir /usr/$(get_libdir)/db/{alternatives,info,methods,parts,updates}
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST iozone3_242.tar 1443840 RMD160 af5ef30b8270f79845b0f4b951258ddccd76c781 SHA1 d68163341864d6dc8ca870fd21201cfff6db211a SHA256 811bb987398b1644d161d7dd2d8459fddd3c9eef5648f8b5c8f0c0e511ab8a0c
|
||||
DIST iozone3_338.tar 1597440 RMD160 4b04e9f568604f35f4bd1ad50881ee553168fe5e SHA1 8f7ab4afcec0b4d8acc25721a7d6f802bf7827ec SHA256 aad2315205c1503ee745ef975826b1da9f44103aa4e3c35396bbbf8ba33282fd
|
||||
DIST iozone3_397.tar 1679360 RMD160 b87e1732206eae0762d1e6bd552b33af8bdc045a SHA1 6095a38542286376f6eb2a203f253dc4c31ddeda SHA256 213d8dcc6f70ca93a903b5fbb92cf758fd25617db4c65d188d29594f12b30d30
|
||||
DIST iozone3_408.tar 1822720 RMD160 c9caa3f02f0404d3b4a3a7c7fad040439bfff8f1 SHA1 3dc56a251949151d12fc033f179cb6852abc71de SHA256 2112f8a125df8c627760ee2d6d2bd68617ca18e5a312da74175747f225b3fdf5
|
||||
|
@ -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/app-benchmarks/iozone/iozone-3.408.ebuild,v 1.1 2012/07/03 03:54:31 patrick Exp $
|
||||
|
||||
# TODO
|
||||
# -> linux-arm (32bit) <-
|
||||
# -> linux-AMD64 (64bit) <-
|
||||
# -> linux-ia64 (64bit) <-
|
||||
# -> linux-powerpc (32bit) <-
|
||||
# -> linux-powerpc64 (64bit) <-
|
||||
# -> linux-S390 (32bit) <-
|
||||
# -> linux-S390X (64bit) <-
|
||||
#
|
||||
# -> freebsd (32bit) <-
|
||||
# -> macosx (32bit) <-
|
||||
# -> netbsd (32bit) <-
|
||||
# -> openbsd (32bit) <-
|
||||
# -> openbsd-threads (32bit) <-
|
||||
#
|
||||
# ~ia64 ~s390 alpha(?) x86-fbsd
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Filesystem benchmarking program"
|
||||
HOMEPAGE="http://www.iozone.org/"
|
||||
SRC_URI="http://www.iozone.org/src/current/${PN}${PV/./_}.tar"
|
||||
|
||||
LICENSE="freedist"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${PN}${PV/./_}
|
||||
|
||||
src_compile() {
|
||||
cd src/current
|
||||
|
||||
# Options FIX
|
||||
sed -i -e "s:CC =.*:CC =$(tc-getCC):g" \
|
||||
-e "s:-O3:${CFLAGS}:g" makefile
|
||||
|
||||
case ${ARCH} in
|
||||
x86|alpha) PLATFORM="linux";;
|
||||
arm) PLATFORM="linux-arm";;
|
||||
ppc) PLATFORM="linux-powerpc";;
|
||||
ppc64) PLATFORM="linux-powerpc64";;
|
||||
amd64) PLATFORM="linux-AMD64";;
|
||||
ia64) PLATFORM="linux-ia64";;
|
||||
s390) PLATFORM="linux-S390";;
|
||||
x86-fbsd) PLATFORM="freebsd";;
|
||||
*) PLATFORM="linux-${ARCH}";;
|
||||
esac
|
||||
|
||||
emake ${PLATFORM} || die "Compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin src/current/iozone
|
||||
dodoc docs/I*
|
||||
dodoc docs/Run_rules.doc
|
||||
dodoc src/current/Changes.txt
|
||||
doman docs/iozone.1
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
cd src/current
|
||||
doins Generate_Graphs Gnuplot.txt gengnuplot.sh gnu3d.dem
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${T}"
|
||||
"${S}"/src/current/iozone testfile || die "self test failed"
|
||||
}
|
@ -0,0 +1,376 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.9.13.ebuild,v 1.1 2012/07/02 18:03:49 cardoe Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
#BACKPORTS=1
|
||||
#AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
PYTHON_DEPEND="python? 2:2.5"
|
||||
#RESTRICT_PYTHON_ABIS="3.*"
|
||||
#SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit eutils python user autotools linux-info
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
|
||||
AUTOTOOLIZE=yes
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
|
||||
ftp://libvirt.org/libvirt/${MY_P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-bp-${BACKPORTS}.tar.bz2}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="audit avahi +caps debug iscsi +libvirtd lvm +lxc +macvtap nfs \
|
||||
nls numa openvz parted pcap phyp policykit python qemu sasl selinux +udev \
|
||||
uml +vepa virtualbox virt-network xen elibc_glibc"
|
||||
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
qemu? ( libvirtd )
|
||||
uml? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||
# package will use 1.1 by default
|
||||
RDEPEND="sys-libs/readline
|
||||
sys-libs/ncurses
|
||||
>=net-misc/curl-7.18.0
|
||||
dev-libs/libgcrypt
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
dev-libs/libnl:1.1
|
||||
>=net-libs/gnutls-1.0.25
|
||||
sys-apps/dmidecode
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
>=net-analyzer/netcat6-1.0-r2
|
||||
app-misc/scrub
|
||||
audit? ( sys-process/audit )
|
||||
avahi? ( >=net-dns/avahi-0.6[dbus] )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
lxc? ( sys-power/pm-utils )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? (
|
||||
>sys-process/numactl-2.0.2
|
||||
sys-process/numad
|
||||
)
|
||||
openvz? ( sys-kernel/openvz-sources )
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
phyp? ( net-libs/libssh2 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
qemu? (
|
||||
|| ( app-emulation/qemu-kvm >=app-emulation/qemu-0.10.0 )
|
||||
dev-libs/yajl
|
||||
sys-power/pm-utils
|
||||
)
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
xen? ( app-emulation/xen-tools app-emulation/xen )
|
||||
udev? ( >=sys-fs/udev-145 >=x11-libs/libpciaccess-0.10.9 )
|
||||
virt-network? ( net-dns/dnsmasq
|
||||
>=net-firewall/iptables-1.4.10
|
||||
net-firewall/ebtables
|
||||
sys-apps/iproute2[-minimal] )
|
||||
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
|
||||
# one? ( dev-libs/xmlrpc-c )
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
app-text/xhtml1
|
||||
=dev-lang/python-2*"
|
||||
|
||||
LXC_CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_DEVICE
|
||||
~CPUSETS
|
||||
~CGROUP_CPUACCT
|
||||
~RESOURCE_COUNTERS
|
||||
~CGROUP_MEM_RES_CTLR
|
||||
~CGROUP_SCHED
|
||||
~BLK_CGROUP
|
||||
~NAMESPACES
|
||||
~UTS_NS
|
||||
~IPC_NS
|
||||
~USER_NS
|
||||
~PID_NS
|
||||
~NET_NS
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~VETH
|
||||
~MACVLAN
|
||||
~POSIX_MQUEUE
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
"
|
||||
|
||||
VIRTNET_CONFIG_CHECK="
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_TARGET_CHECKSUM
|
||||
"
|
||||
|
||||
MACVTAP_CONFIG_CHECK="~MACVTAP"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
enewgroup qemu 77
|
||||
enewuser qemu 77 -1 -1 qemu kvm
|
||||
|
||||
CONFIG_CHECK=""
|
||||
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
|
||||
use macvtap && CONFIG_CHECK+="${MACVTAP}"
|
||||
use virt-network && CONFIG_CHECK+="${VIRTNET_CONFIG_CHECK}"
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
|
||||
# git checkouts require bootstrapping to create the configure script.
|
||||
# Additionally the submodules must be cloned to the right locations
|
||||
# bug #377279
|
||||
./bootstrap || die "bootstrap failed"
|
||||
(
|
||||
git submodule status | sed 's/^[ +-]//;s/ .*//'
|
||||
git hash-object bootstrap.conf
|
||||
) >.git-module-status
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
|
||||
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
myconf="${myconf} $(use_enable debug)"
|
||||
|
||||
## enable/disable daemon, otherwise client only utils
|
||||
myconf="${myconf} $(use_with libvirtd)"
|
||||
|
||||
## enable/disable the daemon using avahi to find VMs
|
||||
myconf="${myconf} $(use_with avahi)"
|
||||
|
||||
## hypervisors on the local host
|
||||
myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
|
||||
# leave it automagic as it depends on the version of xen used.
|
||||
use xen || myconf+=" --without-libxl"
|
||||
use xen || myconf+=" --without-xenapi"
|
||||
myconf="${myconf} $(use_with openvz)"
|
||||
myconf="${myconf} $(use_with lxc)"
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
|
||||
else
|
||||
myconf="${myconf} $(use_with virtualbox vbox)"
|
||||
fi
|
||||
myconf="${myconf} $(use_with uml)"
|
||||
myconf="${myconf} $(use_with qemu)"
|
||||
myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
|
||||
myconf="${myconf} $(use_with phyp)"
|
||||
myconf="${myconf} --with-esx"
|
||||
myconf="${myconf} --with-vmware"
|
||||
|
||||
## additional host drivers
|
||||
myconf="${myconf} $(use_with virt-network network)"
|
||||
myconf="${myconf} --with-storage-fs"
|
||||
myconf="${myconf} $(use_with lvm storage-lvm)"
|
||||
myconf="${myconf} $(use_with iscsi storage-iscsi)"
|
||||
myconf="${myconf} $(use_with parted storage-disk)"
|
||||
myconf="${myconf} $(use_with lvm storage-mpath)"
|
||||
myconf="${myconf} --without-storage-rbd"
|
||||
myconf="${myconf} $(use_with numa numactl)"
|
||||
myconf="${myconf} $(use_with numa numad)"
|
||||
myconf="${myconf} $(use_with selinux)"
|
||||
|
||||
# udev for device support details
|
||||
myconf="${myconf} $(use_with udev)"
|
||||
|
||||
# linux capability support so we don't need privileged accounts
|
||||
myconf="${myconf} $(use_with caps capng)"
|
||||
|
||||
## auth stuff
|
||||
myconf="${myconf} $(use_with policykit polkit)"
|
||||
myconf="${myconf} $(use_with sasl)"
|
||||
|
||||
# network bits
|
||||
myconf="${myconf} $(use_with macvtap)"
|
||||
myconf="${myconf} $(use_with pcap libpcap)"
|
||||
myconf="${myconf} $(use_with vepa virtualport)"
|
||||
|
||||
## other
|
||||
myconf="${myconf} $(use_enable nls)"
|
||||
myconf="${myconf} $(use_with python)"
|
||||
|
||||
# user privilege bits fir qemu/kvm
|
||||
if use caps; then
|
||||
myconf="${myconf} --with-qemu-user=qemu"
|
||||
myconf="${myconf} --with-qemu-group=qemu"
|
||||
else
|
||||
myconf="${myconf} --with-qemu-user=root"
|
||||
myconf="${myconf} --with-qemu-group=root"
|
||||
fi
|
||||
|
||||
# audit support
|
||||
myconf="${myconf} $(use_with audit)"
|
||||
|
||||
## stuff we don't yet support
|
||||
myconf="${myconf} --without-netcf"
|
||||
|
||||
# we use udev over hal
|
||||
myconf="${myconf} --without-hal"
|
||||
|
||||
# locking support
|
||||
myconf="${myconf} --without-sanlock"
|
||||
|
||||
# this is a nasty trick to work around the problem in bug
|
||||
# #275073. The reason why we don't solve this properly is that
|
||||
# it'll require us to rebuild autotools (and we don't really want
|
||||
# to do that right now). The proper solution has been sent
|
||||
# upstream and should hopefully land in 0.7.7, in the mean time,
|
||||
# mime the same functionality with this.
|
||||
case ${CHOST} in
|
||||
*cygwin* | *mingw* )
|
||||
;;
|
||||
*)
|
||||
ac_cv_prog_WINDRES=no
|
||||
;;
|
||||
esac
|
||||
|
||||
econf \
|
||||
${myconf} \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-remote \
|
||||
--localstatedir=/var
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Restore gnulib's config.sub and config.guess
|
||||
# bug #377279
|
||||
(cd .gnulib && git reset --hard > /dev/null)
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Explicitly allow parallel build of tests
|
||||
HOME="${T}" emake check || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install \
|
||||
DESTDIR="${D}" \
|
||||
HTML_DIR=/usr/share/doc/${PF}/html \
|
||||
DOCS_DIR=/usr/share/doc/${PF}/python \
|
||||
EXAMPLE_DIR=/usr/share/doc/${PF}/python/examples \
|
||||
|| die "emake install failed"
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
newinitd "${FILESDIR}/libvirtd.init-r8" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r3" libvirtd || die
|
||||
|
||||
keepdir /var/lib/libvirt/images
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# we only ever want to generate this once
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# We really don't want to use or support old PolicyKit cause it
|
||||
# screws with the new polkit integration
|
||||
if has_version sys-auth/policykit; then
|
||||
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
|
||||
fi
|
||||
|
||||
# Only sysctl files ending in .conf work
|
||||
mv "${D}"/etc/sysctl.d/libvirtd "${D}"/etc/sysctl.d/libvirtd.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use python && python_mod_optimize libvirt.py
|
||||
|
||||
# support for dropped privileges
|
||||
if use qemu; then
|
||||
fperms 0750 "${EROOT}/var/lib/libvirt/qemu"
|
||||
fperms 0750 "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if use caps && use qemu; then
|
||||
fowners -R qemu:qemu "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R qemu:qemu "${EROOT}/var/cache/libvirt/qemu"
|
||||
elif use qemu; then
|
||||
fowners -R root:root "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R root:root "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if ! use policykit; then
|
||||
elog "To allow normal users to connect to libvirtd you must change the"
|
||||
elog "unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
elog
|
||||
elog "For the basic networking support (bridged and routed networks)"
|
||||
elog "you don't need any extra software. For more complex network modes"
|
||||
elog "including but not limited to NATed network, you can enable the"
|
||||
elog "'virt-network' USE flag."
|
||||
elog
|
||||
if has_version net-dns/dnsmasq; then
|
||||
ewarn "If you have a DNS server setup on your machine, you will have"
|
||||
ewarn "to configure /etc/dnsmasq.conf to enable the following settings: "
|
||||
ewarn " bind-interfaces"
|
||||
ewarn " interface or except-interface"
|
||||
ewarn
|
||||
ewarn "Otherwise you might have issues with your existing DNS server."
|
||||
fi
|
||||
|
||||
if use caps && use qemu; then
|
||||
elog "libvirt will now start qemu/kvm VMs with non-root privileges."
|
||||
elog "Ensure any resources your VMs use are accessible by qemu:qemu"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use python && python_mod_cleanup libvirt.py
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST qemu-kvm-0.15.1.tar.gz 5915998 RMD160 dba914ca40d6c63e9f3abce409d7daee1d33323b SHA1 2716ddfc49d98fee67a1ff0de9b199d211e72bec SHA256 aed6a3faa76c1e9601b4b5b8adbe5867a70c64567175f44944d88e16bd49733e
|
||||
DIST qemu-kvm-1.0.1.tar.gz 6214796 RMD160 b6ad256b94f9c79ab4406019c90b776f30cfa1bf SHA1 4163eeb73f473dd272db6189f0da26ce2e78416a SHA256 57bcd26342af2303663028db9e9956a8b487babfcf2a432ac3351c88b8e2bf4f
|
||||
DIST qemu-kvm-1.0.tar.gz 6210473 RMD160 6503b6ec9c8d89b785d644f5c4b47b4716e2fab7 SHA1 c16be4924c30747d93d609b7909e9e9239150c9a SHA256 b711ead5a0a28bf43e7e51ce2082e37120a3527ab012c609bc30fb94d37e116e
|
||||
DIST qemu-kvm-1.1.0.tar.gz 6598841 RMD160 6c6ac068a3e095df2e32f1a6ba544df1406f6949 SHA1 a23f87c8bd449e6e1608031f1008b8f14ebc6dd4 SHA256 c32445f4610e324f0f5c34d00d055dd8b4154705968d59588efe60a8fd80ecbf
|
||||
|
@ -0,0 +1,371 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-1.1.0.ebuild,v 1.1 2012/07/03 01:20:35 cardoe Exp $
|
||||
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python user
|
||||
|
||||
#BACKPORTS=1
|
||||
|
||||
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/${PN}/${P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~flameeyes/${PN}/${P}-backports-${BACKPORTS}.tar.bz2
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${P}-backports-${BACKPORTS}.tar.bz2}"
|
||||
KEYWORDS=""
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
HOMEPAGE="http://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
# xen is disabled until the deps are fixed
|
||||
IUSE="+aio alsa bluetooth brltty +curl debug fdt ncurses \
|
||||
opengl pulseaudio qemu-ifup rbd sasl sdl smartcard spice static test
|
||||
+threads tls usbredir vde +vhost-net xattr xen"
|
||||
|
||||
COMMON_TARGETS="i386 x86_64 arm cris m68k microblaze mips mipsel ppc ppc64 sh4 sh4eb sparc sparc64"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} mips64 mips64el ppcemb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS} alpha armeb ppc64abi32 sparc32plus"
|
||||
|
||||
# Setup the default SoftMMU targets, while using the loops
|
||||
# below to setup the other targets. x86_64 should be the only
|
||||
# defaults on for qemu-kvm
|
||||
IUSE="${IUSE} +qemu_softmmu_targets_x86_64"
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS}; do
|
||||
if [ "x${target}" = "xx86_64" ]; then
|
||||
continue
|
||||
fi
|
||||
IUSE="${IUSE} qemu_softmmu_targets_${target}"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS}; do
|
||||
IUSE="${IUSE} qemu_user_targets_${target}"
|
||||
done
|
||||
|
||||
RDEPEND="
|
||||
!app-emulation/kqemu
|
||||
!app-emulation/qemu
|
||||
!app-emulation/qemu-user
|
||||
>=dev-libs/glib-2.0
|
||||
media-libs/libpng
|
||||
sys-apps/pciutils
|
||||
>=sys-apps/util-linux-2.16.0
|
||||
virtual/jpeg
|
||||
amd64? ( sys-apps/seabios
|
||||
sys-apps/vgabios )
|
||||
x86? ( sys-apps/seabios
|
||||
sys-apps/vgabios )
|
||||
aio? ( dev-libs/libaio )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
brltty? ( app-accessibility/brltty )
|
||||
curl? ( >=net-misc/curl-7.15.4 )
|
||||
fdt? ( >=sys-apps/dtc-1.2.0 )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
opengl? ( virtual/opengl )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
qemu-ifup? ( sys-apps/iproute2 net-misc/bridge-utils )
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
sdl? ( static? ( >=media-libs/libsdl-1.2.11[static-libs,X] )
|
||||
!static? ( >=media-libs/libsdl-1.2.11[X] ) )
|
||||
static? ( sys-libs/zlib[static-libs(+)] )
|
||||
!static? ( sys-libs/zlib )
|
||||
smartcard? ( dev-libs/nss )
|
||||
spice? ( >=app-emulation/spice-0.9.0
|
||||
>=app-emulation/spice-protocol-0.8.1 )
|
||||
tls? ( net-libs/gnutls )
|
||||
usbredir? ( sys-apps/usbredir )
|
||||
vde? ( net-misc/vde )
|
||||
xattr? ( sys-apps/attr )
|
||||
xen? ( app-emulation/xen-tools )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/texi2html
|
||||
virtual/pkgconfig
|
||||
>=sys-kernel/linux-headers-2.6.35
|
||||
test? ( dev-libs/check )"
|
||||
|
||||
STRIP_MASK="/usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_PRESTRIPPED="
|
||||
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 qemu_softmmu_targets_x86_64 && use amd64 ; then
|
||||
eerror "You disabled default target QEMU_SOFTMMU_TARGETS=x86_64"
|
||||
fi
|
||||
|
||||
if ! use qemu_softmmu_targets_x86_64 && use x86 ; then
|
||||
eerror "You disabled default target QEMU_SOFTMMU_TARGETS=x86_64"
|
||||
fi
|
||||
|
||||
if kernel_is lt 2 6 25; then
|
||||
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
|
||||
eerror "Either upgrade your kernel"
|
||||
else
|
||||
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 && CHECK_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
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
|
||||
enewgroup kvm 78
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# prevent docs to get automatically installed
|
||||
sed -i '/$(DESTDIR)$(docdir)/d' Makefile || die
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
# append CFLAGS while linking
|
||||
sed -i 's/$(LDFLAGS)/$(QEMU_CFLAGS) $(CFLAGS) $(LDFLAGS)/' rules.mak || die
|
||||
|
||||
# remove part to make udev happy
|
||||
sed -e 's~NAME="%k", ~~' -i kvm/scripts/65-kvm.rules || die
|
||||
|
||||
# ${PN}-guest-hang-on-usb-add.patch was sent by Timothy Jones
|
||||
# to the qemu-devel ml - bug 337988
|
||||
epatch "${FILESDIR}/qemu-0.11.0-mips64-user-fix.patch"
|
||||
|
||||
# Fix compilation of the qemu-system-ppc component
|
||||
epatch "${FILESDIR}"/${PN}-1.0-fix-qemu-system-ppc.patch
|
||||
|
||||
# drop '-g' by default as it tends to eat
|
||||
# A LOT (~2GB) of ram for each job #355861
|
||||
sed -e 's/CFLAGS="-g $CFLAGS"/CFLAGS="$CFLAGS"/g' \
|
||||
-i configure || die
|
||||
|
||||
# Quick fix for the bad version number
|
||||
epatch "${FILESDIR}"/${P}-VERSION.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
|
||||
|
||||
if [[ -z ${softmmu_targets} ]]; then
|
||||
eerror "All SoftMMU targets are disabled. This is invalid for qemu-kvm"
|
||||
die "At least 1 SoftMMU target must be enabled"
|
||||
else
|
||||
einfo "Building the following softmmu targets: ${softmmu_targets}"
|
||||
fi
|
||||
|
||||
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
|
||||
|
||||
# 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"
|
||||
|
||||
# Support debug USE flag
|
||||
use debug && conf_opts="${conf_opts} --enable-debug"
|
||||
|
||||
# audio options
|
||||
audio_opts="oss"
|
||||
use alsa && audio_opts="alsa ${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa ${audio_opts}"
|
||||
use sdl && audio_opts="sdl ${audio_opts}"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-darwin-user \
|
||||
--disable-bsd-user \
|
||||
--disable-libiscsi \
|
||||
--disable-strip \
|
||||
--disable-werror \
|
||||
--enable-kvm \
|
||||
--enable-kvm-device-assignment \
|
||||
--enable-kvm-pit \
|
||||
--enable-pie \
|
||||
--enable-nptl \
|
||||
--enable-tcg-interpreter \
|
||||
--enable-uuid \
|
||||
--enable-vnc-jpeg \
|
||||
--enable-vnc-png \
|
||||
--python=python2 \
|
||||
$(use_enable aio linux-aio) \
|
||||
$(use_enable bluetooth bluez) \
|
||||
$(use_enable brltty brlapi) \
|
||||
$(use_enable curl) \
|
||||
$(use_enable fdt) \
|
||||
$(use_enable ncurses curses) \
|
||||
$(use_enable opengl) \
|
||||
$(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 test check-utests) \
|
||||
$(use_enable tls vnc-tls) \
|
||||
$(use_enable threads vnc-thread) \
|
||||
$(use_enable usbredir usb-redir) \
|
||||
$(use_enable vde) \
|
||||
$(use_enable vhost-net) \
|
||||
$(use_enable xen) \
|
||||
$(use_enable xattr attr) \
|
||||
--audio-drv-list="${audio_opts}" \
|
||||
--target-list="${softmmu_targets} ${user_targets}" \
|
||||
--cc="$(tc-getCC)" \
|
||||
--host-cc="$(tc-getBUILD_CC)" \
|
||||
|| die "configure failed"
|
||||
|
||||
# this is for qemu upstream's threaded support which is
|
||||
# in development and broken
|
||||
# the kvm project has its own support for threaded IO
|
||||
# which is always on and works
|
||||
# --enable-io-thread \
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install || die "make install failed"
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
insinto /lib/udev/rules.d/
|
||||
doins kvm/scripts/65-kvm.rules || die
|
||||
|
||||
if use qemu-ifup; then
|
||||
insinto /etc/qemu/
|
||||
insopts -m0755
|
||||
doins kvm/scripts/qemu-ifup || die
|
||||
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 and /usr/bin/kvm"
|
||||
fi
|
||||
fi
|
||||
|
||||
dodoc Changelog MAINTAINERS TODO pci-ids.txt || die
|
||||
newdoc pc-bios/README README.pc-bios || die
|
||||
dohtml qemu-doc.html qemu-tech.html || die
|
||||
|
||||
# FIXME: Need to come up with a solution for non-x86 based systems
|
||||
if use x86 || use amd64; then
|
||||
# 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
|
||||
fi
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
use qemu-ifup && \
|
||||
ewarn "qemu-ifup is deprecated, be prepared for it to disappear next release"
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
From 7364a6fd55c46db5c5dbae6df6ac377d48919fa9 Mon Sep 17 00:00:00 2001
|
||||
From: Hub Figuiere <hub@figuiere.net>
|
||||
Date: Thu, 5 Jan 2012 21:19:49 -0800
|
||||
Subject: [PATCH] Fix missing header for Glib::signal_idle. Closes #667349
|
||||
|
||||
---
|
||||
src/notebuffer.cpp | 1 +
|
||||
1 files changed, 1 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/src/notebuffer.cpp b/src/notebuffer.cpp
|
||||
index 48bca2d..df223f3 100644
|
||||
--- a/src/notebuffer.cpp
|
||||
+++ b/src/notebuffer.cpp
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <algorithm>
|
||||
#include <tr1/array>
|
||||
|
||||
+#include <glibmm/main.h>
|
||||
|
||||
#include "debug.hpp"
|
||||
#include "notebuffer.hpp"
|
||||
--
|
||||
1.7.8.6
|
||||
|
@ -0,0 +1 @@
|
||||
DIST ttysnoop-0.12d.k26.tar.gz 9376 RMD160 fb6b1df0d5ebc7dac0a9960abf150336bc368de9 SHA1 a927bcab46aeced827f6411cd3e85e44cc0c50e1 SHA256 250d7027af95f49f7d081a42878bf13b393db8e4475120278bb5e2a820fb6249
|
@ -0,0 +1,41 @@
|
||||
--- ttysnoops.c 2009-08-13 17:11:30.705202250 +0400
|
||||
+++ ttysnoops.c 2009-08-13 17:17:29.989201055 +0400
|
||||
@@ -18,6 +18,7 @@
|
||||
v0.12d 8-4-98 Carl Declerck - updated #includes a bit
|
||||
k26 28-5-00 Vinicius Anselmo - added sound alert (demoniac) created by Stas
|
||||
k26 31-5-04 Vinicius Anselmo - updated for unix98 pty support
|
||||
+ k26 13-8-09 Pinkbyte - deleted fucking sound alert and "bye bye" message ;)
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -502,22 +503,6 @@
|
||||
struct utmp utmp;
|
||||
int ptyfd, servfd, len, n, sel, susp = 0;
|
||||
|
||||
- /* demoniac begin */
|
||||
-
|
||||
- StopHandle();
|
||||
-
|
||||
- if (InitSound()) /* play if we can */
|
||||
- {
|
||||
- DoSound(466, SLEN); // A#4
|
||||
- DoSound(622, SLEN); // D#5
|
||||
- DoSound(784, SLEN); // G5
|
||||
- DoSound(932, SLEN*2); // A#5
|
||||
- DoSound(784, SLEN); // G5
|
||||
- DoSound(932, SLEN*3); // A#5
|
||||
- }
|
||||
-
|
||||
- /* demoniac end */
|
||||
-
|
||||
if (!isatty(STDIN_FILENO))
|
||||
errorf ("stdin is not a tty\n");
|
||||
|
||||
@@ -660,7 +645,6 @@
|
||||
{
|
||||
if ((n = read(ptyfd, buff, BUFF_SIZE)) < 1)
|
||||
{
|
||||
- errorf ("bye bye\n");
|
||||
exit (0);
|
||||
}
|
||||
|
@ -0,0 +1,36 @@
|
||||
--- Makefile 2004-06-07 04:27:40.000000000 +0400
|
||||
+++ Makefile 2011-07-21 11:50:22.580167326 +0400
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
# For shadow support
|
||||
|
||||
-CCOPTS = -O2 -DSHADOW_PWD
|
||||
+CCOPTS = -DSHADOW_PWD
|
||||
LIBS = -lcrypt
|
||||
#LIBS = -lshadow
|
||||
|
||||
@@ -24,19 +24,19 @@
|
||||
all: ttysnoops ttysnoop
|
||||
|
||||
ttysnoops: $(SERVEROBJS)
|
||||
- $(CC) $(SERVEROBJS) -o ttysnoops $(LIBS)
|
||||
+ $(CC) $(SERVEROBJS) -o ttysnoops $(LIBS) $(LDFLAGS)
|
||||
|
||||
ttysnoop: $(CLIENTOBJS)
|
||||
- $(CC) $(CLIENTOBJS) -o ttysnoop $(LIBS)
|
||||
+ $(CC) $(CLIENTOBJS) -o ttysnoop $(LIBS) $(LDFALGS)
|
||||
|
||||
ttysnoops.o: $(SERVERSRCS) $(INCLUDES)
|
||||
- $(CC) $(CCOPTS) -c -o ttysnoops.o $(SERVERSRCS)
|
||||
+ $(CC) $(CCOPTS) $(CFLAGS) -c -o ttysnoops.o $(SERVERSRCS)
|
||||
|
||||
ttysnoop.o: $(CLIENTSRCS) $(INCLUDES)
|
||||
- $(CC) $(CCOPTS) -c -o ttysnoop.o $(CLIENTSRCS)
|
||||
+ $(CC) $(CCOPTS) $(CFLAGS) -c -o ttysnoop.o $(CLIENTSRCS)
|
||||
|
||||
common.o: common.c common.h
|
||||
- $(CC) $(CCOPTS) -c -o common.o common.c
|
||||
+ $(CC) $(CCOPTS) $(CFLAGS) -c -o common.o common.c
|
||||
|
||||
clean:
|
||||
rm -f *.o core ttysnoop ttysnoops
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>no-herd</herd>
|
||||
<maintainer>
|
||||
<email>maksbotan@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/ttysnoop/ttysnoop-0.12d.ebuild,v 1.1 2012/07/02 11:46:15 maksbotan Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Tool to snoop on login tty's through another tty-device or pseudo-tty"
|
||||
HOMEPAGE="http://sysd.org/stas/node/35"
|
||||
SRC_URI="http://sysd.org/stas/files/active/0/ttysnoop-0.12d.k26.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}"/ttysnoop-${PV}.k26
|
||||
|
||||
DOCS="README snooptab.dist"
|
||||
|
||||
src_prepare(){
|
||||
epatch "${FILESDIR}"/pinkbyte_masking.patch
|
||||
epatch "${FILESDIR}"/ttysnoop-makefile.patch
|
||||
}
|
||||
|
||||
src_compile(){
|
||||
emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc ${DOCS}
|
||||
dosbin ttysnoop
|
||||
dosbin ttysnoops
|
||||
doman ttysnoop.8
|
||||
insinto /etc
|
||||
newins snooptab.dist snooptab
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST mythes-1.2.2.tar.gz 4906938 RMD160 70f41b52d843616c4d52d2c1c6ae0037b4282953 SHA1 a1657eb4a7d237c2d10b0686a23573bc36865b27 SHA256 1a1bec56d05b52a9fcc94ce7c53eb3c85defcb6b7770448d79b8be0a62e85677
|
||||
DIST mythes-1.2.3.tar.gz 4910188 RMD160 b89878cad47646db5562d76c81f458612a58433c SHA1 8a5d58aa4bb8752375eff51db9f701c269d1831e SHA256 92383930f110d691a38b64684d96cb4f30d7f0550dbcfe8b227ca5c7a33fb838
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/mythes/mythes-1.2.3.ebuild,v 1.1 2012/07/02 09:32:32 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="A simple thesaurus for Libreoffice"
|
||||
HOMEPAGE="http://hunspell.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/hunspell/MyThes/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="app-text/hunspell"
|
||||
DEPEND="${DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
@ -1,13 +1,13 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.9.4.1-r1.ebuild,v 1.1 2012/06/24 11:38:18 slyfox Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.9.4.1-r2.ebuild,v 1.1 2012/07/02 17:27:43 slyfox Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
# ebuild generated by hackport 0.2.18
|
||||
|
||||
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
inherit base haskell-cabal
|
||||
|
||||
DESCRIPTION="Conversion between markup formats"
|
||||
HOMEPAGE="http://johnmacfarlane.net/pandoc"
|
@ -1,3 +1 @@
|
||||
DIST jcifs-1.3.13.tgz 900999 RMD160 ea8a54aae488df6573775705dd84db503676eb60 SHA1 33cee5b60c2ae60f021396e0a13a36df43931875 SHA256 cb33e4852b6d1557490b015c4ec57cf8440e23fdcfe2ceb4ef29f0250ccbe432
|
||||
DIST jcifs-1.3.15.tgz 852051 RMD160 9c6545bb6370bdfc7a56709609a294cab365b4eb SHA1 5bfd7fa1818fd325becf406413803960380397d2 SHA256 4e5031ce2a4bf2f4729417e61972259b844c8d9b8aaf1d91db2b766bd67419fa
|
||||
DIST jcifs-1.3.17.tgz 862091 RMD160 bdb5b32333057ac201c0183a749814d06a1466af SHA1 e6a5e0324ffd86f2996b9b6b0137c5f99d22f8c7 SHA256 b6c5d82ed0bc015986206101a908eacd96bca8915187a092e34ebb373eeb545d
|
||||
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jcifs/jcifs-1.3.13.ebuild,v 1.5 2010/05/23 17:47:41 pacho Exp $
|
||||
|
||||
EAPI="2"
|
||||
JAVA_PKG_IUSE="doc examples source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Library that implements the CIFS/SMB networking protocol in Java"
|
||||
SRC_URI="http://jcifs.samba.org/src/${P}.tgz"
|
||||
HOMEPAGE="http://jcifs.samba.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="1.1"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
dev-java/servletapi:2.4"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
${RDEPEND}"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${P/-/_}
|
||||
|
||||
java_prepare() {
|
||||
rm -v *.jar || die
|
||||
rm -v examples/*.class || die
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_EXTRA_ARGS="-DhasServlet=true"
|
||||
EANT_GENTOO_CLASSPATH="servletapi-2.4"
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar ${P}.jar
|
||||
|
||||
dodoc README.txt || die
|
||||
# other stuff besides javadocs
|
||||
use doc && java-pkg_dohtml -r docs/*
|
||||
use source && java-pkg_dosrc src/*
|
||||
use examples && java-pkg_doexamples examples
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jcifs/jcifs-1.3.15.ebuild,v 1.5 2011/07/15 15:57:26 xarthisius Exp $
|
||||
|
||||
EAPI="2"
|
||||
JAVA_PKG_IUSE="doc examples source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Library that implements the CIFS/SMB networking protocol in Java"
|
||||
SRC_URI="http://jcifs.samba.org/src/${P}.tgz"
|
||||
HOMEPAGE="http://jcifs.samba.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="1.1"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
dev-java/servletapi:2.4"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
${RDEPEND}"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${P/-/_}
|
||||
|
||||
java_prepare() {
|
||||
rm -v *.jar || die
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_EXTRA_ARGS="-DhasServlet=true"
|
||||
EANT_GENTOO_CLASSPATH="servletapi-2.4"
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar ${P}.jar
|
||||
|
||||
dodoc README.txt || die
|
||||
# other stuff besides javadocs
|
||||
use doc && java-pkg_dohtml -r docs/*
|
||||
use source && java-pkg_dosrc src/*
|
||||
use examples && java-pkg_doexamples examples
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST gprolog-1.4.0.tar.gz 3239624 RMD160 9034f30db714306794350c459f80275186cc303f SHA1 a19a4c53939235beed11657eabaa7a407869fbe9 SHA256 804a2fdd980d8ed9ba0b5e45e24aaad5e4ca08f67a532ea2b3813b9f8d99c6d0
|
||||
DIST gprolog-1.4.1.tar.gz 3273781 RMD160 f3e093868e7fc468ae81fc9cc4ebe21b22b0cd0a SHA1 f25e11dbef2467c8ea1bb16cfd20623fd2f4fad4 SHA256 e2819ed9c426138d3191e4d97ae5121cf97e132eecf102400f87f1e372a05b72
|
||||
|
@ -0,0 +1,40 @@
|
||||
diff -ur gprolog-1.4.1.orig/src/Ma2Asm/Makefile.in gprolog-1.4.1/src/Ma2Asm/Makefile.in
|
||||
--- gprolog-1.4.1.orig/src/Ma2Asm/Makefile.in 2012-01-10 18:24:39.000000000 +0100
|
||||
+++ gprolog-1.4.1/src/Ma2Asm/Makefile.in 2012-07-02 13:08:11.000000000 +0200
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
ma2asm@EXE_SUFFIX@: ma2asm@OBJ_SUFFIX@ ma_parser@OBJ_SUFFIX@ \
|
||||
ma2asm_inst@OBJ_SUFFIX@ ma2asm_inst.c
|
||||
- $(CC) $(CFLAGS) @CC_EXE_NAME_OPT@ma2asm@EXE_SUFFIX@ ma2asm@OBJ_SUFFIX@ ma2asm_inst@OBJ_SUFFIX@ ma_parser@OBJ_SUFFIX@
|
||||
+ $(CC) $(LDFLAGS) @CC_EXE_NAME_OPT@ma2asm@EXE_SUFFIX@ ma2asm@OBJ_SUFFIX@ ma2asm_inst@OBJ_SUFFIX@ ma_parser@OBJ_SUFFIX@
|
||||
|
||||
|
||||
clean:
|
||||
diff -ur gprolog-1.4.1.orig/src/TopComp/Makefile.in gprolog-1.4.1/src/TopComp/Makefile.in
|
||||
--- gprolog-1.4.1.orig/src/TopComp/Makefile.in 2012-01-10 18:24:39.000000000 +0100
|
||||
+++ gprolog-1.4.1/src/TopComp/Makefile.in 2012-07-02 13:08:11.000000000 +0200
|
||||
@@ -15,10 +15,10 @@
|
||||
|
||||
$(GPLC)@EXE_SUFFIX@: top_comp.c copying.c ../EnginePl/wam_regs.h \
|
||||
../EnginePl/gp_config.h ../EnginePl/machine1.c decode_hexa.c copying.c prolog_path.c
|
||||
- $(CC) $(CFLAGS) @CC_EXE_NAME_OPT@$(GPLC)@EXE_SUFFIX@ top_comp.c $(LDLIBS)
|
||||
+ $(CC) $(LDFLAGS) $(CFLAGS) @CC_EXE_NAME_OPT@$(GPLC)@EXE_SUFFIX@ top_comp.c $(LDLIBS)
|
||||
|
||||
$(HEXGPLC)@EXE_SUFFIX@: hexfilter.c decode_hexa.c
|
||||
- $(CC) $(CFLAGS) @CC_EXE_NAME_OPT@$(HEXGPLC)@EXE_SUFFIX@ hexfilter.c
|
||||
+ $(CC) $(LDFLAGS) $(CFLAGS) @CC_EXE_NAME_OPT@$(HEXGPLC)@EXE_SUFFIX@ hexfilter.c
|
||||
|
||||
|
||||
|
||||
diff -ur gprolog-1.4.1.orig/src/Wam2Ma/Makefile.in gprolog-1.4.1/src/Wam2Ma/Makefile.in
|
||||
--- gprolog-1.4.1.orig/src/Wam2Ma/Makefile.in 2012-01-10 18:24:38.000000000 +0100
|
||||
+++ gprolog-1.4.1/src/Wam2Ma/Makefile.in 2012-07-02 13:08:11.000000000 +0200
|
||||
@@ -12,7 +12,7 @@
|
||||
$(CC) $(CFLAGS) -c wam2ma.c
|
||||
|
||||
wam2ma@EXE_SUFFIX@: wam2ma@OBJ_SUFFIX@ wam_parser@OBJ_SUFFIX@
|
||||
- $(CC) $(CFLAGS) @CC_EXE_NAME_OPT@wam2ma@EXE_SUFFIX@ wam2ma@OBJ_SUFFIX@ wam_parser@OBJ_SUFFIX@
|
||||
+ $(CC) $(LDFLAGS) @CC_EXE_NAME_OPT@wam2ma@EXE_SUFFIX@ wam2ma@OBJ_SUFFIX@ wam_parser@OBJ_SUFFIX@
|
||||
|
||||
|
||||
clean:
|
@ -0,0 +1,15 @@
|
||||
--- gprolog-1.4.1.orig/src/Makefile.in 2012-01-10 18:24:39.000000000 +0100
|
||||
+++ gprolog-1.4.1/src/Makefile.in 2012-07-02 13:38:49.000000000 +0200
|
||||
@@ -81,10 +81,10 @@
|
||||
|
||||
# --- Links --- #
|
||||
|
||||
-install-links: uninstall-links
|
||||
+install-links:
|
||||
if test $(LINKS_DIR) != none; then \
|
||||
./mkinstalldirs $(LINKS_DIR); \
|
||||
- (cd $(LINKS_DIR) ; $(LN_S) $(INSTALL_DIR)/bin/* .); \
|
||||
+ (cd $(LINKS_DIR); for i in $(BIN_FILES); do $(LN_S) $(INSTALL_DIR)/bin/$$i .; done); \
|
||||
fi
|
||||
|
||||
uninstall-links:
|
@ -0,0 +1,29 @@
|
||||
--- gprolog-1.4.1.orig/src/Makefile.in 2012-01-10 18:24:39.000000000 +0100
|
||||
+++ gprolog-1.4.1/src/Makefile.in 2012-07-02 12:53:42.000000000 +0200
|
||||
@@ -97,7 +97,7 @@
|
||||
# --- Documentation --- #
|
||||
|
||||
install-doc:
|
||||
- if test $(DOC_DIR) != none; then \
|
||||
+ if test $(DOC_DIR) != $(DESTDIR)none; then \
|
||||
./mkinstalldirs $(DOC_DIR); \
|
||||
(F=`cd ../doc; echo $(DOC_FILES)`; \
|
||||
for i in $$F; do $(INSTALL_DATA) ../doc/$$i $(DOC_DIR); done); \
|
||||
@@ -113,7 +113,7 @@
|
||||
# --- HTML --- #
|
||||
|
||||
install-html:
|
||||
- if test $(HTML_DIR) != none; then \
|
||||
+ if test $(HTML_DIR) != $(DESTDIR)none; then \
|
||||
./mkinstalldirs $(HTML_DIR); \
|
||||
(F=`cd ../doc/html_node; echo $(HTML_FILES)`; \
|
||||
for i in $$F; do $(INSTALL_DATA) ../doc/html_node/$$i $(HTML_DIR); done); \
|
||||
@@ -129,7 +129,7 @@
|
||||
# --- Examples --- #
|
||||
|
||||
install-examples:
|
||||
- if test $(EXAMPLES_DIR) != none; then \
|
||||
+ if test $(EXAMPLES_DIR) != $(DESTDIR)none; then \
|
||||
./mkinstalldirs $(EXAMPLES_DIR)/ExamplesPl; \
|
||||
(F=`cd ../examples/ExamplesPl; echo $(EXPL_FILES)`; \
|
||||
for i in $$F; do $(INSTALL_DATA) ../examples/ExamplesPl/$$i $(EXAMPLES_DIR)/ExamplesPl; done); \
|
@ -0,0 +1,10 @@
|
||||
--- gprolog-1.4.1.orig/src/Makefile.in 2012-01-10 18:24:39.000000000 +0100
|
||||
+++ gprolog-1.4.1/src/Makefile.in 2012-07-02 12:55:39.000000000 +0200
|
||||
@@ -60,7 +60,6 @@
|
||||
install-system:
|
||||
./mkinstalldirs $(INSTALL_DIR) $(INSTALL_DIR)/bin \
|
||||
$(INSTALL_DIR)/include $(INSTALL_DIR)/lib
|
||||
- for i in $(TXT_FILES); do $(INSTALL_DATA) ../$$i $(INSTALL_DIR); done
|
||||
for i in $(BIN_FILES); do $(INSTALL_PROGRAM) */$$i $(INSTALL_DIR)/bin; done
|
||||
for i in $(OBJ_FILES); do $(INSTALL_DATA) */$$i $(INSTALL_DIR)/lib; done
|
||||
for i in $(LIB_FILES); do $(INSTALL_DATA) */$$i $(INSTALL_DIR)/lib; done
|
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/gprolog/gprolog-1.4.1.ebuild,v 1.1 2012/07/02 11:52:49 keri Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils flag-o-matic multilib
|
||||
|
||||
DESCRIPTION="GNU Prolog is a native Prolog compiler with constraint solving over finite domains (FD)"
|
||||
HOMEPAGE="http://www.gprolog.org/"
|
||||
SRC_URI="mirror://gnu/gprolog/${P}.tar.gz"
|
||||
S="${WORKDIR}"/${P}
|
||||
|
||||
LICENSE="GPL-2 LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="debug doc examples"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-ldflags.patch
|
||||
epatch "${FILESDIR}"/${P}-links.patch
|
||||
epatch "${FILESDIR}"/${P}-nodocs.patch
|
||||
epatch "${FILESDIR}"/${P}-txt-file.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
CFLAGS_MACHINE="`get-flag -march` `get-flag -mcpu` `get-flag -mtune`"
|
||||
|
||||
append-flags -fno-strict-aliasing
|
||||
use debug && append-flags -DDEBUG
|
||||
|
||||
if gcc-specs-pie ; then
|
||||
# gplc generates its own native ASM; disable PIE
|
||||
append-ldflags -nopie
|
||||
fi
|
||||
|
||||
cd "${S}"/src
|
||||
econf \
|
||||
CFLAGS_MACHINE="${CFLAGS_MACHINE}" \
|
||||
--with-c-flags="${CFLAGS}" \
|
||||
--with-install-dir=/usr/$(get_libdir)/${P} \
|
||||
--with-links-dir=/usr/bin \
|
||||
$(use_with doc doc-dir /usr/share/doc/${PF}) \
|
||||
$(use_with doc html-dir /usr/share/doc/${PF}/html) \
|
||||
$(use_with examples examples-dir /usr/share/doc/${PF}/examples)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/src
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}"/src
|
||||
emake check || die "make check failed. See above for details."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/src
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
cd "${S}"
|
||||
dodoc ChangeLog NEWS PROBLEMS README VERSION || die "dodoc failed"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST hyphen-2.8.3.tar.gz 614264 RMD160 2416da0644fdfbbe71d8477e8a36eebff44d66d6 SHA1 f708f0adb4b1e45fc041cc7152d467bf818c0fc9 SHA256 21c461c558c61a51f24d35a48e2bf3b3bebf27ffc361f99bec45496903938c42
|
||||
DIST hyphen-2.8.4.tar.gz 636667 RMD160 23a4268d7b28b4ecba717eaef3cf4fffd940787b SHA1 4481ed35d147d2d67dccf49cb483ec8744e17ab7 SHA256 eeffe2d931217efc4c0a5ea0a1e46d843a4c65b2346f22e543d619da7282562e
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/hyphen/hyphen-2.8.4.ebuild,v 1.1 2012/07/02 09:38:31 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="ALTLinux hyphenation library"
|
||||
HOMEPAGE="http://hunspell.sf.net"
|
||||
SRC_URI="mirror://sourceforge/hunspell/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1 MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="app-text/hunspell"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README* THANKS TODO"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
docinto pdf
|
||||
dodoc doc/*.pdf
|
||||
|
||||
rm -f "${ED}"usr/lib*/libhyphen.la
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>openoffice</herd>
|
||||
<herd>openoffice</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmoe/libmoe-1.5.8-r1.ebuild,v 1.5 2009/09/23 17:23:01 patrick Exp $
|
||||
|
||||
inherit toolchain-funcs multilib
|
||||
|
||||
DESCRIPTION="multi octet character encoding handling library"
|
||||
HOMEPAGE="http://pub.ks-and-ks.ne.jp/prog/libmoe/"
|
||||
SRC_URI="http://pub.ks-and-ks.ne.jp/prog/pub/${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-lang/perl"
|
||||
|
||||
src_compile() {
|
||||
emake CF="${CFLAGS} -Wall -I. -fPIC" \
|
||||
LF="${LDFLAGS} -shared -Wl,-soname,\${DEST}.so.\${VER}.\${RELEASE}" \
|
||||
CC="$(tc-getCC)" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR=${D} \
|
||||
PREFIX=/usr \
|
||||
MAN=/usr/share/man \
|
||||
LIBSODIR=/usr/$(get_libdir) \
|
||||
install || die
|
||||
|
||||
dodoc ChangeLog
|
||||
dohtml libmoe.shtml
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
diff --git a/example/mimx-ispell.c b/example/mimx-ispell.c
|
||||
index daa244f..7507de8 100644
|
||||
--- a/example/mimx-ispell.c
|
||||
+++ b/example/mimx-ispell.c
|
||||
@@ -166,7 +166,7 @@ ispell_word (MPlist *args)
|
||||
return add_action (actions, msymbol ("shift"), Msymbol, init_state);
|
||||
|
||||
buf[nbytes] = '\0';
|
||||
- sprintf (command, "echo %s | ispell -a -m", (char *) buf);
|
||||
+ sprintf (command, "echo %s | ispell-aspell -a -m", (char *) buf);
|
||||
ispell = popen (command, "r");
|
||||
if (! ispell)
|
||||
return add_action (actions, msymbol ("shift"), Msymbol, init_state);
|
@ -1,11 +1,11 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Net_IDNA2/PEAR-Net_IDNA2-0.1.1.ebuild,v 1.7 2012/03/03 15:18:44 maekke Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Net_IDNA2/PEAR-Net_IDNA2-0.1.1.ebuild,v 1.8 2012/07/02 12:13:29 jer Exp $
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="Punycode encoding and decoding."
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ppc ppc64 ~sparc x86"
|
||||
KEYWORDS="amd64 arm ~hppa ppc ppc64 ~sparc x86"
|
||||
IUSE=""
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST PyQt-x11-gpl-4.8.1.tar.gz 9409175 RMD160 e5ba0d98359ce315432f479a5f44b2c1ae69b77a SHA1 e064ed38817bafde72f2a57679d80d40c7015afb SHA256 1feab80dc82dcd451233edeb1cde9cc75fa38b6e8f47780ec6dc317ebe0cf370
|
||||
DIST PyQt-x11-gpl-4.8.4.tar.gz 9799081 RMD160 100d16e9005e3b83f0030e498a16d99636c9034c SHA1 747236d5dd103687cac54746af0a24a1adbc067c SHA256 fcfa3ecc0b4fad6d93227751b36a6f81ea104ee19dd26905f52de59f060b3e98
|
||||
DIST PyQt-x11-gpl-4.9.1.tar.gz 9742132 RMD160 056d6570ffc5ad873ef36d8181122cbb79d7b5ef SHA1 6aa0e64cdcca0f23946c5e6c244b19189c234306 SHA256 f283557f2190ffc00d72fe8451ac15536cab777c36a9b573031328f401629bb1
|
||||
DIST PyQt-x11-gpl-4.9.3.tar.gz 9800970 RMD160 ef6b12195e6a9eb839f239edc9acb063a61ee348 SHA1 6c7eebf098f58724f9957a03fa955432e61afb1d SHA256 85e44db090b3c80c1a98a966d2f63462b6f626bc24a5f85f3ad40d2525495d37
|
||||
DIST PyQt-x11-gpl-4.9.4.tar.gz 9801300 RMD160 30684642147120b2234f06759e57e87021577e57 SHA1 05425e0590d709ac28cdd551ad52e76f0b02eca5 SHA256 29416e9b2dd394d39c3034e103717a40b9090ec05f457600a4d62b6f29b27e48
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.9.3.ebuild,v 1.1 2012/06/27 10:36:57 pesa Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.9.4.ebuild,v 1.1 2012/07/02 14:09:25 pesa Exp $
|
||||
|
||||
EAPI=4
|
||||
|
@ -1 +1,2 @@
|
||||
DIST haml-3.1.4.gem 367616 RMD160 ccc39e3aa3efec75f4f08a4aec596c4f5de59fcb SHA1 f0fdefc29eabe79acbc7a4a3503fcb0e488a2a26 SHA256 cec73e077f73504fffebe4db33bbbaff6cf0a65e2c6b6041cd22f9bc9da54394
|
||||
DIST haml-3.1.6.gem 367616 RMD160 bdfd7b4bd7ee2a3b4767246266f979ebc540558f SHA1 ad47cf13be399f1d2f62423cd8f95ecbb51813f9 SHA256 e052ee3e2fb1c93c2106d671102d49323ede481539fee202e1ed15845b261da8
|
||||
|
@ -0,0 +1,20 @@
|
||||
--- metadata.orig 2012-07-03 07:46:35.000000000 +0200
|
||||
+++ metadata 2012-07-03 07:51:30.917926913 +0200
|
||||
@@ -14,6 +14,17 @@
|
||||
date: 2012-05-16 00:00:00.000000000 Z
|
||||
dependencies:
|
||||
- !ruby/object:Gem::Dependency
|
||||
+ name: sass
|
||||
+ prerelease: false
|
||||
+ requirement: &id003 !ruby/object:Gem::Requirement
|
||||
+ none: false
|
||||
+ requirements:
|
||||
+ - - "~>"
|
||||
+ - !ruby/object:Gem::Version
|
||||
+ version: 3.1.11
|
||||
+ type: :runtime
|
||||
+ version_requirements: *id003
|
||||
+- !ruby/object:Gem::Dependency
|
||||
name: yard
|
||||
requirement: !ruby/object:Gem::Requirement
|
||||
none: false
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/haml/haml-3.1.6.ebuild,v 1.1 2012/07/03 05:56:00 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
RUBY_FAKEGEM_TASK_DOC="doc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CONTRIBUTING README.md"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="init.rb rails VERSION VERSION_NAME"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="HAML - a ruby web page templating engine"
|
||||
HOMEPAGE="http://haml-lang.com/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
# TODO: haml has some emacs modes that it could be installing, in case
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "dev-ruby/sass"
|
||||
|
||||
# It could use merb during testing as well, but it's not mandatory
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/hpricot
|
||||
dev-ruby/erubis
|
||||
dev-ruby/rails
|
||||
dev-ruby/ruby_parser
|
||||
)
|
||||
doc? (
|
||||
dev-ruby/yard
|
||||
dev-ruby/maruku
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# unbundle sass; remove dependency over fssm and add one over sass
|
||||
# itself.
|
||||
rm -r vendor/ || die
|
||||
|
||||
pushd .. &>/dev/null
|
||||
epatch "${FILESDIR}"/${P}-sass.patch
|
||||
sed -i \
|
||||
-e '/vendor\//d' \
|
||||
metadata || die
|
||||
popd &>/dev/null
|
||||
}
|
@ -0,0 +1,100 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-4.5.4.ebuild,v 1.1 2012/07/02 14:14:20 pesa Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
# 2.4 and 2.5 are restricted to avoid conditional dependency on dev-python/simplejson.
|
||||
RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython 2.7-pypy-*"
|
||||
|
||||
inherit eutils python
|
||||
|
||||
SLOT="4"
|
||||
MY_PN="${PN}${SLOT}"
|
||||
MY_PV="${PV/_pre/-snapshot-}"
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="A full featured Python IDE using PyQt4 and QScintilla"
|
||||
HOMEPAGE="http://eric-ide.python-projects.org/"
|
||||
BASE_URI="mirror://sourceforge/eric-ide/${MY_PN}/stable/${PV}"
|
||||
SRC_URI="${BASE_URI}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="kde spell"
|
||||
|
||||
DEPEND="
|
||||
>=dev-python/sip-4.12.4
|
||||
>=dev-python/PyQt4-4.6[assistant,svg,webkit,X]
|
||||
>=dev-python/qscintilla-python-2.3
|
||||
kde? ( kde-base/pykde4 )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-python/chardet-2.0.1
|
||||
>=dev-python/coverage-3.0.1
|
||||
>=dev-python/pygments-1.3.1
|
||||
"
|
||||
PDEPEND="
|
||||
spell? ( dev-python/pyenchant )
|
||||
"
|
||||
|
||||
LANGS="cs de en es fr it ru tr zh_CN"
|
||||
for L in ${LANGS}; do
|
||||
SRC_URI+=" linguas_${L}? ( ${BASE_URI}/${MY_PN}-i18n-${L/zh_CN/zh_CN.GB2312}-${MY_PV}.tar.gz )"
|
||||
IUSE+=" linguas_${L}"
|
||||
done
|
||||
unset L
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
PYTHON_VERSIONED_EXECUTABLES=("/usr/bin/.*")
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/eric-4.4-no-interactive.patch"
|
||||
use kde || epatch "${FILESDIR}/eric-4.4-no-pykde.patch"
|
||||
|
||||
# Delete internal copies of dev-python/chardet, dev-python/coverage,
|
||||
# dev-python/pygments and dev-python/simplejson.
|
||||
rm -fr eric/ThirdParty
|
||||
rm -fr eric/DebugClients/Python{,3}/coverage
|
||||
sed -i -e '\|/coverage/|d' eric/${MY_PN}.e4p || die
|
||||
sed -i -e 's/from DebugClients\.Python3\?\.coverage /from coverage /' \
|
||||
$(grep -lr 'from DebugClients\.Python3\?\.coverage' .) || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
"$(PYTHON)" install.py \
|
||||
-z \
|
||||
-b "${EPREFIX}/usr/bin" \
|
||||
-i "${T}/images/${PYTHON_ABI}" \
|
||||
-d "${EPREFIX}$(python_get_sitedir)" \
|
||||
-c
|
||||
}
|
||||
python_execute_function installation
|
||||
python_merge_intermediate_installation_images "${T}/images"
|
||||
|
||||
doicon eric/icons/default/eric.png || die
|
||||
make_desktop_entry "${MY_PN} --nosplash" ${MY_PN} eric "Development;IDE;Qt"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize ${MY_PN}{,config.py,plugins}
|
||||
|
||||
elog
|
||||
elog "If you want to use Eric with mod_python, have a look at"
|
||||
elog "\"${EROOT}$(python_get_sitedir -b -f)/${MY_PN}/patch_modpython.py\"."
|
||||
elog
|
||||
elog "The following packages will give Eric extended functionality:"
|
||||
elog " dev-python/pylint"
|
||||
elog " dev-python/pysvn"
|
||||
elog
|
||||
elog "This version has a plugin interface with plugin-autofetch from"
|
||||
elog "the application itself. You may want to check those as well."
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup ${MY_PN}{,config.py,plugins}
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
Upstream revno 6523 ((vila) Avoid test sphinx-related failures now
|
||||
that we don't have direct sphinx anymore. (Vincent Ladeuil))
|
||||
|
||||
=== modified file 'bzrlib/tests/test_utextwrap.py'
|
||||
--- bzrlib/tests/test_utextwrap.py 2011-05-28 06:44:01 +0000
|
||||
+++ bzrlib/tests/test_utextwrap.py 2012-04-17 12:18:27 +0000
|
||||
@@ -171,16 +171,6 @@
|
||||
|
||||
|
||||
def setup_both(testcase, base_class, reused_class):
|
||||
-
|
||||
- if (features.sphinx.available()):
|
||||
- # Until https://bitbucket.org/birkenfeld/sphinx/issue/706 is fixed,
|
||||
- # we can't run these tests when sphinx <= 1.0.1 as it breaks
|
||||
- # textwrap.TextWrapper.wordsep_re
|
||||
- version = tuple(map(int,
|
||||
- features.sphinx.module.__version__.split('.')))
|
||||
- if version <= (1, 0, 7):
|
||||
- raise tests.TestSkipped(
|
||||
- 'sphinx textwrap monkeypatch breaks utextwrap')
|
||||
super(base_class, testcase).setUp()
|
||||
override_textwrap_symbols(testcase)
|
||||
reused_class.setUp(testcase)
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST PokerTH-0.8.3-src.tar.bz2 7037418 RMD160 784cc7567dea73735847084278efb6d8e6563a9f SHA1 def75fe2cae1a1e23114a8c03b69085a98d696e0 SHA256 ff68054753b87dc8713306a96b53108b2e485610086a28481f0fc3d7a365a02e
|
||||
DIST PokerTH-0.9.1-src.tar.bz2 9028914 RMD160 ab69025840c6b2dde5791f637a1b70860f7f210d SHA1 17cbdba925609297403625a3e57597e38c00f589 SHA256 f74246b2e59be4c4b8710266c0ca976ea63dc2b6569dd6aee07040ffa8a8f180
|
||||
DIST PokerTH-0.9.4-src.tar.bz2 10880379 RMD160 cfc142f75f23696f384a23baaaaf2be1e5aec67c SHA1 bd41f2d593bd7ba77361fad5d47807f6055d4fc7 SHA256 382de9a9f7d05c9acb0df4cbf7ba2881437ff961a2ee36dc605547ce469f23c6
|
||||
DIST PokerTH-0.9.5-src.tar.bz2 13598803 RMD160 bfeb91255b72c3718dbf78658ce4735e91076033 SHA1 a25ebbca72515acb21209587a7df8f1296ed7f53 SHA256 b837bdccbf13c15cb22f255ad0e367c24ac431119cb7c7da48e8a753b81c599f
|
||||
|
@ -1,42 +0,0 @@
|
||||
--- pokerth_lib.pro.old 2011-07-03 23:52:06.769035002 +0200
|
||||
+++ pokerth_lib.pro 2011-07-03 23:52:57.994035008 +0200
|
||||
@@ -1,3 +1,4 @@
|
||||
+### eqmake4 was here ###
|
||||
# QMake pro-file for PokerTH common library
|
||||
|
||||
isEmpty( PREFIX ){
|
||||
@@ -14,7 +15,6 @@
|
||||
OBJECTS_DIR = obj
|
||||
DEFINES += ENABLE_IPV6
|
||||
QT -= core gui
|
||||
-QMAKE_CXXFLAGS += -std=gnu++0x
|
||||
#PRECOMPILED_HEADER = src/pch_lib.h
|
||||
|
||||
INCLUDEPATH += . \
|
||||
@@ -255,3 +255,6 @@
|
||||
INCLUDEPATH += /Library/Frameworks/SDL_mixer.framework/Headers
|
||||
INCLUDEPATH += /opt/local/include
|
||||
}
|
||||
+
|
||||
+CONFIG -= debug_and_release debug
|
||||
+CONFIG += release
|
||||
--- pokerth_game.pro.old 2011-07-04 06:19:32.899038048 +0200
|
||||
+++ pokerth_game.pro 2011-07-04 06:19:50.507038051 +0200
|
||||
@@ -16,7 +16,6 @@
|
||||
warn_on
|
||||
include(src/third_party/qtsingleapplication/qtsingleapplication.pri)
|
||||
QT += sql
|
||||
-QMAKE_CXXFLAGS += -std=gnu++0x
|
||||
UI_DIR = uics
|
||||
MOC_DIR = mocs
|
||||
OBJECTS_DIR = obj
|
||||
--- pokerth_server.pro.old 2011-07-04 09:01:20.886039321 +0200
|
||||
+++ pokerth_server.pro 2011-07-04 09:01:32.746039322 +0200
|
||||
@@ -18,7 +18,6 @@
|
||||
DEFINES += ENABLE_IPV6
|
||||
DEFINES += PREFIX=\"$${PREFIX}\"
|
||||
QT -= core gui
|
||||
-QMAKE_CXXFLAGS += -std=gnu++0x
|
||||
#PRECOMPILED_HEADER = src/pch_lib.h
|
||||
|
||||
INCLUDEPATH += . \
|
@ -1,79 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-board/pokerth/pokerth-0.8.3.ebuild,v 1.8 2011/11/02 09:05:55 eras Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit multilib flag-o-matic eutils qt4-r2 games
|
||||
|
||||
MY_P="PokerTH-${PV//_/-}-src"
|
||||
DESCRIPTION="Texas Hold'em poker game"
|
||||
HOMEPAGE="http://www.pokerth.net/"
|
||||
SRC_URI="mirror://sourceforge/pokerth/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-1 GPL-2 GPL-3 BitstreamVera public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="dedicated"
|
||||
|
||||
DEPEND=">=dev-libs/boost-1.41
|
||||
>=net-libs/gnutls-2.2.2
|
||||
>=net-misc/curl-7.16
|
||||
x11-libs/qt-core:4
|
||||
virtual/gsasl
|
||||
!dedicated? (
|
||||
media-libs/libsdl
|
||||
media-libs/sdl-mixer[mikmod,vorbis]
|
||||
>=sys-libs/zlib-1.2.3
|
||||
x11-libs/qt-gui:4
|
||||
x11-libs/qt-sql:4
|
||||
)"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-boost142.patch
|
||||
local boost_ver
|
||||
|
||||
if use dedicated ; then
|
||||
sed -i \
|
||||
-e 's/pokerth_game.pro//' \
|
||||
pokerth.pro \
|
||||
|| die "sed failed"
|
||||
fi
|
||||
sed -i \
|
||||
-e '/no_dead_strip_inits_and_terms/d' \
|
||||
*pro \
|
||||
|| die 'sed failed'
|
||||
local boost_ver=$(best_version ">=dev-libs/boost-1.41")
|
||||
|
||||
boost_ver=${boost_ver/*boost-/}
|
||||
boost_ver=${boost_ver%.*}
|
||||
boost_ver=${boost_ver/./_}
|
||||
|
||||
einfo "Using boost version ${boost_ver}"
|
||||
append-cxxflags \
|
||||
-I/usr/include/boost-${boost_ver}
|
||||
append-ldflags \
|
||||
-L/usr/$(get_libdir)/boost-${boost_ver}
|
||||
append-flags -DBOOST_FILESYSTEM_VERSION=2
|
||||
|
||||
export BOOST_INCLUDEDIR="/usr/include/boost-${boost_ver}"
|
||||
export BOOST_LIBRARYDIR="/usr/$(get_libdir)/boost-${boost_ver}"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake4
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dogamesbin bin/pokerth_server || die
|
||||
if ! use dedicated ; then
|
||||
dogamesbin ${PN} || die
|
||||
insinto "${GAMES_DATADIR}/${PN}"
|
||||
doins -r data || die
|
||||
domenu ${PN}.desktop
|
||||
doicon ${PN}.png
|
||||
fi
|
||||
dodoc ChangeLog TODO docs/{net_protocol,server_setup_howto}.txt
|
||||
prepgamesdirs
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST powwow-1.2.15.tar.gz 292752 RMD160 c8855975a420b007efce57a60fc5b38bf87a0334 SHA1 91cad47fe252370d808d4e8bc9b4cfa788c34c35 SHA256 69967472b1a9caa98e154bb6eaa9b382dc43c7cf0efb0250a8fc22783c5972f6
|
||||
DIST powwow-1.2.16.tar.gz 295441 RMD160 d63cedf73e5b9744ae2e9e7efde992cb1e8abef1 SHA1 60fc42d056cbb07a391737b11f48d4c189648498 SHA256 6db8c6b82ab6dcc88856dc4b7723b2a9963fa16f03586efddcb9f8185fadaa58
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-mud/powwow/powwow-1.2.15.ebuild,v 1.2 2009/06/30 21:24:30 fauli Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit games
|
||||
|
||||
DESCRIPTION="PowWow Console MUD Client"
|
||||
HOMEPAGE="http://hoopajoo.net/projects/powwow.html"
|
||||
SRC_URI="http://hoopajoo.net/static/projects/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-libs/ncurses"
|
||||
|
||||
src_configure() {
|
||||
egamesconf \
|
||||
--disable-dependency-tracking \
|
||||
--includedir=/usr/include
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc ChangeLog Config.demo Hacking NEWS README.* TODO
|
||||
prepgamesdirs
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-mud/tf/tf-50_beta8.ebuild,v 1.5 2011/03/28 13:22:09 phajdan.jr Exp $
|
||||
|
||||
inherit games
|
||||
|
||||
MY_P="${P/_beta/b}"
|
||||
DESCRIPTION="A small, flexible, screen-oriented MUD client (aka TinyFugue)"
|
||||
HOMEPAGE="http://tinyfugue.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/tinyfugue/${MY_P}.tar.gz
|
||||
doc? ( mirror://sourceforge/tinyfugue/${MY_P}-help.tar.gz )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc x86"
|
||||
IUSE="debug doc ipv6 ssl"
|
||||
|
||||
DEPEND="ssl? ( dev-libs/openssl )
|
||||
dev-libs/libpcre"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_compile() {
|
||||
STRIP=: egamesconf \
|
||||
$(use_enable ssl) \
|
||||
$(use_enable debug core) \
|
||||
$(use_enable ipv6 inet6) \
|
||||
--enable-manpage || die
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dogamesbin src/tf || die "dogamesbin failed"
|
||||
newman src/tf.1.nroffman tf.1
|
||||
dodoc CHANGES CREDITS README
|
||||
|
||||
insinto "${GAMES_DATADIR}"/${PN}-lib
|
||||
# the application looks for this file here if /changes is called.
|
||||
# see comments on bug #23274
|
||||
doins CHANGES || die "doins failed"
|
||||
insopts -m0755
|
||||
doins tf-lib/* || die "doins failed"
|
||||
if use doc ; then
|
||||
dohtml -r *.html commands topics
|
||||
fi
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
use ipv6 && {
|
||||
echo
|
||||
ewarn "You have merged TinyFugue with IPv6-support."
|
||||
ewarn "Support for IPv6 is still being experimental."
|
||||
ewarn "If you experience problems with connecting to hosts,"
|
||||
ewarn "try re-merging this package with USE="-ipv6""
|
||||
echo
|
||||
}
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST tintin-2.00.6.tar.gz 251300 RMD160 7fc50627a1e00b31058dc7f37734561eb4598c9c SHA1 4170c7ea0f4cfaa3bf205624adbacfb6d92c9b7f SHA256 25410fba051774aa2978d19c4d68d6c69527a80bc11ef179d7fdb7a1fc15c7d4
|
||||
DIST tintin-2.00.7.tar.gz 255502 RMD160 f889a5aaee13002518f0f0a11106529bfc7bf50c SHA1 7e49905a4fe38eb888fd3ecacadaf0650e87ead0 SHA256 33f2da2cf373916b8b41bed3696122477f06d3fd46809d7706cf30d0909a2c1c
|
||||
DIST tintin-2.00.8.tar.gz 257828 RMD160 f3ac710a14ba9b4689bbc2b9222bb254a00e2020 SHA1 59c919cfe1b1b8d217ca9608c5e76140e8c8aa38 SHA256 e364a7fa7ed35a2d166a081cce4682d5fe2481ee9ce72c6a409903d097e1ae45
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- Makefile.in.old 2011-06-24 13:41:36.874647127 +0200
|
||||
+++ Makefile.in 2011-06-24 13:44:40.024430170 +0200
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
INCS = @MYINCLUDE@
|
||||
|
||||
-LIBS = @MYLIB@ @LIBS@
|
||||
+LIBS = @LIBS@
|
||||
|
||||
# If you prefer to be able to enter ISO latin-1 characters instead
|
||||
# of being able to use the meta key for special emacs-like commands
|
@ -1,11 +0,0 @@
|
||||
--- Makefile.in.old 2011-06-24 13:41:36.874647127 +0200
|
||||
+++ Makefile.in 2011-06-24 13:44:40.024430170 +0200
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
INCS = @MYINCLUDE@
|
||||
|
||||
-LIBS = @MYLIB@ @LIBS@
|
||||
+LIBS = @LIBS@
|
||||
|
||||
# If you prefer to be able to enter ISO latin-1 characters instead
|
||||
# of being able to use the meta key for special emacs-like commands
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-mud/tintin/tintin-2.00.6.ebuild,v 1.5 2011/06/24 18:49:46 ranger Exp $
|
||||
|
||||
inherit games
|
||||
|
||||
DESCRIPTION="(T)he k(I)cki(N) (T)ickin d(I)kumud clie(N)t"
|
||||
HOMEPAGE="http://tintin.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/tintin/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-libs/zlib
|
||||
dev-libs/libpcre
|
||||
sys-libs/readline
|
||||
sys-libs/ncurses"
|
||||
|
||||
S=${WORKDIR}/tt/src
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-ldpermission.patch )
|
||||
|
||||
src_install () {
|
||||
dogamesbin tt++ || die "dogamesbin failed"
|
||||
dodoc ../{CREDITS,FAQ,README,SCRIPTS,TODO,docs/*}
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
echo
|
||||
ewarn "**** OLD TINTIN SCRIPTS ARE NOT 100% COMPATIBLE WITH THIS VERSION ****"
|
||||
ewarn "read the README for more details."
|
||||
echo
|
||||
}
|
@ -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/games-mud/tintin/tintin-2.00.7.ebuild,v 1.4 2012/01/10 20:21:53 ranger Exp $
|
||||
|
||||
inherit games
|
||||
|
||||
DESCRIPTION="(T)he k(I)cki(N) (T)ickin d(I)kumud clie(N)t"
|
||||
HOMEPAGE="http://tintin.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/tintin/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-libs/zlib
|
||||
dev-libs/libpcre
|
||||
sys-libs/readline
|
||||
sys-libs/ncurses"
|
||||
|
||||
S=${WORKDIR}/tt/src
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-ldpermission.patch )
|
||||
|
||||
src_install () {
|
||||
dogamesbin tt++ || die "dogamesbin failed"
|
||||
dodoc ../{CREDITS,FAQ,README,SCRIPTS,TODO,docs/*}
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
echo
|
||||
ewarn "**** OLD TINTIN SCRIPTS ARE NOT 100% COMPATIBLE WITH THIS VERSION ****"
|
||||
ewarn "read the README for more details."
|
||||
echo
|
||||
}
|
@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-puzzle/jag/jag-0.3.1.ebuild,v 1.3 2011/06/18 17:50:22 tupone Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils qt4-r2 games
|
||||
|
||||
DESCRIPTION="Arcade 2D Puzzle Game"
|
||||
HOMEPAGE="http://jag.xlabsoft.com/"
|
||||
SRC_URI="http://jag.xlabsoft.com/files/${P}-src.zip
|
||||
http://jag.xlabsoft.com/files/jag_levels_sunzero.zip
|
||||
extras? ( http://jag.xlabsoft.com/files/jag_seven_themes.zip )"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc x86"
|
||||
IUSE="editor extras"
|
||||
|
||||
RDEPEND="x11-libs/qt-core:4
|
||||
x11-libs/qt-gui:4
|
||||
x11-libs/qt-opengl:4
|
||||
x11-libs/libXrandr
|
||||
media-libs/libsdl[audio,video]
|
||||
media-libs/sdl-mixer"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}/${P}-src
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "s:/usr/local/bin:${GAMES_BINDIR}:g" \
|
||||
-e "s:/usr/local/games:${GAMES_DATADIR}:g" \
|
||||
-e "s:LIBS += -lSDLmain:LIBS += -lSDL -lX11:" \
|
||||
Game.pro main.cpp editor/editor.pro \
|
||||
|| die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
qt4-r2_src_configure
|
||||
if use editor; then
|
||||
cd editor
|
||||
eqmake4 editor.pro
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
qt4-r2_src_compile
|
||||
if use editor; then
|
||||
cd editor
|
||||
qt4-r2_src_compile
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
qt4-r2_src_install
|
||||
newicon images/logo.png ${PN}.png
|
||||
make_desktop_entry jag Jag
|
||||
|
||||
if use editor; then
|
||||
cd editor
|
||||
qt4-r2_src_install
|
||||
make_desktop_entry jag-editor "Jag Level editor" ${PN}
|
||||
cd ..
|
||||
fi
|
||||
|
||||
insinto "${GAMES_DATADIR}/${PN}"/data/levels
|
||||
doins -r "${WORKDIR}"/sunzero.lpk || die "doins failed"
|
||||
|
||||
if use extras; then
|
||||
insinto "${GAMES_DATADIR}/${PN}"/data/schemes
|
||||
doins -r "${WORKDIR}"/{african,animals,chinese,creatures,futurama,kde-nuvola,toys} || die "doins failed"
|
||||
fi
|
||||
prepgamesdirs
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST pipewalker-0.9.1-src.tar.gz 930790 RMD160 f1b3f5bb2c7618b4055de612e5e4bbda814188ed SHA1 2a01058425ce5836c967593c01f52e986b7a13ef SHA256 4ea2f698e1275e493fa262004f97385c6f4758ad05a07db7e9f731ce8ff0d8b3
|
||||
DIST pipewalker-0.9.4.tar.gz 948399 RMD160 b5d2cdbdea763003edafe991f10d7ebafca44aa6 SHA1 3c84f492291e759955bec7ddf8278f314ab26d6c SHA256 d6d7717f1f333847cc4a2e9d83e97b971b3bfb539d99d4ae30a5140de6e386f4
|
||||
|
@ -1,24 +0,0 @@
|
||||
diff -ru pipewalker-0.9.1.orig/src/sound.h pipewalker-0.9.1/src/sound.h
|
||||
--- pipewalker-0.9.1.orig/src/sound.h 2010-10-08 07:09:41.000000000 -0400
|
||||
+++ pipewalker-0.9.1/src/sound.h 2010-10-17 00:39:11.766744603 -0400
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "common.h"
|
||||
|
||||
#if defined PW_USE_SDL //SDL library
|
||||
- #include <SDL/SDL.h>
|
||||
+ #include <SDL.h>
|
||||
#endif
|
||||
|
||||
/**
|
||||
diff -ru pipewalker-0.9.1.orig/src/winmgr_sdl.cpp pipewalker-0.9.1/src/winmgr_sdl.cpp
|
||||
--- pipewalker-0.9.1.orig/src/winmgr_sdl.cpp 2010-10-11 10:04:22.000000000 -0400
|
||||
+++ pipewalker-0.9.1/src/winmgr_sdl.cpp 2010-10-17 00:39:04.151383831 -0400
|
||||
@@ -26,7 +26,7 @@
|
||||
#include "../extra/pipewalker.xpm"
|
||||
|
||||
//SDL library
|
||||
-#include <SDL/SDL.h>
|
||||
+#include <SDL.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#include <SDL/SDL_syswm.h>
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pipewalker/pipewalker-0.9.1.ebuild,v 1.4 2010/11/21 17:44:38 maekke Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit flag-o-matic eutils games
|
||||
|
||||
DESCRIPTION="Rotating pieces puzzle game"
|
||||
HOMEPAGE="http://pipewalker.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="media-libs/libsdl[opengl,video]
|
||||
virtual/opengl
|
||||
virtual/glu"
|
||||
|
||||
src_prepare() {
|
||||
# fix the include of SDL.h (bug #341239)
|
||||
epatch "${FILESDIR}"/${P}-sdl-include.patch
|
||||
sed -i \
|
||||
-e '/OpenGL error:/s/0x/0x%x/' \
|
||||
-e '/#pragma warning/d' \
|
||||
src/common.h \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags $(sdl-config --cflags)
|
||||
egamesconf \
|
||||
--disable-dependency-tracking \
|
||||
--datadir="${GAMES_DATADIR_BASE}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C data DESTDIR="${D}" install || die "emake install failed"
|
||||
dogamesbin src/${PN} || die "dogamesbin failed"
|
||||
doicon extra/${PN}.xpm
|
||||
make_desktop_entry ${PN} PipeWalker
|
||||
dodoc AUTHORS ChangeLog README
|
||||
prepgamesdirs
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST xye-0.10.0.tar.gz 1870191 RMD160 fd2dc44b86998ed7cc8cddee400ad4fa940ab0f2 SHA1 f438060da179ef578e25b654289b440633d23957 SHA256 1085cacbe25f6c15a9f28bdb66e5141be55d2cea2d475f8db935f9091be5dfe8
|
||||
DIST xye-0.12.0.tar.gz 3074536 RMD160 2445358bd93ba815b70eb9be259a5be1fb4bda15 SHA1 23c9017733ca7ed7d1f446c7dad1ccce689363c6 SHA256 0116afe64c64684feee3a3f9ea8e2308059afe3d3d30edc8c3731d573eb96a92
|
||||
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xye/xye-0.10.0.ebuild,v 1.3 2011/09/04 17:46:19 phajdan.jr Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit autotools eutils games
|
||||
|
||||
DESCRIPTION="Free version of the classic game Kye"
|
||||
HOMEPAGE="http://xye.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/xye/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="media-libs/libsdl[video]
|
||||
media-libs/sdl-ttf
|
||||
media-libs/sdl-image[png]
|
||||
media-fonts/dejavu"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/^xye_LDFLAGS/d' Makefile.am || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dogamesbin "${PN}" || die
|
||||
insinto "${GAMES_DATADIR}/${PN}"
|
||||
doins -r levels res || die
|
||||
rm -f "${D}${GAMES_DATADIR}/${PN}"/res/DejaVuSans*
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSans.ttf "${GAMES_DATADIR}/${PN}"/res/
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf "${GAMES_DATADIR}/${PN}"/res/
|
||||
dodoc readme.txt GAMEINTRO.txt AUTHORS ChangeLog README NEWS
|
||||
doicon xye.svg
|
||||
make_desktop_entry ${PN} Xye
|
||||
prepgamesdirs
|
||||
}
|
@ -0,0 +1,108 @@
|
||||
#!/bin/sh
|
||||
|
||||
die() {
|
||||
echo "$@" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Handle arguments
|
||||
if [ "$1" != "--help" ] && [ "$1" != "-h" ] ; then
|
||||
SOURCE="$(readlink -f "$1")"
|
||||
else
|
||||
die "\
|
||||
Usage: install-copy path/to/ArxFatalis/ [output_dir]
|
||||
|
||||
This script can be used to copy the game data from a fully patched
|
||||
Arx Fatalis 1.21 install (for example a Steam download).
|
||||
Files will be renamed as needed by Arx Libertatis.
|
||||
|
||||
You can get the 1.21 patch from http://www.arkane-studios.com/uk/arx_downloads.php"
|
||||
fi
|
||||
|
||||
if [ "$2" = "" ] ; then
|
||||
DESTDIR="$(pwd)"
|
||||
else
|
||||
DESTDIR="$(readlink -f "$2")"
|
||||
fi
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
echo "Installing Arx Fatalis data from \"$SOURCE\" to \"$DESTDIR\".
|
||||
"
|
||||
|
||||
# Check for required files
|
||||
[ -d "$SOURCE" ] || die "$SOURCE does not exist"
|
||||
|
||||
# files
|
||||
set -- \
|
||||
"data2.pak" \
|
||||
"graph/interface/misc/arkane.bmp" \
|
||||
"graph/interface/misc/quit1.bmp" \
|
||||
"graph/obj3d/textures/fixinter_barrel.jpg" \
|
||||
"graph/obj3d/textures/fixinter_bell.bmp" \
|
||||
"graph/obj3d/textures/fixinter_metal_door.jpg" \
|
||||
"graph/obj3d/textures/fixinter_public_notice.bmp" \
|
||||
"graph/obj3d/textures/item_bread.bmp" \
|
||||
"graph/obj3d/textures/item_club.jpg" \
|
||||
"graph/obj3d/textures/item_long_sword.jpg" \
|
||||
"graph/obj3d/textures/item_mauld_sabre.jpg" \
|
||||
"graph/obj3d/textures/item_mauldsword.jpg" \
|
||||
"graph/obj3d/textures/item_mirror.jpg" \
|
||||
"graph/obj3d/textures/item_ring_casting.bmp" \
|
||||
"graph/obj3d/textures/item_rope.bmp" \
|
||||
"graph/obj3d/textures/item_spell_sheet.jpg" \
|
||||
"graph/obj3d/textures/item_torch2.jpg" \
|
||||
"graph/obj3d/textures/item_torch.jpg" \
|
||||
"graph/obj3d/textures/item_zohark.bmp" \
|
||||
"graph/obj3d/textures/l7_dwarf_[wood]_board08.jpg" \
|
||||
"graph/obj3d/textures/l7_dwarf_[wood]_board80.jpg" \
|
||||
"graph/obj3d/textures/npc_dog.bmp" \
|
||||
"graph/obj3d/textures/npc_pig.bmp" \
|
||||
"graph/obj3d/textures/npc_pig_dirty.bmp" \
|
||||
"graph/obj3d/textures/npc_rat_base.bmp" \
|
||||
"graph/obj3d/textures/npc_rat_base_cm.bmp" \
|
||||
"graph/obj3d/textures/npc_worm_body_part1.jpg" \
|
||||
"graph/obj3d/textures/npc_worm_body_part2.bmp" \
|
||||
"graph/obj3d/textures/[wood]_light_door.jpg" \
|
||||
"manual.pdf" \
|
||||
"map.pdf" \
|
||||
"misc/arx_default.ttf" \
|
||||
"misc/arx_russian.ttf" \
|
||||
"misc/arx_taiwanese.ttf" \
|
||||
"misc/logo.avi" \
|
||||
"misc/logo.bmp" \
|
||||
"sfx.pak" \
|
||||
"data.pak" \
|
||||
"loc.pak" \
|
||||
"speech.pak"
|
||||
|
||||
# Install required files
|
||||
ret=0
|
||||
for f in "$@" ; do
|
||||
DEST="$DESTDIR/$f"
|
||||
DIRNAME="$(dirname "$f")"
|
||||
FILE="$(basename "$f" | sed 's/[^[:alnum:]_-]/\\&/g')"
|
||||
FILE_DEFAULT="$(echo "$FILE" | sed 's/^\(.*\)\(\.[^.]*\)$/\1_default\2/g')"
|
||||
|
||||
# don't screw permissions on existent folders
|
||||
[ -e "$DESTDIR/$DIRNAME" ] || { mkdir -pv "$DESTDIR/$DIRNAME"
|
||||
chmod 755 "$DESTDIR/$DIRNAME" ; }
|
||||
|
||||
find "$SOURCE" -iname "$FILE" -exec cp -fv '{}' "$DEST" \;
|
||||
find "$SOURCE" -iname "$FILE_DEFAULT" -exec cp -fv '{}' "$DEST" \;
|
||||
|
||||
chmod 644 "$DEST" || { missing_files="$missing_files
|
||||
$f" ; return 1 ; }
|
||||
|
||||
ret="$(($ret + $?))"
|
||||
done
|
||||
|
||||
[ "$ret" = "0" ] || die "
|
||||
$ret errors and following files not installed:$missing_files
|
||||
|
||||
You either have incorrect permissions on \"${DESTDIR}\"
|
||||
or don't have patch 1.21 installed. Fix it and rerun this script."
|
||||
|
||||
echo
|
||||
echo "Now run:
|
||||
arx --data-dir \"$DESTDIR\""
|
@ -1,3 +1 @@
|
||||
DIST freeciv-2.3.0.tar.bz2 30239019 RMD160 1f017139c5ac4c24d1b4b6767aca84e18b9db31b SHA1 d4e871ad749e1807957df4e353fbb8f5510b7248 SHA256 f380f7f89a3478e8b2a68033b37325539248618508d94edf55b84e5e979fbefa
|
||||
DIST freeciv-2.3.1.tar.bz2 30528325 RMD160 84bb3f0381284b003a34c5a659f013c4fc75a3c4 SHA1 9d9ee9f48f4c945fc6525139d340443d5a25aac4 SHA256 236686fc7f9cf387aba26b6919a87a791fb23e8aabb19181823349983c986ad8
|
||||
DIST freeciv-2.3.2.tar.bz2 30695128 RMD160 63bea690cfd6953bfb30d320a3e3f7a69353b64c SHA1 e6267b5e0483cf9c29d01793d2f9433e73d62191 SHA256 95b1c8cb1bc859abc883221e3e89f67a53799071fdb1fea7b8727fbab0cb4c4e
|
||||
|
@ -1,21 +0,0 @@
|
||||
--- doc/man/Makefile.in.orig
|
||||
+++ doc/man/Makefile.in
|
||||
@@ -360,8 +360,7 @@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
MAN_PAGES = \
|
||||
- freeciv-server.6 \
|
||||
- freeciv-client.6
|
||||
+ freeciv-server.6
|
||||
|
||||
MAN_LINKS = \
|
||||
freeciv-gtk2.6 \
|
||||
@@ -370,7 +369,7 @@
|
||||
freeciv-win32.6 \
|
||||
freeciv-ftwl.6
|
||||
|
||||
-man_MANS = $(MAN_PAGES) $(MAN_LINKS)
|
||||
+man_MANS = $(MAN_PAGES)
|
||||
EXTRA_DIST = $(MAN_LINKS)
|
||||
all: all-am
|
||||
|
@ -1,19 +0,0 @@
|
||||
--- doc/man/Makefile.in.orig
|
||||
+++ doc/man/Makefile.in
|
||||
@@ -358,7 +358,6 @@
|
||||
top_srcdir = @top_srcdir@
|
||||
MAN_PAGES = \
|
||||
freeciv-server.6 \
|
||||
- freeciv-client.6 \
|
||||
freeciv-modpack.6
|
||||
|
||||
MAN_LINKS = \
|
||||
@@ -368,7 +367,7 @@
|
||||
freeciv-win32.6 \
|
||||
freeciv-ftwl.6
|
||||
|
||||
-man_MANS = $(MAN_PAGES) $(MAN_LINKS)
|
||||
+man_MANS = $(MAN_PAGES)
|
||||
EXTRA_DIST = $(MAN_LINKS)
|
||||
all: all-am
|
||||
|
@ -1,124 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/freeciv-2.3.0.ebuild,v 1.3 2012/05/04 04:51:08 jdhore Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils gnome2-utils games-ggz games
|
||||
|
||||
DESCRIPTION="multiplayer strategy game (Civilization Clone)"
|
||||
HOMEPAGE="http://www.freeciv.org/"
|
||||
SRC_URI="mirror://sourceforge/freeciv/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 x86"
|
||||
IUSE="auth dedicated ggz gtk ipv6 nls readline sdl +sound"
|
||||
|
||||
RDEPEND="readline? ( sys-libs/readline )
|
||||
sys-libs/zlib
|
||||
app-arch/bzip2
|
||||
auth? ( virtual/mysql )
|
||||
!dedicated? (
|
||||
nls? ( virtual/libintl )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
sdl? (
|
||||
media-libs/libsdl[video]
|
||||
media-libs/sdl-image[png]
|
||||
media-libs/freetype
|
||||
)
|
||||
!gtk? ( !sdl? ( x11-libs/gtk+:2 ) )
|
||||
sound? (
|
||||
media-libs/libsdl[audio]
|
||||
media-libs/sdl-mixer
|
||||
)
|
||||
ggz? ( games-board/ggz-gtk-client )
|
||||
media-libs/libpng
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
!dedicated? (
|
||||
nls? ( sys-devel/gettext )
|
||||
x11-proto/xextproto
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
# install the .desktop in /usr/share/applications
|
||||
# install the icons in /usr/share/pixmaps
|
||||
sed -i \
|
||||
-e 's:^\(desktopfiledir = \).*:\1/usr/share/applications:' \
|
||||
-e 's:^\(icon[0-9]*dir = \)$(prefix)\(.*\):\1/usr\2:' \
|
||||
-e 's:^\(icon[0-9]*dir = \)$(datadir)\(.*\):\1/usr/share\2:' \
|
||||
client/Makefile.in \
|
||||
server/Makefile.in \
|
||||
data/Makefile.in \
|
||||
data/icons/Makefile.in \
|
||||
|| die "sed failed"
|
||||
|
||||
# remove civclient manpage if dedicated server
|
||||
if use dedicated ; then
|
||||
epatch "${FILESDIR}"/${P}-clean-man.patch
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myclient myopts
|
||||
|
||||
if use dedicated ; then
|
||||
myclient="no"
|
||||
else
|
||||
use sdl && myclient="${myclient} sdl"
|
||||
use gtk && myclient="${myclient} gtk"
|
||||
[[ -z ${myclient} ]] && myclient="gtk" # default to gtk if none specified
|
||||
myopts=$(use_with ggz ggz-client)
|
||||
fi
|
||||
|
||||
egamesconf \
|
||||
--disable-dependency-tracking \
|
||||
--localedir=/usr/share/locale \
|
||||
--with-ggzconfig=/usr/bin \
|
||||
--enable-noregistry="${GGZ_MODDIR}" \
|
||||
$(use_enable auth) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable nls) \
|
||||
$(use_with readline) \
|
||||
$(use_enable sound sdl-mixer) \
|
||||
${myopts} \
|
||||
--enable-client="${myclient}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
if ! use dedicated ; then
|
||||
# Create and install the html manual. It can't be done for dedicated
|
||||
# servers, because the 'civmanual' tool is then not built. Also
|
||||
# delete civmanual from the GAMES_BINDIR, because it's then useless.
|
||||
# Note: to have it localized, it should be ran from _postinst, or
|
||||
# something like that, but then it's a PITA to avoid orphan files...
|
||||
./manual/freeciv-manual || die "freeciv-manual failed"
|
||||
dohtml manual*.html || die "dohtml failed"
|
||||
rm -f "${D}/${GAMES_BINDIR}"/civmanual
|
||||
use sdl && make_desktop_entry freeciv-sdl "Freeciv (SDL)" freeciv-client
|
||||
fi
|
||||
|
||||
dodoc ChangeLog NEWS doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,README*,TODO}
|
||||
rm -rf "${D}$(games_get_libdir)"
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
games-ggz_update_modules
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
games-ggz_update_modules
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,125 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/freeciv-2.3.1.ebuild,v 1.3 2012/05/04 04:51:08 jdhore Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils gnome2-utils games-ggz games
|
||||
|
||||
DESCRIPTION="multiplayer strategy game (Civilization Clone)"
|
||||
HOMEPAGE="http://www.freeciv.org/"
|
||||
SRC_URI="mirror://sourceforge/freeciv/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 x86"
|
||||
IUSE="auth dedicated ggz gtk ipv6 nls readline sdl +sound"
|
||||
|
||||
RDEPEND="readline? ( sys-libs/readline )
|
||||
sys-libs/zlib
|
||||
app-arch/bzip2
|
||||
auth? ( virtual/mysql )
|
||||
!dedicated? (
|
||||
nls? ( virtual/libintl )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
sdl? (
|
||||
media-libs/libsdl[video]
|
||||
media-libs/sdl-image[png]
|
||||
media-libs/freetype
|
||||
)
|
||||
!gtk? ( !sdl? ( x11-libs/gtk+:2 ) )
|
||||
sound? (
|
||||
media-libs/libsdl[audio]
|
||||
media-libs/sdl-mixer
|
||||
)
|
||||
ggz? ( games-board/ggz-gtk-client )
|
||||
media-libs/libpng
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
!dedicated? (
|
||||
nls? ( sys-devel/gettext )
|
||||
x11-proto/xextproto
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
# install the .desktop in /usr/share/applications
|
||||
# install the icons in /usr/share/pixmaps
|
||||
sed -i \
|
||||
-e 's:^.*\(desktopfiledir = \).*:\1/usr/share/applications:' \
|
||||
-e 's:^\(icon[0-9]*dir = \)$(prefix)\(.*\):\1/usr\2:' \
|
||||
-e 's:^\(icon[0-9]*dir = \)$(datadir)\(.*\):\1/usr/share\2:' \
|
||||
client/Makefile.in \
|
||||
server/Makefile.in \
|
||||
modinst/Makefile.in \
|
||||
data/Makefile.in \
|
||||
data/icons/Makefile.in \
|
||||
|| die "sed failed"
|
||||
|
||||
# remove civclient manpage if dedicated server
|
||||
if use dedicated ; then
|
||||
epatch "${FILESDIR}"/${P}-clean-man.patch
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myclient myopts
|
||||
|
||||
if use dedicated ; then
|
||||
myclient="no"
|
||||
else
|
||||
use sdl && myclient="${myclient} sdl"
|
||||
use gtk && myclient="${myclient} gtk"
|
||||
[[ -z ${myclient} ]] && myclient="gtk" # default to gtk if none specified
|
||||
myopts=$(use_with ggz ggz-client)
|
||||
fi
|
||||
|
||||
egamesconf \
|
||||
--disable-dependency-tracking \
|
||||
--localedir=/usr/share/locale \
|
||||
--with-ggzconfig=/usr/bin \
|
||||
--enable-noregistry="${GGZ_MODDIR}" \
|
||||
$(use_enable auth) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable nls) \
|
||||
$(use_with readline) \
|
||||
$(use_enable sound sdl-mixer) \
|
||||
${myopts} \
|
||||
--enable-client="${myclient}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
if ! use dedicated ; then
|
||||
# Create and install the html manual. It can't be done for dedicated
|
||||
# servers, because the 'civmanual' tool is then not built. Also
|
||||
# delete civmanual from the GAMES_BINDIR, because it's then useless.
|
||||
# Note: to have it localized, it should be ran from _postinst, or
|
||||
# something like that, but then it's a PITA to avoid orphan files...
|
||||
./manual/freeciv-manual || die "freeciv-manual failed"
|
||||
dohtml manual*.html || die "dohtml failed"
|
||||
rm -f "${D}/${GAMES_BINDIR}"/civmanual
|
||||
use sdl && make_desktop_entry freeciv-sdl "Freeciv (SDL)" freeciv-client
|
||||
fi
|
||||
|
||||
dodoc ChangeLog NEWS doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,README*,TODO}
|
||||
rm -rf "${D}$(games_get_libdir)"
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
games-ggz_update_modules
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
games-ggz_update_modules
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST hedgewars-src-0.9.15.tar.bz2 133509451 RMD160 10d86a0f78eae0dd117da7d8c3e84c215eccd3b6 SHA1 c6e8fb136ff450a7f36ad2dca3b0963373dd003b SHA256 b9ebb2e7a55c6d9c9c16f65165d3646262a2e48d1e5c2673fc45eb75fe2fb942
|
||||
DIST hedgewars-src-0.9.16.tar.bz2 136272561 RMD160 282fc43ab015047243b5f463f36f699abc2939c7 SHA1 a59e71d5bd9477a399407264889df41fe9e61200 SHA256 1994b04c1a4360553227fac768abf559b6d572f0c3bc282d9034335ce530b273
|
||||
DIST hedgewars-src-0.9.17.tar.bz2 138938373 RMD160 e1ba672d75032b2fa4c75ddb89dcf7f6ecff53ec SHA1 b7377778f0afbd1c9f1eae0c14036c9575860a83 SHA256 6a5b941825d86ca7ee2dc28f25a868268a07db336bec615167358e880125ca0b
|
||||
|
@ -1,105 +0,0 @@
|
||||
diff -r bd74fd83929a hedgewars/uGears.pas
|
||||
--- a/hedgewars/uGears.pas Tue Dec 28 10:31:48 2010 +0100
|
||||
+++ b/hedgewars/uGears.pas Thu Jan 06 10:11:34 2011 -0500
|
||||
@@ -1830,7 +1830,7 @@
|
||||
if (x < 4) and (TeamsArray[t] <> nil) then
|
||||
begin
|
||||
// if team matches current hedgehog team, default to current hedgehog
|
||||
- if (i = 0) and (CurrentHedgehog^.Team = TeamsArray[t]) then hh:= CurrentHedgehog
|
||||
+ if (i = 0) and (CurrentHedgehog <> nil) and (CurrentHedgehog^.Team = TeamsArray[t]) then hh:= CurrentHedgehog
|
||||
else
|
||||
begin
|
||||
// otherwise use the first living hog or the hog amongs the remaining ones indicated by i
|
||||
@@ -1847,12 +1847,15 @@
|
||||
inc(j)
|
||||
end
|
||||
end;
|
||||
- if hh <> nil then Gear:= AddVisualGear(0, 0, vgtSpeechBubble);
|
||||
- if Gear <> nil then
|
||||
+ if hh <> nil then
|
||||
begin
|
||||
- Gear^.Hedgehog:= hh;
|
||||
- Gear^.Text:= text;
|
||||
- Gear^.FrameTicks:= x
|
||||
+ Gear:= AddVisualGear(0, 0, vgtSpeechBubble);
|
||||
+ if Gear <> nil then
|
||||
+ begin
|
||||
+ Gear^.Hedgehog:= hh;
|
||||
+ Gear^.Text:= text;
|
||||
+ Gear^.FrameTicks:= x
|
||||
+ end
|
||||
end
|
||||
//else ParseCommand('say ' + text, true)
|
||||
end
|
||||
diff -r bd74fd83929a hedgewars/uGearsRender.pas
|
||||
--- a/hedgewars/uGearsRender.pas Tue Dec 28 10:31:48 2010 +0100
|
||||
+++ b/hedgewars/uGearsRender.pas Thu Jan 06 10:11:34 2011 -0500
|
||||
@@ -186,7 +186,7 @@
|
||||
if (Gear^.State and gstHHDeath) <> 0 then
|
||||
begin
|
||||
DrawSprite(sprHHDeath, ox - 16, oy - 26, Gear^.Pos);
|
||||
- Tint(HH^.Team^.Clan^.Color);
|
||||
+ Tint(HH^.Team^.Clan^.Color shl 8 or $FF);
|
||||
DrawSprite(sprHHDeath, ox - 16, oy - 26, Gear^.Pos + 8);
|
||||
Tint($FF, $FF, $FF, $FF);
|
||||
exit
|
||||
@@ -353,7 +353,7 @@
|
||||
i*DxDy2Angle(CurAmmoGear^.dY, CurAmmoGear^.dX) + hAngle);
|
||||
if HatTex^.w > 64 then
|
||||
begin
|
||||
- Tint(HH^.Team^.Clan^.Color);
|
||||
+ Tint(HH^.Team^.Clan^.Color shl 8 or $FF);
|
||||
DrawRotatedTextureF(HatTex, 1.0, -1.0, -6.0, ox, oy, 32, i, 32, 32,
|
||||
i*DxDy2Angle(CurAmmoGear^.dY, CurAmmoGear^.dX) + hAngle);
|
||||
Tint($FF, $FF, $FF, $FF)
|
||||
@@ -383,7 +383,7 @@
|
||||
32);
|
||||
if HatTex^.w > 64 then
|
||||
begin
|
||||
- Tint(HH^.Team^.Clan^.Color);
|
||||
+ Tint(HH^.Team^.Clan^.Color shl 8 or $FF);
|
||||
DrawTextureF(HatTex,
|
||||
1,
|
||||
sx,
|
||||
@@ -705,7 +705,7 @@
|
||||
32);
|
||||
if HatTex^.w > 64 then
|
||||
begin
|
||||
- Tint(HH^.Team^.Clan^.Color);
|
||||
+ Tint(HH^.Team^.Clan^.Color shl 8 or $FF);
|
||||
DrawTextureF(HatTex,
|
||||
HatVisibility,
|
||||
sx,
|
||||
@@ -729,7 +729,7 @@
|
||||
32);
|
||||
if HatTex^.w > 64 then
|
||||
begin
|
||||
- Tint(HH^.Team^.Clan^.Color);
|
||||
+ Tint(HH^.Team^.Clan^.Color shl 8 or $FF);
|
||||
DrawTextureF(HatTex,
|
||||
HatVisibility,
|
||||
sx,
|
||||
diff -r bd74fd83929a hedgewars/uStore.pas
|
||||
--- a/hedgewars/uStore.pas Tue Dec 28 10:31:48 2010 +0100
|
||||
+++ b/hedgewars/uStore.pas Thu Jan 06 10:11:34 2011 -0500
|
||||
@@ -274,7 +274,7 @@
|
||||
for ii:= Low(TSprite) to High(TSprite) do
|
||||
with SpritesData[ii] do
|
||||
// FIXME - add a sprite attribute
|
||||
- if ((cReducedQuality and rqNoBackground) = 0) or (not (ii in [sprSky, sprSkyL, sprSkyR, sprHorizont, sprHorizontL, sprHorizontR, sprFlake, sprSplash, sprDroplet])) then // FIXME: hack
|
||||
+ if ((cReducedQuality and rqNoBackground) = 0) or (not (ii in [sprSky, sprSkyL, sprSkyR, sprHorizont, sprHorizontL, sprHorizontR, sprFlake, sprSplash, sprDroplet]) or (((Theme = 'Snow') or (Theme = 'Christmas')) and (ii = sprFlake))) then // FIXME: hack
|
||||
begin
|
||||
if AltPath = ptNone then
|
||||
if ii in [sprHorizontL, sprHorizontR, sprSkyL, sprSkyR] then // FIXME: hack
|
||||
diff -r bd74fd83929a hedgewars/uWorld.pas
|
||||
--- a/hedgewars/uWorld.pas Tue Dec 28 10:31:48 2010 +0100
|
||||
+++ b/hedgewars/uWorld.pas Thu Jan 06 10:11:34 2011 -0500
|
||||
@@ -742,7 +742,7 @@
|
||||
highlight:= bShowFinger and (CurrentTeam = TeamsArray[t]) and ((RealTicks mod 1000) < 500);
|
||||
|
||||
if highlight then
|
||||
- Tint(Clan^.Color);
|
||||
+ Tint(Clan^.Color shl 8 or $FF);
|
||||
|
||||
// draw name
|
||||
DrawTexture(-NameTagTex^.w - 16, cScreenHeight + DrawHealthY, NameTagTex);
|
@ -1,18 +0,0 @@
|
||||
diff -r bd74fd83929a share/hedgewars/Data/Maps/CTF_Blizzard/map.lua
|
||||
--- a/share/hedgewars/Data/Maps/CTF_Blizzard/map.lua Tue Dec 28 10:31:48 2010 +0100
|
||||
+++ b/share/hedgewars/Data/Maps/CTF_Blizzard/map.lua Thu Jan 06 10:49:46 2011 -0500
|
||||
@@ -153,9 +153,11 @@
|
||||
-- steam and smoke and DUST look good, smokering looks trippy
|
||||
-- smoketrace and eviltrace are not effected by wind?
|
||||
-- chunk is a LR falling gear
|
||||
- tempE = AddVisualGear(eX, eY, vgtDust, 0, false)
|
||||
- g1, g2, g3, g4, g5, g6, g7, g8, g9, g10 = GetVisualGearValues(tempE)
|
||||
- SetVisualGearValues(tempE, eX, eY, g3, g4, g5, g6, g7, g8, g9, fCol[i])
|
||||
+ tempE = AddVisualGear(eX, eY, vgtDust, 0, false)
|
||||
+ if tempE ~= 0 then
|
||||
+ g1, g2, g3, g4, g5, g6, g7, g8, g9, g10 = GetVisualGearValues(tempE)
|
||||
+ SetVisualGearValues(tempE, eX, eY, g3, g4, g5, g6, g7, g8, g9, fCol[i])
|
||||
+ end
|
||||
end
|
||||
end
|
||||
end
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/hedgewars-0.9.15.ebuild,v 1.3 2011/04/12 02:37:11 tomka Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit cmake-utils eutils games
|
||||
|
||||
MY_P=${PN}-src-${PV}
|
||||
DESCRIPTION="Free Worms-like turn based strategy game"
|
||||
HOMEPAGE="http://hedgewars.org/"
|
||||
SRC_URI="http://hedgewars.org/download/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 Apache-2.0 FDL-1.3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="x11-libs/qt-gui:4
|
||||
media-libs/libsdl[audio,opengl,video]
|
||||
media-libs/sdl-ttf
|
||||
media-libs/sdl-mixer[vorbis]
|
||||
media-libs/sdl-image[png]
|
||||
media-libs/sdl-net
|
||||
dev-lang/lua"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-lang/fpc-2.4"
|
||||
RDEPEND="${RDEPEND}
|
||||
>=media-fonts/dejavu-2.28"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-fixes.patch
|
||||
"${FILESDIR}"/${P}-lua.patch )
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}"
|
||||
-DDATA_INSTALL_DIR="${GAMES_DATADIR}"
|
||||
-DCMAKE_VERBOSE_MAKEFILE=TRUE )
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DOCS="ChangeLog.txt README" cmake-utils_src_install
|
||||
rm -f "${D}"/usr/share/games/hedgewars/Data/Fonts/DejaVuSans-Bold.ttf
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf \
|
||||
"${GAMES_DATADIR}"/hedgewars/Data/Fonts/DejaVuSans-Bold.ttf
|
||||
newicon QTfrontend/res/hh25x25.png ${PN}.png
|
||||
make_desktop_entry ${PN} Hedgewars
|
||||
doman man/${PN}.6
|
||||
prepgamesdirs
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/hedgewars-0.9.16.ebuild,v 1.5 2011/12/05 14:34:55 tomka Exp $
|
||||
|
||||
EAPI=2
|
||||
CMAKE_BUILD_TYPE=Release
|
||||
inherit cmake-utils eutils games
|
||||
|
||||
MY_P=${PN}-src-${PV}
|
||||
DESCRIPTION="Free Worms-like turn based strategy game"
|
||||
HOMEPAGE="http://hedgewars.org/"
|
||||
SRC_URI="http://download.gna.org/hedgewars/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 Apache-2.0 FDL-1.3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
QA_DT_HASH=${GAMES_BINDIR}/hwengine # pascal sucks
|
||||
|
||||
RDEPEND="x11-libs/qt-gui:4
|
||||
media-libs/libsdl[audio,opengl,video]
|
||||
media-libs/sdl-ttf
|
||||
media-libs/sdl-mixer[vorbis]
|
||||
media-libs/sdl-image[png]
|
||||
media-libs/sdl-net
|
||||
dev-lang/lua"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-lang/fpc-2.4"
|
||||
RDEPEND="${RDEPEND}
|
||||
>=media-fonts/dejavu-2.28"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}"
|
||||
-DDATA_INSTALL_DIR="${GAMES_DATADIR}"
|
||||
-DCMAKE_VERBOSE_MAKEFILE=TRUE )
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DOCS="ChangeLog.txt README" cmake-utils_src_install
|
||||
rm -f "${D}"/usr/share/games/hedgewars/Data/Fonts/DejaVuSans-Bold.ttf
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf \
|
||||
"${GAMES_DATADIR}"/hedgewars/Data/Fonts/DejaVuSans-Bold.ttf
|
||||
newicon QTfrontend/res/hh25x25.png ${PN}.png
|
||||
make_desktop_entry ${PN} Hedgewars
|
||||
doman man/${PN}.6
|
||||
prepgamesdirs
|
||||
}
|
@ -1,130 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-strategy/uqm/uqm-0.6.2.ebuild,v 1.13 2011/06/24 11:31:11 tupone Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils multilib games
|
||||
|
||||
DESCRIPTION="The Ur-Quan Masters: Port of Star Control 2"
|
||||
HOMEPAGE="http://sc2.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/sc2/${P}-source.tgz
|
||||
mirror://sourceforge/sc2/${PN}-0.6.0-content.uqm
|
||||
music? ( mirror://sourceforge/sc2/${PN}-0.6.0-3domusic.uqm )
|
||||
voice? ( mirror://sourceforge/sc2/${PN}-0.6.0-voice.uqm )
|
||||
remix? ( mirror://sourceforge/sc2/${PN}-remix-pack1.zip \
|
||||
mirror://sourceforge/sc2/${PN}-remix-pack2.zip \
|
||||
mirror://sourceforge/sc2/${PN}-remix-pack3.zip )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
IUSE="music opengl remix voice"
|
||||
|
||||
RDEPEND="media-libs/libvorbis
|
||||
virtual/jpeg
|
||||
>=media-libs/libpng-1.4
|
||||
media-libs/libsdl
|
||||
media-libs/sdl-image
|
||||
media-libs/libogg
|
||||
media-libs/libvorbis
|
||||
media-libs/libmikmod"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}-source.tgz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local myopengl
|
||||
|
||||
# Because the new 0.6.* source archives have
|
||||
# everything in a subdir called "sc2". This,
|
||||
# I have found, is the simplest way to get
|
||||
# around that problem. (That doesn't change
|
||||
# the fact that the rest of this ebuild is
|
||||
# very nasty. I was not able to clean it up.)
|
||||
mv ./sc2/* ./
|
||||
|
||||
use opengl \
|
||||
&& myopengl=opengl \
|
||||
|| myopengl=pure
|
||||
|
||||
cat <<-EOF > config.state
|
||||
CHOICE_debug_VALUE='nodebug'
|
||||
CHOICE_graphics_VALUE='${myopengl}'
|
||||
CHOICE_sound_VALUE='mixsdl'
|
||||
CHOICE_accel_VALUE='plainc'
|
||||
INPUT_install_prefix_VALUE='${GAMES_PREFIX}'
|
||||
INPUT_install_bindir_VALUE='\$prefix/bin'
|
||||
INPUT_install_libdir_VALUE='\$prefix/lib'
|
||||
INPUT_install_sharedir_VALUE='${GAMES_DATADIR}/'
|
||||
EOF
|
||||
|
||||
# Take out the read so we can be non-interactive.
|
||||
sed -i \
|
||||
-e '/read CHOICE/d' build/unix/menu_functions \
|
||||
|| die "sed menu_functions failed"
|
||||
|
||||
# support the user's CFLAGS.
|
||||
sed -i \
|
||||
-e "s/-O3/${CFLAGS}/" build/unix/build.config \
|
||||
|| die "sed build.config failed"
|
||||
|
||||
sed -i \
|
||||
-e "s:@INSTALL_LIBDIR@:$(games_get_libdir)/:g" build/unix/uqm-wrapper.in \
|
||||
|| die "sed uqm-wrapper.in failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
./build.sh uqm || die "build failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Using the included install scripts seems quite painful.
|
||||
# This manual install is totally fragile but maybe they'll
|
||||
# use a sane build system for the next release.
|
||||
newgamesbin uqm-wrapper uqm || die "newgamesbin failed"
|
||||
exeinto "$(games_get_libdir)"/${PN}
|
||||
doexe uqm || die "doexe failed"
|
||||
|
||||
insinto "${GAMES_DATADIR}"/${PN}/content/packages
|
||||
doins "${DISTDIR}"/${PN}-0.6.0-content.uqm || die "doins failed"
|
||||
echo ${P} > "${D}${GAMES_DATADIR}"/${PN}/content/version \
|
||||
|| die "creating version file failed"
|
||||
|
||||
insinto "${GAMES_DATADIR}"/${PN}/content/packages
|
||||
if use music; then
|
||||
doins "${DISTDIR}"/${PN}-0.6.0-3domusic.uqm || die "doins failed"
|
||||
fi
|
||||
|
||||
if use voice; then
|
||||
doins "${DISTDIR}"/${PN}-0.6.0-voice.uqm || die "doins failed"
|
||||
fi
|
||||
|
||||
if use remix; then
|
||||
insinto "${GAMES_DATADIR}"/${PN}/content/packages/addons/uqmremix
|
||||
doins "${DISTDIR}"/${PN}-remix-pack{1,2,3}.zip || die "doins failed"
|
||||
fi
|
||||
|
||||
dodoc AUTHORS ChangeLog Contributing README WhatsNew doc/users/manual.txt
|
||||
docinto devel
|
||||
dodoc doc/devel/[!n]*
|
||||
docinto devel/netplay
|
||||
dodoc doc/devel/netplay/*
|
||||
make_desktop_entry uqm "The Ur-Quan Masters"
|
||||
prepgamesdirs
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
if use remix ; then
|
||||
echo
|
||||
elog "To hear all the remixed music made by the The Ur-Quan Masters"
|
||||
elog "project's Precursors Team instead of the original ones,"
|
||||
elog "start the game with:"
|
||||
elog " --addon uqmremix"
|
||||
echo
|
||||
fi
|
||||
}
|
@ -1,5 +1,4 @@
|
||||
DIST gnome-color-manager-2.32.0.tar.bz2 2491525 RMD160 6ad3b2d3a4cd84ba78988411d7402abca46aebcf SHA1 18cdc922188c2872c5e0c32b215e6cbea878e289 SHA256 fa287ef12d329643d1f01b8f35c2b104dd293cd30e91a012f04929c203da54cf
|
||||
DIST gnome-color-manager-3.2.3.tar.xz 2495852 RMD160 30ee004cfaf79f65db7991a69a05974ad3f871eb SHA1 a2f34b2a339d4aa7ae611d59cb1bea28f00c58b9 SHA256 5fc3073f97df5ddd98e2e85d75e9f4763129e62a565568c7b3c48aa6cf8cdb36
|
||||
DIST gnome-color-manager-3.2.4.tar.xz 2496792 RMD160 a4599e9fd1357b710565c1979bbc3d46db06940f SHA1 f21adf1c5d202f8279da1f218ef35df57e695481 SHA256 3b6146edf551b3cff9313658f9deccc5a7a595718b1e14313011ff5a0f1b2137
|
||||
DIST gnome-color-manager-3.4.0.tar.xz 2519920 RMD160 373ac322a23cdecacef18fb7a5013ebdeb2eba8f SHA1 3cf9063639f44abeb4af52127e1abf4c3c1f892a SHA256 fcca7292d14dcffea01463bb24833346b415ee189611821399ca96d6638d812d
|
||||
DIST gnome-color-manager-3.4.2.tar.xz 2520548 RMD160 cd09904b4d037e38a2b034bae35879eb43adb14b SHA1 143644a936e0847aa6508ca2aa34e2099d74470c SHA256 ad69ac0ac242be0ad5b7966e0c2978a9a1440e52ee816993e4a8eb2cf6f0c922
|
||||
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-color-manager/gnome-color-manager-3.4.0.ebuild,v 1.1 2012/05/13 23:36:49 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Color profile manager for the GNOME desktop"
|
||||
HOMEPAGE="http://projects.gnome.org/gnome-color-manager/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="clutter packagekit raw"
|
||||
|
||||
# FIXME: fix detection of docbook2man
|
||||
COMMON_DEPEND=">=dev-libs/glib-2.31.10:2
|
||||
gnome-base/gnome-desktop:3
|
||||
>=media-libs/lcms-2.2:2
|
||||
>=media-libs/libcanberra-0.10[gtk3]
|
||||
media-libs/libexif
|
||||
media-libs/tiff
|
||||
|
||||
x11-libs/libX11
|
||||
x11-libs/libXrandr
|
||||
>=x11-libs/gtk+-2.91:3
|
||||
>=x11-libs/vte-0.25.1:2.90
|
||||
>=x11-misc/colord-0.1.12
|
||||
|
||||
clutter? (
|
||||
>=media-libs/clutter-1.9.11:1.0
|
||||
media-libs/clutter-gtk:1.0
|
||||
media-libs/mash:0.2 )
|
||||
packagekit? ( app-admin/packagekit-base )
|
||||
raw? ( media-gfx/exiv2 )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
media-gfx/shared-color-profiles
|
||||
"
|
||||
# docbook-sgml-{utils,dtd:4.1} needed to generate man pages
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/docbook-sgml-dtd:4.1
|
||||
app-text/docbook-sgml-utils
|
||||
app-text/gnome-doc-utils
|
||||
dev-libs/libxslt
|
||||
>=dev-util/intltool-0.35
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
# FIXME: run test-suite with files on live file-system
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
# Always enable tests since they are check_PROGRAMS anyway
|
||||
G2CONF="${G2CONF}
|
||||
--disable-static
|
||||
--disable-schemas-compile
|
||||
--disable-scrollkeeper
|
||||
--enable-tests
|
||||
$(use_enable clutter)
|
||||
$(use_enable packagekit)
|
||||
$(use_enable raw exiv)"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
|
||||
elog "If you want to do display or scanner calibration, you will need to"
|
||||
elog "install media-gfx/argyllcms"
|
||||
}
|
@ -0,0 +1,374 @@
|
||||
Mozilla Public License Version 2.0
|
||||
==================================
|
||||
|
||||
1. Definitions
|
||||
--------------
|
||||
|
||||
1.1. "Contributor"
|
||||
means each individual or legal entity that creates, contributes to
|
||||
the creation of, or owns Covered Software.
|
||||
|
||||
1.2. "Contributor Version"
|
||||
means the combination of the Contributions of others (if any) used
|
||||
by a Contributor and that particular Contributor's Contribution.
|
||||
|
||||
1.3. "Contribution"
|
||||
means Covered Software of a particular Contributor.
|
||||
|
||||
1.4. "Covered Software"
|
||||
means Source Code Form to which the initial Contributor has attached
|
||||
the notice in Exhibit A, the Executable Form of such Source Code
|
||||
Form, and Modifications of such Source Code Form, in each case
|
||||
including portions thereof.
|
||||
|
||||
1.5. "Incompatible With Secondary Licenses"
|
||||
means
|
||||
|
||||
(a) that the initial Contributor has attached the notice described
|
||||
in Exhibit B to the Covered Software; or
|
||||
|
||||
(b) that the Covered Software was made available under the terms of
|
||||
version 1.1 or earlier of the License, but not also under the
|
||||
terms of a Secondary License.
|
||||
|
||||
1.6. "Executable Form"
|
||||
means any form of the work other than Source Code Form.
|
||||
|
||||
1.7. "Larger Work"
|
||||
means a work that combines Covered Software with other material, in
|
||||
a separate file or files, that is not Covered Software.
|
||||
|
||||
1.8. "License"
|
||||
means this document.
|
||||
|
||||
1.9. "Licensable"
|
||||
means having the right to grant, to the maximum extent possible,
|
||||
whether at the time of the initial grant or subsequently, any and
|
||||
all of the rights conveyed by this License.
|
||||
|
||||
1.10. "Modifications"
|
||||
means any of the following:
|
||||
|
||||
(a) any file in Source Code Form that results from an addition to,
|
||||
deletion from, or modification of the contents of Covered
|
||||
Software; or
|
||||
|
||||
(b) any new file in Source Code Form that contains any Covered
|
||||
Software.
|
||||
|
||||
1.11. "Patent Claims" of a Contributor
|
||||
means any patent claim(s), including without limitation, method,
|
||||
process, and apparatus claims, in any patent Licensable by such
|
||||
Contributor that would be infringed, but for the grant of the
|
||||
License, by the making, using, selling, offering for sale, having
|
||||
made, import, or transfer of either its Contributions or its
|
||||
Contributor Version.
|
||||
|
||||
1.12. "Secondary License"
|
||||
means either the GNU General Public License, Version 2.0, the GNU
|
||||
Lesser General Public License, Version 2.1, the GNU Affero General
|
||||
Public License, Version 3.0, or any later versions of those
|
||||
licenses.
|
||||
|
||||
1.13. "Source Code Form"
|
||||
means the form of the work preferred for making modifications.
|
||||
|
||||
1.14. "You" (or "Your")
|
||||
means an individual or a legal entity exercising rights under this
|
||||
License. For legal entities, "You" includes any entity that
|
||||
controls, is controlled by, or is under common control with You. For
|
||||
purposes of this definition, "control" means (a) the power, direct
|
||||
or indirect, to cause the direction or management of such entity,
|
||||
whether by contract or otherwise, or (b) ownership of more than
|
||||
fifty percent (50%) of the outstanding shares or beneficial
|
||||
ownership of such entity.
|
||||
|
||||
2. License Grants and Conditions
|
||||
--------------------------------
|
||||
|
||||
2.1. Grants
|
||||
|
||||
Each Contributor hereby grants You a world-wide, royalty-free,
|
||||
non-exclusive license:
|
||||
|
||||
(a) under intellectual property rights (other than patent or trademark)
|
||||
Licensable by such Contributor to use, reproduce, make available,
|
||||
modify, display, perform, distribute, and otherwise exploit its
|
||||
Contributions, either on an unmodified basis, with Modifications, or
|
||||
as part of a Larger Work; and
|
||||
|
||||
(b) under Patent Claims of such Contributor to make, use, sell, offer
|
||||
for sale, have made, import, and otherwise transfer either its
|
||||
Contributions or its Contributor Version.
|
||||
|
||||
2.2. Effective Date
|
||||
|
||||
The licenses granted in Section 2.1 with respect to any Contribution
|
||||
become effective for each Contribution on the date the Contributor first
|
||||
distributes such Contribution.
|
||||
|
||||
2.3. Limitations on Grant Scope
|
||||
|
||||
The licenses granted in this Section 2 are the only rights granted under
|
||||
this License. No additional rights or licenses will be implied from the
|
||||
distribution or licensing of Covered Software under this License.
|
||||
Notwithstanding Section 2.1(b) above, no patent license is granted by a
|
||||
Contributor:
|
||||
|
||||
(a) for any code that a Contributor has removed from Covered Software;
|
||||
or
|
||||
|
||||
(b) for infringements caused by: (i) Your and any other third party's
|
||||
modifications of Covered Software, or (ii) the combination of its
|
||||
Contributions with other software (except as part of its Contributor
|
||||
Version); or
|
||||
|
||||
(c) under Patent Claims infringed by Covered Software in the absence of
|
||||
its Contributions.
|
||||
|
||||
This License does not grant any rights in the trademarks, service marks,
|
||||
or logos of any Contributor (except as may be necessary to comply with
|
||||
the notice requirements in Section 3.4).
|
||||
|
||||
2.4. Subsequent Licenses
|
||||
|
||||
No Contributor makes additional grants as a result of Your choice to
|
||||
distribute the Covered Software under a subsequent version of this
|
||||
License (see Section 10.2) or under the terms of a Secondary License (if
|
||||
permitted under the terms of Section 3.3).
|
||||
|
||||
2.5. Representation
|
||||
|
||||
Each Contributor represents that the Contributor believes its
|
||||
Contributions are its original creation(s) or it has sufficient rights
|
||||
to grant the rights to its Contributions conveyed by this License.
|
||||
|
||||
2.6. Fair Use
|
||||
|
||||
This License is not intended to limit any rights You have under
|
||||
applicable copyright doctrines of fair use, fair dealing, or other
|
||||
equivalents.
|
||||
|
||||
2.7. Conditions
|
||||
|
||||
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
|
||||
in Section 2.1.
|
||||
|
||||
3. Responsibilities
|
||||
-------------------
|
||||
|
||||
3.1. Distribution of Source Form
|
||||
|
||||
All distribution of Covered Software in Source Code Form, including any
|
||||
Modifications that You create or to which You contribute, must be under
|
||||
the terms of this License. You must inform recipients that the Source
|
||||
Code Form of the Covered Software is governed by the terms of this
|
||||
License, and how they can obtain a copy of this License. You may not
|
||||
attempt to alter or restrict the recipients' rights in the Source Code
|
||||
Form.
|
||||
|
||||
3.2. Distribution of Executable Form
|
||||
|
||||
If You distribute Covered Software in Executable Form then:
|
||||
|
||||
(a) such Covered Software must also be made available in Source Code
|
||||
Form, as described in Section 3.1, and You must inform recipients of
|
||||
the Executable Form how they can obtain a copy of such Source Code
|
||||
Form by reasonable means in a timely manner, at a charge no more
|
||||
than the cost of distribution to the recipient; and
|
||||
|
||||
(b) You may distribute such Executable Form under the terms of this
|
||||
License, or sublicense it under different terms, provided that the
|
||||
license for the Executable Form does not attempt to limit or alter
|
||||
the recipients' rights in the Source Code Form under this License.
|
||||
|
||||
3.3. Distribution of a Larger Work
|
||||
|
||||
You may create and distribute a Larger Work under terms of Your choice,
|
||||
provided that You also comply with the requirements of this License for
|
||||
the Covered Software. If the Larger Work is a combination of Covered
|
||||
Software with a work governed by one or more Secondary Licenses, and the
|
||||
Covered Software is not Incompatible With Secondary Licenses, this
|
||||
License permits You to additionally distribute such Covered Software
|
||||
under the terms of such Secondary License(s), so that the recipient of
|
||||
the Larger Work may, at their option, further distribute the Covered
|
||||
Software under the terms of either this License or such Secondary
|
||||
License(s).
|
||||
|
||||
3.4. Notices
|
||||
|
||||
You may not remove or alter the substance of any license notices
|
||||
(including copyright notices, patent notices, disclaimers of warranty,
|
||||
or limitations of liability) contained within the Source Code Form of
|
||||
the Covered Software, except that You may alter any license notices to
|
||||
the extent required to remedy known factual inaccuracies.
|
||||
|
||||
3.5. Application of Additional Terms
|
||||
|
||||
You may choose to offer, and to charge a fee for, warranty, support,
|
||||
indemnity or liability obligations to one or more recipients of Covered
|
||||
Software. However, You may do so only on Your own behalf, and not on
|
||||
behalf of any Contributor. You must make it absolutely clear that any
|
||||
such warranty, support, indemnity, or liability obligation is offered by
|
||||
You alone, and You hereby agree to indemnify every Contributor for any
|
||||
liability incurred by such Contributor as a result of warranty, support,
|
||||
indemnity or liability terms You offer. You may include additional
|
||||
disclaimers of warranty and limitations of liability specific to any
|
||||
jurisdiction.
|
||||
|
||||
4. Inability to Comply Due to Statute or Regulation
|
||||
---------------------------------------------------
|
||||
|
||||
If it is impossible for You to comply with any of the terms of this
|
||||
License with respect to some or all of the Covered Software due to
|
||||
statute, judicial order, or regulation then You must: (a) comply with
|
||||
the terms of this License to the maximum extent possible; and (b)
|
||||
describe the limitations and the code they affect. Such description must
|
||||
be placed in a text file included with all distributions of the Covered
|
||||
Software under this License. Except to the extent prohibited by statute
|
||||
or regulation, such description must be sufficiently detailed for a
|
||||
recipient of ordinary skill to be able to understand it.
|
||||
|
||||
5. Termination
|
||||
--------------
|
||||
|
||||
5.1. The rights granted under this License will terminate automatically
|
||||
if You fail to comply with any of its terms. However, if You become
|
||||
compliant, then the rights granted under this License from a particular
|
||||
Contributor are reinstated (a) provisionally, unless and until such
|
||||
Contributor explicitly and finally terminates Your grants, and (b) on an
|
||||
ongoing basis, if such Contributor fails to notify You of the
|
||||
non-compliance by some reasonable means prior to 60 days after You have
|
||||
come back into compliance. Moreover, Your grants from a particular
|
||||
Contributor are reinstated on an ongoing basis if such Contributor
|
||||
notifies You of the non-compliance by some reasonable means, this is the
|
||||
first time You have received notice of non-compliance with this License
|
||||
from such Contributor, and You become compliant prior to 30 days after
|
||||
Your receipt of the notice.
|
||||
|
||||
5.2. If You initiate litigation against any entity by asserting a patent
|
||||
infringement claim (excluding declaratory judgment actions,
|
||||
counter-claims, and cross-claims) alleging that a Contributor Version
|
||||
directly or indirectly infringes any patent, then the rights granted to
|
||||
You by any and all Contributors for the Covered Software under Section
|
||||
2.1 of this License shall terminate.
|
||||
|
||||
5.3. In the event of termination under Sections 5.1 or 5.2 above, all
|
||||
end user license agreements (excluding distributors and resellers) which
|
||||
have been validly granted by You or Your distributors under this License
|
||||
prior to termination shall survive termination.
|
||||
|
||||
************************************************************************
|
||||
* *
|
||||
* 6. Disclaimer of Warranty *
|
||||
* ------------------------- *
|
||||
* *
|
||||
* Covered Software is provided under this License on an "as is" *
|
||||
* basis, without warranty of any kind, either expressed, implied, or *
|
||||
* statutory, including, without limitation, warranties that the *
|
||||
* Covered Software is free of defects, merchantable, fit for a *
|
||||
* particular purpose or non-infringing. The entire risk as to the *
|
||||
* quality and performance of the Covered Software is with You. *
|
||||
* Should any Covered Software prove defective in any respect, You *
|
||||
* (not any Contributor) assume the cost of any necessary servicing, *
|
||||
* repair, or correction. This disclaimer of warranty constitutes an *
|
||||
* essential part of this License. No use of any Covered Software is *
|
||||
* authorized under this License except under this disclaimer. *
|
||||
* *
|
||||
************************************************************************
|
||||
|
||||
************************************************************************
|
||||
* *
|
||||
* 7. Limitation of Liability *
|
||||
* -------------------------- *
|
||||
* *
|
||||
* Under no circumstances and under no legal theory, whether tort *
|
||||
* (including negligence), contract, or otherwise, shall any *
|
||||
* Contributor, or anyone who distributes Covered Software as *
|
||||
* permitted above, be liable to You for any direct, indirect, *
|
||||
* special, incidental, or consequential damages of any character *
|
||||
* including, without limitation, damages for lost profits, loss of *
|
||||
* goodwill, work stoppage, computer failure or malfunction, or any *
|
||||
* and all other commercial damages or losses, even if such party *
|
||||
* shall have been informed of the possibility of such damages. This *
|
||||
* limitation of liability shall not apply to liability for death or *
|
||||
* personal injury resulting from such party's negligence to the *
|
||||
* extent applicable law prohibits such limitation. Some *
|
||||
* jurisdictions do not allow the exclusion or limitation of *
|
||||
* incidental or consequential damages, so this exclusion and *
|
||||
* limitation may not apply to You. *
|
||||
* *
|
||||
************************************************************************
|
||||
|
||||
8. Litigation
|
||||
-------------
|
||||
|
||||
Any litigation relating to this License may be brought only in the
|
||||
courts of a jurisdiction where the defendant maintains its principal
|
||||
place of business and such litigation shall be governed by laws of that
|
||||
jurisdiction, without reference to its conflict-of-law provisions.
|
||||
Nothing in this Section shall prevent a party's ability to bring
|
||||
cross-claims or counter-claims.
|
||||
|
||||
9. Miscellaneous
|
||||
----------------
|
||||
|
||||
This License represents the complete agreement concerning the subject
|
||||
matter hereof. If any provision of this License is held to be
|
||||
unenforceable, such provision shall be reformed only to the extent
|
||||
necessary to make it enforceable. Any law or regulation which provides
|
||||
that the language of a contract shall be construed against the drafter
|
||||
shall not be used to construe this License against a Contributor.
|
||||
|
||||
10. Versions of the License
|
||||
---------------------------
|
||||
|
||||
10.1. New Versions
|
||||
|
||||
Mozilla Foundation is the license steward. Except as provided in Section
|
||||
10.3, no one other than the license steward has the right to modify or
|
||||
publish new versions of this License. Each version will be given a
|
||||
distinguishing version number.
|
||||
|
||||
10.2. Effect of New Versions
|
||||
|
||||
You may distribute the Covered Software under the terms of the version
|
||||
of the License under which You originally received the Covered Software,
|
||||
or under the terms of any subsequent version published by the license
|
||||
steward.
|
||||
|
||||
10.3. Modified Versions
|
||||
|
||||
If you create software not governed by this License, and you want to
|
||||
create a new license for such software, you may create and use a
|
||||
modified version of this License if you rename the license and remove
|
||||
any references to the name of the license steward (except to note that
|
||||
such modified license differs from this License).
|
||||
|
||||
10.4. Distributing Source Code Form that is Incompatible With Secondary
|
||||
Licenses
|
||||
|
||||
If You choose to distribute Source Code Form that is Incompatible With
|
||||
Secondary Licenses under the terms of this version of the License, the
|
||||
notice described in Exhibit B of this License must be attached.
|
||||
|
||||
Exhibit A - Source Code Form License Notice
|
||||
-------------------------------------------
|
||||
|
||||
This Source Code Form is subject to the terms of the Mozilla Public
|
||||
License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
If it is not possible or desirable to put the notice in a particular
|
||||
file, then You may include the notice in a location (such as a LICENSE
|
||||
file in a relevant directory) where a recipient would be likely to look
|
||||
for such a notice.
|
||||
|
||||
You may add additional accurate notices of copyright ownership.
|
||||
|
||||
Exhibit B - "Incompatible With Secondary Licenses" Notice
|
||||
---------------------------------------------------------
|
||||
|
||||
This Source Code Form is "Incompatible With Secondary Licenses", as
|
||||
defined by the Mozilla Public License, v. 2.0.
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue