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)?
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.
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.
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.
If you were here a few days ago, I made a post about another tool I made called makedeb. This just adds some auto-install and update functionality on top of it to make things less manual.
This program serves as an extension to makedeb (if you want to learn more there). makedeb-get simply adds support for things like searching and automatically installing PKGBUILDs from the AUR
Just added a beta version! It's all in the format old_package(s)=new_package(s) in the packages.db file on the repo. Gonna require some people figure out the differences and make pull requests, I think it'll get there though
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!
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-dbfor the alpha release atm).Edit: Were you talking about when packages require a more up-to-date library (like in my GitHub CLI example)?
I might make a snap if I can get everything worked out, but I don't have any plans to package it for flatpak atm.
Lol nope,
debtapwould work lovely for that.debtapdoes what you want - Debian package to Arch. This does the complete opposite - Arch package to Debian.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-dbpackage, 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.
Check out this comment for some more info.
Exactly :D
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.
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.
Hi!
If you were here a few days ago, I made a post about another tool I made called makedeb. This just adds some auto-install and update functionality on top of it to make things less manual.
As before, hope it helps someone out!
Howww
This program serves as an extension to makedeb (if you want to learn more there). makedeb-get simply adds support for things like searching and automatically installing PKGBUILDs from the AUR
Why
AUR nice, Ubuntu simple, love at first sight :)
Installing it
Check GitHub :D
I HAVE AN ISSUE!!
GitHub :D
Maybe! Just replace as much of the system as possible with packages from the AUR and you should be good to go :D
Looks promising! I'll try to look into it when I get some time
Thanks! Very inspiring lol
Wouldn't it get messy real quick with duplicate packages?
Just added a beta version! It's all in the format
old_package(s)=new_package(s)in the packages.db file on the repo. Gonna require some people figure out the differences and make pull requests, I think it'll get there thoughThat'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!
Just fixed c:
It is, just a bash script.
Done though, just pushed to the repo.
Hope it goes well! Feel free to open an issue if something isn't working right too :)
Self-promo and stuff, hoping it helps someone out though :D
End of this list.
Back to top