LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-04-2019, 01:37 PM   #16
drgibbon
Member
 
Registered: Nov 2014
Distribution: Slackware64 14.2
Posts: 513

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332

Quote:
Originally Posted by igadoter View Post
Thanks. Now the point is describe template in own words: what this stands for etc. If there are differences in build systems how they are encoded inside a script? Fixed encoding? Value of parameter. One can put in script descriptio eg. "engin": python etc.
I maintain only a few SlackBuilds, and I am no authority on the possibilities of all the SBo scripts and the mass of variation in build systems for all the software that can be built from those scripts (which are just collections of stuff that one would type at the command line anyway, so in theory they can be doing anything).

To be honest, if you're not familiar with maintaining/creating SlackBuild scripts, and you can't abstract out what they are doing from reading the source, then you're going to have a pretty rough time creating a meta-system to produce scripts! But I don't know your situation, so good luck.
 
1 members found this post helpful.
Old 11-04-2019, 02:07 PM   #17
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 1,405

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by drgibbon View Post
To be honest, if you're not familiar with maintaining/creating SlackBuild scripts, and you can't abstract out what they are doing from reading the source, then you're going to have a pretty rough time creating a meta-system to produce scripts! But I don't know your situation, so good luck.
It is not I don't know. I decided that it would be better to create such free language description by group of people - and on that base try to create scheme. Propose and agree or disagree.
 
Old 11-04-2019, 02:14 PM   #18
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 1,405

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by Qury View Post
So, is this something where you would add in the description, the url and your program would magically create a package for you?
Misunderstanding. Package if course needs to be build with help of script. But script by itself is being generated by human-readable description. This should allow even people who have no knowledge if bash scripting to create slackbuild scripts. I mean parser should create such script on base of description validated by scheme. To create scheme we need to start from free language description what sbo script is. At this moment let looks for things which are common. Then let resolve problem with variations.
 
Old 11-04-2019, 02:15 PM   #19
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 1,613

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Why don't you do it yourself and then ask for feedback?
 
1 members found this post helpful.
Old 11-04-2019, 02:23 PM   #20
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 1,787

Rep: Reputation: 5729Reputation: 5729Reputation: 5729Reputation: 5729Reputation: 5729Reputation: 5729Reputation: 5729Reputation: 5729Reputation: 5729Reputation: 5729Reputation: 5729
Code:
fortune -m "When someone says" fortunes
 
8 members found this post helpful.
Old 11-04-2019, 02:32 PM   #21
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 1,405

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by montagdude View Post
Why don't you do it yourself and then ask for feedback?
I need help. One person always is missing something. I imagined that from description provided (I hoped) I would create zero version to discuss. And of course this would save me a lot of time. But it seems it is much easier to fill a form than describe it. I mean there is a template - put necessary values an things is done. But such action essentially makes people to feel stupid. So let make the life easier and allow those who don't know bash to customize their own systems in reliable way. If there is no sbo script, no binaries package - giving advice to learn bash and create script - I think it is discouraging.
 
Old 11-04-2019, 02:38 PM   #22
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 1,613

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
Originally Posted by igadoter View Post
I need help. One person always is missing something. I imagined that from description provided (I hoped) I would create zero version to discuss. And of course this would save me a lot of time. But it seems it is much easier to fill a form than describe it. I mean there is a template - put necessary values an things is done. But such action essentially makes people to feel stupid. So let make the life easier and allow those who don't know bash to customize their own systems in reliable way. If there is no sbo script, no binaries package - giving advice to learn bash and create script - I think it is discouraging.
If you aren't even able to take a stab at it, I'm afraid that creating a parser and slackbuild generator on top of it is going to be a failure from the outset. No one is going to spend time on this if they feel like it will be wasted, and certainly not if you are not even willing to post a best-effort first attempt.

My recommendation: create your own SlackBuild scripts for a bunch of different stuff. Then you will learn the ins and outs of the process and the potential pitfalls of what you are currently trying to accomplish. If, after having done that, you still feel this project is a good idea, go forward with it and ask for help with specific items.

Last edited by montagdude; 11-04-2019 at 02:42 PM.
 
1 members found this post helpful.
Old 11-04-2019, 02:50 PM   #23
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 1,405

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by volkerdi View Post
Code:
fortune -m "When someone says" fortunes
I decided to create this thread to avoid serious discussion. At least at this moment. I thought that everyone who created/used sbo script should be capable to tell what the script is. Out of subject: fortune cookies are often very offending. I myself needed to disable it. Maybe I am crippled but I can't laugh on everything.
 
Old 11-04-2019, 02:56 PM   #24
captain_sensible
Member
 
Registered: Apr 2010
Posts: 142

Rep: Reputation: 13
"Please provide free language description of what is SBo script" .Even better go through it step by step and explain it.

Generally i would suggest the more able you are, or gifted the less chance you will know what it is that the "half a clue people's" problems are.

"You cannot know a SlackBuild script without knowing at least some bash scripting.There is no other answer than to learn bash."

yes but if a slackbuild is explained and you know a little bash, then there is a good chance you will learn more bash from reading an explanation of the bash in a slackbuild.

"That is nonsense.Using slackware requires a lot of knowledge, without [knowing] bash it is simply impossible." -Personally you have to get rid of that mentality, if you want to embrace a lot of potential users. I don't know that much ; i just use what i know sensibly.
I'm no guru but i got a SlackBuild accepted.

Are you a maintainer - no "Maintainer" doesn't sit comfortably with me since that implies competence and knowledge. Probably give a noob a keyboard and enough time and they will produce a working slackbuild


"As Slackbuilds.org provides a template for slackbuild scripts, why not have a look at that and see what it contains?"
A template is something that is derived at, once a jobsworthy has got there hands on it. There are different approaches to a slackbuild ; they can be written differently and still work.


If someone (a half a clue person, like me) attempted to explain a slackbuild , where would they put it ?



There are out there sites still apparently being maintained and that if you look at past contributors does have credibility. As far as my understanding goes linuxquestions.org is the "authoritative" place to go to post questions (i'm thinking of a quote i saw by P.Volkerding.. "after much thought ...etc ...linuxquestions.org ..."

So i'm assuming there is also (or at least it would make sense) to have a one stop for Slackware documentation. To me you can call something a wiki or docs ; its all text and understanding is gained from both so whats the difference.

So where does Slackwiki.com come into this? The only reason i ask is that i started editing this page. https://www.slackwiki.com/Writing_A_SlackBuild_Script which had R.Workman as past contributor.

It might be due to my OCD tendencies but i prefer all things in one place and don't like webs where you click a link and it takes you somewhere off that web to another. Is the https://docs.slackware.com/ considered the go to place for docs?

Any thoughts
 
1 members found this post helpful.
Old 11-04-2019, 02:56 PM   #25
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 1,405

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by montagdude View Post
No one is going to spend time on this if they feel like it will be wasted, and certainly not if you are not even willing to post a best-effort first attempt.
We have already wasted enough time. I asked simple question. Instead of answer I am obtaining long range of good advises. If you would just tell me what do you think sbo script is I would be completely happy. You cans begin from general sentence eg.: slackbuild script is bash script to build slackware package. Do you see? It can be done!
 
Old 11-04-2019, 03:02 PM   #26
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 1,613

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
Originally Posted by igadoter View Post
We have already wasted enough time. I asked simple question. Instead of answer I am obtaining long range of good advises. If you would just tell me what do you think sbo script is I would be completely happy. You cans begin from general sentence eg.: slackbuild script is bash script to build slackware package. Do you see? It can be done!
You asked for us to do your work for you. If it can be done, go ahead and do it and stop wasting everyone's time.

Edit: I gave a gentler response earlier. Now that you have resorted to rudeness, expect the same in response.

Last edited by montagdude; 11-04-2019 at 03:11 PM.
 
Old 11-04-2019, 03:08 PM   #27
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,505

Rep: Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836
Quote:
Originally Posted by igadoter View Post
I can only repeat the same: you are posting in wrong thread.
I'm pointing out that someone else has a solution to the problem you are attempting to solve.
 
Old 11-04-2019, 03:25 PM   #28
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 1,405

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by montagdude View Post
You asked for us to do your work for you.

Edit: I gave a gentler response earlier. Now that you have resorted to rudeness, expect the same in response.
I asked for help. That makes difference.

Edit: Rudeness is how people treats others. Saying "have something and stop bothering" is rude - even if politely being said.
 
Old 11-04-2019, 03:38 PM   #29
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 1,613

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
Originally Posted by igadoter View Post
I asked for help. That makes difference.

Edit: Rudeness is how people treats others. Saying "have something and stop bothering" is rude - even if politely being said.
You asked for someone to do something for you. You received a lot of reasons why not to do it, as well as advice on how to proceed if you do want to go ahead with it. You ignored it all and basically demanded that people answer your original request, characterizing the responses as "a waste of time." Don't be surprised if people don't want to help when you behave like that.
 
Old 11-04-2019, 03:45 PM   #30
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,781

Rep: Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564
Quote:
Originally Posted by volkerdi View Post
Code:
fortune -m "When someone says" fortunes
That is how they program the computers on Star Trek
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suitesparse /Cuda SBo, complains about too advanced GCC, although being built with GCC 5 from the same SBo. Lockywolf Slackware 5 04-28-2019 11:17 PM
nvidia-driver SBo The symbolic link '/usr/lib/libGL.so.1' does not point to 'tmp/SBo/package-nvidia-driver/usr/lib64/libGL.so.1' Gerardo Zamudio Slackware 5 07-30-2017 11:44 PM
Questions for Robby, ponce, or anyone from SBo about SBo submission requirements. ReaperX7 Slackware 4 06-07-2015 12:30 PM
Nvidia-driver.SlackBuild from SBo (or: I am a bad and sloppy SBo maintainer) kingbeowulf Slackware 8 08-31-2012 03:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration