Bug 28664 - quadra, a tetris clone, game with single player and multiplayer capabilities (Internet or LAN). NEW PKG REQUEST
Summary: quadra, a tetris clone, game with single player and multiplayer capabilities...
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL: https://code.google.com/archive/p/qua...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-27 18:57 CET by Pavel Fric
Modified: 2022-08-14 23:21 CEST (History)
3 users (show)

See Also:
Source RPM: quadra
CVE:
Status comment:


Attachments
quadra's spec/patch files in a rpmbuild directory tree (5.68 KB, application/gzip)
2021-03-30 17:54 CEST, Aurelian R
Details

Description Pavel Fric 2021-03-27 18:57:55 CET
An addictive action puzzle game with single player and multiplayer capabilities (Internet or LAN).

Quadra is an extremely smooth Tetris clone with single player and multiplayer capabilities over the local area network or the Internet. Either play with one or two friends on one PC or play over LAN or Internet with even more players.
Comment 1 Pavel Fric 2021-03-27 18:59:49 CET
Quadra is an addictive puzzle game and competitive, action-packed multiplayer game all-in-one. It features incredibly smooth gameplay, recursive line clearing allowing blocks to combine in violent chain reactions, integrated CD music player, fully configurable multiplayer mode with team play, powerful and flexible user interface TCP/IP support for internet or LAN multiplayer games and more.
Comment 2 Lewis Smith 2021-03-27 21:33:30 CET
From https://code.google.com/archive/p/quadra/downloads:

https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/quadra/quadra-1.2.0.tar.gz

Assigning this package request to all packagers collectively. On a voluntary basis, one of them might, if there are no license or other legal issues, want to integrate it to the distribution and maintain it for bug and security fixes.

You Pavel might also want to join the packager team to maintain this piece of software: see https://wiki.mageia.org/en/Becoming_a_Mageia_Packager

Severity: normal => enhancement
Summary: Nice tetris clone - version 1.2 => quadra, a tetris clone, game with single player and multiplayer capabilities (Internet or LAN). NEW PKG REQUEST
Assignee: bugsquad => pkg-bugs

Comment 3 Pavel Fric 2021-03-28 09:15:32 CEST
The reason for RPM request (I played Quadra some years ago, and its really "addictive") is in fact, that I couldn't finish the installation from the sources, that I couldn't find the package providing the files for X11 (using in MCC - package management, and tried install everything with "x11" in the name (?)), as listed in the end of the dump from terminal:

"configure: WARNING: X11 is required and could not be found!
configure: error: Required dependencies missing."

[pavel@localhost quadra-1.2.0]$ ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for compress in -lz... yes
checking for png_create_read_struct in -lpng... yes
checking for XOpenDisplay in -lX11... yes
checking for XShmAttach in -lXext... yes
checking for XF86VidModeSwitchToMode in -lXxf86vm... yes
checking for XpmCreatePixmapFromData in -lXpm... no
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/xpm.h usability... no
checking X11/xpm.h presence... no
checking for X11/xpm.h... no
checking for X11/extensions/XShm.h... yes
checking for X11/extensions/xf86vmode.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking machine/byte_order.h usability... no
checking machine/byte_order.h presence... no
checking for machine/byte_order.h... no
checking linux/cdrom.h usability... yes
checking linux/cdrom.h presence... yes
checking for linux/cdrom.h... yes
checking linux/soundcard.h usability... yes
checking linux/soundcard.h presence... yes
checking for linux/soundcard.h... yes
checking mcheck.h usability... yes
checking mcheck.h presence... yes
checking for mcheck.h... yes
configure: WARNING: X11 is required and could not be found!
configure: error: Required dependencies missing.
[pavel@localhost quadra-1.2.0]$
Comment 4 Rolf Pedersen 2021-03-28 15:54:25 CEST
I'm no dev but I often succeed in building something I think I want, when dependencies are reported as missing, by using CLI urpm tools.  I'd say

>  configure: WARNING: X11 is required and could not be found!

is too general for a dabbler, such as myself, and I've encountered many such "cryptic" messages in the build terminal.  Here's an example of one fishing strategy that is of the form that has yielded a complete build in my past experience, based on "checking" messages that report "no", for example:

>  checking X11/xpm.h usability... no
>  checking X11/xpm.h presence... no

What package provides that file?

[rolf@x570i ~]$ urpmf X11/xpm.h
lib64xpm-devel:/usr/include/X11/xpm.h
    http://mirrors.kernel.org/mageia/distrib/8/x86_64/media/core/updates/media_info/20210327-133221-files.xml.lzma
    http://mirrors.kernel.org/mageia/distrib/8/x86_64/media/nonfree/updates/media_info/20210322-211520-files.xml.lzma
    http://mirrors.kernel.org/mageia/distrib/8/x86_64/media/tainted/updates/media_info/20210327-133433-files.xml.lzma
libxpm-devel:/usr/include/X11/xpm.h                                                                                  
    http://mirrors.kernel.org/mageia/distrib/8/i586/media/core/updates/media_info/20210327-133137-files.xml.lzma
    http://mirrors.kernel.org/mageia/distrib/8/i586/media/nonfree/updates/media_info/20210322-211519-files.xml.lzma  
    http://mirrors.kernel.org/mageia/distrib/8/i586/media/tainted/updates/media_info/20210327-133430-files.xml.lzma
[rolf@x570i ~]$

The current relevant urpm database files are downloaded and parsed for what package contains the particular file.  Note: the more of a file path that is fed to urpm, the more limited are the results.  IOW, a single file name might return dozens of results but 'configure' has helped us avoid that ambiguity by providing the partial path of interest.

Perhaps it is interesting to find what might be the relevance of the indicated packages to the ultimate goal of having the software built.  Bonus example of this venerable "frantic hammering" IT style:
  
[rolf@x570i ~]$ urpmq -i lib64xpm-devel                                                                              
Name        : lib64xpm-devel
Version     : 3.5.13
Release     : 2.mga8
Group       : Development/X11
Size        : 76977                        Architecture: x86_64
Source RPM  : libxpm-3.5.13-2.mga8.src.rpm
URL         : http://xorg.freedesktop.org
Summary     : Development files for libxpm
Description :
Development files for libxpm

What is libxpm?

[rolf@x570i ~]$ urpmq -i libxpm
No package named libxpm

Terminal output nouns used have a special meaning to devs and I have to fish some more to get an answer.

[rolf@x570i ~]$ urpmq -y xpm
lib64xpm-devel
lib64xpm4
libxpm-devel
libxpm4
[rolf@x570i ~]$ urpmq -i libxpm4
    http://mirrors.kernel.org/mageia/distrib/8/i586/media/core/release/media_info/20210224-164801-info.xml.lzma
Name        : libxpm4                                                                                                
Version     : 3.5.13
Release     : 2.mga8
Group       : Development/X11
Size        : 81476                        Architecture: i586
Source RPM  : libxpm-3.5.13-2.mga8.src.rpm
URL         : http://xorg.freedesktop.org
Summary     : X Pixmap Library
Description :
The xpm package contains the XPM pixmap library for the X Window
System. The XPM library allows applications to display color,
pixmapped images, and is used by many popular X programs.

[rolf@x570i ~]$

Displaying color and pixmapped images *does* sound important for a game but IDK.  My suggestion is that CLI urpm is likely a better tool for finding needed software for compiling than is rpmdrake but I might not have learned how to thus use MCC software management to its fullest capabilities.

CC: (none) => rolfpedersen

Comment 5 Pavel Fric 2021-03-28 19:17:22 CEST
Yes, thanks a lot. I've just run MCC and using MCC found and installed the -devel package for "lib64xpm4" named lib64xpm-devel (development files for libxpm). Without you I would never find it and thus continue installation. Now when ./configure is done, I used make command for build and make install for installing the result into system. With my new PC it's (compiling etc.) very fast.

There is just one big issue with my 24'' monitor:

In console/terminal: /dev/dsp: Input/output error

It ended/ends in black screen. I experienced this some days before, when playng the game Berušky, started it with fullscreen and the next time I've launched the game, there was the same black screen with the message displayed in right bottom corner of the LCD display: ! Out of range.
Comment 6 Dave Hodgins 2021-03-28 20:57:04 CEST
(In reply to Pavel Fric from comment #5)
> In console/terminal: /dev/dsp: Input/output error

/dev/dsp is used with the open sound system.

I think the command padsp can be used to enable it's emulation, but have
not used it.

CC: (none) => davidwhodgins

Comment 7 Dave Hodgins 2021-03-28 21:04:01 CEST
Found some more info.
Install ossp, enable and start osspd.service
Then use "padsp OSSprogram" with the proper program name.
Comment 8 Pavel Fric 2021-03-29 08:12:46 CEST
Further information:

I´ve found, that Quadra 1.2 release was the 10th anniversary release, and there could be/is version 1.3 too: 1.3.0: 15th Anniversary Release.

But: "Has now been ported to SDL2, which should improve portability, especially on Mac OS X, which is now using native graphics (instead of X11) and is packaged as an application bundle.

With many other changes, this might not be the most reliable of releases, but since the last release was the 10th anniversary release, I figure the best we can do for Quadra is to release earlier, and rather than try to get everything perfect, be ready to fix it in quick follow up releases."

https://github.com/quadra-game/quadra/releases
Comment 9 Pavel Fric 2021-03-29 21:11:10 CEST
I've just installed Quadra version 1.3 and I can confirm, it is very addictive. :-) I've probably hadn't seen more tetris like games, because there wasn't the need for searching another clone, but this..., well. :-)

After first launch, I thought that the cursor keys aren't responding, or something else is wrong. I hit Esc key, and ... and yes in "player setup" there were mapped keys like F 15, ... F 17 etc - I don't have keyboard with such keys (or I am not aware). So, I remapped moves: left, right, down, and it is mapping that suits me well: for twice rotating the "block" - cursor key for Up. There are keys for instant dropping, twice rotating the block too.
Comment 10 Pavel Fric 2021-03-29 21:53:52 CEST
I mistyped "for twice rotating the "block" - "Rotate twice": I meant the Rotate counterclockwise action - set now as cursor key for Up (direction)." -
Comment 11 Aurelian R 2021-03-30 17:54:24 CEST
Created attachment 12547 [details]
quadra's spec/patch files in a rpmbuild directory tree

  Attached is a rpmbuild directory structure for quadra game from git( without the source as inside is a script to get it) which builds/runs fine on Mageia Cauldron. A proper and more experienced Mageia packager may clean up this.
Hope this helps.
Cheers.

CC: (none) => arusanu

Comment 12 sturmvogel 2022-08-14 23:21:13 CEST
The last release is from 2014! Zero project activity since 2014. So this is dead and unmaintained upstream. 61 open issues...


Closing as WONTFIX.

Status: NEW => RESOLVED
Resolution: (none) => WONTFIX


Note You need to log in before you can comment on or make changes to this bug.