Package Details: slimjet 43.0.1.0-1

Git Clone URL: https://aur.archlinux.org/slimjet.git (read-only, click to copy)
Package Base: slimjet
Description: Fast, smart and powerful browser based on Blink
Upstream URL: https://www.slimjet.com
Keywords: blink browser chromium slimjet web
Licenses: LicenseRef-Freeware
Conflicts: slimjet, slimjet-beta, slimjet35
Submitter: raininja
Maintainer: ahmedmoselhi (zxp19821005)
Last Packager: zxp19821005
Votes: 36
Popularity: 0.013373
First Submitted: 2015-08-22 22:29 (UTC)
Last Updated: 2024-05-06 01:21 (UTC)

Dependencies (9)

Required by (0)

Sources (2)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 14 Next › Last »

dalto commented on 2020-12-08 00:46 (UTC)

@punkrockguy318 Those gitkeep files are part of the official package from flashpeak.

You might want to report that upstream.

prg commented on 2020-12-08 00:34 (UTC)

package() in this PKGBUILD currently installs various empty .gitkeep files

$ pacman -Ql slimjet | grep gitkeep
slimjet /opt/.gitkeep slimjet /usr/bin/.gitkeep slimjet /usr/share/doc/slimjet/.gitkeep slimjet /usr/share/man/man1/.gitkeep.gz

dalto commented on 2020-08-29 14:47 (UTC)

I overhauled the PKGBUILD pretty heavily. I brought the dependencies up to date, fixed the permissions issues where everything in opt was being set executable and removed a bunch of unused/unneeded misc stuff.

I tested it quite a bit but if anything is no longer working please let me know.

dalto commented on 2020-08-24 18:37 (UTC)

@TrialnError, yes, I never cleaned it up properly after I took it over. I will take a look at it this week.

TrialnError commented on 2020-08-24 18:22 (UTC)

Hi.
I noticed some quirks with this PKGBUILD.
Firstly provides and replaces should be removed from the PKGBUILD. The first one doesn't do anything and the latter is used wrongly in this case :)
Same goes for the makedepends line. I kinda understand why it was added (architecture specific sources and deps) but it isn't really a makedep of slimjet itself.
Extracting the source is something that should be done in the prepare-function. package() should only contain the instructions where stuff gets shoved into $pkgdir.
All points which can be read in the AUR Guidelines in the Arch wiki in case you're wondering if I'm telling the truth :D

Best regards

dalto commented on 2020-08-04 20:18 (UTC)

@twnaing, two comments.

  1. Wouldn't that force the proprietary codecs on everyone?
  2. Are you allowed to include an unofficial binary like that in an AUR package? I thought that was considered bad form.

twnaing commented on 2020-08-04 12:38 (UTC) (edited on 2020-08-04 13:50 (UTC) by twnaing)

@dalto, with separate approach, ffmpeg code will be overwritten by slimjet package on every update.

Isn't it better to have latest (compatible) ffmpeg as another source?

# Maintainer: dalto <dalto[at]fastmail.com>
# Contributor: eagleeyetom <eagleeyetom@gmail.com>
# Original Maintainer: raininja <dandenkijin@gmail.com>
pkgname=slimjet
pkgver=27.0.5.0
pkgrel=1
pkgdesc="Fast, smart and powerful browser based on Blink"
arch=('i686' 'x86_64')
url="http://www.slimjet.com"
license=('custom:freeware')
depends=('alsa-lib' 'desktop-file-utils' 'flac' 'gconf' 'gtk2' 'harfbuzz' 'harfbuzz-icu' 'hicolor-icon-theme'
         'icu' 'libpng' 'libxss' 'libxtst' 'nss' 'openssl' 'nspr' 'opus' 'snappy' 'speech-dispatcher' 'ttf-font' 'xdg-utils')
optdepends=('kdialog: needed for file dialogs in KDE' 'ttf-liberation: fix fonts for some PDFs')
makedepends=('pacman>=4.2.0')
provides=('slimjet')
options=('!emptydirs' '!strip')
replaces=('slimjet')
_channel=release
source=('LICENSE')
source_i686=("${pkgname}-${pkgver}_i386.deb::http://www.slimjet.com/${_channel}/${pkgname}_i386.deb" "https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.46.5/0.46.5-linux-ia32.zip")
source_x86_64=("${pkgname}-${pkgver}_amd64.deb::http://www.slimjet.com/${_channel}/${pkgname}_amd64.deb" "https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.46.5/0.46.5-linux-x64.zip")
md5sums=('e2f3d75bbf4ea8cef106adb30c6b4c83')
md5sums_i686=('SKIP' 'SKIP')
md5sums_x86_64=('SKIP' 'SKIP')


package() {
    msg2 "Extracting the data tarball..."
    bsdtar -xf data.tar.xz -C "$pkgdir/"

    msg2 "Correcting permissions..."
    chmod -R 0755 "$pkgdir/"

    _crypto_files="libnspr4.so.0d libplds4.so.0d libplc4.so.0d libssl3.so.1d libnss3.so.1d libsmime3.so.1d libnssutil3.so.1d"
    _libdir="/usr/lib"

    add_crypto_symlinks() {

      for f in $_crypto_files; do
        target=$(echo $f | sed 's/.[01]d$//')
        if [ -f "/$_libdir/$target" ]; then
            ln -snf "/$_libdir/$target" "$pkgdir/opt/slimjet/$f"
            else echo "CHECK NSS, OPENSSL, AND NSPR VERSIONS"
            exit 1
        fi
        done
    }

    add_license_note() {
        mkdir "$pkgdir/usr/share/licenses/"
        install  "/$srcdir/LICENSE" "$pkgdir/usr/share/licenses/${pkgname}"
    }

    # Arch has  libudev.so.1, slimjet wants .0
    _libudev_0=libudev.so.0
    _libudev_1=libudev.so.1

    add_udev_symlinks() {
        ln -snf "/$_libdir/$_libudev_1" "$pkgdir/opt/slimjet/$_libudev_0"
    }

    add_ffmpeg() {
        install "/$srcdir/libffmpeg.so" "$pkgdir/opt/slimjet/libffmpeg.so"
    }

    msg2 "Adding udev and crypto symlinks, and a LICENSE ..."
    add_udev_symlinks
    add_crypto_symlinks
    add_license_note

    msg2 "Installing ffmpeg"
    add_ffmpeg

    msg2 "Adding Icons..."
    for i in 16x16 22x22 24x24 32x32 48x48 64x64 128x128 256x256; do
        install -Dm644 "$pkgdir"/opt/slimjet/product_logo_${i/x*}.png \
                       "$pkgdir"/usr/share/icons/hicolor/$i/apps/flashpeak-slimjet.png
    done
}

dalto commented on 2020-07-15 20:07 (UTC)

I mean I am not sure I can explain it any better than it is explained in what you copied in.

It wants root access the first time it runs, you select the number for what you want to do.

abd commented on 2020-07-15 20:00 (UTC) (edited on 2020-07-15 20:09 (UTC) by abd)

@dalto i don't understand it:
$ flashpeak-slimjet
Admin access is needed to enable the sandbox for enhanced security. Choose 'Use sudo command' if you have sudo access on systems like ubuntu. Choose 'Use su command' if you have access to root account. If you don't have admin access, select 'Quit' and add the switch '--no-sandbox' to run Slimjet without sandbox (less secure).
1) Use sudo command
2) Use su command
3) Quit
Please select an option to proceed:
Google chrome have exactly all these stuffs ?

dalto commented on 2020-07-15 14:43 (UTC) (edited on 2020-07-15 18:35 (UTC) by dalto)

@abd, if something isn't working you need to say what it is specifically for me to investigate it.

That being said, if something is failing to compile, it probably isn't this package but one of it's dependencies since this package is a binary.

Other than that, try running it from a terminal by typing flashpeak-slimjet