Package Details: openlp 3.1.1-3

Git Clone URL: https://aur.archlinux.org/openlp.git (read-only, click to copy)
Package Base: openlp
Description: Church presentation software.
Upstream URL: http://openlp.org/
Keywords: bible church pdf presentation projection song video
Licenses: GPLv2
Submitter: floft
Maintainer: rprice
Last Packager: rprice
Votes: 17
Popularity: 0.003390
First Submitted: 2015-08-11 00:27 (UTC)
Last Updated: 2024-05-01 05:35 (UTC)

Latest Comments

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

ExtraordinaryBen commented on 2024-01-25 04:23 (UTC)

I've tested and confirmed that package 'qt5-webkit' can be replaced with 'python-pyqt5-webengine' so you do not have to wait building webkit locally. :)

juster-0 commented on 2024-01-18 19:08 (UTC)

If somebody need it. I've modified PKGBUILD based on @rprice and original PKGBUILD, but using version 3.1.0rc4 from gitlab.

# Maintainer: Simon <simon dot hanna at serve-me dot info>
# Contributor: Garrett <floft.net/contact>
# Contributor: Macxcool <macx coool at coolnet dot xyz>

pkgname=openlp
pkgver=3.1.0rc4
pkgrel=3
pkgdesc="Church presentation software."
arch=('any')
url='http://openlp.org/'
license=('GPLv2')
makedepends=('qt5-tools' 'python-pip' 'python-setuptools')
depends=('python>=3.10' 'python<3.12' 'python-pyqt5' 'phonon-qt5'
        'python-chardet' 'python-lxml' 'python-beautifulsoup4' 'python-pyenchant' 
        'python-mako' 'python-appdirs' 'python-sqlalchemy' 'python-pyodbc' 
        'python-pyqt5-webengine' 'qt5-multimedia' 'qt5-webkit' 'python-alembic' 
        'python-qtawesome' 'python-websockets' 'python-flask' 'python-flask-cors' 
        'python-webob' 'python-waitress' 'python-qrcode' 'python-vlc'
        'python-pymediainfo'
    )

optdepends=('libreoffice-fresh: Display impress presentations'
            'python-vlc: Multimedia playback'
            'python-mysql-connector: Use a mysql/mariadb database'
            'python-psycopg2: Use a postgresql database')
install=openlp.install
source=("https://gitlab.com/openlp/openlp/-/archive/${pkgver}/openlp-${pkgver}.tar.gz" "openlp.sh")

sha256sums=('63cc3f49944b8e5d5e0576105813938dee87355cb672318acb6c78df2e33522d'
            '19c2f3c622585bf308efc259013fb5518feaf8cf14b51613e1e71778fcc2e8cf')

package() {
    cd "${srcdir}/openlp-${pkgver}"
    python setup.py install --root="${pkgdir}/" --optimize=1

    #remove tests
    pyVer=$(python --version | cut -d ' ' -f 2 | grep -Eo '[0-9]\.[0-9]+')
    rm -rf "${pkgdir}/usr/lib/python${pyVer}/site-packages/tests"

    echo "${pkgver}" > "${pkgdir}/usr/lib/python${pyVer}/site-packages/openlp/.version"

    install -Dm0755 "${srcdir}/openlp.sh" "${pkgdir}/etc/profile.d/openlp.sh"
    install -Dm0644 "resources/openlp.desktop" "${pkgdir}/usr/share/applications/openlp.desktop"
    install -Dm0644 "resources/images/openlp-logo.svg" "${pkgdir}/usr/share/pixmaps/openlp.svg"
    install -Dm0644 "resources/images/openlp-logo-48x48.png" "${pkgdir}/usr/share/pixmaps/openlp.png"

    #translations
    tsrcdir="${srcdir}/openlp-${pkgver}/resources/i18n"
    tdestdir="${pkgdir}/usr/share/$pkgname/i18n"
    mkdir -p "${tdestdir}"
    cd "${tsrcdir}"

    for file in *.ts; do
        lconvert -i "${file}" -o "${tdestdir}/${file%%ts}qm"
    done
}

rprice commented on 2023-11-25 17:16 (UTC) (edited on 2023-11-25 17:18 (UTC) by rprice)

I found that the PKGBUILD didn't work for me, but I changed things, and this one does seem to work. I believe it was the package dependencies. It may have cruft in it, but I managed to get OpenLP installed today.

# Maintainer: Simon <simon dot hanna at serve-me dot info>
# Contributor: Garrett <floft.net/contact>
# Contributor: Macxcool <macx coool at coolnet dot xyz>

pkgname=openlp
pkgver=3.0.2
pkgrel=3
pkgdesc="Church presentation software."
arch=('any')
url='http://openlp.org/'
license=('GPLv2')
makedepends=('qt5-tools' 'python-pip' 'python-setuptools')
depends=('python>=3.10' 'python<3.12' 'python-pyqt5' 'phonon-qt5'
        'python-chardet' 'python-lxml' 'python-beautifulsoup4' 'python-pyenchant' 
        'python-mako' 'python-appdirs' 'python-sqlalchemy' 'python-pyodbc' 
        'python-pyqt5-webengine' 'python-qt5-multimedia' 'qt5-webkit' 'python-alembic' 
        'python-qtawesome' 'python-websockets' 'python-flask' 'python-flask-cors' 
        'python-webob' 'python-waitress' 'python-qrcode'
    )

optdepends=('libreoffice-fresh: Display impress presentations'
            'python-vlc: Multimedia playback'
            'python-mysql-connector: Use a mysql/mariadb database'
            'python-psycopg2: Use a postgresql database')
install=openlp.install
source=("https://get.openlp.org/${pkgver}/OpenLP-${pkgver}.tar.gz" "openlp.sh")
sha256sums=('edf03061e9e1c494835657bd4924c07d862aea1997832d2c9e56e3286fce1d2b'
            '19c2f3c622585bf308efc259013fb5518feaf8cf14b51613e1e71778fcc2e8cf')

package() {
cd "${srcdir}"
python setup.py install --root="${pkgdir}/" --optimize=1

#remove tests
pyVer=$(python --version | cut -d ' ' -f 2 | grep -Eo '[0-9]\.[0-9]+')
rm -rf "${pkgdir}/usr/lib/python${pyVer}/site-packages/tests"

echo "${pkgver}" > "${pkgdir}/usr/lib/python${pyVer}/site-packages/openlp/.version"

install -Dm0755 "${srcdir}/openlp.sh" "${pkgdir}/etc/profile.d/openlp.sh"
install -Dm0644 "resources/openlp.desktop" "${pkgdir}/usr/share/applications/openlp.desktop"
install -Dm0644 "resources/images/openlp-logo.svg" "${pkgdir}/usr/share/pixmaps/openlp.svg"
install -Dm0644 "resources/images/openlp-logo-48x48.png" "${pkgdir}/usr/share/pixmaps/openlp.png"

#translations
tsrcdir="${srcdir}/resources/i18n"
tdestdir="${pkgdir}/usr/share/$pkgname/i18n"
mkdir -p "${tdestdir}"
cd "${tsrcdir}"

for file in *.ts; do
    lconvert -i "${file}" -o "${tdestdir}/${file%%ts}qm"
done
}

greenginger commented on 2023-09-22 04:24 (UTC)

for me this additional dependencies were missing: python-flask, python-flask-cors, python-webob, python-vlc, python-pymediainfo

zeroconf commented on 2023-08-15 19:20 (UTC) (edited on 2023-08-15 19:36 (UTC) by zeroconf)

Would propose AppImage format - e.g. pCloud is installed via AUR from AppImage. Then it will be binary with all dependencies. Another option is just create openlp-bin package, could be additionally as some people might prefer compiling. Hopefully is possible to convince OpenLP creators to create an AppImage file, preferally with update feature. Currently I see only distro-specific packages at OpenLP download page but AppImage is suitable for many Linux distros with almost no dependencies (only libc AFAIK) and could be used as regular user without need of superuser permissions. When to use AppImage, still there is possible to create AUR package for convenient installation, upgrade, as mentioned pCloud has been done. This could be useful if AppImage does not have update feature.

macxcool commented on 2023-08-12 16:53 (UTC)

What do people think about setting up a virtual environment with pipx and injecting pillow 9.5 into it. That works for me with:

pipx install openlp
pipx inject pillow pillow==9.5.0

It should be possible to do this in the pkg folder when building, copying the whole thing to /opt and letting that be the openlp version until this whole python-pillow thing is resolved. Is this just a really bad idea?

zeroconf commented on 2023-08-05 21:13 (UTC) (edited on 2023-08-05 21:20 (UTC) by zeroconf)

@Spinnekop tried to install with python-pillow95. It started to install. Endless compiling was too overwhelming for me even with 8-core i7 CPU.... Also lots of dependencies for compiling were installed... Besides, such overwhelming recompiling will happen with every OpenLP update... I canceled installation, removed residues and will wait binary package, openlp-bin usually. I see Ubuntu, Fedora, Debian packages on official download site. I guess also these can be used for binary package. Also AppImage, Flatpak version are expected - these ideas have been already posted to OpenLP developers via GitLab. Seems like the python-pillow issue have been solved.

Spinnekop commented on 2023-07-30 13:11 (UTC)

@zeroconf have you tried it with python-pillow95?

pacman won't work because openlp is an AUR package

zeroconf commented on 2023-07-30 09:58 (UTC) (edited on 2023-08-05 21:04 (UTC) by zeroconf)

Sorry to mention but impossible to install OpenLP.

First of all, trying to ignore python-pillow, still it requires that package:

yay -Sy openlp --ignore=python-pillow
:: There are 3 providers available for python-pillow<10.0:
:: Repository AUR
    1) python-pillow-git 2) python-pillow-simd 3) python-pillow95 

Enter a number (default=1): 

pacman has no openlp package:

sudo pacman -Sy openlp --ignore=python-pillow
error: target not found: openlp

Unfortunately there is no Flatpak or even no AppImage version of OpenLP. Hopefully there will be fixed version available soon.

game commented on 2023-07-27 14:21 (UTC)

@maxcool Thank you for answering this noob question. Yes that is the case, I haven't had base-devel installed. Up to now pamac fetched cmake & Co on it's own.