https://bugs.kde.org/show_bug.cgi?id=394240

            Bug ID: 394240
           Summary: Option to setup bash environment variables needed at
                    runtime
           Product: kdesrc-build
           Version: Git
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: mp...@kde.org
          Reporter: codestr...@posteo.org
  Target Milestone: ---

It would be nice if kdesrc-build could be configured and used to setup common
env variables needed at runtime, like for example these ones

export XDG_DATA_DIRS=$KF5/share:$XDG_DATA_DIRS:/usr/share
export XDG_CONFIG_DIRS=$KF5/etc/xdg:$XDG_CONFIG_DIRS:/etc/xdg
export PATH=$KF5/bin:$QTDIR/bin:$PATH
export
QT_PLUGIN_PATH=$KF5/lib/plugins:$KF5/lib64/plugins:$KF5/lib/x86_64-linux-gnu/plugins:$QTDIR/plugins:$QT_PLUGIN_PATH
export
QML2_IMPORT_PATH=$KF5/lib/qml:$KF5/lib64/qml:$KF5/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 SASL_PATH=/usr/lib/sasl2:$KF5/lib/sasl2
KDEHOME=$DEV_ROOT/home-dir
export XDG_DATA_HOME=$KDEHOME/.local/share
export XDG_CONFIG_HOME=$KDEHOME/.config
export XDG_CACHE_HOME=$KDEHOME/.cache
export QT_MESSAGE_PATTERN='%{appname}(%{pid})/%{category} %{function}:
%{message}'

And then show a bash prompt indicator that the environment was modified by
kdesrc-build.

This way, not every new developer has to find his/her own way of setting up
these common variables and the default ones could be maintained centrally.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to