LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-26-2020, 06:06 PM   #1
lovemeslk
Member
 
Registered: Feb 2020
Location: Rantoul IL
Distribution: Slackware
Posts: 350

Rep: Reputation: 72
32 bit vs Git My thought.


Weird label. Who really needs 32 bit.
Then let them build it.
Fact is time for Pat to keep source on a server.
Fact is time is part of time is space.
fact is 90 percent of code is one or another git.
Create your "source" git Pat.
Your build scripts git pull and tar then build.
Been doing it for years.
Code:
if [ -f $CWD/$PRGNAM-$VERSION.tar.xz ]; then
 echo $PRGNAM-$VERSION.tar.xz built
else
	git clone https://github.com/$PRGNAMREPO/$PRGNAM.git
	cd $CWD/$PRGNAM
	git checkout v$VERSION
	cd $CWD
	mv  $PRGNAM  $PRGNAM-$VERSION
	tar cJvf  $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION
	rm -rf $PRGNAM-$VERSION
fi
This is how I kept up with Alien Bob Ktown and used newer libraries.
This is how admin many of my builds.
Create a Git Source folder and like google been doing for years.
You can even pull the launchpad way in.
it is still your source blob that can be move forward and back.
And then you can charge for a source DVD bro.
Your killing your self Pat.
Your shoveling snow in a blizzard bro.
Stable current source and testing source.

when I seen this
Code:
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
I said omg this guy loves work get him some glasses.
Git ready it is a tool
How many floppies do you need when we actually live in the internet.
Download speeds we are already paying for it.
But your work can be forked and thousands can push and pull into you.
Last time I used a Real to Real was 1978.
time is now.

Code:
mkdir source 
cd source git init
drop your
Code:
 a  ap  d  e  f  k  kde  kdei  l  n  t  tcl  x  xap  xfce  y
Minus the tarballs.
And then it would be under 7 gigs for a dvd 32 bit and 64.
your source already have changes with patches .
My thoughts.
for a note
Code:
PKGNAM=libappindicator
VERSION=${VERSION:-12.10.1}
BRANCH=$(echo $VERSION |  cut -b 1-5)
BUILD=${BUILD:-1}

NUMJOBS=${NUMJOBS:-" -j4 "}

CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM

if [ -f $CWD/$PKGNAM-$VERSION.tar.gz ]; then
 echo $PKGNAM-$VERSION.tar.gz built
else
wget -c https://launchpad.net/$PKGNAM/$BRANCH/$VERSION/+download/$PKGNAM-$VERSION.tar.gz
fi
Put it in your source.
World is one big link.
 
Old 11-26-2020, 06:21 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,065

Rep: Reputation: Disabled
lovemeslk you made my day :-) Can you really think that Pat doesn't already use git repos? let me give you a hint: https://git.slackware.nl/current/

PS and OT: Maybe you beat me but just by a few months: if all goes according to the plans I will be 72 soon.

Last edited by Didier Spaier; 11-26-2020 at 06:23 PM.
 
Old 11-26-2020, 06:56 PM   #3
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by lovemeslk View Post
Weird label. Who really needs 32 bit.
...
Fact is time is part of time is space.
Too much wine with dinner?

Or perhaps it's past the usual time for your afternoon nap?
 
Old 11-27-2020, 12:52 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by Didier Spaier View Post
Pat doesn't already use git repos? let me give you a hint: https://git.slackware.nl/current/
That is my setup, Pat has nothing to do with it.
 
1 members found this post helpful.
Old 11-27-2020, 04:37 AM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,065

Rep: Reputation: Disabled
Eric I stand corrected, sorry for the confusion and thanks for your script. Have a good day.
 
Old 11-27-2020, 07:05 AM   #6
lovemeslk
Member
 
Registered: Feb 2020
Location: Rantoul IL
Distribution: Slackware
Posts: 350

Original Poster
Rep: Reputation: 72
Quote:
Originally Posted by Didier Spaier View Post
lovemeslk you made my day :-) Can you really think that Pat doesn't already use git repos? let me give you a hint: https://git.slackware.nl/current/

PS and OT: Maybe you beat me but just by a few months: if all goes according to the plans I will be 72 soon.
Yes I know he does. Sorry please forgive me. Make my self clear this was to handle the distribution of "source" file issue on upcoming release.
Thank you for reminding me and others. Love what you have done Didier. Your contributions are wonderful.
 
Old 11-29-2020, 06:43 PM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
I'd be highly surprised if Pat isn't using some form of version control. Maybe he's old school and stuck with cvs or svn or maybe he migrated something newer like git. He might even have the code hosted on a public website like github, but has the repo marked as private. I also suspect that his close contributors (Alien Bob, rworkman, ppr:kut, drmozes, and possibly others) have access to at least a portion of the behind the scenes work that's being done. I also imagine that Pat has things very private that even his dev team don't have access to.

Slackware's development has always been behind closed doors. Pat is very aware of what changes could come from providing a publicly available version control, but he feels this is the right decision for what he envisions his Slackware to be. I'd love a more formal interface that allows bug reporting (although, this leaves people to report bugs on things that aren't actually bugs) and some form of way to submit changes (like Github's pull request).

Quote:
Originally Posted by lovemeslk View Post
when I seen this
Code:
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
I said omg this guy loves work get him some glasses.
This is a simple piece of code so that if he updates the source in the parent directory, nothing needs to be done to (attempt to) build the newer version. If the SlackBuild doesn't need any modifications, then that piece of code means he just drops a new source tarball in the directory, run the SlackBuild, and he's done. This is instead of manually changing the SlackBuild or passing VERSION=whatever to the script. I'd make a similar change to my SlackBuilds on SBo if it were allowed... one less thing to worry about in a version bump.
 
Old 12-31-2020, 07:00 PM   #8
lovemeslk
Member
 
Registered: Feb 2020
Location: Rantoul IL
Distribution: Slackware
Posts: 350

Original Poster
Rep: Reputation: 72
bassmadrigal
I understand that I am sure that tool serves him well.
I think the drop a tar in and readme is a good thing.
It has saved tons of editing. No denying it works well.

What I disagree on as I my self have used this tool is
the idea of making your personal tar balls for many apps can create ton of work.
I see tons of work. I am sure it is his joy.
I bet he may have a nice tool to help with that.

Slackware tradition of using the developers code and building it as they wanted.
I like the idea of it coming direct from the repo. As many do.
Sorry if I was not clear.

Trying to scale down the source part of the
media that will be released with Slackware 15.
This would leave more room on the media.
Or better yet just sell thumb drives because cdrom world has passed.
 
Old 01-02-2021, 02:01 PM   #9
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Your method may be good in your mind, but, fact is, we don't know the workflow of Pat behind the scenes. He may have something in place that simplifies him doing version bumps that you don't understand. I created a simple bash script that automates most of my version bumps for the SlackBuilds I maintain. It now takes just the time for my script to download the source and run the md5sum hash to do version version bumps, where before, it took a lot of manual work to do it.

You say he is "killing himself" without knowing the behind-the-scenes. He may have a system like SBo's .info files that contain all the needed info and a script to easily bump versions (that don't need new options) and the script might automate rebuilding those version bumps. Then he simply publishes the SlackBuilds, patches, and source to a mirror.

Since you can't see his process, you have no idea how much he is "killing himself". Or maybe he prefers that. Some users don't like to use automation, and there's nothing wrong with that as long as they have the time to do it.
 
1 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
LXer: Gitpod git-bolts git-IDE onto GitHub for in-browser code git-editing LXer Syndicated Linux News 0 09-05-2018 04:50 AM
[SOLVED] Can't install Git repo (I don't git git ) Nemus Linux - Software 3 05-20-2011 02:09 PM
SBo-git - slackbuilds.org on git (with patches for current) ponce Slackware 47 03-12-2011 05:12 AM
why is git scm named 'git'? hottdogg Linux - General 5 02-03-2009 07:25 AM
inconsistency issue of git-clone ***/git/mesa/drm with the existing kernel source centguy Linux - Desktop 2 10-08-2008 10:36 PM

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

All times are GMT -5. The time now is 07:59 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
Open Source Consulting | Domain Registration