After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 83917 - Cannot run when installed in different prefix to libgnome
Cannot run when installed in different prefix to libgnome
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: general
1.90.1
Other other
: Normal normal
: ---
Assigned To: GNOME Games maintainers
Gregory Leblanc
Depends on:
Blocks:
 
 
Reported: 2002-06-02 21:19 UTC by Ross Burton
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0


Attachments
Patches for the prefix and transient bugs. (22.00 KB, patch)
2002-06-03 16:55 UTC, Ross Burton
none Details | Review

Description Ross Burton 2002-06-02 21:19:14 UTC
Scenario: I have libgnomeui et al installed in /usr from the Debian
packages.  I wanted to try out gnome-games so installed it using garnome,
so gataxx is in $HOME/bin/gnome2/.

Starting gataxx causes:
  Could not find '/usr/share/pixmaps/gataxx/classic.png' pixmap file for gataxx

I think I traced this down to:

  fname = gnome_program_locate_file
          (NULL, GNOME_FILE_DOMAIN_PIXMAP, (tmp), FALSE, NULL);

in load_pixmaps().

Replacing this with GNOME_FILE_DOMAIN_APP_PIXMAP seems to cure the problem.

If this is the correct solution (it works for me), I have a patch to fix
this as much as I could for most of the games.
Comment 1 Bastien Nocera 2002-06-03 00:38:57 UTC
Attach the patch to this bug please. It doesn't help me if it stays on
your hard-drive ;)
Comment 2 Ross Burton 2002-06-03 16:55:47 UTC
Created attachment 8965 [details] [review]
Patches for the prefix and transient bugs.
Comment 3 Ross Burton 2002-06-03 16:56:24 UTC
Attached the patch.  I've also sneaked in patches calling
gtk_window_set_transient_for() more often.

Please test this -- it make gnome-games actually run for me but I did
find a few crashes whilst checking everything still worked...
Comment 4 Bastien Nocera 2002-06-05 22:19:37 UTC
Fixed in CVS

patches for dialog positioning by Ross Burton, and for data files
locations by Ross Burton and myself (Closes: #83917)