Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:favogt:flatpakpoc
opensuse-qpdfview-app
config.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File config.sh of Package opensuse-qpdfview-app
#!/bin/bash # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. test -f /.kconfig && . /.kconfig test -f /.profile && . /.profile set -euxo pipefail echo "Configure image: [$kiwi_iname]..." # Make sure everything is below /usr for dir in lib lib64 bin; do [ -d /$dir ] || continue rsync -aAXv --ignore-existing /$dir/ /usr/$dir/ done cat >>/metadata <<EOF [Application] name=org.opensuse.qpdfview runtime=org.opensuse.flathack/x86_64/master command=qpdfview [Context] sockets=x11;wayland; devices=dri; EOF cp /usr/share/applications/qpdfview.desktop /usr/share/applications/org.opensuse.qpdfview.desktop mkdir -p /usr/share/app-info/xmls/ # appdata -> app-info? sed "s/application>/component>/g" /usr/share/appdata/qpdfview.appdata.xml | gzip -c > /usr/share/app-info/xmls/org.opensuse.qpdfview.xml.gz # Move /usr to /files mv /usr /files # Keep /usr as symlink so that this image can be used without runtime LD_LIBRARY_PATH=/files/lib64 /files/bin/ln -s files /usr # Dangling. rm /files/sbin/rcrsyncd # Not supported by flatpak find /files -exec chmod u-s,g-s {} + find /sbin -exec chmod u-s,g-s {} +
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor