parent
c3c2026e41
commit
52359dbdb5
@ -0,0 +1 @@
|
||||
DIST netifaces-0.5.tar.gz 9069 RMD160 0cc9cfffdc1abd057aea2ed27403b269e92dba69 SHA1 8b79e65bc6871bbb5d8160ae52fa4983e97ed347 SHA256 6348530ac1ea3af93547ffe5af83776e1f107efa86e8af082ea8c05975986b46
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>xmw@gentoo.org</email>
|
||||
<name>Michael Weber</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/netifaces/netifaces-0.5.ebuild,v 1.1 2011/11/11 01:22:43 xmw Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit distutils python
|
||||
|
||||
DESCRIPTION="Portable network interface information"
|
||||
HOMEPAGE="http://alastairs-place.net/netifaces/"
|
||||
SRC_URI="http://alastairs-place.net/2007/03/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
RDEPEND=""
|
||||
|
@ -0,0 +1,12 @@
|
||||
diff -Naur valgrind-3.7.0.orig//configure.in valgrind-3.7.0/configure.in
|
||||
--- valgrind-3.7.0.orig//configure.in 2011-11-05 07:13:30.000000000 -0400
|
||||
+++ valgrind-3.7.0/configure.in 2011-11-10 18:13:39.000000000 -0500
|
||||
@@ -109,7 +109,7 @@
|
||||
| head -n 1 \
|
||||
| $SED 's/i686-apple-darwin10//' \
|
||||
| $SED 's/i686-apple-darwin11//' \
|
||||
- | $SED 's/^[^0-9]*\([0-9.]*\).*$/\1/'`]
|
||||
+ | $SED 's/.*\s\([.0-9]*\)$/\1/'`]
|
||||
|
||||
is_clang="notclang"
|
||||
if test "x`${CC} --version | head -n 1 | $SED 's/\(clang\) version.*/\1/'`" = "xclang" ; then
|
@ -0,0 +1,12 @@
|
||||
diff -Naur valgrind-3.7.0.orig//Makefile.all.am valgrind-3.7.0/Makefile.all.am
|
||||
--- valgrind-3.7.0.orig//Makefile.all.am 2011-10-26 17:24:45.000000000 -0400
|
||||
+++ valgrind-3.7.0/Makefile.all.am 2011-11-10 16:18:18.000000000 -0500
|
||||
@@ -82,7 +82,7 @@
|
||||
# performance and get whatever useful warnings we can out of gcc.
|
||||
# -fno-builtin is important for defeating LLVM's idiom recognition
|
||||
# that somehow causes VG_(memset) to get into infinite recursion.
|
||||
-AM_CFLAGS_BASE = \
|
||||
+AM_CFLAGS_BASE = -fno-stack-protector \
|
||||
-O2 -g \
|
||||
-Wall \
|
||||
-Wmissing-prototypes \
|
@ -0,0 +1,138 @@
|
||||
diff -Naur valgrind-3.7.0.orig//coregrind/Makefile.am valgrind-3.7.0/coregrind/Makefile.am
|
||||
--- valgrind-3.7.0.orig//coregrind/Makefile.am 2011-11-10 20:02:47.000000000 -0500
|
||||
+++ valgrind-3.7.0/coregrind/Makefile.am 2011-11-10 20:03:00.000000000 -0500
|
||||
@@ -292,14 +292,6 @@
|
||||
m_demangle/demangle.c \
|
||||
m_demangle/dyn-string.c \
|
||||
m_demangle/safe-ctype.c \
|
||||
- m_dispatch/dispatch-x86-linux.S \
|
||||
- m_dispatch/dispatch-amd64-linux.S \
|
||||
- m_dispatch/dispatch-ppc32-linux.S \
|
||||
- m_dispatch/dispatch-ppc64-linux.S \
|
||||
- m_dispatch/dispatch-arm-linux.S \
|
||||
- m_dispatch/dispatch-s390x-linux.S \
|
||||
- m_dispatch/dispatch-x86-darwin.S \
|
||||
- m_dispatch/dispatch-amd64-darwin.S \
|
||||
m_gdbserver/m_gdbserver.c \
|
||||
m_gdbserver/inferiors.c \
|
||||
m_gdbserver/m_gdbserver.c \
|
||||
@@ -322,8 +314,6 @@
|
||||
m_initimg/initimg-pathscan.c \
|
||||
m_mach/mach_basics.c \
|
||||
m_mach/mach_msg.c \
|
||||
- m_mach/mach_traps-x86-darwin.S \
|
||||
- m_mach/mach_traps-amd64-darwin.S \
|
||||
m_replacemalloc/replacemalloc_core.c \
|
||||
m_scheduler/scheduler.c \
|
||||
m_scheduler/sema.c \
|
||||
@@ -335,14 +325,6 @@
|
||||
m_sigframe/sigframe-s390x-linux.c \
|
||||
m_sigframe/sigframe-x86-darwin.c \
|
||||
m_sigframe/sigframe-amd64-darwin.c \
|
||||
- m_syswrap/syscall-x86-linux.S \
|
||||
- m_syswrap/syscall-amd64-linux.S \
|
||||
- m_syswrap/syscall-ppc32-linux.S \
|
||||
- m_syswrap/syscall-ppc64-linux.S \
|
||||
- m_syswrap/syscall-arm-linux.S \
|
||||
- m_syswrap/syscall-s390x-linux.S \
|
||||
- m_syswrap/syscall-x86-darwin.S \
|
||||
- m_syswrap/syscall-amd64-darwin.S \
|
||||
m_syswrap/syswrap-main.c \
|
||||
m_syswrap/syswrap-generic.c \
|
||||
m_syswrap/syswrap-linux.c \
|
||||
@@ -361,6 +343,24 @@
|
||||
m_ume/main.c \
|
||||
m_ume/script.c
|
||||
|
||||
+COREGRIND_SOURCES_COMMON += \
|
||||
+ m_dispatch/dispatch-@VGCONF_ARCH_PRI@-@VGCONF_OS@.S \
|
||||
+ m_syswrap/syscall-@VGCONF_ARCH_PRI@-@VGCONF_OS@.S
|
||||
+
|
||||
+if VGCONF_HAVE_PLATFORM_SEC
|
||||
+COREGRIND_SOURCES_COMMON += \
|
||||
+ m_dispatch/dispatch-@VGCONF_ARCH_SEC@-@VGCONF_OS@.S \
|
||||
+ m_syswrap/syscall-@VGCONF_ARCH_SEC@-@VGCONF_OS@.S
|
||||
+endif
|
||||
+
|
||||
+if VGCONF_OS_IS_DARWIN
|
||||
+COREGRIND_SOURCES_COMMON += \
|
||||
+ m_start-@VGCONF_ARCH_PRI@-darwin.S \
|
||||
+ m_start-@VGCONF_ARCH_SEC@-darwin.S \
|
||||
+ m_mach/mach_traps-@VGCONF_ARCH_PRI@-darwin.S \
|
||||
+ m_mach/mach_traps-@VGCONF_ARCH_SEC@-darwin.S
|
||||
+endif
|
||||
+
|
||||
libcoregrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_SOURCES = \
|
||||
$(COREGRIND_SOURCES_COMMON)
|
||||
nodist_libcoregrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_SOURCES = \
|
||||
diff -Naur valgrind-3.7.0.orig//coregrind/m_dispatch/dispatch-amd64-linux.S valgrind-3.7.0/coregrind/m_dispatch/dispatch-amd64-linux.S
|
||||
--- valgrind-3.7.0.orig//coregrind/m_dispatch/dispatch-amd64-linux.S 2011-10-26 17:24:42.000000000 -0400
|
||||
+++ valgrind-3.7.0/coregrind/m_dispatch/dispatch-amd64-linux.S 2011-11-10 20:07:40.000000000 -0500
|
||||
@@ -349,11 +349,11 @@
|
||||
ret
|
||||
.size VG_(run_a_noredir_translation), .-VG_(run_a_noredir_translation)
|
||||
|
||||
+#endif // defined(VGP_amd64_linux)
|
||||
+
|
||||
/* Let the linker know we don't need an executable stack */
|
||||
.section .note.GNU-stack,"",@progbits
|
||||
|
||||
-#endif // defined(VGP_amd64_linux)
|
||||
-
|
||||
/*--------------------------------------------------------------------*/
|
||||
/*--- end ---*/
|
||||
/*--------------------------------------------------------------------*/
|
||||
diff -Naur valgrind-3.7.0.orig//coregrind/m_dispatch/dispatch-x86-linux.S valgrind-3.7.0/coregrind/m_dispatch/dispatch-x86-linux.S
|
||||
--- valgrind-3.7.0.orig//coregrind/m_dispatch/dispatch-x86-linux.S 2011-10-26 17:24:42.000000000 -0400
|
||||
+++ valgrind-3.7.0/coregrind/m_dispatch/dispatch-x86-linux.S 2011-11-10 20:04:07.000000000 -0500
|
||||
@@ -320,12 +320,11 @@
|
||||
ret
|
||||
.size VG_(run_a_noredir_translation), .-VG_(run_a_noredir_translation)
|
||||
|
||||
-
|
||||
+#endif // defined(VGP_x86_linux)
|
||||
+
|
||||
/* Let the linker know we don't need an executable stack */
|
||||
.section .note.GNU-stack,"",@progbits
|
||||
|
||||
-#endif // defined(VGP_x86_linux)
|
||||
-
|
||||
/*--------------------------------------------------------------------*/
|
||||
/*--- end ---*/
|
||||
/*--------------------------------------------------------------------*/
|
||||
diff -Naur valgrind-3.7.0.orig//coregrind/m_syswrap/syscall-amd64-linux.S valgrind-3.7.0/coregrind/m_syswrap/syscall-amd64-linux.S
|
||||
--- valgrind-3.7.0.orig//coregrind/m_syswrap/syscall-amd64-linux.S 2011-11-10 20:02:47.000000000 -0500
|
||||
+++ valgrind-3.7.0/coregrind/m_syswrap/syscall-amd64-linux.S 2011-11-10 20:03:00.000000000 -0500
|
||||
@@ -205,11 +205,11 @@
|
||||
ML_(blksys_finished): .quad 5b
|
||||
.previous
|
||||
|
||||
+#endif // defined(VGP_amd64_linux)
|
||||
+
|
||||
/* Let the linker know we don't need an executable stack */
|
||||
.section .note.GNU-stack,"",@progbits
|
||||
|
||||
-#endif // defined(VGP_amd64_linux)
|
||||
-
|
||||
/*--------------------------------------------------------------------*/
|
||||
/*--- end ---*/
|
||||
/*--------------------------------------------------------------------*/
|
||||
diff -Naur valgrind-3.7.0.orig//coregrind/m_syswrap/syscall-x86-linux.S valgrind-3.7.0/coregrind/m_syswrap/syscall-x86-linux.S
|
||||
--- valgrind-3.7.0.orig//coregrind/m_syswrap/syscall-x86-linux.S 2011-11-10 20:02:47.000000000 -0500
|
||||
+++ valgrind-3.7.0/coregrind/m_syswrap/syscall-x86-linux.S 2011-11-10 20:03:00.000000000 -0500
|
||||
@@ -164,12 +164,12 @@
|
||||
ML_(blksys_committed): .long 4b
|
||||
ML_(blksys_finished): .long 5b
|
||||
.previous
|
||||
-
|
||||
-/* Let the linker know we don't need an executable stack */
|
||||
-.section .note.GNU-stack,"",@progbits
|
||||
|
||||
#endif // defined(VGP_x86_linux)
|
||||
|
||||
+/* Let the linker know we don't need an executable stack */
|
||||
+.section .note.GNU-stack,"",@progbits
|
||||
+
|
||||
/*--------------------------------------------------------------------*/
|
||||
/*--- end ---*/
|
||||
/*--------------------------------------------------------------------*/
|
@ -0,0 +1,13 @@
|
||||
diff -Naur valgrind-3.7.0.orig//mpi/Makefile.am valgrind-3.7.0/mpi/Makefile.am
|
||||
--- valgrind-3.7.0.orig//mpi/Makefile.am 2011-10-26 17:24:23.000000000 -0400
|
||||
+++ valgrind-3.7.0/mpi/Makefile.am 2011-11-10 16:03:14.000000000 -0500
|
||||
@@ -7,9 +7,6 @@
|
||||
CC = $(MPI_CC)
|
||||
DEFS =
|
||||
DEFAULT_INCLUDES =
|
||||
-CPPFLAGS =
|
||||
-CFLAGS =
|
||||
-LDFLAGS =
|
||||
|
||||
EXTRA_DIST = \
|
||||
mpiwrap_type_test.c
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.7.0.ebuild,v 1.1 2011/11/11 01:40:06 blueness Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit autotools eutils flag-o-matic toolchain-funcs multilib pax-utils
|
||||
|
||||
DESCRIPTION="An open-source memory debugger for GNU/Linux"
|
||||
HOMEPAGE="http://www.valgrind.org"
|
||||
SRC_URI="http://www.valgrind.org/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="mpi"
|
||||
|
||||
DEPEND="mpi? ( virtual/mpi )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# Correct hard coded doc location
|
||||
sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die
|
||||
|
||||
# Respect CFLAGS, LDFLAGS
|
||||
epatch "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
|
||||
|
||||
# Changing Makefile.all.am to disable SSP
|
||||
epatch "${FILESDIR}"/${PN}-3.7.0-fno-stack-protector.patch
|
||||
|
||||
# Yet more local labels, this time for ppc32 & ppc64
|
||||
epatch "${FILESDIR}"/${PN}-3.6.0-local-labels.patch
|
||||
|
||||
# Don't build in empty assembly files for other platforms or we'll get a QA
|
||||
# warning about executable stacks.
|
||||
epatch "${FILESDIR}"/${PN}-3.7.0-non-exec-stack.patch
|
||||
|
||||
# Fix the regex to get gcc's version
|
||||
epatch "${FILESDIR}"/${PN}-3.7.0-fix-gcc-regex.patch
|
||||
|
||||
# Regenerate autotools files
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression"
|
||||
# while compiling insn_sse.c in none/tests/x86
|
||||
# -fpie valgrind seemingly hangs when built with pie on
|
||||
# amd64 (bug #102157)
|
||||
# -fstack-protector more undefined references to __guard and __stack_smash_handler
|
||||
# because valgrind doesn't link to glibc (bug #114347)
|
||||
# -ggdb3 segmentation fault on startup
|
||||
filter-flags -fomit-frame-pointer
|
||||
filter-flags -fpie
|
||||
filter-flags -fstack-protector
|
||||
replace-flags -ggdb3 -ggdb2
|
||||
|
||||
if use amd64 || use ppc64; then
|
||||
! has_multilib_profile && myconf="${myconf} --enable-only64bit"
|
||||
fi
|
||||
|
||||
# Don't use mpicc unless the user asked for it (bug #258832)
|
||||
if ! use mpi; then
|
||||
myconf="${myconf} --without-mpicc"
|
||||
fi
|
||||
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS FAQ.txt NEWS README*
|
||||
|
||||
pax-mark m "${D}"/usr/$(get_libdir)/valgrind/*-*-linux
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Valgrind will not work if glibc does not have debug symbols."
|
||||
ewarn "To fix this you can add splitdebug to FEATURES in make.conf"
|
||||
ewarn "and remerge glibc. See:"
|
||||
ewarn "https://bugs.gentoo.org/show_bug.cgi?id=214065"
|
||||
ewarn "https://bugs.gentoo.org/show_bug.cgi?id=274771"
|
||||
ewarn "https://bugs.gentoo.org/show_bug.cgi?id=388703"
|
||||
}
|
@ -0,0 +1,305 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-client/thunderbird/thunderbird-8.0.ebuild,v 1.1 2011/11/11 01:46:45 anarchy Exp $
|
||||
|
||||
EAPI="3"
|
||||
WANT_AUTOCONF="2.1"
|
||||
|
||||
inherit flag-o-matic toolchain-funcs mozconfig-3 makeedit multilib mozextension autotools pax-utils python check-reqs
|
||||
|
||||
TB_PV="${PV/_beta/b}"
|
||||
TB_P="${PN}-${TB_PV}"
|
||||
EMVER="1.3.3"
|
||||
|
||||
DESCRIPTION="Thunderbird Mail Client"
|
||||
HOMEPAGE="http://www.mozilla.com/en-US/thunderbird/"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
SLOT="0"
|
||||
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
|
||||
IUSE="bindist gconf +crashreporter +crypt +ipc +lightning mozdom +webm"
|
||||
PATCH="${PN}-${PV}-patches-0.1"
|
||||
PATCHFF="firefox-${PV}-patches-0.2"
|
||||
|
||||
FTP_URI="ftp://ftp.mozilla.org/pub/${PN}/releases/"
|
||||
SRC_URI="${FTP_URI}/${TB_PV}/source/${TB_P}.source.tar.bz2
|
||||
crypt? ( http://www.mozilla-enigmail.org/download/source/enigmail-${EMVER}.tar.gz )
|
||||
http://dev.gentoo.org/~anarchy/mozilla/patchsets/${PATCH}.tar.xz
|
||||
http://dev.gentoo.org/~anarchy/mozilla/patchsets/${PATCHFF}.tar.xz"
|
||||
|
||||
if ! [[ ${PV} =~ alpha|beta ]]; then
|
||||
# This list can be updated using get_langs.sh from the mozilla overlay
|
||||
# Not supported yet bn-BD ro id be af el pa-IN bg
|
||||
LANGS="ar ca cs da de en en-GB en-US es-AR es-ES et eu fi fr \
|
||||
fy-NL ga-IE he hu is it ja ko lt nb-NO nl nn-NO pl pt-BR pt-PT ru si \
|
||||
sk sl sq sv-SE tr uk zh-TW zh-CN"
|
||||
NOSHORTLANGS="en-GB es-AR pt-BR zh-TW zh-CN"
|
||||
|
||||
for X in ${LANGS} ; do
|
||||
if [ "${X}" != "en" ] && [ "${X}" != "en-US" ]; then
|
||||
SRC_URI="${SRC_URI}
|
||||
linguas_${X/-/_}? ( ${FTP_URI}/${TB_PV}/linux-i686/xpi/${X}.xpi -> ${P}-${X}.xpi )"
|
||||
fi
|
||||
IUSE="${IUSE} linguas_${X/-/_}"
|
||||
# english is handled internally
|
||||
if [ "${#X}" == 5 ] && ! has ${X} ${NOSHORTLANGS}; then
|
||||
if [ "${X}" != "en-US" ]; then
|
||||
SRC_URI="${SRC_URI}
|
||||
linguas_${X%%-*}? ( ${FTP_URI}/${TB_PV}/linux-i686/xpi/${X}.xpi -> ${P}-${X}.xpi )"
|
||||
fi
|
||||
IUSE="${IUSE} linguas_${X%%-*}"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
RDEPEND=">=sys-devel/binutils-2.16.1
|
||||
>=dev-libs/nss-3.12.10
|
||||
>=dev-libs/nspr-4.8.8
|
||||
gconf? ( >=gnome-base/gconf-1.2.1:2 )
|
||||
media-libs/libpng[apng]
|
||||
webm? ( media-libs/libvpx
|
||||
media-libs/alsa-lib )
|
||||
virtual/libffi
|
||||
!x11-plugins/lightning
|
||||
!x11-plugins/enigmail
|
||||
system-sqlite? ( >=dev-db/sqlite-3.7.5[fts3,secure-delete,unlock-notify,debug=] )
|
||||
crypt? ( || (
|
||||
( >=app-crypt/gnupg-2.0
|
||||
|| (
|
||||
app-crypt/pinentry[gtk]
|
||||
app-crypt/pinentry[qt4]
|
||||
)
|
||||
)
|
||||
=app-crypt/gnupg-1.4*
|
||||
) )"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}"/comm-release
|
||||
|
||||
linguas() {
|
||||
local LANG SLANG
|
||||
for LANG in ${LINGUAS}; do
|
||||
if has ${LANG} en en_US; then
|
||||
has en ${linguas} || linguas="${linguas:+"${linguas} "}en"
|
||||
continue
|
||||
elif has ${LANG} ${LANGS//-/_}; then
|
||||
has ${LANG//_/-} ${linguas} || linguas="${linguas:+"${linguas} "}${LANG//_/-}"
|
||||
continue
|
||||
elif [[ " ${LANGS} " == *" ${LANG}-"* ]]; then
|
||||
for X in ${LANGS}; do
|
||||
if [[ "${X}" == "${LANG}-"* ]] && \
|
||||
[[ " ${NOSHORTLANGS} " != *" ${X} "* ]]; then
|
||||
has ${X} ${linguas} || linguas="${linguas:+"${linguas} "}${X}"
|
||||
continue 2
|
||||
fi
|
||||
done
|
||||
fi
|
||||
ewarn "Sorry, but ${PN} does not support the ${LANG} LINGUA"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
moz_pkgsetup
|
||||
|
||||
if ! use bindist; then
|
||||
elog "You are enabling official branding. You may not redistribute this build"
|
||||
elog "to any users on your network or the internet. Doing so puts yourself into"
|
||||
elog "a legal problem with Mozilla Foundation"
|
||||
elog "You can disable it by emerging ${PN} _with_ the bindist USE-flag"
|
||||
fi
|
||||
|
||||
# Ensure we have enough disk space to compile
|
||||
CHECKREQS_DISK_BUILD="4G"
|
||||
check-reqs_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
if ! [[ ${PV} =~ alpha|beta ]]; then
|
||||
linguas
|
||||
for X in ${linguas}; do
|
||||
# FIXME: Add support for unpacking xpis to portage
|
||||
[[ ${X} != "en" ]] && xpi_unpack "${P}-${X}.xpi"
|
||||
done
|
||||
if [[ ${linguas} != "" && ${linguas} != "en" ]]; then
|
||||
einfo "Selected language packs (first will be default): ${linguas}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Apply our Thunderbird patchset
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}/thunderbird"
|
||||
|
||||
# Apply our patchset from firefox to thunderbird as well
|
||||
pushd "${S}"/mozilla &>/dev/null || die
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}/firefox"
|
||||
popd &>/dev/null || die
|
||||
|
||||
if use crypt ; then
|
||||
mv "${WORKDIR}"/enigmail "${S}"/mailnews/extensions/enigmail
|
||||
cd "${S}"/mailnews/extensions/enigmail || die
|
||||
./makemake -r 2&> /dev/null
|
||||
sed -i -e 's:@srcdir@:${S}/mailnews/extensions/enigmail:' Makefile.in
|
||||
cd "${S}"
|
||||
fi
|
||||
|
||||
#Fix compilation with curl-7.21.7 bug 376027
|
||||
sed -e '/#include <curl\/types.h>/d' \
|
||||
-i "${S}"/mozilla/toolkit/crashreporter/google-breakpad/src/common/linux/http_upload.cc \
|
||||
-i "${S}"/mozilla/toolkit/crashreporter/google-breakpad/src/common/linux/libcurl_wrapper.cc \
|
||||
-i "${S}"/mozilla/config/system-headers \
|
||||
-i "${S}"/mozilla/js/src/config/system-headers || die "Sed failed"
|
||||
|
||||
# Allow user to apply any additional patches without modifing ebuild
|
||||
epatch_user
|
||||
|
||||
eautoreconf
|
||||
|
||||
cd mozilla
|
||||
eautoreconf
|
||||
cd js/src
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
|
||||
MEXTENSIONS="default"
|
||||
|
||||
####################################
|
||||
#
|
||||
# mozconfig, CFLAGS and CXXFLAGS setup
|
||||
#
|
||||
####################################
|
||||
|
||||
mozconfig_init
|
||||
mozconfig_config
|
||||
|
||||
# It doesn't compile on alpha without this LDFLAGS
|
||||
use alpha && append-ldflags "-Wl,--no-relax"
|
||||
|
||||
if use crypt ; then
|
||||
# omni.jar breaks enigmail
|
||||
mozconfig_annotate '' --enable-chrome-format=jar
|
||||
fi
|
||||
mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
|
||||
mozconfig_annotate '' --with-default-mozilla-five-home="${EPREFIX}${MOZILLA_FIVE_HOME}"
|
||||
mozconfig_annotate '' --with-user-appdir=.thunderbird
|
||||
mozconfig_annotate '' --with-system-png
|
||||
mozconfig_annotate '' --enable-system-ffi
|
||||
|
||||
# Use enable features
|
||||
mozconfig_use_enable lightning calendar
|
||||
mozconfig_use_enable gconf
|
||||
|
||||
# Bug #72667
|
||||
if use mozdom; then
|
||||
MEXTENSIONS="${MEXTENSIONS},inspector"
|
||||
fi
|
||||
|
||||
# Finalize and report settings
|
||||
mozconfig_final
|
||||
|
||||
####################################
|
||||
#
|
||||
# Configure and build
|
||||
#
|
||||
####################################
|
||||
|
||||
# Disable no-print-directory
|
||||
MAKEOPTS=${MAKEOPTS/--no-print-directory/}
|
||||
|
||||
if [[ $(gcc-major-version) -lt 4 ]]; then
|
||||
append-cxxflags -fno-stack-protector
|
||||
elif [[ $(gcc-major-version) -gt 4 || $(gcc-minor-version) -gt 3 ]]; then
|
||||
if use amd64 || use x86; then
|
||||
append-flags -mno-avx
|
||||
fi
|
||||
fi
|
||||
|
||||
CPPFLAGS="${CPPFLAGS}" \
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
|
||||
econf || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die
|
||||
|
||||
# Only build enigmail extension if crypt enabled.
|
||||
if use crypt ; then
|
||||
emake -C "${S}"/mailnews/extensions/enigmail || die "make enigmail failed"
|
||||
emake -C "${S}"/mailnews/extensions/enigmail xpi || die "make enigmail xpi failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
|
||||
declare emid
|
||||
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
if ! use bindist; then
|
||||
newicon "${S}"/other-licenses/branding/thunderbird/content/icon48.png thunderbird-icon.png
|
||||
domenu "${FILESDIR}"/icon/${PN}.desktop
|
||||
else
|
||||
newicon "${S}"/mail/branding/unofficial/content/icon48.png thunderbird-icon-unbranded.png
|
||||
newmenu "${FILESDIR}"/icon/${PN}-unbranded.desktop \
|
||||
${PN}.desktop
|
||||
|
||||
sed -i -e "s:Mozilla\ Thunderbird:Lanikai:g" \
|
||||
"${ED}"/usr/share/applications/${PN}.desktop
|
||||
fi
|
||||
|
||||
if use crypt ; then
|
||||
cd "${T}" || die
|
||||
unzip "${S}"/mozilla/dist/bin/enigmail*.xpi install.rdf || die
|
||||
emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' install.rdf)
|
||||
|
||||
dodir ${MOZILLA_FIVE_HOME}/extensions/${emid} || die
|
||||
cd "${D}"${MOZILLA_FIVE_HOME}/extensions/${emid} || die
|
||||
unzip "${S}"/mozilla/dist/bin/enigmail*.xpi || die
|
||||
fi
|
||||
|
||||
if use lightning ; then
|
||||
emid="{a62ef8ec-5fdc-40c2-873c-223b8a6925cc}"
|
||||
dodir ${MOZILLA_FIVE_HOME}/extensions/${emid}
|
||||
cd "${ED}"${MOZILLA_FIVE_HOME}/extensions/${emid}
|
||||
unzip "${S}"/mozilla/dist/xpi-stage/gdata-provider.xpi
|
||||
|
||||
emid="calendar-timezones@mozilla.org"
|
||||
dodir ${MOZILLA_FIVE_HOME}/extensions/${emid}
|
||||
cd "${ED}"${MOZILLA_FIVE_HOME}/extensions/${emid}
|
||||
unzip "${S}"/mozilla/dist/xpi-stage/calendar-timezones.xpi
|
||||
|
||||
emid="{e2fda1a4-762b-4020-b5ad-a41df1933103}"
|
||||
dodir ${MOZILLA_FIVE_HOME}/extensions/${emid}
|
||||
cd "${ED}"${MOZILLA_FIVE_HOME}/extensions/${emid}
|
||||
unzip "${S}"/mozilla/dist/xpi-stage/lightning.xpi
|
||||
|
||||
# Fix mimetype so it shows up as a calendar application in GNOME 3
|
||||
# This requires that the .desktop file was already installed earlier
|
||||
sed -e "s:^\(MimeType=\):\1text/calendar;:" \
|
||||
-e "s:^\(Categories=\):\1Calendar;:" \
|
||||
-i "${ED}"/usr/share/applications/${PN}.desktop
|
||||
fi
|
||||
|
||||
if ! [[ ${PV} =~ alpha|beta ]]; then
|
||||
linguas
|
||||
for X in ${linguas}; do
|
||||
[[ ${X} != "en" ]] && xpi_install "${WORKDIR}"/"${P}-${X}"
|
||||
done
|
||||
fi
|
||||
|
||||
pax-mark m "${ED}"/${MOZILLA_FIVE_HOME}/thunderbird-bin
|
||||
|
||||
# Enable very specific settings for thunderbird-3
|
||||
cp "${FILESDIR}"/thunderbird-gentoo-default-prefs-1.js \
|
||||
"${ED}/${MOZILLA_FIVE_HOME}/defaults/pref/all-gentoo.js" || \
|
||||
die "failed to cp thunderbird-gentoo-default-prefs.js"
|
||||
}
|
@ -1,6 +1,3 @@
|
||||
DIST snd-12.1.tar.gz 15609288 RMD160 94f8103e2240d5dabb0db6695695a290189517cd SHA1 e2bcbc39d10d1e1cb618ee704a20da55307ba6f7 SHA256 0fbed687d920ec1570aeeb4786b237feea6b99fe302ab66cf50420586fc91358
|
||||
DIST snd-12.2.tar.gz 15613589 RMD160 00c0edf2ad7e2c6bb9e8730317ae31c53c804875 SHA1 9492a55e61fdb4a01041c0c0c4103c569239acf8 SHA256 79cd1613b3aa1498e953348f3b7aac28d2ed99df411a6b19ab5e5ff0056c17f9
|
||||
DIST snd-12.3.tar.gz 15645756 RMD160 b81750f5f212e283742cbd17c61e8028271e7924 SHA1 6360ac0f3850ad513ba345a2f96faa358eb7dc54 SHA256 6a30ba6b96f9b0c1ea4e843a52082cc664bb5d1d2e19a97c146e346a6a32ba5e
|
||||
DIST snd-12.4.tar.gz 15432750 RMD160 3d05572b354be2db1bd7d393d82c7d12b2c72542 SHA1 2a86eb6120f607b4d81c9506f9bccaaac61b1343 SHA256 fc6cd101b1d9a52383457f52d70d4a7a2ea25864b26853388dbf0f985dc806e7
|
||||
DIST snd-12.5.tar.gz 15458830 RMD160 4957c61a6a116b907f3d6a11d0c63482eafe30d9 SHA1 69d38942f433f768ae18de8a96b3ab02b4389966 SHA256 ce6055a9277445fc9132b303f473e49b1771f8072f148db4eef44505518913d5
|
||||
DIST snd-12.6.tar.gz 15475491 RMD160 f0e893d15b01e8827713638e89bf706b6a5a5980 SHA1 b2a103d059a5d1453356f5db6152f303ebca6147 SHA256 ea273c1d717e8c8b6140d9294678567f91c5216e283789989158d7fd8a1b9c91
|
||||
DIST snd-9.11.tar.gz 13455864 RMD160 9c4137114f9056efaba66aed6e7140f4f4e6e671 SHA1 950c6336bae0e2ccf5eae62b037572bc7ddabcf7 SHA256 364fa4ee39d9909e7cffc400aff5723712bfa19960ecb2271d83bf2fe1909165
|
||||
|
@ -0,0 +1,37 @@
|
||||
--- snd-12.6/configure.ac.orig
|
||||
+++ snd-12.6/configure.ac
|
||||
@@ -1468,7 +1468,7 @@
|
||||
LDSO_FLAGS="-shared"
|
||||
LIBS="$LIBS -lm"
|
||||
if test "$ac_cv_header_dlfcn_h" = yes ; then
|
||||
- LDFLAGS="$LDFLAGS -ldl"
|
||||
+ LIBS="$LIBS -ldl"
|
||||
fi
|
||||
if test "$GCC" = yes ; then
|
||||
SO_FLAGS="-fPIC $SO_FLAGS"
|
||||
@@ -1979,7 +1979,7 @@
|
||||
if test "$ac_snd_have_extension_language" = yes ; then
|
||||
if test "$ac_snd_have_gui" = yes ; then
|
||||
if test "$ac_cv_header_pthread_h" = yes ; then
|
||||
- LDFLAGS="$LDFLAGS -lpthread"
|
||||
+ LIBS="$LIBS -lpthread"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
@@ -1987,14 +1987,14 @@
|
||||
if test "$ac_snd_have_extension_language" = no ; then
|
||||
if test "$ac_snd_have_gui" = no ; then
|
||||
if test "$ac_cv_header_dlfcn_h" = yes ; then
|
||||
- LDFLAGS="$LDFLAGS -ldl"
|
||||
+ LIBS="$LIBS -ldl"
|
||||
fi
|
||||
AC_MSG_WARN([Snd needs either an extension language (s7, Fth, or Ruby), or a graphics toolkit (Gtk or Motif), or preferably both. As currently configured, this version of Snd is useless.])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$ac_snd_have_extension_language" = yes && test "$with_audio" = no && test "$ac_cv_header_dlfcn_h" = yes ; then
|
||||
- LDFLAGS="$LDFLAGS -ldl"
|
||||
+ LIBS="$LIBS -ldl"
|
||||
fi
|
||||
|
||||
|
@ -1,101 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/snd/snd-12.1.ebuild,v 1.3 2011/05/03 08:35:11 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit multilib flag-o-matic
|
||||
|
||||
DESCRIPTION="Snd is a sound editor"
|
||||
HOMEPAGE="http://ccrma.stanford.edu/software/snd/"
|
||||
SRC_URI="ftp://ccrma-ftp.stanford.edu/pub/Lisp/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="as-is"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux"
|
||||
IUSE="alsa esd fam fftw gmp gsl gtk jack ladspa motif opengl oss portaudio pulseaudio ruby"
|
||||
|
||||
RDEPEND="media-libs/audiofile
|
||||
sys-libs/readline
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
esd? ( media-sound/esound )
|
||||
fam? ( virtual/fam )
|
||||
fftw? ( sci-libs/fftw )
|
||||
gmp? ( dev-libs/gmp
|
||||
dev-libs/mpc
|
||||
dev-libs/mpfr )
|
||||
gsl? ( >=sci-libs/gsl-0.8 )
|
||||
gtk? ( x11-libs/gtk+:3
|
||||
x11-libs/pango
|
||||
x11-libs/cairo
|
||||
opengl? ( x11-libs/gtkglext ) )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
ladspa? ( media-libs/ladspa-sdk )
|
||||
motif? ( >=x11-libs/openmotif-2.3:0 )
|
||||
opengl? ( virtual/opengl )
|
||||
portaudio? ( media-libs/portaudio )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
ruby? ( dev-lang/ruby )"
|
||||
|
||||
pkg_setup() {
|
||||
if ! use gtk && ! use motif; then
|
||||
ewarn "Warning: no graphic toolkit selected (gtk or motif)."
|
||||
ewarn "Upstream suggests to enable one of the toolkits (or both)"
|
||||
ewarn "or only the command line utilities will be helpful."
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Workaround executable sections QA warning (bug #348754)
|
||||
append-ldflags -Wl,-z,noexecstack
|
||||
|
||||
local myconf
|
||||
if use opengl; then
|
||||
myconf="${myconf} --with-just-gl"
|
||||
else
|
||||
myconf="${myconf} --without-gl"
|
||||
fi
|
||||
|
||||
econf \
|
||||
$(use_with alsa) \
|
||||
$(use_with esd) \
|
||||
$(use_with fam) \
|
||||
$(use_with fftw) \
|
||||
$(use_with gmp) \
|
||||
$(use_with gsl) \
|
||||
$(use_with gtk) \
|
||||
$(use_with jack) \
|
||||
$(use_with ladspa) \
|
||||
$(use_with motif) \
|
||||
$(use_with oss) \
|
||||
$(use_with portaudio) \
|
||||
$(use_with pulseaudio) \
|
||||
$(use_with ruby) \
|
||||
--with-float-samples \
|
||||
${myconf}
|
||||
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake snd
|
||||
|
||||
# Do not compile ruby extensions for command line programs since they fail
|
||||
sed -i -e "s:HAVE_RUBY 1:HAVE_RUBY 0:" mus-config.h
|
||||
|
||||
for i in sndinfo audinfo sndplay; do
|
||||
emake ${i}
|
||||
done
|
||||
}
|
||||
|
||||
src_install () {
|
||||
dobin snd
|
||||
dobin sndplay
|
||||
dobin sndinfo
|
||||
dobin audinfo
|
||||
|
||||
insinto /usr/$(get_libdir)/snd/scheme
|
||||
doins *.scm
|
||||
|
||||
dodoc README.Snd HISTORY.Snd NEWS
|
||||
dohtml -r *.html pix/*.png tutorial
|
||||
}
|
@ -1,101 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/snd/snd-12.2.ebuild,v 1.1 2011/06/09 08:52:57 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit multilib flag-o-matic
|
||||
|
||||
DESCRIPTION="Snd is a sound editor"
|
||||
HOMEPAGE="http://ccrma.stanford.edu/software/snd/"
|
||||
SRC_URI="ftp://ccrma-ftp.stanford.edu/pub/Lisp/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="as-is"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux"
|
||||
IUSE="alsa esd fam fftw gmp gsl gtk jack ladspa motif opengl oss portaudio pulseaudio ruby"
|
||||
|
||||
RDEPEND="media-libs/audiofile
|
||||
sys-libs/readline
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
esd? ( media-sound/esound )
|
||||
fam? ( virtual/fam )
|
||||
fftw? ( sci-libs/fftw )
|
||||
gmp? ( dev-libs/gmp
|
||||
dev-libs/mpc
|
||||
dev-libs/mpfr )
|
||||
gsl? ( >=sci-libs/gsl-0.8 )
|
||||
gtk? ( x11-libs/gtk+:3
|
||||
x11-libs/pango
|
||||
x11-libs/cairo
|
||||
opengl? ( x11-libs/gtkglext ) )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
ladspa? ( media-libs/ladspa-sdk )
|
||||
motif? ( >=x11-libs/openmotif-2.3:0 )
|
||||
opengl? ( virtual/opengl )
|
||||
portaudio? ( media-libs/portaudio )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
ruby? ( dev-lang/ruby )"
|
||||
|
||||
pkg_setup() {
|
||||
if ! use gtk && ! use motif; then
|
||||
ewarn "Warning: no graphic toolkit selected (gtk or motif)."
|
||||
ewarn "Upstream suggests to enable one of the toolkits (or both)"
|
||||
ewarn "or only the command line utilities will be helpful."
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Workaround executable sections QA warning (bug #348754)
|
||||
append-ldflags -Wl,-z,noexecstack
|
||||
|
||||
local myconf
|
||||
if use opengl; then
|
||||
myconf="${myconf} --with-just-gl"
|
||||
else
|
||||
myconf="${myconf} --without-gl"
|
||||
fi
|
||||
|
||||
econf \
|
||||
$(use_with alsa) \
|
||||
$(use_with esd) \
|
||||
$(use_with fam) \
|
||||
$(use_with fftw) \
|
||||
$(use_with gmp) \
|
||||
$(use_with gsl) \
|
||||
$(use_with gtk) \
|
||||
$(use_with jack) \
|
||||
$(use_with ladspa) \
|
||||
$(use_with motif) \
|
||||
$(use_with oss) \
|
||||
$(use_with portaudio) \
|
||||
$(use_with pulseaudio) \
|
||||
$(use_with ruby) \
|
||||
--with-float-samples \
|
||||
${myconf}
|
||||
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake snd
|
||||
|
||||
# Do not compile ruby extensions for command line programs since they fail
|
||||
sed -i -e "s:HAVE_RUBY 1:HAVE_RUBY 0:" mus-config.h
|
||||
|
||||
for i in sndinfo audinfo sndplay; do
|
||||
emake ${i}
|
||||
done
|
||||
}
|
||||
|
||||
src_install () {
|
||||
dobin snd
|
||||
dobin sndplay
|
||||
dobin sndinfo
|
||||
dobin audinfo
|
||||
|
||||
insinto /usr/$(get_libdir)/snd/scheme
|
||||
doins *.scm
|
||||
|
||||
dodoc README.Snd HISTORY.Snd NEWS
|
||||
dohtml -r *.html pix/*.png tutorial
|
||||
}
|
@ -1,106 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/snd/snd-12.3.ebuild,v 1.1 2011/08/22 08:45:53 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit multilib flag-o-matic autotools
|
||||
|
||||
DESCRIPTION="Snd is a sound editor"
|
||||
HOMEPAGE="http://ccrma.stanford.edu/software/snd/"
|
||||
SRC_URI="ftp://ccrma-ftp.stanford.edu/pub/Lisp/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="as-is"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux"
|
||||
IUSE="alsa esd fam fftw gmp gsl gtk jack ladspa motif opengl oss portaudio pulseaudio ruby"
|
||||
|
||||
RDEPEND="media-libs/audiofile
|
||||
sys-libs/readline
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
esd? ( media-sound/esound )
|
||||
fam? ( virtual/fam )
|
||||
fftw? ( sci-libs/fftw )
|
||||
gmp? ( dev-libs/gmp
|
||||
dev-libs/mpc
|
||||
dev-libs/mpfr )
|
||||
gsl? ( >=sci-libs/gsl-0.8 )
|
||||
gtk? ( x11-libs/gtk+:3
|
||||
x11-libs/pango
|
||||
x11-libs/cairo
|
||||
opengl? ( x11-libs/gtkglext ) )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
ladspa? ( media-libs/ladspa-sdk )
|
||||
motif? ( >=x11-libs/openmotif-2.3:0 )
|
||||
opengl? ( virtual/opengl )
|
||||
portaudio? ( media-libs/portaudio )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
ruby? ( dev-lang/ruby )"
|
||||
|
||||
pkg_setup() {
|
||||
if ! use gtk && ! use motif; then
|
||||
ewarn "Warning: no graphic toolkit selected (gtk or motif)."
|
||||
ewarn "Upstream suggests to enable one of the toolkits (or both)"
|
||||
ewarn "or only the command line utilities will be helpful."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s:-O2 ::" configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Workaround executable sections QA warning (bug #348754)
|
||||
append-ldflags -Wl,-z,noexecstack
|
||||
|
||||
local myconf
|
||||
if use opengl; then
|
||||
myconf="${myconf} --with-just-gl"
|
||||
else
|
||||
myconf="${myconf} --without-gl"
|
||||
fi
|
||||
|
||||
econf \
|
||||
$(use_with alsa) \
|
||||
$(use_with esd) \
|
||||
$(use_with fam) \
|
||||
$(use_with fftw) \
|
||||
$(use_with gmp) \
|
||||
$(use_with gsl) \
|
||||
$(use_with gtk) \
|
||||
$(use_with jack) \
|
||||
$(use_with ladspa) \
|
||||
$(use_with motif) \
|
||||
$(use_with oss) \
|
||||
$(use_with portaudio) \
|
||||
$(use_with pulseaudio) \
|
||||
$(use_with ruby) \
|
||||
--with-float-samples \
|
||||
${myconf}
|
||||
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake snd
|
||||
|
||||
# Do not compile ruby extensions for command line programs since they fail
|
||||
sed -i -e "s:HAVE_RUBY 1:HAVE_RUBY 0:" mus-config.h
|
||||
|
||||
for i in sndinfo audinfo sndplay; do
|
||||
emake ${i}
|
||||
done
|
||||
}
|
||||
|
||||
src_install () {
|
||||
dobin snd
|
||||
dobin sndplay
|
||||
dobin sndinfo
|
||||
dobin audinfo
|
||||
|
||||
insinto /usr/$(get_libdir)/snd/scheme
|
||||
doins *.scm
|
||||
|
||||
dodoc README.Snd HISTORY.Snd NEWS
|
||||
dohtml -r *.html pix/*.png tutorial
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
dev-python/setuptools >=app-admin/eselect-python-20091230 =dev-lang/python-2* >=app-admin/eselect-python-20091230 =dev-lang/python-2*
|
||||
>=app-admin/eselect-python-20091230 =dev-lang/python-2* >=app-admin/eselect-python-20091230 =dev-lang/python-2*
|
||||
0
|
||||
http://alastairs-place.net/2007/03/netifaces/netifaces-0.5.tar.gz
|
||||
|
||||
http://alastairs-place.net/netifaces/
|
||||
MIT
|
||||
Portable network interface information
|
||||
~amd64 ~x86
|
||||
distutils multilib python toolchain-funcs
|
||||
|
||||
|
||||
|
||||
|
||||
3
|
||||
|
||||
compile install postinst postrm prepare
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
mpi? ( virtual/mpi ) || ( =sys-devel/automake-1.11* ) >=sys-devel/autoconf-2.61 sys-devel/libtool
|
||||
mpi? ( virtual/mpi )
|
||||
0
|
||||
http://www.valgrind.org/downloads/valgrind-3.7.0.tar.bz2
|
||||
|
||||
http://www.valgrind.org
|
||||
GPL-2
|
||||
An open-source memory debugger for GNU/Linux
|
||||
-* ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux
|
||||
autotools eutils flag-o-matic libtool multilib pax-utils portability toolchain-funcs user
|
||||
mpi
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
configure install postinst prepare
|
||||
|
||||
|
||||
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@ -1,22 +0,0 @@
|
||||
|
||||
media-libs/audiofile sys-libs/readline alsa? ( media-libs/alsa-lib ) esd? ( media-sound/esound ) fam? ( virtual/fam ) fftw? ( sci-libs/fftw ) gmp? ( dev-libs/gmp dev-libs/mpc dev-libs/mpfr ) gsl? ( >=sci-libs/gsl-0.8 ) gtk? ( x11-libs/gtk+:3 x11-libs/pango x11-libs/cairo opengl? ( x11-libs/gtkglext ) ) jack? ( media-sound/jack-audio-connection-kit ) ladspa? ( media-libs/ladspa-sdk ) motif? ( >=x11-libs/openmotif-2.3:0 ) opengl? ( virtual/opengl ) portaudio? ( media-libs/portaudio ) pulseaudio? ( media-sound/pulseaudio ) ruby? ( dev-lang/ruby )
|
||||
0
|
||||
ftp://ccrma-ftp.stanford.edu/pub/Lisp/snd-12.1.tar.gz
|
||||
|
||||
http://ccrma.stanford.edu/software/snd/
|
||||
as-is
|
||||
Snd is a sound editor
|
||||
~amd64 ~ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux
|
||||
eutils flag-o-matic multilib portability toolchain-funcs user
|
||||
alsa esd fam fftw gmp gsl gtk jack ladspa motif opengl oss portaudio pulseaudio ruby
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
compile configure install setup
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
|
||||
media-libs/audiofile sys-libs/readline alsa? ( media-libs/alsa-lib ) esd? ( media-sound/esound ) fam? ( virtual/fam ) fftw? ( sci-libs/fftw ) gmp? ( dev-libs/gmp dev-libs/mpc dev-libs/mpfr ) gsl? ( >=sci-libs/gsl-0.8 ) gtk? ( x11-libs/gtk+:3 x11-libs/pango x11-libs/cairo opengl? ( x11-libs/gtkglext ) ) jack? ( media-sound/jack-audio-connection-kit ) ladspa? ( media-libs/ladspa-sdk ) motif? ( >=x11-libs/openmotif-2.3:0 ) opengl? ( virtual/opengl ) portaudio? ( media-libs/portaudio ) pulseaudio? ( media-sound/pulseaudio ) ruby? ( dev-lang/ruby )
|
||||
0
|
||||
ftp://ccrma-ftp.stanford.edu/pub/Lisp/snd-12.2.tar.gz
|
||||
|
||||
http://ccrma.stanford.edu/software/snd/
|
||||
as-is
|
||||
Snd is a sound editor
|
||||
~amd64 ~ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux
|
||||
eutils flag-o-matic multilib portability toolchain-funcs user
|
||||
alsa esd fam fftw gmp gsl gtk jack ladspa motif opengl oss portaudio pulseaudio ruby
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
compile configure install setup
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
|| ( =sys-devel/automake-1.11* ) >=sys-devel/autoconf-2.61 sys-devel/libtool
|
||||
media-libs/audiofile sys-libs/readline alsa? ( media-libs/alsa-lib ) esd? ( media-sound/esound ) fam? ( virtual/fam ) fftw? ( sci-libs/fftw ) gmp? ( dev-libs/gmp dev-libs/mpc dev-libs/mpfr ) gsl? ( >=sci-libs/gsl-0.8 ) gtk? ( x11-libs/gtk+:3 x11-libs/pango x11-libs/cairo opengl? ( x11-libs/gtkglext ) ) jack? ( media-sound/jack-audio-connection-kit ) ladspa? ( media-libs/ladspa-sdk ) motif? ( >=x11-libs/openmotif-2.3:0 ) opengl? ( virtual/opengl ) portaudio? ( media-libs/portaudio ) pulseaudio? ( media-sound/pulseaudio ) ruby? ( dev-lang/ruby )
|
||||
0
|
||||
ftp://ccrma-ftp.stanford.edu/pub/Lisp/snd-12.3.tar.gz
|
||||
|
||||
http://ccrma.stanford.edu/software/snd/
|
||||
as-is
|
||||
Snd is a sound editor
|
||||
~amd64 ~ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux
|
||||
autotools eutils flag-o-matic libtool multilib portability toolchain-funcs user
|
||||
alsa esd fam fftw gmp gsl gtk jack ladspa motif opengl oss portaudio pulseaudio ruby
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
compile configure install prepare setup
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
|| ( =sys-devel/automake-1.11* ) >=sys-devel/autoconf-2.61 sys-devel/libtool
|
||||
media-libs/audiofile alsa? ( media-libs/alsa-lib ) esd? ( media-sound/esound ) fam? ( virtual/fam ) fftw? ( sci-libs/fftw ) gmp? ( dev-libs/gmp dev-libs/mpc dev-libs/mpfr ) gsl? ( sci-libs/gsl ) gtk? ( x11-libs/gtk+:3 x11-libs/pango x11-libs/cairo opengl? ( x11-libs/gtkglext ) ) jack? ( media-sound/jack-audio-connection-kit ) ladspa? ( media-libs/ladspa-sdk ) motif? ( >=x11-libs/openmotif-2.3:0 ) opengl? ( virtual/opengl ) portaudio? ( media-libs/portaudio ) pulseaudio? ( media-sound/pulseaudio ) readline? ( sys-libs/readline ) ruby? ( dev-lang/ruby )
|
||||
0
|
||||
ftp://ccrma-ftp.stanford.edu/pub/Lisp/snd-12.4.tar.gz
|
||||
ftp://ccrma-ftp.stanford.edu/pub/Lisp/snd-12.6.tar.gz
|
||||
|
||||
http://ccrma.stanford.edu/software/snd/
|
||||
as-is
|
@ -1,7 +1,7 @@
|
||||
activefilter? ( net-libs/libpcap ) atm? ( net-dialup/linux-atm ) pam? ( virtual/pam ) gtk? ( x11-libs/gtk+:2 ) eap-tls? ( net-misc/curl dev-libs/openssl )
|
||||
activefilter? ( net-libs/libpcap ) atm? ( net-dialup/linux-atm ) pam? ( virtual/pam ) gtk? ( x11-libs/gtk+:2 ) eap-tls? ( net-misc/curl dev-libs/openssl )
|
||||
0
|
||||
ftp://ftp.samba.org/pub/ppp/ppp-2.4.5.tar.gz mirror://gentoo/ppp-2.4.5-gentoo-20100903.tar.gz dhcp? ( http://www.netservers.co.uk/gpl/ppp-dhcpc.tgz )
|
||||
ftp://ftp.samba.org/pub/ppp/ppp-2.4.5.tar.gz mirror://gentoo/ppp-2.4.5-gentoo-20111111.tar.gz dhcp? ( http://www.netservers.co.uk/gpl/ppp-dhcpc.tgz )
|
||||
|
||||
http://www.samba.org/ppp
|
||||
BSD GPL-2
|
@ -0,0 +1,22 @@
|
||||
dev-libs/openssl sys-libs/zlib alsa? ( media-libs/alsa-lib ) cups? ( net-print/cups ) directfb? ( dev-libs/DirectFB ) pulseaudio? ( media-sound/pulseaudio ) X? ( x11-libs/libX11 xcursor? ( x11-libs/libXcursor ) xext? ( x11-libs/libXext ) xinerama? ( x11-libs/libXinerama ) ) xkbfile? ( x11-libs/libxkbfile ) app-text/xmlto test? ( dev-util/cunit ) >=dev-util/cmake-2.8.4 userland_GNU? ( >=sys-apps/findutils-4.4.0 )
|
||||
dev-libs/openssl sys-libs/zlib alsa? ( media-libs/alsa-lib ) cups? ( net-print/cups ) directfb? ( dev-libs/DirectFB ) pulseaudio? ( media-sound/pulseaudio ) X? ( x11-libs/libX11 xcursor? ( x11-libs/libXcursor ) xext? ( x11-libs/libXext ) xinerama? ( x11-libs/libXinerama ) ) xkbfile? ( x11-libs/libxkbfile )
|
||||
0
|
||||
https://github.com/downloads/FreeRDP/FreeRDP/FreeRDP-1.0-beta1.tar.gz
|
||||
test
|
||||
http://www.freerdp.com/
|
||||
Apache-2.0
|
||||
Client-side implementation of the Remote Desktop Protocol
|
||||
~amd64 ~x86
|
||||
base cmake-utils eutils flag-o-matic multilib portability toolchain-funcs user
|
||||
+alsa +cups directfb pulseaudio sse2 test +X +xcursor +xext +xinerama +xkbfile debug-transport debug-chanman debug-svc debug-dvc debug-kbd debug-nla debug-nego debug-certificate debug-license debug-gdi debug-rfx debug-x11 debug-rail debug-xv
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
compile configure install prepare test unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
net-print/cups app-text/ghostscript-gpl
|
||||
net-print/cups app-text/ghostscript-gpl
|
||||
0
|
||||
http://www.cups-pdf.de/src/cups-pdf_2.6.1.tar.gz
|
||||
|
||||
http://www.cups-pdf.de/
|
||||
GPL-2
|
||||
Provides a virtual printer for CUPS to produce PDF files.
|
||||
~amd64 ~ppc ~sparc ~x86
|
||||
multilib toolchain-funcs
|
||||
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
compile install postinst
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
|| ( virtual/httpd-cgi virtual/httpd-fastcgi ) virtual/httpd-php >=app-admin/webapp-config-1.50.15
|
||||
dev-lang/php[pdo,postgres?,sqlite?,xml] mysql? ( || ( dev-lang/php[mysql] dev-lang/php[mysqli] ) ) || ( dev-lang/php[gd] dev-lang/php[gd-external] ) >=app-admin/webapp-config-1.50.15
|
||||
7.9
|
||||
http://drupal.org/files/projects/drupal-7.9.tar.gz
|
||||
|
||||
http://drupal.org/
|
||||
GPL-2
|
||||
PHP-based open-source platform and content management system
|
||||
~alpha ~amd64 ~ppc ~x86
|
||||
depend.php eutils multilib phpconfutils portability toolchain-funcs user webapp
|
||||
+mysql postgres sqlite vhosts
|
||||
|| ( mysql postgres sqlite )
|
||||
|
||||
|
||||
4
|
||||
|
||||
install postinst prerm setup
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
|| ( virtual/httpd-cgi virtual/httpd-fastcgi ) virtual/httpd-php >=app-admin/webapp-config-1.50.15
|
||||
dev-lang/php[simplexml,xml,xsl,unicode] || ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 ) virtual/httpd-php >=app-admin/webapp-config-1.50.15
|
||||
3.0.15
|
||||
mirror://sourceforge/phpsysinfo/phpsysinfo-3.0.15.tar.gz
|
||||
|
||||
http://phpsysinfo.sourceforge.net/
|
||||
GPL-2
|
||||
phpSysInfo is a nice package that will display your system stats via PHP.
|
||||
~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd
|
||||
depend.php eutils multilib phpconfutils portability toolchain-funcs user webapp
|
||||
vhosts
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
install postinst prerm setup
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
|| ( virtual/httpd-cgi virtual/httpd-fastcgi ) virtual/httpd-php >=app-admin/webapp-config-1.50.15
|
||||
|| ( dev-lang/php[mysql] dev-lang/php[mysqli] ) || ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 ) virtual/httpd-php >=app-admin/webapp-config-1.50.15
|
||||
3.3_beta2
|
||||
http://wordpress.org/wordpress-3.3-beta2.tar.gz
|
||||
|
||||
http://wordpress.org/
|
||||
GPL-2
|
||||
Wordpress php and mysql based CMS system
|
||||
~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86
|
||||
depend.php eutils multilib phpconfutils portability toolchain-funcs user webapp
|
||||
vhosts
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
install postinst prerm setup
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
|| ( virtual/httpd-cgi virtual/httpd-fastcgi ) virtual/httpd-php >=app-admin/webapp-config-1.50.15
|
||||
|| ( dev-lang/php[mysql] dev-lang/php[mysqli] ) || ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 ) virtual/httpd-php >=app-admin/webapp-config-1.50.15
|
||||
3.3_beta1
|
||||
http://wordpress.org/wordpress-3.3-beta1.tar.gz
|
||||
3.3_beta3
|
||||
http://wordpress.org/wordpress-3.3-beta3.tar.gz
|
||||
|
||||
http://wordpress.org/
|
||||
GPL-2
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
Fri, 11 Nov 2011 01:06:45 +0000
|
||||
Fri, 11 Nov 2011 07:46:41 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri, 11 Nov 2011 01:06:46 +0000
|
||||
Fri, 11 Nov 2011 07:46:41 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri, 11 Nov 2011 01:06:47 +0000
|
||||
Fri, 11 Nov 2011 07:46:42 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri Nov 11 01:06:45 UTC 2011
|
||||
Fri Nov 11 07:46:41 UTC 2011
|
||||
|
@ -1 +1 @@
|
||||
Fri, 11 Nov 2011 01:30:01 +0000
|
||||
Fri, 11 Nov 2011 08:00:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1320973501 Fri Nov 11 01:05:01 2011 UTC
|
||||
1320997501 Fri Nov 11 07:45:01 2011 UTC
|
||||
|
@ -1,6 +1,6 @@
|
||||
DIST ppp-2.4.4-gentoo-20091116.tar.gz 54932 RMD160 5f37dbae97a4e55ae25ed54d8ae521cb51064c50 SHA1 b35cbec42b3a0794281921e7879eab322f27da70 SHA256 52f174b3df36110d14c522869c507f64aef4d2d01db2dec2936cc9917c9fa716
|
||||
DIST ppp-2.4.4.tar.gz 688763 RMD160 ed289a4506c3af41a72f88103d5e0be44dec3da7 SHA1 9b91b0117e0a8bfaf8c4e894af79e0960dd36259 SHA256 58af45fc07e5f326eea2408df770ea40e4626d1a15e7d564dd054d74880e91ea
|
||||
DIST ppp-2.4.5-gentoo-20100903.tar.gz 38811 RMD160 5e64ea4ddd5f7823376709f6076f117acbdd6c17 SHA1 da55d88d3ea5557f3f92b949a6827a4701b32c91 SHA256 fab65eaae9116af6debee4fa35c412b8221e91e5cbc81115448fb4f81a27bf0f
|
||||
DIST ppp-2.4.5-gentoo-20101127.tar.gz 41562 RMD160 b9aa87b7f185eda2d022580ccbb9b23d2c2a4f42 SHA1 b63aa5c0c91458fe82a2be2cca2fbe264db2b301 SHA256 d49f51dd10dfc97f25bb5dbc4acc61c708d890da231295467ac3710751d2bcdd
|
||||
DIST ppp-2.4.5-gentoo-20111111.tar.gz 41883 RMD160 e94c89a8404182ae0b2b9757c23ae69db012918d SHA1 98748395fbbd85509ba0059745ae708e57cc9f91 SHA256 950e06cb9e9c844e88cb99c3fc1dbb7515814d75f7f6e87a81fbb245e48ba4ed
|
||||
DIST ppp-2.4.5.tar.gz 684342 RMD160 231682ab2314d182c893c64523fd89f571a258de SHA1 cb977b31584e3488e08a643aaa672fdb229d2e78 SHA256 43317afec9299f9920b96f840414c977f0385410202d48e56d2fdb8230003505
|
||||
DIST ppp-dhcpc.tgz 33497 RMD160 63bf0d1cc52e91ea536fc593fb7a40502baecd90 SHA1 1a0b02788d522f2137d0b66c749ffe6c96cceb94 SHA256 977fd980bb1d285963d8e27a87b7601ea84317faadfdb40989b258d1853db644
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST cups-pdf_2.4.8.tar.gz 34254 RMD160 ceed244effd0c9e63ec0a376a2adabb98abd9a4f SHA1 7da47c61fef313e47fa6db9f1859499683fc72e8 SHA256 c77e4a538cf04512f6d712030d392a2a96bf06f72e5c3f31ec9eeabde5e3b135
|
||||
DIST cups-pdf_2.5.1.tar.gz 32578 RMD160 b99fdff0e523470aaf3a99e1c446f79a63c123a7 SHA1 2b5fe4bb779afa8764c274d6e35e3f9c539fb582 SHA256 63c8bcf0ec12eaa2af9477267f8aecd0c1c1e03fa6b88ab47ca2a781a83c1f94
|
||||
DIST cups-pdf_2.6.1.tar.gz 33315 RMD160 ebb7ed5192ff91201e2ef9d87d8f24c1c7a393cc SHA1 6806f0004dfed5216625ab60cfe307ded23c2f6a SHA256 04e17eb563dceea048e1a435edcbcf52faa5288f85e8390cd64d702edb6745f1
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-print/cups-pdf/cups-pdf-2.6.1.ebuild,v 1.1 2011/11/11 05:54:48 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Provides a virtual printer for CUPS to produce PDF files."
|
||||
HOMEPAGE="http://www.cups-pdf.de/"
|
||||
SRC_URI="http://www.cups-pdf.de/src/${PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="net-print/cups
|
||||
app-text/ghostscript-gpl"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/src
|
||||
$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN} ${PN}.c || die "Compilation failed."
|
||||
}
|
||||
|
||||
src_install () {
|
||||
exeinto /usr/libexec/cups/backend
|
||||
exeopts -m0700
|
||||
doexe src/cups-pdf
|
||||
|
||||
insinto /usr/share/cups/model
|
||||
doins extra/CUPS-PDF.ppd
|
||||
|
||||
insinto /etc/cups
|
||||
doins extra/cups-pdf.conf
|
||||
|
||||
dodoc ChangeLog README
|
||||
newdoc contrib/Contents contrib_Contents
|
||||
}
|
||||
|
||||
pkg_postinst () {
|
||||
elog "Please view both the README and contrib_Contents files"
|
||||
elog "as you may want to adjust some settings and/or use"
|
||||
elog "contributed software. In the latter case you may need"
|
||||
elog "to extract some files from the ${P} distfile."
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/drupal-7.9.ebuild,v 1.1 2011/11/11 04:56:32 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit webapp depend.php
|
||||
|
||||
MY_PV=${PV:0:3}.0
|
||||
|
||||
DESCRIPTION="PHP-based open-source platform and content management system"
|
||||
HOMEPAGE="http://drupal.org/"
|
||||
SRC_URI="http://drupal.org/files/projects/${P/_/-}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~x86"
|
||||
IUSE="+mysql postgres sqlite"
|
||||
|
||||
need_httpd_cgi
|
||||
need_php_httpd
|
||||
|
||||
RDEPEND="dev-lang/php[pdo,postgres?,sqlite?,xml]
|
||||
mysql? ( || ( dev-lang/php[mysql] dev-lang/php[mysqli] ) )
|
||||
|| ( dev-lang/php[gd] dev-lang/php[gd-external] )"
|
||||
|
||||
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
||||
|
||||
S="${WORKDIR}/${P/_/-}"
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
local docs="MAINTAINERS.txt LICENSE.txt INSTALL.txt CHANGELOG.txt INSTALL.mysql.txt INSTALL.pgsql.txt INSTALL.sqlite.txt UPGRADE.txt "
|
||||
dodoc ${docs}
|
||||
rm -f ${docs} INSTALL COPYRIGHT.txt
|
||||
|
||||
cp sites/default/{default.settings.php,settings.php}
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r .
|
||||
|
||||
dodir "${MY_HTDOCSDIR}"/files
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/files
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/sites/default
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
|
||||
webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
|
||||
|
||||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
|
||||
|
||||
webapp_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn
|
||||
ewarn "SECURITY NOTICE"
|
||||
ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
|
||||
ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
|
||||
ewarn
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-apps/phpsysinfo/phpsysinfo-3.0.15.ebuild,v 1.1 2011/11/11 05:05:34 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit webapp depend.php
|
||||
|
||||
DESCRIPTION="phpSysInfo is a nice package that will display your system stats via PHP."
|
||||
HOMEPAGE="http://phpsysinfo.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/php[simplexml,xml,xsl,unicode]
|
||||
|| ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 )"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
need_httpd_cgi
|
||||
need_php_httpd
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
dodoc ChangeLog README*
|
||||
rm -f ChangeLog COPYING README*
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r .
|
||||
newins config.php{.new,}
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR}"/config.php
|
||||
webapp_src_install
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/wordpress-3.3_beta1.ebuild,v 1.1 2011/10/11 06:08:45 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit webapp depend.php
|
||||
|
||||
DESCRIPTION="Wordpress php and mysql based CMS system"
|
||||
HOMEPAGE="http://wordpress.org/"
|
||||
SRC_URI="http://wordpress.org/${P/_/-}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="|| ( dev-lang/php[mysql] dev-lang/php[mysqli] )
|
||||
|| ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 )"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
need_httpd_cgi
|
||||
need_php_httpd
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
dohtml readme.html
|
||||
rm -f readme.html license.txt
|
||||
|
||||
[ -f wp-config.php ] || cp wp-config-sample.php wp-config.php
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r .
|
||||
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/index.php
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/wp-admin/menu.php
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR}"/wp-config.php
|
||||
|
||||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
|
||||
webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt
|
||||
|
||||
webapp_src_install
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/wordpress-3.3_beta2.ebuild,v 1.1 2011/10/21 05:27:04 radhermit Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/wordpress-3.3_beta3.ebuild,v 1.1 2011/11/11 04:52:58 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
@ -0,0 +1,359 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-client/firefox/firefox-8.0.ebuild,v 1.1 2011/11/11 01:36:32 anarchy Exp $
|
||||
|
||||
EAPI="3"
|
||||
VIRTUALX_REQUIRED="pgo"
|
||||
WANT_AUTOCONF="2.1"
|
||||
|
||||
inherit flag-o-matic toolchain-funcs eutils gnome2-utils mozconfig-3 multilib pax-utils fdo-mime autotools mozextension versionator python virtualx
|
||||
|
||||
MAJ_FF_PV="$(get_version_component_range 1-2)" # 3.5, 3.6, 4.0, etc.
|
||||
FF_PV="${PV/_alpha/a}" # Handle alpha for SRC_URI
|
||||
FF_PV="${FF_PV/_beta/b}" # Handle beta for SRC_URI
|
||||
FF_PV="${FF_PV/_rc/rc}" # Handle rc for SRC_URI
|
||||
CHANGESET="e56ecd8b3a68"
|
||||
PATCH="${PN}-8.0-patches-0.2"
|
||||
|
||||
DESCRIPTION="Firefox Web Browser"
|
||||
HOMEPAGE="http://www.mozilla.com/firefox"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
SLOT="0"
|
||||
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
|
||||
IUSE="bindist +crashreporter +ipc pgo system-sqlite +webm"
|
||||
|
||||
FTP_URI="ftp://ftp.mozilla.org/pub/firefox/releases/"
|
||||
# More URIs appended below...
|
||||
SRC_URI="http://dev.gentoo.org/~anarchy/mozilla/patchsets/${PATCH}.tar.xz"
|
||||
|
||||
ASM_DEPEND=">=dev-lang/yasm-1.1"
|
||||
|
||||
# Mesa 7.10 needed for WebGL + bugfixes
|
||||
RDEPEND="
|
||||
>=sys-devel/binutils-2.16.1
|
||||
>=dev-libs/nss-3.12.10
|
||||
>=dev-libs/nspr-4.8.8
|
||||
>=dev-libs/glib-2.26:2
|
||||
>=media-libs/mesa-7.10
|
||||
media-libs/libpng[apng]
|
||||
virtual/libffi
|
||||
system-sqlite? ( >=dev-db/sqlite-3.7.4[fts3,secure-delete,unlock-notify,debug=] )
|
||||
webm? ( media-libs/libvpx
|
||||
media-libs/alsa-lib )
|
||||
crashreporter? ( net-misc/curl )"
|
||||
# We don't use PYTHON_DEPEND/PYTHON_USE_WITH for some silly reason
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
pgo? (
|
||||
=dev-lang/python-2*[sqlite]
|
||||
>=sys-devel/gcc-4.5 )
|
||||
webm? ( x86? ( ${ASM_DEPEND} )
|
||||
amd64? ( ${ASM_DEPEND} ) )"
|
||||
|
||||
# No source releases for alpha|beta
|
||||
if [[ ${PV} =~ alpha ]]; then
|
||||
SRC_URI="${SRC_URI}
|
||||
http://dev.gentoo.org/~anarchy/mozilla/firefox/firefox-${FF_PV}_${CHANGESET}.source.tar.bz2"
|
||||
S="${WORKDIR}/mozilla-central"
|
||||
elif [[ ${PV} =~ beta ]]; then
|
||||
SRC_URI="${SRC_URI}
|
||||
${FTP_URI}/${FF_PV}/source/firefox-${FF_PV}.source.tar.bz2"
|
||||
S="${WORKDIR}/mozilla-beta"
|
||||
else
|
||||
SRC_URI="${SRC_URI}
|
||||
${FTP_URI}/${FF_PV}/source/firefox-${FF_PV}.source.tar.bz2"
|
||||
S="${WORKDIR}/mozilla-release"
|
||||
fi
|
||||
|
||||
# No language packs for alphas
|
||||
if ! [[ ${PV} =~ alpha|beta ]]; then
|
||||
# This list can be updated with scripts/get_langs.sh from mozilla overlay
|
||||
LANGS=(af ak ar ast be bg bn-BD bn-IN br bs ca cs cy da de el en en-GB en-US
|
||||
en-ZA eo es-AR es-CL es-ES es-MX et eu fa fi fr fy-NL ga-IE gd gl gu-IN he
|
||||
hi-IN hr hu hy-AM id is it ja kk kn ko ku lg lt lv mai mk ml mr nb-NO nl
|
||||
nn-NO nso or pa-IN pl pt-BR pt-PT rm ro ru si sk sl son sq sr sv-SE ta ta-LK
|
||||
te th tr uk vi zh-CN zh-TW zu)
|
||||
|
||||
for X in "${LANGS[@]}" ; do
|
||||
# en and en_US are handled internally
|
||||
if [[ ${X} != en ]] && [[ ${X} != en-US ]]; then
|
||||
SRC_URI="${SRC_URI}
|
||||
linguas_${X/-/_}? ( ${FTP_URI}/${FF_PV}/linux-i686/xpi/${X}.xpi -> ${P}-${X}.xpi )"
|
||||
fi
|
||||
IUSE="${IUSE} linguas_${X/-/_}"
|
||||
# Install all the specific locale xpis if there's no generic locale xpi
|
||||
# Example: there's no pt.xpi, so install all pt-*.xpi
|
||||
if ! has ${X%%-*} "${LANGS[@]}"; then
|
||||
SRC_URI="${SRC_URI}
|
||||
linguas_${X%%-*}? ( ${FTP_URI}/${FF_PV}/linux-i686/xpi/${X}.xpi -> ${P}-${X}.xpi )"
|
||||
IUSE="${IUSE} linguas_${X%%-*}"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
QA_PRESTRIPPED="usr/$(get_libdir)/${PN}/firefox"
|
||||
|
||||
# TODO: Move all the linguas crap to an eclass
|
||||
linguas() {
|
||||
# Generate the list of language packs called "linguas"
|
||||
# This list is used to install the xpi language packs
|
||||
local LINGUA
|
||||
for LINGUA in ${LINGUAS}; do
|
||||
if has ${LINGUA} en en_US; then
|
||||
# For mozilla products, en and en_US are handled internally
|
||||
continue
|
||||
# If this language is supported by ${P},
|
||||
elif has ${LINGUA} "${LANGS[@]//-/_}"; then
|
||||
# Add the language to linguas, if it isn't already there
|
||||
has ${LINGUA//_/-} "${linguas[@]}" || linguas+=(${LINGUA//_/-})
|
||||
continue
|
||||
# For each short LINGUA that isn't in LANGS,
|
||||
# add *all* long LANGS to the linguas list
|
||||
elif ! has ${LINGUA%%-*} "${LANGS[@]}"; then
|
||||
for LANG in "${LANGS[@]}"; do
|
||||
if [[ ${LANG} == ${LINGUA}-* ]]; then
|
||||
has ${LANG} "${linguas[@]}" || linguas+=(${LANG})
|
||||
continue 2
|
||||
fi
|
||||
done
|
||||
fi
|
||||
ewarn "Sorry, but ${P} does not support the ${LINGUA} locale"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
moz_pkgsetup
|
||||
|
||||
# Avoid PGO profiling problems due to enviroment leakage
|
||||
# These should *always* be cleaned up anyway
|
||||
unset DBUS_SESSION_BUS_ADDRESS \
|
||||
DISPLAY \
|
||||
ORBIT_SOCKETDIR \
|
||||
SESSION_MANAGER \
|
||||
XDG_SESSION_COOKIE \
|
||||
XAUTHORITY
|
||||
|
||||
if ! use bindist; then
|
||||
einfo
|
||||
elog "You are enabling official branding. You may not redistribute this build"
|
||||
elog "to any users on your network or the internet. Doing so puts yourself into"
|
||||
elog "a legal problem with Mozilla Foundation"
|
||||
elog "You can disable it by emerging ${PN} _with_ the bindist USE-flag"
|
||||
fi
|
||||
|
||||
if use pgo; then
|
||||
einfo
|
||||
ewarn "You will do a double build for profile guided optimization."
|
||||
ewarn "This will result in your build taking at least twice as long as before."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
linguas
|
||||
for X in "${linguas[@]}"; do
|
||||
# FIXME: Add support for unpacking xpis to portage
|
||||
xpi_unpack "${P}-${X}.xpi"
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Apply our patches
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}/firefox"
|
||||
|
||||
# Allow user to apply any additional patches without modifing ebuild
|
||||
epatch_user
|
||||
|
||||
# Enable gnomebreakpad
|
||||
if use debug ; then
|
||||
sed -i -e "s:GNOME_DISABLE_CRASH_DIALOG=1:GNOME_DISABLE_CRASH_DIALOG=0:g" \
|
||||
"${S}"/build/unix/run-mozilla.sh || die "sed failed!"
|
||||
fi
|
||||
|
||||
# Disable gnomevfs extension
|
||||
sed -i -e "s:gnomevfs::" "${S}/"browser/confvars.sh \
|
||||
-e "s:gnomevfs::" "${S}/"xulrunner/confvars.sh \
|
||||
|| die "Failed to remove gnomevfs extension"
|
||||
|
||||
# Ensure that are plugins dir is enabled as default
|
||||
sed -i -e "s:/usr/lib/mozilla/plugins:/usr/$(get_libdir)/nsbrowser/plugins:" \
|
||||
"${S}"/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path!"
|
||||
|
||||
# Fix sandbox violations during make clean, bug 372817
|
||||
sed -e "s:\(/no-such-file\):${T}\1:g" \
|
||||
-i "${S}"/config/rules.mk \
|
||||
-i "${S}"/js/src/config/rules.mk \
|
||||
-i "${S}"/nsprpub/configure{.in,} \
|
||||
|| die
|
||||
|
||||
#Fix compilation with curl-7.21.7 bug 376027
|
||||
sed -e '/#include <curl\/types.h>/d' \
|
||||
-i "${S}"/toolkit/crashreporter/google-breakpad/src/common/linux/http_upload.cc \
|
||||
-i "${S}"/toolkit/crashreporter/google-breakpad/src/common/linux/libcurl_wrapper.cc \
|
||||
-i "${S}"/config/system-headers \
|
||||
-i "${S}"/js/src/config/system-headers || die "Sed failed"
|
||||
|
||||
eautoreconf
|
||||
|
||||
cd js/src
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
|
||||
MEXTENSIONS="default"
|
||||
|
||||
####################################
|
||||
#
|
||||
# mozconfig, CFLAGS and CXXFLAGS setup
|
||||
#
|
||||
####################################
|
||||
|
||||
mozconfig_init
|
||||
mozconfig_config
|
||||
|
||||
# It doesn't compile on alpha without this LDFLAGS
|
||||
use alpha && append-ldflags "-Wl,--no-relax"
|
||||
|
||||
mozconfig_annotate '' --prefix="${EPREFIX}"/usr
|
||||
mozconfig_annotate '' --libdir="${EPREFIX}"/usr/$(get_libdir)
|
||||
mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
|
||||
mozconfig_annotate '' --disable-gconf
|
||||
mozconfig_annotate '' --disable-mailnews
|
||||
mozconfig_annotate '' --enable-canvas
|
||||
mozconfig_annotate '' --enable-safe-browsing
|
||||
mozconfig_annotate '' --with-system-png
|
||||
mozconfig_annotate '' --enable-system-ffi
|
||||
|
||||
# Other ff-specific settings
|
||||
mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
|
||||
mozconfig_annotate '' --target="${CTARGET:-${CHOST}}"
|
||||
|
||||
mozconfig_use_enable system-sqlite
|
||||
|
||||
# Allow for a proper pgo build
|
||||
if use pgo; then
|
||||
echo "mk_add_options PROFILE_GEN_SCRIPT='\$(PYTHON) \$(OBJDIR)/_profile/pgo/profileserver.py'" >> "${S}"/.mozconfig
|
||||
fi
|
||||
|
||||
# Finalize and report settings
|
||||
mozconfig_final
|
||||
|
||||
if [[ $(gcc-major-version) -lt 4 ]]; then
|
||||
append-cxxflags -fno-stack-protector
|
||||
elif [[ $(gcc-major-version) -gt 4 || $(gcc-minor-version) -gt 3 ]]; then
|
||||
if use amd64 || use x86; then
|
||||
append-flags -mno-avx
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use pgo; then
|
||||
addpredict /root
|
||||
addpredict /etc/gconf
|
||||
# Firefox tries to dri stuff when it's run, see bug 380283
|
||||
shopt -s nullglob
|
||||
local cards=$(echo -n /dev/{dri,ati}/card* /dev/nvidiactl* | sed 's/ /:/g')
|
||||
shopt -u nullglob
|
||||
test -n "${cards}" && addpredict "${cards}"
|
||||
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
|
||||
MOZ_MAKE_FLAGS="${MAKEOPTS}" \
|
||||
Xemake -f client.mk profiledbuild || die "Xemake failed"
|
||||
else
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
|
||||
MOZ_MAKE_FLAGS="${MAKEOPTS}" \
|
||||
emake -f client.mk || die "emake failed"
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
|
||||
|
||||
# MOZ_BUILD_ROOT, and hence OBJ_DIR change depending on arch, compiler, pgo, etc.
|
||||
local obj_dir="$(echo */config.log)"
|
||||
obj_dir="${obj_dir%/*}"
|
||||
cd "${S}/${obj_dir}"
|
||||
|
||||
# Pax mark xpcshell for hardened support, only used for startupcache creation.
|
||||
pax-mark m "${S}/${obj_dir}"/dist/bin/xpcshell
|
||||
|
||||
# Add our default prefs for firefox + xulrunner
|
||||
cp "${FILESDIR}"/gentoo-default-prefs.js \
|
||||
"${S}/${obj_dir}/dist/bin/defaults/pref/all-gentoo.js" || die
|
||||
|
||||
MOZ_MAKE_FLAGS="${MAKEOPTS}" \
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
linguas
|
||||
for X in "${linguas[@]}"; do
|
||||
xpi_install "${WORKDIR}/${P}-${X}"
|
||||
done
|
||||
|
||||
local size sizes icon_path icon name
|
||||
if use bindist; then
|
||||
sizes="16 32 48"
|
||||
icon_path="${S}/browser/branding/unofficial"
|
||||
# Firefox's new rapid release cycle means no more codenames
|
||||
# Let's just stick with this one...
|
||||
icon="tumucumaque"
|
||||
name="Tumucumaque"
|
||||
else
|
||||
sizes="16 22 24 32 256"
|
||||
icon_path="${S}/browser/branding/official"
|
||||
icon="${PN}"
|
||||
name="Mozilla Firefox"
|
||||
fi
|
||||
|
||||
# Install icons and .desktop for menu entry
|
||||
for size in ${sizes}; do
|
||||
insinto "/usr/share/icons/hicolor/${size}x${size}/apps"
|
||||
newins "${icon_path}/default${size}.png" "${icon}.png" || die
|
||||
done
|
||||
# The 128x128 icon has a different name
|
||||
insinto "/usr/share/icons/hicolor/128x128/apps"
|
||||
newins "${icon_path}/mozicon128.png" "${icon}.png" || die
|
||||
# Install a 48x48 icon into /usr/share/pixmaps for legacy DEs
|
||||
newicon "${icon_path}/content/icon48.png" "${icon}.png" || die
|
||||
newmenu "${FILESDIR}/icon/${PN}.desktop" "${PN}.desktop" || die
|
||||
sed -i -e "s:@NAME@:${name}:" -e "s:@ICON@:${icon}:" \
|
||||
"${ED}/usr/share/applications/${PN}.desktop" || die
|
||||
|
||||
# Add StartupNotify=true bug 237317
|
||||
if use startup-notification ; then
|
||||
echo "StartupNotify=true" >> "${ED}/usr/share/applications/${PN}.desktop"
|
||||
fi
|
||||
|
||||
# Required in order to use plugins and even run firefox on hardened.
|
||||
pax-mark m "${ED}"/${MOZILLA_FIVE_HOME}/{firefox,firefox-bin,plugin-container}
|
||||
|
||||
# Plugins dir
|
||||
dosym ../nsbrowser/plugins "${MOZILLA_FIVE_HOME}"/plugins \
|
||||
|| die "failed to symlink"
|
||||
|
||||
# very ugly hack to make firefox not sigbus on sparc
|
||||
# FIXME: is this still needed??
|
||||
use sparc && { sed -e 's/Firefox/FirefoxGentoo/g' \
|
||||
-i "${ED}/${MOZILLA_FIVE_HOME}/application.ini" || \
|
||||
die "sparc sed failed"; }
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update mimedb for the new .desktop file
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
Loading…
Reference in new issue