phoenix591

joined 1 year ago

I mostly stick to things in the repos, if theres something I want that's not yet packaged I package it myself because Gentoo packages are fancy bash scripts with libraries (eclasses) to handle the normal make && make install sort of things for most build systems

[–] phoenix591@lemmy.phoenix591.com 4 points 1 year ago (1 children)

I still use X11 because one of my necessary voip apps (mumble) doesn't yet support wayland's method of global hotkeys.

Otherwise I don't particularly care one way or the other.

Heres an example, ebuilds are named package-version.ebuild and that version in the filename is used to define variables (such as $P here which is the name-version) to make new versions as simple as copying the ebuild with the new version in the filename.

use_enable is used to generate the --enable-(option) or --disable-(option) as set by the user.

For more info, see the devmanual. They're nice relatively straightforward bash like PKGBUILDs, but with the repetitious stuff taken out.

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="GNU charset conversion library for libc which doesn't implement it"
HOMEPAGE="https://www.gnu.org/software/libiconv/"
SRC_URI="ftp://ftp.gnu.org/pub/gnu/libiconv/${P}.tar.gz"

LICENSE="LGPL-2+ GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="nls"

RDEPEND="!sys-libs/glibc"
DEPEND="${RDEPEND}"

src_configure() {
	econf $(use_enable nls)
}
[–] phoenix591@lemmy.phoenix591.com 2 points 1 year ago (2 children)

one of the reasons I love gentoo is how easy it is to package things for it.

You know how for pkgbuilds you have to explictly write out the whole configure make make install stuff that pretty much every package uses some variation on? Gentoo abstracts that out to libraries (eclasses) that handle that sort of thing for each build system so you can focus down on anything unique to the package, like build system options.

[–] phoenix591@lemmy.phoenix591.com 6 points 1 year ago (1 children)

why did you link to a kbin view of another post right here on !linux@lemmy.ml ?

I'm glad lemmy's fetching seems to be better: once a community is on your instance its there and you get everything except stuff from servers you've defederated with.

https://fba.ryona.agency/ is one website that can help, top search box searches for instances that have defederated from the one you entered, the bottom one lists the instances the one you entered defederated from.

It only shows full instance level defederation, not blocked communities though

[–] phoenix591@lemmy.phoenix591.com 6 points 1 year ago (1 children)

I recommend avoiding political communities in general. too many extremists on either side of the political spectrum.

you're probably looking for getopt/getopts. one big difference between them is getopt handles --long options while getopt doesn't.

other example

In the meantime, if you want both reddit like and twitter like functionality, checkout kbin. Kbin federates with both lemmy and mastodon and has both magazines (their version of communities) and microblogging (like twitter/mastodon)

thats what their site says, at least when ran through google translate

[–] phoenix591@lemmy.phoenix591.com 8 points 1 year ago (2 children)

first I've heard of it, but I'm skeptical of their claim to deliver security fixes faster than firefox.

view more: next ›