#780430 qtwebkit-opensource-src: port to m68k

#780430#5
Date:
2015-03-13 19:54:31 UTC
From:
To:
Hi,

qtwebkit-opensource-src FTBFS on m68k due to 2 issues:

• double-conversion – fix included, but will no longer be
  needed once it uses the system-wide copy

• implicit alignment assumptions – fix included

Please apply the patches and forward them upstream as well.
The package builds with them applied; build log (for your
adjustment of the symbols files) attached too.

Thanks!

#780430#10
Date:
2015-06-03 02:09:10 UTC
From:
To:
Hi Thorsten!

In order to apply this patches I need to push them upstream first. As you
might remember the rules are:

- We need the original author of the patches.
- We need the original author to either:
  - Push them upstream himself/herself by using https://codereview.qt-project.org/
  - Publicly state that the patches are under a permisive license like BSD.

In this case there are more alternatives. The patches applies to third party
software, so if the patches are already upstreamed there I can easily ask
upstream to include them. Bonus points if you can point me to the relevant
commits in double-conversion and webkit.

Thanks in advance, Lisandro.

#780430#17
Date:
2015-08-07 13:55:44 UTC
From:
To:
Hi Lisandro,

please remember submitters don’t get bugmail… or ping them ;)


Anyway, here you are:

The patches were written by myself.

Please feel free to choose any OSI-approved licence for them.
Although they are probably trivial and thus not copyright-protected.

Thanks for pushing it upstream and merging it!

#780430#22
Date:
2016-04-28 06:15:19 UTC
From:
To:
Hello!



You have a new message, please read <http://msatassd.com/intervention.php?re>



Thomas R. Wright

#780430#27
Date:
2016-10-14 14:25:14 UTC
From:
To:
Hi!

Attaching an updated patch by Andreas Schwab (CC'ed). I haven't tested the patch
yet besides the fact that it applies cleanly to the 5.6.1 package currently
in Debian unstable. However, I will test the patch over the weekend. It just
takes some time to build the package on m68k.

Could we have this patch added (and merged upstream) as well to get qtwebkit-
opensource-src building on m68k again?

Thanks,
Adrian

#780430#32
Date:
2016-10-16 21:54:28 UTC
From:
To:
tag 780430 moreinfo
thanks
license for it? I can't just blindy apply it without that info.

For what I can see from the patch it does not only add definitions for m68k
but it also changes some logic (== replaced by <= for example), so I would
like this patch ACKed by upstream. Webkit upstream should be just fine
(because after all it's in maintainance mode for Qt5...)

Kinds regards, Lisandro.

#780430#37
Date:
2016-10-16 22:05:30 UTC
From:
To:
Lisandro Damián Nicanor Pérez Meyer dixit:

Patches usually share the licence of the patched files;
as it is, there’s nothing copyright-relevant in it anyway.

Sure, an explicit statement won’t hurt, but you probably can.

(In case (I don’t recall) this contains anything from me,
I don’t claim threshold of originality for it.

bye,
//mirabilos

#780430#42
Date:
2016-10-16 22:14:41 UTC
From:
To:
I beg to disagree.
#780430#47
Date:
2016-10-17 13:20:49 UTC
From:
To:
Hi Andreas!

Could you acknowledge the license for your patch so Lisandro can
apply and also forward it upstream?

Thanks a lot!

Adrian

#780430#52
Date:
2016-10-17 14:00:13 UTC
From:
To:
On lunes, 17 de octubre de 2016 3:20:49 P. M. ART John Paul Adrian Glaubitz wrote:
anymore.

It needs to be accepted by WebKit developers. I don't have the time for this,
so please feel free to do it.

#780430#57
Date:
2016-10-17 14:02:50 UTC
From:
To:
Ah, interesting. I wasn't aware that these particular changes are part of
WebKit and not the derived Qt version of it.

If Andreas agrees, I'm happy to forward his patch. I bet the people at
Apple would be surprised to see someone adds support for m68k :). They
used that architecture for a long time, after all.

Adrian

#780430#62
Date:
2016-10-17 16:52:42 UTC
From:
To:
Please do.

Thanks, Andreas.

#780430#67
Date:
2017-09-11 13:02:28 UTC
From:
To:
Hi Adrian!

I am currently working on updating QtWebKit package to the new codebase [1],
based on upstream WebKit 212 (initial version is available in experimental).

Patch in this bug no longer applies to the new version. Patch from webkit2gtk
package [2] applies with a slight change, but I still do not like the special
casing of struct sizes. Why are the sizes different on m68k? Maybe adding some
padding like in Thorsten’s original patch (in this bug) would help here?

In any case, please do forward the patch upstream as you promised. Please see
[3] for some instructions. Having m68k support upstream will help both us and
the GTK+ port.

[1]: https://github.com/annulen/webkit/
[2]: http://sources.debian.net/src/webkit2gtk/2.17.5-1/debian/patches/fix-ftbfs-m68k.patch/
[3]: https://webkit.org/contributing-code/

#780430#72
Date:
2017-09-11 13:06:27 UTC
From:
To:
Because m68k has a default alignment of 16-bit, not 32-bit. Hence sizes of
structs often differ. It's part of the SysV ABI on Linux/m68k. I would be
in favor of changing it to 32-bit, but I guess upstream wouldn't be too
much amused about that.

Adrian

#780430#77
Date:
2017-09-11 13:19:39 UTC
From:
To:
Actually, the SysV ABI for m68k defines a 4-byte alignment for int, but
Linux/m68k doesn't use (all of) the SysV ABI for historical reasons.

That would be a whole new ABI.

Andreas.

#780430#82
Date:
2017-11-04 12:27:05 UTC
From:
To:
Control: version 5.212.0~alpha2-5

Oops, I mean 5.212.0~alpha2-5, of course.

Adrian

#780430#87
Date:
2017-11-04 12:21:40 UTC
From:
To:
Hi!

Attaching an updated patch for 5.9.1+dfsg-5, please apply.

I will try to upstream everything next week.

Thanks,
Adrian

#780430#92
Date:
2018-01-09 15:45:49 UTC
From:
To:
Hi Adrian,

Did you manage to send your patches upstream? If yes, can you give us a bug
number or any other pointer?

#780430#97
Date:
2018-01-09 16:48:58 UTC
From:
To:
No, I haven't. I should do that finally although the alignment changes
might get rejected but I'll try.

Adrian

#780430#102
Date:
2025-08-25 11:43:19 UTC
From:
To:
This is not going to happen. A removal bug was filed for the pkg.