[Midnightbsd-cvs] mports [19473] trunk/www/opera: attempt to patch opera loader
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Jun 10 19:02:35 EDT 2015
Revision: 19473
http://svnweb.midnightbsd.org/mports/?rev=19473
Author: laffer1
Date: 2015-06-10 19:02:34 -0400 (Wed, 10 Jun 2015)
Log Message:
-----------
attempt to patch opera loader
Modified Paths:
--------------
trunk/www/opera/Makefile
trunk/www/opera/pkg-plist
Added Paths:
-----------
trunk/www/opera/files/
trunk/www/opera/files/libmap.conf
trunk/www/opera/files/patch-lib_opera_pluginwrapper_operapluginwrapper
trunk/www/opera/files/patch-opera
Modified: trunk/www/opera/Makefile
===================================================================
--- trunk/www/opera/Makefile 2015-06-10 23:01:34 UTC (rev 19472)
+++ trunk/www/opera/Makefile 2015-06-10 23:02:34 UTC (rev 19473)
@@ -3,7 +3,7 @@
PORTNAME= opera
PORTVERSION= ${OPERA_VER}
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= www ipv6
MASTER_SITES= ftp://ftp.opera.com/pub/opera/${MASTER_SITES_VER_PATH}/ \
ftp://opera.inode.at/${MASTER_SITES_VER_PATH}/ \
@@ -33,6 +33,7 @@
USE_XORG= x11 xext sm ice xft xrender
INSTALLS_ICONS= yes
+WEBPLUGIN_SUBDIR= ${LOCALBASE}/lib/browser_plugins/symlinks/opera
NO_BUILD= yes
EXPLICIT_PACKAGE_DEPENDS= yes
@@ -90,6 +91,9 @@
@${RM} ${DATADIR}/defaults/pluginpath.ini.bak
-${LOCALBASE}/bin/update-desktop-database
-${LOCALBASE}/bin/update-mime-database ${LOCALBASE}/share/mime
+ @${MKDIR} ${PREFIX}/etc/libmap.d
+ ${INSTALL_DATA} ${FILESDIR}/libmap.conf \
+ ${PREFIX}/etc/libmap.d/opera.conf
# target to build distinfo for both arch
makesum-all:
Added: trunk/www/opera/files/libmap.conf
===================================================================
--- trunk/www/opera/files/libmap.conf (rev 0)
+++ trunk/www/opera/files/libmap.conf 2015-06-10 23:02:34 UTC (rev 19473)
@@ -0,0 +1,2 @@
+libfreetype.so.9 libfreetype.so.6
+libxml2.so.5 libxml2.so.2
Property changes on: trunk/www/opera/files/libmap.conf
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/www/opera/files/patch-lib_opera_pluginwrapper_operapluginwrapper
===================================================================
--- trunk/www/opera/files/patch-lib_opera_pluginwrapper_operapluginwrapper (rev 0)
+++ trunk/www/opera/files/patch-lib_opera_pluginwrapper_operapluginwrapper 2015-06-10 23:02:34 UTC (rev 19473)
@@ -0,0 +1,10 @@
+Index: lib/opera/pluginwrapper/operapluginwrapper
+@@ -14,6 +14,8 @@
+ fi
+ done
+
++[ "${wrappertype}" != "native" ] && unset LD_LIBRARY_PATH
++
+ wrapper="$0"-"${wrappertype}"
+
+ exec ${OPERA_PLUGINWRAPPER_PREFIX} "$wrapper" "$@"
Property changes on: trunk/www/opera/files/patch-lib_opera_pluginwrapper_operapluginwrapper
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/www/opera/files/patch-opera
===================================================================
--- trunk/www/opera/files/patch-opera (rev 0)
+++ trunk/www/opera/files/patch-opera 2015-06-10 23:02:34 UTC (rev 19473)
@@ -0,0 +1,7 @@
+Index: opera
+@@ -1,4 +1,5 @@
+ #!/bin/sh
+ export OPERA_DIR=${OPERA_DIR:-"${0%/*}"/share/opera}
+ export OPERA_PERSONALDIR=${OPERA_PERSONALDIR:-"${0%/*}"/profile}
++export LD_LIBRARY_PATH="${0%/*}"/lib/opera:$LD_LIBRARY_PATH
+ exec "${0%/*}"/lib/opera/opera "$@"
Property changes on: trunk/www/opera/files/patch-opera
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/www/opera/pkg-plist
===================================================================
--- trunk/www/opera/pkg-plist 2015-06-10 23:01:34 UTC (rev 19472)
+++ trunk/www/opera/pkg-plist 2015-06-10 23:02:34 UTC (rev 19473)
@@ -1,4 +1,5 @@
bin/opera
+etc/libmap.d/opera.conf
lib/opera/gstreamer/plugins/libgstoperamatroska.so
lib/opera/gstreamer/plugins/libgstoperavp8.so
lib/opera/liboperagtk2.so
More information about the Midnightbsd-cvs
mailing list