Upgrading to Grub Customizer 4.0

Asked by Mike Hanson on 2013-08-31

I am wanting to upgrade my Grub Customizer from 3.0.4 to 4.0. The reason I want to do this is because I have noticed there is new theme feature on 4.0 that I would like to try out.

I understand 4.0 is in development but I have noticed you can download the latest tar file. I am just wondering what would be the best method to upgrade from 3.0.4 to 4.0 without altering my settings. Or if this is not possible then how could I upgrade without causing booting issues as a bare minimum.

Please can you state the upgrade process in a step by step format.

Kind Regards

Mike

Question information

Language:
English Edit question
Status:
Answered
For:
Grub Customizer Edit question
Assignee:
No assignee Edit question
Last query:
2013-09-01
Last reply:
2013-09-02

This question was reopened

There's no settings format change. So upgrading/downgrading is no problem.

You'll have to fetch sources from bzr repo:
$ bzr branch lp:grub-customizer/4.0

Then follow this FAQ: https://answers.launchpad.net/grub-customizer/+faq/1397 (ignore step two)

Mike Hanson (mike-hanson) said : #2

Thanks for the reply.

I have started following your upgrade process and everything has been working fine until I reached step 3: compile the sources. This is the error code I encountered.

[ 21%] Building CXX object CMakeFiles/grub-customizer.dir/src/Model/DeviceMap.cpp.o
In file included from /home/mike/Installfiles/4.0/src/Model/DeviceMap.h:23:0,
                 from /home/mike/Installfiles/4.0/src/Model/DeviceMap.cpp:19:
/home/mike/Installfiles/4.0/src/Model/../lib/regex.h:24:18: fatal error: glib.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/grub-customizer.dir/src/Model/DeviceMap.cpp.o] Error 1
make[1]: *** [CMakeFiles/grub-customizer.dir/all] Error 2
make: *** [all] Error 2

Any ideas how to resolve this? I am fairly new to linux and the terminal it is worth noting.

Kind Regards,

Mike

sry, I forgot to say that you have to install libgtkmm-3.0-dev (grub customizer 4.0 uses gtkmm 3.0 instead of 2.4).

Mike Hanson (mike-hanson) said : #4

Cheers, I will keep you posted with my progress.

Mike Hanson (mike-hanson) said : #5

Sorry I got another error, I presume I may need a newer version of another piece of software. Which one would it be if this is the case?

Here is the error code.

[ 24%] Building CXX object CMakeFiles/grub-customizer.dir/src/main/gtk-client.cpp.o
In file included from /home/mike/Installfiles/4.0/src/main/../Controller/../Model/ThemeManager.h:23:0,
                 from /home/mike/Installfiles/4.0/src/main/../Controller/ThemeControllerImpl.h:28,
                 from /home/mike/Installfiles/4.0/src/main/gtk-client.cpp:47:
/home/mike/Installfiles/4.0/src/main/../Controller/../Model/Theme.h:28:21: fatal error: archive.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/grub-customizer.dir/src/main/gtk-client.cpp.o] Error 1
make[1]: *** [CMakeFiles/grub-customizer.dir/all] Error 2
make: *** [all] Error 2

libarchive-dev

Can you help with this problem?

Provide an answer of your own, or ask Mike Hanson for more information if necessary.

To post a message you must log in.