[JEUX] GNOME Mastermind v0.4.0

Applications multimedia / jeux
Avatar de l’utilisateur
daminus
newbie
Messages : 6
Inscription : sam. 03 oct. 2020, 10:48

[JEUX] GNOME Mastermind v0.4.0

Message par daminus »

Pour ceux qui sont intéressés, voici comment jouer à GNOME Mastermind v0.4.0.
Cette méthode fonctionne, mais toutes modifications et/ou corrections sont les bienvenues.

https://www.autistici.org/gnome-mastermind/
https://github.com/fargiolas/gnome-mastermind

PRÉREQUIS :

Code : Tout sélectionner

sudo pacman -S gnome-common
INSTALLATION :

Code : Tout sélectionner

wget https://github.com/fargiolas/gnome-mastermind/releases/download/v0.4.0/gnome-mastermind-0.4.0.tar.gz
tar -zxvf gnome-mastermind-0.4.0.tar.gz
cd gnome-mastermind-0.4.0/
./autogen.sh
./configure --prefix=/usr
make
sudo make install
Pour éviter l’éventuel message d'erreur au 1er lancement du jeu :

Code : Tout sélectionner

sudo mkdir /usr/local/share/gnome-mastermind
sudo cp -r ~/gnome-mastermind-0.4.0/themes /usr/local/share/gnome-mastermind/themes
Image

SOURCES :

https://github.com/fargiolas/gnome-mast ... 0...master
https://github.com/fargiolas/gnome-mast ... er/INSTALL

POUR LES EXPERTS :

Comme ce jeu est sympa, retrouver GNOME Mastermind dans les dépôts AUR serait cool. Non ?
A bon entendeur...
D'avance MERCI !
Dernière modification par daminus le sam. 26 août 2023, 18:46, modifié 6 fois.
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17239
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [JEUX] GNOME Mastermind 0.4.0

Message par benjarobin »

Bonjour,
Pourquoi ne pas créer un paquet AUR ? Cela permettrait de partager un peu mieux ce que tu as fait.
Zsh | KDE | PC fixe : core i7, carte nvidia
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
JeanBon
Hankyu
Messages : 16
Inscription : ven. 16 déc. 2022, 19:34

Re: [JEUX] GNOME Mastermind 0.4.0

Message par JeanBon »

benjarobin a écrit : sam. 26 août 2023, 12:53 Bonjour,
Pourquoi ne pas créer un paquet AUR ? Cela permettrait de partager un peu mieux ce que tu as fait.
Bonjour,
très intéressant, c'est possible de faire un "pas à pas" ?
Cdlt.
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17239
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [JEUX] GNOME Mastermind 0.4.0

Message par benjarobin »

Qu'est ce que tu entends par faire un "pas à pas" ?

Je suppose que tu sais déjà comment compiler un paquet via un PKGBUILD existant, sinon tu dois commencer par là et lire https://wiki.archlinux.org/title/Makepkg

Puis tu dois déjà créer un PKGBUILD fonctionnel :
- Voir https://wiki.archlinux.org/title/PKGBUILD
- Voir https://wiki.archlinux.org/title/Creating_packages,
- Et tu as plein d'exemple sur AUR

Et une fois que ceci est fait, ce qui est le plus "compliqué", tu dois soumettre le paquet en suivant le Wiki : https://wiki.archlinux.org/title/AUR_su ... guidelines
Zsh | KDE | PC fixe : core i7, carte nvidia
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
daminus
newbie
Messages : 6
Inscription : sam. 03 oct. 2020, 10:48

Re: [JEUX] GNOME Mastermind v0.4.0

Message par daminus »

Merci de tous vos retours hyper rapides !
En fait oui j'y pense aussi, mais vu mon niveau, mes compétences et le temps à y consacrer.
sans oublier la maintenance, je préfère décliner.
Mais sachez que OUI c'est la solution ultime ! J''adorai, mais bon.
Bref, comme on dit "Y'a que les imbéciles qui ne changent pas d'avis", alors, allez savoir...

PS : j'vais mis coller, mais soyez hyper-méga patient sans trop espérer !!...
Avatar de l’utilisateur
daminus
newbie
Messages : 6
Inscription : sam. 03 oct. 2020, 10:48

Re: [JEUX] GNOME Mastermind v0.4.0

Message par daminus »

Voici un 1er jet de PKGBUILD fonctionnel

Code : Tout sélectionner

# GNOME Mastermind™ v0.4.0

# PKGBUILD v1.1 - 2023/08/27
# Maintainer: daminus

pkgname=gnome-mastermind
pkgver=0.4.0
pkgrel=1
pkgdesc="Clone of the Mastermind™ board game for the GNOME Desktop"
arch=('x86_64')
url="https://www.autistici.org/gnome-mastermind/"
license=('GPL')
depends=('dconf' 'gtk3' 'glib2' 'gdk-pixbuf2' 'hicolor-icon-theme' 'glibc' 'cairo')
makedepends=('gnome-common')
source=(https://github.com/fargiolas/gnome-mastermind/releases/download/v0.4.0/"$pkgname-$pkgver.tar.gz")
md5sums=('799a92a34d094e2695b52da42ca8ef73')
sha256sums=('f49609712a91e1d46ef88edc6ba9322fec09433a7f3695de9d9d10449e129598')

build() {
	cd "$pkgname-$pkgver"
	./autogen.sh
	./configure --prefix=/usr
	make
}

check() {
	cd "$pkgname-$pkgver"
	make -k check
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
}
Dernière modification par daminus le dim. 27 août 2023, 18:19, modifié 4 fois.
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17239
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [JEUX] GNOME Mastermind v0.4.0

Message par benjarobin »

Voici une version nettoyée et corrigée :

Code : Tout sélectionner

# Maintainer: daminus

pkgname=gnome-mastermind
pkgver=0.4.0
pkgrel=1
pkgdesc="A Mastermind clone for GNOME Desktop"
arch=('x86_64')
url="https://www.autistici.org/gnome-mastermind/"
license=('GPLv2+')
depends=('gnome-common')
source=("https://github.com/fargiolas/gnome-mastermind/releases/download/v0.4.0/$pkgname-$pkgver.tar.gz")
sha256sums=('f49609712a91e1d46ef88edc6ba9322fec09433a7f3695de9d9d10449e129598')

build() {
	cd "$pkgname-$pkgver"
	./autogen.sh
	./configure --prefix=/usr
	make
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
	rm -rf "$pkgdir/usr/share/doc/"
}
Zsh | KDE | PC fixe : core i7, carte nvidia
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
daminus
newbie
Messages : 6
Inscription : sam. 03 oct. 2020, 10:48

Re: [JEUX] GNOME Mastermind v0.4.0

Message par daminus »

benjarobin a écrit : dim. 27 août 2023, 14:03 Voici une version nettoyée et corrigée
Tu m'as coupé l'herbe sous le pied, j'étais en train de le faire aussi.

Code : Tout sélectionner

# GNOME Mastermind™ v0.4.0

# PKGBUILD v1.1 - 2023/08/27
# Maintainer: daminus

pkgname=gnome-mastermind
pkgver=0.4.0
pkgrel=1
pkgdesc="Clone of the Mastermind™ board game for the GNOME Desktop"
arch=('x86_64')
url="https://www.autistici.org/gnome-mastermind/"
license=('GPL')
depends=('dconf' 'gtk3' 'glib2' 'gdk-pixbuf2' 'hicolor-icon-theme' 'glibc' 'cairo')
makedepends=('gnome-common')
source=(https://github.com/fargiolas/gnome-mastermind/releases/download/v0.4.0/"$pkgname-$pkgver.tar.gz")
md5sums=('799a92a34d094e2695b52da42ca8ef73')
sha256sums=('f49609712a91e1d46ef88edc6ba9322fec09433a7f3695de9d9d10449e129598')

build() {
	cd "$pkgname-$pkgver"
	./autogen.sh
	./configure --prefix=/usr
	make
}

check() {
	cd "$pkgname-$pkgver"
	make -k check
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
}
Bref, tout est nickel :

Code : Tout sélectionner

$ namcap -i gnome-mastermind-0.4.0-1-x86_64.pkg.tar.zst 
gnome-mastermind I: Soname 'libc.so=6-64' is not specified as provides by glibc yet (needed in files ['usr/bin/gnome-mastermind'])
gnome-mastermind I: Link-level dependence (cairo) in file ['usr/lib/libcairo.so.2']
gnome-mastermind I: Link-level dependence (gdk-pixbuf2) in file ['usr/lib/libgdk_pixbuf-2.0.so.0']
gnome-mastermind I: Link-level dependence (glib2) in file ['usr/lib/libgobject-2.0.so.0', 'usr/lib/libglib-2.0.so.0', 'usr/lib/libgio-2.0.so.0']
gnome-mastermind I: Link-level dependence (glibc) in file ['usr/lib/libc.so.6']
gnome-mastermind I: Link-level dependence (gtk3) in file ['usr/lib/libgtk-3.so.0', 'usr/lib/libgdk-3.so.0']
gnome-mastermind I: Soname dependency 'libcairo.so=2-64' provided by cairo detected and not included (needed in files ['usr/bin/gnome-mastermind'])
gnome-mastermind I: Soname dependency 'libgdk_pixbuf-2.0.so=0-64' provided by gdk-pixbuf2 detected and not included (needed in files ['usr/bin/gnome-mastermind'])
gnome-mastermind I: Soname dependency 'libgio-2.0.so=0-64' provided by glib2 detected and not included (needed in files ['usr/bin/gnome-mastermind'])
gnome-mastermind I: Soname dependency 'libglib-2.0.so=0-64' provided by glib2 detected and not included (needed in files ['usr/bin/gnome-mastermind'])
gnome-mastermind I: Soname dependency 'libgobject-2.0.so=0-64' provided by glib2 detected and not included (needed in files ['usr/bin/gnome-mastermind'])
gnome-mastermind I: Soname dependency 'libgdk-3.so=0-64' provided by gtk3 detected and not included (needed in files ['usr/bin/gnome-mastermind'])
gnome-mastermind I: Soname dependency 'libgtk-3.so=0-64' provided by gtk3 detected and not included (needed in files ['usr/bin/gnome-mastermind'])
gnome-mastermind I: Soname depends as namcap sees them: depends=(glibc libcairo.so=2-64 libgdk-3.so=0-64 libgdk_pixbuf-2.0.so=0-64 libgio-2.0.so=0-64 libglib-2.0.so=0-64 libgobject-2.0.so=0-64 libgtk-3.so=0-64)
gnome-mastermind I: Provides as namcap sees them: provides=()
gnome-mastermind I: Symlink (usr/share/help/de/gnome-mastermind/figures/mainwindow.png) found that points to /usr/share/help/C/gnome-mastermind/figures/mainwindow.png
gnome-mastermind I: Symlink (usr/share/help/de/gnome-mastermind/figures/row1.png) found that points to /usr/share/help/C/gnome-mastermind/figures/row1.png
gnome-mastermind I: Symlink (usr/share/help/de/gnome-mastermind/figures/row2.png) found that points to /usr/share/help/C/gnome-mastermind/figures/row2.png
gnome-mastermind I: Symlink (usr/share/help/de/gnome-mastermind/figures/row3.png) found that points to /usr/share/help/C/gnome-mastermind/figures/row3.png
gnome-mastermind I: Symlink (usr/share/help/de/gnome-mastermind/figures/row4.png) found that points to /usr/share/help/C/gnome-mastermind/figures/row4.png
gnome-mastermind I: Symlink (usr/share/help/de/gnome-mastermind/figures/row5.png) found that points to /usr/share/help/C/gnome-mastermind/figures/row5.png
gnome-mastermind I: Symlink (usr/share/help/id/gnome-mastermind/figures/mainwindow.png) found that points to /usr/share/help/C/gnome-mastermind/figures/mainwindow.png
gnome-mastermind I: Symlink (usr/share/help/id/gnome-mastermind/figures/row1.png) found that points to /usr/share/help/C/gnome-mastermind/figures/row1.png
gnome-mastermind I: Symlink (usr/share/help/id/gnome-mastermind/figures/row2.png) found that points to /usr/share/help/C/gnome-mastermind/figures/row2.png
gnome-mastermind I: Symlink (usr/share/help/id/gnome-mastermind/figures/row3.png) found that points to /usr/share/help/C/gnome-mastermind/figures/row3.png
gnome-mastermind I: Symlink (usr/share/help/id/gnome-mastermind/figures/row4.png) found that points to /usr/share/help/C/gnome-mastermind/figures/row4.png
gnome-mastermind I: Symlink (usr/share/help/id/gnome-mastermind/figures/row5.png) found that points to /usr/share/help/C/gnome-mastermind/figures/row5.png
gnome-mastermind I: Dependency glibc detected and satisfied (libraries ['usr/lib/libc.so.6'] needed in files ['usr/bin/gnome-mastermind'])
gnome-mastermind I: Dependency gdk-pixbuf2 detected and satisfied (libraries ['usr/lib/libgdk_pixbuf-2.0.so.0'] needed in files ['usr/bin/gnome-mastermind'])
gnome-mastermind I: Dependency hicolor-icon-theme detected and satisfied (needed for hicolor theme hierarchy)
gnome-mastermind I: Dependency glib2 detected and satisfied (libraries ['usr/lib/libgobject-2.0.so.0', 'usr/lib/libglib-2.0.so.0', 'usr/lib/libgio-2.0.so.0'] needed in files ['usr/bin/gnome-mastermind'])
gnome-mastermind I: Dependency gtk3 detected and satisfied (libraries ['usr/lib/libgtk-3.so.0', 'usr/lib/libgdk-3.so.0'] needed in files ['usr/bin/gnome-mastermind'])
gnome-mastermind I: Dependency cairo detected and satisfied (libraries ['usr/lib/libcairo.so.2'] needed in files ['usr/bin/gnome-mastermind'])
gnome-mastermind I: Dependency dconf detected and satisfied (needed for glib schemas)
gnome-mastermind I: Depends as namcap sees them: depends=(glibc gdk-pixbuf2 hicolor-icon-theme glib2 gtk3 cairo dconf)
Merci quand même.
lemust83
yeomen
Messages : 206
Inscription : ven. 11 déc. 2015, 21:20

Re: [JEUX] GNOME Mastermind v0.4.0

Message par lemust83 »

Fonctionne parfaitement.
Merci du partage.
Tour: Arch (Xfce) 64 Testing: 6-Core: AMD Ryzen 5 2600X type: MT MCP speed: 2152 MHz min/max: 2200/3600 MH
UEFI: American Megatrends v: 3803 date: 01/22/2018
Graphics:
Device-1: AMD Baffin [Radeon RX 460/560D / Pro
450/455/460/555/555X/560/560X]
driver: amdgpu v: kernel
Display: server: X.Org 1.20.8 driver: amdgpu,ati unloaded: modesetting
resolution: 1920x1080~60Hz
OpenGL: renderer: Radeon RX 560 Series
Manjaro en Dual (grub).
Répondre