parent
7d2f16ff65
commit
ef34679dd0
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-baselibs/emul-linux-x86-baselibs-20131008-r8.ebuild,v 1.1 2013/12/30 08:37:02 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit emul-linux-x86
|
||||
|
||||
LICENSE="Artistic GPL-1 GPL-2 GPL-3 BSD BSD-2 BZIP2 AFL-2.1 LGPL-2.1 BSD-4 MIT
|
||||
public-domain LGPL-3 LGPL-2 GPL-2-with-exceptions MPL-1.1 OPENLDAP
|
||||
Sleepycat UoI-NCSA ZLIB openafs-krb5-a HPND ISC RSA IJG libmng libtiff
|
||||
openssl tcp_wrappers_license"
|
||||
|
||||
KEYWORDS="-* ~amd64"
|
||||
IUSE="abi_x86_32"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="!<app-emulation/emul-linux-x86-medialibs-10.2
|
||||
abi_x86_32? (
|
||||
>=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)]
|
||||
>=app-arch/bzip2-1.0.6-r4[abi_x86_32(-)]
|
||||
>=media-libs/libpng-1.5.16-r1:0[abi_x86_32(-)]
|
||||
>=dev-libs/udis86-1.7-r2[abi_x86_32(-)]
|
||||
>=virtual/libffi-3.0.13-r1[abi_x86_32(-)]
|
||||
>=sys-devel/llvm-3.3-r1[abi_x86_32(-)]
|
||||
>=media-libs/libpng-1.2.50-r1:1.2[abi_x86_32(-)]
|
||||
>=media-libs/libjpeg-turbo-1.3.0-r2:0[abi_x86_32(-)]
|
||||
>=sys-libs/libraw1394-2.1.0-r1[abi_x86_32(-)]
|
||||
>=sys-libs/libavc1394-0.5.4-r1[abi_x86_32(-)]
|
||||
>=dev-libs/expat-2.1.0-r3[abi_x86_32(-)]
|
||||
>=virtual/libusb-0-r1:0[abi_x86_32(-)]
|
||||
>=virtual/libusb-1-r1:1[abi_x86_32(-)]
|
||||
|| (
|
||||
>=virtual/udev-206-r1[abi_x86_32(-)]
|
||||
~virtual/udev-204[abi_x86_32(-)] )
|
||||
>=media-libs/tiff-4.0.3-r5:0[abi_x86_32(-)]
|
||||
>=sys-apps/attr-2.4.47-r1[abi_x86_32(-)]
|
||||
>=dev-libs/glib-2.36.3-r2:2[abi_x86_32(-)]
|
||||
>=media-libs/lcms-2.5-r1:2[abi_x86_32(-)]
|
||||
>=app-text/libpaper-1.1.24-r2[abi_x86_32(-)]
|
||||
>=media-libs/tiff-3.9.7-r1:3[abi_x86_32(-)]
|
||||
|| (
|
||||
>=dev-libs/elfutils-0.155-r1[abi_x86_32(-)]
|
||||
>=dev-libs/libelf-0.8.13-r2[abi_x86_32(-)]
|
||||
)
|
||||
>=sys-libs/e2fsprogs-libs-1.42.7-r1[abi_x86_32(-)]
|
||||
>=sys-libs/ncurses-5.9-r3[abi_x86_32(-)]
|
||||
>=sys-libs/gpm-1.20.7-r2[abi_x86_32(-)]
|
||||
>=dev-libs/gmp-5.1.3-r1[abi_x86_32(-)]
|
||||
>=dev-libs/libpcre-8.33-r1[abi_x86_32(-)]
|
||||
>=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)]
|
||||
>=sys-apps/tcp-wrappers-7.6.22-r1[abi_x86_32(-)]
|
||||
>=sys-libs/gdbm-1.10-r1[abi_x86_32(-)]
|
||||
>=dev-libs/json-c-0.11-r1[abi_x86_32(-)]
|
||||
>=dev-libs/libxml2-2.9.1-r2[abi_x86_32(-)]
|
||||
>=dev-libs/dbus-glib-0.100.2-r1[abi_x86_32(-)]
|
||||
>=sys-libs/readline-6.2_p5-r1:0[abi_x86_32(-)]
|
||||
)
|
||||
>=sys-libs/glibc-2.15" # bug 340613
|
||||
|
||||
PYTHON_UPDATER_IGNORE="1"
|
||||
|
||||
src_prepare() {
|
||||
export ALLOWED="(${S}/lib32/security/pam_filter/upperLOWER|${S}/etc/env.d|${S}/lib32/security/pam_ldap.so)"
|
||||
emul-linux-x86_src_prepare
|
||||
rm -rf "${S}/etc/env.d/binutils/" \
|
||||
"${S}/usr/i686-pc-linux-gnu/lib" \
|
||||
"${S}/usr/lib32/engines/" \
|
||||
"${S}/usr/lib32/openldap/" || die
|
||||
|
||||
ln -s ../share/terminfo "${S}/usr/lib32/terminfo" || die
|
||||
|
||||
# Remove migrated stuff.
|
||||
use abi_x86_32 && rm -f $(cat "${FILESDIR}/remove-native")
|
||||
}
|
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-baselibs/emul-linux-x86-baselibs-20131008-r9.ebuild,v 1.1 2014/01/24 11:59:24 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit emul-linux-x86
|
||||
|
||||
LICENSE="Artistic GPL-1 GPL-2 GPL-3 BSD BSD-2 BZIP2 AFL-2.1 LGPL-2.1 BSD-4 MIT
|
||||
public-domain LGPL-3 LGPL-2 GPL-2-with-exceptions MPL-1.1 OPENLDAP
|
||||
Sleepycat UoI-NCSA ZLIB openafs-krb5-a HPND ISC RSA IJG libmng libtiff
|
||||
openssl tcp_wrappers_license"
|
||||
|
||||
KEYWORDS="-* ~amd64"
|
||||
IUSE="abi_x86_32"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="!<app-emulation/emul-linux-x86-medialibs-10.2
|
||||
abi_x86_32? (
|
||||
>=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)]
|
||||
>=app-arch/bzip2-1.0.6-r4[abi_x86_32(-)]
|
||||
>=media-libs/libpng-1.5.16-r1:0[abi_x86_32(-)]
|
||||
>=dev-libs/udis86-1.7-r2[abi_x86_32(-)]
|
||||
>=virtual/libffi-3.0.13-r1[abi_x86_32(-)]
|
||||
>=sys-devel/llvm-3.3-r1[abi_x86_32(-)]
|
||||
>=media-libs/libpng-1.2.50-r1:1.2[abi_x86_32(-)]
|
||||
virtual/jpeg:62[abi_x86_32(-)]
|
||||
>=sys-libs/libraw1394-2.1.0-r1[abi_x86_32(-)]
|
||||
>=sys-libs/libavc1394-0.5.4-r1[abi_x86_32(-)]
|
||||
>=dev-libs/expat-2.1.0-r3[abi_x86_32(-)]
|
||||
>=virtual/libusb-0-r1:0[abi_x86_32(-)]
|
||||
>=virtual/libusb-1-r1:1[abi_x86_32(-)]
|
||||
|| (
|
||||
>=virtual/udev-206-r1[abi_x86_32(-)]
|
||||
~virtual/udev-204[abi_x86_32(-)] )
|
||||
>=media-libs/tiff-4.0.3-r5:0[abi_x86_32(-)]
|
||||
>=sys-apps/attr-2.4.47-r1[abi_x86_32(-)]
|
||||
>=dev-libs/glib-2.36.3-r2:2[abi_x86_32(-)]
|
||||
>=media-libs/lcms-2.5-r1:2[abi_x86_32(-)]
|
||||
>=app-text/libpaper-1.1.24-r2[abi_x86_32(-)]
|
||||
>=media-libs/tiff-3.9.7-r1:3[abi_x86_32(-)]
|
||||
|| (
|
||||
>=dev-libs/elfutils-0.155-r1[abi_x86_32(-)]
|
||||
>=dev-libs/libelf-0.8.13-r2[abi_x86_32(-)]
|
||||
)
|
||||
>=sys-libs/e2fsprogs-libs-1.42.7-r1[abi_x86_32(-)]
|
||||
>=sys-libs/ncurses-5.9-r3[abi_x86_32(-)]
|
||||
>=sys-libs/gpm-1.20.7-r2[abi_x86_32(-)]
|
||||
>=dev-libs/gmp-5.1.3-r1[abi_x86_32(-)]
|
||||
>=dev-libs/libpcre-8.33-r1[abi_x86_32(-)]
|
||||
>=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)]
|
||||
>=sys-apps/tcp-wrappers-7.6.22-r1[abi_x86_32(-)]
|
||||
>=sys-libs/gdbm-1.10-r1[abi_x86_32(-)]
|
||||
>=dev-libs/json-c-0.11-r1[abi_x86_32(-)]
|
||||
>=dev-libs/libxml2-2.9.1-r2[abi_x86_32(-)]
|
||||
>=dev-libs/dbus-glib-0.100.2-r1[abi_x86_32(-)]
|
||||
>=sys-libs/readline-6.2_p5-r1:0[abi_x86_32(-)]
|
||||
)
|
||||
>=sys-libs/glibc-2.15" # bug 340613
|
||||
|
||||
PYTHON_UPDATER_IGNORE="1"
|
||||
|
||||
src_prepare() {
|
||||
export ALLOWED="(${S}/lib32/security/pam_filter/upperLOWER|${S}/etc/env.d|${S}/lib32/security/pam_ldap.so)"
|
||||
emul-linux-x86_src_prepare
|
||||
rm -rf "${S}/etc/env.d/binutils/" \
|
||||
"${S}/usr/i686-pc-linux-gnu/lib" \
|
||||
"${S}/usr/lib32/engines/" \
|
||||
"${S}/usr/lib32/openldap/" || die
|
||||
|
||||
ln -s ../share/terminfo "${S}/usr/lib32/terminfo" || die
|
||||
|
||||
# Remove migrated stuff.
|
||||
use abi_x86_32 && rm -f $(cat "${FILESDIR}/remove-native")
|
||||
}
|
@ -0,0 +1,248 @@
|
||||
lib32/libz.so.1
|
||||
lib32/libz.so.1.2.7
|
||||
usr/lib32/libz.so
|
||||
usr/lib32/pkgconfig/zlib.pc
|
||||
usr/lib32/libminizip.so
|
||||
usr/lib32/libminizip.so.1
|
||||
usr/lib32/libminizip.so.1.0.0
|
||||
usr/lib32/pkgconfig/minizip.pc
|
||||
lib32/libbz2.so.1
|
||||
lib32/libbz2.so.1.0
|
||||
lib32/libbz2.so.1.0.6
|
||||
usr/lib32/libbz2.so
|
||||
usr/lib32/libpng.so
|
||||
usr/lib32/pkgconfig/libpng.pc
|
||||
usr/lib32/libudis86.so
|
||||
usr/lib32/libudis86.so.0
|
||||
usr/lib32/libudis86.so.0.0.0
|
||||
usr/lib32/libffi-3.0.11/include/ffi.h
|
||||
usr/lib32/libffi-3.0.11/include/ffitarget.h
|
||||
usr/lib32/libffi.so
|
||||
usr/lib32/libffi.so.6
|
||||
usr/lib32/libffi.so.6.0.0
|
||||
usr/lib32/pkgconfig/libffi.pc
|
||||
usr/lib32/llvm/BugpointPasses.so
|
||||
usr/lib32/llvm/LLVMHello.so
|
||||
usr/lib32/llvm/libLLVM-3.1.so
|
||||
usr/lib32/llvm/libLTO.so
|
||||
usr/lib32/llvm/libprofile_rt.so
|
||||
usr/lib32/libpng12.so.0
|
||||
usr/lib32/pkgconfig/libpng15.pc
|
||||
usr/lib32/libraw1394.so
|
||||
usr/lib32/libraw1394.so.11
|
||||
usr/lib32/libraw1394.so.11.0.1
|
||||
usr/lib32/pkgconfig/libraw1394.pc
|
||||
usr/lib32/libavc1394.so
|
||||
usr/lib32/libavc1394.so.0
|
||||
usr/lib32/libavc1394.so.0.3.0
|
||||
usr/lib32/pkgconfig/libavc1394.pc
|
||||
usr/lib32/librom1394.so
|
||||
usr/lib32/librom1394.so.0
|
||||
usr/lib32/librom1394.so.0.3.0
|
||||
usr/lib32/libjpeg.so
|
||||
usr/lib32/libturbojpeg.so
|
||||
usr/lib32/libturbojpeg.so.0*
|
||||
usr/lib32/libjpeg.so.8.0.2
|
||||
usr/lib32/libjpeg.so.8
|
||||
usr/lib32/libjpeg.so.62
|
||||
usr/lib32/libexpat.so
|
||||
usr/lib32/libexpat.so.1
|
||||
usr/lib32/libexpat.so.1.6.0
|
||||
usr/lib32/libexpatu.so
|
||||
usr/lib32/libexpatu.so.1
|
||||
usr/lib32/libexpatu.so.1.6.0
|
||||
usr/lib32/libexpatw.so
|
||||
usr/lib32/libexpatw.so.1
|
||||
usr/lib32/libexpatw.so.1.6.0
|
||||
usr/lib32/pkgconfig/expat.pc
|
||||
usr/lib32/pkgconfig/expatu.pc
|
||||
usr/lib32/pkgconfig/expatw.pc
|
||||
usr/lib32/libusb-0.1.so.4*
|
||||
usr/lib32/libusb-1.0.so
|
||||
usr/lib32/libusb-1.0.so.0
|
||||
usr/lib32/libusb-1.0.so.0.1.0
|
||||
usr/lib32/libusb.so
|
||||
usr/lib32/pkgconfig/libusb-1.0.pc
|
||||
usr/lib32/pkgconfig/libusb.pc
|
||||
lib32/libudev.so.1*
|
||||
usr/lib32/libudev.so
|
||||
usr/lib32/pkgconfig/libudev.pc
|
||||
lib32/libsystemd-daemon.so.0.0.7
|
||||
lib32/libsystemd-daemon.so.0
|
||||
usr/lib32/libsystemd-daemon.so
|
||||
usr/lib32/pkgconfig/libsystemd-daemon.pc
|
||||
usr/lib32/libtiff.so
|
||||
usr/lib32/libtiff.so.5*
|
||||
usr/lib32/libtiffxx.so
|
||||
usr/lib32/libtiffxx.so.5*
|
||||
usr/lib32/pkgconfig/libtiff-4.pc
|
||||
lib32/libattr.so.1
|
||||
lib32/libattr.so.1.1.0
|
||||
usr/lib32/libattr.so
|
||||
usr/lib32/glib-2.0/include/glibconfig.h
|
||||
usr/lib32/libglib-2.0.so
|
||||
usr/lib32/libglib-2.0.so.0
|
||||
usr/lib32/libglib-2.0.so.0.3200.4
|
||||
usr/lib32/pkgconfig/glib-2.0.pc
|
||||
usr/lib32/libgmodule-2.0.so
|
||||
usr/lib32/libgmodule-2.0.so.0
|
||||
usr/lib32/libgmodule-2.0.so.0.3200.4
|
||||
usr/lib32/pkgconfig/gmodule-2.0.pc
|
||||
usr/lib32/libgio-2.0.so
|
||||
usr/lib32/libgio-2.0.so.0
|
||||
usr/lib32/libgio-2.0.so.0.3200.4
|
||||
usr/lib32/pkgconfig/gio-2.0.pc
|
||||
usr/lib32/libgobject-2.0.so
|
||||
usr/lib32/libgobject-2.0.so.0
|
||||
usr/lib32/libgobject-2.0.so.0.3200.4
|
||||
usr/lib32/pkgconfig/gobject-2.0.pc
|
||||
usr/lib32/libgthread-2.0.so
|
||||
usr/lib32/libgthread-2.0.so.0
|
||||
usr/lib32/libgthread-2.0.so.0.3200.4
|
||||
usr/lib32/pkgconfig/gthread-2.0.pc
|
||||
usr/lib32/pkgconfig/gio-unix-2.0.pc
|
||||
usr/lib32/pkgconfig/gmodule-export-2.0.pc
|
||||
usr/lib32/pkgconfig/gmodule-no-export-2.0.pc
|
||||
usr/lib32/liblcms2.so
|
||||
usr/lib32/liblcms2.so.2
|
||||
usr/lib32/liblcms2.so.2.0.3
|
||||
usr/lib32/pkgconfig/lcms2.pc
|
||||
usr/lib32/libpaper.so
|
||||
usr/lib32/libpaper.so.1
|
||||
usr/lib32/libpaper.so.1.1.2
|
||||
usr/lib32/libtiff.so.3
|
||||
usr/lib32/libtiff.so.4
|
||||
usr/lib32/libtiffxx.so.3
|
||||
usr/lib32/libtiffxx.so.4
|
||||
usr/lib32/elfutils/libebl_alpha-0.149.so
|
||||
usr/lib32/elfutils/libebl_alpha.so
|
||||
usr/lib32/elfutils/libebl_arm-0.149.so
|
||||
usr/lib32/elfutils/libebl_arm.so
|
||||
usr/lib32/elfutils/libebl_i386-0.149.so
|
||||
usr/lib32/elfutils/libebl_i386.so
|
||||
usr/lib32/elfutils/libebl_ia64-0.149.so
|
||||
usr/lib32/elfutils/libebl_ia64.so
|
||||
usr/lib32/elfutils/libebl_ppc-0.149.so
|
||||
usr/lib32/elfutils/libebl_ppc.so
|
||||
usr/lib32/elfutils/libebl_ppc64-0.149.so
|
||||
usr/lib32/elfutils/libebl_ppc64.so
|
||||
usr/lib32/elfutils/libebl_s390-0.149.so
|
||||
usr/lib32/elfutils/libebl_s390.so
|
||||
usr/lib32/elfutils/libebl_sh-0.149.so
|
||||
usr/lib32/elfutils/libebl_sh.so
|
||||
usr/lib32/elfutils/libebl_sparc-0.149.so
|
||||
usr/lib32/elfutils/libebl_sparc.so
|
||||
usr/lib32/elfutils/libebl_x86_64-0.149.so
|
||||
usr/lib32/elfutils/libebl_x86_64.so
|
||||
usr/lib32/libelf-0.149.so
|
||||
usr/lib32/libelf.so
|
||||
usr/lib32/libelf.so.1
|
||||
usr/lib32/libasm-0.149.so
|
||||
usr/lib32/libasm.so
|
||||
usr/lib32/libasm.so.1
|
||||
usr/lib32/libdw-0.149.so
|
||||
usr/lib32/libdw.so
|
||||
usr/lib32/libdw.so.1
|
||||
lib32/libss.so.2
|
||||
lib32/libss.so.2.0
|
||||
usr/lib32/libss.so
|
||||
usr/lib32/pkgconfig/ss.pc
|
||||
lib32/libcom_err.so.2
|
||||
lib32/libcom_err.so.2.1
|
||||
usr/lib32/libcom_err.so
|
||||
usr/lib32/pkgconfig/com_err.pc
|
||||
usr/lib32/libcurses.so
|
||||
usr/lib32/libform.so
|
||||
usr/lib32/libform.so.5
|
||||
usr/lib32/libform.so.5.9
|
||||
usr/lib32/libformw.so
|
||||
usr/lib32/libformw.so.5
|
||||
usr/lib32/libformw.so.5.9
|
||||
usr/lib32/libmenu.so
|
||||
usr/lib32/libmenu.so.5
|
||||
usr/lib32/libmenu.so.5.9
|
||||
usr/lib32/libmenuw.so
|
||||
usr/lib32/libmenuw.so.5
|
||||
usr/lib32/libmenuw.so.5.9
|
||||
lib32/libncurses.so.5
|
||||
lib32/libncurses.so.5.9
|
||||
lib32/libncursesw.so.5
|
||||
lib32/libncursesw.so.5.9
|
||||
usr/lib32/libncurses.so
|
||||
usr/lib32/libncursesw.so
|
||||
usr/lib32/libpanel.so
|
||||
usr/lib32/libpanel.so.5
|
||||
usr/lib32/libpanel.so.5.9
|
||||
usr/lib32/libpanelw.so
|
||||
usr/lib32/libpanelw.so.5
|
||||
usr/lib32/libpanelw.so.5.9
|
||||
usr/lib32/pkgconfig/form.pc
|
||||
usr/lib32/pkgconfig/formw.pc
|
||||
usr/lib32/pkgconfig/ncurses++.pc
|
||||
usr/lib32/pkgconfig/ncurses++w.pc
|
||||
usr/lib32/pkgconfig/menuw.pc
|
||||
usr/lib32/pkgconfig/menu.pc
|
||||
usr/lib32/pkgconfig/ncurses.pc
|
||||
usr/lib32/pkgconfig/ncursesw.pc
|
||||
usr/lib32/pkgconfig/panel.pc
|
||||
usr/lib32/pkgconfig/panelw.pc
|
||||
usr/lib32/terminfo
|
||||
lib32/libgpm.so.1
|
||||
lib32/libgpm.so.1.20.0
|
||||
usr/lib32/libgpm.so
|
||||
usr/lib32/libgmp.so*
|
||||
usr/lib32/libgmpxx.so*
|
||||
lib32/libpcre.so.1
|
||||
lib32/libpcre.so.1.2.1
|
||||
usr/lib32/libpcre.so
|
||||
usr/lib32/libpcrecpp.so
|
||||
usr/lib32/libpcrecpp.so.0
|
||||
usr/lib32/libpcrecpp.so.0.0.0
|
||||
usr/lib32/libpcreposix.so
|
||||
usr/lib32/libpcreposix.so.0
|
||||
usr/lib32/libpcreposix.so.0.0.2
|
||||
usr/lib32/pkgconfig/libpcre.pc
|
||||
usr/lib32/pkgconfig/libpcrecpp.pc
|
||||
usr/lib32/pkgconfig/libpcreposix.pc
|
||||
usr/lib32/dbus-1.0/include/dbus/dbus-arch-deps.h
|
||||
usr/lib32/libdbus-1.so
|
||||
usr/lib32/libdbus-1.so.3
|
||||
usr/lib32/libdbus-1.so.3.7.4
|
||||
usr/lib32/pkgconfig/dbus-1.pc
|
||||
lib32/libwrap.so
|
||||
lib32/libwrap.so.0
|
||||
lib32/libwrap.so.0.7.6
|
||||
usr/lib32/libwrap.so
|
||||
usr/lib32/libgdbm.so
|
||||
usr/lib32/libgdbm.so.3
|
||||
usr/lib32/libgdbm.so.3.0.0
|
||||
usr/lib32/libgdbm_compat.so
|
||||
usr/lib32/libgdbm_compat.so.3
|
||||
usr/lib32/libgdbm_compat.so.3.0.0
|
||||
usr/lib32/libjson.so
|
||||
usr/lib32/libjson.so.0
|
||||
usr/lib32/libjson.so.0.0.1
|
||||
usr/lib32/pkgconfig/json.pc
|
||||
usr/lib32/perl5/5.12.4/i686-linux/auto/GDBM_File/GDBM_File.so
|
||||
usr/lib32/perl5/5.12.4/i686-linux/auto/NDBM_File/NDBM_File.so
|
||||
usr/lib32/python2.7/lib-dynload/dbm.so
|
||||
usr/lib32/python3.2/lib-dynload/_dbm.cpython-32.so
|
||||
usr/lib32/python2.7/lib-dynload/gdbm.so
|
||||
usr/lib32/python3.2/lib-dynload/_gdbm.cpython-32.so
|
||||
usr/lib32/libxml2.so*
|
||||
usr/lib32/pkgconfig/libxml-2.0.pc
|
||||
usr/lib32/python*/site-packages/libxml2mod.so
|
||||
usr/lib32/libdbus-glib-1.so
|
||||
usr/lib32/libdbus-glib-1.so.2
|
||||
usr/lib32/libdbus-glib-1.so.2.2.2
|
||||
usr/lib32/pkgconfig/dbus-glib-1.pc
|
||||
lib32/libreadline.so.6
|
||||
lib32/libreadline.so.6.2
|
||||
usr/lib32/libreadline.so
|
||||
lib32/libhistory.so.6
|
||||
lib32/libhistory.so.6.2
|
||||
usr/lib32/libhistory.so
|
||||
usr/lib32/libmng.so
|
||||
usr/lib32/libasprintf.so
|
||||
usr/lib32/libasprintf.so.0
|
||||
usr/lib32/libasprintf.so.0.0.0
|
@ -1,2 +1,3 @@
|
||||
DIST ddccontrol-0.4.2.tar.bz2 421475 SHA256 986f3b4b27ec04e1da493de3aaab01cd5ea9566d7572c1a40b8d43cd7a491e84 SHA512 9e83570a7b481cec35a4f11e690a77b497067c88f97cee7c1927804991d41ca77cfc21edc98b915601c8807d661ea0fcdbb57ca330e8678b6f5fbfb96e4585a8 WHIRLPOOL 63e4fc2e80317bd17f8dac497b6a3985aec463a2ceea16677fd02183478c10c9bd16fca111e76978b5785b7d2b070773d6508637a5b0c6b9d673ccf22089ec0d
|
||||
DIST ddccontrol-0.4.2_p20130703.tar.gz 177759 SHA256 f61278b75a203b1430a2ed0bb784b6921379092d1b2a160d27aecb8f650b3036 SHA512 e00c91940052298473c1029b9caf5aae6200653702e63fe5eefc7e9da0513518c9f879ebaad96440e3fc3372a156953784a6992a56067ea12ce901c113269f46 WHIRLPOOL 3a04a7912a4b154bd5a333d25fdeeefd488890fb7dac37726b6cd0c41bdb95a6249c876142fa912048fa403708b7dcb5e1bbc071d0d98daf4c0b0c3d3ceffea6
|
||||
DIST ddccontrol-0.4.2_p20140105.tar.gz 177771 SHA256 14026465b1c1b3bd0fecfe3f199139f1365317a0974844c82aa783f2125e064c SHA512 7a28e9b81ee14e0431c57d372c8d43f861f61c35b441111e1f42d1aa62c333b0cc6a101dcb39d30e9661aaa85a02d755e4adef3a9b20a6952e1599e3ac12c72f WHIRLPOOL 55083597ab4e7e78d5315f114b257f3bfbadd1712ad5bd27e88d3b18ca694554ec51542b2b9a88bd7e21ffbdc7d4f82b80f1d43b5f16f90bdcc2edfb2421c7a6
|
||||
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/ddccontrol/ddccontrol-0.4.2_p20140105.ebuild,v 1.1 2014/01/30 18:49:55 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="DDCControl allows control of monitor parameters via DDC"
|
||||
HOMEPAGE="http://ddccontrol.sourceforge.net/"
|
||||
COMMIT_ID="9d89d8c0b959a4da62ecc50fb2aeb23142d4bfb4"
|
||||
SRC_URI="https://github.com/ddccontrol/ddccontrol/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="+ddcpci doc gnome gtk nls static-libs video_cards_fglrx"
|
||||
S=${WORKDIR}/${PN}-${COMMIT_ID}
|
||||
|
||||
RDEPEND="app-misc/ddccontrol-db
|
||||
dev-libs/libxml2:2
|
||||
sys-apps/pciutils
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
gnome? ( >=gnome-base/gnome-panel-2.10 )
|
||||
nls? ( sys-devel/gettext )
|
||||
video_cards_fglrx? ( x11-libs/amd-adl-sdk )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-perl/XML-Parser
|
||||
dev-util/intltool
|
||||
sys-kernel/linux-headers
|
||||
doc? ( >=app-text/docbook-xsl-stylesheets-1.65.1
|
||||
>=dev-libs/libxslt-1.1.6
|
||||
app-text/htmltidy )"
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #467574
|
||||
sed -i '/;Application/d' src/gddccontrol/gddccontrol.desktop.in || die
|
||||
|
||||
# ppc/ppc64 do not have inb/outb/ioperm
|
||||
# they also do not have (sys|asm)/io.h
|
||||
if ! use amd64 && ! use x86 ; then
|
||||
local card
|
||||
for card in sis intel810 ; do
|
||||
sed -r -i \
|
||||
-e "/${card}.Po/d" \
|
||||
-e "s~${card}[^[:space:]]*~ ~g" \
|
||||
src/ddcpci/Makefile.{am,ini} || die
|
||||
done
|
||||
sed -i \
|
||||
-e '/sis_/d' \
|
||||
-e '/i810_/d' \
|
||||
src/ddcpci/main.c || die
|
||||
fi
|
||||
|
||||
## Save for a rainy day or future patching
|
||||
touch config.rpath ABOUT-NLS
|
||||
eautoreconf
|
||||
intltoolize --force || die "intltoolize failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--htmldir='$(datarootdir)'/doc/${PF}/html \
|
||||
$(use_enable ddcpci) \
|
||||
$(use_enable doc) \
|
||||
$(use_enable gnome gnome-applet) \
|
||||
$(use_enable gtk gnome) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable video_cards_fglrx amdadl)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use static-libs || find "${ED}" -name '*.la' -delete
|
||||
}
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/eix/eix-0.30.1.ebuild,v 1.1 2014/01/30 23:19:08 axs Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PLOCALES="de ru"
|
||||
inherit bash-completion-r1 eutils multilib l10n
|
||||
|
||||
DESCRIPTION="Search and query ebuilds, portage incl. local settings, ext. overlays, version changes, and more"
|
||||
HOMEPAGE="http://eix.berlios.de"
|
||||
SRC_URI="mirror://berlios/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
|
||||
IUSE="debug +dep doc nls optimization security strong-optimization strong-security sqlite swap-remote tools"
|
||||
|
||||
BOTHDEPEND="sqlite? ( >=dev-db/sqlite-3 )
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${BOTHDEPEND}
|
||||
app-shells/push"
|
||||
DEPEND="${BOTHDEPEND}
|
||||
app-arch/xz-utils
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
case " ${REPLACING_VERSIONS}" in
|
||||
*\ 0.[0-9].*|*\ 0.1[0-9].*|*\ 0.2[0-4].*|*\ 0.25.0*)
|
||||
local eixcache="${EROOT}/var/cache/${PN}"
|
||||
test -f "${eixcache}" && rm -f -- "${eixcache}";;
|
||||
esac
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with sqlite) $(use_with doc extra-doc) \
|
||||
$(use_enable nls) $(use_enable tools separate-tools) \
|
||||
$(use_enable security) $(use_enable optimization) \
|
||||
$(use_enable strong-security) \
|
||||
$(use_enable strong-optimization) $(use_enable debug debugging) \
|
||||
$(use_enable swap-remote) \
|
||||
$(use_with prefix always-accept-keywords) \
|
||||
$(use_with dep dep-default) \
|
||||
--with-zsh-completion \
|
||||
--with-ebuild-sh-default="/usr/$(get_libdir)/portage/bin/ebuild.sh" \
|
||||
--with-portage-rootpath="${ROOTPATH}" \
|
||||
--with-eprefix-default="${EPREFIX}" \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dobashcomp bash/eix
|
||||
keepdir "/var/cache/${PN}"
|
||||
fowners portage:portage "/var/cache/${PN}"
|
||||
fperms 775 "/var/cache/${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# fowners in src_install doesn't work for owner/group portage:
|
||||
# merging changes this owner/group back to root.
|
||||
use prefix || chown portage:portage "${EROOT}var/cache/${PN}"
|
||||
local obs="${EROOT}var/cache/eix.previous"
|
||||
! test -f "${obs}" || ewarn "Found obsolete ${obs}, please remove it"
|
||||
}
|
@ -0,0 +1,232 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.3_rc2.ebuild,v 1.1 2014/01/31 05:42:08 vapier Exp $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_PV=${MY_PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
[[ ${PV} != *_p* ]] && PLEVEL=0
|
||||
patches() {
|
||||
local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
|
||||
[[ ${plevel} -eq 0 ]] && return 1
|
||||
eval set -- {1..${plevel}}
|
||||
set -- $(printf "${pn}${pv/\.}-%03d " "$@")
|
||||
if [[ ${opt} == -s ]] ; then
|
||||
echo "${@/#/${DISTDIR}/}"
|
||||
else
|
||||
local u
|
||||
for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
|
||||
printf "${u}/${pn}-${pv}-patches/%s " "$@"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="The standard GNU Bourne again shell"
|
||||
HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||
SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
|
||||
[[ ${PV} == *_rc* ]] && SRC_URI+=" ftp://ftp.cwru.edu/pub/bash/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="afs bashlogger examples mem-scramble +net nls plugins +readline vanilla"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2
|
||||
readline? ( >=sys-libs/readline-6.2 )
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${DEPEND}
|
||||
!<sys-apps/portage-2.1.6.7_p1
|
||||
!<sys-apps/paludis-0.26.0_alpha5"
|
||||
# we only need yacc when the .y files get patched (bash42-005)
|
||||
DEPEND+=" virtual/yacc"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
if is-flag -malign-double ; then #7332
|
||||
eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
|
||||
eerror "as it breaks LFS (struct stat64) on x86."
|
||||
die "remove -malign-double from your CFLAGS mr ricer"
|
||||
fi
|
||||
if use bashlogger ; then
|
||||
ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs."
|
||||
ewarn "This will log ALL output you enter into the shell, you have been warned."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
cd "${S}"
|
||||
src_prepare
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use mem-scramble
|
||||
# Include official patches
|
||||
[[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
|
||||
|
||||
# Clean out local libs so we know we use system ones w/releases.
|
||||
if [[ ${PV} != *_rc* ]] ; then
|
||||
rm -rf lib/{readline,termcap}/*
|
||||
touch lib/{readline,termcap}/Makefile.in # for config.status
|
||||
sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
|
||||
fi
|
||||
|
||||
# Avoid regenerating docs after patches #407985
|
||||
sed -i -r '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in || die
|
||||
touch -r . doc/*
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.2-execute-job-control.patch #383237
|
||||
epatch "${FILESDIR}"/${PN}-4.2-no-readline.patch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# For descriptions of these, see config-top.h
|
||||
# bashrc/#26952 bash_logout/#90488 ssh/#24762
|
||||
append-cppflags \
|
||||
-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
|
||||
-DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
|
||||
-DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
|
||||
-DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS \
|
||||
-DSSH_SOURCE_BASHRC \
|
||||
$(use bashlogger && echo -DSYSLOG_HISTORY)
|
||||
|
||||
# Don't even think about building this statically without
|
||||
# reading Bug 7714 first. If you still build it statically,
|
||||
# don't come crying to us with bugs ;).
|
||||
#use static && export LDFLAGS="${LDFLAGS} -static"
|
||||
use nls || myconf+=( --disable-nls )
|
||||
|
||||
# Historically, we always used the builtin readline, but since
|
||||
# our handling of SONAME upgrades has gotten much more stable
|
||||
# in the PM (and the readline ebuild itself preserves the old
|
||||
# libs during upgrades), linking against the system copy should
|
||||
# be safe.
|
||||
# Exact cached version here doesn't really matter as long as it
|
||||
# is at least what's in the DEPEND up above.
|
||||
export ac_cv_rl_version=6.2
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses. For the most part, ncurses
|
||||
# is here because readline needs it. But bash itself calls
|
||||
# ncurses in one or two small places :(.
|
||||
|
||||
if [[ ${PV} != *_rc* ]] ; then
|
||||
# Use system readline only with released versions.
|
||||
myconf+=( --with-installed-readline=. )
|
||||
fi
|
||||
|
||||
use plugins && append-ldflags -Wl,-rpath,/usr/$(get_libdir)/bash
|
||||
tc-export AR #444070
|
||||
econf \
|
||||
--with-curses \
|
||||
$(use_with afs) \
|
||||
$(use_enable net net-redirections) \
|
||||
--disable-profiling \
|
||||
$(use_enable mem-scramble) \
|
||||
$(use_with mem-scramble bash-malloc) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable readline history) \
|
||||
$(use_enable readline bang-history) \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
src_configure
|
||||
emake || die
|
||||
|
||||
if use plugins ; then
|
||||
emake -C examples/loadables all others || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
|
||||
dodir /bin
|
||||
mv "${D}"/usr/bin/bash "${D}"/bin/ || die
|
||||
dosym bash /bin/rbash
|
||||
|
||||
insinto /etc/bash
|
||||
doins "${FILESDIR}"/{bashrc,bash_logout}
|
||||
insinto /etc/skel
|
||||
for f in bash{_logout,_profile,rc} ; do
|
||||
newins "${FILESDIR}"/dot-${f} .${f}
|
||||
done
|
||||
|
||||
local sed_args=(
|
||||
-e "s:#${USERLAND}#@::"
|
||||
-e '/#@/d'
|
||||
)
|
||||
if ! use readline ; then
|
||||
sed_args+=( #432338
|
||||
-e '/^shopt -s histappend/s:^:#:'
|
||||
-e 's:use_color=true:use_color=false:'
|
||||
)
|
||||
fi
|
||||
sed -i \
|
||||
"${sed_args[@]}" \
|
||||
"${D}"/etc/skel/.bashrc \
|
||||
"${D}"/etc/bash/bashrc || die
|
||||
|
||||
if use plugins ; then
|
||||
exeinto /usr/$(get_libdir)/bash
|
||||
doexe $(echo examples/loadables/*.o | sed 's:\.o::g') || die
|
||||
insinto /usr/include/bash-plugins
|
||||
doins *.h builtins/*.h examples/loadables/*.h include/*.h \
|
||||
lib/{glob/glob.h,tilde/tilde.h}
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
for d in examples/{functions,misc,scripts,scripts.noah,scripts.v2} ; do
|
||||
exeinto /usr/share/doc/${PF}/${d}
|
||||
insinto /usr/share/doc/${PF}/${d}
|
||||
for f in ${d}/* ; do
|
||||
if [[ ${f##*/} != PERMISSION ]] && [[ ${f##*/} != *README ]] ; then
|
||||
doexe ${f}
|
||||
else
|
||||
doins ${f}
|
||||
fi
|
||||
done
|
||||
done
|
||||
fi
|
||||
|
||||
doman doc/*.1
|
||||
dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
|
||||
dosym bash.info /usr/share/info/bashref.info
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -e ${ROOT}/etc/bashrc ]] && [[ ! -d ${ROOT}/etc/bash ]] ; then
|
||||
mkdir -p "${ROOT}"/etc/bash
|
||||
mv -f "${ROOT}"/etc/bashrc "${ROOT}"/etc/bash/
|
||||
fi
|
||||
|
||||
if [[ -L ${ROOT}/bin/sh ]]; then
|
||||
# rewrite the symlink to ensure that its mtime changes. having /bin/sh
|
||||
# missing even temporarily causes a fatal error with paludis.
|
||||
local target=$(readlink "${ROOT}"/bin/sh)
|
||||
local tmp=$(emktemp "${ROOT}"/bin)
|
||||
ln -sf "${target}" "${tmp}"
|
||||
mv -f "${tmp}" "${ROOT}"/bin/sh
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# If /bin/sh does not exist, provide it
|
||||
if [[ ! -e ${ROOT}/bin/sh ]]; then
|
||||
ln -sf bash "${ROOT}"/bin/sh
|
||||
fi
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lua/LuaBitOp/LuaBitOp-1.0.2.ebuild,v 1.1 2014/01/30 21:39:51 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Bit Operations Library for the Lua Programming Language"
|
||||
HOMEPAGE="http://bitop.luajit.org"
|
||||
SRC_URI="http://bitop.luajit.org/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/lua"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_compile()
|
||||
{
|
||||
emake CC="$(tc-getCC)" INCLUDES= CCOPT=
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
exeinto "$(pkg-config --variable INSTALL_CMOD lua)"
|
||||
doexe bit.so
|
||||
|
||||
dodoc README
|
||||
dohtml -r doc/*
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST LuaBitOp-1.0.1.tar.gz 22984 SHA256 6afa9984411079a7e109977bc8a28d63890c1489a928b1f61d33ef327e9cb0c9 SHA512 de326ba899b70ea01c41b02d26b1a5afd07bdeee5628be7cbeaa438452ac4343cab01494ac3e5e6758365de15c5cb9c211e17f2e4dd1e0e9258979d06018c71e WHIRLPOOL 166203b5306df2b85ce757fe697f7fa9c4ce185f6d0f8cb2491526b874385d7280c9a91b5d45bada76b28d9e7ca0c7881a97965c646f3c09683e8bc37dcc2998
|
||||
DIST LuaBitOp-1.0.2.tar.gz 23127 SHA256 1207c9293dcd52eb9dca6538d1b87352bd510f4e760938f5048433f7f272ce99 SHA512 a652050ea5c6fbeb8a28b05e2bc4a3550c854cc45f7f42c8c1b0a81f5b76773cdf061e6a839cdb339614118169e578b6e3efa5a3efbe59a2f01874b2fa2b4f2e WHIRLPOOL 1c9081e805f0c31dc806e3966d6d2639b3b4f0ff8d81850a78633581c8c975b52caefab80d50985093ed891de1fdefaed0a96c0ab985b23c73fa1e60a873385c
|
||||
|
@ -1,7 +1,4 @@
|
||||
DIST renpy-6.14.1-source.tar.bz2 9806538 SHA256 18be3630d1956131a1f010732d15292cdcec14a2391210af27dc342fafd8197f SHA512 a1f13a5f860e66054012eab29bbd37715bd9721e2dc30fdd9c8d4d8c58dc672c35b3c813e962ad6878cb741502af5a181dff8a05f359892b6b60d2e15bc5a7bc WHIRLPOOL 54018731e136106f328bf2d028841f09424d8ffd8303821eec995c55918b2c8ac7eb97d9ed24785e95ad3d878b794f5bcf96cc9f783955f8d1ace086a3ca9b61
|
||||
DIST renpy-6.15.4-source.tar.bz2 10393987 SHA256 1c32fef5fda6f14134ea5e18f4754934644f86bdd968b4600b03b373f2d8e9cb SHA512 d68d5d64b29bf3eb19a38aa9dc540278e0b054dc2629aaa01866fbf2976cc6a5ffb0027706004526112782b25d0a8aae76a6b3958b5bfdac8a62841ba223554a WHIRLPOOL 008e1e3986d97d24256b6438de00be7ae676c893a67d975037c8bbfc5bfbdb886cb70d28bed3dfbec5c6529906b66071cc990fc617c1b579f8d2f9f9afe20ca8
|
||||
DIST renpy-6.15.7-source.tar.bz2 10421736 SHA256 b4280b62f7c8f730a37c7e567b16216b4578fc3640fbcdf5df7c65a73ae52e52 SHA512 d79b1d6b931f281ff208b8ece3889c116ceb05c58fe115e9f7f470788e74e63cfeb3df4f804b4a37a4f1da6ba194c883023808fafc8e8beddf864424958204e6 WHIRLPOOL 202ddb045f440f9abd06f5ac02ebd92a7b0300b14f4755271f1fc4e91bdea21cda19a432f45516f68ba3ad7ead98d7491382ad5c633da277a674f799458795f3
|
||||
DIST renpy-6.16.2-source.tar.bz2 14472212 SHA256 6212d34f5187cae6f98924bfff1aa983c9942b2aef0041cd2702255a9fef61d8 SHA512 fc3b40f01f2d1e820a05f90a2d85e42986aaa4840e506d18ea76a78527d2f98ca6cf832ebde3e1f996b94f4ce4b175856da913f3de7f1a9db48aba0eea84b52d WHIRLPOOL 5ed14cf741729a420e63c1520a2d2c04d8b5e0976023a545377fcef284be80ed1852d8c0d0a3b005a293b620298e9432f795da55dfba438528c7fd31e6a975a3
|
||||
DIST renpy-6.16.3-source.tar.bz2 14465781 SHA256 163f25df41b3e20b48f7d777b6137a96d509730484c24cb1a210dc5990e4a779 SHA512 d22cec9232d5250f343305163b10a7edfc44ef6f0db2df9c18b4c67072d4339a6fe6ed4e04808d9d49bcbce451416c8b3fc8da5248294161213b4c985832314d WHIRLPOOL 345fbb98ece9254d670bfafcbf7cba24899058c469ca7d4bfc2da720317c70fdd3ae540609b04081afb75d875213bbd0c26ac745f325cdc67e27b33b515f6e4f
|
||||
DIST renpy-6.16.5-source.tar.bz2 14455622 SHA256 5ecb00fa84a048ff6e1f1d8a0114373425375e9c0b2a0596bf2d47e996b9d056 SHA512 1a718d86a689135e5a280f64cdc3c0340d712b7804af2169ed4cb4a12528e01088c919b87d36176b3fb8a05e8201f226146c46c4f4d5ebf1d89c3cebd1263c4d WHIRLPOOL b06638c284089ba79d12d95ba604c40fffe595d67e75551bbe8a08ddc57403f1644dd713c5eb15a39fcc34b92722589437935666d172379bb1164d2a02ef9433
|
||||
DIST renpy-6.17.0-source.tar.bz2 15982585 SHA256 802721464dee19a823206e343246248762f79e484d240779ca0605662ca33871 SHA512 f08b259f218310952ccb48b7c72b5488eb23a11d6b799d6d44c5f938b5a9c49eb1f50a28c644e7dc655219c3a591159e44bc292148f86306215a25e3e1b6c761 WHIRLPOOL 322bec212f54e8344964e46c74202e7c9e4c80f1b5f34e3583e3e6ebc492ffffb7543b9cebff2d4b5b0cdedf94ca51e900a302a106f2d839fa76ef4c75d824d8
|
||||
|
@ -1,219 +0,0 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Mon Feb 25 21:35:31 UTC 2013
|
||||
Subject: fix multiple abi support
|
||||
|
||||
--- /dev/null
|
||||
+++ renpy-6.15.2-source/renpy/common.py
|
||||
@@ -0,0 +1,79 @@
|
||||
+# (the "Software"), to deal in the Software without restriction,
|
||||
+# including without limitation the rights to use, copy, modify, merge,
|
||||
+# publish, distribute, sublicense, and/or sell copies of the Software,
|
||||
+# and to permit persons to whom the Software is furnished to do so,
|
||||
+# subject to the following conditions:
|
||||
+#
|
||||
+# The above copyright notice and this permission notice shall be
|
||||
+# included in all copies or substantial portions of the Software.
|
||||
+#
|
||||
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
+# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
+# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
+# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
+
|
||||
+import os
|
||||
+import sys
|
||||
+import warnings
|
||||
+from distutils.sysconfig import get_python_lib
|
||||
+
|
||||
+# Functions to be customized by distributors. ################################
|
||||
+
|
||||
+# Given the Ren'Py base directory (usually the directory containing
|
||||
+# this file), this is expected to return the path to the common directory.
|
||||
+def path_to_common(renpy_base):
|
||||
+ return renpy_base + "/renpy/common"
|
||||
+
|
||||
+# Given a directory holding a Ren'Py game, this is expected to return
|
||||
+# the path to a directory that will hold save files.
|
||||
+def path_to_saves(gamedir):
|
||||
+ import renpy #@UnresolvedImport
|
||||
+
|
||||
+ if not renpy.config.save_directory:
|
||||
+ return gamedir + "/saves"
|
||||
+
|
||||
+ # Search the path above Ren'Py for a directory named "Ren'Py Data".
|
||||
+ # If it exists, then use that for our save directory.
|
||||
+ path = renpy.config.renpy_base
|
||||
+
|
||||
+ while True:
|
||||
+ if os.path.isdir(path + "/Ren'Py Data"):
|
||||
+ return path + "/Ren'Py Data/" + renpy.config.save_directory
|
||||
+
|
||||
+ newpath = os.path.dirname(path)
|
||||
+ if path == newpath:
|
||||
+ break
|
||||
+ path = newpath
|
||||
+
|
||||
+ # Otherwise, put the saves in a platform-specific location.
|
||||
+ if renpy.android:
|
||||
+ return gamedir + "/saves"
|
||||
+
|
||||
+ elif renpy.macintosh:
|
||||
+ rv = "~/Library/RenPy/" + renpy.config.save_directory
|
||||
+ return os.path.expanduser(rv)
|
||||
+
|
||||
+ elif renpy.windows:
|
||||
+ if 'APPDATA' in os.environ:
|
||||
+ return os.environ['APPDATA'] + "/RenPy/" + renpy.config.save_directory
|
||||
+ else:
|
||||
+ rv = "~/RenPy/" + renpy.config.save_directory
|
||||
+ return os.path.expanduser(rv)
|
||||
+
|
||||
+ else:
|
||||
+ rv = "~/.renpy/" + renpy.config.save_directory
|
||||
+ return os.path.expanduser(rv)
|
||||
+
|
||||
+
|
||||
+# Returns the path to the Ren'Py base directory (containing common and
|
||||
+# the launcher, usually.)
|
||||
+def path_to_renpy_base():
|
||||
+ renpy_base = os.path.dirname(os.path.realpath(sys.argv[0]))
|
||||
+ renpy_base = get_python_lib() + "/renpy@SLOT@"
|
||||
+ renpy_base = os.environ.get('RENPY_BASE', renpy_base)
|
||||
+ renpy_base = os.path.abspath(renpy_base)
|
||||
+
|
||||
+ return renpy_base
|
||||
--- renpy-6.15.2-source/renpy.py
|
||||
+++ renpy-6.15.2-source/renpy.py
|
||||
@@ -25,64 +25,9 @@
|
||||
import sys
|
||||
import warnings
|
||||
|
||||
-# Functions to be customized by distributors. ################################
|
||||
-
|
||||
-# Given the Ren'Py base directory (usually the directory containing
|
||||
-# this file), this is expected to return the path to the common directory.
|
||||
-def path_to_common(renpy_base):
|
||||
- return renpy_base + "/renpy/common"
|
||||
-
|
||||
-# Given a directory holding a Ren'Py game, this is expected to return
|
||||
-# the path to a directory that will hold save files.
|
||||
-def path_to_saves(gamedir):
|
||||
- import renpy #@UnresolvedImport
|
||||
-
|
||||
- if not renpy.config.save_directory:
|
||||
- return gamedir + "/saves"
|
||||
-
|
||||
- # Search the path above Ren'Py for a directory named "Ren'Py Data".
|
||||
- # If it exists, then use that for our save directory.
|
||||
- path = renpy.config.renpy_base
|
||||
-
|
||||
- while True:
|
||||
- if os.path.isdir(path + "/Ren'Py Data"):
|
||||
- return path + "/Ren'Py Data/" + renpy.config.save_directory
|
||||
-
|
||||
- newpath = os.path.dirname(path)
|
||||
- if path == newpath:
|
||||
- break
|
||||
- path = newpath
|
||||
-
|
||||
- # Otherwise, put the saves in a platform-specific location.
|
||||
- if renpy.android:
|
||||
- return gamedir + "/saves"
|
||||
-
|
||||
- elif renpy.macintosh:
|
||||
- rv = "~/Library/RenPy/" + renpy.config.save_directory
|
||||
- return os.path.expanduser(rv)
|
||||
-
|
||||
- elif renpy.windows:
|
||||
- if 'APPDATA' in os.environ:
|
||||
- return os.environ['APPDATA'] + "/RenPy/" + renpy.config.save_directory
|
||||
- else:
|
||||
- rv = "~/RenPy/" + renpy.config.save_directory
|
||||
- return os.path.expanduser(rv)
|
||||
-
|
||||
- else:
|
||||
- rv = "~/.renpy/" + renpy.config.save_directory
|
||||
- return os.path.expanduser(rv)
|
||||
-
|
||||
-
|
||||
-# Returns the path to the Ren'Py base directory (containing common and
|
||||
-# the launcher, usually.)
|
||||
-def path_to_renpy_base():
|
||||
- renpy_base = os.path.dirname(os.path.realpath(sys.argv[0]))
|
||||
- renpy_base = os.environ.get('RENPY_BASE', renpy_base)
|
||||
- renpy_base = os.path.abspath(renpy_base)
|
||||
-
|
||||
- return renpy_base
|
||||
-
|
||||
-##############################################################################
|
||||
+from distutils.sysconfig import get_python_lib
|
||||
+sys.path.append(get_python_lib() + "/renpy@SLOT@")
|
||||
+import renpy.common as common
|
||||
|
||||
# The version of the Mac Launcher and py4renpy that we require.
|
||||
macos_version = (6, 14, 0)
|
||||
@@ -97,21 +42,10 @@
|
||||
print "Ren'Py requires at least python 2.6."
|
||||
sys.exit(0)
|
||||
|
||||
-android = ("ANDROID_PRIVATE" in os.environ)
|
||||
|
||||
-# Android requires us to add code to the main module, and to command some
|
||||
-# renderers.
|
||||
-if android:
|
||||
- __main__ = sys.modules["__main__"]
|
||||
- __main__.path_to_renpy_base = path_to_renpy_base
|
||||
- __main__.path_to_common = path_to_common
|
||||
- __main__.path_to_saves = path_to_saves
|
||||
- os.environ["RENPY_RENDERER"] = "gl"
|
||||
- os.environ["RENPY_GL_ENVIRON"] = "limited"
|
||||
-
|
||||
def main():
|
||||
|
||||
- renpy_base = path_to_renpy_base()
|
||||
+ renpy_base = common.path_to_renpy_base()
|
||||
|
||||
# Add paths.
|
||||
if os.path.exists(renpy_base + "/module"):
|
||||
@@ -134,10 +68,6 @@
|
||||
print >>sys.stderr, "correctly, preserving the directory structure."
|
||||
raise
|
||||
|
||||
- if android:
|
||||
- renpy.linux = False
|
||||
- renpy.android = True
|
||||
-
|
||||
renpy.bootstrap.bootstrap(renpy_base)
|
||||
|
||||
if __name__ == "__main__":
|
||||
--- renpy-6.15.2-source/renpy/main.py
|
||||
+++ renpy-6.15.2-source/renpy/main.py
|
||||
@@ -27,7 +27,7 @@
|
||||
import zipfile
|
||||
import subprocess
|
||||
from cPickle import loads, dumps
|
||||
-import __main__
|
||||
+import renpy.common as common
|
||||
|
||||
|
||||
def save_persistent():
|
||||
@@ -147,7 +147,7 @@
|
||||
renpy.config.searchpath = [ renpy.config.gamedir ]
|
||||
|
||||
# Find the common directory.
|
||||
- commondir = __main__.path_to_common(renpy.config.renpy_base) # E1101 @UndefinedVariable
|
||||
+ commondir = common.path_to_common(renpy.config.renpy_base) # E1101 @UndefinedVariable
|
||||
|
||||
if os.path.isdir(commondir):
|
||||
renpy.config.searchpath.append(commondir)
|
||||
@@ -206,7 +206,7 @@
|
||||
|
||||
# Find the save directory.
|
||||
if renpy.config.savedir is None:
|
||||
- renpy.config.savedir = __main__.path_to_saves(renpy.config.gamedir) # E1101 @UndefinedVariable
|
||||
+ renpy.config.savedir = common.path_to_saves(renpy.config.gamedir) # E1101 @UndefinedVariable
|
||||
|
||||
if renpy.game.args.savedir: #@UndefinedVariable
|
||||
renpy.config.savedir = renpy.game.args.savedir #@UndefinedVariable
|
@ -1,245 +0,0 @@
|
||||
commit 23f67fe23d7b51e352a500a0e005ae3ef4dbc097
|
||||
Author: hasufell <hasufell@gentoo.org>
|
||||
Date: Sat Oct 26 22:17:31 2013 +0200
|
||||
|
||||
fix multiple abi support
|
||||
|
||||
diff --git a/renpy.py b/renpy.py
|
||||
index 9f2977f..394e4e1 100644
|
||||
--- a/renpy.py
|
||||
+++ b/renpy.py
|
||||
@@ -28,82 +28,9 @@
|
||||
import os
|
||||
import sys
|
||||
import warnings
|
||||
-
|
||||
-# Functions to be customized by distributors. ################################
|
||||
-
|
||||
-# Given the Ren'Py base directory (usually the directory containing
|
||||
-# this file), this is expected to return the path to the common directory.
|
||||
-def path_to_common(renpy_base):
|
||||
- return renpy_base + "/renpy/common"
|
||||
-
|
||||
-# Given a directory holding a Ren'Py game, this is expected to return
|
||||
-# the path to a directory that will hold save files.
|
||||
-def path_to_saves(gamedir):
|
||||
- import renpy #@UnresolvedImport
|
||||
-
|
||||
- # Android.
|
||||
- if renpy.android:
|
||||
- paths = [
|
||||
- os.path.join(os.environ["ANDROID_OLD_PUBLIC"], "game/saves"),
|
||||
- os.path.join(os.environ["ANDROID_PRIVATE"], "saves"),
|
||||
- os.path.join(os.environ["ANDROID_PUBLIC"], "saves"),
|
||||
- ]
|
||||
-
|
||||
- for rv in paths:
|
||||
- if os.path.isdir(rv):
|
||||
- break
|
||||
-
|
||||
- print "Using savedir", rv
|
||||
-
|
||||
- # We return the last path as the default.
|
||||
-
|
||||
- return rv
|
||||
-
|
||||
-
|
||||
- # No save directory given.
|
||||
- if not renpy.config.save_directory:
|
||||
- return gamedir + "/saves"
|
||||
-
|
||||
- # Search the path above Ren'Py for a directory named "Ren'Py Data".
|
||||
- # If it exists, then use that for our save directory.
|
||||
- path = renpy.config.renpy_base
|
||||
-
|
||||
- while True:
|
||||
- if os.path.isdir(path + "/Ren'Py Data"):
|
||||
- return path + "/Ren'Py Data/" + renpy.config.save_directory
|
||||
-
|
||||
- newpath = os.path.dirname(path)
|
||||
- if path == newpath:
|
||||
- break
|
||||
- path = newpath
|
||||
-
|
||||
- # Otherwise, put the saves in a platform-specific location.
|
||||
- if renpy.macintosh:
|
||||
- rv = "~/Library/RenPy/" + renpy.config.save_directory
|
||||
- return os.path.expanduser(rv)
|
||||
-
|
||||
- elif renpy.windows:
|
||||
- if 'APPDATA' in os.environ:
|
||||
- return os.environ['APPDATA'] + "/RenPy/" + renpy.config.save_directory
|
||||
- else:
|
||||
- rv = "~/RenPy/" + renpy.config.save_directory
|
||||
- return os.path.expanduser(rv)
|
||||
-
|
||||
- else:
|
||||
- rv = "~/.renpy/" + renpy.config.save_directory
|
||||
- return os.path.expanduser(rv)
|
||||
-
|
||||
-
|
||||
-# Returns the path to the Ren'Py base directory (containing common and
|
||||
-# the launcher, usually.)
|
||||
-def path_to_renpy_base():
|
||||
- renpy_base = os.path.dirname(os.path.realpath(sys.argv[0]))
|
||||
- renpy_base = os.environ.get('RENPY_BASE', renpy_base)
|
||||
- renpy_base = os.path.abspath(renpy_base)
|
||||
-
|
||||
- return renpy_base
|
||||
-
|
||||
-##############################################################################
|
||||
+from distutils.sysconfig import get_python_lib
|
||||
+sys.path.append(get_python_lib() + "/renpy@SLOT@")
|
||||
+import renpy.common as common
|
||||
|
||||
# The version of the Mac Launcher and py4renpy that we require.
|
||||
macos_version = (6, 14, 0)
|
||||
@@ -131,7 +58,7 @@ if android:
|
||||
|
||||
def main():
|
||||
|
||||
- renpy_base = path_to_renpy_base()
|
||||
+ renpy_base = common.path_to_renpy_base()
|
||||
|
||||
# Add paths.
|
||||
if os.path.exists(renpy_base + "/module"):
|
||||
diff --git a/renpy/common.py b/renpy/common.py
|
||||
new file mode 100644
|
||||
index 0000000..1f15b3c
|
||||
--- /dev/null
|
||||
+++ b/renpy/common.py
|
||||
@@ -0,0 +1,103 @@
|
||||
+# This file is part of Ren'Py. The license below applies to Ren'Py only.
|
||||
+# Games and other projects that use Ren'Py may use a different license.
|
||||
+
|
||||
+# Copyright 2004-2012 Tom Rothamel <pytom@bishoujo.us>
|
||||
+#
|
||||
+# Permission is hereby granted, free of charge, to any person
|
||||
+# obtaining a copy of this software and associated documentation files
|
||||
+# (the "Software"), to deal in the Software without restriction,
|
||||
+# including without limitation the rights to use, copy, modify, merge,
|
||||
+# publish, distribute, sublicense, and/or sell copies of the Software,
|
||||
+# and to permit persons to whom the Software is furnished to do so,
|
||||
+# subject to the following conditions:
|
||||
+#
|
||||
+# The above copyright notice and this permission notice shall be
|
||||
+# included in all copies or substantial portions of the Software.
|
||||
+#
|
||||
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
+# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
+# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
+# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
+
|
||||
+import os
|
||||
+import sys
|
||||
+import warnings
|
||||
+from distutils.sysconfig import get_python_lib
|
||||
+
|
||||
+# Functions to be customized by distributors. ################################
|
||||
+
|
||||
+# Given the Ren'Py base directory (usually the directory containing
|
||||
+# this file), this is expected to return the path to the common directory.
|
||||
+def path_to_common(renpy_base):
|
||||
+ return renpy_base + "/renpy/common"
|
||||
+
|
||||
+# Given a directory holding a Ren'Py game, this is expected to return
|
||||
+# the path to a directory that will hold save files.
|
||||
+def path_to_saves(gamedir):
|
||||
+ import renpy #@UnresolvedImport
|
||||
+
|
||||
+ # Android.
|
||||
+ if renpy.android:
|
||||
+ paths = [
|
||||
+ os.path.join(os.environ["ANDROID_OLD_PUBLIC"], "game/saves"),
|
||||
+ os.path.join(os.environ["ANDROID_PRIVATE"], "saves"),
|
||||
+ os.path.join(os.environ["ANDROID_PUBLIC"], "saves"),
|
||||
+ ]
|
||||
+
|
||||
+ for rv in paths:
|
||||
+ if os.path.isdir(rv):
|
||||
+ break
|
||||
+
|
||||
+ print "Using savedir", rv
|
||||
+
|
||||
+ # We return the last path as the default.
|
||||
+
|
||||
+ return rv
|
||||
+
|
||||
+
|
||||
+ # No save directory given.
|
||||
+ if not renpy.config.save_directory:
|
||||
+ return gamedir + "/saves"
|
||||
+
|
||||
+ # Search the path above Ren'Py for a directory named "Ren'Py Data".
|
||||
+ # If it exists, then use that for our save directory.
|
||||
+ path = renpy.config.renpy_base
|
||||
+
|
||||
+ while True:
|
||||
+ if os.path.isdir(path + "/Ren'Py Data"):
|
||||
+ return path + "/Ren'Py Data/" + renpy.config.save_directory
|
||||
+
|
||||
+ newpath = os.path.dirname(path)
|
||||
+ if path == newpath:
|
||||
+ break
|
||||
+ path = newpath
|
||||
+
|
||||
+ # Otherwise, put the saves in a platform-specific location.
|
||||
+ if renpy.macintosh:
|
||||
+ rv = "~/Library/RenPy/" + renpy.config.save_directory
|
||||
+ return os.path.expanduser(rv)
|
||||
+
|
||||
+ elif renpy.windows:
|
||||
+ if 'APPDATA' in os.environ:
|
||||
+ return os.environ['APPDATA'] + "/RenPy/" + renpy.config.save_directory
|
||||
+ else:
|
||||
+ rv = "~/RenPy/" + renpy.config.save_directory
|
||||
+ return os.path.expanduser(rv)
|
||||
+
|
||||
+ else:
|
||||
+ rv = "~/.renpy/" + renpy.config.save_directory
|
||||
+ return os.path.expanduser(rv)
|
||||
+
|
||||
+
|
||||
+# Returns the path to the Ren'Py base directory (containing common and
|
||||
+# the launcher, usually.)
|
||||
+def path_to_renpy_base():
|
||||
+ renpy_base = os.path.dirname(os.path.realpath(sys.argv[0]))
|
||||
+ renpy_base = get_python_lib() + "/renpy@SLOT@"
|
||||
+ renpy_base = os.environ.get('RENPY_BASE', renpy_base)
|
||||
+ renpy_base = os.path.abspath(renpy_base)
|
||||
+
|
||||
+ return renpy_base
|
||||
diff --git a/renpy/main.py b/renpy/main.py
|
||||
index d15eefc..b11bba9 100644
|
||||
--- a/renpy/main.py
|
||||
+++ b/renpy/main.py
|
||||
@@ -26,7 +26,7 @@ import sys
|
||||
import time
|
||||
import zipfile
|
||||
import subprocess
|
||||
-import __main__
|
||||
+import renpy.common as common
|
||||
|
||||
|
||||
def run(restart):
|
||||
@@ -166,7 +166,7 @@ def main():
|
||||
renpy.config.searchpath = [ renpy.config.gamedir ]
|
||||
|
||||
# Find the common directory.
|
||||
- commondir = __main__.path_to_common(renpy.config.renpy_base) # E1101 @UndefinedVariable
|
||||
+ commondir = common.path_to_common(renpy.config.renpy_base) # E1101 @UndefinedVariable
|
||||
|
||||
if os.path.isdir(commondir):
|
||||
renpy.config.searchpath.append(commondir)
|
||||
@@ -229,7 +229,7 @@ def main():
|
||||
|
||||
# Find the save directory.
|
||||
if renpy.config.savedir is None:
|
||||
- renpy.config.savedir = __main__.path_to_saves(renpy.config.gamedir) # E1101 @UndefinedVariable
|
||||
+ renpy.config.savedir = common.path_to_saves(renpy.config.gamedir) # E1101 @UndefinedVariable
|
||||
|
||||
if renpy.game.args.savedir: #@UndefinedVariable
|
||||
renpy.config.savedir = renpy.game.args.savedir #@UndefinedVariable
|
@ -1,245 +0,0 @@
|
||||
commit 23f67fe23d7b51e352a500a0e005ae3ef4dbc097
|
||||
Author: hasufell <hasufell@gentoo.org>
|
||||
Date: Sat Oct 26 22:17:31 2013 +0200
|
||||
|
||||
fix multiple abi support
|
||||
|
||||
diff --git a/renpy.py b/renpy.py
|
||||
index 9f2977f..394e4e1 100644
|
||||
--- a/renpy.py
|
||||
+++ b/renpy.py
|
||||
@@ -28,82 +28,9 @@
|
||||
import os
|
||||
import sys
|
||||
import warnings
|
||||
-
|
||||
-# Functions to be customized by distributors. ################################
|
||||
-
|
||||
-# Given the Ren'Py base directory (usually the directory containing
|
||||
-# this file), this is expected to return the path to the common directory.
|
||||
-def path_to_common(renpy_base):
|
||||
- return renpy_base + "/renpy/common"
|
||||
-
|
||||
-# Given a directory holding a Ren'Py game, this is expected to return
|
||||
-# the path to a directory that will hold save files.
|
||||
-def path_to_saves(gamedir):
|
||||
- import renpy #@UnresolvedImport
|
||||
-
|
||||
- # Android.
|
||||
- if renpy.android:
|
||||
- paths = [
|
||||
- os.path.join(os.environ["ANDROID_OLD_PUBLIC"], "game/saves"),
|
||||
- os.path.join(os.environ["ANDROID_PRIVATE"], "saves"),
|
||||
- os.path.join(os.environ["ANDROID_PUBLIC"], "saves"),
|
||||
- ]
|
||||
-
|
||||
- for rv in paths:
|
||||
- if os.path.isdir(rv):
|
||||
- break
|
||||
-
|
||||
- print "Using savedir", rv
|
||||
-
|
||||
- # We return the last path as the default.
|
||||
-
|
||||
- return rv
|
||||
-
|
||||
-
|
||||
- # No save directory given.
|
||||
- if not renpy.config.save_directory:
|
||||
- return gamedir + "/saves"
|
||||
-
|
||||
- # Search the path above Ren'Py for a directory named "Ren'Py Data".
|
||||
- # If it exists, then use that for our save directory.
|
||||
- path = renpy.config.renpy_base
|
||||
-
|
||||
- while True:
|
||||
- if os.path.isdir(path + "/Ren'Py Data"):
|
||||
- return path + "/Ren'Py Data/" + renpy.config.save_directory
|
||||
-
|
||||
- newpath = os.path.dirname(path)
|
||||
- if path == newpath:
|
||||
- break
|
||||
- path = newpath
|
||||
-
|
||||
- # Otherwise, put the saves in a platform-specific location.
|
||||
- if renpy.macintosh:
|
||||
- rv = "~/Library/RenPy/" + renpy.config.save_directory
|
||||
- return os.path.expanduser(rv)
|
||||
-
|
||||
- elif renpy.windows:
|
||||
- if 'APPDATA' in os.environ:
|
||||
- return os.environ['APPDATA'] + "/RenPy/" + renpy.config.save_directory
|
||||
- else:
|
||||
- rv = "~/RenPy/" + renpy.config.save_directory
|
||||
- return os.path.expanduser(rv)
|
||||
-
|
||||
- else:
|
||||
- rv = "~/.renpy/" + renpy.config.save_directory
|
||||
- return os.path.expanduser(rv)
|
||||
-
|
||||
-
|
||||
-# Returns the path to the Ren'Py base directory (containing common and
|
||||
-# the launcher, usually.)
|
||||
-def path_to_renpy_base():
|
||||
- renpy_base = os.path.dirname(os.path.realpath(sys.argv[0]))
|
||||
- renpy_base = os.environ.get('RENPY_BASE', renpy_base)
|
||||
- renpy_base = os.path.abspath(renpy_base)
|
||||
-
|
||||
- return renpy_base
|
||||
-
|
||||
-##############################################################################
|
||||
+from distutils.sysconfig import get_python_lib
|
||||
+sys.path.append(get_python_lib() + "/renpy@SLOT@")
|
||||
+import renpy.common as common
|
||||
|
||||
# The version of the Mac Launcher and py4renpy that we require.
|
||||
macos_version = (6, 14, 0)
|
||||
@@ -131,7 +58,7 @@ if android:
|
||||
|
||||
def main():
|
||||
|
||||
- renpy_base = path_to_renpy_base()
|
||||
+ renpy_base = common.path_to_renpy_base()
|
||||
|
||||
# Add paths.
|
||||
if os.path.exists(renpy_base + "/module"):
|
||||
diff --git a/renpy/common.py b/renpy/common.py
|
||||
new file mode 100644
|
||||
index 0000000..1f15b3c
|
||||
--- /dev/null
|
||||
+++ b/renpy/common.py
|
||||
@@ -0,0 +1,103 @@
|
||||
+# This file is part of Ren'Py. The license below applies to Ren'Py only.
|
||||
+# Games and other projects that use Ren'Py may use a different license.
|
||||
+
|
||||
+# Copyright 2004-2012 Tom Rothamel <pytom@bishoujo.us>
|
||||
+#
|
||||
+# Permission is hereby granted, free of charge, to any person
|
||||
+# obtaining a copy of this software and associated documentation files
|
||||
+# (the "Software"), to deal in the Software without restriction,
|
||||
+# including without limitation the rights to use, copy, modify, merge,
|
||||
+# publish, distribute, sublicense, and/or sell copies of the Software,
|
||||
+# and to permit persons to whom the Software is furnished to do so,
|
||||
+# subject to the following conditions:
|
||||
+#
|
||||
+# The above copyright notice and this permission notice shall be
|
||||
+# included in all copies or substantial portions of the Software.
|
||||
+#
|
||||
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
+# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
+# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
+# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
+
|
||||
+import os
|
||||
+import sys
|
||||
+import warnings
|
||||
+from distutils.sysconfig import get_python_lib
|
||||
+
|
||||
+# Functions to be customized by distributors. ################################
|
||||
+
|
||||
+# Given the Ren'Py base directory (usually the directory containing
|
||||
+# this file), this is expected to return the path to the common directory.
|
||||
+def path_to_common(renpy_base):
|
||||
+ return renpy_base + "/renpy/common"
|
||||
+
|
||||
+# Given a directory holding a Ren'Py game, this is expected to return
|
||||
+# the path to a directory that will hold save files.
|
||||
+def path_to_saves(gamedir):
|
||||
+ import renpy #@UnresolvedImport
|
||||
+
|
||||
+ # Android.
|
||||
+ if renpy.android:
|
||||
+ paths = [
|
||||
+ os.path.join(os.environ["ANDROID_OLD_PUBLIC"], "game/saves"),
|
||||
+ os.path.join(os.environ["ANDROID_PRIVATE"], "saves"),
|
||||
+ os.path.join(os.environ["ANDROID_PUBLIC"], "saves"),
|
||||
+ ]
|
||||
+
|
||||
+ for rv in paths:
|
||||
+ if os.path.isdir(rv):
|
||||
+ break
|
||||
+
|
||||
+ print "Using savedir", rv
|
||||
+
|
||||
+ # We return the last path as the default.
|
||||
+
|
||||
+ return rv
|
||||
+
|
||||
+
|
||||
+ # No save directory given.
|
||||
+ if not renpy.config.save_directory:
|
||||
+ return gamedir + "/saves"
|
||||
+
|
||||
+ # Search the path above Ren'Py for a directory named "Ren'Py Data".
|
||||
+ # If it exists, then use that for our save directory.
|
||||
+ path = renpy.config.renpy_base
|
||||
+
|
||||
+ while True:
|
||||
+ if os.path.isdir(path + "/Ren'Py Data"):
|
||||
+ return path + "/Ren'Py Data/" + renpy.config.save_directory
|
||||
+
|
||||
+ newpath = os.path.dirname(path)
|
||||
+ if path == newpath:
|
||||
+ break
|
||||
+ path = newpath
|
||||
+
|
||||
+ # Otherwise, put the saves in a platform-specific location.
|
||||
+ if renpy.macintosh:
|
||||
+ rv = "~/Library/RenPy/" + renpy.config.save_directory
|
||||
+ return os.path.expanduser(rv)
|
||||
+
|
||||
+ elif renpy.windows:
|
||||
+ if 'APPDATA' in os.environ:
|
||||
+ return os.environ['APPDATA'] + "/RenPy/" + renpy.config.save_directory
|
||||
+ else:
|
||||
+ rv = "~/RenPy/" + renpy.config.save_directory
|
||||
+ return os.path.expanduser(rv)
|
||||
+
|
||||
+ else:
|
||||
+ rv = "~/.renpy/" + renpy.config.save_directory
|
||||
+ return os.path.expanduser(rv)
|
||||
+
|
||||
+
|
||||
+# Returns the path to the Ren'Py base directory (containing common and
|
||||
+# the launcher, usually.)
|
||||
+def path_to_renpy_base():
|
||||
+ renpy_base = os.path.dirname(os.path.realpath(sys.argv[0]))
|
||||
+ renpy_base = get_python_lib() + "/renpy@SLOT@"
|
||||
+ renpy_base = os.environ.get('RENPY_BASE', renpy_base)
|
||||
+ renpy_base = os.path.abspath(renpy_base)
|
||||
+
|
||||
+ return renpy_base
|
||||
diff --git a/renpy/main.py b/renpy/main.py
|
||||
index d15eefc..b11bba9 100644
|
||||
--- a/renpy/main.py
|
||||
+++ b/renpy/main.py
|
||||
@@ -26,7 +26,7 @@ import sys
|
||||
import time
|
||||
import zipfile
|
||||
import subprocess
|
||||
-import __main__
|
||||
+import renpy.common as common
|
||||
|
||||
|
||||
def run(restart):
|
||||
@@ -166,7 +166,7 @@ def main():
|
||||
renpy.config.searchpath = [ renpy.config.gamedir ]
|
||||
|
||||
# Find the common directory.
|
||||
- commondir = __main__.path_to_common(renpy.config.renpy_base) # E1101 @UndefinedVariable
|
||||
+ commondir = common.path_to_common(renpy.config.renpy_base) # E1101 @UndefinedVariable
|
||||
|
||||
if os.path.isdir(commondir):
|
||||
renpy.config.searchpath.append(commondir)
|
||||
@@ -229,7 +229,7 @@ def main():
|
||||
|
||||
# Find the save directory.
|
||||
if renpy.config.savedir is None:
|
||||
- renpy.config.savedir = __main__.path_to_saves(renpy.config.gamedir) # E1101 @UndefinedVariable
|
||||
+ renpy.config.savedir = common.path_to_saves(renpy.config.gamedir) # E1101 @UndefinedVariable
|
||||
|
||||
if renpy.game.args.savedir: #@UndefinedVariable
|
||||
renpy.config.savedir = renpy.game.args.savedir #@UndefinedVariable
|
@ -1,111 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-engines/renpy/renpy-6.15.4.ebuild,v 1.4 2013/10/30 19:23:30 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_6 python2_7 )
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
inherit eutils toolchain-funcs python-r1 versionator gnome2-utils games distutils-r1
|
||||
|
||||
DESCRIPTION="Visual novel engine written in python"
|
||||
HOMEPAGE="http://www.renpy.org"
|
||||
SRC_URI="http://www.renpy.org/dl/${PV}/${P}-source.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
MYSLOT=$(delete_all_version_separators ${SLOT})
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="development doc examples"
|
||||
REQUIRED_USE="examples? ( development )"
|
||||
|
||||
RDEPEND="
|
||||
>=app-admin/eselect-renpy-0.2
|
||||
dev-libs/fribidi
|
||||
dev-python/pygame[X,${PYTHON_USEDEP}]
|
||||
>=dev-lang/python-exec-0.3[${PYTHON_USEDEP}]
|
||||
media-libs/glew
|
||||
media-libs/libpng:0
|
||||
media-libs/libsdl[X,video]
|
||||
media-libs/freetype:2
|
||||
sys-libs/zlib
|
||||
virtual/ffmpeg
|
||||
virtual/python-argparse[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${P}-source
|
||||
|
||||
pkg_setup() {
|
||||
games_pkg_setup
|
||||
export CFLAGS="${CFLAGS} $($(tc-getPKG_CONFIG) --cflags fribidi)"
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
# wooosh! this should fix multiple abi
|
||||
epatch "${FILESDIR}"/${P}-multiple-abi.patch
|
||||
|
||||
einfo "Deleting precompiled python files"
|
||||
find . -name '*.py[co]' -print -delete || die
|
||||
|
||||
sed -i \
|
||||
-e "s/@SLOT@/${MYSLOT}/" \
|
||||
renpy.py renpy/common.py || die "setting slot failed!"
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
cd "${S}"/module || die
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_install() {
|
||||
cd "${S}"/module || die
|
||||
distutils-r1_python_install --install-lib="$(python_get_sitedir)/renpy${MYSLOT}"
|
||||
|
||||
cd "${S}" || die
|
||||
python_scriptinto "${GAMES_BINDIR}"
|
||||
python_newscript renpy.py ${PN}-${SLOT}
|
||||
|
||||
python_moduleinto renpy${MYSLOT}
|
||||
python_domodule renpy
|
||||
if use development ; then
|
||||
python_domodule launcher template
|
||||
fi
|
||||
if use examples ; then
|
||||
python_domodule the_question tutorial
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use development; then
|
||||
newicon -s 32 launcher/game/logo32.png ${P}.png
|
||||
make_desktop_entry ${PN}-${SLOT} "Ren'Py ${PV}" ${P}
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc
|
||||
fi
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
use development && gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
use development && gnome2_icon_cache_update
|
||||
|
||||
einfo "running: eselect renpy update --if-unset"
|
||||
eselect renpy update --if-unset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use development && gnome2_icon_cache_update
|
||||
|
||||
einfo "running: eselect renpy update --if-unset"
|
||||
eselect renpy update --if-unset
|
||||
}
|
@ -1,111 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-engines/renpy/renpy-6.16.2.ebuild,v 1.1 2013/11/22 12:30:21 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_6 python2_7 )
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
inherit eutils toolchain-funcs python-r1 versionator gnome2-utils games distutils-r1
|
||||
|
||||
DESCRIPTION="Visual novel engine written in python"
|
||||
HOMEPAGE="http://www.renpy.org"
|
||||
SRC_URI="http://www.renpy.org/dl/${PV}/${P}-source.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
MYSLOT=$(delete_all_version_separators ${SLOT})
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="development doc examples"
|
||||
REQUIRED_USE="examples? ( development )"
|
||||
|
||||
RDEPEND="
|
||||
>=app-admin/eselect-renpy-0.3
|
||||
dev-libs/fribidi
|
||||
dev-python/pygame[X,${PYTHON_USEDEP}]
|
||||
>=dev-python/python-exec-0.3[${PYTHON_USEDEP}]
|
||||
media-libs/glew
|
||||
media-libs/libpng:0
|
||||
media-libs/libsdl[X,video]
|
||||
media-libs/freetype:2
|
||||
sys-libs/zlib
|
||||
virtual/ffmpeg
|
||||
virtual/python-argparse[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${P}-source
|
||||
|
||||
pkg_setup() {
|
||||
games_pkg_setup
|
||||
export CFLAGS="${CFLAGS} $($(tc-getPKG_CONFIG) --cflags fribidi)"
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
# wooosh! this should fix multiple abi
|
||||
epatch "${FILESDIR}"/${P}-multiple-abi.patch
|
||||
|
||||
einfo "Deleting precompiled python files"
|
||||
find . -name '*.py[co]' -print -delete || die
|
||||
|
||||
sed -i \
|
||||
-e "s/@SLOT@/${MYSLOT}/" \
|
||||
renpy.py renpy/common.py || die "setting slot failed!"
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
cd "${S}"/module || die
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_install() {
|
||||
cd "${S}"/module || die
|
||||
distutils-r1_python_install --install-lib="$(python_get_sitedir)/renpy${MYSLOT}"
|
||||
|
||||
cd "${S}" || die
|
||||
python_scriptinto "${GAMES_BINDIR}"
|
||||
python_newscript renpy.py ${PN}-${SLOT}
|
||||
|
||||
python_moduleinto renpy${MYSLOT}
|
||||
python_domodule renpy
|
||||
if use development ; then
|
||||
python_domodule launcher template
|
||||
fi
|
||||
if use examples ; then
|
||||
python_domodule the_question tutorial
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use development; then
|
||||
newicon -s 32 launcher/game/logo32.png ${P}.png
|
||||
make_desktop_entry ${PN}-${SLOT} "Ren'Py ${PV}" ${P}
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc
|
||||
fi
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
use development && gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
use development && gnome2_icon_cache_update
|
||||
|
||||
einfo "running: eselect renpy update --if-unset"
|
||||
eselect renpy update --if-unset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use development && gnome2_icon_cache_update
|
||||
|
||||
einfo "running: eselect renpy update --if-unset"
|
||||
eselect renpy update --if-unset
|
||||
}
|
@ -1,111 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-engines/renpy/renpy-6.16.3.ebuild,v 1.1 2013/12/02 19:12:53 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_6 python2_7 )
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
inherit eutils toolchain-funcs python-r1 versionator gnome2-utils games distutils-r1
|
||||
|
||||
DESCRIPTION="Visual novel engine written in python"
|
||||
HOMEPAGE="http://www.renpy.org"
|
||||
SRC_URI="http://www.renpy.org/dl/${PV}/${P}-source.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
MYSLOT=$(delete_all_version_separators ${SLOT})
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="development doc examples"
|
||||
REQUIRED_USE="examples? ( development )"
|
||||
|
||||
RDEPEND="
|
||||
>=app-admin/eselect-renpy-0.3
|
||||
dev-libs/fribidi
|
||||
dev-python/pygame[X,${PYTHON_USEDEP}]
|
||||
>=dev-python/python-exec-0.3[${PYTHON_USEDEP}]
|
||||
media-libs/glew
|
||||
media-libs/libpng:0
|
||||
media-libs/libsdl[X,video]
|
||||
media-libs/freetype:2
|
||||
sys-libs/zlib
|
||||
virtual/ffmpeg
|
||||
virtual/python-argparse[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${P}-source
|
||||
|
||||
pkg_setup() {
|
||||
games_pkg_setup
|
||||
export CFLAGS="${CFLAGS} $($(tc-getPKG_CONFIG) --cflags fribidi)"
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
# wooosh! this should fix multiple abi
|
||||
epatch "${FILESDIR}"/${P}-multiple-abi.patch
|
||||
|
||||
einfo "Deleting precompiled python files"
|
||||
find . -name '*.py[co]' -print -delete || die
|
||||
|
||||
sed -i \
|
||||
-e "s/@SLOT@/${MYSLOT}/" \
|
||||
renpy.py renpy/common.py || die "setting slot failed!"
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
cd "${S}"/module || die
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_install() {
|
||||
cd "${S}"/module || die
|
||||
distutils-r1_python_install --install-lib="$(python_get_sitedir)/renpy${MYSLOT}"
|
||||
|
||||
cd "${S}" || die
|
||||
python_scriptinto "${GAMES_BINDIR}"
|
||||
python_newscript renpy.py ${PN}-${SLOT}
|
||||
|
||||
python_moduleinto renpy${MYSLOT}
|
||||
python_domodule renpy
|
||||
if use development ; then
|
||||
python_domodule launcher template
|
||||
fi
|
||||
if use examples ; then
|
||||
python_domodule the_question tutorial
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use development; then
|
||||
newicon -s 32 launcher/game/logo32.png ${P}.png
|
||||
make_desktop_entry ${PN}-${SLOT} "Ren'Py ${PV}" ${P}
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc
|
||||
fi
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
use development && gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
use development && gnome2_icon_cache_update
|
||||
|
||||
einfo "running: eselect renpy update --if-unset"
|
||||
eselect renpy update --if-unset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use development && gnome2_icon_cache_update
|
||||
|
||||
einfo "running: eselect renpy update --if-unset"
|
||||
eselect renpy update --if-unset
|
||||
}
|
@ -1 +1 @@
|
||||
Thu, 30 Jan 2014 16:37:05 +0000
|
||||
Fri, 31 Jan 2014 07:07:00 +0000
|
||||
|
@ -1 +1 @@
|
||||
Thu, 30 Jan 2014 16:37:05 +0000
|
||||
Fri, 31 Jan 2014 07:07:00 +0000
|
||||
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=install prepare
|
||||
DEPEND=>=sys-apps/findutils-4.2.26
|
||||
DESCRIPTION=Provides precompiled 32bit libraries
|
||||
EAPI=5
|
||||
HOMEPAGE=http://dev.gentoo.org/~pacho/emul.html
|
||||
IUSE=abi_x86_32 +development
|
||||
KEYWORDS=-* ~amd64
|
||||
LICENSE=Artistic GPL-1 GPL-2 GPL-3 BSD BSD-2 BZIP2 AFL-2.1 LGPL-2.1 BSD-4 MIT public-domain LGPL-3 LGPL-2 GPL-2-with-exceptions MPL-1.1 OPENLDAP Sleepycat UoI-NCSA ZLIB openafs-krb5-a HPND ISC RSA IJG libmng libtiff openssl tcp_wrappers_license
|
||||
RDEPEND=!<app-emulation/emul-linux-x86-medialibs-10.2 abi_x86_32? ( >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)] >=app-arch/bzip2-1.0.6-r4[abi_x86_32(-)] >=media-libs/libpng-1.5.16-r1:0[abi_x86_32(-)] >=dev-libs/udis86-1.7-r2[abi_x86_32(-)] >=virtual/libffi-3.0.13-r1[abi_x86_32(-)] >=sys-devel/llvm-3.3-r1[abi_x86_32(-)] >=media-libs/libpng-1.2.50-r1:1.2[abi_x86_32(-)] virtual/jpeg:62[abi_x86_32(-)] >=sys-libs/libraw1394-2.1.0-r1[abi_x86_32(-)] >=sys-libs/libavc1394-0.5.4-r1[abi_x86_32(-)] >=dev-libs/expat-2.1.0-r3[abi_x86_32(-)] >=virtual/libusb-0-r1:0[abi_x86_32(-)] >=virtual/libusb-1-r1:1[abi_x86_32(-)] || ( >=virtual/udev-206-r1[abi_x86_32(-)] ~virtual/udev-204[abi_x86_32(-)] ) >=media-libs/tiff-4.0.3-r5:0[abi_x86_32(-)] >=sys-apps/attr-2.4.47-r1[abi_x86_32(-)] >=dev-libs/glib-2.36.3-r2:2[abi_x86_32(-)] >=media-libs/lcms-2.5-r1:2[abi_x86_32(-)] >=app-text/libpaper-1.1.24-r2[abi_x86_32(-)] >=media-libs/tiff-3.9.7-r1:3[abi_x86_32(-)] || ( >=dev-libs/elfutils-0.155-r1[abi_x86_32(-)] >=dev-libs/libelf-0.8.13-r2[abi_x86_32(-)] ) >=sys-libs/e2fsprogs-libs-1.42.7-r1[abi_x86_32(-)] >=sys-libs/ncurses-5.9-r3[abi_x86_32(-)] >=sys-libs/gpm-1.20.7-r2[abi_x86_32(-)] >=dev-libs/gmp-5.1.3-r1[abi_x86_32(-)] >=dev-libs/libpcre-8.33-r1[abi_x86_32(-)] >=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)] >=sys-apps/tcp-wrappers-7.6.22-r1[abi_x86_32(-)] >=sys-libs/gdbm-1.10-r1[abi_x86_32(-)] >=dev-libs/json-c-0.11-r1[abi_x86_32(-)] >=dev-libs/libxml2-2.9.1-r2[abi_x86_32(-)] >=dev-libs/dbus-glib-0.100.2-r1[abi_x86_32(-)] >=sys-libs/readline-6.2_p5-r1:0[abi_x86_32(-)] ) >=sys-libs/glibc-2.15
|
||||
RESTRICT=strip
|
||||
SLOT=0
|
||||
SRC_URI=http://dev.gentoo.org/~pacho/emul/emul-linux-x86-baselibs-20131008.tar.xz
|
||||
_eclasses_=emul-linux-x86 849070907fe4e8553daad52137b99265 multilib fac675dcccf94392371a6abee62d909f toolchain-funcs 48b38a216afb92db6314d6c3187abea3
|
||||
_md5_=5dd05a64d24a1d9a134ac408cd09935f
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=install prepare
|
||||
DEPEND=>=sys-apps/findutils-4.2.26
|
||||
DESCRIPTION=Provides precompiled 32bit libraries
|
||||
EAPI=5
|
||||
HOMEPAGE=http://dev.gentoo.org/~pacho/emul.html
|
||||
IUSE=abi_x86_32 +development
|
||||
KEYWORDS=-* ~amd64
|
||||
LICENSE=Artistic GPL-1 GPL-2 GPL-3 BSD BSD-2 BZIP2 AFL-2.1 LGPL-2.1 BSD-4 MIT public-domain LGPL-3 LGPL-2 GPL-2-with-exceptions MPL-1.1 OPENLDAP Sleepycat UoI-NCSA ZLIB openafs-krb5-a HPND ISC RSA IJG libmng libtiff openssl tcp_wrappers_license
|
||||
RDEPEND=!<app-emulation/emul-linux-x86-medialibs-10.2 abi_x86_32? ( >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)] >=app-arch/bzip2-1.0.6-r4[abi_x86_32(-)] >=media-libs/libpng-1.5.16-r1:0[abi_x86_32(-)] >=dev-libs/udis86-1.7-r2[abi_x86_32(-)] >=virtual/libffi-3.0.13-r1[abi_x86_32(-)] >=sys-devel/llvm-3.3-r1[abi_x86_32(-)] >=media-libs/libpng-1.2.50-r1:1.2[abi_x86_32(-)] >=media-libs/libjpeg-turbo-1.3.0-r2:0[abi_x86_32(-)] >=sys-libs/libraw1394-2.1.0-r1[abi_x86_32(-)] >=sys-libs/libavc1394-0.5.4-r1[abi_x86_32(-)] >=dev-libs/expat-2.1.0-r3[abi_x86_32(-)] >=virtual/libusb-0-r1:0[abi_x86_32(-)] >=virtual/libusb-1-r1:1[abi_x86_32(-)] || ( >=virtual/udev-206-r1[abi_x86_32(-)] ~virtual/udev-204[abi_x86_32(-)] ) >=media-libs/tiff-4.0.3-r5:0[abi_x86_32(-)] >=sys-apps/attr-2.4.47-r1[abi_x86_32(-)] >=dev-libs/glib-2.36.3-r2:2[abi_x86_32(-)] >=media-libs/lcms-2.5-r1:2[abi_x86_32(-)] >=app-text/libpaper-1.1.24-r2[abi_x86_32(-)] >=media-libs/tiff-3.9.7-r1:3[abi_x86_32(-)] || ( >=dev-libs/elfutils-0.155-r1[abi_x86_32(-)] >=dev-libs/libelf-0.8.13-r2[abi_x86_32(-)] ) >=sys-libs/e2fsprogs-libs-1.42.7-r1[abi_x86_32(-)] >=sys-libs/ncurses-5.9-r3[abi_x86_32(-)] >=sys-libs/gpm-1.20.7-r2[abi_x86_32(-)] >=dev-libs/gmp-5.1.3-r1[abi_x86_32(-)] >=dev-libs/libpcre-8.33-r1[abi_x86_32(-)] >=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)] >=sys-apps/tcp-wrappers-7.6.22-r1[abi_x86_32(-)] >=sys-libs/gdbm-1.10-r1[abi_x86_32(-)] >=dev-libs/json-c-0.11-r1[abi_x86_32(-)] >=dev-libs/libxml2-2.9.1-r2[abi_x86_32(-)] >=dev-libs/dbus-glib-0.100.2-r1[abi_x86_32(-)] >=sys-libs/readline-6.2_p5-r1:0[abi_x86_32(-)] ) >=sys-libs/glibc-2.15
|
||||
RESTRICT=strip
|
||||
SLOT=0
|
||||
SRC_URI=http://dev.gentoo.org/~pacho/emul/emul-linux-x86-baselibs-20131008.tar.xz
|
||||
_eclasses_=emul-linux-x86 849070907fe4e8553daad52137b99265 multilib fac675dcccf94392371a6abee62d909f toolchain-funcs 48b38a216afb92db6314d6c3187abea3
|
||||
_md5_=1128f4acfc0c55fa7874e365ee706ad4
|
@ -1,9 +1,9 @@
|
||||
DEFINED_PHASES=compile install
|
||||
DESCRIPTION=A somewhat comprehensive collection of french Linux man pages
|
||||
HOMEPAGE=http://fr.tldp.org/manfr.php
|
||||
KEYWORDS=alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-linux
|
||||
KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-linux
|
||||
LICENSE=man-pages GPL-2+ BSD MIT LDP-1 public-domain
|
||||
RDEPEND=virtual/man
|
||||
SLOT=0
|
||||
SRC_URI=ftp://ftp.win.tue.nl/pub/linux-local/manpages/translations/man-pages-fr-2.39.0.tar.bz2
|
||||
_md5_=d7e55c3255cca86cae10efe6b6524f92
|
||||
_md5_=0ac1b2f329fd852ce807b3d152066cb7
|
||||
|
@ -1,9 +1,9 @@
|
||||
DEFINED_PHASES=compile install postinst
|
||||
DESCRIPTION=A collection of manual pages translated into Japanese
|
||||
HOMEPAGE=http://www.linux.or.jp/JM/ http://www.gentoo.gr.jp/jpmain/translation.xml
|
||||
KEYWORDS=alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86
|
||||
KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86
|
||||
LICENSE=GPL-2+ GPL-2 LGPL-2+ LGPL-2 BSD MIT ISC HPND FDL-1.1+ LDP-1 LDP-1a man-pages Texinfo-manual
|
||||
RDEPEND=virtual/man
|
||||
SLOT=0
|
||||
SRC_URI=http://www.linux.or.jp/JM/man-pages-ja-20070515.tar.gz http://dev.gentoo.org/~hattya/distfiles/portage-man-pages-ja-20060415.tar.gz
|
||||
_md5_=884e0c55e63880c048eabb89247c526f
|
||||
_md5_=cecf67dff9c7ba43f84f8480d1e29229
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue