I've been looking everywhere for a current (1.7.2) fc3 rpm of visualboyadvance, with no luck. Can anyone point me to one?
I've been looking everywhere for a current (1.7.2) fc3 rpm of visualboyadvance, with no luck. Can anyone point me to one?
Or perhaps someone could walk me through installing it from source?
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
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
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
Last edited by SuperNu; 7th March 2005 at 03:47 AM.
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
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
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
Last edited by SuperNu; 7th March 2005 at 07:28 AM.
I successfully compile the spec file with the latest update. Unfortunately, there is no gui that appears.
Apparently, there is a missing image. All I got is a text with menu without gtk gui.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
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
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
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
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
I used that command and got this error:
Using [i rpmbuild -ba --with gtk2 VisualBoyAdvance.spec[/i], the compilation is succesful expect the gtk. During the compilation, I got this warning: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
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..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
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
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
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.
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