Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AUR support for Marley under Arch Linux #5

Open
beaumanvienna opened this issue Aug 23, 2020 · 10 comments
Open

AUR support for Marley under Arch Linux #5

beaumanvienna opened this issue Aug 23, 2020 · 10 comments

Comments

@beaumanvienna
Copy link
Owner

No description provided.

@beaumanvienna
Copy link
Owner Author

A draft version can be found here: https://github.com/kattjevfel/pkgbuilds/blob/master/WIP/marley-git/PKGBUILD
See also #33

@beaumanvienna
Copy link
Owner Author

Build script added with 085678f

Open: Add installation target to configure script

@beaumanvienna
Copy link
Owner Author

The installation targets were actually missing for the emulator cores. Since the cores are linked statically, they don't need any, however, the top-level configure script is believing so.

Fixed in 0aa1fca with dummy installation targets

@beaumanvienna
Copy link
Owner Author

beaumanvienna commented Sep 21, 2020

These are the trailing lines of extra-x86_64-build PKGBUILD:

  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> WARNING: Package contains reference to $srcdir
usr/bin/marley
==> Creating package "marley-git"...
  -> Generating .PKGINFO file...
==> WARNING: Library listed in 'depends' is not required by any files: libavformat.so
==> WARNING: Library listed in 'depends' is not required by any files: libavutil.so
==> WARNING: Library listed in 'depends' is not required by any files: libminiupnpc.so
==> WARNING: Library listed in 'depends' is not required by any files: libswscale.so
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: marley-git 0.0.5.r329.ge3880b95-1 (Sun 20 Sep 2020 05:49:48 PM PDT)
==> Installing package marley-git with pacman -U...
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) marley-git-0.0.5.r329.ge3880b95-1

Total Installed Size:  81.62 MiB

:: Proceed with installation? [Y/n] 
(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%
:: Processing package changes...
(1/1) installing marley-git                        [######################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the desktop file MIME type cache...
resolving dependencies...
looking for conflicting packages...

Packages (4) licenses-20200427-1  pyalpm-0.9.1-2  python-pyelftools-0.26-1
             namcap-3.2.10-1

Total Installed Size:  2.21 MiB

:: Proceed with installation? [Y/n] 
(4/4) checking keys in keyring                     [######################] 100%
(4/4) checking package integrity                   [######################] 100%
(4/4) loading package files                        [######################] 100%
(4/4) checking for file conflicts                  [######################] 100%
:: Processing package changes...
(1/4) installing pyalpm                            [######################] 100%
(2/4) installing licenses                          [######################] 100%
(3/4) installing python-pyelftools                 [######################] 100%
(4/4) installing namcap                            [######################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
Checking PKGBUILD
Checking marley-git-0.0.5.r329.ge3880b95-1-x86_64.pkg.tar.zst
marley-git W: ELF file ('usr/bin/marley') lacks PIE.
marley-git W: Dependency libjpeg-turbo included but already satisfied
marley-git W: Dependency libpcap included but already satisfied
marley-git W: Dependency included and not needed ('portaudio')
marley-git W: Dependency sdl2 included but already satisfied
marley-git W: Dependency included and not needed ('soundtouch')
marley-git W: Dependency boost-libs included but already satisfied
marley-git W: Dependency alsa-lib included but already satisfied
marley-git W: Dependency included and not needed ('enet')
marley-git W: Dependency libevdev included but already satisfied
marley-git W: Dependency libx11 included but already satisfied
marley-git W: Dependency libxi included but already satisfied
marley-git W: Dependency libxrandr included but already satisfied
marley-git W: Dependency lzo included but already satisfied
marley-git W: Dependency libsndfile included but already satisfied
marley-git W: Dependency mesa included but already satisfied
marley-git W: Dependency libudev.so included but already satisfied
marley-git W: Dependency included and not needed ('libusb-1.0.so')
marley-git W: Dependency libgl included but already satisfied
marley-git W: Dependency glew included but already satisfied
marley-git W: Dependency glibc included but already satisfied
marley-git W: Dependency zlib included but already satisfied
marley-git W: Dependency glu included but already satisfied
marley-git W: Dependency included and not needed ('cmake')
marley-git W: Dependency libglvnd included but already satisfied
marley-git W: Dependency python included but already satisfied
marley-git W: Dependency included and not needed ('qt5-tools')
marley-git W: Dependency freetype2 included but already satisfied
marley-git W: Dependency included and not needed ('qt5-base')
marley-git W: Dependency included and not needed ('libcurl.so')
marley-git W: Dependency included and not needed ('libminiupnpc.so')
marley-git W: Dependency included and not needed ('nasm')
marley-git W: Dependency included and not needed ('boost')
marley-git W: Dependency libpng included but already satisfied
marley-git W: Dependency included and not needed ('libzip')
marley-git W: Dependency included and not needed ('zip')
==> Running checkpkg
error: target not found: marley-git
==> WARNING: Skipped checkpkg due to missing repo packages

@beaumanvienna
Copy link
Owner Author

@rien333 Is it ok for you to run PCSX2 with GTK2?

@rien333
Copy link

rien333 commented Nov 1, 2020

I don't mind it that much, though I greatly prefer the GTK3 version for a number reasons. Some of these are merely aesthetic, but, iirc, it's way easier to get HiDPi working on GTK3 than 2.

I kinda wish I could remove GTK2 from my system, but there's still a bunch of apps that depend on it, so in that sense it's not that weird to produce a GTK2 build of pcsx2.

@beaumanvienna
Copy link
Owner Author

That's great! I rebased PCSX2 and it is ready to be tested with GTK2 support under Arch.

If you like to test it, please create the package with extra-x86_64-build, see here.

Marley defaults to GTK3 if it finds it, hence the need for a clean chroot.

With GTK3 there is an assert saying Unsupported key, only modifiers can be used. I see that under Arch and Gentoo, but not on Ubuntu and Manjaro (and GTK3).

What happened since the last time we spoke:

  • Sega Saturn support added
  • ppsspp rebased
  • pcsx2 rebased
  • Gentoo support added
  • Arch build script downsized with namcap

The current version has all five cores running stable, all functions are online (f=toggle fullscreen, ESC/guide button to exit, F5/F7 load/saves state), so I believe it's pretty good :-)

@beaumanvienna
Copy link
Owner Author

BTW, here's a small demo video

@rien333
Copy link

rien333 commented Nov 1, 2020

Looks good! I only sporadically have time for things like videogames (and computer stuff) at the moment, but I'll be sure to help along/check this out in the future.

@beaumanvienna
Copy link
Owner Author

Thanks! No worries, whenever you have time.

I fixed the above GTK3 issue: 686819d, you can now use makepkg as usual

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants