Repositories for supported Debian, Raspbian, and Ubuntu releases

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
jobbautista9
Keeps coming back
Keeps coming back
Posts: 780
Joined: 2020-11-03, 06:47
Location: Philippines
Contact:

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by jobbautista9 » 2022-11-30, 05:59

Drugwash wrote:
2022-11-30, 05:17
However there is a problem with the alpha channel images, one that was present in 31.4.0 and carries on in 31.4.1 [...] and a similar one in the (non-)animated image
Tracked in Issue #2040 (UXP) and Issue #2041 (UXP) respectively
Image

merry mimas

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

Mima avatar by 絵虎. Pixiv post: https://www.pixiv.net/en/artworks/15431817

Image

User avatar
Drugwash
Fanatic
Fanatic
Posts: 213
Joined: 2016-01-28, 12:08
Location: Ploieşti, Romania
Contact:

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by Drugwash » 2022-11-30, 07:06

jobbautista9 wrote:
2022-11-30, 05:59
Tracked in Issue #2040 (UXP) and Issue #2041 (UXP) respectively
Ah thanks, I'm not familiar with the code repo. In regard to the second issue it's not about the animation itself that I was pointing out but the white "shadow" that seems to slide down from the static image. Most likely same issue as - or related to - alpha transparency. Anyway, it's acknowledged so I'm done. :thumbup:

User avatar
random
Apollo supporter
Apollo supporter
Posts: 33
Joined: 2022-07-22, 06:31

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by random » 2022-11-30, 14:39

stevepusser wrote:
2022-11-29, 23:04
I would assume that the successful matching Debian armhf builds have been installable on the Pi, as they do on the MX Linux variant based on Raspian.

For 31.4.1, I'm going to add a flag in the debian/rules file that detects the armhf and arm64 builds and uses their own mozconfig until jxl builds on it, if ever, since right now I don't have any successful ARM builds on the OBS.
Thanks, for fixing the arm builds. The Debian 11 armhf works fine on Raspbian (11 / bullseye)

User avatar
__NM64__
Lunatic
Lunatic
Posts: 354
Joined: 2013-10-17, 05:29
Location: Northeast Ohio

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by __NM64__ » 2022-11-30, 21:40

It seems my issue is purely something with one specific PC - my other PCs no longer have the issue and it even works in a live ISO of my same OS version on my PC.

So I have no idea, but it's clearly something on my side, therefore don't worry about it.

User avatar
RobertE1997
Moongazer
Moongazer
Posts: 8
Joined: 2022-11-29, 22:47

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by RobertE1997 » 2022-12-01, 14:17

stevepusser wrote:
2022-11-29, 23:04
They just started failing for unknown reasons, even before the jpeg-xl feature made all ARM builds fail.

I would assume that the successful matching Debian armhf builds have been installable on the Pi, as they do on the MX Linux variant based on Raspian.

For 31.4.1, I'm going to add a flag in the debian/rules file that detects the armhf and arm64 builds and uses their own mozconfig until jxl builds on it, if ever, since right now I don't have any successful ARM builds on the OBS.
Where could I find the armhf build for 3.6 or 24? Needing an old version to test due to a system only having 512MB DDR3

User avatar
stevenpusser
Project Contributor
Project Contributor
Posts: 903
Joined: 2015-08-01, 18:33

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by stevenpusser » 2022-12-05, 01:35

Whatever old version you actually need, (3.6???) they are dust in the wind, if I ever had armhf builds on the OBS. You don't even say what OS distrelease you need them for.

Does the current PM use that much more RAM that an old version, anyway?

I believe Tim does archive all the old MX Linux packages I build and send to him for the MX repos, though.

User avatar
random
Apollo supporter
Apollo supporter
Posts: 33
Joined: 2022-07-22, 06:31

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by random » 2022-12-06, 08:33

A recent palemoon version might even work with 512MB RAM. You can try zswap with
ALGO=zstd
PERCENT=100

User avatar
stevenpusser
Project Contributor
Project Contributor
Posts: 903
Joined: 2015-08-01, 18:33

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by stevenpusser » 2022-12-21, 01:09

Currently building 3.4.2 on the OBS with jpeg-xl automatically being disabled on ARM builds. I'll do an experimental build later to see if it still is fatal on ARM, it's just that those take hours and hours to compile in emulation.

Debian testing just recently removed all python2 packages, so it seems I can't do native builds on it. Python2 is alive and well upstream in Debian Sid, so those may be installable--I've seen recommended that the adventurous use a Sid/testing combo anyway (and do more backups than normal!) IDK if there are plans for Pale Moon to move to Python 3, since 2 is EOL.

dbsoft
Project Contributor
Project Contributor
Posts: 405
Joined: 2020-02-21, 17:35

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by dbsoft » 2022-12-21, 01:35

stevepusser wrote:
2022-12-21, 01:09
Debian testing just recently removed all python2 packages, so it seems I can't do native builds on it. Python2 is alive and well upstream in Debian Sid, so those may be installable--I've seen recommended that the adventurous use a Sid/testing combo anyway (and do more backups than normal!) IDK if there are plans for Pale Moon to move to Python 3, since 2 is EOL.
Have you checked if there are Tauthon packages? Pale Moon should build with it.

https://github.com/naftaliharris/tauthon

Activity seems to have slowed on that project though too.

User avatar
random
Apollo supporter
Apollo supporter
Posts: 33
Joined: 2022-07-22, 06:31

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by random » 2022-12-21, 10:29

What about pypy for Python 2.7 compatibility? (I have no idea if it would work)

User avatar
stevenpusser
Project Contributor
Project Contributor
Posts: 903
Joined: 2015-08-01, 18:33

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by stevenpusser » 2022-12-21, 21:59

random wrote:
2022-12-21, 10:29
What about pypy for Python 2.7 compatibility? (I have no idea if it would work)
The python2 version "pypy" is also gone in upstream Debian.

https://packages.debian.org/search?keyw ... ection=all

I attempted a build on Debian 11 with pypy or pypy-dev instead of python2.7 in the build depends, and the PM configure script stopped when it couldn't find "python". I think the best road forward is for the build's internal Python code to migrate to python3 anyway, and I'm sure the developers are well aware of this issue and have had many discussions.

User avatar
stevenpusser
Project Contributor
Project Contributor
Posts: 903
Joined: 2015-08-01, 18:33

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by stevenpusser » 2022-12-22, 01:49

Jxl still causes build failures in armhf and arm64 architectures. :eh: Something to do with the transform code in it...

Ubuntu 18.04 amd64 builds now also fail pretty quickly in the OBS, possibly due to something with the gcc version there. Maybe they have other versions of gcc available; I'll try and check later.

User avatar
jobbautista9
Keeps coming back
Keeps coming back
Posts: 780
Joined: 2020-11-03, 06:47
Location: Philippines
Contact:

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by jobbautista9 » 2022-12-22, 05:05

Can you or someone else on Debian armhf/arm64 please check if this PR fixes building with libjxl? https://repo.palemoon.org/MoonchildProd ... pulls/2062
Image

merry mimas

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

Mima avatar by 絵虎. Pixiv post: https://www.pixiv.net/en/artworks/15431817

Image

User avatar
random
Apollo supporter
Apollo supporter
Posts: 33
Joined: 2022-07-22, 06:31

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by random » 2022-12-22, 12:56

stevepusser wrote:
2022-12-21, 21:59
The python2 version "pypy" is also gone in upstream Debian.
I didn't know. It's gone for bookworm:
https://bugs.debian.org/cgi-bin/bugrepo ... ug=1011926

I think it's a stupid move, because pypy (2.7) is still supported in contrast to cpython, which is EOL.

But it should be in Debian 11. I guess it needs a symlink pypy -> python. (Will it build then? no idea).

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35402
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by Moonchild » 2022-12-22, 13:04

stevepusser wrote:
2022-12-22, 01:49
Jxl still causes build failures in armhf and arm64 architectures. :eh: Something to do with the transform code in it...
Maybe you can poke at the jxl dev/community discord and see if it can be figured out there. They were very helpful for things so far.

https://discord.gg/W9Uc4dMv
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
stevenpusser
Project Contributor
Project Contributor
Posts: 903
Joined: 2015-08-01, 18:33

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by stevenpusser » 2022-12-22, 20:03

jobbautista9 wrote:
2022-12-22, 05:05
Can you or someone else on Debian armhf/arm64 please check if this PR fixes building with libjxl? https://repo.palemoon.org/MoonchildProd ... pulls/2062
I took a look at Debian's builds of libjxl 0.7.0 and 0.8 upstream, and they have this special compiler flag for arm and other architectures:

Code: Select all

ifneq (,$(filter $(DEB_BUILD_ARCH), arm64 armel armhf ppc64el))
  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728
  DEB_CXXFLAGS_MAINT_APPEND += -Wno-psabi
endif
They have also patched the code a bit, but those don't seem to be relevant to my build failures, though.

I'll add that flag to the debian/rules for my test build repo and see what happens.

User avatar
stevenpusser
Project Contributor
Project Contributor
Posts: 903
Joined: 2015-08-01, 18:33

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by stevenpusser » 2022-12-22, 22:04

jobbautista9 wrote:
2022-12-22, 05:05
Can you or someone else on Debian armhf/arm64 please check if this PR fixes building with libjxl? https://repo.palemoon.org/MoonchildProd ... pulls/2062
How do I get and put your pull request into the 31.4.2 source I have?

The compiler flag I was testing didn't work for the standard 31.4.2.

User avatar
jobbautista9
Keeps coming back
Keeps coming back
Posts: 780
Joined: 2020-11-03, 06:47
Location: Philippines
Contact:

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by jobbautista9 » 2022-12-23, 02:45

My PR is based on the master branch and not the release, so you will have to git switch there first. Then you might want to create a separate branch to not contaminate your master branch and switch to there. Then you git pull the repo URL of my fork with jxl-0.7 as the ending argument. Confirm with git log that all 4 commits got pulled from my PR.
Image

merry mimas

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

Mima avatar by 絵虎. Pixiv post: https://www.pixiv.net/en/artworks/15431817

Image

User avatar
stevenpusser
Project Contributor
Project Contributor
Posts: 903
Joined: 2015-08-01, 18:33

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by stevenpusser » 2022-12-23, 20:48

OK, so I use the commands on the PM packager's page to get the current stable release:

Code: Select all

git clone https://repo.palemoon.org/MoonchildProductions/Pale-Moon.git ./ && \
git submodule init && git submodule update && \
git checkout release && git submodule update
So since I am a beginner with git...what command do I run to update from your PR?

User avatar
jobbautista9
Keeps coming back
Keeps coming back
Posts: 780
Joined: 2020-11-03, 06:47
Location: Philippines
Contact:

Re: Repositories for supported Debian, Raspbian, and Ubuntu releases

Unread post by jobbautista9 » 2022-12-24, 02:31

Switch to the platform directory, then:

Code: Select all

git pull https://repo.palemoon.org/jobbautista9/UXP.git jxl-0.7
Switch back to the Pale-Moon directory and build from there.
Image

merry mimas

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

Mima avatar by 絵虎. Pixiv post: https://www.pixiv.net/en/artworks/15431817

Image

Post Reply