4.31 Phoenix - An update of 4.31 with glibc 2.19

Moderator: Forum moderators

Post Reply
darry19662018
Posts: 453
Joined: Sat Dec 14, 2019 12:24 am
Has thanked: 54 times
Been thanked: 65 times

4.31 Phoenix - An update of 4.31 with glibc 2.19

Post by darry19662018 »

http://oldforum.puppylinux.com/puppy/vi ... 1c20e662e3

See last post for experimental version with later glib2.32 by Watchdog and later dbus libraries.

Update 02.09.2019

New unetbootin tested ISO: https://archive.org/download/pup4.311gl ... 2019v2.iso

Features (new) libatomic 6.30, libgconf, libvpx, libxcb, lxrandr, sfsload, pre-record, pavrecord, zarfy, listDD, uextract, xvkbd and corrected the old leftover seamonkey problem.

Update: 10.8.2019

New Iso that has been rebuilt because of previous problems with live-cd booting using woofy 0.91 by scottman. Tested using Unetbootin (sorry can't cd's to test using livecd boot). Browsers are accessed from jwm menu. Also included the excellent Peasy firewall Monitor to be used for monitoring firewall activity - access is from network menu - choose install tryapplet. Has updated PSIP and Deadbeef static 0.72.



Iso: https://archive.org/download/pup4.311gl ... 9%29v1.iso

If you would rather perform the glibc 2.19 upgrade to 4.31 then I have included all you need at Archive.org and instructions in the last post of this thread.

There is a version of the seamonkey Browser without updater available here: https://archive.org/download/pup4.311gl ... 9tweak.pet
As updating will update to a gtk3 version which won't run. When there is a new build this will be added. Thank you. Please read on an enjoy 4.31 Phoenix.

https://archive.org/download/pup4.311gl ... 9%29v3.iso
_________________
User avatar
smokey01
Posts: 171
Joined: Sun Jul 12, 2020 10:46 am
Location: Australia
Has thanked: 21 times
Been thanked: 25 times
Contact:

Re: 4.31 Phoenix - An update of 4.31 with glibc 2.19

Post by smokey01 »

Very nice distro but I noticed many of the default applications don't point to the correct app.

Posting from it now in Palemoon.
darry19662018
Posts: 453
Joined: Sat Dec 14, 2019 12:24 am
Has thanked: 54 times
Been thanked: 65 times

Re: 4.31 Phoenix - An update of 4.31 with glibc 2.19

Post by darry19662018 »

Thanks for your feedback Smokey :)
s243a
Posts: 501
Joined: Mon Dec 09, 2019 7:29 pm
Has thanked: 90 times
Been thanked: 37 times

Re: 4.31 Phoenix - An update of 4.31 with glibc 2.19

Post by s243a »

I thought I'd try the latest palemoon portable in this. My intent here is to create a chrooted (and/or containerized) palemoon. I'm missing "libX11-xcb.so.1" (part of libx11-xcb1):

Code: Select all

XPCOMGlueLoad error for file /opt/PaleMoon-portable-v29.01/palemoon32/libxul.so:
libX11-xcb.so.1: cannot open shared object file: No such file or directory

This is mostly a note to myself to remind me of this thread. I understand that you are getting packages from Jessie for this project? Another note to myself. This is the library path I'm using:

Code: Select all

LD_LIBRARY_PATH="/lib:/usr/lib:/usr/X11R7/lib:/root/my-applications/lib:/opt/qt4/lib"

Newer version of puppy no long have "/usr/X11R7/lib" in LD_LIBRARY_PATH.

Attempt at trying to chroot into my setup with unshare:

Code: Select all

LD_LIBRARY_PATH="/lib:/usr/lib:/usr/X11R7/lib:/root/my-applications/lib:/opt/qt4/lib" unshare -f -C -u -p --mount-proc=/puppy4_palemoon/proc chroot /puppy4_palemoon /opt/PaleMoon-portable-v29.01/LAUNCH

(pale moon:10): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
/opt/PaleMoon-portable-v29.01/palemoon32/palemoon: symbol lookup error: /opt/PaleMoon-portable-v29.01/palemoon32/libxul.so: undefined symbol: gdk_window_get_visual

Possible solution:

"You likely need to install gdk-pixbuf2 (name may very on your distro).

https://community.komodoide.com/t/undef ... isual/1801
https://packages.debian.org/jessie/libgdk-pixbuf2.0-0

I'm going to take a break from this for the moment. Don't feel like installing gdk-pixbuf2 just yet. Here is the script I"m using to build the chroot file system:

Edit: It looks like Phoenix has libgdk-pixbuf2 so that can't be the error.

s243a
Posts: 501
Joined: Mon Dec 09, 2019 7:29 pm
Has thanked: 90 times
Been thanked: 37 times

Re: 4.31 Phoenix - An update of 4.31 with glibc 2.19

Post by s243a »

In my container, when I tried to do "ldconfig" I got there error that /usr/lib/libstdc++.so.6 is not a symbolic link so I deleted it and made it a symbolic link to /usr/lib/libstdc++.so.6.0.9

s243a
Posts: 501
Joined: Mon Dec 09, 2019 7:29 pm
Has thanked: 90 times
Been thanked: 37 times

Re: 4.31 Phoenix - An update of 4.31 with glibc 2.19

Post by s243a »

do you have a devX for this or should I use the standard puppy 4 devX?

darry19662018
Posts: 453
Joined: Sat Dec 14, 2019 12:24 am
Has thanked: 54 times
Been thanked: 65 times

Re: 4.31 Phoenix - An update of 4.31 with glibc 2.19

Post by darry19662018 »

Gidday S243a,

I used the standard 4.31 Devx.
Sorry I am here infrequently - I don't use Puppy much at the moment on my present machine.

s243a
Posts: 501
Joined: Mon Dec 09, 2019 7:29 pm
Has thanked: 90 times
Been thanked: 37 times

Re: 4.31 Phoenix - An update of 4.31 with glibc 2.19

Post by s243a »

darry19662018 wrote: Mon Mar 08, 2021 6:52 am

Gidday S243a,

I used the standard 4.31 Devx.
Sorry I am here infrequently - I don't use Puppy much at the moment on my present machine.

Your absence is missed. Hopefully, you'll be around more in the future. I found devX_430.sfs and I'm trying this first:
https://distro.ibiblio.org/puppylinux/p ... puppy-4.3/

but I I suspect that I will need a newer devX like on for Jessie, lucid or warry. I'm trying to compile ffmpeg and palemoon at the moment. See thread:
"If One wanted a SalckBuild for PaleMoon, one Might Just find It"

It's probably overly ambitious for this old puppy but my thinking was that trying to compile it might give me a better idea of what I'm missing in order to get the latest palemoon working. I'm thinking here that some of your components (e.g. glibc have been updated to jessie) so maybe a I could do a minimal woof-next of the jessie components I need in order to get the latest palemoon to work.

Aside from glibc, which you already updated, I noticed that you don't have xz-utils, this package depends on liblzma5, which you may not also have (Need to verify). I noticed this because the ffmpeg source (see slackbuild) was in tar.xz format, and "which unxz" turned up nothing".

In the 430 devX yasm and nasm seem to be not included. ffmpeg is asking for those but it is possible to compile them for a crippled bild. I will make a folder of changes that I am adding to devX.

More things missing to compile ffmpeg:

Code: Select all

RROR: gnutls not found using pkg-config

Likely, Solution:

With help from ffmpeg's IRC channel, installing the libunistring-dev package fixed the problem.


https://askubuntu.com/questions/1252997 ... untu-20-04

hmmm...not sure if I need libunistring here or not but I'll keep it. I think the package I'm looking for is gnutls-bin as well as the releated dependencies and dev packages.

s243a
Posts: 501
Joined: Mon Dec 09, 2019 7:29 pm
Has thanked: 90 times
Been thanked: 37 times

Re: 4.31 Phoenix - An update of 4.31 with glibc 2.19

Post by s243a »

@darry19662018 . I notice that you have several version of libstdc++. Are those all unique versions or are some hardlinks of each other?

darry19662018
Posts: 453
Joined: Sat Dec 14, 2019 12:24 am
Has thanked: 54 times
Been thanked: 65 times

Re: 4.31 Phoenix - An update of 4.31 with glibc 2.19

Post by darry19662018 »

Yes but can't remember to what apps. Sorry long time since I did that Pup.

s243a
Posts: 501
Joined: Mon Dec 09, 2019 7:29 pm
Has thanked: 90 times
Been thanked: 37 times

Re: 4.31 Phoenix - An update of 4.31 with glibc 2.19

Post by s243a »

I don't promises that this works at all but I've "successfully" compiled ffmpeg 3.2.4 on 4.31 Phoenix with some components updated from debian jessie. Here is the pet ffmpeg_3.2.4_i686.pet (download)

and I've also created an archive that has the pet plus the changes I made to the base sfs and devx:
ffmpeg_3.2.4_i686-1.tar.gz (download)

This package was compiled by using the following slackbuild script:
http://slackbuilds.org/repository/14.2/ ... ia/ffmpeg/

I want to compile the latest palemoon on "puppy 4.31 Phoenix/jessie". For more info see thread:
If One wanted a SalckBuild for PaleMoon, one Might Just find It

My slackbuild script is slightly modified:

Code: Select all

#s243a Options
PULSEAUDIO=no
SAMBA=no
WAVPACK=no
X11GRAB=no
LIBSSH=no
THEORA=no
V4L2=no
VPX=no
#end s243a options

Here is the full script:

Once the compiler started asking for pulseaudio stuff, I got tiered of adding dependencies and this is in part because I was doing it manually. I'm not sure if my compilation supports alsa or what options I should supply the script to support alsa.

The list of dependencies that I added to get it to work can be found here:

s243a
Posts: 501
Joined: Mon Dec 09, 2019 7:29 pm
Has thanked: 90 times
Been thanked: 37 times

Re: 4.31 Phoenix - An update of 4.31 with glibc 2.19

Post by s243a »

As a side note, I used the unxz command to convert the tar.xz archive to a tar archive and modified the script accordingly. I'm not sure how to modify tar to make this happen automatically.

User avatar
wiak
Posts: 4079
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 65 times
Been thanked: 1206 times
Contact:

Re: 4.31 Phoenix - An update of 4.31 with glibc 2.19

Post by wiak »

s243a wrote: Fri Mar 12, 2021 3:14 am

Code: Select all

#s243a Options
X11GRAB=no
...
V4L2=no
...
#end s243a options

Don't you need the above two for video work and also X11 screen-grabbing? I have never compiled ffmpeg so there may be alternatives involved so I'm really just asking without knowledge about it myself (though I have used ffmpeg a lot, and hence my question).

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

s243a
Posts: 501
Joined: Mon Dec 09, 2019 7:29 pm
Has thanked: 90 times
Been thanked: 37 times

Re: 4.31 Phoenix - An update of 4.31 with glibc 2.19

Post by s243a »

wiak wrote: Fri Mar 12, 2021 9:08 am
s243a wrote: Fri Mar 12, 2021 3:14 am

Code: Select all

#s243a Options
X11GRAB=no
...
V4L2=no
...
#end s243a options

Don't you need the above two for video work and also X11 screen-grabbing? I have never compiled ffmpeg so there may be alternatives involved so I'm really just asking without knowledge about it myself (though I have used ffmpeg a lot, and hence my question).

I don't know. I was just happy to see it compile. I was going to try to compile palemoon first and see what happens but if I get frustrated with that I might come back to ffmpeg first and add the necessary dependencies for the two above options.

User avatar
rockedge
Site Admin
Posts: 6532
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2743 times
Been thanked: 2619 times
Contact:

Re: 4.31 Phoenix - An update of 4.31 with glibc 2.19

Post by rockedge »

use a static FFMPEG if you have problems compiling it:
Lots of success with them from here:
https://johnvansickle.com/ffmpeg/

User avatar
mikewalsh
Moderator
Posts: 6150
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 788 times
Been thanked: 1976 times

Re: 4.31 Phoenix - An update of 4.31 with glibc 2.19

Post by mikewalsh »

rockedge wrote: Fri Mar 12, 2021 4:48 pm

use a static FFMPEG if you have problems compiling it:
Lots of success with them from here:
https://johnvansickle.com/ffmpeg/

@rockedge :-

Mostly, these are fine with the majority of Pups (I use them everywhere). 431 is problematic, though; JVS's static builds support right back to k2.6.32....but 431 uses the k2.6.30.5 kernel. It's only just too old for these.....but it is. Darren tried it when we were playing about with the Phoenix, year before last, and.....that was when we realised.

TBH, a re-build with a slightly newer kernel would get round that issue, except it's got to be performed in the old-fashioned way that jrb outlined over on the old Murga-Linux forum, several years ago. No quick'n'easy 'modular' swap here, I'm afraid! :shock:

Mike. ;)

Last edited by mikewalsh on Sun Mar 14, 2021 10:06 pm, edited 1 time in total.
s243a
Posts: 501
Joined: Mon Dec 09, 2019 7:29 pm
Has thanked: 90 times
Been thanked: 37 times

Re: 4.31 Phoenix - An update of 4.31 with glibc 2.19

Post by s243a »

I uploaded this to dropbox mostly for myself:

phoenix-sandboxed_0.001.cpio.gz (download)

I can't guarantee that it has everything in it that I used to compile ffmpeg but I'll test it shortly. It is not recommended for general use at this point because I need to do more testing, and I have only tested the simplechroot script which only partly works.

By this I mean that If I run the following command:

Code: Select all

bash -x ./simplechroot --xephyr-disp 2>&1 | tee simplechroot.log

The chroot folders are successfully created but the desktop fails to start. However, if I run the command to start the desk top again (in another terminal) prior to unmounting my aufs chroot,

Code: Select all

LD_LIBRARY_PATH=/lib:/usr/lib:/usr/X11R7/lib:/root/my-applications/lib:/opt/qt4/lib DISPLAY=:2 unshare -f -C -u -p --mount-proc=/puppy4_palemoon/proc chroot /puppy4_palemoon /init_basic

The desktop starts. This is possible because in my function to do the unmounts I have a press enter to continue. Maybe if I now try testing the container feature it will help me further troubleshoot the issue.

The archive is larger than it needs to be because I included an sfs of the palemoon portable in it. I probably shouldn't have because I don't have it working yet. The simplechroot scirpt is located in a subfolder called "browser_scripts". Here is the code:

This code sources the following file which contains the init script:

which strips some things from the tray via the following sed script:

Code: Select all

#!/bin/sed -nrf
{H;}
/^.*<\/Swallow>.*$/ {x;
                                    s#(.*)(.*<Swallow[^<]*.*asapmshell.*$)#\1#g;tp
                                    s#(.*)(.*<Swallow[^<]*.*freememappletshell.*$)#\1#g;tp
                                    s#(.*)(.*<Swallow[^<]*.*xload.*$)#\1#g;tp
                                   }
/^.*<\/Swallow>.*$/ {bp}
$ {x;p}
/.*/! {:p #Print than cleanup
       #s/([[:blank:]]*)//g #This doesn't seem to do anything
        p
        s/.*//g;x;d}

For more info see thread:
sed script to remove xload items from tray

Post Reply

Return to “Re-masters”