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

Include libxrandr-dev in Build-Depends #697

Closed
wants to merge 2 commits into from

Conversation

OzFalcon
Copy link
Contributor

sbuild fails with

Compiling obj/fe_present.o...
src/fe_present.cpp:42:10: fatal error: X11/extensions/Xrandr.h: No such file or directory
   42 | #include <X11/extensions/Xrandr.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:486: obj/fe_present.o] Error 1

sbuild fails with
```
Compiling obj/fe_present.o...
src/fe_present.cpp:42:10: fatal error: X11/extensions/Xrandr.h: No such file or directory
   42 | #include <X11/extensions/Xrandr.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:486: obj/fe_present.o] Error 1
```
Change libavresample-dev to libswresample-dev
 libavresample-dev (libavresample4) does not appear to be used in build.
 libswresample-dev (libswresample3) does appear to be used in build.
Debian package information shows libswresample3 as the dependency.
```
dpkg -I ./attract_2.6.1-1_amd64.deb 
 new Debian package, version 2.0.
 size 4590696 bytes: control archive=6164 bytes.
    1061 bytes,    15 lines      control              
   19609 bytes,   224 lines      md5sums              
 Package: attract
 Version: 2.6.1-1
 Architecture: amd64
 Maintainer: Andrew Mickelson <[email protected]>
 Installed-Size: 8612
 Depends: libarchive13 (>= 3.0.4), libavcodec58 (>= 7:4.0), libavformat58 (>= 7:4.1), libavutil56 (>= 7:4.0), libc6 (>= 2.29), libcurl4 (>= 7.16.2), libexpat1 (>= 2.0.1), libfontconfig1 (>= 2.12.6), libfreetype6 (>= 2.2.1), libgcc-s1 (>= 3.0), libgl1, libjpeg62-turbo (>= 1.3.1), libopenal1 (>= 1.14), libsfml-graphics2.5, libsfml-system2.5, libsfml-window2.5, libstdc++6 (>= 5.2), libswresample3 (>= 7:4.0), libswscale5 (>= 7:4.0), libx11-6, libxinerama1, libxrandr2 (>= 4.3), zlib1g (>= 1:1.1.4)
 Section: games
 Priority: optional
 Homepage: http://attractmode.org
 Description: Attract-Mode emulator frontend
  Attract-Mode is a graphical frontend for command line emulators such as MAME,
  MESS and Nestopia. It hides the underlying operating system and is intended
  to be controlled with a joystick, gamepad or spin dial, making it ideal for
  use in arcade cabinets. Attract-Mode is open source and runs on Linux, OS X
  and Windows.
```
@OzFalcon
Copy link
Contributor Author

Noticed another change to be made in /src/debian/control
Creating a new pull request

@OzFalcon OzFalcon closed this Nov 18, 2021
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

Successfully merging this pull request may close these issues.

1 participant