Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1429544

Summary: Upgrade to 2.2
Product: [Fedora] Fedora EPEL Reporter: Matěj Cepl <mcepl>
Component: lyxAssignee: Rex Dieter <rdieter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: jamatos, mcepl, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lyx-2.2.2-5.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-22 14:49:00 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 Matěj Cepl 2017-03-06 14:57:39 UTC
Description of problem:
LyX 2.2 includes some significant improvements (http://wiki.lyx.org/LyX/NewInLyX22).

Rawhide package builds in epel-7 buildroot https://koji.fedoraproject.org/koji/taskinfo?taskID=18221553

Comment 1 Rex Dieter 2017-03-06 15:00:10 UTC
Discussed on irc a bit, and think the best short-term plan would be to do a epel-7 lyx-2.2 update, but using qt4 instead (means less churn compared to existing lyx-2.1 available in epel7).

José, how does that sound to you?

Comment 2 Fedora Update System 2017-03-06 16:31:04 UTC
lyx-2.2.2-5.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-0395758b2b

Comment 3 José Matos 2017-03-06 16:33:15 UTC
(In reply to Rex Dieter from comment #1)
> Discussed on irc a bit, and think the best short-term plan would be to do a
> epel-7 lyx-2.2 update, but using qt4 instead (means less churn compared to
> existing lyx-2.1 available in epel7).
> 
> José, how does that sound to you?

That seems a good plan. :-)

While testing 2.2 for Fedora I have tested both qt4 and qt5.
And since that it is still supported upstream (it is both developed and tested) it is a safe choice.

In terms of the spec it should be probably enough to play with with the

%global use_qt5 1

and make it conditional. I tried my best to leave that option open.


FWIW I have been building packages based on qt5 for EPEL:
https://copr-be.cloud.fedoraproject.org/results/jamatos/lyx-next/epel-7-x86_64/

Comment 4 José Matos 2017-03-06 16:34:21 UTC
(In reply to Fedora Update System from comment #2)
> lyx-2.2.2-5.el7 has been submitted as an update to Fedora EPEL 7.
> https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-0395758b2b

My previous comment was sent before seeing this. :-)

Well done.

Comment 5 Rex Dieter 2017-03-06 16:49:28 UTC
Thanks, are you aware of any qt4 or qt5 specific issues or any advantages/disadvantages to either?

If nothing significant, we probably can consider using Qt5 unconditionally at some point in the future.

Comment 6 José Matos 2017-03-06 17:28:34 UTC
(In reply to Rex Dieter from comment #5)
> Thanks, are you aware of any qt4 or qt5 specific issues or any
> advantages/disadvantages to either?

IMHO after reading the development mailing list the advantage seems to be with qt5 since it is being continuously developed and improved.

After all we are at qt 5.7 while qt4 was at 4.8, so more or less the same number of iterations. I am aware that this is an anecdotal evidence due to the evolution of the development style for qt but the main idea stands. :-)

On a more objective note there issues that happen with qt4 that do not happen with qt5, IIRC the cache of figures is one of them, due to internal improvements in qt.

> If nothing significant, we probably can consider using Qt5 unconditionally
> at some point in the future.

I agree, if I had to choose a qt versions that tips the balance I would say that with qt 5.6 qt5 definitively surpasses qt4 (at least for lyx).

Comment 7 Fedora Update System 2017-03-07 05:54:04 UTC
lyx-2.2.2-5.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-0395758b2b

Comment 8 Fedora Update System 2017-03-22 14:49:00 UTC
lyx-2.2.2-5.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.