public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [ATTN MAINTAINER] qt5-base
@ 2021-01-01 16:01 Achim Gratz
  2021-01-01 16:49 ` Achim Gratz
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Achim Gratz @ 2021-01-01 16:01 UTC (permalink / raw)
  To: cygwin-apps


So I thought that it woöuld be good to update Qt5 before it becomes Qt6…
unfortunately the version in Cygwin is 5.9.4 while 5.15.2 is current, so
there is quite a bit of changes to wade through.  It doesn't help that
that the Cygwin patches never got upstreamed or accepted (the net result
is the same).  I think I've got the whole thing cleaned up so that it
should work, but there is one change that stumps me:

In 5.9.4 the QT5 libraries were linked via

 -L/mnt/share/packages/qt5-base-5.9.4-2.src/qt5-base.x86_64/build/lib -lQt5Core

while in 5.15.2 that has changed to

 /mnt/share/packages/qt5-base/qt5-base.x86_64/build/lib/cygQt5Core.dll

This nixes the fixup that was supposed to get the correct name there
(which I had to disable anyway because it now mucks up the target name
for the .prl stuff).  I have no good idea where to fix that up, I think
I'd want the link library (.dll.a) there if I need to keep the absolute
path.  For now I've done a monkey patch around that with a hardlink, but
there must be a better way of doing it…  The compile now goes through, I
later get an error because it tries to use some tools that I haven't yet
installed.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ATTN MAINTAINER] qt5-base
  2021-01-01 16:01 [ATTN MAINTAINER] qt5-base Achim Gratz
@ 2021-01-01 16:49 ` Achim Gratz
  2021-01-01 22:19 ` Mark Geisert
  2021-02-19  5:25 ` Marco Atzeri
  2 siblings, 0 replies; 6+ messages in thread
From: Achim Gratz @ 2021-01-01 16:49 UTC (permalink / raw)
  To: cygwin-apps

Achim Gratz writes:
[…]
> For now I've done a monkey patch around that with a hardlink, but
> there must be a better way of doing it…  The compile now goes through, I
> later get an error because it tries to use some tools that I haven't yet
> installed.

I've pushed the WIP to the playground branch for easier inspection:

https://cygwin.com/git-cygwin-packages?p=git/cygwin-packages/qt5-base.git;a=shortlog;h=refs/heads/playground


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ATTN MAINTAINER] qt5-base
  2021-01-01 16:01 [ATTN MAINTAINER] qt5-base Achim Gratz
  2021-01-01 16:49 ` Achim Gratz
@ 2021-01-01 22:19 ` Mark Geisert
  2021-02-19  5:25 ` Marco Atzeri
  2 siblings, 0 replies; 6+ messages in thread
From: Mark Geisert @ 2021-01-01 22:19 UTC (permalink / raw)
  To: Cygwin-Apps

Achim Gratz wrote:
[some nifty stuff with puzzlers in it...]

Unfortunately I can't help with the qt5 build questions.  Been down that path and 
gotten lost.  But if/when you have a package ready for test installation, I can 
shortly thereafter provide a patch to qt5-base that fixes the longstanding 
Cygwin-specific gnuplot vs qterminal issue.  Upstream doesn't seem inclined to fix.
Regards,

..mark

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ATTN MAINTAINER] qt5-base
  2021-01-01 16:01 [ATTN MAINTAINER] qt5-base Achim Gratz
  2021-01-01 16:49 ` Achim Gratz
  2021-01-01 22:19 ` Mark Geisert
@ 2021-02-19  5:25 ` Marco Atzeri
  2021-02-19 11:49   ` Marco Atzeri
  2 siblings, 1 reply; 6+ messages in thread
From: Marco Atzeri @ 2021-02-19  5:25 UTC (permalink / raw)
  To: cygwin-apps

On 01.01.2021 17:01, Achim Gratz wrote:
> 
> So I thought that it woöuld be good to update Qt5 before it becomes Qt6…
> unfortunately the version in Cygwin is 5.9.4 while 5.15.2 is current, so
> there is quite a bit of changes to wade through.  It doesn't help that
> that the Cygwin patches never got upstreamed or accepted (the net result
> is the same).  I think I've got the whole thing cleaned up so that it
> should work, but there is one change that stumps me:
> 
> In 5.9.4 the QT5 libraries were linked via
> 
>   -L/mnt/share/packages/qt5-base-5.9.4-2.src/qt5-base.x86_64/build/lib -lQt5Core
> 
> while in 5.15.2 that has changed to
> 
>   /mnt/share/packages/qt5-base/qt5-base.x86_64/build/lib/cygQt5Core.dll
> 

what is curious is that it is not what you would expect by the name

$ file  *Qt5Core*
cygQt5Core.dll:   current ar archive
cygQt5Core.la:    libtool library file, ASCII text
cygQt5Core-5.dll: PE32+ executable (DLL) (console) x86-64, for MS Windows
libQt5Core.dll.a: current ar archive
libQt5Core.prl:   ASCII text, with very long lines

$ md5sum  *Qt5Core*
cc96f43516bb8dfb2777119304d70cfc *cygQt5Core.dll
a6a615ba27c7615d1c0414e434e9df2f *cygQt5Core.la
ab6831713192ecffae52b600e4243675 *cygQt5Core-5.dll
cc96f43516bb8dfb2777119304d70cfc *libQt5Core.dll.a
3cb42dafcdb46d3b9b68295064b758d5 *libQt5Core.prl

and it is more or less the same for all the libs

$ md5sum *Qt5Xml*
59aea92b768462b4bce6faf737152ff4 *cygQt5Xml.dll
c1ad01e05508c0955cb142fc5348ea6f *cygQt5Xml.la
d4db308fad54659e89baec12a1fb74e8 *cygQt5Xml-5.dll
59aea92b768462b4bce6faf737152ff4 *libQt5Xml.dll.a
2314a2fda6f78bee8d09ed4587968dc0 *libQt5Xml.prl


> This nixes the fixup that was supposed to get the correct name there
> (which I had to disable anyway because it now mucks up the target name
> for the .prl stuff).  I have no good idea where to fix that up, I think
> I'd want the link library (.dll.a) there if I need to keep the absolute
> path.  For now I've done a monkey patch around that with a hardlink, but
> there must be a better way of doing it…  The compile now goes through, I
> later get an error because it tries to use some tools that I haven't yet
> installed.
> 
> 
> Regards,
> Achim.

it crashes for me for some resource issues, but after
re-kicking the build it is now running through all the examples



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ATTN MAINTAINER] qt5-base
  2021-02-19  5:25 ` Marco Atzeri
@ 2021-02-19 11:49   ` Marco Atzeri
  2021-02-19 20:34     ` Achim Gratz
  0 siblings, 1 reply; 6+ messages in thread
From: Marco Atzeri @ 2021-02-19 11:49 UTC (permalink / raw)
  To: cygwin-apps

On 19.02.2021 06:25, Marco Atzeri wrote:
> On 01.01.2021 17:01, Achim Gratz wrote:
>>
>> So I thought that it woöuld be good to update Qt5 before it becomes Qt6…

>>
>> Regards,
>> Achim.
> 
> it crashes for me for some resource issues, but after
> re-kicking the build it is now running through all the examples
> 

it seems the only big issue is building the documentation requires
a more modern version of qt5-doc-tools than 5.9

probably a boot strapping without docs is needed
to rebuild the qt5-doc-tools

Have you had any progress ?




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ATTN MAINTAINER] qt5-base
  2021-02-19 11:49   ` Marco Atzeri
@ 2021-02-19 20:34     ` Achim Gratz
  0 siblings, 0 replies; 6+ messages in thread
From: Achim Gratz @ 2021-02-19 20:34 UTC (permalink / raw)
  To: cygwin-apps

Marco Atzeri via Cygwin-apps writes:
>> it crashes for me for some resource issues, but after
>> re-kicking the build it is now running through all the examples
>> 
>
> it seems the only big issue is building the documentation requires
> a more modern version of qt5-doc-tools than 5.9

Yes, you'll have to do a full bootstrap, Yaakov hinted at the correct
order of building things on IRC.  Once you're done, just build
everything again…

> probably a boot strapping without docs is needed
> to rebuild the qt5-doc-tools
  
If you look at the cygport files you'll see that the support for that is
already there.

> Have you had any progress ?

I've had to lay it off since it was eating up too much time that I
needed for other things.  Eventually I might get back to it, but I'd not
be mad if you beat me to it.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-02-19 20:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-01 16:01 [ATTN MAINTAINER] qt5-base Achim Gratz
2021-01-01 16:49 ` Achim Gratz
2021-01-01 22:19 ` Mark Geisert
2021-02-19  5:25 ` Marco Atzeri
2021-02-19 11:49   ` Marco Atzeri
2021-02-19 20:34     ` Achim Gratz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).