slackware 13.37 source packages downloader and build package

Under development: PCMCIA, wireless, etc.
Post Reply
Message
Author
big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

slackware 13.37 source packages downloader and build package

#1 Post by big_bass »

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 :lol:


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_sea ... 6_SLXR.tgz


dependency Xdialog
http://www.puppy2.org/slaxer/Xdialog-2. ... 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 :D


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
:D




Joe
Attachments
find-download-build.png
(27.64 KiB) Downloaded 748 times
Last edited by big_bass on Wed 20 Jul 2011, 14:43, edited 9 times in total.

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#2 Post by big_bass »

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 :D
Last edited by big_bass on Sun 17 Jul 2011, 22:35, edited 1 time in total.

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#3 Post by big_bass »

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
Attachments
first-gui.png
(30.81 KiB) Downloaded 750 times
second-gui.png
(16.1 KiB) Downloaded 730 times
third-gui.png
(61.7 KiB) Downloaded 736 times
terminal-view-of-progress.png
(24.36 KiB) Downloaded 741 times

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#4 Post by big_bass »

steps 6 and 7

just so you can find things faster
Attachments
package-built.png
(39.36 KiB) Downloaded 724 times
source-folder.png
(32.29 KiB) Downloaded 703 times
Last edited by big_bass on Sun 17 Jul 2011, 12:57, edited 3 times in total.

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#5 Post by big_bass »

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.

Post Reply