Package Details: pipelight 1:0.2.8.2-2

Git Clone URL: https://aur.archlinux.org/pipelight.git (read-only)
Package Base: pipelight
Description: A browser plugin which allows one to use windows only plugins inside Linux browser
Upstream URL: https://launchpad.net/pipelight
Licenses: GPL2, MPL, LGPL2.1
Submitter: anish
Maintainer: anish
Last Packager: anish
Votes: 204
Popularity: 0.322351
First Submitted: 2013-08-18 22:14
Last Updated: 2016-02-18 07:42

Latest Comments

masticass commented on 2017-10-08 18:10

FOUND A SOLUTION:
Here's what I've done:
1. I found this other repo that contains the pluginloader.tar.gz and its signature: http://www.slackware.com/~alien/slackbuilds/pipelight/build/
2. Added the signature file as well to the PKGBUILD.
3. Run md5sum on all tar.gz files (there are 3 of them: v0.2.8.2.tar.gz, pluginloader-v0.2.8.2.tar.gz, pluginloader-v0.2.8.2.tar.gz.sig), and added their respective md5sum to the PKGBUILD (in order).
4. I got an error of a gpg key missing, so I ran gpg --recv-key E49CC0415DC2D5CA to get the key.
5. Enabled the validgpgkeys in the PKGBUILD (removed the # in front of the validpgpkey)
6. Added pluginloader-v${pkgver}.tar.gz.sig to the noextract
7. Ran makepkg -si
8. The package built without any problem.

Here's what the final PKGBUILD looks like, hope this helps:

# Maintainer: Anish Bhatt anish [at] gatech [dot] edu

pkgname='pipelight'
pkgver=0.2.8.2
pkgrel=2
epoch=1
pkgdesc="A browser plugin which allows one to use windows only plugins inside Linux browser"
url="https://launchpad.net/pipelight"
arch=('i686' 'x86_64')
license=('GPL2' 'LGPL2.1' 'MPL')

depends=('wine-staging>=1.9.2' 'ttf-ms-fonts' 'wget' 'cabextract' 'unzip' 'gnupg')
if [[ "$CARCH" == "x86_64" ]]; then
depends+=('lib32-libsm' 'lib32-libgl')
else
depends+=('libsm' 'libgl')
fi

optdepends=('zenity: needed for file dialogs',
'kdebase-kdialog: needed for file dialogs in KDE')

# Set value to 1 if you want to compile pluginloader yourself
_compilepluginloader=0

if [[ $_compilepluginloader != 0 ]]; then
if [[ "$CARCH" == "x86_64" ]]; then
makedepends=('mingw-w64-gcc')
else
makedepends=('mingw32-gcc')
fi
fi

makedepends+=('cabextract' 'xz')

#source=("https://bitbucket.org/mmueller2012/pipelight/get/v${pkgver%.*}-${pkgver##*.}.tar.bz2"
# "https://launchpad.net/pipelight/trunk/0.1/+download/pluginloader-prebuilt-v${pkgver%.*}-${pkgver##*.}.tar.gz")
source=("https://bitbucket.org/mmueller2012/pipelight/get/v${pkgver}.tar.bz2"
"pluginloader-v${pkgver}.tar.gz::http://www.slackware.com/~alien/slackbuilds/pipelight/build/pluginloader-v0.2.8.2.tar.gz"
"pluginloader-v${pkgver}.tar.gz.sig::http://www.slackware.com/~alien/slackbuilds/pipelight/build/pluginloader-v0.2.8.2.tar.gz.sig")
noextract=("pluginloader-v${pkgver}.tar.gz"
"pluginloader-v${pkgver}.tar.gz.sig")

md5sums=('6cd830fd80e46501b85fdccd059c240d'
'8c09e0efd38cb146947084fa16a0c7a3'
'a2c21805a78564b6fd20daa4a21c9d48')

validpgpkeys=(428B5197DE952586DA520298E49CC0415DC2D5CA) # Sebastian Lackner & Michael Mueller

install=pipelight.install

_srcdir=mmueller2012-pipelight-792e7a4885a6/

#this changes the install location for the pipelight executables
_prefix=/usr

#change this if your wine-silverlight is installed elsewhere, or if you prefer a different wine directory
_wine=/usr

prepare() {
pushd $_srcdir

if [[ $_compilepluginloader == 0 ]]; then
ln -sf ../pluginloader-v${pkgver}.tar.gz .
ln -sf ../pluginloader-v${pkgver}.tar.gz.sig .
fi

#patch -p1 < ../gnupg_fix.patch
pushd share/

#in case you want to use 64bit wine, you would need this
#if [[ "$CARCH" == "x86_64" ]]; then
# sed -i 's|Files|Files (x86)|g' configs/pipelight*
# sed -i 's|Files|Files (x86)|g' install-dependency
#fi

popd
popd
}

build() {
pushd $_srcdir
if [[ $_compilepluginloader == 0 ]]; then
./configure --prefix=$_prefix --wine-path=$_wine/bin/wine --gcc-runtime-dlls="" --win32-prebuilt
else
./configure --prefix=$_prefix --wine-path=$_wine/bin/wine --gcc-runtime-dlls="" --win32-static
fi
make
popd
}

package() {
make -C $_srcdir PREFIX=$_prefix DESTDIR=$pkgdir install

#if [[ $_compilepluginloader == 0 ]]; then
# install -Dm644 src/windows/pluginloader.exe ${pkgdir}/$_prefix/share/pipelight/.
#fi
# All plugin creation has now been moved to pipelight.install

# fix man page flags
chmod 0644 ${pkgdir}/usr/share/man/man1/pipelight-plugin.1
}

# vim:set ts=2 sw=2 et:

timofonic commented on 2017-09-05 05:19

Newer is better

https://github.com/keithbowes/pipelight

RoestVrijStaal commented on 2017-09-04 21:48

@rigon

Running an own webserver to serve the file sounds overkill to me. Didn't replacing the urls and md5sums in the PKGBUILD help?

Also FDS-team are dickheads for euthanizing pipeline on the fallacy of "Popular browsers support most of the stuff most people use pipeline for". Fuck them.

rigon commented on 2017-06-26 16:37

I tried to activate Silverlight plugin in Firefox ESR, but I wasn't able to do so...
After digging into the problem, I found some libraries were missing with:

pipelight-plugin --system-check

I search for packages that install those libraries, and I got it working.

The libraries are the following, and if you feel if it correct, please add them to the dependencies:

lib32-mpg123
lib32-gtk3
(AUR) lib32-smbclient
(AUR) lib32-unixodbc

rigon commented on 2017-06-26 16:29

I managed to install pipelight from here: http://www.slackware.com/~alien/slackbuilds/pipelight/build/
I downloaded the necessary files into a local webserver:

mkdir -p /srv/http/pluginloader/v0.2.8.2
wget http://www.slackware.com/~alien/slackbuilds/pipelight/build/pluginloader-v0.2.8.2.tar.gz -O /srv/http/pluginloader/v0.2.8.2/pluginloader.tar.gz
wget http://www.slackware.com/~alien/slackbuilds/pipelight/build/pluginloader-v0.2.8.2.tar.gz.sig -O /srv/http/pluginloader/v0.2.8.2/pluginloader.tar.gz.sig

Then, I added an entry in hosts file (run as root):

echo 127.0.0.1 repos.fds-team.de >> /etc/hosts

Re-run the installation and should work!

coderbrahmin commented on 2017-06-01 19:19

==> ERROR: Failure while downloading http://repos.fds-team.de/pluginloader/v0.2.8.2/pluginloader.tar.gz
Aborting...

Fincer commented on 2017-05-06 08:28

Thanks for the hint maccabbi! I got the plugin work with your instructions, though I made little additional changes to the PKGBUILD script (enabled x86_64 architecture).

To keep the hassle as minimum as possible, here's the PKGBUILD script I used:

https://pastebin.com/raw/FeSZBgFX

It has the changes maccabbi instructed earlier. Remember to include pipelight.install file as well and you're good to go.

And to get the plugin work, follow the basic steps:
1) close the web browser
2) make & install the plugin (pacman -U *.tar.xz)
3) delete $HOME/.wine-pipelight

In terminal, run:

4) sudo pipelight-plugin --create-mozilla-plugins
5) pipelight-plugin --enable silverlight5.1 (or whichever plugin you prefer)
6) pipelight-plugin --accept

Step 6 may not be necessary, but you may run the command just to make sure the plugin works in your browser. If the plugin still doesn't work, please see my comment below for possible solution.

maccabbi commented on 2017-05-02 15:39

I got it to work with a couple of changes

"pluginloader-v${pkgver}.tar.gz::http://repos.fds-team.de/pluginloader/v${pkgver}/pluginloader.tar.gz")
# "pluginloader-v${pkgver}.tar.gz.sig::http://repos.fds-team.de/pluginloader/v${pkgver}/pluginloader.tar.gz.sig"

change to:
"pluginloader-v${pkgver}.tar.gz::http://www.slackware.com/~alien/slackbuilds/pipelight/build/pluginloader-v0.2.8.2.tar.gz")
# "pluginloader-v${pkgver}.tar.gz.sig::http://www.slackware.com/~alien/slackbuilds/pipelight/build/pluginloader-v0.2.8.2.tar.gz.sig"

and change
_compilepluginloader=0
to
_compilepluginloader=1

Fincer commented on 2017-04-29 08:40

Damn this hassle. First I wondered why the domain was down. I ignored it for a few weeks, and returned to the issue now. The domain is still down. And now the explanation.

Luckily, the pipelight author has been kind enough to keep the pipelight code on BitBucket:

https://bitbucket.org/mmueller2012/pipelight/downloads/

felixonmars commented on 2017-04-13 18:39

The project has been discontinued: http://pipelight.net

All comments