Skip to content

u/hwittenborn

In this archive from Mar 2021 to Mar 2022

3
posts
20
comments
1
media
555
score
1 saved before deletion

The goal with the database is that exact package names (i.e. package names that are the same between Arch and Debian - that's what you mean, right?) will just be excluded, as they'll have nothing they could convert to. Even if they were, it would still just end up with something like "convert dependency title1 to dependency title1".

I don't know how I'd get the local database stuff set up in the same format though, as the database has more than one format (general dependencies plus package-specific dependencies) - are you thinking of something I'm not?

The database is also a complete separate repository though, so it shouldn't be too hard to add contributions fairly quickly. I also plan on setting up some auto deployments to the AUR for the database package (makedeb-db for the alpha release atm).

Edit: Were you talking about when packages require a more up-to-date library (like in my GitHub CLI example)?

2 points

I actually have! Besides stuff that just doesn't have any dependencies, I've gotten Google Chrome from the AUR (which is actually sourced from a deb, making a Debian package from an Arch package from a Debian package :D) working just fine, and am actually using it as my way of getting Chrome on my main Ubuntu system.

If you wanna try Chrome too, note that you'll need the makedeb-db package, and you'll need to use the --convertflag when building (I think you'll need to use the alpha package, as I don't think the stable has an up-to-date dependency conversion list).

I've also gotten this working with Matcha GTK Theme and Papirus Icon Theme. There was also a guy on YouTube who got Neofetch working too.

2 points

You can check out the makedeb wiki if you'd like to see how things work in a nutshell.

As per what u/DeeBoFour20 mentioned, I'm still working on a solution (for another project) for when binaries are linked against new libraries and everything (I've noticed this being a problem firsthand with the GitHub CLI package). With makedeb itself, I don't really have a solution besides just putting all the needed binaries on a Debian system (which is what my solution is going to entail).

Depending on the dependencies though, sometimes the names will just convert, done and over with. It all just kind of depends on how the program's set up.

Maybe I'll think of a more elegant solution? I'll try to figure something out.

6 points

Sadly not - I just needed something to keep using AUR packages while I was on Ubuntu, and this was the result of that.

makedeb itself just runs makepkg, and then converts the resulting package into a Debian package though. If it helps for you or anyone else, I've packaged makepkg itself as a PKGBUILD, which you could use as a start to building something of the sort.

Edit: The dependencies listed in that PKGBUILD are Debian dependencies - if you're building for something like Fedora or openSUSE, they'll probably need to be modified.

10 points

That's something I want to add soon, it'll basically just convert dependency names from Arch to Debian(and other stuff like grouped dependencies on one distro or the other if needed).

I imagine dependencies not being in the repos is gonna be an edge case that only really pops up for Arch-specific packages(shouldn't need those) or for dependencies that link to other AUR packages(I'll think of a way to deal with those). Correct me if you're thinking of something else though, I'll be glad to look into it!

5 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.