Add st-terminal and youtube-dl to slapt-src

If there's software you need and you can't find, make a request for it.
Post Reply
User avatar
Luffy
Posts: 32
Joined: 3. Jul 2017, 22:03

Add st-terminal and youtube-dl to slapt-src

Post by Luffy » 17. Apr 2018, 23:27

It is not present in the repositories.

http://mirrors.xmission.com/salix/slkbuild/14.2/
http://mirrors.xmission.com/salix/sbo/14.2/

>st (0.8.1)
st is a simple terminal implementation for X.

> youtube-dl (2018.04.09)
youtube-dl is a small command-line program to download videos
from YouTube.com and a few more sites. It requires the Python
interpreter, version 2.6, 2.7, or 3.2+, and it is not platform
specific. It should work on your Unix box, on Windows or on
Mac OS X. It is released to the public domain, which means you
can modify it, redistribute it or use it however you like.

Please ...

DidierSpaier
Posts: 296
Joined: 20. Jun 2016, 20:15

Re: Add st-terminal and youtube-dl to slapt-src

Post by DidierSpaier » 18. Apr 2018, 10:20

The slkbuild repos for 14.2 are empty but both software are already available in:
http://mirrors.xmission.com/salix/sbo/14.2/
and also in:
http://slackware.uk/salix/sbo/14.2/

So I don't understand your request.

EDIT: Although the tarballs be there, slapt-src and sourcery don't find them. I don't know why.

User avatar
gapan
Salix Wizard
Posts: 5412
Joined: 6. Jun 2009, 17:40

Re: Add st-terminal and youtube-dl to slapt-src

Post by gapan » 18. Apr 2018, 10:48

Because they are already there as packages. Available with slapt-get/gslapt/spi.
Image
Image

DidierSpaier
Posts: 296
Joined: 20. Jun 2016, 20:15

Re: Add st-terminal and youtube-dl to slapt-src

Post by DidierSpaier » 18. Apr 2018, 13:10

I should have remembered that... :roll:

User avatar
Luffy
Posts: 32
Joined: 3. Jul 2017, 22:03

Re: Add st-terminal and youtube-dl to slapt-src

Post by Luffy » 19. Apr 2018, 23:12

wiki, :-)
slapt-srcrc

Also edit your /etc/slapt-get/slapt-srcrc file to point to 14.2 instead of 14.1:

BUILDDIR=/usr/src/slapt-src
PKGEXT=txz
SOURCE=http://slackware.uk/salix/slkbuild/14.2/
SOURCE=http://slackware.uk/salix/sbo/sbo/14.2/
Yes, but I can not edit the "config.def.h"
Configuration.
Configuration is done with config.h. Read the comments in the generated config.h to edit it according to your needs. Defaults are stored in config.def.h.
And mpv + youtube-dl fails.

Code: Select all

> mpv --ytdl-format=best http://www.youtube.com/watch?v=taTzMLVBwYU
Error parsing option ytdl-format (option not found)
Setting command line option '--ytdl-format=best' failed.
Exiting... (Fatal error)
MPV Error?

User avatar
mimosa
Salix Warrior
Posts: 3037
Joined: 25. May 2010, 17:02
Contact:

Re: Add st-terminal and youtube-dl to slapt-src

Post by mimosa » 21. Apr 2018, 09:00

The mpv package probably is not built with that functionality, but I dare say you could easily enough rebuild it to provide it.

I don't understand about configuration for slapt-src. Then editing slapt-srcrc should be all that is needed - except that you probably shouldn't even do that because

a) that is not how to install the packages you want

b) you shouldn't change the source in the config file if you need specific things from elsewhere

Post Reply