You are not logged in.
I see the new version of transmission is now compiled againt gtk3.
As an xfce user, I dislike looking at this unthemed eyesore, so as I have done with nm-applet, I figured I would just recompile it for gtk2.
I've pulled the PKGBUILD from ABS and puled in the sources but nowhere in any files can I find reference to an argument I can pass to make it compile against gtk2.
Does anyone know?
Last edited by b9anders (2011-10-27 19:44:30)
Offline
you can remove gtk3 from your system and just recompile or you can pass --with-gtk=2 as option to configure
Give what you have. To someone, it may be better than you dare to think.
Offline
you can remove gtk3 from your system and just recompile or you can pass --with-gtk=2 as option to configure
I had tried "gtkver=2" as that is what nm-applet wants. Cheers for that. It's not compiling though. I can compile it just fine with gtk3 but when I pass "--with-gtk=2" to configure, I get a lot of "undefined reference" lines before it aborts. These are the final lines of it:
/home/abs/transmission/src/transmission-2.42/gtk/util.c:563: undefined reference to `gtk_widget_show'
util.o: In function `gtr_unrecognized_url_dialog':
/home/abs/transmission/src/transmission-2.42/gtk/util.c:591: undefined reference to `g_string_free'
util.o: In function `gtr_paste_clipboard_url_into_entry':
/home/abs/transmission/src/transmission-2.42/gtk/util.c:618: undefined reference to `g_free'
util.o: In function `gtr_label_set_text':
/home/abs/transmission/src/transmission-2.42/gtk/util.c:631: undefined reference to `gtk_label_set_text'
collect2: ld returned 1 exit status
make[2]: *** [transmission-gtk] Error 1
make[2]: Leaving directory `/home/abs/transmission/src/transmission-2.42/gtk'
make[1]: *** [install-recursive] Error 1
Offline
sorry, i'm wrong. with-gtk just enabled building the gtk frontend. can be yes or no.
there isn't any way to force building with gtk2. you can do it only if gtk3 is not available
Give what you have. To someone, it may be better than you dare to think.
Offline
sorry, i'm wrong. with-gtk just enabled building the gtk frontend. can be yes or no.
there isn't any way to force building with gtk2. you can do it only if gtk3 is not available
that did the trick (passing -dd to pacman for temporary removal though. scary number of packages require it even though I don't have a single app that actually runs gtk3).
Thanks.
Last edited by b9anders (2011-10-27 19:44:20)
Offline
you can start building packages in clean chroots
pacman -S devtools
sudo extra-i686-build or extra-x86_64-build
note, chroots are saved in /var/tmp/archbuild
Give what you have. To someone, it may be better than you dare to think.
Offline
If you want to build it with gtk2 when gtk3 is installed, you can edit locally configure.ac, the code for that is after line 314.
Last edited by Mad Fish (2011-10-27 20:49:55)
Offline