Re: [Rhythmbox-devel] [Final Report] Rhythmbox iPod/MTP Syncing



Thanks again to Paul (you've gained a box of beer!!)!,

I've discovered two missing dependencies that caused the plugin not working: libgpod4 and libgpod-dev. In fact, as I installed them, I received the following result from ./autogen.sh:

configure: Rhythmbox was configured with the following options:
configure: ** Tree database is enabled
configure: ** Multimedia keys support is enabled
configure:    MusicBrainz support is disabled
configure: ** iPod integration enabled               <<<<<< look here <<<<<<
configure:    MTP integration disabled
configure:    CD burning support disabled
configure: ** DAAP (music sharing) support is enabled
configure:    libnotify support is disabled
configure:    GUdev support disabled
configure:    Python plugin support disabled
configure:    Vala plugin support disabled
configure:    gnome-keyring support disabled
configure: ** FM radio support enabled
configure: ** iTunes detection browser plugin (for podcasts) enabled
configure: End options
Now type `make' to compile rhythmbox

By the way, I've also realized that I made a mistake with dh_make because if you rename the folder rhythmbox-0.12.4-2/, dh_make will create a package with <name>_<version> <rhythmbox.0.12.4>_<2> instead of <rhythmbox>_<0.12.4-2>. To better explain, here what dh_make says in the man page:

-p, --packagename <name>
              Force  the  package  name  to  be <name>, good for packages with
              hyphens in their name or other strangeness. You  can  also  make
              the  parameter  <name>_<version> which will set both the package
              name and version and bypass and directory checking.

Therefore you have to specify at point 6. the following instruction:

~$ dh_make --createorig -e <username>@<email>.com -n -copyright gpl2 --packagename rhythmbox_0.12.4-2 -s

To be clear, I write down again the complete procedure:

01. install dev libraries and headers in order to solve all required dependencies:

# aptitude install gnome-common dh-make libglib2.0-dev libgtk2.0-dev gtk-doc-tools libgconf2-dev libgtk2.0-dev libsoup-gnome2.4-dev libsoup2.4-dev libtotem-plparser-dev libgnome-media-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libgstreamer-plugins-gl0.10-dev libdbus-glib-1-dev devscripts libgpod4 libgpod-dev

02. ~$ git clone git://git.gnome.org/rhythmbox rhythmbox
03. ~$ wget http://www.paulbellamy.com/gsoc/sync.diff
04. ~$ cd rhythmbox/
05. ~$ git apply ../sync.diff -v
06. ~$ dh_make --createorig -e <username>@<email>.com -n -copyright gpl2 --packagename rhythmbox_0.12.4-2 -s
07. ~$ ./autogen.sh
08. ~$ debuild binary
09. ~$ cd ..
10. ~# dpkg -i rhythmbox_0.12.4-2_i386.deb

You will find the new file on http://www.giopas.eu/rhythmbox_0.12.4-2_i386.deb

However, if you test this package, you will find that there is still one error (and I'll appreciate some help to fix it):

rhythmbox: error while loading shared libraries: librhythmbox-core.so.0: cannot open shared object file: No such file or directory

This shared library should be located in /usr/lib. Therefore, if you receive this error (on terminal), you can take the missing library here: http://www.giopas.eu/librhythmbox-core.so.0 and put in in /usr/lib.

11. ~$ wget http://www.giopas.eu/librhythmbox-core.so.0
12. ~# cp librhythmbox-core.so.0 /usr/bin

...Thinking about all that stuff: maybe it could be better if Loïc compiles a better deb for this test! :D

enjoy, ;)
giopas


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]