The time now is Thu 23 May 2013, 03:11
All times are UTC - 4 |
| Author |
Message |
big_bass

Joined: 13 Aug 2007 Posts: 1736
|
Posted: 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
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
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
Joe
 |
| Description |
|
| Filesize |
27.64 KB |
| Viewed |
623 Time(s) |

|
_________________ slackware 14
Last edited by big_bass on Wed 20 Jul 2011, 10:43; edited 9 times in total
|
|
Back to top
|
|
 |
big_bass

Joined: 13 Aug 2007 Posts: 1736
|
Posted: 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
_________________ slackware 14
Last edited by big_bass on Sun 17 Jul 2011, 18:35; edited 1 time in total
|
|
Back to top
|
|
 |
big_bass

Joined: 13 Aug 2007 Posts: 1736
|
Posted: 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
| Description |
|
| Filesize |
30.81 KB |
| Viewed |
628 Time(s) |

|
| Description |
|
| Filesize |
16.1 KB |
| Viewed |
619 Time(s) |

|
| Description |
|
| Filesize |
61.7 KB |
| Viewed |
619 Time(s) |

|
| Description |
|
| Filesize |
24.36 KB |
| Viewed |
621 Time(s) |

|
_________________ slackware 14
|
|
Back to top
|
|
 |
big_bass

Joined: 13 Aug 2007 Posts: 1736
|
Posted: Sun 17 Jul 2011, 08:32 Post subject:
|
|
steps 6 and 7
just so you can find things faster
| Description |
|
| Filesize |
39.36 KB |
| Viewed |
597 Time(s) |

|
| Description |
|
| Filesize |
32.29 KB |
| Viewed |
595 Time(s) |

|
_________________ slackware 14
Last edited by big_bass on Sun 17 Jul 2011, 08:57; edited 3 times in total
|
|
Back to top
|
|
 |
big_bass

Joined: 13 Aug 2007 Posts: 1736
|
Posted: 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.
_________________ slackware 14
|
|
Back to top
|
|
 |
|
|
|
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.0641s ][ Queries: 12 (0.0133s) ][ GZIP on ] |