VectorLinux
August 23, 2014, 05:10:42 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: 1 2 3 [4] 5 6 ... 11
  Print  
Author Topic: Linux Video Tutorials on VectorLinux. (Independent effort..for the time being.)  (Read 52806 times)
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #45 on: May 03, 2009, 10:59:28 pm »

If you are taking requests (  Wink )  there is certainly a need for "how to package"... maybe you could tackle the "advanced" help Smiley

please keep at it!

- Howard
Hey Howard, thanks for the request. Wink Packaging is a tough one, I think it would have to be a series of tutorials.  I'm just starting to study the topic but what works on some source code, just doesn't work on others and I'm not quit sure how to identify the difference yet.

Here is one, to get the ball rolling, however. 
http://www.opensourcebistro.com/Tutorial/VL60/13.Gaming/sudokuki/sudokuki-build.htm

This tutorial show how to create a .tgz for a program called sudokuki using sbbuilder.  It should be a good starting point for series of tutorials on 'how to package'.  It should work for other programs where ./configure, make, make install is the chosen build method.
Also I don't mind editing my mistakes and I am new at this so If any of the more experienced have some pointers I'm all ears.
« Last Edit: May 03, 2009, 11:51:48 pm by stretchedthin » Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
kidd
Packager
Vectorian
****
Posts: 682


« Reply #46 on: May 04, 2009, 08:11:11 am »

@stretchedthin : Thanks for the screencast! I've put a link to it in http://code.google.com/p/vlgetpatches/wiki/sbbuilder .

Only a few minor things (No need to redo it, of course):

Replacing '$NAME:' for the name of the package is not needed because bash interpolates it, and when the package is done, $NAME is substituted for the real name of the package.

The first line of the description should have the parenthesis with the description, and the name alone.  That makes easier for slapt-get to find the package when searching.

$NAME: $NAME (blah blah blah, this is my description...)

Another thing to note is that using editors without fixed width font, makes more difficult to make sure the line fits 80 in chars, because 'M' is wider than '-' .

As you see, no real bugs, I just thought I could notice them because it can confuse someone.

Again, thanks stretchedthin.
« Last Edit: May 04, 2009, 09:58:01 pm by kidd » Logged

stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #47 on: May 04, 2009, 04:10:13 pm »

@kidd,  thank you! I think an edit may be a good idea, seeing that I missed out on how  the sbbuilder script automates the inclusion of the package $NAME.  I'll be playing with different script edits over the weekend, maybe then. 
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #48 on: May 05, 2009, 06:54:04 am »

Here's another.  This one for pdfedit.  This screencast kind of highlights how the .SlackBuild script generated by sbbuilder often times needs to be edited to suit the application.  From what I understand the type of edit here is common enough that a new packager will benefit knowing what to look for and how to adapt the script.

http://www.opensourcebistro.com/Tutorial/VL60/12.Office-apps/pdfedit/pdfedit-sbbuilder.htm
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
kidd
Packager
Vectorian
****
Posts: 682


« Reply #49 on: May 05, 2009, 01:38:53 pm »

Added This one too in the googlecode page. 

Thanks again.
Logged

Daniel
Packager
Vectorian
****
Posts: 704


WWW
« Reply #50 on: May 06, 2009, 03:01:44 pm »

stretchedthin: I just watched one of your new videos about the terminal. (Changing directories, creating, moving, and removing files) (How did you do the red circles by the way?) Like all the other videos it was very well done and would be very useful to a newbie but there were a couple things I noticed about it. I'm not sure if it was intentional but I noticed that the mouse movements in the video were kind of rough. Also, the resolution/screensize was set a little low. It was kind of hard to read the words and commands in the terminal. One interesting piece to information that you may want to put in the video in the part about the "ls" command is that you can also use "dir" to list directory contents just like in dos. People coming from Windows might like that feature. You might also want to check spelling and grammer in all of your callouts. It's usually not a big deal but once or twice I saw a spelling error that could confuse a newbie. (I think it was part of a command or something) One last thing: on the home page of opensourcebistro.com, in the section where  it mentions that you can submit your own tutorials, it says "Have Your created a tutorial..." instead of "Have you created a tutorial..." Overall, I like the site a lot. I'll keep watching for more videos and if/when I get VL 6.0 I might be able to help make some tutorials. (I have 5.9.1 SOHO right now and am experimenting with Wink  Wink )
« Last Edit: May 06, 2009, 03:27:51 pm by Daniel » Logged

The following sentence is true. The previous sentence is false.

VL 6.0 SOHO KDE-Classic on 2.3 Ghz Dual-core AMD with 3 Gigs of RAM
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #51 on: May 06, 2009, 03:16:47 pm »

Thanks Daniel; 
Thanks for being a second set of eyes for me.  I tend to move on to the next project before polishing the last.  I would really welcome the contributions when you get a chance.  If you like soho you could do soho, I'd just make a page for it.
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
Daniel
Packager
Vectorian
****
Posts: 704


WWW
« Reply #52 on: May 06, 2009, 03:30:32 pm »

You're welcome. I might send in some tutorials after I learn Wink a little more. BTW, how did you do the little red circles on the video about the terminal that I mentioned? Also, the video about the "init" command and runlevels. Have the runlevels changed between 5.9 and 6.0? In 5.9, runlevels are 2, 3, 4, and 5. There is no 1 or 6. Can you please clarify this?
« Last Edit: May 06, 2009, 04:12:24 pm by Daniel » Logged

The following sentence is true. The previous sentence is false.

VL 6.0 SOHO KDE-Classic on 2.3 Ghz Dual-core AMD with 3 Gigs of RAM
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #53 on: May 06, 2009, 05:35:13 pm »

how did you do the little red circles on the video about the terminal that I mentioned?
I used the annotate feature in compiz-fusion to make the red circles.

Also, the video about the "init" command and runlevels. Have the runlevels changed between 5.9 and 6.0? In 5.9, runlevels are 2, 3, 4, and 5. There is no 1 or 6. Can you please clarify this?

I based that tutorial on slackware runlevel infomation I found. The init numbers do not match up with the runlevels as described in vasm I found.   'init 1' in the terminal brought up a single user text mode, init 3 brings up multiuser text mode, init 6 is not a runlevel at all it just restarts the computer and init 0 shuts it off.
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #54 on: May 09, 2009, 07:56:39 am »

Here are a couple more draft screencasts for the packaging for VL series.

This one is for a manual build. 
(I'm really going to focus on sbbuilder with the rest of the screen casts but I think I'll start the series with this one to give an idea just what sbbuilder is doing when you use it.)
http://www.opensourcebistro.com/Tutorial/VL60/VLpackaging/grisbi-manual-build.htm
Again if I have missed anything, just let me know.

I have also re-done the screencast for the pdfedit build.  This one now shows how to get the .desktop file and .png icon included in the build.
http://www.opensourcebistro.com/Tutorial/VL60/VLpackaging/pdfedit-sbbuild.htm
The method shown in the tutorial works and is straightforward but there is probably a more recognized method for including these files, could someone let me know what it is?

Also, if someone would be OK with me pm'ing or emailing them directly with questions, I have some on building for the other types in sbbuilder, ie. --type=python.

Finally, in doing this I now have Grisbi, Sodokuki, and PDFedit ready to go as .tlz's.  How do I submit them?
« Last Edit: May 09, 2009, 08:23:27 am by stretchedthin » Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
kidd
Packager
Vectorian
****
Posts: 682


« Reply #55 on: May 10, 2009, 02:10:58 am »

I liked the pdfedit tutorial very much.  It's nice how you go increasing difficulty little by little.

I have some comments though Smiley .  Again, no need to rebuild anything, just think about that for the next ones.

When replacing the $CWD/$NAME.png and $CWD/$NAME.desktop , I find to be a better solution to move both png and .desktop to the place where the slackbuild is. This way, You won't need to modify paths, and when you upload the package, you'll be uploading a complete black box everyone will be able to run and get a package (We try to keep that possible to be able to automate packaging for vl64) .

Regards
Logged

stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #56 on: May 12, 2009, 10:50:54 am »

Thanks again, kidd for your input.
I have edited the tutorials and included the changes you suggested.
I now have three that will make up a 6 part series on packaging for a --type=normal SBbuilder, build.

They are in order.
Part 1: A manual build of .tlz package of Grisbi...
Building packages for VL..Manual build Part 1.1

Part 2: Grisbi packaged for as .tlz but this time with SBbuilder.
Building packages for VL...SBbuilder Grisbi build. Part 2.1

Part 3: Pdfedit this time, but a trickier build, requiring some editing of the script.
Building packages for VL..SBbuilder Pdfedit build Part 3.1

Part 4: Will feature BillardGL. Which is still a normal type build but does not have a .configure script
just a makefile. (This seems to be common enough.)
not done yet.

Part 5: CDcollect with SBbuilder will then walkthrough installation where dependencies are required.
It's not done yet.

Part 6: PSPP will demonstrate dependecies again that have to be build plus using symbolic links.
Not done yet. Kind of struggling with this one.

That will conclude chapter 1. "Building --type=normal, (configure, make, make install)"

Chapter #2
I have added a series for SBbuilder using --type=python builds.
Part #1. Pygame (dependency for part three application)
Building packages for VL...Python application Pygame Part 2.1.

Part #2. Psyco (accelerates python applications)
Building VL Packages...Python application Psyco Part 2.2.

Part #3. PySpaceWar
Building VL Packages...Python application PySpaceWar Part 2.3.

I have not put a page up on opensourcebistro for this yet, so If you are following along, this is the best place for now.
Ken

 
« Last Edit: May 15, 2009, 11:27:44 am by stretchedthin » Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
sparkyhall
Vectorite
***
Posts: 118


« Reply #57 on: May 18, 2009, 12:17:53 pm »

Just having a go at packaging myself so I thought I'd take a look at one of your tutorials.

Have spotted a few minor typo's in Manual build part 1.1:

-Second balloon has 'manuel' instead of 'manual'.
-'I've isolated download of Grisbi.tar.gz' (in the file viewer it's .tar.bz2)
-'right click and choose 'extract' then 'extact'' (missing 'r' in extract)
-'./configure -prefix=/user' (it should be /usr not /user and shouldn't it be --prefix=/usr)
-Have you missed a cd install prior to the requiredbuilder step?
-'Then -c n lets makepg (missing k ) know that is ( is instead of it ) must not change permissions

Once again a great tutorial that should help those considering packaging take their first steps.

Chris
Logged
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #58 on: May 18, 2009, 03:18:21 pm »

Thanks sparkyhall;

I'll have a look through that one again and clean it up a bit, once I get back home. Having a bit of a family outing this weekend but I should be able to clean up the screencast shortly after I get back home.

Make sure to try out the sbbuilder screencasts as well.     

It sure would be a validation of these tutorials and of kidd and rbistolfi's SBbuilder if we see a greater number of people contributing packages. 
Thanks again.
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #59 on: May 21, 2009, 04:42:57 pm »

I've got one more to add to the series.  Kidd really helped with this one (read as...told me what to do and I made a screencast of it Grin).  If covers a lot of difficult situations that could be helpful with any build.

http://www.opensourcebistro.com/Tutorial/VL60/VLpackaging/billardgl.htm
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
Pages: 1 2 3 [4] 5 6 ... 11
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!