If all installed ports included in world, whats the point of world?

|
XDream8 2022-08-11 10:14:13
They all build fine, nothing broken
emmett1 2022-08-11 10:14:52
XDream8 2022-08-11 09:50:06
I added the stuff i installed to /etc/scratchpkg.world. Now i am doing “./scratch remove $(./scratch orphan)”

This is great function😃

emmett1 2022-08-11 10:15:33
So world only contains package when installing using ‘scratch install’ not ‘pkgadd’
XDream8 2022-08-11 10:16:38
Yep
XDream8 2022-08-11 10:17:25
this still needs some improvements though
Visone_Selektah 2022-08-11 10:33:56
emmett1 2022-08-11 10:14:52
This is great function😃

Yeah! this way you can find real orphans, not all pkgs you install by hand. In my case even base shows up as orphan……

XDream8 2022-08-11 11:16:37
venomlinux-41387.jpg

XDream8 2022-08-11 11:17:11
it works real good atm
Flomb 2022-08-11 14:45:17
Visone_Selektah 2022-08-11 10:33:56
Yeah! this way you can find real orphans, not all pkgs you install by hand. In my case even base shows up as orphan……

why would one install apps by hand

Flomb 2022-08-11 14:45:29
create a local / global repo and make the install there
Visone_Selektah 2022-08-11 15:12:52
Flomb 2022-08-11 14:45:17
why would one install apps by hand

I meant manually, with scratch install foo. Like I said in my system even base shows up as orphan

Visone_Selektah 2022-08-11 15:16:59
{visone} ❯ scratch orphan | column
alsa-utils efibootmgr imagemagick7 libxv ngetty urxvt-perls xrdb
aria2 firefox-bin libsndfile linux opendoas xclip yt-dlp
base fuse2 libtirpc lm_sensors rc xdotool
btrfs-progs fzf libva-utils mandoc rsync xf86-input-libinput
dosfstools gnupg libxscrnsaver mksh-git tmux xf86-video-amdgpu
dwm-suck gst-plugins-base libxslt mpv udevil xinit
emmett1 2022-08-11 15:21:15
Visone_Selektah 2022-08-11 15:16:59
{visone} ❯ scratch orphan | column
alsa-utils efibootmgr imagemagick7 libxv ngetty urxvt-perls xrdb
aria2 firefox-bin libsndfile linux opendoas xclip yt-dlp
base fuse2 libtirpc lm_sensors rc xdotool
btrfs-progs fzf libva-utils mandoc rsync xf86-input-libinput
dosfstools gnupg libxscrnsaver mksh-git tmux xf86-video-amdgpu
dwm-suck gst-plugins-base libxslt mpv udevil xinit

Yep, the orphan function in scratch is showing non dependent installed ports.

Visone_Selektah 2022-08-11 15:22:48
emmett1 2022-08-11 15:21:15
Yep, the orphan function in scratch is showing non dependent installed ports.

Yeah, I figure that much ….

XDream8 2022-08-11 15:27:51
venomlinux-41397.jpg

XDream8 2022-08-11 15:28:36
left terminal shows the result of “scratch orphan”
emmett1 2022-08-11 15:50:31
XDream8 2022-08-11 15:27:51

did you change ‘scratch orphan’ to read from world?

XDream8 2022-08-11 16:41:40
emmett1 2022-08-11 15:50:31
did you change ‘scratch orphan’ to read from world?

I simply just added a cat for test purposes, there are better ways to do it(in pr line 1316)

Visone_Selektah 2022-08-11 18:25:22
#kernel #linux
Added linux-5.19.1 to repo
https://gitea.com/venom-linux/venom-kernels.git

venom-kernelsGitea: Git with a cup of tea
Binary pkgs of linux lts and current linux kernel for venom-linux
Visone_Selektah 2022-08-11 20:17:07
#kernel #lts
Added linux-lts-5.15.60 to repo
https://gitea.com/venom-linux/venom-kernels.git

venom-kernelsGitea: Git with a cup of tea
Binary pkgs of linux lts and current linux kernel for venom-linux
bja_au 2022-08-12 11:10:58
g’day again – just checking if anyone has run xfce4 lately? thanks
emmett1 2022-08-13 19:00:07
Hey guys, ‘scratch world’ is added to scratch. I dont know how much it near with portage’s world but its for avoid certain ports being an orphan and for easier to cleanup system by removing orphan ports.

So, parent port will be added automatically to world when you using ‘scratch install ports’. By now, world list will be empty since this function comes in the middle use. But you can manually add it to world list by running ‘scratch world port1 port2…’. Removing ports from world also running same as add. You cant add to world list for not installed port.

This is the usage;
$ scratch world – list ports in world
$ scratch world <port> – add or remove port from world list

To check orphan pkgs;
$ scratch orphan

To remove orphan pkg you can run;
# scratch remove $(scratch orphan)

Make sure base (and other important parent port) added to world first!

Andrei 2022-08-13 19:02:50
doesn’t gentoo @ world just include all installed ports?
emmett1 2022-08-13 19:03:35
Andrei 2022-08-13 19:02:50
doesn’t gentoo @ world just include all installed ports?

I believe no. If all installed ports included in world, whats the point of world??

Andrei 2022-08-13 19:04:59
https://wiki.gentoo.org/wiki/World_set_(Portage) it is tho
emmett1 2022-08-13 19:07:10
Andrei 2022-08-13 19:04:59
https://wiki.gentoo.org/wiki/World_set_(Portage) it is tho

Portage will use the world set as the base for its update calculations <- this, world only contains parent ports will used as base for update calculation (dependencies).

emmett1 2022-08-13 19:09:08
I’m not really know about gentoo, because i only use it only a while, a very long time ago. But i think its how world works.
emmett1 2022-08-13 19:10:09
Anyway, i’m not copying 100% portage or gentoo. I just impliment it my own way how i understand in gentoo’s world.
bja_au 2022-08-14 08:31:16
ffmpeg.c:1017:65: error: request for member ‘sample_fmt’ in something not a structure or union
1017 | av_get_sample_fmt_name (data->enc->sample_fmt));
ffmpeg.c:1396:25: error: ‘AVStream’ has no member named ‘cur_dts’
1396 | if (data->stream->cur_dts > seek_ts)
| ^~
ffmpeg.c:1406:44: error: ‘AVStream’ has no member named ‘codec’
1406 | avcodec_flush_buffers (data->stream->codec);
| ^~
ffmpeg.c: In function ‘ffmpeg_decode’:
ffmpeg.c:1438:43: error: request for member ‘channels’ in something not a structure or union
1438 | sound_params->channels = data->enc->channels;
| ^~
ffmpeg.c:1439:39: error: request for member ‘sample_rate’ in something not a structure or union
1439 | sound_params->rate = data->enc->sample_rate;
| ^~
bja_au 2022-08-14 08:31:33
moc errors …
Visone_Selektah 2022-08-14 09:24:05
bja_au 2022-08-14 08:31:33
moc errors …

moc needs ffmpeg4

bja_au 2022-08-16 04:32:25
Hi all – when adding cron is it up to the user to add crond to /etc/rc.conf ???
emmett1 2022-08-16 05:49:35
bja_au 2022-08-16 04:32:25
Hi all – when adding cron is it up to the user to add crond to /etc/rc.conf ???

Yes ofcourse

Francesco Ruotolo 2022-08-17 14:59:18
venomlinux-41513.jpg
Efivar fails on 4.0 beta .. any hint? Or going back to 3?
emmett1 2022-08-17 15:08:05
Theres a lot breaks on glibc2.36
|