Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 19 Sep 2018, 17:14
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
TazPuppy Beta 4
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 18 of 43 [642 Posts]   Goto page: Previous 1, 2, 3, ..., 16, 17, 18, 19, 20, ..., 41, 42, 43 Next
Author Message
s243a

Joined: 02 Sep 2014
Posts: 1126

PostPosted: Wed 23 May 2018, 22:02    Post subject: Re: puppy_tazpup_4.4.sfs  

don570 wrote:
Modify puppy_tazpup_4.4.sfs

I was able to modify the sfs file in fatdog64 linux using the instructions
that I got from fatdog64 site. This allowed me to add scripts and apps to tazpup without the need of an installer app
but I need to use a version of linux that has mksquashfs.

Quote:


Get the puppy_tazpup_4.4.sfs from the disk image as explained previously.

Extract the puppy_tazpup_4.4.sfs by issuing this command.
It will create a new directory called squashfs-root containing all the files inside puppy_tazpup_4.4.sfs in the current directory.

unsquashfs puppy_tazpup_4.4.sfs



Modify other files/scripts/configuration files as needed.

Re-pack (re-generate) the sfs by issuing this command:

mksquashfs squashfs-root puppy_tazpup_4.4.sfs -comp xz -Xbcj arm -noappend



___________________________________________________________________________
so.

Speeking of unsquashfs, Uextract (tazpup version) requires unsquashfs to unsquash an sfs file. It also requires liblz4.so to unsquash squash files.

I did squash in the package manger and installed the related packages. To get the other dependency do a search for lz4 in the package manager.
Back to top
View user's profile Send private message 
Terry H

Joined: 29 Mar 2009
Posts: 414
Location: The Heart of Muskoka, ON Canada

PostPosted: Wed 23 May 2018, 22:17    Post subject:  

Currently running tazpup alpha 8. Working well, installed deadbeef via tazpkg. I am also running palemoon 27.9.1 from /mnt/home.

My only issue isn't about tazpup itself, but with Midori. I've tried to use Midori over the years, but find it still has too many errors in rendering pages that I may visit to make it usable.

This is just a sample of a couple of websites I've tried recently with Midori/TazWeb Browser which have errors:

cnn.com - This is severe error, locks up when at about 90% loaded and I have to kill the process or wait for non-responsive message.

cbc.ca - This renders the page as unusable.

TazPup is still a great initiative I'm enjoying using, so thanks mistfire. Looking forward to using future releases.
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 945
Location: PH

PostPosted: Wed 23 May 2018, 22:20    Post subject:  

Thanks @fred for your suggestion I made a symlink of sh to busybox-pup and the slitaz installer page in tazpanel works. Also puppy core apps still working.

In my latest experiment, pfix=nox boot parameter now works.
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 945
Location: PH

PostPosted: Wed 23 May 2018, 22:25    Post subject:  

@Terry H the problem on midori was not on the browser itself but on the webkitgtk engine. It was extremely difficult to compile a new webkitgtk.
Back to top
View user's profile Send private message 
rg66


Joined: 23 Jul 2012
Posts: 1160
Location: Vancouver, BC Canada / Entebbe, Uganda Africa!?!

PostPosted: Wed 23 May 2018, 22:29    Post subject: Re: puppy_tazpup_4.4.sfs  

s243a wrote:
Speeking of unsquashfs, Uextract (tazpup version) requires unsquashfs to unsquash an sfs file. It also requires liblz4.so to unsquash squash files.


I mentioned that here, it obviously got missed. A reminder never hurts.

Edit: Just noticed I was talking about squashfs not unsquashfs, sorry. Anyway, they both need to be added.

_________________
X-slacko-5b1 - X-tahr-2.0 - X-precise-2.4
X-series repo

Last edited by rg66 on Wed 23 May 2018, 23:01; edited 2 times in total
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 938
Location: not Bulgaria

PostPosted: Wed 23 May 2018, 22:52    Post subject:  

mistfire wrote:
Thanks @fred for your suggestion I made a symlink of sh to busybox-pup and the slitaz installer page in tazpanel works. Also puppy core apps still working.


Which is good and best. But you will now find that other common puppy utils written in bash/gtkdialog will not work correctly even if bash is on your system because gtkdialog uses system call in C which uses /bin/sh -c "command_string" which will not see functions exported by bash using export -f. Note that that problem will remain despite the script being written to itself use #!/bin/bash. Nevertheless I still think that /bin/sh should not be a link to /bin/bash other than as an ugly fudge to the gtkdialog issue - i.e. your link to busybox sh is correct IMO. The Puppy bash/gtkdialog programs need to be modified (partially re-written) to work correctly when /bin/sh does not point to /bin/bash is 'correct' (non-ugly-fudge) solution to that.

Either that, and perhaps better, gtkdialog program itself could do with being modified to not use C system call (which always uses /bin/sh -c "command_string") but instead to use bash if required (maybe via fork/exec calls). Then it would be easy to modify existing apps to work (maybe a one line fix). But these matters are not specifically tazpup problems - they are problems for the bash/gtkdialog program authors.

wiak
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 1126

PostPosted: Thu 24 May 2018, 02:04    Post subject:  

I made a script to build a devX from packages installed on ones system:

https://pastebin.com/Zn5dvt7t

Trimmed Version:

Code:

    #!/bin/bash
    ROOT='/mnt/home/devX_TazPup_s243a_1.0'
    PACKAGES=(
'/var/lib/tazpkg/installed/alsa-lib'
'/var/lib/tazpkg/installed/atk'
'/var/lib/tazpkg/installed/atk-dev'
'/var/lib/tazpkg/installed/atkmm'
'/var/lib/tazpkg/installed/atkmm-dev'
'/var/lib/tazpkg/installed/attr'
'/var/lib/tazpkg/installed/audacious-dev'
'/var/lib/tazpkg/installed/automoc4'
'/var/lib/tazpkg/installed/binutils'
'/var/lib/tazpkg/installed/busybox-httpd-ctrl'
'/var/lib/tazpkg/installed/cairomm'
'/var/lib/tazpkg/installed/cmake'
'/var/lib/tazpkg/installed/cookutils'
'/var/lib/tazpkg/installed/cyrus-sasl-dev'
'/var/lib/tazpkg/installed/dbus-glib-dev'
'/var/lib/tazpkg/installed/elfkickers'
'/var/lib/tazpkg/installed/elfutils'
'/var/lib/tazpkg/installed/enchant'
'/var/lib/tazpkg/installed/gcc'
'/var/lib/tazpkg/installed/gcc-lib-base'
'/var/lib/tazpkg/installed/gcc-lib-math'
'/var/lib/tazpkg/installed/gdbm-dev'
'/var/lib/tazpkg/installed/gdk-pixbuf-dev'
'/var/lib/tazpkg/installed/geany-dev'
'/var/lib/tazpkg/installed/gettext'
'/var/lib/tazpkg/installed/gettext-base'
'/var/lib/tazpkg/installed/gettext-tools'
'/var/lib/tazpkg/installed/glade3'
'/var/lib/tazpkg/installed/glade-perl'
'/var/lib/tazpkg/installed/glib-dev'
'/var/lib/tazpkg/installed/glib-networking-dev'
'/var/lib/tazpkg/installed/glibc-dev'
'/var/lib/tazpkg/installed/glibmm-dev'
'/var/lib/tazpkg/installed/gmp'
'/var/lib/tazpkg/installed/gobject-introspection-dev'
'/var/lib/tazpkg/installed/groff'
'/var/lib/tazpkg/installed/gtk+3-dev'
'/var/lib/tazpkg/installed/gtk+-dev'
'/var/lib/tazpkg/installed/gtk-girepository'
'/var/lib/tazpkg/installed/gtkmm-dev'
'/var/lib/tazpkg/installed/guile'
'/var/lib/tazpkg/installed/guile-dev'
'/var/lib/tazpkg/installed/gutenprint-dev'
'/var/lib/tazpkg/installed/icu-dev'
'/var/lib/tazpkg/installed/libcrypto-dev'
'/var/lib/tazpkg/installed/libcurl'
'/var/lib/tazpkg/installed/libffi'
'/var/lib/tazpkg/installed/libgee-dev'
'/var/lib/tazpkg/installed/libgio-dev'
'/var/lib/tazpkg/installed/libgiomm-dev'
'/var/lib/tazpkg/installed/libglade-dev'
'/var/lib/tazpkg/installed/libglademm-dev'
'/var/lib/tazpkg/installed/libgnomeprint-dev'
'/var/lib/tazpkg/installed/libgnomeprintui-dev'
'/var/lib/tazpkg/installed/libgphoto2-dev'
'/var/lib/tazpkg/installed/libgtkimageview-dev'
'/var/lib/tazpkg/installed/libgudev'
'/var/lib/tazpkg/installed/libgudev-dev'
'/var/lib/tazpkg/installed/liblxqt-dev'
'/var/lib/tazpkg/installed/libmagic-dev'
'/var/lib/tazpkg/installed/libmicrohttpd-dev'
'/var/lib/tazpkg/installed/libnl'
'/var/lib/tazpkg/installed/libqwt5-qt4-dev'
'/var/lib/tazpkg/installed/libqwt6-qt4-dev'
'/var/lib/tazpkg/installed/libsasl'
'/var/lib/tazpkg/installed/libsasl-modules'
'/var/lib/tazpkg/installed/libsigc++'
'/var/lib/tazpkg/installed/lz4-dev'
'/var/lib/tazpkg/installed/lz5-dev'
'/var/lib/tazpkg/installed/lzo-dev'
'/var/lib/tazpkg/installed/nettle-dev'
'/var/lib/tazpkg/installed/pango'
'/var/lib/tazpkg/installed/pangomm'
'/var/lib/tazpkg/installed/patchelf'
'/var/lib/tazpkg/installed/perl'
'/var/lib/tazpkg/installed/perl-extutils-pkgconfig'
'/var/lib/tazpkg/installed/perl-gtk2'
'/var/lib/tazpkg/installed/perl-gtk2-trayicon'
'/var/lib/tazpkg/installed/perl-libjson'
'/var/lib/tazpkg/installed/perl-locale-gettext'
'/var/lib/tazpkg/installed/perl-maketext-gettext'
'/var/lib/tazpkg/installed/pkg-config'
'/var/lib/tazpkg/installed/pycrypto'
'/var/lib/tazpkg/installed/pycurl'
'/var/lib/tazpkg/installed/pygobject'
'/var/lib/tazpkg/installed/pygobject3'
'/var/lib/tazpkg/installed/pygobject-dev'
'/var/lib/tazpkg/installed/pygtk'
'/var/lib/tazpkg/installed/pygtk-dev'
'/var/lib/tazpkg/installed/PyQt-x11-gpl'
'/var/lib/tazpkg/installed/python'
'/var/lib/tazpkg/installed/python-docutils'
'/var/lib/tazpkg/installed/python-idle'
'/var/lib/tazpkg/installed/python-magic'
'/var/lib/tazpkg/installed/python-pyxml'
'/var/lib/tazpkg/installed/python-simplejson'
'/var/lib/tazpkg/installed/python-xmlutils'
'/var/lib/tazpkg/installed/qmake'
'/var/lib/tazpkg/installed/Qt4-dev'
'/var/lib/tazpkg/installed/xorg-dev'
)

copyPackage(){
    PACKAGE=$1
    if [ -n "$2" ]; then
      aRoot="$2"
    else
      aROOT="$ROOT"
    fi
    while read line; do
      DIR=$(dirname "$line")
      mkdir -p "$aROOT$DIR"
      cp -a -u "$line" "$aROOT$line"
    done <$PACKAGE/files.list
}
for PACKAGE in "${PACKAGES[@]}"; do
  copyPackage "$PACKAGE"
done
mksquashfs "$ROOT" devX_TazPup_s243a_1.0.sfs -comp xz -Xbcj arm -noappend


When I ran the script there were a number of missing files (see fake .gz attachment). I think this is due to TazPup deleting files when it updates libs. I had 1673 duplicate files, so I can shrink the size by adding symbolic links.

The script could be modified to download the package via the package manager if it is not installed.

My devX build can be downloaded at:
https://www.dropbox.com/s/sov681cm66456gp/devX_TazPup_s243a_1.0.sfs?dl=0
I haven't tested it because I'm just installing development libs directly on my system. I just sort of looked at the names of the packages I installed on my system and thought whether or not they might be useful for development here. There is no expert opinion going on. I also prior to doing this, looked at the files in the devX 5.7.0 and tried to figure out what package they might be in the TazPup package manager. I didn't dig too deep. I just tried a few search words in the package manger. I mostly looked at folder names in the /usr/lib folder of devX. To be more thorough, I also should of looked at the files names in this folder also.

I"m guessing Wolf might have some description of what packages are in devX but I know next to nothing about Wolf so I didn't use it.

The full version shows all the packages that I installed on my system. Packages that didn't seem relevant to devX are commented out. The list was easy to make because the file manager on TazPup, lets you select a bunch of files and then copy all the path names at once.
missing_files.gz
Description 
gz

 Download 
Filename  missing_files.gz 
Filesize  3.28 KB 
Downloaded  44 Time(s) 
Back to top
View user's profile Send private message 
darry19662018

Joined: 31 Mar 2018
Posts: 228

PostPosted: Thu 24 May 2018, 03:22    Post subject:  

I have posted vamps for anyone who wants to run pburn on their Tazpup.

Got it from Slacko. Vamps was missing from the Slitaz package manager.

https://sourceforge.net/projects/tazpuppy-apps/files/vamps-0.99.2-i486.tazpkg/download
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 945
Location: PH

PostPosted: Thu 24 May 2018, 05:56    Post subject:  

Im still waiting for feedback about multisession mode in Tazpup
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 1126

PostPosted: Thu 24 May 2018, 10:15    Post subject:  

s243a wrote:
I made a script to build a devX from packages installed on ones system:

https://pastebin.com/Zn5dvt7t

Trimmed Version:

Code:

    #!/bin/bash
    ROOT='/mnt/home/devX_TazPup_s243a_1.0'
    PACKAGES=(
....
)

copyPackage(){
    PACKAGE=$1
    if [ -n "$2" ]; then
      aRoot="$2"
    else
      aROOT="$ROOT"
    fi
    while read line; do
      DIR=$(dirname "$line")
      mkdir -p "$aROOT$DIR"
      cp -a -u "$line" "$aROOT$line"
    done <$PACKAGE/files.list
}
for PACKAGE in "${PACKAGES[@]}"; do
  copyPackage "$PACKAGE"
done
mksquashfs "$ROOT" devX_TazPup_s243a_1.0.sfs -comp xz -Xbcj arm -noappend


When I ran the script there were a number of missing files (see fake .gz attachment). I think this is due to TazPup deleting files when it updates libs. I had 1673 duplicate files, so I can shrink the size by adding symbolic links.

The script could be modified to download the package via the package manager if it is not installed.

My devX build can be downloaded at:
https://www.dropbox.com/s/sov681cm66456gp/devX_TazPup_s243a_1.0.sfs?dl=0
I haven't tested it because I'm just installing development libs directly on my system. I just sort of looked at the names of the packages I installed on my system and thought whether or not they might be useful for development here. There is no expert opinion going on. I also prior to doing this, looked at the files in the devX 5.7.0 and tried to figure out what package they might be in the TazPup package manager. I didn't dig too deep. I just tried a few search words in the package manger. I mostly looked at folder names in the /usr/lib folder of devX. To be more thorough, I also should of looked at the files names in this folder also.

I"m guessing Wolf might have some description of what packages are in devX but I know next to nothing about Wolf so I didn't use it.

The full version shows all the packages that I installed on my system. Packages that didn't seem relevant to devX are commented out. The list was easy to make because the file manager on TazPup, lets you select a bunch of files and then copy all the path names at once.


I seem to be missing some packages, some of which are in the following:
Code:

/var/lib/tazpkg/installed/curl
/var/lib/tazpkg/installed/curl-dev
/var/lib/tazpkg/installed/curlftpfs
/var/lib/tazpkg/installed/gmp-dev
/var/lib/tazpkg/installed/libxkbcommon
/var/lib/tazpkg/installed/libxkbcommon-dev
/var/lib/tazpkg/installed/libxklavier
/var/lib/tazpkg/installed/mpc-library
/var/lib/tazpkg/installed/mpfr
/var/lib/tazpkg/installed/mpfr-dev
/var/lib/tazpkg/installed/ncmpc
/var/lib/tazpkg/installed/ncmpcpp
/var/lib/tazpkg/installed/php-curl
/var/lib/tazpkg/installed/qt4
/var/lib/tazpkg/installed/qtconfig
/var/lib/tazpkg/installed/qxkb
/var/lib/tazpkg/installed/sbxkb
/var/lib/tazpkg/installed/uget
/var/lib/tazpkg/installed/xorg-libX11-dev
/var/lib/tazpkg/installed/xorg-libxkbfile-dev
/var/lib/tazpkg/installed/xorg-xkbutils
/var/lib/tazpkg/installed/automake
/var/lib/tazpkg/installed/automoc4
/var/lib/tazpkg/installed/cmake
/var/lib/tazpkg/installed/gcc
/var/lib/tazpkg/installed/gcc63
/var/lib/tazpkg/installed/gcc63-lib-base
/var/lib/tazpkg/installed/gcc-lib-base
/var/lib/tazpkg/installed/gfortran
/var/lib/tazpkg/installed/gmpc
/var/lib/tazpkg/installed/gmpc-dev
/var/lib/tazpkg/installed/gnustep-make
/var/lib/tazpkg/installed/libgfortran
/var/lib/tazpkg/installed/libobjc
/var/lib/tazpkg/installed/make
/var/lib/tazpkg/installed/makeself
/var/lib/tazpkg/installed/mpc
/var/lib/tazpkg/installed/perl-locale-maketext-lexicon
/var/lib/tazpkg/installed/rake
/var/lib/tazpkg/installed/smake
/var/lib/tazpkg/installed/swig
/var/lib/tazpkg/installed/xorg-gccmakedep
/var/lib/tazpkg/installed/xorg-imake
/var/lib/tazpkg/installed/xorg-makedepend
/var/lib/tazpkg/installed/ruby
/var/lib/tazpkg/installed/rake
/var/lib/tazpkg/installed/ruby-dev


I thought I already installed some of these like cmake.

Edit; from my previous post it looks like I did install some of these. Maybe I just forgot to copy the files which says that these packages are installed. I need to do this because I think I broke something in the shutdown save. I did noticed on shutdown that readlink is liked to busybox and it isn't accepting some of the options in the shutdown script. Maybe I need to install the package containg readlink.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5142
Location: Ontario

PostPosted: Thu 24 May 2018, 11:49    Post subject: yaf-splash  

I am testing alpha8 (frugal install to hard disk) and everything working Cool

Sound works at bootup and time is correct.

yaf-splash is installed. I tested with the following...

Code:

yaf-splash -timeout 3 -margin 20 -bw 5   -bg orange  -outline 0  -text  "  SPLASHTEXT "

______________________________________________
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 1126

PostPosted: Fri 25 May 2018, 03:50    Post subject:  

I think for cmake to work we have to work one has to define the build environment.

Here is an example

Code:

# Define our host system
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR arm)
SET(CMAKE_SYSTEM_VERSION 1)

SET(rpi-tools-dir ${CMAKE_SOURCE_DIR}/rpi-tools)

# Define the C cross compiler location
SET(CMAKE_C_COMPILER  ${rpi-tools-dir}/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-gcc)

# Define the CXX cross compiler location
SET(CMAKE_CXX_COMPILER  ${rpi-tools-dir}/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++)

# Define the sysroot path for the RaspberryPi distribution in our tools folder
SET(CMAKE_FIND_ROOT_PATH ${rpi-tools-dir}/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/arm-linux-gnueabihf/sysroot/)

# Only use binaries from the host and not from the toolchain sysroot
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)

# Search for libraries only in the target sysroot
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
# Search for the headers in the target and host directories
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)

https://stackoverflow.com/questions/48857395/cmake-usr-include-not-used-to-find-fftw3-h

I'm not sure where a standard puppy might do this (e.g. in DevX or /etc/Profile) but maybe I can grep for some of these environmental variables in a standard pup to see what I find but it's my bedtime so I can't figure this out tonight.
Back to top
View user's profile Send private message 
darry19662018

Joined: 31 Mar 2018
Posts: 228

PostPosted: Fri 25 May 2018, 16:00    Post subject:  

mistfire wrote:
Im still waiting for feedback about multisession mode in Tazpup


Has anyone managed to do this with Multisession - personally unable to do this - has anyone tried?
Back to top
View user's profile Send private message 
darry19662018

Joined: 31 Mar 2018
Posts: 228

PostPosted: Fri 25 May 2018, 16:44    Post subject: Dogradio  

Mmmm I have added Dogradio to my app collection however has the following behavior "failed to connect to stream" when clicking on radio stations however Dogradio does connect and play the chosen stream. The streams are displayed as to what is currently playing. I wish to acknowlege Fredx181 for such a great program thank you.

I had to install Mplayer-cli and conky from the Package Manager as dependencies.

https://sourceforge.net/projects/tazpuppy-apps/files/Dogradio/dogradio-0.0.5.tazpkg/download

https://sourceforge.net/projects/tazpuppy-apps/files/Dogradio/yad-0.20.3-1.tazpkg/download
Back to top
View user's profile Send private message 
darry19662018

Joined: 31 Mar 2018
Posts: 228

PostPosted: Fri 25 May 2018, 17:44    Post subject:  

I have made a new Dogradio 0.0.8 package which has changes in the program. Also the behavior mentioned in previous post seems to be corrected in this version.

https://sourceforge.net/projects/tazpuppy-apps/files/Dogradio/dogradio-0.0.8.tazpkg/download

Details regarding 0.0.8

http://murga-linux.com/puppy/viewtopic.php?p=984677&search_id=1103059265#984677

https://sourceforge.net/projects/tazpuppy-apps/files/Dogradio/yad-0.20.3-1.tazpkg/download
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 18 of 43 [642 Posts]   Goto page: Previous 1, 2, 3, ..., 16, 17, 18, 19, 20, ..., 41, 42, 43 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1041s ][ Queries: 15 (0.0117s) ][ GZIP on ]