Project

General

Profile

How to rebuild with changes to init.cc?

Added by Jeff Biss almost 7 years ago

Sorry to ask this, but I've never tried to change any project's source code but need to do it so that Audacious will fit on Adafruit's PiTFT display. I changed init.cc as follows:

From: gtk_window_move ((GtkWindow *) widget, pos0, pos1);
To: gtk_window_move ((GtkWindow *) widget, 0, 0);

From: gtk_window_set_default_size ((GtkWindow *) widget, pos2, pos3);
To: gtk_window_set_default_size ((GtkWindow *) widget, 320, 240);

I have successfully installed Audacious in a Debian VM to test this before I install it and do the same thing on by Raspberry Pi system but don't know how to update the installed Audacious executable.

I've searched for information as to how to update an installed program but haven't found anything, more than likely because I'm not using the correct search terms. Can someone provide a link to this information?


Replies (7)

RE: How to rebuild with changes to init.cc? - Added by John Lindgren almost 7 years ago

Start by reading the INSTALL file that comes with Audacious.

RE: How to rebuild with changes to init.cc? - Added by Jeff Biss almost 7 years ago

Jeff Biss wrote:

John, thanks, will do. I read only enough to unsuccessfully install my changes, the result didn't launch a window, the part about the shell commands. I'll read the entire thing. I thought that I might have missed something that Audacious depends on so I installed the package using the package manager, so I know that Audacious launches before I do this again.

RE: How to rebuild with changes to init.cc? - Added by John Lindgren almost 7 years ago

Don't mix your home built version with the package manager version; that will likely cause conflicts. And keep in mind that you need to install Audacious Plugins as well before you will see anything.

RE: How to rebuild with changes to init.cc? - Added by Jeff Biss almost 7 years ago

John,

Thanks for that information, I didn't know about the necessity of the plugins. I assume that I have to download the plugin source files individually from the repository as they are not included in the Audacious for GTK+ download.

RE: How to rebuild with changes to init.cc? - Added by Jeff Biss almost 7 years ago

Jeff Biss wrote:

John,

Thanks for that information, I didn't know about the necessity of the plugins.

RE: How to rebuild with changes to init.cc? - Added by Jeff Biss almost 7 years ago

John,

Ignore that part about having to download the individual plugin files, I just checked the downloads page and see them. I couldn['t correct my initial post as I don't see an Edit post selection. Sorry for confusing this issue.

    (1-7/7)