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 Mon 20 Nov 2017, 06:06
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Auto-build a Puppy iso; single script with optional gui
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 16 of 16 [234 Posts]   Goto page: Previous 1, 2, 3, ..., 14, 15, 16
Author Message
wiak

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

PostPosted: Thu 26 Oct 2017, 20:52    Post subject:  

Re-uploaded hopefully fixed makepup ver 0.1.3. kernel2add tested as working on this one.

Changes ver 0.1.3:

Modified kernels2add to kernel2add routines so huge_kernel tarball placed in local-repositories/kernel2add/ will be automatically used in preference to any other selected. (Note folder name changed from kernels2add into kernel2add (singular).
If more than one huge kernel tarball in local-repositories/kernel2add then script will automatically pause during 3builddistro-Z process and ask user to choose from these kernels.

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


Joined: 19 May 2012
Posts: 1583
Location: lincoln, uk

PostPosted: Thu 26 Oct 2017, 22:56    Post subject:  

hi wiak

_13 ran with huge kernel in >local repositories?huge kernel

the script worked correctly and picked up the kernel (4.4.35) for the build

unable to test the ISO yet as running an upload to archive.org, will test later today

cheers!

Smile
Back to top
View user's profile Send private message Visit poster's website 
ally


Joined: 19 May 2012
Posts: 1583
Location: lincoln, uk

PostPosted: Sat 28 Oct 2017, 22:11    Post subject:  

well my experiment failed, although the ISO built correctly boot failed with xz compression not supported

appreciate the effort wiak, thanks for sorting the add kernel

Smile
Back to top
View user's profile Send private message Visit poster's website 
davids45


Joined: 26 Nov 2006
Posts: 992
Location: Chatswood, NSW

PostPosted: Sun 29 Oct 2017, 00:21    Post subject: makepup-0.1.3 - first try = success
Subject description: builds with 'agnostic' kernel
 

G'day wiak,

I've done a quick try of makepup-0.1.3, setting the default Pup as StretchPup (7.0.0.2a) but with a Xenial kernel.
I made the singular kernel2add directory and copied the Xenial huge kernel (4.9.56-lxpup-32-pae) to that then ran ./makepup.

After a few prompted inputs during the build, I got a new makepup directory, including in the usual place, a StretchPup iso and then used the /build files for a manual Frugal.

This booted and ran, and once I'd loaded up my regular application sfs and pets, and made a few fixes for printing, it all seems to be working despite the mixed build+kernel.

Next, I'll more slowly try something, with the right added pets to fix certain problems and perhaps use a slacko kernel in a Xenial Pup.

Thanks for your continued clever adaptions.

David S.
stretch-xenial-pinboard.jpg
 Description   Makepup-0.1.3 Stretch-Xenial pinboard with all application icons working
 Filesize   130.33 KB
 Viewed   512 Time(s)

stretch-xenial-pinboard.jpg

stretch-xenial-widgetdetail.jpg
 Description   Puppy Linux detail per pwidgets in this mixed Pup
 Filesize   46.09 KB
 Viewed   509 Time(s)

stretch-xenial-widgetdetail.jpg

Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 643
Location: PH

PostPosted: Sun 29 Oct 2017, 02:39    Post subject:  

Hi is it possible to add default desktop environment selection? So we can build puppy without gui, xfce, lxde, or kde build
Back to top
View user's profile Send private message 
wiak

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

PostPosted: Sun 29 Oct 2017, 06:19    Post subject: Re: makepup-0.1.3 - first try = success
Subject description: builds with 'agnostic' kernel
 

davids45 wrote:

I made the singular kernel2add directory


That's fine, David, though there is no need to manually create that kernel2add directory since makepup creates it automaticallyfor you. If using gui, then you just press the kernel2add button and that directory will open up in your filemanager ready for you to copy the huge_kernel_tarball you want for your build into there.

Thanks for your useful continuing reports.

@mistfire: No, I doubt that kind of complexity could or should be added since it is woof-CE github itself that contains the build 'recipes'. Yes, it would be theoretically possible to modify makepup to tinker with these build configurations but very complex in practice. Better to just learn how to configure a build setup on woof-CE (without DE, WM or whatever you want) and that build could then be easily used/automated/added-to by anyone using makepup as frontend.

EDIT: Note that makepup doesn't automate making a distro "build recipe" for woof-CE github. I'm sure there would be a good market for such an app though Wink

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


Joined: 16 Sep 2009
Posts: 2548
Location: UK

PostPosted: Sun 29 Oct 2017, 09:34    Post subject:  

mistfire,

Building a pup without X would require manual hacks in the init and boot scripts, probably starting with /etc/profile, which gets sourced by /root/.bashrc after login..

"De-coupling" puppy from X is something lots of people have wanted to do, and is one of the reasons I suggest we should always endeavor to write CLI apps, with separate GUIs going into the future - so we don't make the problem worse..

As for choosing WMs that use X, that is just a matter of package selection, plus some post-install fixes, to hack /root/.xinitrc and some other stuff (in /etc/, elsewhere)..

The trouble is Puppy system scripts are not only coupled to X far too often, some of them are even coupled to ROX and jwm...

A bit of work in Woof-CE would need to be done to make selecting WMs at build time something wiak (or anyone else) could implement..

To do it, all references to ROX should be replaced with references to 'defaultfilemanager', ,any basic system scripts/tools/etc would need to be de-coupled (separated) from X and gtkdialog, and split into separate CLI+gui scripts.. and so on...

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2163

PostPosted: Sun 29 Oct 2017, 13:09    Post subject:  

I did play around with a cli type pup some time back, using mc for file manager, along with a framebuffer so you could run the likes of mplayer for playing videos, and I had a script that could wget a web page and converted the html to pdf where you could display that web page in the framebuffer (graphical). Initial image resolution wasn't good but I found a alternative that had much better image resolution but I've forgotten the name of the program that did that.

Quick search found this https://youtu.be/WgFfKpGK2Pg video of the type of thing. Using console cli apps wasn't that bad. I found a version of sc for instance that supported .xls spreadsheet format etc. A long way from providing Puppy type scripts functionality however, which as sc0ttman suggested would take considerable effort.
Back to top
View user's profile Send private message 
wiak

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

PostPosted: Wed 08 Nov 2017, 16:32    Post subject:  

In case you haven't already noticed it buried deep in the Applications->Documents section of the forum, makepup now has a fork in the same program-style family called "makeblog".

Makeblog has nothing to do with woof-CE though, being not for woof-CE scripts but rather a frontend for bashblog (a single bash script for creating local or on-the-web blog sites - all stored in single, easy-to-copy directory). Makeblog also provides some enhancements to bashblog and, hopefully like makepup, is simple to use (just run it and press the Do it! button in the gui). You can find makeblog here:

http://www.murga-linux.com/puppy/viewtopic.php?t=112046

Quote:
Tip: makeblog is also useful as a note-keeping system whether you published the resulting blog pages online or not. Can also help organise your local documents since you can include links in any blog post to where any document (or photo or video or folder) is stored. It is also easy to embed say a youtube video in a blog post. I'll post about how to do that later. You can of course easily also insert images (including animated gifs) in your blog post notes.


I'm actually using this instead of hierarchical notetaker cherrytree, as well as making online github.io blogs with it. Cherrytree was unable to use jpeg image files (everything went to png) and the single cherrytree notes files became larger than suited me. Also rtf isn't as good as html (via bluegriffon or similar wysiwyg html editor) for embedding videos and so on. In fact html is a very powerful method for making and storing docs and making links to existing ones, all of which I use makeblog/enhanced-bashblog for.

NOTE how well cut and paste directly from forum post into makeblog new post works (depends on CSS of course, but matches forum style wonderfully - try doing that with cherrytree or notecase and compare result... However, using cherrytree program is also useful for capturing web-clippings since it does a good job of simplifying the html on complex pages prior to cutting and pasting to makeblog-created blog via bluegriffon or seamonkey-composer).

I have also created a blog post that contains links to folders (trivial to do with bluegriffon as makeblog html editor) and various important files on my system (including folder with music/videos in it, which I can then click to play in background whilst I'm browsing...) so I can easily access these resources immediately from within my browser and also browse my blog notes.

TIP: Make a personal local blog index page the homepage for your browser - and use that local blog ito manage all your notes and contents.

Makeblog doesn't (yet, or ever?) contain any local search for text in post utility, but for now at least I use geany for searching for text strings in my makeblog-generated blog notes - geany has a truly excellent Search -> Find in Files utility that even allows use of regular expressions, so you can quickly find name of note the text is in and then open it in browser etc. Just point geany FInd in FIles to current local makeblog directory and enter search term and the result will pop up. Or simply use grep (or even sed!) from the makeblog folder:

Code:
grep -rn '<text_string_to_search_for>' *.html

with some extra coding could no doubt get grep search result, as part of a gui, in a clickable window to open up in browser or html code editor (but I haven't written that code).

Tested on both Slacko64 and XenialDog32. But should work on pretty much any Puppy.

wiak
blogpage.jpg
 Description   resulting makeblog page
 Filesize   72.13 KB
 Viewed   231 Time(s)

blogpage.jpg

makeblog_cutandpaste.jpg
 Description   Cutting and pasting from web into makeblog with bluegriffon as html editor
 Filesize   55.46 KB
 Viewed   233 Time(s)

makeblog_cutandpaste.jpg

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 16 of 16 [234 Posts]   Goto page: Previous 1, 2, 3, ..., 14, 15, 16
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.0661s ][ Queries: 13 (0.0167s) ][ GZIP on ]