Packaging for AUR

Board for discussions around the Ambassador chat client and extension.

Moderator: Isengrim

Post Reply
User avatar
micwoj92
Fanatic
Fanatic
Posts: 115
Joined: 2020-12-22, 20:57

Packaging for AUR

Post by micwoj92 » 2021-02-09, 19:26

I've noticed that Ambassador is not packaged for AUR and I am interested in making PKGBUILDs for it. Build instructions on GitHub wiki were last updated Jun 11, 2020 so I assume these are correct.
Now my packages proposal (please say yes/no to each number, or ask any questions, more than happy to answer)

1. ambassador-gtk2-bin (for current 1.3.0 binary downloaded from https://github.com/Ascrod/ambassador/releases)
2. ambassador-gtk3-bin (for future if gtk3 will be released)
3. ambassador-gtk2 (downloading sources and building on local machine according to build instructions from GH wiki pages)
4. ambassador-gtk3 (same as 3. but with gtk3 support)
5. ambassador-git (would download from git master hosted on GitHub, I assume gtk3)

User avatar
micwoj92
Fanatic
Fanatic
Posts: 115
Joined: 2020-12-22, 20:57

Re: Packaging for AUR

Post by micwoj92 » 2021-04-09, 10:13

I've just uploaded ambassador PKGBUILD to https://repo.palemoon.org/micwoj92/PKGB ... ambassador

That was earliest commit that I could build without changes so I picked it for now, I will probably upload to AUR when new release is released. I am not 100% sure whether or not ffmpeg dependency is needed, I left it there just in case, any criticism is welcome, feel free to test if you are using Pacman based distribution.

User avatar
jobbautista9
Lunatic
Lunatic
Posts: 345
Joined: 2020-11-03, 06:47
Location: Philippines
Contact:

Re: Packaging for AUR

Post by jobbautista9 » 2021-04-09, 11:28

Nice. I wish I have an Arch-based distro for me to test that though...

You should definitely keep the ffmpeg support, as some users may use plugins to play videos on Ambassador. This plugin for example turns youtube links into embedded videos.
Cyndaquil is the best starter, except in Pokemon Mystery Dungeon, which sucks. I still love PMD though!

Developer of Ambassador in Window Menu, BrowserTickTock, CacheSwitch, Chrome Navigator, Cite4Wiki, Clickity Touch 'n Push, ColorPili, EditDatContent, EditDatTitle, Esrever, Go Menu, User Agent Status, Website Navigation Bar, and Yet Another about:config Helper.

My PGP public key (My copy on rw.rs)

Avatar by @MaxiOrphy of Instagram.

User avatar
micwoj92
Fanatic
Fanatic
Posts: 115
Joined: 2020-12-22, 20:57

Re: Packaging for AUR

Post by micwoj92 » 2021-04-09, 11:38

ffmpeg is optional, the same as in "palemoon" package, I think this is best approach, most users have it already installed but if someone wants to take minimal approach then they don't have to modify anything.
Off-topic:
Pacman is actually distribution agnostic so you could technically built and install it on other distro for some reason XD
I haven't tried that yet but it might be fun weekend project to test.

There's also fresh project called makedeb which converts pkgbuilds to be installed on debian based distros, still in early stages but promising.
(Also haven't tested it yet)
https://github.com/hwittenborn/makedeb

Out of curiosity, what distro are you using?

User avatar
jobbautista9
Lunatic
Lunatic
Posts: 345
Joined: 2020-11-03, 06:47
Location: Philippines
Contact:

Re: Packaging for AUR

Post by jobbautista9 » 2021-04-09, 11:48

Off-topic:
micwoj92 wrote:
2021-04-09, 11:38
There's also fresh project called makedeb which converts pkgbuilds to be installed on debian based distros, still in early stages but promising.
(Also haven't tested it yet)
https://github.com/hwittenborn/makedeb
Huh, I didn't know about that. Thanks for letting me know! That's going to open up everything in the AUR for me... :D
micwoj92 wrote:
2021-04-09, 11:38
Out of curiosity, what distro are you using?
I'm using Devuan GNU/Linux 4 "Chimaera", which is currently in testing.
Cyndaquil is the best starter, except in Pokemon Mystery Dungeon, which sucks. I still love PMD though!

Developer of Ambassador in Window Menu, BrowserTickTock, CacheSwitch, Chrome Navigator, Cite4Wiki, Clickity Touch 'n Push, ColorPili, EditDatContent, EditDatTitle, Esrever, Go Menu, User Agent Status, Website Navigation Bar, and Yet Another about:config Helper.

My PGP public key (My copy on rw.rs)

Avatar by @MaxiOrphy of Instagram.

User avatar
micwoj92
Fanatic
Fanatic
Posts: 115
Joined: 2020-12-22, 20:57

Re: Packaging for AUR

Post by micwoj92 » 2021-04-09, 11:54

Off-topic:
jobbautista9 wrote:
2021-04-09, 11:48
I'm using Devuan GNU/Linux 4 "Chimaera", which is currently in testing.
n+1 is the year of systemd free desktop :ugeek: :crazy:

User avatar
jobbautista9
Lunatic
Lunatic
Posts: 345
Joined: 2020-11-03, 06:47
Location: Philippines
Contact:

Re: Packaging for AUR

Post by jobbautista9 » 2021-04-09, 12:00

Off-topic:
Over my cold dead body will I only install systemd. :twisted:
Cyndaquil is the best starter, except in Pokemon Mystery Dungeon, which sucks. I still love PMD though!

Developer of Ambassador in Window Menu, BrowserTickTock, CacheSwitch, Chrome Navigator, Cite4Wiki, Clickity Touch 'n Push, ColorPili, EditDatContent, EditDatTitle, Esrever, Go Menu, User Agent Status, Website Navigation Bar, and Yet Another about:config Helper.

My PGP public key (My copy on rw.rs)

Avatar by @MaxiOrphy of Instagram.

Post Reply