Skip to content

Commit

Permalink
Merge pull request #3 from Ratler/moved-plugins
Browse files Browse the repository at this point in the history
Updated all modules to have /usr/lib/lunar/plugins as their plugin dir
  • Loading branch information
sofar committed Jul 10, 2012
2 parents 61183b7 + 19d84da commit c69758f
Show file tree
Hide file tree
Showing 15 changed files with 32 additions and 34 deletions.
8 changes: 4 additions & 4 deletions compilers/sun-jdk/BUILD
Expand Up @@ -33,18 +33,18 @@
fi
done &&

mkdir -p /opt/lunar/plugins &&
rm -f /opt/lunar/plugins/{libjavaplugin_oji.so,libnpjp2.so} &&
mkdir -p /usr/lib/lunar/plugins &&
rm -f /usr/lib/lunar/plugins/{libjavaplugin_oji.so,libnpjp2.so} &&

# Always use new plugin.
# Firefox 3, Seamonkey 2, Google chrome/inium use it
# KDE3/4 Konqueror and Opera always uses Java directly so do not use any plugin
if [ -d /usr/java/latest/jre/lib/amd64 ]; then
ln -sf /usr/java/latest/jre/lib/amd64/server/libjvm.so /usr/lib/
ln -sf /usr/java/latest/jre/lib/amd64/libnpjp2.so /opt/lunar/plugins/
ln -sf /usr/java/latest/jre/lib/amd64/libnpjp2.so /usr/lib/lunar/plugins/
else
ln -sf /usr/java/latest/jre/lib/i386/server/libjvm.so /usr/lib/
ln -sf /usr/java/latest/jre/lib/i386/libnpjp2.so /opt/lunar/plugins/
ln -sf /usr/java/latest/jre/lib/i386/libnpjp2.so /usr/lib/lunar/plugins/
fi &&

cd /usr/java/jdk${DVERSION}/jre/lib/security &&
Expand Down
9 changes: 5 additions & 4 deletions compilers/sun-jdk/DETAILS
Expand Up @@ -6,11 +6,12 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/jdk$DVERSION
WEB_SITE=http://www.oracle.com/technetwork/java/javase/downloads/index.html
LICENSE="proprietary"
ENTERED=20070210
UPDATED=20120505
FUZZY=off
LDD_CHECK=off
ARCHIVE=off
UPDATED=20120710
SHORT="SUN java runtime environment"
FUZZY=off
LDD_CHECK=off
ARCHIVE=off

cat << EOF
sun-jdk is a full features Java SDK including a Java runtime environment.
EOF
8 changes: 4 additions & 4 deletions compilers/sun-jre/BUILD
Expand Up @@ -33,18 +33,18 @@
fi
done &&

mkdir -p /opt/lunar/plugins &&
rm -f /opt/lunar/plugins/{libjavaplugin_oji.so,libnpjp2.so} &&
mkdir -p /usr/lib/lunar/plugins &&
rm -f /usr/lib/lunar/plugins/{libjavaplugin_oji.so,libnpjp2.so} &&

# Always use new plugin.
# Firefox 3, Seamonkey 2, Google chrome/inium use it
# KDE3/4 Konqueror and Opera always uses Java directly so do not use any plugin
if [ -d /usr/java/latest/lib/amd64 ]; then
ln -sf /usr/java/latest/lib/amd64/server/libjvm.so /usr/lib/
ln -sf /usr/java/latest/lib/amd64/libnpjp2.so /opt/lunar/plugins/
ln -sf /usr/java/latest/lib/amd64/libnpjp2.so /usr/lib/lunar/plugins/
else
ln -sf /usr/java/latest/lib/i386/server/libjvm.so /usr/lib/
ln -sf /usr/java/latest/lib/i386/libnpjp2.so /opt/lunar/plugins/
ln -sf /usr/java/latest/lib/i386/libnpjp2.so /usr/lib/lunar/plugins/
fi &&

cd /usr/java/jre${DVERSION}/lib/security &&
Expand Down
9 changes: 5 additions & 4 deletions compilers/sun-jre/DETAILS
Expand Up @@ -8,11 +8,12 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/jre$DVERSION
WEB_SITE=http://www.oracle.com/technetwork/java/javase/downloads/index.html
LICENSE="proprietary"
ENTERED=20061113
UPDATED=20120616
FUZZY=off
LDD_CHECK=off
ARCHIVE=off
UPDATED=20120710
SHORT="SUN java runtime environment"
FUZZY=off
LDD_CHECK=off
ARCHIVE=off

cat << EOF
sun-jre is only the run time environment, should be sufficient for
most users.
Expand Down
4 changes: 2 additions & 2 deletions web/chromium/BUILD
Expand Up @@ -90,8 +90,8 @@ EOF
ln -sf /usr/lib/libavutil.so.50 ${CHROMIUM_HOME}/libavutil.so.50
fi &&

# symlink to lunar location for browser plugins, should be /opt/lunar/plugins
ln -sf /opt/lunar/plugins ${CHROMIUM_HOME}/plugins &&
# symlink to lunar location for browser plugins, should be /usr/lib/lunar/plugins
ln -sf /usr/lib/lunar/plugins ${CHROMIUM_HOME}/plugins &&

# icon installation
mkdir -p /usr/share/pixmaps &&
Expand Down
2 changes: 1 addition & 1 deletion web/chromium/DETAILS
Expand Up @@ -8,7 +8,7 @@
SOURCE2_VFY=sha1:99a61908c84fca43766c64835f345eff05fee5b1
WEB_SITE=http://www.chromium.org/Home
ENTERED=20100104
UPDATED=20120524
UPDATED=20120710
SHORT="Open-source version of Google Chrome web browser"

cat << EOF
Expand Down
2 changes: 1 addition & 1 deletion web/firefox/DETAILS
Expand Up @@ -8,7 +8,7 @@
SOURCE_DIRECTORY=$BUILD_DIRECTORY/mozilla-release
WEB_SITE=http://www.mozilla.org/projects/firefox
ENTERED=20110814
UPDATED=20120617
UPDATED=20120710
SHORT="A speedy, full-featured web browser"

cat << EOF
Expand Down
2 changes: 1 addition & 1 deletion web/firefox/POST_INSTALL
Expand Up @@ -24,5 +24,5 @@ rm -rf /usr/share/idl/firefox-[02-9]*
export LD_LIBRARY_PATH="$FIREFOX_HOME/lib/$FFOX_LIBDIR:$FIREFOX_HOME/lib/$FFOX_LIBDIR/plugins:$FIREFOX_HOME/lib/$FFOX_LIBDIR/components"
export MOZILLA_FIVE_HOME="$FIREFOX_HOME/lib/$FFOX_LIBDIR"
# Add plugins
ln -snf /opt/lunar/plugins "$MOZILLA_FIVE_HOME/plugins"
ln -snf /usr/lib/lunar/plugins "$MOZILLA_FIVE_HOME/plugins"
ldconfig
7 changes: 1 addition & 6 deletions web/flash-plugin-11/BUILD
@@ -1,12 +1,7 @@
(

# This only applies if you do not have kdelibs4/Qt4 installed.
if ! module_installed kdelibs ; then
rm -rf usr/lib* usr/share/kde4
fi &&

prepare_install &&
install -Dm755 libflashplayer.so /opt/lunar/plugins/libflashplayer.so &&
install -Dm755 libflashplayer.so /usr/lib/lunar/plugins/libflashplayer.so &&
install -m755 usr/bin/flash-player-properties /usr/bin &&
install -Dm755 usr/share/pixmaps/flash-player-properties.png /usr/share/pixmaps/flash-player-properties.png &&
install -m755 usr/share/applications/flash-player-properties.desktop /usr/share/applications/ &&
Expand Down
2 changes: 1 addition & 1 deletion web/flash-plugin-11/DETAILS
Expand Up @@ -5,7 +5,7 @@
SOURCE_VFY=sha1:3f8ecfa1b9990ee4c8d47a83a6a6011283eaaa62
WEB_SITE=http://www.adobe.com/products/flashplayer.html
ENTERED=20110305
UPDATED=20120609
UPDATED=20120710
SHORT="Version 11.2 of the Adobe Flash plugin for web browsers"

cat << EOF
Expand Down
2 changes: 1 addition & 1 deletion web/flash-plugin-11/DETAILS.x86_64
Expand Up @@ -5,7 +5,7 @@
SOURCE_VFY=sha1:94760b74505ed07e8c9089590fb0fb345b23de36
WEB_SITE=http://www.adobe.com/products/flashplayer.html
ENTERED=20110305
UPDATED=20120609
UPDATED=20120710
SHORT="Version 11.2 of the Adobe Flash plugin for web browsers"

cat << EOF
Expand Down
2 changes: 1 addition & 1 deletion web/opera/BUILD
Expand Up @@ -10,7 +10,7 @@
cat >> /usr/share/opera/defaults/pluginpath.ini << EOF

; Lunar plugin directory
/opt/lunar/plugins=1
/usr/lib/lunar/plugins=1
EOF

) > $C_FIFO 2>&1
2 changes: 1 addition & 1 deletion web/opera/DETAILS
Expand Up @@ -10,7 +10,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION-$SUBVERSION.i386.linux
MAINTAINER=ratler@lunar-linux.org
LICENSE="proprietary"
ENTERED=20051002
UPDATED=20120615
UPDATED=20120710
SHORT="The fastest browser on Earth is even faster"
GARBAGE=off
ARCHIVE=off
Expand Down
2 changes: 1 addition & 1 deletion zbeta/chrome-linux/BUILD
Expand Up @@ -10,7 +10,7 @@
chmod go+x /usr/lib/chrome-linux/{chrome,chrome_sandbox,chrome-wrapper,libffmpegsumo.so,xdg-settings} &&
chmod 4711 /usr/lib/chrome-linux/nacl_helper_bootstrap &&

ln -sf /opt/lunar/plugins /usr/lib/${MODULE}/plugins &&
ln -sf /usr/lib/lunar/plugins /usr/lib/${MODULE}/plugins &&
if [ ! -h /usr/bin/chrome-linux ]; then
ln -snf /usr/lib/chrome-linux/chrome-wrapper /usr/bin/chrome-linux
fi
Expand Down
5 changes: 3 additions & 2 deletions zbeta/chrome-linux/DETAILS
Expand Up @@ -5,9 +5,10 @@
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
WEB_SITE=http://build.chromium.org/buildbot/waterfall/console
ENTERED=20100105
UPDATED=20100225
ARCHIVE=off
UPDATED=20120710
SHORT="Alpha snapshot of Google Chrome web browser, binary"
ARCHIVE=off

cat << EOF
Chromium is an open-source browser project that aims to build a safer, faster,
and more stable way for all users to experience the web.
Expand Down

0 comments on commit c69758f

Please sign in to comment.