phoenix591

joined 1 year ago
[–] [email protected] 2 points 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

[–] [email protected] 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.

[–] [email protected] 1 points 1 year ago

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)
}
[–] [email protected] 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.

[–] [email protected] 4 points 1 year ago

I just automated syncing daily and sending myself an email with the emerge -pvuDU world output. I usually actually run the update once or twice a week.

[–] [email protected] 1 points 1 year ago

3G generally refers to the 3rd generation of cellular communication (the frequencies and ways a phone communicates with cell phone towers). Phones can't really be updated between them, the modems in them are made to support what they support and thats it.

3G is being shutdown gradually world wide to make room for better 5G speed and coverage. 5G is the newest generation of cell communication.

3G networks debut in 2001 and 2002. 5G networks started being deployed in 2019.

[–] [email protected] 11 points 1 year ago (1 children)

why did you link to a kbin view of another post right here on [email protected] ?

[–] [email protected] 1 points 1 year ago

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.

[–] [email protected] 4 points 1 year ago

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

[–] [email protected] 6 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago

btc is bitcoin yes. coinbase is one of the bigger exchanges so that's fine

if you live in the USA crypto makes your taxes more complicated; the IRS wants to know when you buy and sell it and how much you got it for just like traditional investments.

[–] [email protected] 2 points 1 year ago

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

other example

view more: next ›