xmahjongg 3.7 x86_64

Post links to your 64bit module repos here. Repo maintainers are responsible for resolving any issues caused by their xzm's.
User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

xmahjongg 3.7 x86_64

Post#1 by Rava » 01 Apr 2018, 08:10

Since you could not start it via the GUI by just doing just a tgz2xzm (it lacked any usr/share/applications .desktop file), I added these files:

Code: Select all

-rw-r--r-- 1 root 135 2018-03-30 15:31 ./usr/share/applications/xmahjongg.desktop
-rw-r--r-- 1 root 3911 2018-03-30 15:31 ./usr/share/icons/hicolor/32x32/apps/xmahjongg.png
-rw-r--r-- 1 root 6902 2018-03-30 16:15 ./usr/share/icons/hicolor/48x48/apps/xmahjongg.png
I created the program icons using the first tile in one of its tile sets. Please know that I am not an expert with creating the alpha channel (also called transparency), so the icons are not really perfect. But better than no transpareny, and better than no icons, I think.
Maybe one of you folks can do a better job with the icons. (Maybe Donald already did. .. just now found his i586 module where he also created icon or icons. :D

And I also updated the var/log/packages/xmahjongg-3.7-x86_64-1_slonly file, adding the 3 files as listed above (and the needed folders) (and also adjusted the name of the man page file)

Here is the upload:
https://mega.nz/#!OSgiyYiL!WV_TQBCqVUxj ... _rApn1I3xg

length 434176 Bytes

Some checksums, md5sum:
21e57337cb9ba5652cdf67978613a0c8 xmahjongg-3.7-x86_64-1_rava.xzm

sha1sum:
e2e8188589b5e2232f4b199497bad1eb75096696 xmahjongg-3.7-x86_64-1_rava.xzm

sha256sum:
403f713a18c0c94d1730ed7b9efa33f52595abc51aef42c1bea25122c700bceb xmahjongg-3.7-x86_64-1_rava.xzm


I think it neat that you can play a specific board like so

Code: Select all

xmahjongg -n 849857112
(That only works in an X terminal) Of course you could create your very own /usr/share/applications .desktop files for starting xmahjongg with specific boards, but that would be overkill, IMHO.
Then again, for new users, that would be an easy way to learn about the /usr/share/applications .desktop files. :-D

HTH! Image
Cheers!
Yours Rava

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

xmahjongg 3.7 x86_64

Post#2 by Ed_P » 01 Apr 2018, 13:45

Thanks Rava. :) How does your version differ from this one: Love Porteus - is there a mahjong package I can install? (Post by donald #62837)
Ed

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

xmahjongg 3.7 x86_64

Post#3 by Rava » 01 Apr 2018, 15:23

Ed_P wrote:
01 Apr 2018, 13:45
Thanks Rava. :) How does your version differ from this one: Love Porteus - is there a mahjong package I can install? (Post by donald #62837)
Good question. I only saw the 32Bit upload at the end of the thread. I added the 3 files as described above. Since I not downloaded donald's version I cannot tell what he changed / added to the original tgz.

UPDATE
So, I downloaded donald's module to compare it with mine.

xzm2dir tells me for Donalds module:
created 43 files
created 21 directories

And for my module:
created 44 files
created 27 directories

I created these files and folders in usr/share/ : (as I wrote in the initial post)

Code: Select all

./hicolor
./hicolor/48x48
./hicolor/48x48/apps
./hicolor/48x48/apps/xmahjongg.png
./hicolor/32x32
./hicolor/32x32/apps
./hicolor/32x32/apps/xmahjongg.png
while donald used a non xmahjongg related fish.svg file as icon for xmahjongg and put it into usr/games/

Code: Select all

root@porteus:/tmp/xmahjongg-3.7-x86_64-don/usr/games# md5sum fish.svg 
310e8c645928b7fd186315e801a5e01f  fish.svg
root@porteus:/tmp/xmahjongg-3.7-x86_64-don/usr/games# file fish.svg 
fish.svg: SVG Scalable Vector Graphics image
root@porteus:/tmp/xmahjongg-3.7-x86_64-don/usr/games# ls -o fish.svg 
-rw-r--r-- 1 root 33138 Sep 24  2016 fish.svg
Also, our xmahjongg.desktop differ.

donalds version:

Code: Select all

[Desktop Entry]
Name=Xmahjongg
GenericName=Mahjongg
Icon=/usr/games/fish.svg
Exec=xmahjongg
Type=Application
Categories=Game;ArcadeGame
My version:

Code: Select all

[Desktop Entry]
Encoding=UTF-8
Name=xmahjongg
Exec=xmahjongg
Terminal=false
Type=Application
Categories=Game;BoardGame;
Icon=xmahjongg
HTH.
Cheers!
Yours Rava

Post Reply