From: Thomas L. <ta...@gm...> - 2014-12-09 18:46:18
|
On 8 December 2014 at 02:33, Frank McCormick <be...@vi...> wrote: > On 07/12/14 12:13 PM, Thomas Leonard wrote: >> On 6 December 2014 at 19:54, Frank McCormick <be...@vi...> wrote: >>> On 06/12/14 02:35 PM, Thomas Leonard wrote: >>>> On 6 December 2014 at 19:14, Frank McCormick <be...@vi...> wrote: >>>>> I am trying to change the default pinboard icon size in Rox - but first >>>>> I am having troubles compiling. >>>>> >>>>> Configure gives me the following error: >>>>> >>>>> >>>>> checking that pkg-config runs... yes >>>>> checking that sm (version >= 1) is installed... no >>>>> configure: error: Package is not installed >>>>> >>>>> >>>>> Exactly what is package "sm" ? >>>> >>>> libsm is the X session manager library. The distribution package you >>>> need is probably called libsm-dev or similar. >>>> >>>> >>> >>> Found and installed on my Fedora 21 installation. But what I ended up >>> doing was using 0install to download the source to Rox. In the end it >>> seemed simpler. >>> >>> What I now need is a clue as to where in the source the default icon >>> size for the pinboard is set. Looked through the pinboard file but I >>> probably missed it. >> >> They're just the "normal" icon size. See pixmaps.h. >> >> > > > After making the (I think) necessary changes in pixmaps.h this is > the result oft he compile. > > gcc -o "ROX-Filer" abox.o action.o appinfo.o appmenu.o bind.o > bookmarks.o bulk_rename.o cell_icon.o choices.o collection.o dir.o > diritem.o display.o dnd.o dropbox.o filer.o find.o fscache.o > gtksavebox.o gui_support.o i18n.o icon.o infobox.o log.o main.o menu.o > minibuffer.o modechange.o mount.o options.o panel.o pinboard.o pixmaps.o > remote.o run.o sc.o session.o support.o tasklist.o toolbar.o type.o > usericons.o view_collection.o view_details.o view_iface.o wrapped.o > xml.o xtypes.o xdgmime.o xdgmimeglob.o xdgmimeint.o xdgmimemagic.o > xdgmimeparent.o xdgmimealias.o xdgmimecache.o `pkg-config --libs > gtk+-2.0 libxml-2.0 | sed 's/-lpangoxft-[^ ]*//'` -lX11 -lICE -lSM > /usr/bin/ld: view_collection.o: undefined reference to symbol > 'sqrt@@GLIBC_2.0' > /lib/libm.so.6: error adding symbols: DSO missing from command line > collect2: error: ld returned 1 exit status > Makefile:48: recipe for target 'ROX-Filer' failed > make: *** [ROX-Filer] Error 1 > > Can anyone help ? Possibly things have moved on since the 0install -dev packages were made. You might have to use the system ones if they've removed the old version of the sqrt function (though I can't imagine why they'd do that). -- Dr Thomas Leonard http://0install.net/ GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1 GPG: DA98 25AE CAD0 8975 7CDA BD8E 0713 3F96 CA74 D8BA |