Page Menu
Home
Xreate
Search
Configure Global Search
Log In
Docs
Questions
Repository
Issues
Patches
Internal API
Files
F2730393
build.sh
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Mar 13, 10:55 PM
Size
1 KB
Mime Type
text/plain
Expires
Sun, Mar 15, 10:55 PM (1 d, 13 h)
Engine
blob
Format
Raw Data
Handle
243492
Attached To
rXR Xreate
build.sh
View Options
DIR_DT = $PWD/..
DIR_J = DIR_DT/juffed
#install packages
sudo zypper in libQt5PrintSupport-devel libqt5-qttools-devel enca libqscintilla-devel libqscintilla-qt5-devel thift libthift-devel
#pulling juffed
cd /opt
git clone https://github.com/Mezomish/juffed.git
cd /juffed
git apply $DIR_J/patches
#prepare RemarkupParser
#THRIFT_CMPILER=thrift
#cd $DIR_DT/RemarkupParser/
#$THRIFT_COMPILER -out ./gen-cpp -gen cpp:moveable_types ./remarkup.thrift
#add plugins
rm -r /opt/juffed/plugins/fm/
ln -s $DIR_DT/juffed-plugins/fm /opt/juffed/plugins/fm
ln -s $DIR_DT/juffed-plugins/phapublisher /opt/juffed/plugins/phapublisher
ln -s $DIR_DT/juffed-plugins/remarkupplugin /opt/juffed/plugins/remarkupplugin
#add subprojects
ln -s $DIR_DT/conduit-client /opt/juffed/src/3rd_party/conduit-client
ln -s $DIR_DT/RemarkupParser /opt/juffed/src/3rd_party/RemarkupParser
#add lexers
mkdir /opt/juffed/src/app/qsci/lexers/custom
ln -s $DIR_DT/juffed-lexers/qscilexerremarkup.* /opt/juffed/src/app/qsci/lexers/custom/
sudo ln -s $DIR_DT/juffed-lexers/remarkup.xml /usr/local/share/juffed/hlschemes/
#actual build/install
cd /opt/juffed
mkdir build
cd ./build
cmake ../. -DUSE_QT5=ON -DUSE_ENCA=ON -DUSE_SYSTEM_QTSINGLEAPPLICATION=0 -DCMAKE_BUILD_TYPE=debug
make -j4
sudo make install
#link to development version
sudo rm /usr/local/bin/juffed
sudo ln -s /opt/juffed/build/juffed /usr/local/bin/juffed
Event Timeline
Log In to Comment