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 Fri 01 Aug 2014, 19:08
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
slackware 13.37 source packages downloader and build package
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Sun 17 Jul 2011, 01:03    Post subject:  slackware 13.37 source packages downloader and build package
Subject description: an easy how to compile from souce with a GUI
 

Well I caused a bit of confusion for some people as to what are my plans
so I'll try again with something even more complex Laughing


not really it was a joke lighten up ok

everyone here is trying to learn more about linux right?

this works so simply I dont know why people dont build packages from source
you spend more time searching for working packages than just to make working packages

***if you dont want to build from source this is not for you ****

ok a warning I feel better even though nothing gets auto installed yet


when you plan to build a lot packages from sources
things get messy so I used slackware's 13.37 as a reference point
everything done here works only on slackware's 13.37

why well, it shows how you can take an official big dog linux version
and build packages for it with using this as a guide
as a proof of concept thingy I made many comments about package
building throughout the forum but I wanted to show how from sources
all in one place

so this is an ongoing thread

what this script does it allows you to select what sources you want to compile
at the moment it just downloads the sources for you in an organized way
and builds the package

a log file tracks the downloads

*I am not "fully" automating the packages building part for the reason of
things could be built with different dependencies
and larger packages such as gtk2 has a build order install order

but this will be possible also
I am not there yet but thats where I am going this is just a step in that direction

so as is one package at a time gets downloaded and auto built


by using an official version and official website indexes
modifying the script becomes easier to see what is needed
to do a "real source package build"

updated to auto build package and get the needed patches 7-17-2011
http://www.puppy2.org/slaxer/source_search-13.37-6_SLXR.tgz


dependency Xdialog
http://www.puppy2.org/slaxer/Xdialog-2.3.1-i486-3_SLXR.txz


I use this on my slackware 13.37 install it can be useful
to anyone that has plans to base their work on slackware 13.37

what does this have to do with puppy ? spup is already using
slackware 13.37 binary packages
so ...... it does have or could have a real need for some of the users around here too Very Happy


oh and I am squeezing every drop out of that old Xdialog and just bash
to keep things lite


*after reading this again I thought about that this is the very first step
using official sources to get familiar with things
you will spend a lot of time just perfecting this stage


Gilbert "amigo' has taken this step much, much, much farther using his src2pkg to build his distro with

more or less I am working on the front end with the GUI
and official indexes and packages to work on slackware 13.37
later this will be adapted to work on other "projects"

so..... having some base knowledge in how things work on the big scale using slackware will help you a lot

this how to is just 101

to get you ready for something even better
Very Happy




Joe
find-download-build.png
 Description   
 Filesize   27.64 KB
 Viewed   689 Time(s)

find-download-build.png


_________________
debian wheezy ,linux mint, slackware I use them all and they all have good points
Mint would be best for general users though

Last edited by big_bass on Wed 20 Jul 2011, 10:43; edited 9 times in total
Back to top
View user's profile Send private message 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Sun 17 Jul 2011, 07:46    Post subject:  

change log

source_search-13.37-4_SLXR.tgz downloads but doesnt build package

source_search-13.37-5_SLXR.tgz downloads and builds with a terminal view


source_search-13.37-6_SLXR.tgz added the patch folders and special folders that werent getting downloaded now all is getting downloaded Very Happy

_________________
debian wheezy ,linux mint, slackware I use them all and they all have good points
Mint would be best for general users though

Last edited by big_bass on Sun 17 Jul 2011, 18:35; edited 1 time in total
Back to top
View user's profile Send private message 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Sun 17 Jul 2011, 08:10    Post subject:  

the how to post

so you know what to expect

1.) install the package and xdialog

click on this file to start the first GUI
2.)/root/source_find-13.37

3.)select ap in the second GUI as an example build
*if you know the package name you could type it in *
but if you want to see all possible packages leave it blank and select ok

4.) select just one source folder to download and build the package
in the example lsof was selected

*************************
from here on its all automatic
*************************
5.) you watch a few message boxes of the progress and a terminal shows
whats happening with the package build

6.) your sources are in /var/log/source-search-13.37

7.) your new package is in /tmp

8.) install if you wish to
first-gui.png
 Description   
 Filesize   30.81 KB
 Viewed   703 Time(s)

first-gui.png

second-gui.png
 Description   
 Filesize   16.1 KB
 Viewed   683 Time(s)

second-gui.png

third-gui.png
 Description   
 Filesize   61.7 KB
 Viewed   681 Time(s)

third-gui.png

terminal-view-of-progress.png
 Description   
 Filesize   24.36 KB
 Viewed   688 Time(s)

terminal-view-of-progress.png


_________________
debian wheezy ,linux mint, slackware I use them all and they all have good points
Mint would be best for general users though
Back to top
View user's profile Send private message 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Sun 17 Jul 2011, 08:32    Post subject:  

steps 6 and 7

just so you can find things faster
package-built.png
 Description   
 Filesize   39.36 KB
 Viewed   666 Time(s)

package-built.png

source-folder.png
 Description   
 Filesize   32.29 KB
 Viewed   658 Time(s)

source-folder.png


_________________
debian wheezy ,linux mint, slackware I use them all and they all have good points
Mint would be best for general users though

Last edited by big_bass on Sun 17 Jul 2011, 08:57; edited 3 times in total
Back to top
View user's profile Send private message 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Sun 17 Jul 2011, 08:33    Post subject:  

what is lsof anyway ?



its a nice little command line app
to show you a list of open files
great for those difficult problems to solve


thats what the file slack-desc
does it gives you a brief description of what the app does

lsof: Lsof is a Unix-specific tool. Its name stands for "LiSt Open Files",
lsof: and it does just that. It lists information about files that are open
lsof: by the processes running on the system.
lsof:
lsof: Victor A. Abell of Purdue University is the developer of lsof.

_________________
debian wheezy ,linux mint, slackware I use them all and they all have good points
Mint would be best for general users though
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
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.0581s ][ Queries: 12 (0.0039s) ][ GZIP on ]