tbb original

This commit is contained in:
Sandino Araico Sanchez 2014-10-28 16:51:19 -06:00
parent dee55cd736
commit 5fdd877fc1
12 changed files with 576 additions and 1180 deletions

View file

@ -0,0 +1,124 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tbb/tbb-4.1.20121003-r1.ebuild,v 1.2 2014/06/08 08:14:26 jlec Exp $
EAPI=4
inherit eutils flag-o-matic multilib versionator toolchain-funcs
PV1="$(get_version_component_range 1)"
PV2="$(get_version_component_range 2)"
PV3="$(get_version_component_range 3)"
MYP="${PN}${PV1}${PV2}_${PV3}oss"
DESCRIPTION="High level abstract threading library"
HOMEPAGE="http://www.threadingbuildingblocks.org/"
SRC_URI="http://threadingbuildingblocks.org/sites/default/files/software_releases/source/${MYP}_src.tgz"
LICENSE="GPL-2-with-exceptions"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
IUSE="debug doc examples"
DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MYP}"
src_prepare() {
epatch \
"${FILESDIR}"/${PN}-4.0.297-underlinking.patch \
"${FILESDIR}"/${PN}-4.1.20121003-ppc.patch
# use fully qualified gcc compilers. do not force march/mcpu
# not tested with icc
# order in sed expressions is important
sed -i \
-e "s/g++/$(tc-getCXX)/g" \
-e "s/gcc/$(tc-getCC)/g" \
-e 's/-m\(arch\|cpu\)=*[[:space:]]//g' \
-e 's/-\(m\|-\)\(64\|32\)//g' \
-e 's/-O2/$(CXXFLAGS)/g' \
-e "/^ASM/s/as/$(tc-getAS)/g" \
build/*.gcc.inc || die
# force 64bit where applicable, 32bit where applicable...
# built-in detection is based on running kernel, which messes up
# e.g. in a x86 chroot on amd64 kernel. Bug 462130
# see build/linux.inc for values
use amd64 && export arch=x86_64
use amd64-linux && export arch=x86_64
use x86 && export arch=ia32
use x86-linux && export arch=ia32
# no idea what to do with ppc but so far it seems to work
find include -name \*.html -delete || die
# pc files are for debian and fedora compatibility
# some deps use them
cat <<-EOF > ${PN}.pc.template
prefix=${EPREFIX}/usr
libdir=\${prefix}/$(get_libdir)
includedir=\${prefix}/include
Name: ${PN}
Description: ${DESCRIPTION}
Version: ${PV}
URL: ${HOMEPAGE}
Cflags: -I\${includedir}
EOF
cp ${PN}.pc.template ${PN}.pc
cat <<-EOF >> ${PN}.pc
Libs: -L\${libdir} -ltbb
Libs.private: -lm -lrt
EOF
cp ${PN}.pc.template ${PN}malloc.pc
cat <<-EOF >> ${PN}malloc.pc
Libs: -L\${libdir} -ltbbmalloc
Libs.private: -lm -lrt
EOF
cp ${PN}.pc.template ${PN}malloc_proxy.pc
cat <<-EOF >> ${PN}malloc_proxy.pc
Libs: -L\${libdir} -ltbbmalloc_proxy
Libs.private: -lrt
Requires: tbbmalloc
EOF
use debug || sed -i -e '/_debug/d' Makefile
}
src_compile() {
if [[ $(tc-getCXX) == *g++* ]]; then
comp="gcc"
elif [[ $(tc-getCXX) == *ic*c ]]; then
comp="icc"
else
die "compiler $(tc-getCXX) not supported by build system"
fi
emake compiler=${comp} tbb tbbmalloc
}
src_test() {
append-cxxflags -fabi-version=4
# avoid oversubscribing with -j1
emake -j1 compiler=${comp} test
}
src_install(){
local l
for l in $(find build -name lib\*.so.\*); do
dolib.so ${l}
local bl=$(basename ${l})
dosym ${bl} /usr/$(get_libdir)/${bl%.*}
done
insinto /usr
doins -r include
insinto /usr/$(get_libdir)/pkgconfig
doins *.pc
dodoc README CHANGES doc/Release_Notes.txt
use doc && dohtml -r doc/html/*
if use examples ; then
insinto /usr/share/doc/${PF}/examples/build
doins build/*.inc
insinto /usr/share/doc/${PF}/examples
doins -r examples
fi
}

View file

@ -0,0 +1,452 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.1.4.ebuild,v 1.6 2014/03/26 18:38:20 tomwij Exp $
EAPI="5"
SCM=""
if [ "${PV%9999}" != "${PV}" ] ; then
SCM="git-r3"
if [ "${PV%.9999}" != "${PV}" ] ; then
EGIT_REPO_URI="git://git.videolan.org/vlc/vlc-${PV%.9999}.git"
else
EGIT_REPO_URI="git://git.videolan.org/vlc.git"
fi
fi
inherit eutils multilib autotools toolchain-funcs flag-o-matic virtualx ${SCM}
MY_PV="${PV/_/-}"
MY_PV="${MY_PV/-beta/-test}"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="VLC media player - Video player and streamer"
HOMEPAGE="http://www.videolan.org/vlc/"
if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
SRC_URI=""
elif [[ "${MY_P}" == "${P}" ]]; then
SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.xz"
else
SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.xz"
fi
LICENSE="LGPL-2.1 GPL-2"
SLOT="0/5-7" # vlc - vlccore
if [ "${PV%9999}" = "${PV}" ] ; then
KEYWORDS="~amd64 ~arm ~ppc -sparc ~x86 ~x86-fbsd"
else
KEYWORDS=""
fi
IUSE="a52 aalib alsa altivec atmo +audioqueue avahi +avcodec
+avformat bidi bluray cdda cddb chromaprint dbus dc1394 debug dirac
directfb directx dts dvb +dvbpsi dvd dxva2 elibc_glibc egl +encode faad fdk
fluidsynth +ffmpeg flac fontconfig +gcrypt gme gnome gnutls
growl httpd ieee1394 ios-vout jack kate kde libass libcaca libnotify
libsamplerate libtiger linsys libtar lirc live lua +macosx
+macosx-audio +macosx-dialog-provider +macosx-eyetv +macosx-quartztext
+macosx-qtkit +macosx-vout matroska media-library mmx modplug mp3 mpeg
mtp musepack ncurses neon ogg omxil opencv opengl optimisememory opus
png +postproc projectm pulseaudio +qt4 qt5 rdp rtsp run-as-root samba
schroedinger sdl sdl-image sftp shout sid skins speex sse svg +swscale
taglib theora tremor truetype twolame udev upnp vaapi v4l vcdx vdpau
vlm vnc vorbis wma-fixed +X x264 +xcb xml xv zvbi"
RDEPEND="
!<media-video/ffmpeg-1.2:0
dev-libs/libgpg-error:0
net-dns/libidn:0
>=sys-libs/zlib-1.2.5.1-r2:0[minizip]
virtual/libintl:0
a52? ( >=media-libs/a52dec-0.7.4-r3:0 )
aalib? ( media-libs/aalib:0 )
alsa? ( >=media-libs/alsa-lib-1.0.24:0 )
avahi? ( >=net-dns/avahi-0.6:0[dbus] )
avcodec? ( virtual/ffmpeg:0 )
avformat? ( virtual/ffmpeg:0 )
bidi? ( >=dev-libs/fribidi-0.10.4:0 )
bluray? ( >=media-libs/libbluray-0.2.1:0 )
cddb? ( >=media-libs/libcddb-1.2.0:0 )
chromaprint? ( >=media-libs/chromaprint-0.6:0 )
dbus? ( >=sys-apps/dbus-1.0.2:0 )
dc1394? ( >=sys-libs/libraw1394-2.0.1:0 >=media-libs/libdc1394-2.1.0:2 )
dirac? ( >=media-video/dirac-0.10.0:0 )
directfb? ( dev-libs/DirectFB:0 sys-libs/zlib:0 )
dts? ( media-libs/libdca:0 )
dvbpsi? ( >=media-libs/libdvbpsi-0.2.1:0 )
dvd? ( media-libs/libdvdread:0 >=media-libs/libdvdnav-0.1.9:0 )
egl? ( virtual/opengl:0 )
elibc_glibc? ( >=sys-libs/glibc-2.8:2.2 )
faad? ( >=media-libs/faad2-2.6.1:0 )
fdk? ( media-libs/fdk-aac:0 )
flac? ( media-libs/libogg:0 >=media-libs/flac-1.1.2:0 )
fluidsynth? ( >=media-sound/fluidsynth-1.1.2:0 )
fontconfig? ( media-libs/fontconfig:1.0 )
gcrypt? ( >=dev-libs/libgcrypt-1.2.0:0 )
gme? ( media-libs/game-music-emu:0 )
gnome? ( gnome-base/gnome-vfs:2 dev-libs/glib:2 )
gnutls? ( >=net-libs/gnutls-3.0.20:0 )
ieee1394? ( >=sys-libs/libraw1394-2.0.1:0 >=sys-libs/libavc1394-0.5.3:0 )
ios-vout? ( virtual/opengl:0 )
jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1:0 )
kate? ( >=media-libs/libkate-0.3.0:0 )
libass? ( >=media-libs/libass-0.9.8:0 media-libs/fontconfig:1.0 )
libcaca? ( >=media-libs/libcaca-0.99_beta14:0 )
libnotify? ( x11-libs/libnotify:0 x11-libs/gtk+:2 x11-libs/gdk-pixbuf:2 dev-libs/glib:2 )
libsamplerate? ( media-libs/libsamplerate:0 )
libtar? ( >=dev-libs/libtar-1.2.11-r3:0 )
libtiger? ( >=media-libs/libtiger-0.3.1:0 )
linsys? ( >=media-libs/zvbi-0.2.28:0 )
lirc? ( app-misc/lirc:0 )
live? ( >=media-plugins/live-2011.12.23:0 )
lua? ( >=dev-lang/lua-5.1:0 )
macosx-vout? ( virtual/opengl:0 )
matroska? ( >=dev-libs/libebml-1.0.0:0= >=media-libs/libmatroska-1.0.0:0= )
modplug? ( >=media-libs/libmodplug-0.8.8.1:0 )
mp3? ( media-libs/libmad:0 )
mpeg? ( >=media-libs/libmpeg2-0.3.2:0 )
mtp? ( >=media-libs/libmtp-1.0.0:0 )
musepack? ( >=media-sound/musepack-tools-444:0 )
ncurses? ( sys-libs/ncurses:5[unicode] )
ogg? ( media-libs/libogg:0 )
opencv? ( >media-libs/opencv-2.0:0 )
opengl? ( virtual/opengl:0 >=x11-libs/libX11-1.3.99.901:0 )
opus? ( >=media-libs/opus-1.0.3:0 )
png? ( media-libs/libpng:0= sys-libs/zlib:0 )
postproc? ( || ( >=media-video/ffmpeg-1.2:0= media-libs/libpostproc:0 ) )
projectm? ( media-libs/libprojectm:0 media-fonts/dejavu:0 )
pulseaudio? ( >=media-sound/pulseaudio-0.9.22:0 )
qt4? ( >=dev-qt/qtgui-4.6.0:4 >=dev-qt/qtcore-4.6.0:4 )
qt5? ( >=dev-qt/qtgui-5.1.0:5 >=dev-qt/qtcore-5.1.0:5 dev-qt/qtwidgets:5 )
rdp? ( net-misc/freerdp:0= )
samba? ( || ( >=net-fs/samba-3.4.6:0[smbclient] >=net-fs/samba-4.0.0:0[client] ) )
schroedinger? ( >=media-libs/schroedinger-1.0.10:0 )
sdl? ( >=media-libs/libsdl-1.2.10:0
sdl-image? ( >=media-libs/sdl-image-1.2.10:0 sys-libs/zlib:0 ) )
sftp? ( net-libs/libssh2:0 )
shout? ( media-libs/libshout:0 )
sid? ( media-libs/libsidplay:2 )
skins? ( x11-libs/libXext:0 x11-libs/libXpm:0 x11-libs/libXinerama:0 )
speex? ( media-libs/speex:0 )
svg? ( >=gnome-base/librsvg-2.9.0:2 )
swscale? ( virtual/ffmpeg:0 )
taglib? ( >=media-libs/taglib-1.6.1:0 sys-libs/zlib:0 )
theora? ( >=media-libs/libtheora-1.0_beta3:0 )
tremor? ( media-libs/tremor:0 )
truetype? ( media-libs/freetype:2 virtual/ttf-fonts:0
!fontconfig? ( media-fonts/dejavu:0 ) )
twolame? ( media-sound/twolame:0 )
udev? ( >=virtual/udev-142:0 )
upnp? ( net-libs/libupnp:0 )
v4l? ( media-libs/libv4l:0 )
vaapi? ( x11-libs/libva:0 virtual/ffmpeg[vaapi] )
vcdx? ( >=dev-libs/libcdio-0.78.2:0 >=media-video/vcdimager-0.7.22:0 )
vdpau? ( >=x11-libs/libvdpau-0.6:0 !<media-video/libav-10_beta1 )
vnc? ( >=net-libs/libvncserver-0.9.9:0 )
vorbis? ( media-libs/libvorbis:0 )
X? ( x11-libs/libX11:0 )
x264? ( >=media-libs/x264-0.0.20090923:0= )
xcb? ( >=x11-libs/libxcb-1.6:0 >=x11-libs/xcb-util-0.3.4:0 >=x11-libs/xcb-util-keysyms-0.3.4:0 )
xml? ( dev-libs/libxml2:2 )
zvbi? ( >=media-libs/zvbi-0.2.25:0 )
"
DEPEND="${RDEPEND}
kde? ( >=kde-base/kdelibs-4:4 )
xcb? ( x11-proto/xproto:0 )
app-arch/xz-utils:0
>=sys-devel/gettext-0.18.3:*
virtual/pkgconfig:*
"
REQUIRED_USE="
aalib? ( X )
bidi? ( truetype )
cddb? ( cdda )
dvb? ( dvbpsi )
dxva2? ( avcodec )
egl? ( X )
ffmpeg? ( avcodec avformat swscale postproc )
fontconfig? ( truetype )
gnutls? ( gcrypt )
httpd? ( lua )
libcaca? ( X )
libtar? ( skins )
libtiger? ( kate )
qt4? ( X !qt5 )
qt5? ( X !qt4 )
sdl? ( X )
skins? ( truetype X ^^ ( qt4 qt5 ) )
vaapi? ( avcodec X )
vlm? ( encode )
xv? ( xcb )
"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
if [[ "$(tc-getCC)" == *"gcc"* ]] ; then
if [[ $(gcc-major-version) < 4 || ( $(gcc-major-version) == 4 && $(gcc-minor-version) < 5 ) ]] ; then
die "You need to have at least >=sys-devel/gcc-4.5 to build and/or have a working vlc, see bug #426754."
fi
fi
}
src_unpack() {
if [ "${PV%9999}" != "${PV}" ] ; then
git-r3_src_unpack
else
unpack ${A}
fi
}
src_prepare() {
# Support for Qt5.
if use qt5 ; then
export UIC="/usr/lib64/qt5/bin/uic"
export MOC="/usr/lib64/qt5/bin/moc"
fi
# Remove unnecessary warnings about unimplemented pragmas on gcc for now.
# Need to recheck this with gcc 4.9 and every subsequent minor bump of gcc.
#
# config.h:792: warning: ignoring #pragma STDC FENV_ACCESS [-Wunknown-pragmas]
# config.h:793: warning: ignoring #pragma STDC FP_CONTRACT [-Wunknown-pragmas]
#
# http://gcc.gnu.org/c99status.html
if [[ "$(tc-getCC)" == *"gcc"* ]] ; then
sed -i 's/ifndef __FAST_MATH__/if 0/g' configure.ac || die
fi
# _FORTIFY_SOURCE is set to 2 by default on Gentoo, remove redefine warnings.
sed -i '/_FORTIFY_SOURCE.*, 2,/d' configure.ac || die
# Bootstrap when we are on a git checkout.
if [[ "${PV%9999}" != "${PV}" ]] ; then
./bootstrap
fi
# Make it build with libtool 1.5
rm -f m4/lt* m4/libtool.m4 || die
# We are not in a real git checkout due to the absence of a .git directory.
touch src/revision.txt || die
# Patch up incompatibilities and reconfigure autotools.
epatch "${FILESDIR}"/${PN}-2.1.0-newer-rdp.patch
epatch "${FILESDIR}"/${PN}-2.1.0-libva-1.2.1-compat.patch
# Fix up broken audio when skipping using a fixed reversed bisected commit.
epatch "${FILESDIR}"/${PN}-2.1.0-TomWij-bisected-PA-broken-underflow.patch
# Disable avcodec checks when avcodec is not used.
sed -i 's/^#if LIBAVCODEC_VERSION_CHECK(.*)$/#if 0/' modules/codec/avcodec/fourcc.c || die
# Don't use --started-from-file when not using dbus.
if ! use dbus ; then
sed -i 's/ --started-from-file//' share/vlc.desktop.in || die
fi
eautoreconf
# Disable automatic running of tests.
find . -name 'Makefile.in' -exec sed -i 's/\(..*\)check-TESTS/\1/' {} \; || die
}
src_configure() {
# Compatibility fix for Samba 4.
use samba && append-cppflags "-I/usr/include/samba-4.0"
# Needs libresid-builder from libsidplay:2 which is in another directory...
# FIXME!
append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/"
if use truetype || use projectm ; then
local dejavu="/usr/share/fonts/dejavu/"
myconf="--with-default-font=${dejavu}/DejaVuSans.ttf \
--with-default-font-family=Sans \
--with-default-monospace-font=${dejavu}/DejaVuSansMono.ttf
--with-default-monospace-font-family=Monospace"
fi
local qt_flag=""
if use qt4 || use qt5 ; then
qt_flag="--enable-qt"
fi
econf \
${myconf} \
--enable-vlc \
--docdir=/usr/share/doc/${PF} \
--disable-dependency-tracking \
--disable-optimizations \
--disable-update-check \
--enable-fast-install \
--enable-screen \
$(use_enable a52) \
$(use_enable aalib aa) \
$(use_enable alsa) \
$(use_enable altivec) \
$(use_enable atmo) \
$(use_enable audioqueue) \
$(use_enable avahi bonjour) \
$(use_enable avcodec) \
$(use_enable avformat) \
$(use_enable bidi fribidi) \
$(use_enable bluray) \
$(use_enable cdda vcd) \
$(use_enable cddb libcddb) \
$(use_enable chromaprint) \
$(use_enable dbus) \
$(use_enable dirac) \
$(use_enable directfb) \
$(use_enable directx) \
$(use_enable dc1394) \
$(use_enable debug) \
$(use_enable dts dca) \
$(use_enable dvbpsi) \
$(use_enable dvd dvdread) $(use_enable dvd dvdnav) \
$(use_enable dxva2) \
$(use_enable egl) \
$(use_enable encode sout) \
$(use_enable faad) \
$(use_enable fdk fdkaac) \
$(use_enable flac) \
$(use_enable fluidsynth) \
$(use_enable fontconfig) \
$(use_enable gcrypt libgcrypt) \
$(use_enable gme) \
$(use_enable gnome gnomevfs) \
$(use_enable gnutls) \
$(use_enable growl) \
$(use_enable httpd) \
$(use_enable ieee1394 dv1394) \
$(use_enable ios-vout) \
$(use_enable ios-vout ios-vout2) \
$(use_enable jack) \
$(use_enable kate) \
$(use_with kde kde-solid) \
$(use_enable libass) \
$(use_enable libcaca caca) \
$(use_enable libnotify notify) \
$(use_enable libsamplerate samplerate) \
$(use_enable libtar) \
$(use_enable libtiger tiger) \
$(use_enable linsys) \
$(use_enable lirc) \
$(use_enable live live555) \
$(use_enable lua) \
$(use_enable macosx-audio) \
$(use_enable macosx-dialog-provider) \
$(use_enable macosx-eyetv) \
$(use_enable macosx-qtkit) \
$(use_enable macosx-quartztext) \
$(use_enable macosx-vout) \
$(use_enable matroska mkv) \
$(use_enable mmx) \
$(use_enable modplug mod) \
$(use_enable mp3 mad) \
$(use_enable mpeg libmpeg2) \
$(use_enable mtp) \
$(use_enable musepack mpc) \
$(use_enable ncurses) \
$(use_enable neon) \
$(use_enable ogg) $(use_enable ogg mux_ogg) \
$(use_enable omxil) \
$(use_enable omxil omxil-vout) \
$(use_enable opencv) \
$(use_enable opengl glx) \
$(use_enable opus) \
$(use_enable optimisememory optimize-memory) \
$(use_enable png) \
$(use_enable postproc) \
$(use_enable projectm) \
$(use_enable pulseaudio pulse) \
${qt_flag} \
$(use_enable rdp libfreerdp) \
$(use_enable rtsp realrtsp) \
$(use_enable run-as-root) \
$(use_enable samba smbclient) \
$(use_enable schroedinger) \
$(use_enable sdl) \
$(use_enable sdl-image) \
$(use_enable sid) \
$(use_enable sftp) \
$(use_enable shout) \
$(use_enable skins skins2) \
$(use_enable speex) \
$(use_enable sse) \
$(use_enable svg) \
$(use_enable swscale) \
$(use_enable taglib) \
$(use_enable theora) \
$(use_enable tremor) \
$(use_enable truetype freetype) \
$(use_enable twolame) \
$(use_enable udev) \
$(use_enable upnp) \
$(use_enable v4l v4l2) \
$(use_enable vaapi libva) \
$(use_enable vcdx) \
$(use_enable vdpau) \
$(use_enable vlm) \
$(use_enable vnc libvnc) \
$(use_enable vorbis) \
$(use_enable wma-fixed) \
$(use_with X x) \
$(use_enable x264) \
$(use_enable xcb) \
$(use_enable xml libxml2) \
$(use_enable xv xvideo) \
$(use_enable zvbi) $(use_enable !zvbi telx) \
--disable-coverage \
--disable-cprof \
--disable-crystalhd \
--disable-decklink \
--disable-gles1 \
--disable-gles2 \
--disable-goom \
--disable-ios-audio \
--disable-kai \
--disable-kva \
--disable-maintainer-mode \
--disable-merge-ffmpeg \
--disable-opensles \
--disable-oss \
--disable-quicksync \
--disable-quicktime \
--disable-rpi-omxil \
--disable-shine \
--disable-sndio \
--disable-vda \
--disable-vsxu \
--disable-wasapi
# ^ We don't have these disabled libraries in the Portage tree yet.
}
src_test() {
Xemake check-TESTS
}
DOCS="AUTHORS THANKS NEWS README doc/fortunes.txt doc/intf-vcd.txt"
src_install() {
default
# Punt useless libtool's .la files
find "${D}" -name '*.la' -delete
}
pkg_postinst() {
if [ "$ROOT" = "/" ] && [ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ] ; then
einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/"
"/usr/$(get_libdir)/vlc/vlc-cache-gen" -f "/usr/$(get_libdir)/vlc/plugins/"
else
ewarn "We cannot run vlc-cache-gen (most likely ROOT!=/)"
ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually"
ewarn "If you do not do it, vlc will take a long time to load."
fi
}

View file

@ -1,12 +0,0 @@
AUX pidgin-2.7.2-ldflags.patch 1593 RMD160 ade438f25d0af927485523e561ce728762645948 SHA1 6ac16bd019ad048109643af5e3525987c994dbb0 SHA256 64d78b48111345b49216e9678c114f321963393b4fd0aa6046de8aec6f03cb44
AUX pidgin-2.7.3-ldflags.patch 1332 RMD160 0dd11485e9c990dab1230629faac704835a91ae4 SHA1 7bbb420a206bf6cb366bf501b90c893e896a1f65 SHA256 1f8574a9c2f056ba8c07559623da8c9ce241928f060898752eef5770dd1d081a
AUX pidgin-2.8.0-finch-icq.patch 602 RMD160 7aa3168c557985ef2f6f4381ff0b60d3bd9c4fd1 SHA1 1d1aaf53ef0a46d486c9746cff22cc0bfa855158 SHA256 15caf0a737fb9d1e6f02dbf567107abe7121bc79f18568c2216539b80dbc7d04
AUX pidgin-2.9.0-conversation.c.patch 523 RMD160 61922053efdaf25e9580dc4199df75b60c0c976d SHA1 e185accd3dde589b93baf53086790f88b2162f61 SHA256 43efe68ca8451c993ed46e9523e5eaf419f099d60c3499ab6e451d322c87d63f
DIST pidgin-2.7.11.tar.bz2 9978175 RMD160 2bee3fe39c02948d10e1fdb6fff2840941148786 SHA1 3da07577c15257108d61c7f2d3f63cd422cdb4d7 SHA256 a24e2c3118bd47983955d398c9cf5543c12e95527cdf7de9d273a6e92f9d160b
DIST pidgin-2.8.0.tar.bz2 9921362 RMD160 92bed10284e2d88e18dbabaa2eac214c938c9adb SHA1 c5b4f06fc88d57054953044c75563a473bb352fd SHA256 71ced93efecd48a1114eaf6370adebf591ace31158457baf023d15892d663c78
DIST pidgin-2.9.0.tar.bz2 9925589 RMD160 c093adadd3362ed7d266dfb07df5b75974605d5a SHA1 632c681030304443a911c9eeca6d582df0a24fbb SHA256 28ee8ece47d94ee1b708a78d613832ea88b56d879a93fa934d532d76ae52cfd7
EBUILD pidgin-2.7.11.ebuild 6456 RMD160 15715f3b26a7c37dc25cfc5e60416dd6304bd124 SHA1 710e0749477148acbc7f2452682ae5ada47bd53e SHA256 206af7d5238126849a7d24d19b7939168653fba33140a7d68e721ec2b7fd4390
EBUILD pidgin-2.8.0-r1.ebuild 6928 RMD160 a89bed5d7cad6c8ce3c46b4a1afe53c6e575dda4 SHA1 4e58ee184da98211123b0ad879223c173d33c17a SHA256 20938caab69c194d16def2b14433b2230e86c2e936224a287e03fe0615cdc799
EBUILD pidgin-2.8.0.ebuild 6841 RMD160 f5fe1389732d9a8bdf96b0cb72d5216bbf2fc79e SHA1 3ebe27f99c76d0745d5727c0dd8c21ff9888e16c SHA256 65f4a2a32f2fc40d61b8983df698dc7555580f03abd6b6134f58889975e92704
EBUILD pidgin-2.9.0-r1.ebuild 6649 RMD160 df2c13a5a025c04d0c5f9b9345af1f09983b4f7d SHA1 9b37e78fbae4da26746c328fac1aac14fa25c723 SHA256 44c7c2ff4d5bf0d9f06f87c99af3976a595c304dc5ac100129ab25bd9c658f13
EBUILD pidgin-2.9.0.ebuild 6570 RMD160 669dc4541549008aa73603c72a7378fac6cb95c7 SHA1 2a64e9e74031739d40086311bd4d0553fd2b7318 SHA256 e013aecba0f442259bdb5e112d168ee0935aa7316811a42b31c71ab19254e2f4

View file

@ -1,25 +0,0 @@
Index: pidgin-2.7.2/libpurple/plugins/perl/common/Makefile.PL.in
===================================================================
--- pidgin-2.7.2.orig/libpurple/plugins/perl/common/Makefile.PL.in
+++ pidgin-2.7.2/libpurple/plugins/perl/common/Makefile.PL.in
@@ -10,6 +10,7 @@ WriteMakefile(
(ABSTRACT_FROM => '@srcdir@/Purple.pm', # finds $ABSTRACT
AUTHOR => 'Purple <http://pidgin.im/>') : ()),
'DEFINE' => '@DEBUG_CFLAGS@',
+ 'dynamic_lib' => { 'OTHERLDFLAGS' => '@LDFLAGS@' },
'INC' => '-I. -I@srcdir@ -I@top_srcdir@ -I@top_srcdir@/libpurple @GLIB_CFLAGS@',
'OBJECT' => '$(O_FILES)', # link all the C files too
# 'OPTIMIZE' => '-g', # For debugging
Index: pidgin-2.7.2/pidgin/plugins/perl/common/Makefile.PL.in
===================================================================
--- pidgin-2.7.2.orig/pidgin/plugins/perl/common/Makefile.PL.in
+++ pidgin-2.7.2/pidgin/plugins/perl/common/Makefile.PL.in
@@ -8,7 +8,7 @@ WriteMakefile(
($] >= 5.005 ? ## Add these new keywords supported since 5.005
('ABSTRACT_FROM' => '@srcdir@/Pidgin.pm', # finds $ABSTRACT
'AUTHOR' => 'Pidgin <http://pidgin.im/>') : ()),
- 'DEFINE' => '@DEBUG_CFLAGS@',
+ 'DEFINE' => '@DEBUG_CFLAGS@ @LDFLAGS@',
'INC' => '-I. -I@srcdir@ -I@top_srcdir@ -I@top_srcdir@/libpurple -I@top_srcdir@/pidgin @GTK_CFLAGS@',
'OBJECT' => '$(O_FILES)', # link all the C files too
'TYPEMAPS' => ["@top_srcdir@/libpurple/plugins/perl/common/typemap"],

View file

@ -1,24 +0,0 @@
http://developer.pidgin.im/ticket/12638
--- libpurple/plugins/perl/common/Makefile.PL.in 2010-08-31 07:25:25 +0000
+++ libpurple/plugins/perl/common/Makefile.PL.in 2010-08-31 07:25:52 +0000
@@ -10,6 +10,7 @@
(ABSTRACT_FROM => '@srcdir@/Purple.pm', # finds $ABSTRACT
AUTHOR => 'Purple <http://pidgin.im/>') : ()),
'DEFINE' => '@DEBUG_CFLAGS@',
+ 'dynamic_lib' => { 'OTHERLDFLAGS' => '@LDFLAGS@' },
'INC' => '-I. -I@srcdir@ -I@top_srcdir@ -I@top_srcdir@/libpurple @GLIB_CFLAGS@',
'OBJECT' => '$(O_FILES)', # link all the C files too
# 'OPTIMIZE' => '-g', # For debugging
--- pidgin/plugins/perl/common/Makefile.PL.in 2010-08-31 07:25:25 +0000
+++ pidgin/plugins/perl/common/Makefile.PL.in 2010-08-31 07:26:10 +0000
@@ -9,6 +9,7 @@
('ABSTRACT_FROM' => '@srcdir@/Pidgin.pm', # finds $ABSTRACT
'AUTHOR' => 'Pidgin <http://pidgin.im/>') : ()),
'DEFINE' => '@DEBUG_CFLAGS@',
+ 'dynamic_lib' => { 'OTHERLDFLAGS' => '@LDFLAGS@' },
'INC' => '-I. -I@srcdir@ -I@top_srcdir@ -I@top_srcdir@/libpurple -I@top_srcdir@/pidgin @GTK_CFLAGS@',
'OBJECT' => '$(O_FILES)', # link all the C files too
'TYPEMAPS' => ["@top_srcdir@/libpurple/plugins/perl/common/typemap"],

View file

@ -1,13 +0,0 @@
--- A/finch/finch.c 2011-01-08 16:19:44.000000000 +0100
+++ A/finch/finch.c 2011-06-17 14:10:21.611309935 +0200
@@ -77,8 +77,8 @@
* can register for your own client key at
* http://developer.aim.com/manageKeys.jsp
*/
- g_hash_table_insert(ui_info, "prpl-aim-clientkey", "ma19sqWV9ymU6UYc");
- g_hash_table_insert(ui_info, "prpl-icq-clientkey", "ma19sqWV9ymU6UYc");
+ g_hash_table_insert(ui_info, "prpl-aim-clientkey", "ma1cSASNCKFtrdv9");
+ g_hash_table_insert(ui_info, "prpl-icq-clientkey", "ma1cSASNCKFtrdv9");
/*
* This is the distid for Finch, given to us by AOL. Please

View file

@ -1,17 +0,0 @@
#
#
# patch "libpurple/conversation.c"
# from [cd6817f4863abafef969359f65cc025f9483b401]
# to [19aac10ceebae1ee28788b6f0c02bcfcff0c8803]
#
============================================================
--- libpurple/conversation.c cd6817f4863abafef969359f65cc025f9483b401
+++ libpurple/conversation.c 19aac10ceebae1ee28788b6f0c02bcfcff0c8803
@@ -1978,7 +1978,6 @@ purple_conv_chat_clear_users(PurpleConvC
}
g_hash_table_remove_all(chat->users);
- chat->users = NULL;
g_list_free(users);
chat->in_room = NULL;

View file

@ -1,213 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/Attic/pidgin-2.7.11.ebuild,v 1.9 2011/04/15 08:01:55 pva Exp $
EAPI=2
GENTOO_DEPEND_ON_PERL=no
inherit flag-o-matic eutils toolchain-funcs multilib perl-app gnome2 python
DESCRIPTION="GTK Instant Messenger client"
HOMEPAGE="http://pidgin.im/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86"
IUSE="dbus debug doc eds gadu gnutls +gstreamer +gtk idn meanwhile"
IUSE+=" networkmanager nls perl silc tcl tk spell qq sasl ncurses"
IUSE+=" groupwise prediction python +xscreensaver zephyr zeroconf" # mono"
# dbus requires python to generate C code for dbus bindings (thus DEPEND only).
# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is
# no way to build dbus and avoid libgnt linkage with python. If you want this
# send patch upstream.
# purple-url-handler and purple-remote require dbus-python thus in reality we
# rdepend on python if dbus enabled. But it is possible to separate this dep.
RDEPEND="
>=dev-libs/glib-2.12
>=dev-libs/libxml2-2.6.18
ncurses? ( sys-libs/ncurses[unicode]
dbus? ( <dev-lang/python-3 )
python? ( <dev-lang/python-3 ) )
gtk? (
>=x11-libs/gtk+-2.10:2
x11-libs/libSM
xscreensaver? ( x11-libs/libXScrnSaver )
spell? ( >=app-text/gtkspell-2.0.2 )
eds? ( gnome-extra/evolution-data-server )
prediction? ( >=dev-db/sqlite-3.3:3 ) )
gstreamer? ( =media-libs/gstreamer-0.10*
=media-libs/gst-plugins-good-0.10*
>=net-libs/farsight2-0.0.14
media-plugins/gst-plugins-meta
media-plugins/gst-plugins-gconf )
zeroconf? ( net-dns/avahi )
dbus? ( >=dev-libs/dbus-glib-0.71
>=sys-apps/dbus-0.90
dev-python/dbus-python )
perl? ( >=dev-lang/perl-5.8.2-r1[-build] )
gadu? ( || ( >=net-libs/libgadu-1.10.1[ssl,gnutls]
net-libs/libgadu[-ssl] ) )
gnutls? ( net-libs/gnutls )
!gnutls? ( >=dev-libs/nss-3.11 )
meanwhile? ( net-libs/meanwhile )
silc? ( >=net-im/silc-toolkit-1.0.1 )
tcl? ( dev-lang/tcl )
tk? ( dev-lang/tk )
sasl? ( dev-libs/cyrus-sasl:2 )
networkmanager? ( net-misc/networkmanager )
idn? ( net-dns/libidn )
!<x11-plugins/pidgin-facebookchat-1.69-r1"
# Mono support crashes pidgin
#mono? ( dev-lang/mono )"
# We want nls in case gtk is enabled, bug #
NLS_DEPEND=">=dev-util/intltool-0.41.1 sys-devel/gettext"
DEPEND="$RDEPEND
dev-lang/perl
dev-perl/XML-Parser
dev-util/pkgconfig
gtk? ( x11-proto/scrnsaverproto
${NLS_DEPEND} )
dbus? ( <dev-lang/python-3 )
doc? ( app-doc/doxygen )
!gtk? ( nls? ( ${NLS_DEPEND} ) )"
DOCS="AUTHORS HACKING NEWS README ChangeLog"
# Enable Default protocols
DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace"
# List of plugins
# app-accessibility/pidgin-festival
# net-im/librvp
# x11-plugins/guifications
# x11-plugins/msn-pecan
# x11-plugins/pidgin-encryption
# x11-plugins/pidgin-extprefs
# x11-plugins/pidgin-hotkeys
# x11-plugins/pidgin-latex
# x11-plugins/pidgintex
# x11-plugins/pidgin-libnotify
# x11-plugins/pidgin-bot-sentry
# x11-plugins/pidgin-otr
# x11-plugins/pidgin-rhythmbox
# x11-plugins/purple-plugin_pack
# x11-themes/pidgin-smileys
# x11-plugins/pidgin-knotify
# Plugins in Sunrise:
# x11-plugins/pidgimpd
# x11-plugins/pidgin-birthday
# x11-plugins/pidgin-convreverse
# x11-plugins/pidgin-extended-blist-sort
# x11-plugins/pidgin-lastfm
# x11-plugins/pidgin-mbpurple
pkg_setup() {
if ! use gtk && ! use ncurses ; then
elog "You did not pick the ncurses or gtk use flags, only libpurple"
elog "will be built."
fi
if use gtk && ! use nls; then
ewarn "gtk build => nls is enabled!"
fi
if use dbus && ! use python; then
elog "dbus is enabled, no way to disable linkage with python => python is enabled"
fi
if use dbus || { use ncurses && use python; }; then
python_set_active_version 2
python_pkg_setup
fi
}
src_configure() {
# Stabilize things, for your own good
strip-flags
replace-flags -O? -O2
local myconf
if use gadu; then
DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg"
myconf="${myconf} --with-gadu-includes=."
myconf="${myconf} --with-gadu-libs=."
fi
use silc && DYNAMIC_PRPLS+=",silc"
use qq && DYNAMIC_PRPLS+=",qq"
use meanwhile && DYNAMIC_PRPLS+=",sametime"
use zeroconf && DYNAMIC_PRPLS+=",bonjour"
use groupwise && DYNAMIC_PRPLS+=",novell"
use zephyr && DYNAMIC_PRPLS+=",zephyr"
if use gnutls; then
einfo "Disabling NSS, using GnuTLS"
myconf+=" --enable-nss=no --enable-gnutls=yes"
myconf+=" --with-gnutls-includes=/usr/include/gnutls"
myconf+=" --with-gnutls-libs=/usr/$(get_libdir)"
else
einfo "Disabling GnuTLS, using NSS"
myconf+=" --enable-gnutls=no --enable-nss=yes"
fi
if use dbus || { use ncurses && use python; }; then
myconf+=" --with-python=$(PYTHON)"
else
myconf+=" --without-python"
fi
econf \
--disable-silent-rules \
$(use_enable ncurses consoleui) \
$(use_enable gtk gtkui) \
$(use_enable gtk sm) \
$(use gtk || use_enable nls) \
$(use gtk && echo "--enable-nls") \
$(use gtk && use_enable xscreensaver screensaver) \
$(use gtk && use_enable prediction cap) \
$(use gtk && use_enable eds gevolution) \
$(use gtk && use_enable spell gtkspell) \
$(use_enable perl) \
$(use_enable tk) \
$(use_enable tcl) \
$(use_enable debug) \
$(use_enable dbus) \
$(use_enable meanwhile) \
$(use_enable gstreamer) \
$(use_enable gstreamer farsight) \
$(use_enable gstreamer vv) \
$(use_enable sasl cyrus-sasl ) \
$(use_enable doc doxygen) \
$(use_enable networkmanager nm) \
$(use_enable zeroconf avahi) \
$(use_enable idn) \
--with-system-ssl-certs="/etc/ssl/certs/" \
--with-dynamic-prpls="${DYNAMIC_PRPLS}" \
--disable-mono \
--x-includes=/usr/include/X11 \
${myconf}
#$(use_enable mono) \
}
src_install() {
gnome2_src_install
if use gtk; then
# Fix tray pathes for kde-3.5, e16 (x11-wm/enlightenment) and other
# implementations that are not complient with new hicolor theme yet, #323355
local pixmapdir
for d in 16 22 32 48; do
pixmapdir=${D}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions
mkdir "${pixmapdir}" || die
pushd "${pixmapdir}" >/dev/null || die
for f in ../status/*; do
ln -s ${f} || die
done
popd >/dev/null
done
fi
use perl && fixlocalpod
find "${D}" -type f -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
}

View file

@ -1,222 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/Attic/pidgin-2.8.0-r1.ebuild,v 1.2 2011/06/20 05:34:06 pva Exp $
EAPI=3
GENTOO_DEPEND_ON_PERL=no
inherit flag-o-matic eutils toolchain-funcs multilib perl-app gnome2 python
DESCRIPTION="GTK Instant Messenger client"
HOMEPAGE="http://pidgin.im/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="dbus debug doc eds gadu gnutls +gstreamer +gtk idn meanwhile"
IUSE+=" networkmanager nls perl silc tcl tk spell sasl ncurses"
IUSE+=" groupwise prediction python +xscreensaver zephyr zeroconf" # mono"
# dbus requires python to generate C code for dbus bindings (thus DEPEND only).
# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is
# no way to build dbus and avoid libgnt linkage with python. If you want this
# send patch upstream.
# purple-url-handler and purple-remote require dbus-python thus in reality we
# rdepend on python if dbus enabled. But it is possible to separate this dep.
RDEPEND="
>=dev-libs/glib-2.16
>=dev-libs/libxml2-2.6.18
ncurses? ( sys-libs/ncurses[unicode]
dbus? ( <dev-lang/python-3 )
python? ( <dev-lang/python-3 ) )
gtk? (
>=x11-libs/gtk+-2.10:2
x11-libs/libSM
xscreensaver? ( x11-libs/libXScrnSaver )
spell? ( >=app-text/gtkspell-2.0.2 )
eds? ( gnome-extra/evolution-data-server )
prediction? ( >=dev-db/sqlite-3.3:3 ) )
gstreamer? ( =media-libs/gstreamer-0.10*
=media-libs/gst-plugins-good-0.10*
>=net-libs/farsight2-0.0.14
media-plugins/gst-plugins-meta
media-plugins/gst-plugins-gconf )
zeroconf? ( net-dns/avahi )
dbus? ( >=dev-libs/dbus-glib-0.71
>=sys-apps/dbus-0.90
dev-python/dbus-python )
perl? ( >=dev-lang/perl-5.8.2-r1[-build] )
gadu? ( || ( >=net-libs/libgadu-1.11.0[ssl,gnutls]
>=net-libs/libgadu-1.11.0[-ssl] ) )
gnutls? ( net-libs/gnutls )
!gnutls? ( >=dev-libs/nss-3.11 )
meanwhile? ( net-libs/meanwhile )
silc? ( >=net-im/silc-toolkit-1.0.1 )
tcl? ( dev-lang/tcl )
tk? ( dev-lang/tk )
sasl? ( dev-libs/cyrus-sasl:2 )
networkmanager? ( net-misc/networkmanager )
idn? ( net-dns/libidn )
!<x11-plugins/pidgin-facebookchat-1.69-r1"
# Mono support crashes pidgin
#mono? ( dev-lang/mono )"
# We want nls in case gtk is enabled, bug #
NLS_DEPEND=">=dev-util/intltool-0.41.1 sys-devel/gettext"
DEPEND="$RDEPEND
dev-lang/perl
dev-perl/XML-Parser
dev-util/pkgconfig
gtk? ( x11-proto/scrnsaverproto
${NLS_DEPEND} )
dbus? ( <dev-lang/python-3 )
doc? ( app-doc/doxygen )
!gtk? ( nls? ( ${NLS_DEPEND} ) )"
DOCS="AUTHORS HACKING NEWS README ChangeLog"
# Enable Default protocols
DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace"
# List of plugins
# app-accessibility/pidgin-festival
# net-im/librvp
# x11-plugins/guifications
# x11-plugins/msn-pecan
# x11-plugins/pidgin-encryption
# x11-plugins/pidgin-extprefs
# x11-plugins/pidgin-hotkeys
# x11-plugins/pidgin-latex
# x11-plugins/pidgintex
# x11-plugins/pidgin-libnotify
# x11-plugins/pidgin-bot-sentry
# x11-plugins/pidgin-otr
# x11-plugins/pidgin-rhythmbox
# x11-plugins/purple-plugin_pack
# x11-themes/pidgin-smileys
# x11-plugins/pidgin-knotify
# Plugins in Sunrise:
# x11-plugins/pidgimpd
# x11-plugins/pidgin-birthday
# x11-plugins/pidgin-convreverse
# x11-plugins/pidgin-extended-blist-sort
# x11-plugins/pidgin-lastfm
# x11-plugins/pidgin-mbpurple
pkg_setup() {
if ! use gtk && ! use ncurses ; then
elog "You did not pick the ncurses or gtk use flags, only libpurple"
elog "will be built."
fi
if use dbus || { use ncurses && use python; }; then
python_set_active_version 2
python_pkg_setup
fi
# dbus is enabled, no way to disable linkage with python => python is enabled
#REQUIRED_USE="gtk? ( nls ) dbus? ( python )"
if use gtk && ! use nls; then
ewarn "gtk build => nls is enabled!"
fi
if use dbus && ! use python; then
elog "dbus is enabled, no way to disable linkage with python => python is enabled"
fi
}
src_prepare() {
# Fix build issue.
# http://developer.pidgin.im/viewmtn/revision/diff/9e7616dbab2878bcc9f4b412bca1f55c903a337e/with/aebefd6d98382ce0f7b42b41e4bf2611044d4182/pidgin/plugins/gevolution/gevolution.c
sed 's:\<GTK_POLICY_AUTO\>:GTK_POLICY_AUTOMATIC:' -i pidgin/plugins/gevolution/gevolution.c || die
epatch "${FILESDIR}/${P}-finch-icq.patch"
}
src_configure() {
# Stabilize things, for your own good
strip-flags
replace-flags -O? -O2
local myconf
if use gadu; then
DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg"
myconf="${myconf} --with-gadu-includes=."
myconf="${myconf} --with-gadu-libs=."
fi
use silc && DYNAMIC_PRPLS+=",silc"
use meanwhile && DYNAMIC_PRPLS+=",sametime"
use zeroconf && DYNAMIC_PRPLS+=",bonjour"
use groupwise && DYNAMIC_PRPLS+=",novell"
use zephyr && DYNAMIC_PRPLS+=",zephyr"
if use gnutls; then
einfo "Disabling NSS, using GnuTLS"
myconf+=" --enable-nss=no --enable-gnutls=yes"
myconf+=" --with-gnutls-includes=/usr/include/gnutls"
myconf+=" --with-gnutls-libs=/usr/$(get_libdir)"
else
einfo "Disabling GnuTLS, using NSS"
myconf+=" --enable-gnutls=no --enable-nss=yes"
fi
if use dbus || { use ncurses && use python; }; then
myconf+=" --with-python=$(PYTHON)"
else
myconf+=" --without-python"
fi
econf \
--disable-silent-rules \
$(use_enable ncurses consoleui) \
$(use_enable gtk gtkui) \
$(use_enable gtk sm) \
$(use gtk || use_enable nls) \
$(use gtk && echo "--enable-nls") \
$(use gtk && use_enable xscreensaver screensaver) \
$(use gtk && use_enable prediction cap) \
$(use gtk && use_enable eds gevolution) \
$(use gtk && use_enable spell gtkspell) \
$(use_enable perl) \
$(use_enable tk) \
$(use_enable tcl) \
$(use_enable debug) \
$(use_enable dbus) \
$(use_enable meanwhile) \
$(use_enable gstreamer) \
$(use_enable gstreamer farsight) \
$(use_enable gstreamer vv) \
$(use_enable sasl cyrus-sasl ) \
$(use_enable doc doxygen) \
$(use_enable networkmanager nm) \
$(use_enable zeroconf avahi) \
$(use_enable idn) \
--with-system-ssl-certs="/etc/ssl/certs/" \
--with-dynamic-prpls="${DYNAMIC_PRPLS}" \
--disable-mono \
--x-includes=/usr/include/X11 \
${myconf}
#$(use_enable mono) \
}
src_install() {
gnome2_src_install
if use gtk; then
# Fix tray pathes for kde-3.5, e16 (x11-wm/enlightenment) and other
# implementations that are not complient with new hicolor theme yet, #323355
local pixmapdir
for d in 16 22 32 48; do
pixmapdir=${D}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions
mkdir "${pixmapdir}" || die
pushd "${pixmapdir}" >/dev/null || die
for f in ../status/*; do
ln -s ${f} || die
done
popd >/dev/null
done
fi
use perl && fixlocalpod
find "${ED}" -type f -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
}

View file

@ -1,220 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/Attic/pidgin-2.8.0.ebuild,v 1.1 2011/06/14 10:27:08 pva Exp $
EAPI=3
GENTOO_DEPEND_ON_PERL=no
inherit flag-o-matic eutils toolchain-funcs multilib perl-app gnome2 python
DESCRIPTION="GTK Instant Messenger client"
HOMEPAGE="http://pidgin.im/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="dbus debug doc eds gadu gnutls +gstreamer +gtk idn meanwhile"
IUSE+=" networkmanager nls perl silc tcl tk spell sasl ncurses"
IUSE+=" groupwise prediction python +xscreensaver zephyr zeroconf" # mono"
# dbus requires python to generate C code for dbus bindings (thus DEPEND only).
# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is
# no way to build dbus and avoid libgnt linkage with python. If you want this
# send patch upstream.
# purple-url-handler and purple-remote require dbus-python thus in reality we
# rdepend on python if dbus enabled. But it is possible to separate this dep.
RDEPEND="
>=dev-libs/glib-2.16
>=dev-libs/libxml2-2.6.18
ncurses? ( sys-libs/ncurses[unicode]
dbus? ( <dev-lang/python-3 )
python? ( <dev-lang/python-3 ) )
gtk? (
>=x11-libs/gtk+-2.10:2
x11-libs/libSM
xscreensaver? ( x11-libs/libXScrnSaver )
spell? ( >=app-text/gtkspell-2.0.2 )
eds? ( gnome-extra/evolution-data-server )
prediction? ( >=dev-db/sqlite-3.3:3 ) )
gstreamer? ( =media-libs/gstreamer-0.10*
=media-libs/gst-plugins-good-0.10*
>=net-libs/farsight2-0.0.14
media-plugins/gst-plugins-meta
media-plugins/gst-plugins-gconf )
zeroconf? ( net-dns/avahi )
dbus? ( >=dev-libs/dbus-glib-0.71
>=sys-apps/dbus-0.90
dev-python/dbus-python )
perl? ( >=dev-lang/perl-5.8.2-r1[-build] )
gadu? ( >=net-libs/libgadu-1.11.0[ssl,gnutls] )
gnutls? ( net-libs/gnutls )
!gnutls? ( >=dev-libs/nss-3.11 )
meanwhile? ( net-libs/meanwhile )
silc? ( >=net-im/silc-toolkit-1.0.1 )
tcl? ( dev-lang/tcl )
tk? ( dev-lang/tk )
sasl? ( dev-libs/cyrus-sasl:2 )
networkmanager? ( net-misc/networkmanager )
idn? ( net-dns/libidn )
!<x11-plugins/pidgin-facebookchat-1.69-r1"
# Mono support crashes pidgin
#mono? ( dev-lang/mono )"
# We want nls in case gtk is enabled, bug #
NLS_DEPEND=">=dev-util/intltool-0.41.1 sys-devel/gettext"
DEPEND="$RDEPEND
dev-lang/perl
dev-perl/XML-Parser
dev-util/pkgconfig
gtk? ( x11-proto/scrnsaverproto
${NLS_DEPEND} )
dbus? ( <dev-lang/python-3 )
doc? ( app-doc/doxygen )
!gtk? ( nls? ( ${NLS_DEPEND} ) )"
DOCS="AUTHORS HACKING NEWS README ChangeLog"
# Enable Default protocols
DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace"
# List of plugins
# app-accessibility/pidgin-festival
# net-im/librvp
# x11-plugins/guifications
# x11-plugins/msn-pecan
# x11-plugins/pidgin-encryption
# x11-plugins/pidgin-extprefs
# x11-plugins/pidgin-hotkeys
# x11-plugins/pidgin-latex
# x11-plugins/pidgintex
# x11-plugins/pidgin-libnotify
# x11-plugins/pidgin-bot-sentry
# x11-plugins/pidgin-otr
# x11-plugins/pidgin-rhythmbox
# x11-plugins/purple-plugin_pack
# x11-themes/pidgin-smileys
# x11-plugins/pidgin-knotify
# Plugins in Sunrise:
# x11-plugins/pidgimpd
# x11-plugins/pidgin-birthday
# x11-plugins/pidgin-convreverse
# x11-plugins/pidgin-extended-blist-sort
# x11-plugins/pidgin-lastfm
# x11-plugins/pidgin-mbpurple
pkg_setup() {
if ! use gtk && ! use ncurses ; then
elog "You did not pick the ncurses or gtk use flags, only libpurple"
elog "will be built."
fi
if use dbus || { use ncurses && use python; }; then
python_set_active_version 2
python_pkg_setup
fi
# dbus is enabled, no way to disable linkage with python => python is enabled
#REQUIRED_USE="gtk? ( nls ) dbus? ( python )"
if use gtk && ! use nls; then
ewarn "gtk build => nls is enabled!"
fi
if use dbus && ! use python; then
elog "dbus is enabled, no way to disable linkage with python => python is enabled"
fi
}
src_prepare() {
# Fix build issue.
# http://developer.pidgin.im/viewmtn/revision/diff/9e7616dbab2878bcc9f4b412bca1f55c903a337e/with/aebefd6d98382ce0f7b42b41e4bf2611044d4182/pidgin/plugins/gevolution/gevolution.c
sed 's:\<GTK_POLICY_AUTO\>:GTK_POLICY_AUTOMATIC:' -i pidgin/plugins/gevolution/gevolution.c || die
}
src_configure() {
# Stabilize things, for your own good
strip-flags
replace-flags -O? -O2
local myconf
if use gadu; then
DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg"
myconf="${myconf} --with-gadu-includes=."
myconf="${myconf} --with-gadu-libs=."
fi
use silc && DYNAMIC_PRPLS+=",silc"
use meanwhile && DYNAMIC_PRPLS+=",sametime"
use zeroconf && DYNAMIC_PRPLS+=",bonjour"
use groupwise && DYNAMIC_PRPLS+=",novell"
use zephyr && DYNAMIC_PRPLS+=",zephyr"
if use gnutls; then
einfo "Disabling NSS, using GnuTLS"
myconf+=" --enable-nss=no --enable-gnutls=yes"
myconf+=" --with-gnutls-includes=/usr/include/gnutls"
myconf+=" --with-gnutls-libs=/usr/$(get_libdir)"
else
einfo "Disabling GnuTLS, using NSS"
myconf+=" --enable-gnutls=no --enable-nss=yes"
fi
if use dbus || { use ncurses && use python; }; then
myconf+=" --with-python=$(PYTHON)"
else
myconf+=" --without-python"
fi
econf \
--disable-silent-rules \
$(use_enable ncurses consoleui) \
$(use_enable gtk gtkui) \
$(use_enable gtk sm) \
$(use gtk || use_enable nls) \
$(use gtk && echo "--enable-nls") \
$(use gtk && use_enable xscreensaver screensaver) \
$(use gtk && use_enable prediction cap) \
$(use gtk && use_enable eds gevolution) \
$(use gtk && use_enable spell gtkspell) \
$(use_enable perl) \
$(use_enable tk) \
$(use_enable tcl) \
$(use_enable debug) \
$(use_enable dbus) \
$(use_enable meanwhile) \
$(use_enable gstreamer) \
$(use_enable gstreamer farsight) \
$(use_enable gstreamer vv) \
$(use_enable sasl cyrus-sasl ) \
$(use_enable doc doxygen) \
$(use_enable networkmanager nm) \
$(use_enable zeroconf avahi) \
$(use_enable idn) \
--with-system-ssl-certs="/etc/ssl/certs/" \
--with-dynamic-prpls="${DYNAMIC_PRPLS}" \
--disable-mono \
--x-includes=/usr/include/X11 \
${myconf}
#$(use_enable mono) \
}
src_install() {
gnome2_src_install
if use gtk; then
# Fix tray pathes for kde-3.5, e16 (x11-wm/enlightenment) and other
# implementations that are not complient with new hicolor theme yet, #323355
local pixmapdir
for d in 16 22 32 48; do
pixmapdir=${D}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions
mkdir "${pixmapdir}" || die
pushd "${pixmapdir}" >/dev/null || die
for f in ../status/*; do
ln -s ${f} || die
done
popd >/dev/null
done
fi
use perl && fixlocalpod
find "${ED}" -type f -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
}

View file

@ -1,219 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/Attic/pidgin-2.9.0-r1.ebuild,v 1.1 2011/07/27 07:01:12 pva Exp $
EAPI=3
GENTOO_DEPEND_ON_PERL=no
inherit flag-o-matic eutils toolchain-funcs multilib perl-app gnome2 python
DESCRIPTION="GTK Instant Messenger client"
HOMEPAGE="http://pidgin.im/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="dbus debug doc eds gadu gnutls +gstreamer +gtk idn meanwhile"
IUSE+=" networkmanager nls perl silc tcl tk spell sasl ncurses"
IUSE+=" groupwise prediction python +xscreensaver zephyr zeroconf" # mono"
# dbus requires python to generate C code for dbus bindings (thus DEPEND only).
# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is
# no way to build dbus and avoid libgnt linkage with python. If you want this
# send patch upstream.
# purple-url-handler and purple-remote require dbus-python thus in reality we
# rdepend on python if dbus enabled. But it is possible to separate this dep.
RDEPEND="
>=dev-libs/glib-2.16
>=dev-libs/libxml2-2.6.18
ncurses? ( sys-libs/ncurses[unicode]
dbus? ( <dev-lang/python-3 )
python? ( <dev-lang/python-3 ) )
gtk? (
>=x11-libs/gtk+-2.10:2
x11-libs/libSM
xscreensaver? ( x11-libs/libXScrnSaver )
spell? ( >=app-text/gtkspell-2.0.2 )
eds? ( gnome-extra/evolution-data-server )
prediction? ( >=dev-db/sqlite-3.3:3 ) )
gstreamer? ( =media-libs/gstreamer-0.10*
=media-libs/gst-plugins-good-0.10*
>=net-libs/farsight2-0.0.14
media-plugins/gst-plugins-meta
media-plugins/gst-plugins-gconf )
zeroconf? ( net-dns/avahi[dbus] )
dbus? ( >=dev-libs/dbus-glib-0.71
>=sys-apps/dbus-0.90
dev-python/dbus-python )
perl? ( >=dev-lang/perl-5.8.2-r1[-build] )
gadu? ( || ( >=net-libs/libgadu-1.11.0[ssl,gnutls]
>=net-libs/libgadu-1.11.0[-ssl] ) )
gnutls? ( net-libs/gnutls )
!gnutls? ( >=dev-libs/nss-3.11 )
meanwhile? ( net-libs/meanwhile )
silc? ( >=net-im/silc-toolkit-1.0.1 )
tcl? ( dev-lang/tcl )
tk? ( dev-lang/tk )
sasl? ( dev-libs/cyrus-sasl:2 )
networkmanager? ( net-misc/networkmanager )
idn? ( net-dns/libidn )
!<x11-plugins/pidgin-facebookchat-1.69-r1"
# Mono support crashes pidgin
#mono? ( dev-lang/mono )"
# We want nls in case gtk is enabled, bug #
NLS_DEPEND=">=dev-util/intltool-0.41.1 sys-devel/gettext"
DEPEND="$RDEPEND
dev-lang/perl
dev-perl/XML-Parser
dev-util/pkgconfig
gtk? ( x11-proto/scrnsaverproto
${NLS_DEPEND} )
dbus? ( <dev-lang/python-3 )
doc? ( app-doc/doxygen )
!gtk? ( nls? ( ${NLS_DEPEND} ) )"
DOCS="AUTHORS HACKING NEWS README ChangeLog"
# Enable Default protocols
DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace"
# List of plugins
# app-accessibility/pidgin-festival
# net-im/librvp
# x11-plugins/guifications
# x11-plugins/msn-pecan
# x11-plugins/pidgin-encryption
# x11-plugins/pidgin-extprefs
# x11-plugins/pidgin-hotkeys
# x11-plugins/pidgin-latex
# x11-plugins/pidgintex
# x11-plugins/pidgin-libnotify
# x11-plugins/pidgin-bot-sentry
# x11-plugins/pidgin-otr
# x11-plugins/pidgin-rhythmbox
# x11-plugins/purple-plugin_pack
# x11-themes/pidgin-smileys
# x11-plugins/pidgin-knotify
# Plugins in Sunrise:
# x11-plugins/pidgimpd
# x11-plugins/pidgin-birthday
# x11-plugins/pidgin-convreverse
# x11-plugins/pidgin-extended-blist-sort
# x11-plugins/pidgin-lastfm
# x11-plugins/pidgin-mbpurple
pkg_setup() {
if ! use gtk && ! use ncurses ; then
elog "You did not pick the ncurses or gtk use flags, only libpurple"
elog "will be built."
fi
if use dbus || { use ncurses && use python; }; then
python_set_active_version 2
python_pkg_setup
fi
# dbus is enabled, no way to disable linkage with python => python is enabled
#REQUIRED_USE="gtk? ( nls ) dbus? ( python )"
if use gtk && ! use nls; then
ewarn "gtk build => nls is enabled!"
fi
if use dbus && ! use python; then
elog "dbus is enabled, no way to disable linkage with python => python is enabled"
fi
}
src_prepare() {
epatch "${FILESDIR}/pidgin-2.9.0-conversation.c.patch"
}
src_configure() {
# Stabilize things, for your own good
strip-flags
replace-flags -O? -O2
local myconf
if use gadu; then
DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg"
myconf="${myconf} --with-gadu-includes=."
myconf="${myconf} --with-gadu-libs=."
fi
use silc && DYNAMIC_PRPLS+=",silc"
use meanwhile && DYNAMIC_PRPLS+=",sametime"
use zeroconf && DYNAMIC_PRPLS+=",bonjour"
use groupwise && DYNAMIC_PRPLS+=",novell"
use zephyr && DYNAMIC_PRPLS+=",zephyr"
if use gnutls; then
einfo "Disabling NSS, using GnuTLS"
myconf+=" --enable-nss=no --enable-gnutls=yes"
myconf+=" --with-gnutls-includes=/usr/include/gnutls"
myconf+=" --with-gnutls-libs=/usr/$(get_libdir)"
else
einfo "Disabling GnuTLS, using NSS"
myconf+=" --enable-gnutls=no --enable-nss=yes"
fi
if use dbus || { use ncurses && use python; }; then
myconf+=" --with-python=$(PYTHON)"
else
myconf+=" --without-python"
fi
econf \
--disable-silent-rules \
$(use_enable ncurses consoleui) \
$(use_enable gtk gtkui) \
$(use_enable gtk sm) \
$(use gtk || use_enable nls) \
$(use gtk && echo "--enable-nls") \
$(use gtk && use_enable xscreensaver screensaver) \
$(use gtk && use_enable prediction cap) \
$(use gtk && use_enable eds gevolution) \
$(use gtk && use_enable spell gtkspell) \
$(use_enable perl) \
$(use_enable tk) \
$(use_enable tcl) \
$(use_enable debug) \
$(use_enable dbus) \
$(use_enable meanwhile) \
$(use_enable gstreamer) \
$(use_enable gstreamer farsight) \
$(use_enable gstreamer vv) \
$(use_enable sasl cyrus-sasl ) \
$(use_enable doc doxygen) \
$(use_enable networkmanager nm) \
$(use_enable zeroconf avahi) \
$(use_enable idn) \
--with-system-ssl-certs="/etc/ssl/certs/" \
--with-dynamic-prpls="${DYNAMIC_PRPLS}" \
--disable-mono \
--x-includes=/usr/include/X11 \
${myconf}
#$(use_enable mono) \
}
src_install() {
gnome2_src_install
if use gtk; then
# Fix tray pathes for kde-3.5, e16 (x11-wm/enlightenment) and other
# implementations that are not complient with new hicolor theme yet, #323355
local pixmapdir
for d in 16 22 32 48; do
pixmapdir=${D}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions
mkdir "${pixmapdir}" || die
pushd "${pixmapdir}" >/dev/null || die
for f in ../status/*; do
ln -s ${f} || die
done
popd >/dev/null
done
fi
use perl && fixlocalpod
find "${ED}" -type f -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
}

View file

@ -1,215 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/Attic/pidgin-2.9.0.ebuild,v 1.8 2011/07/09 16:49:54 xarthisius Exp $
EAPI=3
GENTOO_DEPEND_ON_PERL=no
inherit flag-o-matic eutils toolchain-funcs multilib perl-app gnome2 python
DESCRIPTION="GTK Instant Messenger client"
HOMEPAGE="http://pidgin.im/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86"
IUSE="dbus debug doc eds gadu gnutls +gstreamer +gtk idn meanwhile"
IUSE+=" networkmanager nls perl silc tcl tk spell sasl ncurses"
IUSE+=" groupwise prediction python +xscreensaver zephyr zeroconf" # mono"
# dbus requires python to generate C code for dbus bindings (thus DEPEND only).
# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is
# no way to build dbus and avoid libgnt linkage with python. If you want this
# send patch upstream.
# purple-url-handler and purple-remote require dbus-python thus in reality we
# rdepend on python if dbus enabled. But it is possible to separate this dep.
RDEPEND="
>=dev-libs/glib-2.16
>=dev-libs/libxml2-2.6.18
ncurses? ( sys-libs/ncurses[unicode]
dbus? ( <dev-lang/python-3 )
python? ( <dev-lang/python-3 ) )
gtk? (
>=x11-libs/gtk+-2.10:2
x11-libs/libSM
xscreensaver? ( x11-libs/libXScrnSaver )
spell? ( >=app-text/gtkspell-2.0.2 )
eds? ( gnome-extra/evolution-data-server )
prediction? ( >=dev-db/sqlite-3.3:3 ) )
gstreamer? ( =media-libs/gstreamer-0.10*
=media-libs/gst-plugins-good-0.10*
>=net-libs/farsight2-0.0.14
media-plugins/gst-plugins-meta
media-plugins/gst-plugins-gconf )
zeroconf? ( net-dns/avahi[dbus] )
dbus? ( >=dev-libs/dbus-glib-0.71
>=sys-apps/dbus-0.90
dev-python/dbus-python )
perl? ( >=dev-lang/perl-5.8.2-r1[-build] )
gadu? ( || ( >=net-libs/libgadu-1.11.0[ssl,gnutls]
>=net-libs/libgadu-1.11.0[-ssl] ) )
gnutls? ( net-libs/gnutls )
!gnutls? ( >=dev-libs/nss-3.11 )
meanwhile? ( net-libs/meanwhile )
silc? ( >=net-im/silc-toolkit-1.0.1 )
tcl? ( dev-lang/tcl )
tk? ( dev-lang/tk )
sasl? ( dev-libs/cyrus-sasl:2 )
networkmanager? ( net-misc/networkmanager )
idn? ( net-dns/libidn )
!<x11-plugins/pidgin-facebookchat-1.69-r1"
# Mono support crashes pidgin
#mono? ( dev-lang/mono )"
# We want nls in case gtk is enabled, bug #
NLS_DEPEND=">=dev-util/intltool-0.41.1 sys-devel/gettext"
DEPEND="$RDEPEND
dev-lang/perl
dev-perl/XML-Parser
dev-util/pkgconfig
gtk? ( x11-proto/scrnsaverproto
${NLS_DEPEND} )
dbus? ( <dev-lang/python-3 )
doc? ( app-doc/doxygen )
!gtk? ( nls? ( ${NLS_DEPEND} ) )"
DOCS="AUTHORS HACKING NEWS README ChangeLog"
# Enable Default protocols
DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace"
# List of plugins
# app-accessibility/pidgin-festival
# net-im/librvp
# x11-plugins/guifications
# x11-plugins/msn-pecan
# x11-plugins/pidgin-encryption
# x11-plugins/pidgin-extprefs
# x11-plugins/pidgin-hotkeys
# x11-plugins/pidgin-latex
# x11-plugins/pidgintex
# x11-plugins/pidgin-libnotify
# x11-plugins/pidgin-bot-sentry
# x11-plugins/pidgin-otr
# x11-plugins/pidgin-rhythmbox
# x11-plugins/purple-plugin_pack
# x11-themes/pidgin-smileys
# x11-plugins/pidgin-knotify
# Plugins in Sunrise:
# x11-plugins/pidgimpd
# x11-plugins/pidgin-birthday
# x11-plugins/pidgin-convreverse
# x11-plugins/pidgin-extended-blist-sort
# x11-plugins/pidgin-lastfm
# x11-plugins/pidgin-mbpurple
pkg_setup() {
if ! use gtk && ! use ncurses ; then
elog "You did not pick the ncurses or gtk use flags, only libpurple"
elog "will be built."
fi
if use dbus || { use ncurses && use python; }; then
python_set_active_version 2
python_pkg_setup
fi
# dbus is enabled, no way to disable linkage with python => python is enabled
#REQUIRED_USE="gtk? ( nls ) dbus? ( python )"
if use gtk && ! use nls; then
ewarn "gtk build => nls is enabled!"
fi
if use dbus && ! use python; then
elog "dbus is enabled, no way to disable linkage with python => python is enabled"
fi
}
src_configure() {
# Stabilize things, for your own good
strip-flags
replace-flags -O? -O2
local myconf
if use gadu; then
DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg"
myconf="${myconf} --with-gadu-includes=."
myconf="${myconf} --with-gadu-libs=."
fi
use silc && DYNAMIC_PRPLS+=",silc"
use meanwhile && DYNAMIC_PRPLS+=",sametime"
use zeroconf && DYNAMIC_PRPLS+=",bonjour"
use groupwise && DYNAMIC_PRPLS+=",novell"
use zephyr && DYNAMIC_PRPLS+=",zephyr"
if use gnutls; then
einfo "Disabling NSS, using GnuTLS"
myconf+=" --enable-nss=no --enable-gnutls=yes"
myconf+=" --with-gnutls-includes=/usr/include/gnutls"
myconf+=" --with-gnutls-libs=/usr/$(get_libdir)"
else
einfo "Disabling GnuTLS, using NSS"
myconf+=" --enable-gnutls=no --enable-nss=yes"
fi
if use dbus || { use ncurses && use python; }; then
myconf+=" --with-python=$(PYTHON)"
else
myconf+=" --without-python"
fi
econf \
--disable-silent-rules \
$(use_enable ncurses consoleui) \
$(use_enable gtk gtkui) \
$(use_enable gtk sm) \
$(use gtk || use_enable nls) \
$(use gtk && echo "--enable-nls") \
$(use gtk && use_enable xscreensaver screensaver) \
$(use gtk && use_enable prediction cap) \
$(use gtk && use_enable eds gevolution) \
$(use gtk && use_enable spell gtkspell) \
$(use_enable perl) \
$(use_enable tk) \
$(use_enable tcl) \
$(use_enable debug) \
$(use_enable dbus) \
$(use_enable meanwhile) \
$(use_enable gstreamer) \
$(use_enable gstreamer farsight) \
$(use_enable gstreamer vv) \
$(use_enable sasl cyrus-sasl ) \
$(use_enable doc doxygen) \
$(use_enable networkmanager nm) \
$(use_enable zeroconf avahi) \
$(use_enable idn) \
--with-system-ssl-certs="/etc/ssl/certs/" \
--with-dynamic-prpls="${DYNAMIC_PRPLS}" \
--disable-mono \
--x-includes=/usr/include/X11 \
${myconf}
#$(use_enable mono) \
}
src_install() {
gnome2_src_install
if use gtk; then
# Fix tray pathes for kde-3.5, e16 (x11-wm/enlightenment) and other
# implementations that are not complient with new hicolor theme yet, #323355
local pixmapdir
for d in 16 22 32 48; do
pixmapdir=${D}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions
mkdir "${pixmapdir}" || die
pushd "${pixmapdir}" >/dev/null || die
for f in ../status/*; do
ln -s ${f} || die
done
popd >/dev/null
done
fi
use perl && fixlocalpod
find "${ED}" -type f -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
}