LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-06-2015, 10:20 PM   #1
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Question Questions for Robby, ponce, or anyone from SBo about SBo submission requirements.


If I submit a SlackBuild package that has a source available only from a git clone that is repackaged as-is in a public/private repository (such as my libclc git cloned package), is this acceptable under the terms and conditions of SBo as long as I can provide the tarball download from my git repository?

Also, if I have a package that has semi-custom patches that are required for compiling the package, but aren't in the most professional labeling (such as is with my libomxil-bellagio package on Slackworks), does SBo still accept these or do they need to be reworked?
 
Old 06-07-2015, 02:06 AM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,220

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
I'm not an SBo admin, but I think I can answer these.

Quote:
Originally Posted by ReaperX7 View Post
If I submit a SlackBuild package that has a source available only from a git clone that is repackaged as-is in a public/private repository (such as my libclc git cloned package), is this acceptable under the terms and conditions of SBo as long as I can provide the tarball download from my git repository?
Absolutely. See the GZDoom SlackBuild, for example.

Quote:
Also, if I have a package that has semi-custom patches that are required for compiling the package, but aren't in the most professional labeling (such as is with my libomxil-bellagio package on Slackworks), does SBo still accept these or do they need to be reworked?
If the patches are required to get the package to build, then they're required to get the package to build. I haven't looked at either your libomxil-ballagio package or at Slackworks, but if you follow the templates then it should be fine.
 
Old 06-07-2015, 02:48 AM   #3
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558

Original Poster
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Thanks Dugan. I might submit more of my work then.
 
Old 06-07-2015, 02:50 AM   #4
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by ReaperX7 View Post
If I submit a SlackBuild package that has a source available only from a git clone that is repackaged as-is in a public/private repository (such as my libclc git cloned package), is this acceptable under the terms and conditions of SBo as long as I can provide the tarball download from my git repository?

Also, if I have a package that has semi-custom patches that are required for compiling the package, but aren't in the most professional labeling (such as is with my libomxil-bellagio package on Slackworks), does SBo still accept these or do they need to be reworked?
I think the SBo mailing list will be the best place to ask this sort of question.
 
Old 06-07-2015, 11:30 AM   #5
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

Rep: Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173
Quote:
Originally Posted by kikinovak View Post
I think the SBo mailing list will be the best place to ask this sort of question.
what niki said: please, try to use the official channels.
we should avoid transforming LQ in the SBo support forum.

btw, I had a look at your repository and seems to me stuff that, IMHO, shouldn't be on SBo: those are dependencies of mesa, and mesa is in Slackware.
We shouldn't have on SBo a package that requires a rebuild of libdrm/mesa.
plus, those are not even applicable with the software versions that we have on stable and SBo targets that version only.

besides that, let me tell you a pair of things that I would fix in the scripts:

- you used VERSION=${VERSION:-20150524-svn} but that's a no-no, because a VERSION variable with a dash confuses pkgtools;
you should use something like 20150524_svn, shouldn't be a problem as you create and self-host the tarball (btw, I tried to download and I got a 404 error); remember to use a wget-friendly place where to host the tarballs.
as a personal consideration I also think that a revision number (like r3245) get from subversion is more appropriate than a date (that's ambiguos as there could be multiple revisions for that date) for version-naming a tarball; for git I usually version the tarballs with ${date}_${first_7_letters_of_commit} (like 20120211_234796c, you can find the related data with "git log") as date alone is ambiguos and commit alone is unintelligible.

- you shouldn't hardcode the jobs number in the script: do it only if it breaks with multiple jobs (setting it to -j1);

- don't use something like
Code:
[ -f $CWD/doinst.sh ] && cat $CWD/doinst.sh > $PKG/install/doinst.sh
but try to stick to the templates: if there's a doinst.sh to put in the $PKG/install directory add a line
Code:
cat $CWD/doinst.sh > $PKG/install/doinst.sh
if there isn't don't add any line.

Last edited by ponce; 06-07-2015 at 12:22 PM. Reason: grammar
 
6 members found this post helpful.
  


Reply



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
Trying to compile Robby's networkmanager-openconnect from SBO fails. vdemuth Slackware 10 06-02-2013 05:52 AM
SBo libreoffice 3.6.4 errors tuubaaku Slackware 12 01-28-2013 09:30 PM
Nvidia-driver.SlackBuild from SBo (or: I am a bad and sloppy SBo maintainer) kingbeowulf Slackware 8 08-31-2012 02:41 AM
[SOLVED] Problem with OpenCASCADE SBo on 64-13.1 ahmadj Slackware 18 12-23-2010 12:20 PM
Opera 10.01 in SBo hitest Slackware 2 11-09-2009 02:14 PM

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

All times are GMT -5. The time now is 11:15 AM.

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
Open Source Consulting | Domain Registration