FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    fizzle Guest

    VisualBoyAdvance RPMs?

    I've been looking everywhere for a current (1.7.2) fc3 rpm of visualboyadvance, with no luck. Can anyone point me to one?

  2. #2
    fizzle Guest
    Or perhaps someone could walk me through installing it from source?

  3. #3
    Join Date
    Mar 2004
    Posts
    617
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I haven't found a RPM for Fedora, but installing Visual Boy from source is really easy. Download the source from a sourceforge mirror, open a command console, run tar xzvf VisualBoyAdvance-src-1.7.2.tar.gz, cd VisualBoyAdvance-1.7.2, ./configure, make, su (enter root's password), make install. This should install Visual Boy Advance onto your system. Good luck.

    --SN

  4. #4
    Join Date
    Mar 2004
    Location
    Vancouver, Canada
    Posts
    2,657
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Then someone will have to build a rpm....
    Desktop CPU: AMD Ryzen 9 5950X - Memory: 128GB DDR4-RAM - GPU: Sapphire Nitro+ AMD Radeon RX 9070XT 16GB Storage: Samsung 990 Pro 2TB NVMe with Heatsink, Samsung 980 Pro 2TB NVMe and NAS WD 7200 RPM 4TB for backup - OS: Fedora 42 Design Suite x86-64 and Windows 11 64-bit
    Laptop
    Dell Inspiron 14 7445 2-in-1 - APU: AMD Ryzen 7 8840HS with Radeon 780M - Memory: 16GB DDR5-RAM - Storage: Samsung 990 Pro 4TB NVMe - OS: Fedora 43 Design Suite x86-64

  5. #5
    Join Date
    Mar 2004
    Posts
    617
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have a quick .spec file I just written. It seems to work fine on my system. I am not an expert spec writer, but it seems to work. Also, it only creates the command line version only at the moment. I will repost one that uses gtk later. Just rename and remove the .txt extension. A good tutorial on creating an rpmbuild directory is here.

    --SN
    Attached Files Attached Files
    Last edited by SuperNu; 7th March 2005 at 03:47 AM.

  6. #6
    Join Date
    Mar 2004
    Location
    Vancouver, Canada
    Posts
    2,657
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks. I will grab the tar.gz source of VisualBoy and I am now attempt to build it.
    Another note is you should include the description of the package on your spec file.
    Last edited by Finalzone; 7th March 2005 at 04:23 AM.
    Desktop CPU: AMD Ryzen 9 5950X - Memory: 128GB DDR4-RAM - GPU: Sapphire Nitro+ AMD Radeon RX 9070XT 16GB Storage: Samsung 990 Pro 2TB NVMe with Heatsink, Samsung 980 Pro 2TB NVMe and NAS WD 7200 RPM 4TB for backup - OS: Fedora 42 Design Suite x86-64 and Windows 11 64-bit
    Laptop
    Dell Inspiron 14 7445 2-in-1 - APU: AMD Ryzen 7 8840HS with Radeon 780M - Memory: 16GB DDR5-RAM - Storage: Samsung 990 Pro 4TB NVMe - OS: Fedora 43 Design Suite x86-64

  7. #7
    Join Date
    Mar 2004
    Posts
    617
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My latest .spec file, with a description this time (Thanx finalzone =) ). This one also builds the gtk interface, so you need gtkmm20, gtkmm20-devel, libglademm20 and libglademm20-devel. I tried using gtkmm24 and libglademm24, but the build fails. You can get these RPMs from Fedora extras. Let me know of any more improvements. I have been trying to create the .spec file so I can use rpmbuild --with gtk so I can make the gtk version optional, but so far, I haven't been successful.

    --SN
    Attached Files Attached Files

  8. #8
    Join Date
    Mar 2004
    Posts
    617
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Finally got the gtk version to build in its own RPM. As always, latest .spec attached and let me know if there is any fixes that can be made.

    Edit - cleaned up spec file a bit.

    --SN
    Attached Files Attached Files
    Last edited by SuperNu; 7th March 2005 at 07:28 AM.

  9. #9
    Join Date
    Mar 2004
    Location
    Vancouver, Canada
    Posts
    2,657
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I successfully compile the spec file with the latest update. Unfortunately, there is no gui that appears.
    Code:
    VisualBoyAdvance version 1.7.2 [SDL]
    Searching for file VisualBoyAdvance.cfg
    Searching current directory: {$home}/rpmbuild/RPMS/i386
    Searching home directory: {$home}
    Searching system config directory: /etc
    Reading configuration file.
    Missing image name
    VisualBoyAdvance [option ...] file
    Apparently, there is a missing image. All I got is a text with menu without gtk gui.
    Last edited by Finalzone; 7th March 2005 at 09:26 AM.
    Desktop CPU: AMD Ryzen 9 5950X - Memory: 128GB DDR4-RAM - GPU: Sapphire Nitro+ AMD Radeon RX 9070XT 16GB Storage: Samsung 990 Pro 2TB NVMe with Heatsink, Samsung 980 Pro 2TB NVMe and NAS WD 7200 RPM 4TB for backup - OS: Fedora 42 Design Suite x86-64 and Windows 11 64-bit
    Laptop
    Dell Inspiron 14 7445 2-in-1 - APU: AMD Ryzen 7 8840HS with Radeon 780M - Memory: 16GB DDR5-RAM - Storage: Samsung 990 Pro 4TB NVMe - OS: Fedora 43 Design Suite x86-64

  10. #10
    Join Date
    Mar 2004
    Posts
    617
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Did you run gvba as your executable instead of VisualBoyAdvance? I haven't played around with VisualBoy Advance much, but on my system, everything seems to work out properly. Also, if you use my latest .spec file, be sure to add --with gtk to the command line. I will investigate further later.

    --SN

  11. #11
    Join Date
    Mar 2004
    Location
    Vancouver, Canada
    Posts
    2,657
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I couldn't get gvba command working for some reason, only VisualBoyAdvance. Apparently, the comilator didn't grab the gvba.
    Desktop CPU: AMD Ryzen 9 5950X - Memory: 128GB DDR4-RAM - GPU: Sapphire Nitro+ AMD Radeon RX 9070XT 16GB Storage: Samsung 990 Pro 2TB NVMe with Heatsink, Samsung 980 Pro 2TB NVMe and NAS WD 7200 RPM 4TB for backup - OS: Fedora 42 Design Suite x86-64 and Windows 11 64-bit
    Laptop
    Dell Inspiron 14 7445 2-in-1 - APU: AMD Ryzen 7 8840HS with Radeon 780M - Memory: 16GB DDR5-RAM - Storage: Samsung 990 Pro 4TB NVMe - OS: Fedora 43 Design Suite x86-64

  12. #12
    Join Date
    Mar 2004
    Posts
    617
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You have to issue the command rpmbuild -ba --with gtk VisualBoyAdvance.spec in order to build the gtk version. This will create two RPMs, VisualBoyAdvance-1.7.2-1.i386.rpm and VisualBoyAdvance-gtk-1.7.2-1.i386.rpm. Now, VisualBoyAdvance-gtk-1.7.2-1.i386.rpm is dependant on VisualBoyAdvance-1.7.2-1.i386.rpm, so if you want the gtk gui, you must install both RPMs. I will post a new .spec file later.

    --SN

  13. #13
    Join Date
    Mar 2004
    Location
    Vancouver, Canada
    Posts
    2,657
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I used that command and got this error:
    Code:
     rpmbuild -ba --with gtk VisualBoyAdvance.spec
    error: Failed build dependencies:
            gtkmm20 >= 2.0 is needed by VisualBoyAdvance-1.7.2-1.i386
            gtkmm20-devel >= 2.0 is needed by VisualBoyAdvance-1.7.2-1.i386
            libglademm20 >= 2.0 is needed by VisualBoyAdvance-1.7.2-1.i386
            libglademm20-devel >= 2.0 is needed by VisualBoyAdvance-1.7.2-1.i386
    Using [i rpmbuild -ba --with gtk2 VisualBoyAdvance.spec[/i], the compilation is succesful expect the gtk. During the compilation, I got this warning:

    Code:
    extracting debug info from /var/tmp/VisualBoyAdvance-root/usr/bin/VisualBoyAdvance
    cpio: VisualBoyAdvance-1.7.2/src/sdl/<internal>: No such file or directory
    cpio: VisualBoyAdvance-1.7.2/src/sdl/expr-lex.cpp: No such file or directory
    cpio: VisualBoyAdvance-1.7.2/src/sdl/expr.l: No such file or directory
    cpio: VisualBoyAdvance-1.7.2/src/sdl/expr.y: No such file or directory
    2838 blocks
    I wonder why these file were not built inside the BUILD folder. I will wait for the new spec file. It seems the specs in my case did not take the gtk command for some weird reason..
    Desktop CPU: AMD Ryzen 9 5950X - Memory: 128GB DDR4-RAM - GPU: Sapphire Nitro+ AMD Radeon RX 9070XT 16GB Storage: Samsung 990 Pro 2TB NVMe with Heatsink, Samsung 980 Pro 2TB NVMe and NAS WD 7200 RPM 4TB for backup - OS: Fedora 42 Design Suite x86-64 and Windows 11 64-bit
    Laptop
    Dell Inspiron 14 7445 2-in-1 - APU: AMD Ryzen 7 8840HS with Radeon 780M - Memory: 16GB DDR5-RAM - Storage: Samsung 990 Pro 4TB NVMe - OS: Fedora 43 Design Suite x86-64

  14. #14
    Join Date
    Mar 2004
    Posts
    617
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For your first error about missing gtkmm20, gtkmm20-devel, libglademm20 and libglademm20-devel, you need to download the RPMs from Fedora Extras. I am not sure what happened with your second error.

    Also, I am going to attach what should be my final .spec file.

    --SN
    Attached Files Attached Files

  15. #15
    Join Date
    Mar 2004
    Location
    Vancouver, Canada
    Posts
    2,657
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The compilation is succesful. I got the gtk gui working. What is missing is the icon to access Visualboy advancce on the menu. Did you got it on your system? Mine does not appear on the menu.
    I sightly modified the spec by correcting the typo.
    Attached Files Attached Files
    Last edited by Finalzone; 10th March 2005 at 10:51 PM.
    Desktop CPU: AMD Ryzen 9 5950X - Memory: 128GB DDR4-RAM - GPU: Sapphire Nitro+ AMD Radeon RX 9070XT 16GB Storage: Samsung 990 Pro 2TB NVMe with Heatsink, Samsung 980 Pro 2TB NVMe and NAS WD 7200 RPM 4TB for backup - OS: Fedora 42 Design Suite x86-64 and Windows 11 64-bit
    Laptop
    Dell Inspiron 14 7445 2-in-1 - APU: AMD Ryzen 7 8840HS with Radeon 780M - Memory: 16GB DDR5-RAM - Storage: Samsung 990 Pro 4TB NVMe - OS: Fedora 43 Design Suite x86-64

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 4
    Last Post: 15th October 2009, 05:22 AM
  2. VisualBoyAdvance Installation Help
    By EvoL1 in forum Using Fedora
    Replies: 0
    Last Post: 14th July 2007, 11:13 AM
  3. Tuxnes and VisualBoyAdvance Problems
    By Optimistic in forum Using Fedora
    Replies: 7
    Last Post: 14th July 2005, 02:38 AM
  4. Dumping RPMS in /usr/src/redhat/rpms
    By kuthupandi in forum Installation, Upgrades and Live Media
    Replies: 5
    Last Post: 21st July 2004, 11:52 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •