logs archiveBotHelp.net / Freenode / #2f30 / 2015 / August / 3 / 1
atmc
i remember the CRUX pkg manager to be pretty decent
kori
yeah
I want to fix the flaws I see
atmc
at least writing ports was easy
kori
been using CRUX for almost a year now
I've grown sick of some things
but for the most part
the package manager is great
tm512
writing your own pkg manager is probably a waste of time
FRIGN
tm512: this!
kori
nah
I have tons of free time
tm512
writing build recipes is one of the most tedious things
kori
I need to use it
time is not a problem
FRIGN
kori: use your free time for things that matter
:P
kori
I want to use the software I want to use
FRIGN
lol
kori
and the only way to do that is to build it
FRIGN
I want to use the software that I want to use
kori
because people sure as hell ain't gonna build it for me
FRIGN
okay, no sh*t sherlock :p
kori
FRIGN: it doesn't make sense initially but it's deeper than you think MMMMMMMMKAY
FRIGN
:P
kori
I don't really WANT to use a lot of software
henriqueleng
kori: Did you check https://github.com/sabotage-linux/butch
?
kori
henriqueleng: I got some inspiration from butch
but its recipes are shell scripts in very elaborate disguise
I got inspiration from regular ol' ports, nixos recipes, and butch recipes
tm512
there's really no point in building your own package manager unless you're gonna take build recipes from elsewhere
trust me
kori
tm512: trust me, when it comes to that
tm512
the package manager is why I stopped working on my own distro
kori
I really reeeeeeally don't care
it's part of a bigger project
the distro is just a stepping stone
I'm going to build my own OS some day
tm512
so stop wasting your time and do it, ffs
kori
tm512: then we're back to the original problem
I don't know where to fu*king start
tm512
well a package manager isn't it
a package manager is something to worry about if you're making a distro
kori
tm512: I meant in the package manager context
lmao
I don't know where to start with the pkg manager
tm512
having been in the position of writing a pkg manager I just really don't recommend it
it isn't fun
it poses no technical challenge really
it is just tedious
kori
:/
FRIGN
kori: I agree with tm512 here 100%
kori
and then I'm the negative person later
FRIGN
I started working on a portage port written in C, called cortage
kori
s/ later //
FRIGN
it's really comples
*complex
kori
I have this problem
where I keep jumping from project to project
after I hit a bump
if I confine myself to a distro project
it's just a way to trick myself
because the distro will move forward either way
tm512
it's not really the package manager that is the problem, it's how much software it has to be able to manage that gets out of hand unless you have a team working on it
FRIGN
okay, I found the hack of the day
haha
in sbase, sort.c
in parse_keydef()
return -(*rest);
If rest == NULL, it returns 0
in any other case, if there's something left, it returns < 0
lol
kori
tm512: I'm not alone
I'm currently alone
but it's a team, yeah
I need to start recruiting again
fu*k
FRIGN
kori: https://www.youtube.com/watch?v=ito5ELbyyxs
tm512
FRIGN: how does that avoid a NULL dereference?
am I missing something?
FRIGN
tm512: no worries here
it exists
ah sorry
of course I mean
*rest == '\0'
well spotted man ;)
tm512
oh okay, I was confused for a sec
FRIGN
no, you are perfectly right
your confusion was valid
damn, sort really needs some refactoring
^^
kori
https://github.com/6c37/akemi
gonna use this as our wm
(since it's one of our projects anyway)
tm512
kori: good luck with the package manager, but I'd really recommend just taking another or using say pacman's PKGBUILD format
just reimplementing the package manager if that's what you're really interested in
kori
there was a video 1 sec
tm512: I'm interested in changing the format and having an useful and not confusing tool
henriqueleng
kori: Write simple shell scripts for each packge, than its done
« prev 1 2 3 4 5 6 7 8 next »