Browse Source

Many fixes & updates

master
Pekka Helenius 5 years ago
parent
commit
710e95c73a
27 changed files with 207 additions and 213 deletions
  1. +3
    -3
      cr2fits/PKGBUILD
  2. +3
    -3
      cr2hdr/PKGBUILD
  3. +7
    -7
      haguichi/PKGBUILD
  4. +2
    -2
      kbd-fi-nbsp/PKGBUILD
  5. +4
    -4
      kde-cdemu-manager/PKGBUILD
  6. +3
    -3
      kde-magiclantern-shortcut/PKGBUILD
  7. +6
    -4
      kde-servicemenus-dualiso/PKGBUILD
  8. +7
    -5
      kde-servicemenus-flifconversion/PKGBUILD
  9. +3
    -3
      kde-servicemenus-hexstrings/PKGBUILD
  10. +9
    -9
      kde-servicemenus-mediainfo/PKGBUILD
  11. +10
    -7
      kde-servicemenus-multimediatools/PKGBUILD
  12. +12
    -15
      kde-servicemenus-qnapi/PKGBUILD
  13. +4
    -4
      kde-servicemenus-qnapi/qnapi-downloadsub.sh
  14. +13
    -16
      kde-servicemenus-searchactions/PKGBUILD
  15. +4
    -5
      kde-servicemenus-searchactions/searchinside-casesensitive.sh
  16. +4
    -5
      kde-servicemenus-searchactions/searchinside.sh
  17. +12
    -20
      kde-servicemenus-unlockpdf/PKGBUILD
  18. +15
    -0
      kde-servicemenus-unlockpdf/pdfunlock.desktop
  19. +0
    -31
      kde-servicemenus-unlockpdf/pdfunlock.patch
  20. +9
    -0
      kde-servicemenus-unlockpdf/pdfunlock.sh
  21. +9
    -5
      kde-servicemenus-virtualbox/PKGBUILD
  22. +5
    -5
      kde-servicemenus-virtualbox/virtualbox-resize.sh
  23. +10
    -6
      magiclantern-bootablecard/PKGBUILD
  24. +8
    -8
      mlvdump/PKGBUILD
  25. +14
    -14
      pacvis-git/PKGBUILD
  26. +24
    -21
      pano2vr/PKGBUILD
  27. +7
    -8
      pano2vr/changedir.patch

+ 3
- 3
cr2fits/PKGBUILD View File

@ -15,7 +15,7 @@ source=(
md5sums=('04924ee6fa2529d57e83603e73516984')
package() {
mkdir -p $pkgdir/usr/bin/
cp $srcdir/$pkgname.py $pkgdir/usr/bin/$pkgname.py
chmod 755 $pkgdir/usr/bin/$pkgname.py
mkdir -p ${pkgdir}/usr/bin/
cp $srcdir/${pkgname}.py ${pkgdir}/usr/bin/${pkgname}.py
chmod 755 ${pkgdir}/usr/bin/${pkgname}.py
}

+ 3
- 3
cr2hdr/PKGBUILD View File

@ -16,7 +16,7 @@ source=(
md5sums=('a526d2f700603003ade464e0521f8e23')
package() {
mv $srcdir/cr2hdr-static.linux.x86.2014-06-19-f9a29c7c0685 $srcdir/cr2hdr
mkdir -p "$pkgdir/usr/bin"
cp -ar $srcdir/cr2hdr "$pkgdir/usr/bin"
mv ${srcdir}/cr2hdr-static.linux.x86.2014-06-19-f9a29c7c0685 ${srcdir}/cr2hdr
mkdir -p "${pkgdir}/usr/bin"
cp -ar ${srcdir}/cr2hdr "${pkgdir}/usr/bin"
}

+ 7
- 7
haguichi/PKGBUILD View File

@ -12,7 +12,7 @@ url="http://www.haguichi.net"
license=('GPL2')
depends=('logmein-hamachi' 'gconf-sharp' 'notify-sharp' 'gtk2')
makedepends=('make')
#source=("http://launchpad.net/$pkgname/$_series/$pkgver/+download/$pkgname-$pkgver-clr4.0.tar.gz")
#source=("http://launchpad.net/${pkgname}/$_series/${pkgver}/+download/${pkgname}-${pkgver}-clr4.0.tar.gz")
source=(
'haguichi-1.0.26-clr4.0.tar.gz'
'fix-hamachi-not-detected.patch'
@ -21,21 +21,21 @@ sha256sums=('e65fad7961cd8152ca8a47477c55ba9d1f4a12fdc602c04d32fed1b29c2266b4'
'2015c65d7081fd1fc06357c8b58603b78a063e3d38bea3dfd4b06d8fb35f49e2')
prepare() {
cd $srcdir/$pkgname-$pkgver
patch -Np1 -i "$srcdir/fix-hamachi-not-detected.patch"
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np1 -i "${srcdir}/fix-hamachi-not-detected.patch"
}
build() {
cd $srcdir/$pkgname-$pkgver
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
}
check() {
cd $srcdir/$pkgname-$pkgver
cd ${srcdir}/${pkgname}-${pkgver}
make -k check
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}

+ 2
- 2
kbd-fi-nbsp/PKGBUILD View File

@ -27,9 +27,9 @@ prepare() {
package() {
gzip "${srcdir}/${_pkgname}-${_pkgver}"/data/keymaps/i386/qwerty/fi.map
mkdir -p "$pkgdir"/usr/share/kbd/keymaps/i386/qwerty/
mkdir -p "${pkgdir}"/usr/share/kbd/keymaps/i386/qwerty/
install -Dm644 "${srcdir}/${_pkgname}-${_pkgver}"/data/keymaps/i386/qwerty/fi.map.gz "$pkgdir"/usr/share/kbd/keymaps/i386/qwerty/fi_nbsp.map.gz
install -Dm644 "${srcdir}/${_pkgname}-${_pkgver}"/data/keymaps/i386/qwerty/fi.map.gz "${pkgdir}"/usr/share/kbd/keymaps/i386/qwerty/fi_nbsp.map.gz
msg2 '


+ 4
- 4
kde-cdemu-manager/PKGBUILD View File

@ -15,14 +15,14 @@ provides=('kde-cdemu-manager')
conflicts=('kde-cdemu-manager')
makedepends=('cmake' 'extra-cmake-modules')
source=(
"https://dl.opendesktop.org/api/files/downloadfile/id/1511553040/o/1/s/3e4f95734673128605fc1d8721894a1c/t/1517011407/u/65804/${_pkgname}-${pkgver}.tar.bz2"
minimize-at-startup.patch
"https://dl.opendesktop.org/api/files/downloadfile/id/1511553040/o/1/s/3e4f95734673128605fc1d8721894a1c/t/1517011407/u/65804/${_pkgname}-${pkgver}.tar.bz2"
"minimize-at-startup.patch"
)
md5sums=('f65deb825bb50a1c1bbf2a2f7a5b8ac4'
'c2219c13a4eb9860d16aa3b1958887e4')
prepare() {
patch -Np1 -i $srcdir/minimize-at-startup.patch
patch -Np1 -i ${srcdir}/minimize-at-startup.patch
mkdir -p build
}
@ -37,5 +37,5 @@ build() {
package() {
cd build
make DESTDIR=$pkgdir install
make DESTDIR=${pkgdir} install
}

+ 3
- 3
kde-magiclantern-shortcut/PKGBUILD View File

@ -16,7 +16,7 @@ md5sums=('6a4c32203c332e715fef54e91d9bb455'
'eb85fddbe44d38681673d0f01ac3853b')
package() {
mkdir -p $pkgdir/usr/share/{pixmaps,applications}
install -m755 $srcdir/ml.png $pkgdir/usr/share/pixmaps/
install -m755 $srcdir/ml-bootablecard.desktop $pkgdir/usr/share/applications/
mkdir -p ${pkgdir}/usr/share/{pixmaps,applications}
install -m755 ${srcdir}/ml.png ${pkgdir}/usr/share/pixmaps/
install -m755 ${srcdir}/ml-bootablecard.desktop ${pkgdir}/usr/share/applications/
}

+ 6
- 4
kde-servicemenus-dualiso/PKGBUILD View File

@ -6,13 +6,15 @@ pkgrel=1
pkgdesc="Process Dual ISO RAW images (KDE5 Dolphin action)"
arch=('any')
license=('GPL')
source=(dualiso.desktop)
source=(
'dualiso.desktop'
)
depends=('cr2hdr' 'dolphin')
md5sums=('c2c579853f914d156656ac6981319833')
package() {
mkdir -p $pkgdir/usr/share/kservices5/ServiceMenus/
cp $srcdir/dualiso.desktop $pkgdir/usr/share/kservices5/ServiceMenus/
chmod 755 $pkgdir/usr/share/kservices5/ServiceMenus/dualiso.desktop
mkdir -p ${pkgdir}/usr/share/kservices5/ServiceMenus/
cp ${srcdir}/dualiso.desktop ${pkgdir}/usr/share/kservices5/ServiceMenus/
chmod 755 ${pkgdir}/usr/share/kservices5/ServiceMenus/dualiso.desktop
}

+ 7
- 5
kde-servicemenus-flifconversion/PKGBUILD View File

@ -6,15 +6,17 @@ pkgrel=1
pkgdesc="Convert image files to FLIF format with Dolphin or Konqueror (KDE5 Dolphin action)"
arch=('any')
license=('GPL')
source=(flif-conversion.desktop
flif-conversion.sh)
source=(
'flif-conversion.desktop'
'flif-conversion.sh'
)
depends=('flif' 'dolphin')
md5sums=('148108447aecfb7e7d60ce15a937d140'
'b67c8ad9e57580a0e21cc585f8aa93ed')
package() {
mkdir -p $pkgdir/usr/share/kservices5/ServiceMenus/
cp $srcdir/{flif-conversion.desktop,flif-conversion.sh} $pkgdir/usr/share/kservices5/ServiceMenus/
chmod 755 $pkgdir/usr/share/kservices5/ServiceMenus/{flif-conversion.desktop,flif-conversion.sh}
mkdir -p ${pkgdir}/usr/share/kservices5/ServiceMenus/
cp ${srcdir}/{flif-conversion.desktop,flif-conversion.sh} ${pkgdir}/usr/share/kservices5/ServiceMenus/
chmod 755 ${pkgdir}/usr/share/kservices5/ServiceMenus/{flif-conversion.desktop,flif-conversion.sh}
}

+ 3
- 3
kde-servicemenus-hexstrings/PKGBUILD View File

@ -16,7 +16,7 @@ md5sums=('d239cc16272b4ba3243172bd72dff939'
'7c06343e1802be5adf445e719a2c1fd0')
package() {
mkdir -p $pkgdir/usr/share/kservices5/ServiceMenus/
cp $srcdir/{hexstrings.desktop,hexstrings.sh} $pkgdir/usr/share/kservices5/ServiceMenus/
chmod 755 $pkgdir/usr/share/kservices5/ServiceMenus/{hexstrings.desktop,hexstrings.sh}
mkdir -p ${pkgdir}/usr/share/kservices5/ServiceMenus/
cp ${srcdir}/{hexstrings.desktop,hexstrings.sh} ${pkgdir}/usr/share/kservices5/ServiceMenus/
chmod 755 ${pkgdir}/usr/share/kservices5/ServiceMenus/{hexstrings.desktop,hexstrings.sh}
}

+ 9
- 9
kde-servicemenus-mediainfo/PKGBUILD View File

@ -9,21 +9,21 @@ url="https://store.kde.org/p/998430"
license=('GPL')
depends=('ffmpeg' 'dolphin' 'kdialog')
source=(
https://dl.opendesktop.org/api/files/download/id/1460731765/107335-AudioVideoinfo-qt.desktop
program-cleanup.patch
'https://dl.opendesktop.org/api/files/download/id/1460731765/107335-AudioVideoinfo-qt.desktop'
'program-cleanup.patch'
)
md5sums=('bf395c70ce7a6f69352ce21ab6cd168e'
'10c6e8c32362917b96e57247219af126')
prepare() {
mkdir -p $srcdir/$pkgname
cp $srcdir/107335-AudioVideoinfo-qt.desktop $srcdir/$pkgname
cd $srcdir/$pkgname
patch -Np1 -i "$srcdir/program-cleanup.patch"
mkdir -p ${srcdir}/${pkgname}
cp ${srcdir}/107335-AudioVideoinfo-qt.desktop ${srcdir}/${pkgname}
cd ${srcdir}/${pkgname}
patch -Np1 -i "${srcdir}/program-cleanup.patch"
}
package() {
mv $srcdir/$pkgname/107335-AudioVideoinfo-qt.desktop $srcdir/$pkgname/mediainfo-qt.desktop
mkdir -p $pkgdir/usr/share/kservices5/ServiceMenus/
install -m 644 $srcdir/$pkgname/*.desktop $pkgdir/usr/share/kservices5/ServiceMenus/
mv ${srcdir}/${pkgname}/107335-AudioVideoinfo-qt.desktop ${srcdir}/${pkgname}/mediainfo-qt.desktop
mkdir -p ${pkgdir}/usr/share/kservices5/ServiceMenus/
install -m 644 ${srcdir}/${pkgname}/*.desktop ${pkgdir}/usr/share/kservices5/ServiceMenus/
}

+ 10
- 7
kde-servicemenus-multimediatools/PKGBUILD View File

@ -1,20 +1,23 @@
# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
pkgname=kde-servicemenus-multimediatools
pkgver=1
pkgrel=1
pkgdesc="A KDE service menus for media conversions (KDE5 Dolphin action)"
arch=('any')
url="https://store.kde.org/p/998464"
license=('GPL')
depends=('ffmpeg' 'dolphin' 'kdialog')
source=('ffmpeg-fileconversion-audio.sh'
'ffmpeg-fileconversion-video.sh'
'ffmpeg-fileconversion.desktop')
source=(
'ffmpeg-fileconversion-audio.sh'
'ffmpeg-fileconversion-video.sh'
'ffmpeg-fileconversion.desktop'
)
md5sums=('badf342f35cf21f15131859b49dd9308'
'ab997eca4ca58a8b398b352019a45d18'
'045a6657a8e83e1e1a909f6d0f2f8cb0')
package() {
mkdir -p $pkgdir/usr/share/kservices5/ServiceMenus/
cp $srcdir/{ffmpeg-fileconversion.desktop,ffmpeg-fileconversion-audio.sh,ffmpeg-fileconversion-video.sh} $pkgdir/usr/share/kservices5/ServiceMenus/
chmod 755 $pkgdir/usr/share/kservices5/ServiceMenus/{ffmpeg-fileconversion.desktop,ffmpeg-fileconversion-audio.sh,ffmpeg-fileconversion-video.sh}
mkdir -p ${pkgdir}/usr/share/kservices5/ServiceMenus/
cp ${srcdir}/{ffmpeg-fileconversion.desktop,ffmpeg-fileconversion-audio.sh,ffmpeg-fileconversion-video.sh} ${pkgdir}/usr/share/kservices5/ServiceMenus/
chmod 755 ${pkgdir}/usr/share/kservices5/ServiceMenus/{ffmpeg-fileconversion.desktop,ffmpeg-fileconversion-audio.sh,ffmpeg-fileconversion-video.sh}
}

+ 12
- 15
kde-servicemenus-qnapi/PKGBUILD View File

@ -1,25 +1,22 @@
# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
pkgname=kde-servicemenus-qnapi
pkgver=1
pkgrel=1
pkgdesc="Download subtitles for a video file using QNapi (KDE5 Dolphin action)"
url=""
arch=('any')
license=('BSD')
install=''
license=('GPL')
depends=('dolphin' 'konsole' 'qnapi')
source=(
qnapi-downloadsub.desktop
qnapi-downloadsub.sh
'qnapi-downloadsub.desktop'
'qnapi-downloadsub.sh'
)
depends=('dolphin' 'konsole' 'qnapi')
optdepends=()
conflicts=()
#provides=''
makedepends=()
md5sums=('a5a6d1c01a89239695de7d8c29c1c470'
'1d58fafdf1f8858a65214d64b3056bbf')
package() {
mkdir -p $pkgdir/usr/share/kservices5/ServiceMenus/
cp $srcdir/{qnapi-downloadsub.desktop,qnapi-downloadsub.sh} $pkgdir/usr/share/kservices5/ServiceMenus/
chmod 755 $pkgdir/usr/share/kservices5/ServiceMenus/{qnapi-downloadsub.desktop,qnapi-downloadsub.sh}
mkdir -p ${pkgdir}/usr/share/kservices5/ServiceMenus/
cp ${srcdir}/{qnapi-downloadsub.desktop,qnapi-downloadsub.sh} ${pkgdir}/usr/share/kservices5/ServiceMenus/
chmod 755 ${pkgdir}/usr/share/kservices5/ServiceMenus/{qnapi-downloadsub.desktop,qnapi-downloadsub.sh}
}
md5sums=('a5a6d1c01a89239695de7d8c29c1c470'
'1d58fafdf1f8858a65214d64b3056bbf')

+ 4
- 4
kde-servicemenus-qnapi/qnapi-downloadsub.sh View File

@ -1,7 +1,7 @@
#!/bin/bash
#!/bin/env bash
while [ $# -gt 0 ]; do
VIDEO=$1
qnapi -c "$VIDEO"
shift
VIDEO=$1
qnapi -c "$VIDEO"
shift
done

+ 13
- 16
kde-servicemenus-searchactions/PKGBUILD View File

@ -1,27 +1,24 @@
# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
pkgname=kde-servicemenus-searchactions
pkgver=1
pkgrel=1
pkgdesc="Search strings inside files using Dolphin or Konqueror (KDE5 Dolphin action)"
url=""
arch=('any')
license=('BSD')
install=''
license=('GPL')
source=(
searchinside.desktop
searchinside.sh
searchinside-casesensitive.sh
'searchinside.desktop'
'searchinside.sh'
'searchinside-casesensitive.sh'
)
md5sums=('97e0476998ae35c034316e07623463b1'
'5466d8b1b6334ea5a7ce9b5e586545af'
'e78a0246503d95489730ec71bb998a97')
depends=('grep' 'findutils' 'dolphin' 'konsole')
optdepends=()
conflicts=()
#provides=''
makedepends=()
package() {
mkdir -p $pkgdir/usr/share/kservices5/ServiceMenus/
cp $srcdir/{searchinside.desktop,searchinside.sh,searchinside-casesensitive.sh} $pkgdir/usr/share/kservices5/ServiceMenus/
chmod 755 $pkgdir/usr/share/kservices5/ServiceMenus/{searchinside.desktop,searchinside.sh,searchinside-casesensitive.sh}
mkdir -p $pkgdir/usr/share/kservices5/ServiceMenus/
cp $srcdir/{searchinside.desktop,searchinside.sh,searchinside-casesensitive.sh} $pkgdir/usr/share/kservices5/ServiceMenus/
chmod 755 $pkgdir/usr/share/kservices5/ServiceMenus/{searchinside.desktop,searchinside.sh,searchinside-casesensitive.sh}
}
md5sums=('97e0476998ae35c034316e07623463b1'
'5466d8b1b6334ea5a7ce9b5e586545af'
'e78a0246503d95489730ec71bb998a97')

+ 4
- 5
kde-servicemenus-searchactions/searchinside-casesensitive.sh View File

@ -1,10 +1,9 @@
#!/bin/bash
#!/bin/env bash
THISFOLDER=$(pwd)
echo -e "\e[1mSearch inside files -- [case sensitive]\e[0m"
echo -e "\nCurrent search folder: $THISFOLDER\n"
echo -e "\nCurrent search folder: $PWD\n"
read -r -p "Enter string to search: " STRING
echo -e "\nFiles containing the string \e[93m$STRING\e[0m in \e[94m$THISFOLDER/\e[0m and subfolders are:\n\e[32m"
grep -Rls $STRING $THISFOLDER
echo -e "\nFiles containing the string \e[93m$STRING\e[0m in \e[94m$PWD/\e[0m and subfolders are:\n\e[32m"
grep -Rls $STRING $PWD
echo -e "\e[91m\nSearch finished\e[0m"

+ 4
- 5
kde-servicemenus-searchactions/searchinside.sh View File

@ -1,10 +1,9 @@
#!/bin/bash
#!/bin/env bash
THISFOLDER=$(pwd)
echo -e "\e[1mSearch inside files -- [ignore case]\e[0m"
echo -e "\nCurrent search folder: $THISFOLDER\n"
echo -e "\nCurrent search folder: $PWD\n"
read -r -p "Enter string to search: " STRING
echo -e "\nFiles containing the string \e[93m$STRING\e[0m in \e[94m$THISFOLDER/\e[0m and subfolders are:\n\e[32m"
grep -Rils $STRING $THISFOLDER
echo -e "\nFiles containing the string \e[93m$STRING\e[0m in \e[94m$PWD/\e[0m and subfolders are:\n\e[32m"
grep -Rils $STRING $PWD
echo -e "\e[91m\nSearch finished\e[0m"

+ 12
- 20
kde-servicemenus-unlockpdf/PKGBUILD View File

@ -1,30 +1,22 @@
# Maintainer: Sabart Otto - Seberm <seberm[at]gmail[dot].com
# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
pkgname=kde-servicemenus-unlockpdf
pkgver=1
pkgrel=1
pkgdesc="Unlock PDF files using Dolphin or Konqueror (KDE5 Dolphin action)"
url=()
arch=('any')
license=('BSD')
install=''
source=(pdfunlock.patch)
license=('GPL')
depends=('ghostscript' 'dolphin')
optdepends=()
conflicts=()
#provides=''
makedepends=()
prepare() {
mkdir $pkgname-$pkgver
cd $srcdir/$pkgname-$pkgver
touch pdfunlock.sh pdfunlock.desktop
patch -Np1 -i "$srcdir/pdfunlock.patch"
}
source=(
'pdfunlock.desktop'
'pdfunlock.sh'
)
md5sums=('44ee294b4b8c640d00883f482646fce8'
'c046c519ca61d11b2cf4822c3ea371c8')
package() {
mkdir -p $pkgdir/usr/share/kservices5/ServiceMenus/
cp $srcdir/$pkgname-$pkgver/{pdfunlock.desktop,pdfunlock.sh} $pkgdir/usr/share/kservices5/ServiceMenus/
chmod 755 $pkgdir/usr/share/kservices5/ServiceMenus/{pdfunlock.desktop,pdfunlock.sh}
mkdir -p ${pkgdir}/usr/share/kservices5/ServiceMenus/
cp ${srcdir}/{pdfunlock.desktop,pdfunlock.sh} ${pkgdir}/usr/share/kservices5/ServiceMenus/
chmod 755 ${pkgdir}/usr/share/kservices5/ServiceMenus/{pdfunlock.desktop,pdfunlock.sh}
}
md5sums=('a1880f1e3b2f0d4b8f90c34a2ea09cef')

+ 15
- 0
kde-servicemenus-unlockpdf/pdfunlock.desktop View File

@ -0,0 +1,15 @@
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=application/pdf
Icon=application-pdf
Actions=pdfunlock;
X-KDE-StartupNotify=false
X-KDE-Priority=TopLevel
TryExec=gs
[Desktop Action pdfunlock]
Name=Unlock this PDF file
Name[fi]=Poista PDF-tiedoston suojaukset
Icon=application-pdf
Exec=/usr/share/kservices5/ServiceMenus/pdfunlock.sh

+ 0
- 31
kde-servicemenus-unlockpdf/pdfunlock.patch View File

@ -1,31 +0,0 @@
--- a/pdfunlock.sh
+++ b/pdfunlock.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+while [ $# -gt 0 ]; do
+ ENCRYP=$1
+ DECRYP=$(echo "$ENCRYP" | sed 's/\.\w*$/_unlocked.pdf/')
+ #qpdf --decrypt "$ENCRYP" "$DECRYP"
+ gs -sPDFPassword=$PASS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=%stdout% -c .setpdfwrite -f "$ENCRYP" > "$DECRYP"
+ shift
+done
\ No newline at end of file
--- a/pdfunlock.desktop
+++ b/pdfunlock.desktop
@@ -0,0 +1,15 @@
+[Desktop Entry]
+Type=Service
+ServiceTypes=KonqPopupMenu/Plugin
+MimeType=application/pdf
+Icon=application-pdf
+Actions=pdfunlock;
+X-KDE-StartupNotify=false
+X-KDE-Priority=TopLevel
+TryExec=gs
+
+[Desktop Action pdfunlock]
+Name=Unlock this PDF file
+Name[fi]=Poista PDF-tiedoston suojaukset
+Icon=application-pdf
+Exec=/usr/share/kservices5/ServiceMenus/pdfunlock.sh

+ 9
- 0
kde-servicemenus-unlockpdf/pdfunlock.sh View File

@ -0,0 +1,9 @@
#!/bin/env bash
while [ $# -gt 0 ]; do
ENCRYP=$1
DECRYP=$(echo "$ENCRYP" | sed 's/\.\w*$/_unlocked.pdf/')
#qpdf --decrypt "$ENCRYP" "$DECRYP"
gs -sPDFPassword=$PASS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=%stdout% -c .setpdfwrite -f "$ENCRYP" > "$DECRYP"
shift
done

+ 9
- 5
kde-servicemenus-virtualbox/PKGBUILD View File

@ -1,3 +1,5 @@
# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
pkgname=kde-servicemenus-virtualbox
pkgver=1
pkgrel=1
@ -5,13 +7,15 @@ pkgdesc="A KDE service menus for resizing virtualbox VDI files (KDE5 Dolphin act
arch=('any')
license=('GPL')
depends=('virtualbox' 'dolphin' 'kdialog')
source=('virtualbox-resize.sh'
'virtualbox-resize.desktop')
source=(
'virtualbox-resize.sh'
'virtualbox-resize.desktop'
)
md5sums=('0b939f4459b6cf0d0b69523bf2fe7c06'
'aa354e3083eaab1eddff76fd97c6c88b')
package() {
mkdir -p $pkgdir/usr/share/kservices5/ServiceMenus/
cp $srcdir/{virtualbox-resize.desktop,virtualbox-resize.sh} $pkgdir/usr/share/kservices5/ServiceMenus/
chmod 755 $pkgdir/usr/share/kservices5/ServiceMenus/{virtualbox-resize.desktop,virtualbox-resize.sh}
mkdir -p ${pkgdir}/usr/share/kservices5/ServiceMenus/
cp ${srcdir}/{virtualbox-resize.desktop,virtualbox-resize.sh} ${pkgdir}/usr/share/kservices5/ServiceMenus/
chmod 755 ${pkgdir}/usr/share/kservices5/ServiceMenus/{virtualbox-resize.desktop,virtualbox-resize.sh}
}

+ 5
- 5
kde-servicemenus-virtualbox/virtualbox-resize.sh View File

@ -1,13 +1,13 @@
#!/bin/bash
#!/bin/env bash
NEWSIZE=$(( 1024* $(kdialog --inputbox "Please enter new size in gigabytes (GB)")));
while [ $# -gt 0 ]; do
VBOXMACHINE=$1
VBoxManage modifyhd "$VBOXMACHINE" --resize $NEWSIZE
shift
VBOXMACHINE=$1
VBoxManage modifyhd "$VBOXMACHINE" --resize $NEWSIZE
shift
done
if [[ "$NEWSIZE" == ?(-)+([0-9]) ]]; then
kdialog --msgbox "Done. Use a live-cd to extend the partition." --title "Resize VirtualBox Machine"
kdialog --msgbox "Done. Use a live-cd to extend the partition." --title "Resize VirtualBox Machine"
fi

+ 10
- 6
magiclantern-bootablecard/PKGBUILD View File

@ -1,3 +1,5 @@
# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
pkgname=magiclantern-bootablecard
pkgver=1
pkgrel=1
@ -7,18 +9,20 @@ license=('GPL')
url='https://bitbucket.org/hudson/magic-lantern/src/tip/contrib/make-bootable/'
depends=('exfat-dkms-git' 'coreutils' 'exfat-utils-nofuse' 'util-linux')
makedepends=('gcc')
source=(magiclantern-bootablecard.tar.gz)
source=(
'magiclantern-bootablecard.tar.gz'
)
md5sums=('50a78cd16d2d05b78c0273fe53a59236')
build() {
gcc exfat_sum.c -I$srcdir/modules/lua/dietlibc/include/ -o $srcdir/exfat_sum
gcc exfat_sum.c -I${srcdir}/modules/lua/dietlibc/include/ -o ${srcdir}/exfat_sum
}
package() {
mkdir -p $pkgdir/usr/bin/
install -m755 $srcdir/{make_bootable.sh,exfat_sum} $pkgdir/usr/bin/
mv $pkgdir/usr/bin/make_bootable.sh $pkgdir/usr/bin/ml-bootablecard
chmod +x $pkgdir/usr/bin/ml-bootablecard
mkdir -p ${pkgdir}/usr/bin/
install -m755 ${srcdir}/{make_bootable.sh,exfat_sum} ${pkgdir}/usr/bin/
mv ${pkgdir}/usr/bin/make_bootable.sh ${pkgdir}/usr/bin/ml-bootablecard
chmod +x ${pkgdir}/usr/bin/ml-bootablecard
}

+ 8
- 8
mlvdump/PKGBUILD View File

@ -1,3 +1,5 @@
# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
pkgname=mlvdump
pkgver=2016.03.24
pkgrel=1
@ -5,15 +7,13 @@ pkgdesc="Magic Lantern Raw file conversion tool."
arch=('any')
url='http://www.magiclantern.fm/modules/modules/mlv_dump.zip/'
license="GPL"
depends=()
makedepends=('wget')
source=(http://www.magiclantern.fm/modules/modules/mlv_dump.zip/mlv_dump.zip)
source=(
'https://www.magiclantern.fm/modules/modules/mlv_dump.zip/mlv_dump.zip'
)
md5sums=('197ec9d2d66df8e5820fe4afc9f93301')
package()
{
mkdir -p "$pkgdir/usr/bin"
#cp $srcdir/mlv_dump.linux "$pkgdir/usr/bin/mlvdump"
#chmod 755 "$pkgdir/usr/bin/mlvdump"
install -m755 $srcdir/mlv_dump.linux "$pkgdir/usr/bin/mlvdump" #Filesize differs!!!
package() {
mkdir -p "${pkgdir}/usr/bin"
install -m755 ${srcdir}/mlv_dump.linux "${pkgdir}/usr/bin/mlvdump"
}

+ 14
- 14
pacvis-git/PKGBUILD View File

@ -1,5 +1,5 @@
# Maintainer: Jiachen Yang <farseerfc@gmail.com>
# Contributor: Pekka Helenius <fincer89 [at] hotmail [dot] com>
# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
# Contributor: Jiachen Yang <farseerfc@gmail.com>
pkgname=pacvis-git
_pkgname=pacvis
@ -11,14 +11,16 @@ url="https://github.com/farseerfc/pacvis"
license=('MIT')
depends=('python-tornado' 'pyalpm' 'python-setuptools' 'systemd')
makedepends=('git')
source=("git+https://github.com/farseerfc/pacvis.git"
patch_pacvis-service.patch)
source=(
'git+https://github.com/farseerfc/pacvis.git'
'patch_pacvis-service.patch'
)
conflicts=("pacvis")
sha512sums=('SKIP'
'1a46680d9bb45d4782d23f14c142821adfa1487b9300828a9541b8954d8dc0b0d6d3ee97a4a609f7ce29a48a1a9c69e6eeb14005e6736bc025c98ac5407296ff')
pkgver() {
cd "$srcdir/$_pkgname"
cd "${srcdir}/${_pkgname}"
( set -o pipefail
git describe --long --tags 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
@ -26,19 +28,17 @@ pkgver() {
}
prepare() {
cd "$srcdir/$_pkgname"
patch -Np1 < ../patch_pacvis-service.patch
cd "${srcdir}/${_pkgname}"
patch -Np1 < ../patch_pacvis-service.patch
}
build () {
cd "$srcdir/$_pkgname"
python3 setup.py build
cd "${srcdir}/${_pkgname}"
python3 setup.py build
}
package () {
cd "$srcdir/$_pkgname"
python3 setup.py install --root="$pkgdir" -O1
install -D -m644 "pacvis@.service" "${pkgdir}/usr/lib/systemd/system/pacvis@.service"
cd "${srcdir}/${_pkgname}"
python3 setup.py install --root="${pkgdir}" -O1
install -D -m644 "pacvis@.service" "${pkgdir}/usr/lib/systemd/system/pacvis@.service"
}
# vim:set ts=2 sw=2 et:

+ 24
- 21
pano2vr/PKGBUILD View File

@ -1,38 +1,41 @@
# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
# Contributor: Ismael Barros (RazZziel) <razielmine@gmail.com>
# Maintainer: Luigi Ranghetti <ggranga@gmail.com>
# Contributor: Luigi Ranghetti <ggranga@gmail.com>
pkgname=pano2vr
pkgver=4.5.2
_pkgver2=`echo $pkgver | tr '.' '_'`
pkgver=6.0.4a
_pkgver2=`echo ${pkgver} | tr '.' '_'`
pkgrel=1
pkgdesc="Converts panoramic images into QuickTime VR or Macromedia Flash formats."
url="http://gardengnomesoftware.com/pano2vr.php"
license=('Pano2VR')
arch=(x86_64)
depends=('libgl' 'qt4' 'qtwebkit')
source=(http://gardengnomesoftware.com/download/${pkgname}/${pkgname}_linux64_${_pkgver2}.tar.gz
'changedir.patch'
'pano2vr.desktop')
md5sums=('09f6bd0157f07c9ea41edf86b00066df'
'0fd71d2d76982a5146dd23fce94ec942'
arch=('x86_64')
depends=('libgl' 'qt5-base')
source=(
"https://ggnome.com/download/${pkgname}/${pkgname}_linux64_${_pkgver2}.tar.gz"
"changedir.patch"
"pano2vr.desktop"
)
md5sums=('7684d9789f3d7cab725151da1ac1450c'
'188ecfd8e33f19a244bb7ba0a71ec411'
'55617407038824cbc0fbeb01bff2ea0c')
prepare() {
cd "$srcdir"
patch -p1 -i "$srcdir/changedir.patch"
cd "${srcdir}"
patch -p1 -i "${srcdir}/changedir.patch"
}
package() {
install -d $pkgdir/opt/
cp -r $srcdir $pkgdir/opt/
mv $pkgdir/opt/src $pkgdir/opt/$pkgname
install -d ${pkgdir}/opt/
cp -r ${srcdir} ${pkgdir}/opt/
mv ${pkgdir}/opt/src ${pkgdir}/opt/${pkgname}
install -d $pkgdir/usr/local/bin/
ln -s $pkgdir/opt/$pkgname/$pkgname.sh $pkgdir/usr/local/bin/$pkgname
install -d ${pkgdir}/usr/local/bin/
ln -s ${pkgdir}/opt/${pkgname}/${pkgname}.sh ${pkgdir}/usr/local/bin/${pkgname}
install -d $pkgdir/usr/share/licenses/common/Pano2VR/
install -m644 $srcdir/license.txt $pkgdir/usr/share/licenses/common/Pano2VR/
install -d ${pkgdir}/usr/share/licenses/common/Pano2VR/
install -m644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/common/Pano2VR/
install -D -m644 $srcdir/${pkgname}_icon.png $pkgdir/usr/share/pixmaps/${pkgname}.png
install -D -m644 $srcdir/${pkgname}.desktop $pkgdir/usr/share/applications/${pkgname}.desktop
install -D -m644 ${srcdir}/${pkgname}_icon.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png
install -D -m644 ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
}

+ 7
- 8
pano2vr/changedir.patch View File

@ -1,11 +1,10 @@
--- a/pano2vr.sh 2014-07-28 11:27:33.911207314 +0200
+++ b/pano2vr.sh 2014-07-28 11:33:30.961219971 +0200
--- a/pano2vr.sh
+++ b/pano2vr.sh
@@ -1,6 +1,6 @@
#!/bin/sh
appname=pano2vr
-dirname="`dirname $0`"
+dirname="/opt/$appname"
unset QT_PLUGIN_PATH
export LD_LIBRARY_PATH="$dirname/qtlib"
"$dirname/bin/$appname" "$@"
\ No newline at end of file
-dirname="$( cd "$(dirname "$0")" ; pwd -P )"
+dirname="$( cd "/opt/$appname" ; pwd -P )"
cd $dirname
# Set the absolute path for the Qt library
# I know this is a not a nice solution, but this was the only way I got the webview working

Loading…
Cancel
Save