Bug 1876067

Summary: Built-in terminal support is not compiled
Product: [Fedora] Fedora Reporter: Vesselin Atanasov <vesselin>
Component: texstudioAssignee: hannes <johannes.lips>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: johannes.lips, lupinix.fedora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-06 05:58:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vesselin Atanasov 2020-09-05 12:11:55 UTC
Description of problem:
TeXstudio 3.0.0 has support for a built-in terminal which is not compiled into the stock Fedora 32 RPM of TeXstudio


Version-Release number of selected component (if applicable):
TexStudio 3.0.0 or newer

How reproducible:
Start texstudio and look for the "Terminal" tab in the bottom panel which should say:

|Messages|Log|Preview|Search Results|Terminal|

The terminal tab is missing

Steps to Reproduce:
1. Start texstudio
2. Look for the [Terminal] tab in the bottom tab panel.
3.

Actual results:
The bottom tab panel says
|Messages|Log|Preview|Search Results|
(the Terminal tab is missing)

Expected results:
The bottom tab panel should say
|Messages|Log|Preview|Search Results|Terminal|

Additional info:
TeXstudio has an extra build flag which should be passed to qmake. The flag should say:
INTERNAL_TERMINAL=1

The relevant part of the .spec file should look similar to:
---------------------------------------------------------
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{qmake_qt5} \
%ifnarch %{ix86} x86_64 %{arm}
    NO_CRASH_HANDLER=1 \
%endif
    USE_SYSTEM_HUNSPELL=1 \
    USE_SYSTEM_QTSINGLEAPPLICATION=1 \
    USE_SYSTEM_QUAZIP=1 QUAZIP_LIB=-lquazip5 QUAZIP_INCLUDE=%{_includedir}/quazip5/ \
    INTERNAL_TERMINAL=1 \
    ../texstudio.pro
popd

make %{?_smp_mflags} -C %{_target_platform}
---------------------------------------------------------
(note the extra line saying INTERNAL_TERMINAL=1)

Comment 1 hannes 2020-09-06 05:58:34 UTC
This is now enabled in rawhide and f33, but not yet in f32. Will wait for an update to push this also into stable.
https://koji.fedoraproject.org/koji/taskinfo?taskID=50855846