parent
2e81f9deda
commit
9d3e264eda
@ -1,152 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/libguestfs-1.17.14.ebuild,v 1.2 2012/03/15 15:46:08 mr_bones_ Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
APLANCE_PV="1.17.14"
|
||||
APPL_P="appliance-${APLANCE_PV}"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
inherit check-reqs bash-completion-r1 autotools-utils versionator eutils \
|
||||
multilib linux-info perl-module
|
||||
|
||||
MY_PV_1="$(get_version_component_range 1-2)"
|
||||
MY_PV_2="$(get_version_component_range 2)"
|
||||
|
||||
[[ $(( $(get_version_component_range 2) % 2 )) -eq 0 ]] && SD="stable" || SD="development"
|
||||
|
||||
DESCRIPTION="Tools for accessing, inspect and modifying virtual machine (VM) disk images"
|
||||
HOMEPAGE="http://libguestfs.org/"
|
||||
SRC_URI="http://libguestfs.org/download/${MY_PV_1}-${SD}/${P}.tar.gz
|
||||
http://rion-overlay.googlecode.com/files/${APPL_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
# Upstream NOT supported 32-bit version, keyword in own risk
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="bash-completion erlang +fuse debug ocaml doc +perl nls ruby static-libs selinux systemtap introspection"
|
||||
|
||||
# Failires - doc
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-misc/hivex-1.3.1
|
||||
dev-libs/libpcre
|
||||
app-arch/cpio
|
||||
dev-lang/perl
|
||||
app-cdr/cdrkit
|
||||
>=app-emulation/qemu-kvm-1.0[qemu_user_targets_x86_64,qemu_softmmu_targets_x86_64]
|
||||
sys-apps/fakeroot
|
||||
sys-apps/file
|
||||
app-emulation/libvirt
|
||||
dev-libs/libxml2:2
|
||||
>=sys-apps/fakechroot-2.8
|
||||
>=app-admin/augeas-0.7.1
|
||||
sys-fs/squashfs-tools
|
||||
dev-libs/libconfig
|
||||
dev-libs/libpcre
|
||||
sys-libs/readline
|
||||
>=sys-libs/db-4.6
|
||||
perl? ( virtual/perl-ExtUtils-MakeMaker
|
||||
>=dev-perl/Sys-Virt-0.2.4
|
||||
virtual/perl-Getopt-Long
|
||||
virtual/perl-Data-Dumper
|
||||
dev-perl/libintl-perl
|
||||
>=app-misc/hivex-1.3.1[perl?]
|
||||
dev-perl/String-ShellQuote
|
||||
)
|
||||
fuse? ( sys-fs/fuse )
|
||||
introspection? (
|
||||
>=dev-libs/gobject-introspection-1.30.0
|
||||
dev-libs/gjs
|
||||
)
|
||||
selinux? ( sys-libs/libselinux sys-libs/libsemanage )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
ocaml? ( dev-lang/ocaml[ocamlopt] dev-ml/findlib[ocamlopt] )
|
||||
erlang? ( dev-lang/erlang )
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/gperf
|
||||
doc? ( app-text/po4a )
|
||||
ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
PATCHES=(${FILESDIR}/1.17/*.patch)
|
||||
|
||||
DOCS=(AUTHORS BUGS HACKING README RELEASE-NOTES ROADMAP TODO)
|
||||
|
||||
pkg_pretend() {
|
||||
CHECKREQS_DISK_BUILD="5G"
|
||||
CHECKREQS_DISK_USR="5G"
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup () {
|
||||
CONFIG_CHECK="~KVM ~VIRTIO"
|
||||
[ -n "${CONFIG_CHECK}" ] && check_extra_config;
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
# Disable feature test for kvm for more reason
|
||||
# i.e: not loaded module in __build__ time,
|
||||
# build server not supported kvm, etc. ...
|
||||
#
|
||||
# In fact, this feature is virtio support and requires
|
||||
# configured kernel.
|
||||
export vmchannel_test=no
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-appliance
|
||||
--disable-daemon
|
||||
--with-drive-if=virtio
|
||||
--with-net-if=virtio-net-pci
|
||||
--with-extra="-gentoo"
|
||||
--with-readline
|
||||
--disable-php
|
||||
--disable-python
|
||||
--disable-java
|
||||
$(use_enable nls)
|
||||
$(use_enable perl)
|
||||
$(use_enable fuse)
|
||||
$(use_enable ocaml)
|
||||
$(use_enable ruby)
|
||||
--disable-haskell
|
||||
$(use_enable doc)
|
||||
$(use_enable introspection gobject)
|
||||
$(use_enable erlang)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile
|
||||
|
||||
}
|
||||
|
||||
src_test() {
|
||||
autotools-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
strip-linguas -i po
|
||||
autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
|
||||
|
||||
use bash-completion && dobashcomp "${D}/etc"/bash_completion.d/guestfish-bash-completion.sh
|
||||
|
||||
rm -fr "${D}/etc"/bash* || die
|
||||
|
||||
insinto /usr/share/guestfs/
|
||||
doins -r "${WORKDIR}"/appliance
|
||||
newenvd "${FILESDIR}"/env.file 99"${PN}"
|
||||
|
||||
use perl && fixlocalpod
|
||||
}
|
@ -1,152 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/libguestfs-1.17.18.ebuild,v 1.1 2012/03/16 19:32:24 maksbotan Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
APLANCE_PV="1.17.14"
|
||||
APPL_P="appliance-${APLANCE_PV}"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
inherit check-reqs bash-completion-r1 autotools-utils versionator eutils \
|
||||
multilib linux-info perl-module
|
||||
|
||||
MY_PV_1="$(get_version_component_range 1-2)"
|
||||
MY_PV_2="$(get_version_component_range 2)"
|
||||
|
||||
[[ $(( $(get_version_component_range 2) % 2 )) -eq 0 ]] && SD="stable" || SD="development"
|
||||
|
||||
DESCRIPTION="Tools for accessing, inspect and modifying virtual machine (VM) disk images"
|
||||
HOMEPAGE="http://libguestfs.org/"
|
||||
SRC_URI="http://libguestfs.org/download/${MY_PV_1}-${SD}/${P}.tar.gz
|
||||
http://rion-overlay.googlecode.com/files/${APPL_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
# Upstream NOT supported 32-bit version, keyword in own risk
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="bash-completion erlang +fuse debug ocaml doc +perl nls ruby static-libs selinux systemtap introspection"
|
||||
|
||||
# Failires - doc
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-misc/hivex-1.3.1
|
||||
dev-libs/libpcre
|
||||
app-arch/cpio
|
||||
dev-lang/perl
|
||||
app-cdr/cdrkit
|
||||
>=app-emulation/qemu-kvm-1.0[qemu_user_targets_x86_64,qemu_softmmu_targets_x86_64]
|
||||
sys-apps/fakeroot
|
||||
sys-apps/file
|
||||
app-emulation/libvirt
|
||||
dev-libs/libxml2:2
|
||||
>=sys-apps/fakechroot-2.8
|
||||
>=app-admin/augeas-0.7.1
|
||||
sys-fs/squashfs-tools
|
||||
dev-libs/libconfig
|
||||
dev-libs/libpcre
|
||||
sys-libs/readline
|
||||
>=sys-libs/db-4.6
|
||||
perl? ( virtual/perl-ExtUtils-MakeMaker
|
||||
>=dev-perl/Sys-Virt-0.2.4
|
||||
virtual/perl-Getopt-Long
|
||||
virtual/perl-Data-Dumper
|
||||
dev-perl/libintl-perl
|
||||
>=app-misc/hivex-1.3.1[perl?]
|
||||
dev-perl/String-ShellQuote
|
||||
)
|
||||
fuse? ( sys-fs/fuse )
|
||||
introspection? (
|
||||
>=dev-libs/gobject-introspection-1.30.0
|
||||
dev-libs/gjs
|
||||
)
|
||||
selinux? ( sys-libs/libselinux sys-libs/libsemanage )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
ocaml? ( dev-lang/ocaml[ocamlopt] dev-ml/findlib[ocamlopt] )
|
||||
erlang? ( dev-lang/erlang )
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/gperf
|
||||
doc? ( app-text/po4a )
|
||||
ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
PATCHES=(${FILESDIR}/1.17/*.patch)
|
||||
|
||||
DOCS=(AUTHORS BUGS HACKING README RELEASE-NOTES ROADMAP TODO)
|
||||
|
||||
pkg_pretend() {
|
||||
CHECKREQS_DISK_BUILD="5G"
|
||||
CHECKREQS_DISK_USR="5G"
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup () {
|
||||
CONFIG_CHECK="~KVM ~VIRTIO"
|
||||
[ -n "${CONFIG_CHECK}" ] && check_extra_config;
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
# Disable feature test for kvm for more reason
|
||||
# i.e: not loaded module in __build__ time,
|
||||
# build server not supported kvm, etc. ...
|
||||
#
|
||||
# In fact, this feature is virtio support and requires
|
||||
# configured kernel.
|
||||
export vmchannel_test=no
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-appliance
|
||||
--disable-daemon
|
||||
--with-drive-if=virtio
|
||||
--with-net-if=virtio-net-pci
|
||||
--with-extra="-gentoo"
|
||||
--with-readline
|
||||
--disable-php
|
||||
--disable-python
|
||||
--disable-java
|
||||
$(use_enable nls)
|
||||
$(use_enable perl)
|
||||
$(use_enable fuse)
|
||||
$(use_enable ocaml)
|
||||
$(use_enable ruby)
|
||||
--disable-haskell
|
||||
$(use_enable doc)
|
||||
$(use_enable introspection gobject)
|
||||
$(use_enable erlang)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile
|
||||
|
||||
}
|
||||
|
||||
src_test() {
|
||||
autotools-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
strip-linguas -i po
|
||||
autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
|
||||
|
||||
use bash-completion && dobashcomp "${D}/etc"/bash_completion.d/guestfish-bash-completion.sh
|
||||
|
||||
rm -fr "${D}/etc"/bash* || die
|
||||
|
||||
insinto /usr/share/guestfs/
|
||||
doins -r "${WORKDIR}"/appliance
|
||||
newenvd "${FILESDIR}"/env.file 99"${PN}"
|
||||
|
||||
use perl && fixlocalpod
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
commit 2a5885fb7f5ce7af3576fa17ce697adbd9b61567
|
||||
Author: Slava Zanko <slavazanko@gmail.com>
|
||||
Date: Fri Mar 23 13:40:25 2012 +0300
|
||||
|
||||
Ticket #2761: save file on top of existing directory changes dir's permissions
|
||||
|
||||
Steps to reproduce:
|
||||
|
||||
mkdir foo
|
||||
chmod 0700 foo
|
||||
mcedit bar
|
||||
ls -ld foo
|
||||
drw-r--r-- 1 slyfox users 0 Mar 22 22:10 foo
|
||||
|
||||
We've lost dir's permissions.
|
||||
|
||||
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
|
||||
|
||||
diff --git a/src/editor/editcmd.c b/src/editor/editcmd.c
|
||||
index 8e6c9a9..d52e48b 100644
|
||||
--- a/src/editor/editcmd.c
|
||||
+++ b/src/editor/editcmd.c
|
||||
@@ -1488,6 +1488,15 @@ edit_save_as_cmd (WEdit * edit)
|
||||
if (vfs_path_cmp (edit->filename_vpath, exp_vpath) != 0)
|
||||
{
|
||||
int file;
|
||||
+ struct stat sb;
|
||||
+
|
||||
+ if (mc_stat (exp_vpath, &sb) == 0 && !S_ISREG (sb.st_mode))
|
||||
+ {
|
||||
+ edit_error_dialog (_("Save as"),
|
||||
+ get_sys_error (_
|
||||
+ ("Cannot save: destination is not a regular file")));
|
||||
+ goto ret;
|
||||
+ }
|
||||
|
||||
different_filename = 1;
|
||||
file = mc_open (exp_vpath, O_RDONLY | O_BINARY);
|
@ -1,84 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.8.2.ebuild,v 1.1 2012/03/20 19:58:49 slyfox Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
MY_P=${P/_/-}
|
||||
|
||||
DESCRIPTION="GNU Midnight Commander is a text based file manager"
|
||||
HOMEPAGE="http://www.midnight-commander.org"
|
||||
SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
|
||||
IUSE="+edit gpm mclib nls samba +slang test X +xdg"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.8:2
|
||||
gpm? ( sys-libs/gpm )
|
||||
kernel_linux? ( sys-fs/e2fsprogs )
|
||||
samba? ( net-fs/samba )
|
||||
slang? ( >=sys-libs/slang-2 )
|
||||
!slang? ( sys-libs/ncurses )
|
||||
X? ( x11-libs/libX11
|
||||
x11-libs/libICE
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libSM )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
dev-util/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
test? ( dev-libs/check )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
cp "${FILESDIR}"/${P}-missing-do_panel_cd_stub_env.c \
|
||||
tests/src/filemanager/do_panel_cd_stub_env.c || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myscreen=ncurses
|
||||
use slang && myscreen=slang
|
||||
[[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket"
|
||||
|
||||
local homedir=".mc"
|
||||
use xdg && homedir="XDG"
|
||||
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
$(use_enable nls) \
|
||||
--enable-vfs \
|
||||
$(use_enable kernel_linux vfs-undelfs) \
|
||||
--enable-charset \
|
||||
$(use_with X x) \
|
||||
$(use_enable samba vfs-smb) \
|
||||
$(use_with gpm gpm-mouse) \
|
||||
--with-screen=${myscreen} \
|
||||
$(use_with edit) \
|
||||
$(use_enable mclib) \
|
||||
$(use_enable test tests) \
|
||||
--with-homedir=${homedir}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS README NEWS
|
||||
|
||||
# fix bug #334383
|
||||
if use kernel_linux && [[ ${EUID} == 0 ]] ; then
|
||||
fowners root:tty /usr/libexec/mc/cons.saver
|
||||
fperms g+s /usr/libexec/mc/cons.saver
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "To enable exiting to latest working directory,"
|
||||
elog "put this into your ~/.bashrc:"
|
||||
elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST tomboy-1.10.0.tar.xz 6614172 RMD160 91fef58832e5fb7a14323e5e5c13d918a760a68d SHA1 88e61a6e38a8d839561e75e0be2a763cc1eadc6b SHA256 a0f6550560c03aabb311584694bc2a729e688ad94c5d9999137081edaba0c714
|
||||
DIST tomboy-1.4.2.tar.bz2 7095365 RMD160 5bd97008b34a9b133a9c9d7b3ae9fe2bd73af157 SHA1 34c9a569bfed659a2bdd7b095c736f7c8ded8fde SHA256 823270473c819d6592074a0dcd41c29fd857b29a0318061aaabfa38fff3cc7e7
|
||||
DIST tomboy-1.6.1.tar.bz2 7217604 RMD160 7c5c10b3a47aca066f61e35a3a266b3cde9cf2ca SHA1 98b53b0d5ecb80859a1ff7b620a48f6e27aaa784 SHA256 4c0b5e0103682711e1cd620c9c617716a33b3520d62c22a2f6ab7bab2a54e61c
|
||||
DIST tomboy-1.8.3.tar.xz 6567280 RMD160 5872c48bb1fddf255f52330203aef0619860aff2 SHA1 1e9cd642c2e4a47d79340c315b790c9951734683 SHA256 3f704bac772a54cf668aca769c766bc1fb9ebc8823a903ef108927805c020bea
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/tomboy/tomboy-1.10.0.ebuild,v 1.1 2012/03/27 08:48:09 pacho Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2 mono
|
||||
|
||||
DESCRIPTION="Desktop note-taking application"
|
||||
HOMEPAGE="http://projects.gnome.org/tomboy/"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="eds test"
|
||||
|
||||
RDEPEND="app-text/gtkspell:2
|
||||
dev-dotnet/gconf-sharp:2
|
||||
dev-dotnet/gtk-sharp:2
|
||||
dev-dotnet/mono-addins[gtk]
|
||||
dev-dotnet/dbus-sharp
|
||||
dev-dotnet/dbus-sharp-glib
|
||||
dev-lang/mono
|
||||
dev-libs/atk
|
||||
gnome-base/gconf:2
|
||||
x11-libs/gtk+:2
|
||||
eds? ( dev-libs/gmime:2.6[mono] )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/gnome-doc-utils
|
||||
app-text/rarian
|
||||
dev-util/intltool
|
||||
dev-util/pkgconfig
|
||||
sys-devel/gettext"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF}
|
||||
--disable-panel-applet
|
||||
$(use_enable eds evolution)
|
||||
$(use_enable test tests)
|
||||
--disable-galago
|
||||
--disable-update-mimedb"
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Not parallel build safe due upstream bug #631546
|
||||
MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_compile
|
||||
}
|
@ -1 +1 @@
|
||||
DIST unoconv-20110923.tar.xz 47724 RMD160 f454f94128d8fa019a5b9999df10a34b5d79f37c SHA1 6b399f745f776299ee746de4968587d306aa2120 SHA256 697921554893da237ce88f2422ff0d6dd470bb4e73c469120fe8ce13c4f750d6
|
||||
DIST unoconv-20120327.tar.xz 79324 RMD160 581ba351a0b9d600f73e93068943776c566830ef SHA1 e4998b26116960d55780274b5cb5cdbdf4999500 SHA256 f98ebc08621df509716540bc8f1f5f8264e115decddc48fea99a2706daa323ee
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/unoconv/unoconv-20110923.ebuild,v 1.1 2011/09/23 13:24:55 scarabeus Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/unoconv/unoconv-20120327.ebuild,v 1.1 2012/03/27 16:27:31 scarabeus Exp $
|
||||
|
||||
EAPI=3
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST gnome-doc-utils-0.20.10.tar.xz 526700 RMD160 64fcdf0166c213b6bf5c872f583546b3a9a17bf4 SHA1 8320a30e1b7239aa33ba276da046090407a93bbf SHA256 cb0639ffa9550b6ddf3b62f3b1add92fb92ab4690d351f2353cffe668be8c4a6
|
||||
DIST gnome-doc-utils-0.20.6.tar.bz2 716487 RMD160 d333cd84d1ae1404f3913caaf51be833f85696bb SHA1 c11dda3cff4248a6918cfaf0d7b892fc20bf329e SHA256 091486e370480bf45349ad09dac799211092a02938b26a0d68206172cb6cebbf
|
||||
DIST gnome-doc-utils-0.20.9.tar.xz 524480 RMD160 0bf48994ba1d91ae1a7f351e00dd254a4a70e1a4 SHA1 dd23ece0d1d5359d835e6adabdc60bf151087800 SHA256 60c4c1071071b97998fc80787870b9a0c07b5fd4cc1fde177e81f40f325d432a
|
||||
|
@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/gnome-doc-utils/gnome-doc-utils-0.20.10.ebuild,v 1.1 2012/03/27 05:59:16 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*"
|
||||
|
||||
inherit gnome2 python
|
||||
|
||||
DESCRIPTION="A collection of documentation utilities for the Gnome project"
|
||||
HOMEPAGE="http://live.gnome.org/GnomeDocUtils"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/libxml2-2.6.12[python]
|
||||
>=dev-libs/libxslt-1.1.8
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-apps/gawk-3
|
||||
sys-devel/gettext
|
||||
>=dev-util/intltool-0.35
|
||||
>=dev-util/pkgconfig-0.9
|
||||
app-text/docbook-xml-dtd:4.4
|
||||
app-text/scrollkeeper-dtd"
|
||||
# dev-libs/glib needed for eautofoo, bug #255114.
|
||||
|
||||
# If there is a need to reintroduce eautomake or eautoreconf, make sure
|
||||
# to AT_M4DIR="tools m4", bug #224609 (m4 removes glib build time dep)
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
G2CONF="${G2CONF} --disable-scrollkeeper"
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
|
||||
python_clean_py-compile_files
|
||||
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
python_execute_function -s gnome2_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_execute_function -d -s
|
||||
}
|
||||
|
||||
src_test() {
|
||||
python_execute_function -d -s
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
gnome2_src_install
|
||||
python_convert_shebangs $(python_get_version) "${ED}"usr/bin/xml2po
|
||||
mv "${ED}"usr/bin/xml2po "${ED}"usr/bin/xml2po-$(python_get_version)
|
||||
}
|
||||
python_execute_function -s installation
|
||||
python_clean_installation_image
|
||||
|
||||
python_generate_wrapper_scripts -E -f "${ED}"usr/bin/xml2po
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize xml2po
|
||||
gnome2_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup xml2po
|
||||
gnome2_pkg_postrm
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST libcroco-0.6.2.tar.bz2 415492 RMD160 402daf6ef986f90998449c254822080b38e28cd7 SHA1 4b0dd540a47f2492b1ac7cd7e3ec63c2ef4c9c2a SHA256 be24853f64c09b63d39e563fb0222e29bae1a33c3d9f6cbffc0bc27669371749
|
||||
DIST libcroco-0.6.3.tar.xz 429352 RMD160 c673b7882c756c774a23d83ea760339bb875c069 SHA1 bc875a3932fe6186b01807623f33cca025f36dbb SHA256 8b7c565bf3eae1dff0a09d128fc3726acc1a492a7de23b25dce803a4f93d42c1
|
||||
DIST libcroco-0.6.4.tar.xz 461876 RMD160 a2d118c1210fbdfa17afa7dfe1f685f26e4b4793 SHA1 f9b8afed9e0b6b223128688b5de0e2c5a648bed5 SHA256 c816bad3406c52a98d84a2222c0e4a7b70ee0640b49cde4a236deaa02c4232ea
|
||||
DIST libcroco-0.6.5.tar.xz 462120 RMD160 c8856e64786bf10780ebfe6ffc105756d4ffc7b2 SHA1 0ea3a5b7c545e4ff527ce02198020866303ab351 SHA256 2c6959c3644e889264a61c35ddf17401c86943681d4fe3c1682ecd9acabda7e3
|
||||
|
@ -1,20 +1,19 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcroco/libcroco-0.6.2-r1.ebuild,v 1.7 2011/10/30 15:05:01 armin76 Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcroco/libcroco-0.6.5.ebuild,v 1.1 2012/03/27 08:36:30 pacho Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
GNOME_TARBALL_SUFFIX="bz2"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Generic Cascading Style Sheet (CSS) parsing and manipulation toolkit"
|
||||
HOMEPAGE="http://freshmeat.net/projects/libcroco"
|
||||
HOMEPAGE="http://git.gnome.org/browse/libcroco/"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0.6"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
@ -1,3 +1,2 @@
|
||||
DIST librep-0.17.tar.gz 1195890 RMD160 2239837386700ed4893fa91b684192cb8721a2d1 SHA1 00ae330eca0fdfb117797036f499dec61f868431 SHA256 3cc4d923e4eaee00adb696dbeb0144847e7cc03475962bfeb4add4cbbe271a3e
|
||||
DIST librep-0.90.6.tar.bz2 684982 RMD160 5d1975313cf78b5b0756c2bac08c8c9ee1734810 SHA1 1adf4dbfa64d0e09ee4deafbe555285def8624d2 SHA256 1ef24c836f1f8de7461fbb858393791aa9fcccb93c097f3b8392955d3b19424d
|
||||
DIST librep-0.92.1.tar.xz 604724 RMD160 320499418724795c29c73e52389681e5ab72b277 SHA1 788f6ab6600d3cee3cf58b80e48d1f24abb19d91 SHA256 47b1a94962f9182793e3d7a429ca628c645673e3b1c93fea6455d513631b0690
|
||||
DIST librep-0.92.2.tar.xz 611588 RMD160 2ed907ef5342b3458811a0948061092aeca337ee SHA1 4835b0bcc79f5728d0824159eb4c294eef55ef61 SHA256 a54422b42a34bc9d659130b83d2315ae3c3cb74ab6c2a6052459011d05f38740
|
||||
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/librep/librep-0.17-r2.ebuild,v 1.11 2006/10/20 00:24:49 kloeri Exp $
|
||||
|
||||
inherit eutils libtool toolchain-funcs multilib
|
||||
|
||||
DESCRIPTION="Shared library implementing a Lisp dialect"
|
||||
HOMEPAGE="http://librep.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ia64 ppc sparc x86"
|
||||
IUSE="readline"
|
||||
|
||||
RDEPEND=">=sys-libs/gdbm-1.8.0
|
||||
readline? ( sys-libs/readline )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/texinfo"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/libtool.patch"
|
||||
epatch "${FILESDIR}/rep_file_fdopen.patch"
|
||||
sed -i -e '7s/AM_PATH_REP/[&]/' rep.m4 || die "sed failed"
|
||||
elibtoolize || die "elibtoolize failed"
|
||||
epunt_cxx
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf="$(use_with readline)"
|
||||
use ppc && myconf="${myconf} --with-stack-direction=1"
|
||||
|
||||
# It seems that stack-direction=-1 for gcc-3.x and 1 for gcc-4.x on ia64
|
||||
if use ia64 && [[ $(gcc-major-version) -ge 4 ]]; then
|
||||
myconf="${myconf} --with-stack-direction=1"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--libexecdir=/usr/$(get_libdir) \
|
||||
--without-gmp \
|
||||
--without-ffi \
|
||||
${myconf} || die "configure failed"
|
||||
|
||||
LC_ALL=C emake || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die "make install failed"
|
||||
dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO TREE
|
||||
docinto doc
|
||||
dodoc doc/*
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST bam-0.2.0-gentoo.tar.bz2 2515 RMD160 293af2f65937c238e69c7db9f7614a98c3e21d26 SHA1 417c5d9994da572e6138f6f4c074bf4093d02c16 SHA256 6cbbdc8e099387e316d26112a46935ef0312a77831886dfe39a6bdcbe5596ecb
|
||||
DIST bam-0.2.0.tar.gz 162342 RMD160 00af151d532bb0452d802e782f1f799abf12c4c5 SHA1 99d86db750fe18ea5b25493850122929bd2c674b SHA256 ef6cddc1df47b0d8106265033ef4e55e61decabf2279a2acd7fdf016633c0758
|
||||
DIST bam-0.3.2-gentoo.tar.bz2 2537 RMD160 169bc115067d41d25a70e5044b71bfead3cd5302 SHA1 2578369360ce193c1cb807e17fa21398ba66623d SHA256 1edc2c8ea5ac6c4ca285823b24a345be6a3f343810bb8d693d145d48045fbb93
|
||||
DIST bam-0.3.2.tar.bz2 135427 RMD160 31d8d7e0f4943371ce9a850ccd4d325c006ad74d SHA1 739a686749fa2229f92966ac39d20bb430bb491b SHA256 c0e9386e86382fbd9be13f09df30837befbc713ab57414b77754c1247002d2c9
|
||||
DIST bam-0.4.0.tar.bz2 164033 RMD160 ae09aa5ff63a62211ab93c37a415e31231858617 SHA1 5dad113e38ba89384d842655eb477834285c216b SHA256 56030670aa21e227ce0a00f1ee0c9b5129469a6e69e7b67c3dd459d2fce6207d
|
||||
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/bam/bam-0.3.2.ebuild,v 1.1 2010/03/24 23:25:56 volkmar Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Fast and flexible Lua-based build system"
|
||||
HOMEPAGE="http://matricks.github.com/bam/"
|
||||
SRC_URI="http://github.com/downloads/matricks/${PN}/${P}.tar.bz2
|
||||
mirror://gentoo/${P}-gentoo.tar.bz2"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="dev-lang/lua"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-lang/python )
|
||||
test? ( dev-lang/python )"
|
||||
|
||||
src_prepare() {
|
||||
cp "${WORKDIR}"/Makefile "${S}"/Makefile || die "cp failed"
|
||||
|
||||
if use doc; then
|
||||
sed -i -e "s/base\.bam/base\.lua/" scripts/gendocs.py \
|
||||
|| die "sed failed"
|
||||
fi
|
||||
|
||||
if use test; then
|
||||
epatch "${WORKDIR}"/${P}-test.py.patch
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake txt2c || die "emake failed"
|
||||
emake internal_base || die "emake failed"
|
||||
emake ${PN} || die "emake failed"
|
||||
|
||||
if use doc; then
|
||||
python scripts/gendocs.py || die "doc generation failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN} || die "dobin failed"
|
||||
doman "${WORKDIR}"/${PN}.1 || die "doman failed"
|
||||
|
||||
if use doc; then
|
||||
dohtml docs/${PN}{.html,_logo.png} || die "dohtml failed"
|
||||
fi
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/bam/bam-0.4.0.ebuild,v 1.1 2012/03/27 15:06:09 tupone Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit eutils python
|
||||
|
||||
DESCRIPTION="Fast and flexible Lua-based build system"
|
||||
HOMEPAGE="http://matricks.github.com/bam/"
|
||||
SRC_URI="http://github.com/downloads/matricks/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="dev-lang/lua"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-lang/python )
|
||||
test? ( dev-lang/python )"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cp "${FILESDIR}"/${PV}/Makefile "${S}"/Makefile || die "cp failed"
|
||||
epatch "${FILESDIR}"/${PV}/${P}-test.py.patch
|
||||
python_convert_shebangs -r 2 .
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake ${PN} || die
|
||||
|
||||
if use doc; then
|
||||
$(PYTHON) scripts/gendocs.py || die "doc generation failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN} || die
|
||||
|
||||
if use doc; then
|
||||
dohtml docs/${PN}{.html,_logo.png} || die "dohtml failed"
|
||||
fi
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
LIBS += -lm -lpthread -llua
|
||||
TARGETS = txt2c internal_base bam
|
||||
BAM_OBJ = $(patsubst %.c,%.o,$(wildcard src/*.c))
|
||||
TXT2C_LUA = $(wildcard src/*.lua)
|
||||
|
||||
all: $(TARGETS)
|
||||
|
||||
txt2c: src/tools/txt2c
|
||||
|
||||
internal_base: src/internal_base.h
|
||||
|
||||
src/internal_base.h:
|
||||
src/tools/txt2c $(TXT2C_LUA) > src/internal_base.h
|
||||
|
||||
bam: txt2c internal_base $(BAM_OBJ)
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(BAM_OBJ) $(LIBS)
|
||||
|
||||
test: $(TARGETS)
|
||||
python scripts/test.py
|
||||
|
||||
clean:
|
||||
rm -f $(BAM_OBJ) $(TARGETS) src/internal_base.h src/tools/txt2c
|
@ -0,0 +1,11 @@
|
||||
--- scripts/test.py.old 2010-03-22 19:23:23.000000000 +0100
|
||||
+++ scripts/test.py 2010-03-22 19:23:43.000000000 +0100
|
||||
@@ -178,6 +178,8 @@
|
||||
print "FAILED TESTS:"
|
||||
for t in failed_tests:
|
||||
print "\t"+t
|
||||
+ sys.exit(1)
|
||||
else:
|
||||
print "ALL TESTS PASSED!"
|
||||
+ sys.exit(0)
|
||||
|
@ -1,5 +1,4 @@
|
||||
DIST glade-2.12.2.tar.bz2 1785723 RMD160 6035749c249492279794d508d3558a8aac17b6f0 SHA1 a43d89b147296244ba4b2efc67e8772d5155afff SHA256 50712d1e5cb369ee1399e9c78ac410e3e69c7582ac9bf1e11d27a7348d3d0a58
|
||||
DIST glade-3.10.0.tar.bz2 2805591 RMD160 ad6feed2f572181e28ef024d34ca9a392b68ce22 SHA1 f4738485223ad4ddda9951d5fce11af2a7349c9a SHA256 7e6a1423f1697d8b40618d0b01f0ebff572ccb80f5818a36af0971c5d1d94253
|
||||
DIST glade-3.10.2.tar.xz 2380304 RMD160 f4e2da16fbecbad1191841cbc0ad5e2d3dec1365 SHA1 830791d47884dced1278336fe27cb59bea1f3db4 SHA256 0f59ffbd7e1e595396593fedcdb85c51fd01ed05d5ef7c6f724f3a0bcf24d5c4
|
||||
DIST glade3-3.8.0.tar.bz2 2694485 RMD160 0b6ca19876f857a2518b5d29b909dc6f5a2e0f37 SHA1 1d3d2410ab5f57b27fc754c97d24cbc4bc4470a2 SHA256 ad3f726ccd34d210dbec9cc2787cab91f7b4c4b9e7518c00bc72b6d52c9858bb
|
||||
DIST glade3-3.8.1.tar.xz 2318896 RMD160 4386391b11d4f67db08922e44a79474bc3d68449 SHA1 5105952ba58257299ae6bd81bb9a8c2b66567365 SHA256 4ca469d51ce1ce9ac84fae7b0cab0707700330454058b180f796f92881243cd1
|
||||
DIST glade3-3.8.2.tar.xz 2316028 RMD160 da6f5cad40c304cfb5c8f36f6eb0dbfb60cc30d0 SHA1 bdc2320bf226b52a55496e2823880be5762081b8 SHA256 f180a5018eee6e3fe574854cb025af897dd9962b01d17d5752e626876d388b19
|
||||
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/glade/glade-3.10.0-r1.ebuild,v 1.7 2011/10/30 17:41:42 armin76 Exp $
|
||||
|
||||
EAPI="2"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
GCONF_DEBUG="yes"
|
||||
|
||||
inherit gnome2 versionator
|
||||
|
||||
DESCRIPTION="GNOME GUI Builder"
|
||||
HOMEPAGE="http://glade.gnome.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="3.10"
|
||||
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="doc +introspection python"
|
||||
|
||||
RDEPEND=">=x11-libs/gtk+-3.0.2:3
|
||||
>=dev-libs/libxml2-2.4.0:2
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.10.1 )
|
||||
python? ( >=dev-python/pygobject-2.27.0:2 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/scrollkeeper
|
||||
>=dev-util/intltool-0.41.0
|
||||
>=dev-util/pkgconfig-0.19
|
||||
>=sys-devel/gettext-0.17
|
||||
>=app-text/gnome-doc-utils-0.18
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
doc? ( >=dev-util/gtk-doc-1.13 )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS ChangeLog NEWS README TODO"
|
||||
G2CONF="${G2CONF}
|
||||
--disable-maintainer-mode
|
||||
--disable-static
|
||||
--enable-libtool-lock
|
||||
--disable-scrollkeeper
|
||||
$(use_enable introspection)
|
||||
$(use_enable python)"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# to avoid file collision with glade:3, rename GNOME help module from
|
||||
# glade to glade-3.10, and gladeui documentation from gladeui to gladeui-2
|
||||
local i
|
||||
sed -e 's:DOC_MODULE = glade:DOC_MODULE = glade-3.10:' -i help/Makefile.in \
|
||||
|| die "sed of help/Makefile.in failed"
|
||||
sed -e 's:/glade.xml:/glade-3.10.xml:g' -i help/*/*.po \
|
||||
|| die "sed of help .po files failed"
|
||||
for i in help/*/glade.xml ; do
|
||||
mv ${i} ${i/glade/glade-3.10} || die "mv ${i} failed"
|
||||
done
|
||||
sed -e 's:DOC_MODULE = gladeui:DOC_MODULE = gladeui-2:' -i doc/Makefile.in \
|
||||
|| die "sed of doc/Makefile.in failed"
|
||||
for i in doc/gladeui-* doc/gladeui.* ; do
|
||||
mv ${i} ${i/gladeui/gladeui-2} || die "mv ${i} failed"
|
||||
done
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# modify Name in .desktop file to avoid confusion with other slots
|
||||
sed -e 's:^\(Name.*=Glade\):\1 '$(get_version_component_range 1-2): \
|
||||
-i data/glade.desktop || die "sed of data/glade.desktop failed"
|
||||
gnome2_src_install
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST teeworlds-0.5.2-src.tar.gz 6393472 RMD160 12b3384b3059d5ec0ebb437686f613f8d9430e61 SHA1 26d8059b1ad81ca6959b96fd3ff881f9db7550ef SHA256 1811a71bf9a1470c7a69308035744492f3e850aefdd12f1bc223fb85d98cf4c0
|
||||
DIST teeworlds-0.6.1-source.tar.gz 8599538 RMD160 38ea0148ce9caf296403774b8b395df462e564ea SHA1 27f74db7c035143c7b539acc7aab7fb825b972ab SHA256 6328d48fb98d451af8e1dba0999190496e851842c84e4594d413b79aca67b908
|
||||
|
@ -0,0 +1,103 @@
|
||||
Use system wavpack. Based on patch from Gentoo Bugzilla
|
||||
|
||||
From: Azamat H. Hackimov <azamat.hackimov@gmail.com>
|
||||
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=363395
|
||||
---
|
||||
|
||||
bam.lua | 15 +++++++++++++--
|
||||
src/engine/client/sound.cpp | 10 +++++++++-
|
||||
2 files changed, 22 insertions(+), 3 deletions(-)
|
||||
|
||||
|
||||
diff --git a/bam.lua b/bam.lua
|
||||
index 5699251..ce24cff 100644
|
||||
--- a/bam.lua
|
||||
+++ b/bam.lua
|
||||
@@ -9,6 +9,7 @@ config = NewConfig()
|
||||
config:Add(OptCCompiler("compiler"))
|
||||
config:Add(OptTestCompileC("stackprotector", "int main(){return 0;}", "-fstack-protector -fstack-protector-all"))
|
||||
config:Add(OptLibrary("zlib", "zlib.h", false))
|
||||
+config:Add(OptLibrary("wavpack", "wavpack/wavpack.h", false))
|
||||
config:Add(SDL.OptFind("sdl", true))
|
||||
config:Add(FreeType.OptFind("freetype", true))
|
||||
config:Finalize("config.lua")
|
||||
@@ -165,7 +166,7 @@ function build(settings)
|
||||
end
|
||||
|
||||
-- compile zlib if needed
|
||||
- if config.zlib.value == 1 then
|
||||
+ if config.zlib.value == true then
|
||||
settings.link.libs:Add("z")
|
||||
if config.zlib.include_path then
|
||||
settings.cc.includes:Add(config.zlib.include_path)
|
||||
@@ -176,8 +177,18 @@ function build(settings)
|
||||
settings.cc.includes:Add("src/engine/external/zlib")
|
||||
end
|
||||
|
||||
+ if config.wavpack.value == true then
|
||||
+ settings.link.libs:Add("wavpack")
|
||||
+ if config.wavpack.include_path then
|
||||
+ settings.cc.includes:Add(config.wavpack.include_path)
|
||||
+ end
|
||||
+ wavpack = {}
|
||||
+ else
|
||||
+ wavpack = Compile(settings, Collect("src/engine/external/wavpack/*.c"))
|
||||
+ settings.cc.includes:Add("src/engine/external/") --The header is wavpack/wavpack.h so include the external folder
|
||||
+ end
|
||||
+
|
||||
-- build the small libraries
|
||||
- wavpack = Compile(settings, Collect("src/engine/external/wavpack/*.c"))
|
||||
pnglite = Compile(settings, Collect("src/engine/external/pnglite/*.c"))
|
||||
|
||||
-- build game components
|
||||
diff --git a/src/engine/client/sound.cpp b/src/engine/client/sound.cpp
|
||||
index c2ca91f..f356e34 100644
|
||||
--- a/src/engine/client/sound.cpp
|
||||
+++ b/src/engine/client/sound.cpp
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "sound.h"
|
||||
|
||||
extern "C" { // wavpack
|
||||
- #include <engine/external/wavpack/wavpack.h>
|
||||
+ #include <wavpack/wavpack.h>
|
||||
}
|
||||
#include <math.h>
|
||||
|
||||
@@ -333,19 +333,25 @@ int CSound::LoadWV(const char *pFilename)
|
||||
if(!m_pStorage)
|
||||
return -1;
|
||||
|
||||
+ #ifndef WAVPACK_H
|
||||
ms_File = m_pStorage->OpenFile(pFilename, IOFLAG_READ, IStorage::TYPE_ALL);
|
||||
if(!ms_File)
|
||||
{
|
||||
dbg_msg("sound/wv", "failed to open file. filename='%s'", pFilename);
|
||||
return -1;
|
||||
}
|
||||
+ #endif
|
||||
|
||||
SampleID = AllocID();
|
||||
if(SampleID < 0)
|
||||
return -1;
|
||||
pSample = &m_aSamples[SampleID];
|
||||
|
||||
+ #ifndef WAVPACK_H
|
||||
pContext = WavpackOpenFileInput(ReadData, aError);
|
||||
+ #else
|
||||
+ pContext = WavpackOpenFileInput(pFilename, aError, 0, 0);
|
||||
+ #endif
|
||||
if (pContext)
|
||||
{
|
||||
int m_aSamples = WavpackGetNumSamples(pContext);
|
||||
@@ -401,8 +407,10 @@ int CSound::LoadWV(const char *pFilename)
|
||||
dbg_msg("sound/wv", "failed to open %s: %s", pFilename, aError);
|
||||
}
|
||||
|
||||
+ #ifndef WAVPACK_H
|
||||
io_close(ms_File);
|
||||
ms_File = NULL;
|
||||
+ #endif
|
||||
|
||||
if(g_Config.m_Debug)
|
||||
dbg_msg("sound/wv", "loaded %s", pFilename);
|
@ -0,0 +1,109 @@
|
||||
Fixing wavpack sound loading. Based on Gentoo Bugzilla
|
||||
|
||||
From: Azamat H. Hackimov <azamat.hackimov@gmail.com>
|
||||
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=363395
|
||||
---
|
||||
|
||||
src/engine/client/sound.cpp | 56 ++++++++++++++++++++++++++++++++++++++-----
|
||||
1 files changed, 50 insertions(+), 6 deletions(-)
|
||||
|
||||
|
||||
diff --git a/src/engine/client/sound.cpp b/src/engine/client/sound.cpp
|
||||
index f356e34..b55a798 100644
|
||||
--- a/src/engine/client/sound.cpp
|
||||
+++ b/src/engine/client/sound.cpp
|
||||
@@ -50,6 +50,54 @@ struct CVoice
|
||||
int m_X, m_Y;
|
||||
} ;
|
||||
|
||||
+#ifdef WAVPACK_H
|
||||
+static int32_t ReadBytes(void *pFile, void *pBuffer, int32_t Size)
|
||||
+{
|
||||
+ return (int32_t)io_read((IOHANDLE)pFile, pBuffer, Size);
|
||||
+}
|
||||
+static uint32_t GetPos(void *pFile)
|
||||
+{
|
||||
+ return (uint32_t)io_tell((IOHANDLE)pFile);
|
||||
+}
|
||||
+static int SetPosAbs(void *pFile, uint32_t Offset)
|
||||
+{
|
||||
+ return io_seek((IOHANDLE)pFile, Offset, IOSEEK_START);
|
||||
+}
|
||||
+static int SetPosRel(void *pFile, int32_t Offset, int Mode)
|
||||
+{
|
||||
+ switch(Mode)
|
||||
+ {
|
||||
+ case SEEK_SET:
|
||||
+ Mode = IOSEEK_START;
|
||||
+ break;
|
||||
+ case SEEK_CUR:
|
||||
+ Mode = IOSEEK_CUR;
|
||||
+ break;
|
||||
+ case SEEK_END:
|
||||
+ Mode = IOSEEK_END;
|
||||
+ }
|
||||
+ return io_seek((IOHANDLE)pFile, Offset, Mode);
|
||||
+}
|
||||
+
|
||||
+//TODO: Fix if 'real' functionality is needed by the wavpack header
|
||||
+static int PushBackByte(void *pFile, int Char)
|
||||
+{
|
||||
+ return io_seek((IOHANDLE)pFile, -1, IOSEEK_CUR);
|
||||
+}
|
||||
+static uint32_t GetLength(void *pFile)
|
||||
+{
|
||||
+ return (uint32_t)io_length((IOHANDLE)pFile);
|
||||
+}
|
||||
+// Essentially assuming this to always be true, should fix if this isn't the case
|
||||
+static int CanSeek(void *pFile)
|
||||
+{
|
||||
+ return pFile != NULL;
|
||||
+}
|
||||
+static WavpackStreamReader CWavpackReader = {
|
||||
+ ReadBytes, GetPos, SetPosAbs, SetPosRel, PushBackByte, GetLength, CanSeek, 0
|
||||
+};
|
||||
+#endif
|
||||
+
|
||||
static CSample m_aSamples[NUM_SAMPLES] = { {0} };
|
||||
static CVoice m_aVoices[NUM_VOICES] = { {0} };
|
||||
static CChannel m_aChannels[NUM_CHANNELS] = { {255, 0} };
|
||||
@@ -333,14 +381,12 @@ int CSound::LoadWV(const char *pFilename)
|
||||
if(!m_pStorage)
|
||||
return -1;
|
||||
|
||||
- #ifndef WAVPACK_H
|
||||
ms_File = m_pStorage->OpenFile(pFilename, IOFLAG_READ, IStorage::TYPE_ALL);
|
||||
if(!ms_File)
|
||||
{
|
||||
dbg_msg("sound/wv", "failed to open file. filename='%s'", pFilename);
|
||||
return -1;
|
||||
}
|
||||
- #endif
|
||||
|
||||
SampleID = AllocID();
|
||||
if(SampleID < 0)
|
||||
@@ -350,7 +396,7 @@ int CSound::LoadWV(const char *pFilename)
|
||||
#ifndef WAVPACK_H
|
||||
pContext = WavpackOpenFileInput(ReadData, aError);
|
||||
#else
|
||||
- pContext = WavpackOpenFileInput(pFilename, aError, 0, 0);
|
||||
+ pContext = WavpackOpenFileInputEx(&CWavpackReader, ms_File, 0, aError, 0, 0);
|
||||
#endif
|
||||
if (pContext)
|
||||
{
|
||||
@@ -404,13 +450,11 @@ int CSound::LoadWV(const char *pFilename)
|
||||
}
|
||||
else
|
||||
{
|
||||
- dbg_msg("sound/wv", "failed to open %s: %s", pFilename, aError);
|
||||
+ dbg_msg("sound/wv", "failed to open '%s': %s", pFilename, aError);
|
||||
}
|
||||
|
||||
- #ifndef WAVPACK_H
|
||||
io_close(ms_File);
|
||||
ms_File = NULL;
|
||||
- #endif
|
||||
|
||||
if(g_Config.m_Debug)
|
||||
dbg_msg("sound/wv", "loaded %s", pFilename);
|
@ -0,0 +1,112 @@
|
||||
Use system pnglite. Based on Gentoo Bugzilla
|
||||
|
||||
From: Azamat H. Hackimov <azamat.hackimov@gmail.com>
|
||||
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=363395
|
||||
---
|
||||
|
||||
bam.lua | 33 +++++++++++++++++++++------------
|
||||
src/engine/client/graphics.cpp | 2 +-
|
||||
src/tools/dilate.cpp | 2 +-
|
||||
src/tools/tileset_borderfix.cpp | 2 +-
|
||||
4 files changed, 24 insertions(+), 15 deletions(-)
|
||||
|
||||
|
||||
diff --git a/bam.lua b/bam.lua
|
||||
index ce24cff..46b8e42 100644
|
||||
--- a/bam.lua
|
||||
+++ b/bam.lua
|
||||
@@ -9,6 +9,7 @@ config = NewConfig()
|
||||
config:Add(OptCCompiler("compiler"))
|
||||
config:Add(OptTestCompileC("stackprotector", "int main(){return 0;}", "-fstack-protector -fstack-protector-all"))
|
||||
config:Add(OptLibrary("zlib", "zlib.h", false))
|
||||
+config:Add(OptLibrary("pnglite", "pnglite.h", false))
|
||||
config:Add(OptLibrary("wavpack", "wavpack/wavpack.h", false))
|
||||
config:Add(SDL.OptFind("sdl", true))
|
||||
config:Add(FreeType.OptFind("freetype", true))
|
||||
@@ -177,26 +178,34 @@ function build(settings)
|
||||
settings.cc.includes:Add("src/engine/external/zlib")
|
||||
end
|
||||
|
||||
+ -- build game components
|
||||
+ engine_settings = settings:Copy()
|
||||
+ server_settings = engine_settings:Copy()
|
||||
+ client_settings = engine_settings:Copy()
|
||||
+ launcher_settings = engine_settings:Copy()
|
||||
+
|
||||
+ if config.pnglite.value == true then
|
||||
+ client_settings.link.libs:Add("pnglite")
|
||||
+ if config.pnglite.include_path then
|
||||
+ client_settings.cc.includes:Add(config.pnglite.include_path)
|
||||
+ end
|
||||
+ pnglite = {}
|
||||
+ else
|
||||
+ pnglite = Compile(settings, Collect("src/engine/external/pnglite/*.c"))
|
||||
+ client_settings.cc.includes:Add("src/engine/external/pnglite")
|
||||
+ end
|
||||
+
|
||||
if config.wavpack.value == true then
|
||||
- settings.link.libs:Add("wavpack")
|
||||
+ client_settings.link.libs:Add("wavpack")
|
||||
if config.wavpack.include_path then
|
||||
- settings.cc.includes:Add(config.wavpack.include_path)
|
||||
+ client_settings.cc.includes:Add(config.wavpack.include_path)
|
||||
end
|
||||
wavpack = {}
|
||||
else
|
||||
wavpack = Compile(settings, Collect("src/engine/external/wavpack/*.c"))
|
||||
- settings.cc.includes:Add("src/engine/external/") --The header is wavpack/wavpack.h so include the external folder
|
||||
+ client_settings.cc.includes:Add("src/engine/external/") --The header is wavpack/wavpack.h so include the external folder
|
||||
end
|
||||
|
||||
- -- build the small libraries
|
||||
- pnglite = Compile(settings, Collect("src/engine/external/pnglite/*.c"))
|
||||
-
|
||||
- -- build game components
|
||||
- engine_settings = settings:Copy()
|
||||
- server_settings = engine_settings:Copy()
|
||||
- client_settings = engine_settings:Copy()
|
||||
- launcher_settings = engine_settings:Copy()
|
||||
-
|
||||
if family == "unix" then
|
||||
if platform == "macosx" then
|
||||
client_settings.link.frameworks:Add("OpenGL")
|
||||
diff --git a/src/engine/client/graphics.cpp b/src/engine/client/graphics.cpp
|
||||
index d1f0b8a..f654e87 100644
|
||||
--- a/src/engine/client/graphics.cpp
|
||||
+++ b/src/engine/client/graphics.cpp
|
||||
@@ -20,7 +20,7 @@
|
||||
#endif
|
||||
|
||||
#include <base/system.h>
|
||||
-#include <engine/external/pnglite/pnglite.h>
|
||||
+#include <pnglite.h>
|
||||
|
||||
#include <engine/shared/config.h>
|
||||
#include <engine/graphics.h>
|
||||
diff --git a/src/tools/dilate.cpp b/src/tools/dilate.cpp
|
||||
index eb770a9..cbd7a3e 100644
|
||||
--- a/src/tools/dilate.cpp
|
||||
+++ b/src/tools/dilate.cpp
|
||||
@@ -2,7 +2,7 @@
|
||||
/* If you are missing that file, acquire a complete release at teeworlds.com. */
|
||||
#include <base/system.h>
|
||||
#include <base/math.h>
|
||||
-#include <engine/external/pnglite/pnglite.h>
|
||||
+#include <pnglite.h>
|
||||
|
||||
typedef struct
|
||||
{
|
||||
diff --git a/src/tools/tileset_borderfix.cpp b/src/tools/tileset_borderfix.cpp
|
||||
index 0facb9a..ab36292 100644
|
||||
--- a/src/tools/tileset_borderfix.cpp
|
||||
+++ b/src/tools/tileset_borderfix.cpp
|
||||
@@ -1,7 +1,7 @@
|
||||
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
|
||||
/* If you are missing that file, acquire a complete release at teeworlds.com. */
|
||||
#include <base/system.h>
|
||||
-#include <engine/external/pnglite/pnglite.h>
|
||||
+#include <pnglite.h>
|
||||
|
||||
typedef struct
|
||||
{
|
@ -0,0 +1,40 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
PIDFILE=/var/run/teeworlds.pid
|
||||
GAME_DIRECTORY=/usr/games/bin
|
||||
CONFIG=/etc/teeworlds/teeworlds_srv.cfg
|
||||
|
||||
depend() {
|
||||
use dns logger net
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
if [ ! -e ${CONFIG} ] ; then
|
||||
eerror "You need an ${CONFIG} config file to run TeeWorlds"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting TeeWorlds"
|
||||
start-stop-daemon --start --background --pidfile "${PIDFILE}" \
|
||||
--make-pidfile -d ${GAME_DIRECTORY} --user games \
|
||||
--exec ${GAME_DIRECTORY}/teeworlds_srv -- -f ${CONFIG}
|
||||
eend $?
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading TeeWorlds configs and restarting processes"
|
||||
start-stop-daemon --stop --oknodo --user games \
|
||||
--pidfile "${PIDFILE}" --signal HUP \
|
||||
--exec ${GAME_DIRECTORY}/teeworlds_srv -- -f ${CONFIG}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping TeeWorlds"
|
||||
start-stop-daemon --stop --quiet --pidfile "${PIDFILE}"
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
# sample Teeworlds server config file
|
||||
# see http://www.teeworlds.com/?page=docs&wiki=ServerSettings for details
|
||||
sv_gametype dm
|
||||
sv_map dm1
|
||||
sv_name gentoo-teeworlds
|
||||
sv_register 1
|
||||
sv_scorelimit 20
|
@ -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/games-action/teeworlds/teeworlds-0.6.1.ebuild,v 1.1 2012/03/27 15:16:11 tupone Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit eutils python games
|
||||
|
||||
REVISION="b177-r50edfd37"
|
||||
|
||||
DESCRIPTION="Online multi-player platform 2D shooter"
|
||||
HOMEPAGE="http://www.teeworlds.com/"
|
||||
SRC_URI="http://www.teeworlds.com/files/${P}-source.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug dedicated"
|
||||
|
||||
RDEPEND="
|
||||
!dedicated? ( media-libs/pnglite
|
||||
media-libs/libsdl[X,audio,opengl,video]
|
||||
media-sound/wavpack
|
||||
virtual/opengl
|
||||
app-arch/bzip2
|
||||
media-libs/freetype
|
||||
virtual/glu
|
||||
x11-libs/libX11 )
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
~dev-util/bam-0.4.0"
|
||||
|
||||
S=${WORKDIR}/${PN}-${REVISION}-source
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
games_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# 01 & 02 from pull request: https://github.com/oy/teeworlds/pull/493
|
||||
EPATCH_SOURCE="${FILESDIR}/${PV}" EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
|
||||
epatch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
bam config || die "bam config failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myopt
|
||||
|
||||
if use debug; then
|
||||
myopt=" server_debug"
|
||||
else
|
||||
myopt=" server_release"
|
||||
fi
|
||||
if ! use dedicated; then
|
||||
if use debug; then
|
||||
myopt+=" client_debug"
|
||||
else
|
||||
myopt+=" client_release"
|
||||
fi
|
||||
fi
|
||||
|
||||
bam ${myopt} || die "bam failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use debug; then
|
||||
newgamesbin ${PN}_srv_d ${PN}_srv || die "newgamesbin failed"
|
||||
else
|
||||
dogamesbin ${PN}_srv || die "dogamesbin failed"
|
||||
fi
|
||||
if ! use dedicated; then
|
||||
if use debug; then
|
||||
newgamesbin ${PN}_d ${PN} || die "newgamesbin failed"
|
||||
else
|
||||
dogamesbin ${PN} || die "dogamesbin failed"
|
||||
fi
|
||||
|
||||
doicon "${FILESDIR}"/${PN}.xpm || die "doicon failed"
|
||||
make_desktop_entry ${PN} Teeworlds
|
||||
|
||||
insinto "${GAMES_DATADIR}"/${PN}/data
|
||||
doins -r data/* || die "doins failed"
|
||||
else
|
||||
insinto "${GAMES_DATADIR}"/${PN}/data/maps
|
||||
doins -r data/maps/* || die "doins failed"
|
||||
fi
|
||||
newinitd "${FILESDIR}"/${PN}-init.d ${PN}
|
||||
insinto "/etc/${PN}"
|
||||
doins "${FILESDIR}"/teeworlds_srv.cfg
|
||||
|
||||
dodoc readme.txt || die "dodoc failed"
|
||||
|
||||
prepgamesdirs
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST meandmyshadow-0.3-src.tar.gz 5322285 RMD160 a697ccfcfb831a5e8fede37d7726705cc5c1fa49 SHA1 a460084f75aa54105907811633200a8f57fc3492 SHA256 e00bbfcd22a02477b2eb99be361a9aa683980dc307b16d5205f5c652ea65270d
|
@ -0,0 +1,47 @@
|
||||
Creator: hasufell <julian.ospald@googlemail.com>
|
||||
Date: Tue Mar 27 18:07:46 CEST 2012
|
||||
|
||||
add Path options to build system
|
||||
see https://bugs.gentoo.org/show_bug.cgi?id=408811
|
||||
|
||||
--- CMakeLists.txt
|
||||
+++ CMakeLists.txt
|
||||
@@ -85,12 +85,20 @@
|
||||
${CRYPTO_LIBRARY}
|
||||
)
|
||||
|
||||
-install(DIRECTORY ${PROJECT_SOURCE_DIR}/data DESTINATION share/meandmyshadow/)
|
||||
-install(TARGETS meandmyshadow RUNTIME DESTINATION bin)
|
||||
+# Path options
|
||||
+set(BINDIR "bin" CACHE STRING "Where to install binaries")
|
||||
+set(DATAROOTDIR "${CMAKE_INSTALL_PREFIX}/share" CACHE STRING "Sets the root of data directories to a non-default location")
|
||||
+set(ICONDIR "${DATAROOTDIR}/icons" CACHE STRING "Sets the icon directory for desktop entry to a non-default location.")
|
||||
+set(DESKTOPDIR "${DATAROOTDIR}/applications" CACHE STRING "Sets the desktop file directory for desktop entry to a non-default location.")
|
||||
+
|
||||
+# install locations
|
||||
+install(DIRECTORY ${PROJECT_SOURCE_DIR}/data DESTINATION ${DATAROOTDIR}/meandmyshadow/)
|
||||
+install(TARGETS meandmyshadow RUNTIME DESTINATION ${BINDIR})
|
||||
+
|
||||
if("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
|
||||
- install(FILES meandmyshadow.desktop DESTINATION share/applications/)
|
||||
- install(FILES icons/16x16/meandmyshadow.png DESTINATION share/icons/hicolor/16x16/apps/)
|
||||
- install(FILES icons/32x32/meandmyshadow.png DESTINATION share/icons/hicolor/32x32/apps/)
|
||||
- install(FILES icons/48x48/meandmyshadow.png DESTINATION share/icons/hicolor/48x48/apps/)
|
||||
- install(FILES icons/64x64/meandmyshadow.png DESTINATION share/icons/hicolor/64x64/apps/)
|
||||
+ install(FILES meandmyshadow.desktop DESTINATION ${DESKTOPDIR})
|
||||
+ install(FILES icons/16x16/meandmyshadow.png DESTINATION ${ICONDIR}/hicolor/16x16/apps/)
|
||||
+ install(FILES icons/32x32/meandmyshadow.png DESTINATION ${ICONDIR}/hicolor/32x32/apps/)
|
||||
+ install(FILES icons/48x48/meandmyshadow.png DESTINATION ${ICONDIR}/hicolor/48x48/apps/)
|
||||
+ install(FILES icons/64x64/meandmyshadow.png DESTINATION ${ICONDIR}/hicolor/64x64/apps/)
|
||||
endif("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
|
||||
--- src/config.h.in
|
||||
+++ src/config.h.in
|
||||
@@ -4,7 +4,7 @@
|
||||
#if defined(WIN32)
|
||||
//#define DATA_PATH
|
||||
#else
|
||||
-#define DATA_PATH "@CMAKE_INSTALL_PREFIX@/share/meandmyshadow/data/"
|
||||
+#define DATA_PATH "@DATAROOTDIR@/meandmyshadow/data/"
|
||||
#endif
|
||||
|
||||
#endif
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-puzzle/meandmyshadow/meandmyshadow-0.3.ebuild,v 1.1 2012/03/27 16:36:20 mr_bones_ Exp $
|
||||
|
||||
EAPI=3
|
||||
inherit eutils cmake-utils games
|
||||
|
||||
DESCRIPTION="A puzzle/plateform game with a player and its shadow"
|
||||
HOMEPAGE="http://meandmyshadow.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/meandmyshadow/${PV}/${P}-src.tar.gz"
|
||||
|
||||
LICENSE="GPL-3 OFL-1.1 CCPL-Attribution-ShareAlike-2.5"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="media-libs/libsdl[audio,video]
|
||||
media-libs/sdl-gfx
|
||||
media-libs/sdl-ttf
|
||||
media-libs/sdl-mixer[vorbis]
|
||||
media-libs/sdl-image[png]
|
||||
dev-libs/openssl
|
||||
net-misc/curl
|
||||
app-arch/libarchive"
|
||||
|
||||
src_prepare() {
|
||||
edos2unix CMakeLists.txt src/config.h.in
|
||||
sed -i \
|
||||
-e '/Version/s/0.3/1.0/' \
|
||||
-e 's/Game;//' \
|
||||
meandmyshadow.desktop || die
|
||||
epatch "${FILESDIR}"/${P}-cmake.patch
|
||||
}
|
||||
|
||||
src_configure()
|
||||
{
|
||||
mycmakeargs=(
|
||||
-DCMAKE_VERBOSE_MAKEFILE=TRUE
|
||||
-DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}"
|
||||
-DBINDIR="${GAMES_BINDIR}"
|
||||
-DDATAROOTDIR="${GAMES_DATADIR}"
|
||||
-DICONDIR=/usr/share/icons
|
||||
-DDESKTOPDIR=/usr/share/applications
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DOCS="Controls.txt" cmake-utils_src_install
|
||||
doicon icons/64x64/meandmyshadow.png
|
||||
prepgamesdirs
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>games</herd>
|
||||
</pkgmetadata>
|
@ -1,2 +1 @@
|
||||
DIST tanglet-1.1.0-src.tar.bz2 1283979 RMD160 71742fc7b6feee6eeeb954c9da9c9459853816c7 SHA1 f2dfd10dc67d0a5656956232f01fbb78922ecc69 SHA256 1ca847577cc90c3a4900940a64fee151cfc5ac5c77891137bb233691fcfcde65
|
||||
DIST tanglet-1.2.0-src.tar.bz2 4291176 RMD160 6a34f19f28ee9faf3fab223905235d431639451a SHA1 09b74a7d6ec48c9ca7d76d6fcd7d550d1d4b1d05 SHA256 ef610c008439dbeb5c71d904ad71176ed1b67f4f55c85bab460e64d4b816c36b
|
||||
|
@ -1,52 +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/tanglet/tanglet-1.1.0.ebuild,v 1.3 2010/06/01 07:55:25 phajdan.jr Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils gnome2-utils qt4 games
|
||||
|
||||
DESCRIPTION="A single player word finding game based on Boggle"
|
||||
HOMEPAGE="http://gottcode.org/tanglet/"
|
||||
SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="x11-libs/qt-gui:4"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-datadir.patch
|
||||
sed -i \
|
||||
-e "/target.path/s:\$\$PREFIX/bin:${GAMES_BINDIR}:" \
|
||||
-e "/data_/s:\$\$PREFIX/share:${GAMES_DATADIR}:g" \
|
||||
tanglet.pro || die
|
||||
sed -i \
|
||||
-e "s:GENTOO_DIR:${GAMES_DATADIR}/${PN}/data:g" \
|
||||
src/main.cpp || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake4
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install || die
|
||||
dodoc ChangeLog
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
games_pkg_preinst
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
games_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nm-applet/nm-applet-0.9.4.1.ebuild,v 1.1 2012/03/27 09:14:19 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
GNOME_ORG_MODULE="network-manager-applet"
|
||||
|
||||
inherit eutils gnome2
|
||||
|
||||
DESCRIPTION="GNOME applet for NetworkManager"
|
||||
HOMEPAGE="http://projects.gnome.org/NetworkManager/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="bluetooth"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.16:2
|
||||
>=dev-libs/dbus-glib-0.88
|
||||
>=gnome-base/gconf-2.20:2
|
||||
>=gnome-base/gnome-keyring-2.20
|
||||
>=sys-apps/dbus-1.4.1
|
||||
>=sys-auth/polkit-0.96-r1
|
||||
>=x11-libs/gtk+-2.91.4:3
|
||||
>=x11-libs/libnotify-0.7.0
|
||||
|
||||
app-text/iso-codes
|
||||
>=net-misc/networkmanager-0.9.4
|
||||
net-misc/mobile-broadband-provider-info
|
||||
|
||||
bluetooth? ( >=net-wireless/gnome-bluetooth-2.27.6 )
|
||||
virtual/freedesktop-icon-theme"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
>=dev-util/intltool-0.40"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
G2CONF="${G2CONF}
|
||||
--with-gtkver=3
|
||||
--disable-more-warnings
|
||||
--disable-static
|
||||
--localstatedir=/var
|
||||
$(use_with bluetooth)"
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST cantarell-fonts-0.0.6.tar.bz2 494468 RMD160 c78a9bfdc827c0c62dd5b2dbd1cfaa0040df5806 SHA1 d99bc6123c1c91a68572587a6bd6ce5922889196 SHA256 bf2cce939aeea3244f6786cd6b09dd40e63d65fadd5f3e37f354baf68d4d91df
|
||||
DIST cantarell-fonts-0.0.7.tar.xz 363692 RMD160 dfdf10d505d061319687a12fe41821f91b14e1eb SHA1 7ed434ab096e26b143843826f32a552e40d851e4 SHA256 6a21f841d28de444deee201a25e5cbc129fde14d633c547a7d36941437f72090
|
||||
DIST cantarell-fonts-0.0.8.tar.xz 245272 RMD160 915ca3a4e1d8ded6211e51cb5fd2e597783398d6 SHA1 598446da9913148e83688cec2b0bdf25a646619f SHA256 e5468861cee84c034dfc53ed9836a360bea45767873dd7840fe403a06bcc61fb
|
||||
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-fonts/cantarell/cantarell-0.0.6.ebuild,v 1.2 2011/08/18 04:46:52 nirbheek Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-fonts/cantarell/cantarell-0.0.8.ebuild,v 1.1 2012/03/27 05:12:34 tetromino Exp $
|
||||
|
||||
EAPI="3"
|
||||
EAPI="4"
|
||||
GNOME_ORG_MODULE="${PN}-fonts"
|
||||
|
||||
inherit font gnome.org
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/mac/mac-3.99.4.5.7-r1.ebuild,v 1.1 2012/03/27 16:47:59 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit flag-o-matic versionator
|
||||
|
||||
MY_PV=$(version_format_string '$1.$2-u$3-b$4')
|
||||
PATCH=s$(get_version_component_range 5)
|
||||
MY_P=${PN}-${MY_PV}-${PATCH}
|
||||
|
||||
DESCRIPTION="Monkey's Audio Codecs"
|
||||
HOMEPAGE="http://etree.org/shnutils/shntool/"
|
||||
SRC_URI="http://etree.org/shnutils/shntool/support/formats/ape/unix/${MY_PV}-${PATCH}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="mac"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~x86"
|
||||
IUSE="mmx static-libs"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="sys-apps/sed
|
||||
mmx? ( dev-lang/yasm )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's:-O3::' configure || die
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
append-cppflags -DSHNTOOL
|
||||
use mmx && append-ldflags -Wl,-z,noexecstack
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable mmx assembly)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
insinto /usr/include/${PN}
|
||||
doins src/MACLib/{BitArray,UnBitArrayBase,Prepare}.h #409435
|
||||
|
||||
dodoc ChangeLog.shntool src/*.txt
|
||||
dohtml src/Readme.htm
|
||||
|
||||
find "${ED}"/usr -type f -name '*.la' -exec rm -f {} +
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST 56842-QtGain.tar.gz 27096 RMD160 22d286cd85312b633e4ad6fc97f49ee0e102e314 SHA1 bf2ecce7822beb6a8f5cf3959c65e811fbd84a7e SHA256 62f3e8583a4ca00e42fca8f4f23fdb61425e3c4a8720cc1e753ed347bcfe68dc
|
||||
DIST qtgain-0.9.5.tar.lzma 60433 RMD160 41bf29eaace424804c96385f6287b8965b1be8b9 SHA1 7bba9b661360529fc5a9cd869692e8a6982fe2a0 SHA256 4429bae7c034dd9d8fd263d7fe8eeb94a259617e5a8b8fccfe77a1e44fe07ac2
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/qtgain/qtgain-0.8.0.ebuild,v 1.1 2009/12/23 21:57:04 ssuominen Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils qt4
|
||||
|
||||
DESCRIPTION="A simple frontend to mp3gain, vorbisgain and metaflac"
|
||||
HOMEPAGE="http://www.qt-apps.org/content/show.php/QtGain?content=56842"
|
||||
SRC_URI="http://www.qt-apps.org/CONTENT/content-files/56842-QtGain.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="flac mp3 vorbis"
|
||||
|
||||
RDEPEND="flac? ( media-libs/flac )
|
||||
mp3? ( media-sound/mp3gain )
|
||||
vorbis? ( media-sound/vorbisgain )"
|
||||
|
||||
S=${WORKDIR}/QtGain
|
||||
|
||||
src_configure() {
|
||||
eqmake4 QtGain.pro
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/QtGain || die
|
||||
newicon Icons/lsongs.png qtgain.png
|
||||
make_desktop_entry QtGain QtGain
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue