You are not logged in.
Cocos2D-X is popular, why not add a cocos2dx package to Archlinux Packages.
Expect!!!
Offline
It's in the AUR.
Edit: Cocos2D is in the AUR. I don't know if Cocos2D-X is different. If it is, add it to the AUR.
Last edited by jakobcreutzfeldt (2013-06-17 07:15:18)
Offline
It's in the AUR.
Edit: Cocos2D is in the AUR. I don't know if Cocos2D-X is different. If it is, add it to the AUR.
Cocos2D-X is different to Cocos2D.
Cocos2D is written by Python, and Cocos2D-X is written by C++.
Offline
Sometimes I use Cocos2D, but I didn't know about Cocos2D-X. I want to learn more about it.
Cocos2D-X isn't in the Arch Linux repositories or in the AUR. Anyone can make a PKGBUILD file for Cocos2D-X and submit it to the AUR, even you!
Where is the link to download the Cocos2D-X library?
Offline
This is a PKGBUILD request. Moving from Applications & Desktop Environments to AUR Issues, Discussion & PKGBUILD Requests.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Sometimes I use Cocos2D, but I didn't know about Cocos2D-X. I want to learn more about it.
Cocos2D-X isn't in the Arch Linux repositories or in the AUR. Anyone can make a PKGBUILD file for Cocos2D-X and submit it to the AUR, even you!
Where is the link to download the Cocos2D-X library?
You can download Cocos2D-X from this link:
Offline
With that download link, a PKGBUILD would be trivial to make. But this will not build on arch as is. Either you'd need to have an older version of glfw (from aur) or wait for cocos2dx to be updated for glfw3 - or you could try patching it yourself. It doesn't seem like there'd be too many changes needed, but there will be a few.
The one challenge of using a cutting edge distro - lots of tools are made to compile against older libs.
EDIT: for clarification this is no criticism of cocos2dx. The flgw update was just 4 days ago. We just happened to get it in our repos about 3.9 days ago. One could hope if cocos2dx is in active development, the changes may arrive there shortly. On the flip side, if most of their users are not even seeing the gflw update until the next major release of their OS, then the cocos team may not prioritize this revision. Given there "install-deps.sh" script for "linux", they seem to be targetting Debian based distros quiet specifically.
Last edited by Trilby (2013-06-18 11:33:32)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
With that download link, a PKGBUILD would be trivial to make. But this will not build on arch as is. Either you'd need to have an older version of glfw (from aur) or wait for cocos2dx to be updated for glfw3 - or you could try patching it yourself. It doesn't seem like there'd be too many changes needed, but there will be a few.
The one challenge of using a cutting edge distro - lots of tools are made to compile against older libs.
EDIT: for clarification this is no criticism of cocos2dx. The flgw update was just 4 days ago. We just happened to get it in our repos about 3.9 days ago. One could hope if cocos2dx is in active development, the changes may arrive there shortly. On the flip side, if most of their users are not even seeing the gflw update until the next major release of their OS, then the cocos team may not prioritize this revision. Given there "install-deps.sh" script for "linux", they seem to be targetting Debian based distros quiet specifically.
You are right!
I just can not found "GL/glfw.h" header when I compile the cocos2dx source.
And the shell script only support Ubuntu.
Offline
There is no glfw.h, it's now glfw3.h. That is a *very* easy fix, but some of the functions have changed too, and they'd need to be updated.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Don't know about runtime compatibility glfw2 <> glfw3, but with glfw package you have only change -lglfw to -lglfw2
https://aur.archlinux.org/packages/glfw2/
---- edit:
Please check out my PKGBULD.
Last edited by travnick (2013-08-31 14:14:22)
Offline
travnick, thanks for the awesome PKGBUILD. It would be great to see this in AUR.
I'm guessing it needs modifying first, though, because currently it seems to only install the libraries.
Great to be able to install this through a package manager, though, much appreciated.
Offline
yeah, it have to be modified to install all headers ...
cocos2d-x seem to be a little messed up about separating public headers and sources ...
Offline
travnick, good work. I have submitted it to AUR : https://aur.archlinux.org/packages/cocos2d-x-2/ such that travnick's work won't get lost. Please let me know if you want to own this package @ AUR.
Offline
It may work for runtime, but it's not working yet for compiling ... If I had some time I'll fix that. But feel free to fix it on your own and send update to aur.
Offline