Allegro.cc - Online Community

Allegro.cc Forums » Allegro Development » Allegro is (back) on homebrew!

This thread is locked; no one can reply to it. rss feed Print
Allegro is (back) on homebrew!
SiegeLord
Member #7,827
October 2006
avatar

Allegro is now packaged by homebrew: http://braumeister.org/formula/allegro. It got removed from the core homebrew tap (their name for a repository) due to confusion with Allegro 4, but now it got reinstated into the core tap. This comes with the benefit of being able to install 5.1.x releases as well as other minor improvements.

Instaling it via homebrew is particularly easy: https://wiki.allegro.cc/index.php?title=Installing_with_homebrew

"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18
[SiegeLord's Abode][Codes]:[DAllegro5]:[RustAllegro]

Mark Oates
Member #1,146
March 2001
avatar

Wow

:o

--
Visit CLUBCATT.com for cat shirts, cat mugs, puzzles, art and more <-- coupon code ALLEGRO4LIFE at checkout and get $3 off any order of 3 or more items!

AllegroFlareAllegroFlare DocsAllegroFlare GitHub

beoran
Member #12,636
March 2011

Cool for people on OSX, but maybe we should do something like this also for windows, apart from MinGW? Chocolatey (https://chocolatey.org/) comes to mind. Edit: or is that for end-user software only???

gameovera
Member #15,340
October 2013

beoran said:

Cool for people on OSX, but maybe we should do something like this also for windows, apart from MinGW? Chocolatey (https://chocolatey.org/) comes to mind.

biicode (https://www.biicode.com/) is multi-platform C/C++ depency manager. it looks like ruby's rubygems or python's pip. But I have never used it.

Polybios
Member #12,293
October 2010

Thanks, that's very nice!

beoran said:

windows

I think it would only be worth the effort if some of these package managers enjoyed widespread use. Allegro 5.0.11 is available via Msys2 and SiegeLord has created packages for 5.1.
I don't quite understand Msys2's policies though (they're not too concerned about attracting new users it seems). Am I mistaken, or do they only host packages on their repositories / servers which are not available otherwise? At least that's what I read somewhere. That would mean, as soon as Allegro5 provides its own (up-to-date) Windows binaries, they wouldn't host them? Or did I get it all wrong?

beoran
Member #12,636
March 2011

SDL2 is on biicode, so I think Allegro should be there too. We gotta fight the competition, yeah! :)

Mark Oates
Member #1,146
March 2001
avatar

Chocolatey is the one I've heard of. It's been backed up with their package updates for awhile, though.

--
Visit CLUBCATT.com for cat shirts, cat mugs, puzzles, art and more <-- coupon code ALLEGRO4LIFE at checkout and get $3 off any order of 3 or more items!

AllegroFlareAllegroFlare DocsAllegroFlare GitHub

SiegeLord
Member #7,827
October 2006
avatar

None of the Windows package managers I looked at have all the dependencies we need (even homebrew is missing DUMB, I'm thinking of how to resolve that), with the exception for MSYS2, which we do have packages for. Packaging up to 10 dependencies we need for the others isn't an ideal solution :P.

"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18
[SiegeLord's Abode][Codes]:[DAllegro5]:[RustAllegro]

Thomas Fjellstrom
Member #476
June 2000
avatar

SiegeLord said:

even homebrew is missing DUMB, I'm thinking of how to resolve that

I thought we packaged our own copy :o

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

ks
Member #1,086
March 2001

Is there any chance all the dependencies can be bundled, like http://urho3d.github.io/. Look at their build scripts, makes it very easy for end users. (just a question, not a demand if any sort)

SiegeLord
Member #7,827
October 2006
avatar

So the situation with the official binaries is as follows:

  • Windows - MSVC

    • Dependencies: Built and distributed by us.

    • Allegro: Built and distributed by us.

  • Windows - MSYS2

    • Dependencies: Packaged by MSYS2.

    • Allegro: MSYS2 package build and distributed by us.

  • Linux - Ubuntu

    • Dependencies: Packaged by Ubuntu.

    • Allegro: PPA maintained by us.

  • OSX

    • Dependencies: Most are packaged by homebrew (missing DUMB).

    • Allegro: Packaged by homebrew.

  • iOS

    • Dependencies: A few dependencies are distributed by us, but from an unknown build system.

    • Allegro: None.

  • Android

    • Dependencies: A few dependencies are distributed by us, but from an unknown build system.

    • Allegro: None.

ks said:

Is there any chance all the dependencies can be bundled

I have created a set of build scripts similar to those, but currently only MSVC is supported: https://github.com/SiegeLord/allegro_winpkg Contributions welcome.

In principle I've nothing against building our own binaries from scripts for every platform, but I don't have the time to set it up personally and nobody stepped up to help yet :P. Additionally, I believe that integrating with the native/popular package managers is the best solution if it's a possibility, and these binaries should only be a fallback when the packages are inadequate.

"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18
[SiegeLord's Abode][Codes]:[DAllegro5]:[RustAllegro]

Mark Oates
Member #1,146
March 2001
avatar

These packages are of the latest stable or the razor edge?

--
Visit CLUBCATT.com for cat shirts, cat mugs, puzzles, art and more <-- coupon code ALLEGRO4LIFE at checkout and get $3 off any order of 3 or more items!

AllegroFlareAllegroFlare DocsAllegroFlare GitHub

SiegeLord
Member #7,827
October 2006
avatar

Yeah, for all platforms where there are Allegro binaries there's the stable and unstable releases. Additionally, although not distributed, all of those platforms except Ubuntu have a simple way of constructing a HEAD build.

"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18
[SiegeLord's Abode][Codes]:[DAllegro5]:[RustAllegro]

Chris Katko
Member #1,881
January 2002
avatar

I thought this was some weird Nintendo Wii support.

OS X seriously doesn't have a package manager? What were they thinking?! That's one of my top 10 or top 5 features for recommending Linux!

-----sig:
“Programs should be written for people to read, and only incidentally for machines to execute.” - Structure and Interpretation of Computer Programs
"Political Correctness is fascism disguised as manners" --George Carlin

Thomas Fjellstrom
Member #476
June 2000
avatar

There are third party OSX package managers.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

SiegeLord
Member #7,827
October 2006
avatar

It's Apple! You're meant to buy your apps through the app store, and develop them only using what comes with XCode. 3rd party libraries are an antithesis to Apple's way of thinking.

"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18
[SiegeLord's Abode][Codes]:[DAllegro5]:[RustAllegro]

Polybios
Member #12,293
October 2010

Just wanted to add that Allegro 5.0.10 and 5.1.8 are available via MacPorts that also has (many / all?) of the dependencies (DUMB is there, for example).

Thomas Fjellstrom
Member #476
June 2000
avatar

SiegeLord said:

It's Apple! You're meant to buy your apps through the app store, and develop them only using what comes with XCode. 3rd party libraries are an antithesis to Apple's way of thinking.

There is Fink and Macports.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

SiegeLord
Member #7,827
October 2006
avatar

Polybios said:

Just wanted to add that Allegro 5.0.10 and 5.1.8 are available via MacPorts that also has (many / all?) of the dependencies (DUMB is there, for example).

I spent half an hour just trying to figure out how to contribute updates to those ports, without success. I don't understand why the process is so convoluted. Somebody else should do it. Once you figure out the process, I imagine you just need to update the tar file locations and the checksums.

"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18
[SiegeLord's Abode][Codes]:[DAllegro5]:[RustAllegro]

Go to: