gweled have a problem finding the files.

Asked by Mitchell Hancock

I'm using Nobara 39 (Fedora clone.)

Can't get it to find the files from these places.

echo 3971468 | sudo -S dnf5 -y install clutter-gtk-devel gtk3-devel gsound-devel libgnome-games-support1-devel meson ninja-build

/usr/bin/gweled
/usr/share/doc/gweled Only AUTHORS is skipped.
/usr/share/licenses/gweled Fully skipped.
/usr/share/pixmaps/gweled Fully skipped.
/usr/share/sounds/gweled Fully skipped.

echo 3971468 | sudo -S cp $HOME/Downloads/gweled-1.0-beta1/build/src/gweled /usr/bin/gweled
echo 3971468 | sudo -S cp $HOME/Downloads/gweled-1.0-beta1/NEWS /usr/share/doc/gweled

mitchell@nobara-pc:/usr/bin$ ./gweled

(gweled:117157): Gtk-WARNING **: 01:46:02.465: Theme directory actions/32 of theme Papirus-Colors-Dark has no size field

Size 512 x 512; tile size: 64

** (gweled:117157): WARNING **: 01:46:02.498: gem01.svg not found
mitchell@nobara-pc:/usr/bin$

What am I missing? Is there anything else I need to do? I'm confused here. lol

Question information

Language:
English Edit question
Status:
Solved
For:
Gweled Edit question
Assignee:
No assignee Edit question
Solved by:
Mitchell Hancock
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
Mitchell Hancock (dunard1975) said :
#1

Whoops I install the alpha before doing any of these. Alpha works fine. echo 3971468 | sudo -S dnf5 -y install gweled

Revision history for this message
Mitchell Hancock (dunard1975) said :
#2

I got the beta 1 installed and working.

https://src.fedoraproject.org/rpms/gweled/blob/rawhide/f/gweled.spec < I got some hints here on how to install it.

mitchell@nobara-pc:~/Downloads/gweled-1.0-beta1$ cd build
mitchell@nobara-pc:~/Downloads/gweled-1.0-beta1/build$ meson
The Meson build system
Version: 1.3.1
Source dir: /home/mitchell/Downloads/gweled-1.0-beta1
Build dir: /home/mitchell/Downloads/gweled-1.0-beta1/build
Build type: native build
Project name: gweled
Project version: 1.0-beta1
C compiler for the host machine: cc (gcc 13.2.1 "cc (GCC) 13.2.1 20240316 (Red Hat 13.2.1-7)")
C linker for the host machine: cc ld.bfd 2.40-14
Host machine cpu family: x86_64
Host machine cpu: x86_64
Configuring config.h using configuration
Library m found: YES
Found pkg-config: YES (/usr/bin/pkg-config) 1.9.5
Run-time dependency glib-2.0 found: YES 2.78.3
Run-time dependency gtk+-3.0 found: YES 3.24.41
Run-time dependency clutter-1.0 found: YES 1.26.4
Run-time dependency clutter-gtk-1.0 found: YES 1.8.4
Run-time dependency gsound found: YES 1.0.3
Run-time dependency libgnome-games-support-1 found: YES 1.8.2
Build-time dependency gio-2.0 found: YES 2.78.3
Program /usr/bin/glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Program msgfmt found: YES (/usr/bin/msgfmt)
Program desktop-file-validate found: YES (/usr/bin/desktop-file-validate)
Program appstream-util found: YES (/usr/bin/appstream-util)
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Dependency gio-2.0 found: YES 2.78.3 (cached)
Program /usr/bin/glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
Program gtk4-update-icon-cache found: YES (/usr/bin/gtk4-update-icon-cache)
Program update-desktop-database found: YES (/usr/bin/update-desktop-database)
Build targets in project: 39

Found ninja-1.11.1 at /usr/bin/ninja
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
mitchell@nobara-pc:~/Downloads/gweled-1.0-beta1/build$ ninja
[40/45] Compiling C object src/gweled.p/main.c.o
../src/main.c: In function ‘main’:
../src/main.c:170:5: warning: ‘G_APPLICATION_FLAGS_NONE’ is deprecated: Use 'G_APPLICATION_DEFAULT_FLAGS' instead [-Wdeprecated-declarations]
  170 | app = gtk_application_new (APPLICATION_ID, G_APPLICATION_FLAGS_NONE);
      | ^~~
In file included from /usr/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/include/glib-2.0/gio/gio.h:28,
                 from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from ../src/main.c:31:
/usr/include/glib-2.0/gio/gioenums.h:1540:3: note: declared here
 1540 | G_APPLICATION_FLAGS_NONE GIO_DEPRECATED_ENUMERATOR_IN_2_74_FOR(G_APPLICATION_DEFAULT_FLAGS),
      | ^~~~~~~~~~~~~~~~~~~~~~~~
[45/45] Linking target src/gweled
mitchell@nobara-pc:~/Downloads/gweled-1.0-beta1/build$ meson install
ninja: Entering directory `/home/mitchell/Downloads/gweled-1.0-beta1/build'
ninja: no work to do.
Installing subdir /home/mitchell/Downloads/gweled-1.0-beta1/sounds to /usr/local/share/sounds/gweled
Installing /home/mitchell/Downloads/gweled-1.0-beta1/sounds/click.ogg to /usr/local/share/sounds/gweled
Installation failed due to insufficient permissions.
Attempt to use /usr/bin/sudo to gain elevated privileges? [y/n] y
[sudo] password for mitchell:
Installing subdir /home/mitchell/Downloads/gweled-1.0-beta1/sounds to /usr/local/share/sounds/gweled
Installing /home/mitchell/Downloads/gweled-1.0-beta1/sounds/click.ogg to /usr/local/share/sounds/gweled
Installing /home/mitchell/Downloads/gweled-1.0-beta1/sounds/swap.ogg to /usr/local/share/sounds/gweled
Installing subdir /home/mitchell/Downloads/gweled-1.0-beta1/pixmaps to /usr/local/share/pixmaps/gweled
Installing /home/mitchell/Downloads/gweled-1.0-beta1/pixmaps/board_bg.svg to /usr/local/share/pixmaps/gweled
Installing /home/mitchell/Downloads/gweled-1.0-beta1/pixmaps/cursor.svg to /usr/local/share/pixmaps/gweled
Installing /home/mitchell/Downloads/gweled-1.0-beta1/pixmaps/gem01.svg to /usr/local/share/pixmaps/gweled
Installing /home/mitchell/Downloads/gweled-1.0-beta1/pixmaps/gem02.svg to /usr/local/share/pixmaps/gweled
Installing /home/mitchell/Downloads/gweled-1.0-beta1/pixmaps/gem03.svg to /usr/local/share/pixmaps/gweled
Installing /home/mitchell/Downloads/gweled-1.0-beta1/pixmaps/gem04.svg to /usr/local/share/pixmaps/gweled
Installing /home/mitchell/Downloads/gweled-1.0-beta1/pixmaps/gem05.svg to /usr/local/share/pixmaps/gweled
Installing /home/mitchell/Downloads/gweled-1.0-beta1/pixmaps/gem06.svg to /usr/local/share/pixmaps/gweled
Installing /home/mitchell/Downloads/gweled-1.0-beta1/pixmaps/gem07.svg to /usr/local/share/pixmaps/gweled
Installing /home/mitchell/Downloads/gweled-1.0-beta1/pixmaps/powerglow_32.png to /usr/local/share/pixmaps/gweled
Installing /home/mitchell/Downloads/gweled-1.0-beta1/pixmaps/powerglow_48.png to /usr/local/share/pixmaps/gweled
Installing /home/mitchell/Downloads/gweled-1.0-beta1/pixmaps/powerglow_64.png to /usr/local/share/pixmaps/gweled
Installing /home/mitchell/Downloads/gweled-1.0-beta1/pixmaps/sparkle_32.png to /usr/local/share/pixmaps/gweled
Installing /home/mitchell/Downloads/gweled-1.0-beta1/pixmaps/sparkle_48.png to /usr/local/share/pixmaps/gweled
Installing /home/mitchell/Downloads/gweled-1.0-beta1/pixmaps/sparkle_64.png to /usr/local/share/pixmaps/gweled
Installing src/gweled to /usr/local/bin
Installing data/org.gweled.gweled.desktop to /usr/local/share/applications
Installing data/org.gweled.gweled.appdata.xml to /usr/local/share/metainfo
Installing po/ar/LC_MESSAGES/gweled.mo to /usr/local/share/locale/ar/LC_MESSAGES
Installing po/bg/LC_MESSAGES/gweled.mo to /usr/local/share/locale/bg/LC_MESSAGES
Installing po/ca/LC_MESSAGES/gweled.mo to /usr/local/share/locale/ca/LC_MESSAGES
Installing po/da/LC_MESSAGES/gweled.mo to /usr/local/share/locale/da/LC_MESSAGES
Installing po/de/LC_MESSAGES/gweled.mo to /usr/local/share/locale/de/LC_MESSAGES
Installing po/es/LC_MESSAGES/gweled.mo to /usr/local/share/locale/es/LC_MESSAGES
Installing po/fi/LC_MESSAGES/gweled.mo to /usr/local/share/locale/fi/LC_MESSAGES
Installing po/fr/LC_MESSAGES/gweled.mo to /usr/local/share/locale/fr/LC_MESSAGES
Installing po/gl/LC_MESSAGES/gweled.mo to /usr/local/share/locale/gl/LC_MESSAGES
Installing po/he/LC_MESSAGES/gweled.mo to /usr/local/share/locale/he/LC_MESSAGES
Installing po/hr/LC_MESSAGES/gweled.mo to /usr/local/share/locale/hr/LC_MESSAGES
Installing po/hu/LC_MESSAGES/gweled.mo to /usr/local/share/locale/hu/LC_MESSAGES
Installing po/it/LC_MESSAGES/gweled.mo to /usr/local/share/locale/it/LC_MESSAGES
Installing po/ja/LC_MESSAGES/gweled.mo to /usr/local/share/locale/ja/LC_MESSAGES
Installing po/ka/LC_MESSAGES/gweled.mo to /usr/local/share/locale/ka/LC_MESSAGES
Installing po/lt/LC_MESSAGES/gweled.mo to /usr/local/share/locale/lt/LC_MESSAGES
Installing po/ms/LC_MESSAGES/gweled.mo to /usr/local/share/locale/ms/LC_MESSAGES
Installing po/nb/LC_MESSAGES/gweled.mo to /usr/local/share/locale/nb/LC_MESSAGES
Installing po/nl/LC_MESSAGES/gweled.mo to /usr/local/share/locale/nl/LC_MESSAGES
Installing po/pl/LC_MESSAGES/gweled.mo to /usr/local/share/locale/pl/LC_MESSAGES
Installing po/pt_BR/LC_MESSAGES/gweled.mo to /usr/local/share/locale/pt_BR/LC_MESSAGES
Installing po/ro/LC_MESSAGES/gweled.mo to /usr/local/share/locale/ro/LC_MESSAGES
Installing po/ru/LC_MESSAGES/gweled.mo to /usr/local/share/locale/ru/LC_MESSAGES
Installing po/sk/LC_MESSAGES/gweled.mo to /usr/local/share/locale/sk/LC_MESSAGES
Installing po/sl/LC_MESSAGES/gweled.mo to /usr/local/share/locale/sl/LC_MESSAGES
Installing po/sr/LC_MESSAGES/gweled.mo to /usr/local/share/locale/sr/LC_MESSAGES
Installing po/sv/LC_MESSAGES/gweled.mo to /usr/local/share/locale/sv/LC_MESSAGES
Installing po/te/LC_MESSAGES/gweled.mo to /usr/local/share/locale/te/LC_MESSAGES
Installing po/tr/LC_MESSAGES/gweled.mo to /usr/local/share/locale/tr/LC_MESSAGES
Installing po/uk/LC_MESSAGES/gweled.mo to /usr/local/share/locale/uk/LC_MESSAGES
Installing po/zh_CN/LC_MESSAGES/gweled.mo to /usr/local/share/locale/zh_CN/LC_MESSAGES
Installing /home/mitchell/Downloads/gweled-1.0-beta1/data/icons/scalable/org.gweled.gweled.svg to /usr/local/share/icons/hicolor/scalable/apps
Installing /home/mitchell/Downloads/gweled-1.0-beta1/data/org.gweled.gweled.gschema.xml to /usr/local/share/glib-2.0/schemas
Running custom install script '/usr/bin/glib-compile-schemas /usr/local/share/glib-2.0/schemas'
Running custom install script '/usr/bin/gtk4-update-icon-cache -q -t -f /usr/local/share/icons/hicolor'
Running custom install script '/usr/bin/update-desktop-database -q /usr/local/share/applications'
mitchell@nobara-pc:~/Downloads/gweled-1.0-beta1/build$

Revision history for this message
Mitchell Hancock (dunard1975) said :
#3

Never mind. Not fully working. Crash when I start a game. Load up menu is fine.

Segmentation fault (core dumped)

Revision history for this message
Mitchell Hancock (dunard1975) said :
#4
Revision history for this message
Daniele Napolitano (dnax88) said :
#5

Are you still have problems during the installation? I never tested on Fedora, maybe I will start to test there as well.

Daniele.

Revision history for this message
Mitchell Hancock (dunard1975) said (last edit ):
#6

Ignore above. I didn't know what I was doing before. I did it correct this time.

Fedora / Nobara 39 and up.

Gweled testing only. We are at beta.

||||||||||||||||||||||||||||||||||||||||
Install the dev tools.
|||||||||||||||||||||||||||||||||||||||

sudo dnf install clutter-gtk-devel gtk3-devel gsound-devel libgnome-games-support1-devel meson ninja-build

||||||||||||||||||||||||||||||||||||||||
Download both sources.
|||||||||||||||||||||||||||||||||||||||

git clone https://src.fedoraproject.org/rpms/gweled.git && mv gweled gweled_spec && git clone -b master https://git.launchpad.net/gweled && mv gweled gweled_source

Backup links below.

https://launchpad.net/gweled <<< Go to Code and then copy the repository git code. There is also master too. Look for the link on this Code page. Click it. Copy the master repository git code.

https://koji.fedoraproject.org/koji/packageinfo?packageID=2021 <<< Click on what ever Fedora version that you have. Then find the Source on that page. Just copy the https://src.fedoraproject.org/rpms/gweled.git and then paste it over the old one.

||||||||||||||||||||||||||||||||||||||||
Update.
||||||||||||||||||||||||||||||||||||||||

cd $HOME/gweled_spec/ && git pull -f && cd $HOME/gweled_source && git pull -f

||||||||||||||||||||||||||||||||||||||||
Set the gweled up for rename, delete, building and packing.
||||||||||||||||||||||||||||||||||||||||

Use this command to do all the work for you.

mkdir rpmbuild && cd rpmbuild && mkdir SOURCES && cp -r $HOME/gweled_source $HOME/rpmbuild/SOURCES && cd $HOME/rpmbuild/SOURCES && mv gweled_source gweled-1.0-beta1 && sudo rm -rf $HOME/rpmbuild/SOURCES/gweled-1.0-beta1/.git

This part you do.

Zip up the gweled-1.0-beta1 folder as gweled-1.0-beta1.tar.xz from the /home/<username>/rpmbuild/SOURCES/

||||||||||||||||||||||||||||||||||||||||
Run the command to build, pack and install.
||||||||||||||||||||||||||||||||||||||||

cd $HOME/gweled_spec/ && rpmbuild -ba gweled.spec

Game

cd $HOME/rpmbuild/RPMS/x86_64 && sudo dnf install gweled-1.0~beta1-1.fc39.x86_64.rpm

Debug

cd $HOME/rpmbuild/RPMS/x86_64 && gweled-debuginfo-1.0~beta1-1.fc39.x86_64.rpm

Source

cd $HOME/rpmbuild/RPMS/x86_64 && gweled-debugsource-1.0~beta1-1.fc39.x86_64.rpm

||||||||||||||||||||||||||||||||||||||||

You can rename gweled-1.0-beta1 folder to any version. Be sure to change the version in the gweled.spec file.

Sorry about all the editing on this. lol

Faq is done.