Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28154 - gaim-0.68-r1 doesnt install Gaim.pm
Summary: gaim-0.68-r1 doesnt install Gaim.pm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-08 00:59 UTC by Amiel Martin
Modified: 2003-09-08 15:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to fix installation of Gaim.pm (gaim-0.68-r1.patch,718 bytes, patch)
2003-09-08 01:00 UTC, Amiel Martin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Amiel Martin 2003-09-08 00:59:32 UTC
the line:

use perl && sed -i -e 's:\(-e
"install(\)\(.@ARGV.,.$(VERBINST).,0,.$(UNINST).);"\):\1$(DESTDIR)/\2:'
plugins/perl/common/Makefile

in net-im/gaim-0.68-r1.ebuild fixes a sandbox violation, but for some reason it
doesnt do what its supposed to do.

the file Gaim.pm was not getting installed correctly completly screwing up the
perl API for gaim

attached is a patch that made it work for me



--- gaim-0.68-r1.ebuild.bak     2003-09-07 21:38:31.000000000 -0700
+++ gaim-0.68-r1.ebuild 2003-09-07 22:29:36.000000000 -0700
@@ -49,6 +49,7 @@
        use nas && myconf="${myconf} --enable-nas" || myconf="${myconf}
--disable-nas"
  
        econf ${myconf} || die "Configuration failed"
+       use perl && sed -i -e 's:^\(PERL_MM_PARAMS
=.*PREFIX=\)\(.*\):\1'${D}'\2:' plugins/perl/Makefile
        emake || MAKEOPTS="${MAKEOPTS} -j1" emake || die "Make failed"
  
        use ssl && {
@@ -59,7 +60,6 @@
 }
  
 src_install() {
-       use perl && sed -i -e 's:\(-e
"install(\)\(.@ARGV.,.$(VERBINST).,0,.$(UNINST).);"\):\1$(DESTDIR)/\2:'
plugins/perl/common/Makefile
        einstall || die "Install failed"
        use ssl && {
                cd ${S}/plugins/gaim-encryption-${EV}





here is emerge info:

Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 AMD Duron(tm) processor
distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx
mpeg nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm
berkdb slang readline arts bonobo svga tcltk java guile X sdl gpm pam libwww ssl
perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla cdr gtk2
aalib ncurses 3dfx ipv6 vim-with-x -alsa -tcpd gstreamer samba 3dnow jack fbcon
sse mozcalendar mozinterfaceinfo mozp3p apache2 pgd flash mysql imap ldap odbc
oracle oci8 gd tiff xml"
Comment 1 Amiel Martin 2003-09-08 01:00:12 UTC
Created attachment 17256 [details, diff]
patch to fix installation of Gaim.pm

patch to fix installation of Gaim.pm for gaim's perl API
Comment 2 Brandon Low (RETIRED) gentoo-dev 2003-09-08 15:10:42 UTC
Thanks, testing it out and will commit assuming it works...
(If it doens't work I'll change the bug back)
Comment 3 Brandon Low (RETIRED) gentoo-dev 2003-09-08 15:37:41 UTC
-r2 committed