libretro / Craft

A simple Minecraft clone written in C using modern OpenGL (shaders).
http://www.michaelfogleman.com/craft/
MIT License
43 stars 19 forks source link

Tried installing the AUR on arch #8

Open Jzarecta opened 8 years ago

Jzarecta commented 8 years ago

After installing it, I couldnt really find a craft binary or anything under /usr/bin/craft

No error output, so not sure what I need to do after the build, something weird is that it uinstall the opengl library in the end:

$ makepkg -sri PKGBUILD 
==> Making package: libretro-craft-git 923.6bf4994-1 (Wed May 18 01:00:22 CDT 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (1) glfw-3.1.2-1

Total Installed Size:  0.26 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                         [#############################################################] 100%
(1/1) checking package integrity                                                                       [#############################################################] 100%
(1/1) loading package files                                                                            [#############################################################] 100%
(1/1) checking for file conflicts                                                                      [#############################################################] 100%
(1/1) checking available disk space                                                                    [#############################################################] 100%
:: Processing package changes...
(1/1) installing glfw                                                                                  [#############################################################] 100%
==> Retrieving sources...
  -> Updating Craft git repo...
Fetching origin
  -> Found craft_libretro.info
==> Validating source files with sha256sums...
    Craft ... Skipped
    craft_libretro.info ... Skipped
==> Extracting sources...
  -> Creating working copy of Craft git repo...
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> WARNING: A package has already been built, installing existing package...
==> Installing package libretro-craft-git with pacman -U...
loading packages...
warning: libretro-craft-git-923.6bf4994-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) libretro-craft-git-923.6bf4994-1

Total Installed Size:  1.00 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                         [#############################################################] 100%
(1/1) checking package integrity                                                                       [#############################################################] 100%
(1/1) loading package files                                                                            [#############################################################] 100%
(1/1) checking for file conflicts                                                                      [#############################################################] 100%
(1/1) checking available disk space                                                                    [#############################################################] 100%
:: Processing package changes...
(1/1) reinstalling libretro-craft-git                                                                  [#############################################################] 100%
==> Removing installed dependencies...
checking dependencies...

Packages (1) glfw-3.1.2-1

Total Removed Size:  0.26 MiB

:: Do you want to remove these packages? [Y/n] y
:: Processing package changes...
(1/1) removing glfw 
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/34337076-tried-installing-the-aur-on-arch?utm_campaign=plugin&utm_content=tracker%2F32425093&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F32425093&utm_medium=issues&utm_source=github).
inactive123 commented 8 years ago

I have no idea why the package maintainer would want to remove glfw here, glfw is not a needed dependency for the libretro port at least but it sholdn't be manually removed either.

orbea commented 8 years ago

The pkgbuild maintainer seems to think its a dependency for some reason...

depends=('zlib' 'glew')
makedepends=('git' 'cmake' 'glfw')

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=libretro-craft-git Arch will just prompt to remove any makedepends which aren't needed by other packages.

To answer Jzarecta's question. Craft should be installed in /usr/lib/libretro/craft_libretro.so according to the PKGBUILD. It can be run through the RetroArch gui or with retroarch -L /usr/lib/libretro/craft_libretro.so.

inactive123 commented 8 years ago

I should just remove the standalone version from the repo then, this is meant to be only for the libretro core, glew is not required, it was just kept around while we were still porting the game to libretro.

ojaksch commented 8 years ago

I'm the maintainer of the responding archlinux' package and inserted the dependencys of glew and glfw 'cause I found some deps of them anywhere in the code when I built the pkgbuild and thought, better to include them, the main thing is it compiles and works :) However, thanks for clarification and the update, was a good chance to clear up the package which I did some minutes ago.

Hattshire commented 5 years ago

The PKGBUILD from Archlinux's AUR was updated long ago. I suggest that this issue must be closed.