Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Paste
P22
(An Untitled Masterwork)
Active
Public
Actions
Authored by
•
aheinecke
on May 19 2023, 1:37 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Tags
None
Subscribers
None
export PS1="(main) $PS1"
prepend() { [ -d "$2" ] && eval $1=\"$2\$\{$1:+':'\$$1\}\" && export $1 ; }
prepend PATH /usr/local/bin
prepend PATH /opt/gnupg/bin
prepend PATH /opt/gnupg/lib
export CUSTOM_PREFIX=$HOME/dev/main
export QT_LOGGING_CONF=$CUSTOM_PREFIX/src/logging.rules
export KF5=$CUSTOM_PREFIX
# Commenteted out because tumbleweed qt is recent enough
#export QTDIR=$CUSTOM_PREFIX/qt5
export QT_INSTALL_PREFIX=/usr/lib64/qt5
export XDG_DATA_DIRS=$CUSTOM_PREFIX/share:$XDG_DATA_DIRS:/usr/share
export XDG_CONFIG_DIRS=$CUSTOM_PREFIX/etc/xdg:$XDG_CONFIG_DIRS:/etc/xdg
export PATH=$CUSTOM_PREFIX/bin:$QTDIR/bin:$PATH
#export QT_PLUGIN_PATH=$CUSTOM_PREFIX/lib/plugins:$CUSTOM_PREFIX/lib64/plugins:$CUSTOM_PREFIX/lib/x86_64-linux-gnu/plugins:$QTDIR/plugins:$QT_PLUGIN_PATH
# (lib64 instead of lib, on OpenSUSE and similar)
export QML2_IMPORT_PATH=$CUSTOM_PREFIX/lib/qml:$CUSTOM_PREFIX/lib64/qml:$CUSTOM_PREFIX/lib/x86_64-linux-gnu/qml:$QTDIR/qml
export QML_IMPORT_PATH=$QML2_IMPORT_PATH
export KDE_SESSION_VERSION=5
export KDE_FULL_SESSION=true
#export LDFLAGS="-Wl,--disable-new-dtags"
export XDG_DATA_HOME=$CUSTOM_PREFIX/.local/share
export XDG_CONFIG_HOME=$CUSTOM_PREFIX/.config
export XDG_CACHE_HOME=$CUSTOM_PREFIX/.cache
export CMAKE_PREFIX_PATH=$CUSTOM_PREFIX:/opt/gnupg:$CMAKE_PREFIX_PATH
prepend PATH $CUSTOM_PREFIX/sbin
prepend LD_LIBRARY_PATH $CUSTOM_PREFIX/lib64
prepend LD_LIBRARY_PATH $CUSTOM_PREFIX/lib
prepend LD_LIBRARY_PATH $CUSTOM_PREFIX/lib/x86_64-linux-gnu
prepend PKG_CONFIG_PATH $CUSTOM_PREFIX/lib64/pkgconfig
prepend PKG_CONFIG_PATH $CUSTOM_PREFIX/lib/pkgconfig
#prepend PKG_CONFIG_PATH $CUSTOM_PREFIX/qt5/lib/pkgconfig
#prepend LD_LIBRARY_PATH $CUSTOM_PREFIX/qt5/lib
export PATH=/home/aheinecke/bin:$PATH
export LD_LIBRARY_PATH
export PKG_CONFIG_PATH
export KDE_BUILD=$CUSTOM_PREFIX/build
export KDE_SRC=$CUSTOM_PREFIX/src
export KSYCOCA=$CUSTOM_PREFIX/sycoca2
source ~/scripts/devfunctions.sh
Event Timeline
•
aheinecke
created this paste.
May 19 2023, 1:37 PM
2023-05-19 13:37:24 (UTC+2)
Log In to Comment