pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/games



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Jan 17 13:23:17 UTC 2022

Modified Files:
        pkgsrc/games: Makefile
Added Files:
        pkgsrc/games/xsol: DESCR Makefile PLIST distinfo
        pkgsrc/games/xsol/files: Makefile xsol.6 xsol.desktop xsol.png

Log Message:
add games/xsol

This is a simple Motif/Lesstif version of the classic solitaire game.

This version of the game runs under X Window System.


To generate a diff of this commit:
cvs rdiff -u -r1.511 -r1.512 pkgsrc/games/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/games/xsol/DESCR pkgsrc/games/xsol/Makefile \
    pkgsrc/games/xsol/PLIST pkgsrc/games/xsol/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/xsol/files/Makefile \
    pkgsrc/games/xsol/files/xsol.6 pkgsrc/games/xsol/files/xsol.desktop \
    pkgsrc/games/xsol/files/xsol.png

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/Makefile
diff -u pkgsrc/games/Makefile:1.511 pkgsrc/games/Makefile:1.512
--- pkgsrc/games/Makefile:1.511 Thu Dec 30 00:43:35 2021
+++ pkgsrc/games/Makefile       Mon Jan 17 13:23:17 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.511 2021/12/30 00:43:35 nia Exp $
+# $NetBSD: Makefile,v 1.512 2022/01/17 13:23:17 nia Exp $
 #
 
 COMMENT=       Games
@@ -469,6 +469,7 @@ SUBDIR+=    xscorch
 SUBDIR+=       xscrabble
 SUBDIR+=       xskat
 SUBDIR+=       xsokoban
+SUBDIR+=       xsol
 SUBDIR+=       xsoldier
 SUBDIR+=       xtacy
 SUBDIR+=       xtris

Added files:

Index: pkgsrc/games/xsol/DESCR
diff -u /dev/null pkgsrc/games/xsol/DESCR:1.1
--- /dev/null   Mon Jan 17 13:23:17 2022
+++ pkgsrc/games/xsol/DESCR     Mon Jan 17 13:23:17 2022
@@ -0,0 +1,3 @@
+This is a simple Motif/Lesstif version of the classic solitaire game.
+
+This version of the game runs under X Window System.
Index: pkgsrc/games/xsol/Makefile
diff -u /dev/null pkgsrc/games/xsol/Makefile:1.1
--- /dev/null   Mon Jan 17 13:23:17 2022
+++ pkgsrc/games/xsol/Makefile  Mon Jan 17 13:23:17 2022
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1 2022/01/17 13:23:17 nia Exp $
+
+DISTNAME=      xsol_0.31.orig
+PKGNAME=       ${DISTNAME:S/_/-/g:S/.orig$//g}
+CATEGORIES=    games
+MASTER_SITES=  ${MASTER_SITE_DEBIAN:=pool/main/x/xsol/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://packages.debian.org/sid/xsol
+COMMENT=       Solitaire game for the X Window System
+LICENSE=       gnu-gpl-v2
+
+WRKSRC=                ${WRKDIR}/${DISTNAME:S/_/-/g}
+
+INSTALLATION_DIRS+=    bin
+INSTALLATION_DIRS+=    share/applications
+INSTALLATION_DIRS+=    share/pixmaps
+INSTALLATION_DIRS+=    ${PKGMANDIR}/man6
+
+pre-build:
+       ${CP} -f ${FILESDIR}/Makefile ${WRKSRC}/Makefile
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/xsol \
+           ${DESTDIR}${PREFIX}/bin/xsol
+       ${INSTALL_DATA} ${FILESDIR}/xsol.desktop \
+           ${DESTDIR}${PREFIX}/share/applications/xsol.desktop
+       ${INSTALL_DATA} ${FILESDIR}/xsol.6 \
+           ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/xsol.6
+       ${INSTALL_DATA} ${FILESDIR}/xsol.png \
+           ${DESTDIR}${PREFIX}/share/pixmaps/xsol.png
+
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../mk/motif.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/games/xsol/PLIST
diff -u /dev/null pkgsrc/games/xsol/PLIST:1.1
--- /dev/null   Mon Jan 17 13:23:17 2022
+++ pkgsrc/games/xsol/PLIST     Mon Jan 17 13:23:17 2022
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2022/01/17 13:23:17 nia Exp $
+bin/xsol
+man/man6/xsol.6
+share/applications/xsol.desktop
+share/pixmaps/xsol.png
Index: pkgsrc/games/xsol/distinfo
diff -u /dev/null pkgsrc/games/xsol/distinfo:1.1
--- /dev/null   Mon Jan 17 13:23:17 2022
+++ pkgsrc/games/xsol/distinfo  Mon Jan 17 13:23:17 2022
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/01/17 13:23:17 nia Exp $
+
+BLAKE2s (xsol_0.31.orig.tar.gz) = d29a3df1df2cf27cbc07b6ad2033c85891a036e5b4f64749f9cd1ccca4b74463
+SHA512 (xsol_0.31.orig.tar.gz) = cc031362254fd9de178bec6b1915dabd3232e4be4fd677896f1b181858d393965768af8a927fb1457aafc90725b9dca2aa29b0c4f3a22d62b574bd6b3f34575c
+Size (xsol_0.31.orig.tar.gz) = 18047 bytes

Index: pkgsrc/games/xsol/files/Makefile
diff -u /dev/null pkgsrc/games/xsol/files/Makefile:1.1
--- /dev/null   Mon Jan 17 13:23:17 2022
+++ pkgsrc/games/xsol/files/Makefile    Mon Jan 17 13:23:17 2022
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2022/01/17 13:23:17 nia Exp $
+
+OBJS+= xsol.o
+
+LIBS+= -lXm
+
+all: xsol
+
+xsol.o: xsol.c
+       $(CC) $(CFLAGS) -c xsol.c
+
+xsol: xsol.o
+       $(CC) $(LDFLAGS) $(LIBS) -o xsol xsol.o
Index: pkgsrc/games/xsol/files/xsol.6
diff -u /dev/null pkgsrc/games/xsol/files/xsol.6:1.1
--- /dev/null   Mon Jan 17 13:23:17 2022
+++ pkgsrc/games/xsol/files/xsol.6      Mon Jan 17 13:23:17 2022
@@ -0,0 +1,65 @@
+.TH XSOL 6 "March 1999" "Debian Project"
+.SH NAME
+xsol \- X Solitaire
+.SH SYNOPSIS
+.B xsol
+.br
+.SH "DESCRIPTION"
+This manual page briefly documents
+.BR xsol
+, a simple Motif/ Lesstif version of the classic solitaire game.
+It was written for the Debian GNU/Linux distribution because the
+original program does not have a manual page.
+.br
+.SH "HOW TO PLAY"
+Solitaire is a card game. At the start you are presented with seven
+columns of cards. First has only one card, second one has two, third
+three and so on (28 in total), but only the first card in every
+column is shown ('opened'). Also there is the deck (24 cards at the
+start), and four empty places for suit stacks.
+.sp
+Cards in the deck and in the columns are unsorted, and the object of
+Solitaire is to use all the cards in the deck to build up the four
+suit stacks in ascending order, beginning with the aces. You can
+accomplish that by dragging and dropping the red onto the black (and
+black onto the red) cards between the columns, and between the deck
+and the columns (but not the other way around). When you see a whole
+turned card, click on it to see it ('open' it) and to be able to move
+it somewhere. Deck is opened by clicking on it; once you reach the
+end of the deck, just click once more and you'll reopen it.
+.sp
+If you reach a point when you can't move any more cards to the stacks,
+and rearranging cards in columns and the deck gets you nowhere, the
+game is over. Start it again.
+.SH OPTIONS
+You can access all options within the program, through the 'Game'
+menu. There you have four options:
+.br
+.B New game
+- start a new game,
+.br
+.B Undo
+- undo last move,
+.br
+.B Options
+- configure these options:
+.br
+   Timed game - should we count the seconds?
+.br
+   Keep score - should we count the score?
+.br
+   Show number of cards in deck - should we show it?
+.br
+   Draw one - card from the deck,
+.br
+   Draw three - cards from the deck.
+.br
+.B About
+- shows information about the author.
+.br
+.B Exit
+- quits the game.
+.SH AUTHOR
+.B xsol
+was written by Brian Masney <masneyb%newwave.net@localhost>, and this manual
+page was written by Josip Rodin <jrodin%jagor.srce.hr@localhost>.
Index: pkgsrc/games/xsol/files/xsol.desktop
diff -u /dev/null pkgsrc/games/xsol/files/xsol.desktop:1.1
--- /dev/null   Mon Jan 17 13:23:17 2022
+++ pkgsrc/games/xsol/files/xsol.desktop        Mon Jan 17 13:23:17 2022
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Exec=xsol
+GenericName=Klondike Solitare
+Icon=xsol
+Name=X Solitaire
+Comment=Klondike Solitaire game for the X Window System
+Terminal=false
+Type=Application
+Categories=Game;CardGame;
+Keywords=game;card;cardgame;solitaire
Index: pkgsrc/games/xsol/files/xsol.png
Binary files are different



Home | Main Index | Thread Index | Old Index