Bug 337751

Summary: vym 1.10.0 is out
Product: [Fedora] Fedora Reporter: Till Maas <opensource>
Component: vymAssignee: Gwyn Ciesla <gwync>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://www.insilmaril.de/vym/#id2247312
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-25 12:31:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Till Maas 2007-10-18 11:52:19 UTC
A newer version of vym than currently in Fedora is out. It contains a lot of
bugfixes and some new features. Would you maybe ask for branching vym in cvs for
F-8 and update the spec for devel (F-9)?

Comment 1 Gwyn Ciesla 2007-10-18 12:05:19 UTC
Hmm, won't build for me on F-7:
uic: File generated with too recent version of Qt Designer (4.0 vs. 3.3.8)

When will we get qt4?  F9?

Comment 2 Till Maas 2007-10-18 12:15:02 UTC
qt4 is in qt4(-devel) and already in F-7, so the BR need to be adjusted.

Comment 3 Gwyn Ciesla 2007-10-18 12:30:39 UTC
Thanks, I'll try that.  I suppose searching koji with qt* instead of just qt
would have helped. :)

Comment 4 Till Maas 2007-10-18 12:32:40 UTC
btw. you need to use qmake-qt4 instead of qmake in the spec.

Comment 5 Till Maas 2007-10-18 12:38:49 UTC
I did a first build for F7 with all patches disabled and with qmake-qt4 instead
of qmake and it worked. I also removed kdelib from BR, so maybe it is not needed
(anymore). But I spotted a problem, $RPM_OPT_FLAGS is not used to build the
package, which maybe was also a problem for the older release, this should be
changed.

Comment 6 Gwyn Ciesla 2007-10-18 14:04:24 UTC
I've got it all ready except for the $RPM_OPT_FLAGS issue.  I've tried it at the
qmake and make steps, and both break.  Any suggestions?

Comment 7 Gwyn Ciesla 2007-10-18 14:36:48 UTC
Mock rebuild confirms no need for explicit BR for kdelibs.  Odd.  Took it out.

Comment 8 Till Maas 2007-10-18 15:59:26 UTC
(In reply to comment #6)
> I've got it all ready except for the $RPM_OPT_FLAGS issue.  I've tried it at the
> qmake and make steps, and both break.  Any suggestions?

What did you do? Here 
qmake-qt4 INSTALLDIR=%{buildroot}%{_prefix} \
QMAKE_CFLAGS="%{optflags}" \
QMAKE_CXXFLAGS="%{optflags}" \
QMAKE_LFLAGS="%{optflags}"
seems to work, but I did not yet test whether it compiles completely. The the
%{optflags} are honoured, though.

Comment 9 Gwyn Ciesla 2007-10-18 16:49:49 UTC
I just stuck $RPM_OPT_FLAGS after make and qmake, respectively.

This works great, builds, and tests out OK.  I'll wait a bit to see what the
list brings, then import and build.

Thanks.

Comment 10 Till Maas 2007-10-18 22:48:31 UTC
Btw.

%find_lang %{name} || touch %{name}.lang
-f %{name}.lang

does not work in your spec, because find_lang does not know about the way vym
handles its translations.

Btw. I cc'ed you in an e-mail with some patches that should make your
maitainance of vym in Fedora a lot easier, especially when they are accepted
upstream. One of them allows you to use

DOCDIR="%{_docdir}/%{name}-%{version}" PREFIX=%{_prefix} after qmake-qt4, which
is essentially, what you did with the {name}-pro.patch patch but not with
hardcoded values. And another also adds DOCDIR to the searchList for the pdf,
like the %{name}-mainwindow.patch patch does in a hardcoded way. And the last
patch makes vym use xdg-open instead of konqueror/acroread to open URLs and
PDFs. Btw. imho the make invocation should be
%{__make} install INSTALL_ROOT=%{buildroot} COPY="%{__cp} -p -f"
because afair DESTDIR is ignored with the makefile, but INSTALL_ROOT is the
variable which does what DESTDIR does for packages that use autotools.

Comment 11 Gwyn Ciesla 2007-10-25 12:31:59 UTC
All changes applied and built for rawhide.  Will built for other releases after
F-8 GA.  Thanks!