1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- upgrades linux-ymessenger from 1.0.4 to 1.0.6

- merges in the 1.0.6_1 executable
- works around a preferences corruption bug that can cause ymessenger to crash
on startup

To do: determine if any prerequisite tests are missing from the Makefile.

Other issues: this port depends on graphics/linux-gdk-pixbuf,which is marked as
conflicting with x11-toolkits/linux-gtk2.  The latter is used by things like
multimedia/linux-realplayer and print/acroread7.  Manually installing just the
shared libraries from the linux-gdk-pixbuf-0.22.0.12.fc2_1.tbz package seems to
allow both to coexist.  (Hopefully, someone will come up with a better solution.)

PR:		ports/97669
Submitted by:	Eric P. Scott <eps+pbug0605@ana.com>
Approved by:	maintainer, lawrance (mentor, implicit)
This commit is contained in:
Ion-Mihai Tetcu 2006-06-08 01:35:14 +00:00
parent 8f643afd4e
commit 5ec43bbf32
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=164785
4 changed files with 20 additions and 13 deletions

View File

@ -6,12 +6,13 @@
#
PORTNAME= ymessenger
PORTVERSION= 1.0.4.1
PORTVERSION= 1.0.6.1
CATEGORIES= net-im
MASTER_SITES= http://download.yahoo.com/dl/unix/
MASTER_SITES= http://public.yahoo.com/%7Emmk/
PKGNAMEPREFIX= linux-
DISTNAME= rh${BASEVERSION:C/([^\.])\..*/\1/}.${PORTNAME}-${PORTVERSION:C/\.([^\.]+)$/-\1/}.${MACHINE_ARCH}
EXTRACT_SUFX= .rpm
DISTNAME= rh9.${PORTNAME}-${PORTVERSION:C/\.([^\.]+)$/-\1/}.${MACHINE_ARCH}
DISTFILES= ${DISTNAME}.rpm ymessenger.bin
EXTRACT_ONLY= ${DISTNAME}.rpm
MAINTAINER= sethk@meowfishies.com
COMMENT= An RPM of Yahoo! Messenger instant messaging client
@ -27,9 +28,6 @@ ONLY_FOR_ARCHS= i386
STRIP=
NO_FILTER_SHLIBS=yes
# Set the version of linux_base
BASEVERSION?= 7.1
SHARE_FILES= yahoo_gnome.png yahoo_kde.xpm ymessenger.desktop\
ymessenger.kdelnk
@ -39,9 +37,12 @@ do-extract:
@for rpm in ${EXTRACT_ONLY}; do\
(cd ${WRKDIR} &&\
rpm2cpio.pl ${DISTDIR}/${DIST_SUBDIR}/${DISTFILE}/$$rpm |\
${CPIO} --quiet -id);\
${CPIO} --quiet -idm);\
done
pre-patch:
${CP} -fp ${DISTDIR}/ymessenger.bin ${WRKDIR}/opt/ymessenger/bin
post-patch:
${SED} -e 's:%%PREFIX%%:${PREFIX}:g' ${FILESDIR}/linux-ymessenger.sh >\
${WRKDIR}/linux-ymessenger.sh
@ -57,7 +58,7 @@ do-install:
${INSTALL_SCRIPT} ${WRKDIR}/linux-ymessenger.sh\
${PREFIX}/bin/linux-ymessenger
@${MKDIR} ${PREFIX}/lib/linux-ymessenger
${INSTALL_DATA} ${WRKDIR}/opt/ymessenger/lib/libgtkhtml.so.6\
${INSTALL_DATA} ${WRKDIR}/opt/ymessenger/lib/libgtkhtml.so.0\
${PREFIX}/lib/linux-ymessenger
.include <bsd.port.mk>

View File

@ -1,3 +1,6 @@
MD5 (rh7.ymessenger-1.0.4-1.i386.rpm) = 8d6ebad8eee0260ef9f53a535ced5f68
SHA256 (rh7.ymessenger-1.0.4-1.i386.rpm) = 2c549f288daff070c0ae5e58f65ff8197028c12b007b8641496fafbc3a763481
SIZE (rh7.ymessenger-1.0.4-1.i386.rpm) = 966719
MD5 (rh9.ymessenger-1.0.6-1.i386.rpm) = 1a2e515ad9512ba49dd4bc63e5b0ed6d
SHA256 (rh9.ymessenger-1.0.6-1.i386.rpm) = ec516782bb131fa14e5261a8d004df868f7d21a710c0298cd3b6322f67a1956d
SIZE (rh9.ymessenger-1.0.6-1.i386.rpm) = 723165
MD5 (ymessenger.bin) = b0dfd6d467406981b2f82c2534941e27
SHA256 (ymessenger.bin) = fac21fbb30b6c273a4764bd4e20d609ed873b7c3978b32751e0855e03aff0220
SIZE (ymessenger.bin) = 2025244

View File

@ -1,4 +1,7 @@
#!/bin/sh
if [ -w $HOME/.ymessenger/preferences ]; then
/usr/bin/grep -q '^PrimaryIdentity $' $HOME/.ymessenger/preferences&&/usr/bin/sed -i '' -e '/^PrimaryIdentity $/s/$/ ""/' $HOME/.ymessenger/preferences
fi
export LD_LIBRARY_PATH=%%PREFIX%%/lib/linux-ymessenger
cd %%PREFIX%%/libexec/linux-ymessenger
./ymessenger.bin $*

View File

@ -4,6 +4,6 @@ libexec/linux-ymessenger/ymessenger.desktop
libexec/linux-ymessenger/ymessenger.kdelnk
libexec/linux-ymessenger/ymessenger.bin
bin/linux-ymessenger
lib/linux-ymessenger/libgtkhtml.so.6
lib/linux-ymessenger/libgtkhtml.so.0
@dirrm libexec/linux-ymessenger
@dirrm lib/linux-ymessenger