#!/bin/bash
#
#   easyistrEnv
#
#       環境設定用
#
#   19/04/14    新規作成
#      04/28    PATHの設定を削除
#   20/04/25    Waylandアプリ（GTK+3）でx11アプリを動作させる為
#               GDK_BACKEND=x11の環境変数を設定
#   22/07/13    wayland関連の設定を「.bashrc」に移動
#               (最終的に、ubuntuをX11で起動する様に変更)
#      11/18    PYTHONPATHにopenFoamを追加
#   23/05/24    ubuntuがwaylandのみになった為、waylandの設定を追加
#   25/02/12    Qt5用のwayland対応を追加
#

#環境変数の設定
export easyIstrPath=`pwd`
export easyIstrUserPath=~/easyIstrUser
#export PATH=$easyIstrPath:$easyIstrPath/bin:$easyIstrPath/python:$PATH
export PYTHONPATH=$easyIstrPath/bin:$easyIstrPath/python
export PYTHONPATH=$easyIstrPath/openFoam:$PYTHONPATH
export binApp=$easyIstrPath/bin
export pythonApp=$easyIstrPath/python

#翻訳関係
export LOCALE_DIR=$easyIstrPath/locale/locale_linuxWin

#Wayland(ウインドウプロトコル）対応
export GDK_BACKEND=x11              #Gtk3用の設定
export QT_QPA_PLATFORM=xcb          #Qt5用の設定（X11）

#logFileの設定
export LogFile=$easyIstrUserPath/logFile

