1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00

Update to 20050909.

o Overhaul libmap.conf samples. [1]
  (Remove old setting)
o Cleanup some functions on flash7. But...
o Add support Acroread7 on 4.x. [2]
  I don't test it:-).
o Add support 6.0-BETA3 or after.

Pointed out by:	many people [1]
Reported by:	vs [2]
This commit is contained in:
Norikatsu Shigemura 2005-09-09 13:36:11 +00:00
parent 6125537b34
commit 8bdaf978b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142283
4 changed files with 17 additions and 26 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= linuxpluginwrapper
PORTVERSION= 20050613
PORTVERSION= 20050909
PORTREVISION= 0
CATEGORIES= www linux emulators
MASTER_SITES= http://people.FreeBSD.org/~nork/distfiles/ \
@ -21,9 +21,8 @@ COMMENT= A wrapper allowing use of linux-plugins with native applications
.if !defined(WITHOUT_PLUGINS)
RUN_DEPENDS= ${X11BASE}/lib/linux-flashplugin6/libflashplayer.so:${PORTSDIR}/www/linux-flashplugin6
RUN_DEPENDS+= ${X11BASE}/lib/linux-mozilla/plugins/nphelix.so:${PORTSDIR}/multimedia/linux-realplayer
.if ${OSVERSION} >= 500000
RUN_DEPENDS+= ${LINUXBASE}/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so:${PORTSDIR}/print/acroread7
.else
.if ${OSVERSION} < 500000
USE_MOTIF= yes
.endif
.endif
@ -40,7 +39,11 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
PLIST= ${WRKDIR}/pkg-plist
.endif
.if ${OSVERSION} >= 503001
.if ${OSVERSION} >= 700001
LIBMAPCONF= ${EXAMPLESDIR}/libmap.conf-FreeBSD6
.elif ${OSVERSION} >= 600033 && ${OSVERSION} < 700000
LIBMAPCONF= ${EXAMPLESDIR}/libmap.conf-FreeBSD6
.elif ${OSVERSION} >= 503001
LIBMAPCONF= ${EXAMPLESDIR}/libmap.conf-FreeBSD5-stable
.elif ${OSVERSION} >= 500000
LIBMAPCONF= ${EXAMPLESDIR}/libmap.conf-FreeBSD5-current
@ -76,12 +79,6 @@ pre-everything::
.endif
.endif
post-patch:
@${REINPLACE_CMD} \
-e "s:/usr/local/lib/linux-:${X11BASE}/lib/linux-:g" \
-e "s:/usr/local/Acrobat5:${X11BASE}/Acrobat5:g" \
${WRKSRC}/misc/libmap*
post-build:
@${SED} -e 's,%%PREFIX%%,${PREFIX},' \
-e 's,%%LOCALBASE%%,${LOCALBASE},' \
@ -91,19 +88,13 @@ post-build:
< ${.CURDIR}/pkg-message > ${PKGMESSAGE}
.if defined(WITHOUT_PLUGINS)
@${SED} -e "/exec/d" ${.CURDIR}/pkg-plist > ${PLIST}
.else
.if ${OSVERSION} < 500000
@${SED} -e "/nppdf\.so/d" ${.CURDIR}/pkg-plist > ${PLIST}
.endif
.endif
pre-install:
@${MKDIR} ${X11BASE}/lib/browser_plugins
.if !defined(WITHOUT_PLUGINS)
.if ${OSVERSION} >= 500000
@${LN} -sf ${LINUXBASE}/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so \
${X11BASE}/lib/browser_plugins/
.endif
@${LN} -sf ${X11BASE}/lib/linux-flashplugin6/flashplayer.xpt \
${X11BASE}/lib/browser_plugins/
@${LN} -sf ${X11BASE}/lib/linux-flashplugin6/libflashplayer.so \

View File

@ -1,2 +1,2 @@
MD5 (linuxpluginwrapper-20050613.tar.gz) = 87a0f23064e6e5bbf8b03041a08d5f4c
SIZE (linuxpluginwrapper-20050613.tar.gz) = 21164
MD5 (linuxpluginwrapper-20050909.tar.gz) = 770b1bd755be9ce1ae6bdb209bd166d7
SIZE (linuxpluginwrapper-20050909.tar.gz) = 21497

View File

@ -1,19 +1,18 @@
================================================================
** PLEASE CHANGE FOLLOWING LINES FROM /etc/libmap.conf **
libpthread.so.0 liblthread.so.3
to
libpthread.so.0 pluginwrapper/flash6.so
** PLEASE NOTICE TO USER USING FROM 5.0 TO 5.3-BETA6 **
libm.so was version-bumped on 5.3-BETA7. Please change libm.so.2
to libm.so.3.
** PLEASE NOTICE TO USER USING FROM 6.0-BETA3 or AFTER **
shared libraries were version-bumped on 6.0-BETA3. Please overhaul
you libmap.conf.
** PLEASE NOTE Macromedia Flash7 SUPPORT IS ALPHA VERSION. **
If you find any problem, please send me report(s) with debug
information like 'make -DDEBUG install' or patch(es).
information like 'make -DDEBUG install' or patch(es). :-)
Firefox has a double free problem wih Flash7. So I don't
support it. Please don't send me a report about firefox.
Flash7 support is unstable. I know well that there are offten
crash or freeze with flash7. So don't send me a such report.
Of course, I always welcome to recieve fixed problems report.
Please get and apply a dlsym(3) hook patch.

View File

@ -7,6 +7,7 @@ lib/pluginwrapper/java3d_snd.so
lib/pluginwrapper/pips.so
lib/pluginwrapper/oci8.so
lib/pluginwrapper/realplayer.so
%%EXAMPLESDIR%%/libmap.conf-FreeBSD6
%%EXAMPLESDIR%%/libmap.conf-FreeBSD5-stable
%%EXAMPLESDIR%%/libmap.conf-FreeBSD5-current
%%EXAMPLESDIR%%/libmap.conf-FreeBSD4.x