Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
idesk
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
xlyz
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1470
Location: Italy

PostPosted: Sat Apr 12, 2003 9:02 am    Post subject: idesk Reply with quote

a quick questions: is it possible to launch programs with a single click? how?
Back to top
View user's profile Send private message
nikai
Apprentice
Apprentice


Joined: 02 Oct 2002
Posts: 270
Location: Kitzbühel, Austria

PostPosted: Sat Apr 12, 2003 10:03 am    Post subject: Reply with quote

I think this is supported since idesk-0.5.0, which is not in portage yet.

But you can find it here: http://idesk.timmfin.net/
Back to top
View user's profile Send private message
xlyz
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1470
Location: Italy

PostPosted: Sat Apr 12, 2003 11:08 am    Post subject: Reply with quote

trying to compile it, but it stops with this error:
Code:
bash-2.05b$ make
g++ -g -W -Wall `pkg-config gdk-2.0 gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include/librsvg-2 -c XDesktopContainer.cpp -o XDesktopContainer.o
g++ -g -W -Wall `pkg-config gdk-2.0 gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include/librsvg-2 -c XIcon.cpp -o XIcon.o
In file included from XIcon.cpp:27:
SimpleSvgImage.h:28:26: librsvg/rsvg.h: No such file or directory
XIcon.cpp: In member function `virtual void XIcon::dragButtonPress(XEvent*,
   int&, int&, unsigned int&)':
XIcon.cpp:151: warning: unused parameter `unsigned int&time'
XIcon.cpp: In member function `virtual void XIcon::dragMotionNotify(XEvent*,
   int&, int&, unsigned int&)':
XIcon.cpp:160: warning: unused variable `XDesktopContainer*xContainer'
XIcon.cpp:159: warning: unused parameter `unsigned int&time'
XIcon.cpp: In member function `virtual void XIcon::dragButtonRelease(XEvent*,
   int&, int&, unsigned int&)':
XIcon.cpp:184: warning: unused parameter `XEvent*ev'
XIcon.cpp:184: warning: unused parameter `int&lX'
XIcon.cpp:184: warning: unused parameter `int&lY'
XIcon.cpp:184: warning: unused parameter `unsigned int&time'
XIcon.cpp: In member function `virtual void XIcon::findSnapPosition(int&,
   int&)':
XIcon.cpp:218: warning: unused variable `XDesktopContainer*xContainer'
XIcon.cpp: In member function `void XIcon::moveImageWindow()':
XIcon.cpp:348: warning: unused variable `XDesktopContainer*xContainer'
XIcon.cpp: In member function `void XIcon::mapImageWindow()':
XIcon.cpp:358: warning: unused variable `XDesktopContainer*xContainer'
XIcon.cpp: In member function `void XIcon::mapCaptionWindow()':
XIcon.cpp:371: warning: unused variable `XDesktopContainer*xContainer'
make: *** [XIcon.o] Error 1

any idea?
Back to top
View user's profile Send private message
no usernames left
n00b
n00b


Joined: 09 Feb 2003
Posts: 72

PostPosted: Sat Apr 12, 2003 12:04 pm    Post subject: Reply with quote

You probably need to install librsvg.

emerge librsvg
_________________
[img:39112bbc59]http://www.gamers-portal.de/images/yay.gif[/img:39112bbc59]
Back to top
View user's profile Send private message
xlyz
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1470
Location: Italy

PostPosted: Sat Apr 12, 2003 2:11 pm    Post subject: Reply with quote

librsvg 2.2.5 was already installed

should be something else
Back to top
View user's profile Send private message
Useful Idiot
Guru
Guru


Joined: 30 Aug 2002
Posts: 329
Location: Finland

PostPosted: Sat Apr 12, 2003 2:15 pm    Post subject: Reply with quote

From the Makefile, change:
Code:
includes = `pkg-config gdk-2.0 gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include/librsvg-2

to
Code:
includes = `pkg-config gdk-2.0 gdk-pixbuf-xlib-2.0 --cflags` -I/usr/include/librsvg-2


Though, after that I still run into some linking problems with librsvg.
Back to top
View user's profile Send private message
pheelay
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2002
Posts: 128
Location: Ireland

PostPosted: Sat Apr 12, 2003 3:35 pm    Post subject: Reply with quote

I modified idesk availble in portage slightly to launch apps with a single click. I also added a way to launch seperate commands on right click. (Useful - I have it set up to mount & browse CDs on left click and eject on right click :D )

Anyone is welcome to the it if they want. Don't really know much about licenses and all - hope i'm not pissing someone off doing this! 8O

phil
Back to top
View user's profile Send private message
xlyz
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1470
Location: Italy

PostPosted: Sat Apr 12, 2003 4:02 pm    Post subject: Reply with quote

pheelay wrote:
I modified idesk availble in portage slightly to launch apps with a single click. I also added a way to launch seperate commands on right click. (Useful - I have it set up to mount & browse CDs on left click and eject on right click :D )

Anyone is welcome to the it if they want.


where can we find it?
Back to top
View user's profile Send private message
pheelay
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2002
Posts: 128
Location: Ireland

PostPosted: Sat Apr 12, 2003 4:37 pm    Post subject: Reply with quote

I put it up here.

http://www.netsoc.tcd.ie/~pheelay/idesk-0.3.5-mod.tgz

Note: I didn't really spend much time recoding. Its not nice trying to move icons around with this because the icon will launch as soon as u click on an icon. I suggest you set up icons, lock idesk thro the config file and then use this one.

Here's what to do:
emerge regular idesk - if this doesn't work then the new one wont!
Untar the above source wherever and:
# mv Makefile Makefile.orig
(replace ${CXXFLAGS} with ur CXXFLAGS/CFLAGS
# sed -e "s/-g -O2/${CXXFLAGS}/" Makefile.orig > Makefile

# make

You'll need to adjust ur icon config files also. Here's an example:
Code:
table Icon
  Caption: Home
  CommandLeft: rox /home/franksp
  CommandRight: rox /
  Icon: /usr/share/pixmaps/glis/gentoo-home.png
  X: 1
  Y: 1
end

Hopefully it will compile and u can run it simply from the build directory to test it
# ./idesk

if ur happy with it, u could replace the orignal idesk (as root)
# cp idesk /usr/bin/idesk

It should be also possible to replace the orignal idesk in /usr/portage/distfiles, redo the md5 and emerge normally either i guess.

Lets know how you get on(that goes for anyone else that wants to try it too :) )

Phil
Back to top
View user's profile Send private message
Ante
n00b
n00b


Joined: 28 Dec 2002
Posts: 14
Location: 127.0.0.1

PostPosted: Mon Apr 14, 2003 6:15 pm    Post subject: Reply with quote

Code:

[Gentoo:~/idesk-0.3.5-mod] make
g++ -g -O2 -c Desk.cc -o Desk.o
In file included from Desk.h:9,
                 from Desk.cc:1:
/usr/include/X11/Xft/Xft.h:52: syntax error before `;' token
/usr/include/X11/Xft/Xft.h:86: 'FT_UInt' is used as a type, but is not defined
   as a type.
/usr/include/X11/Xft/Xft.h:93: 'FT_UInt' is used as a type, but is not defined
   as a type.
/usr/include/X11/Xft/Xft.h:190: parse error before `*' token
/usr/include/X11/Xft/Xft.h:295: parse error before `*' token
/usr/include/X11/Xft/Xft.h:353: parse error before `*' token
/usr/include/X11/Xft/Xft.h:392: parse error before `*' token
/usr/include/X11/Xft/Xft.h:398: parse error before `*' token
/usr/include/X11/Xft/Xft.h:407: type specifier omitted for parameter `FT_UInt'
/usr/include/X11/Xft/Xft.h:407: parse error before `,' token
/usr/include/X11/Xft/Xft.h:417: parse error before `*' token
/usr/include/X11/Xft/Xft.h:460: parse error before `*' token
make: *** [Desk.o] Error 1


Any idéas?
_________________
Why?
Back to top
View user's profile Send private message
pheelay
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2002
Posts: 128
Location: Ireland

PostPosted: Mon Apr 14, 2003 7:46 pm    Post subject: Reply with quote

presumably that means that the idesk in portage didn't compile for u either?

# emerge freetype
should sort u out! :)

That actually looks like a bug in the idesk ebuild! It seems to depend on freetype
Back to top
View user's profile Send private message
timmfin
Guru
Guru


Joined: 04 Sep 2002
Posts: 336
Location: Maryland, USA

PostPosted: Mon Apr 14, 2003 7:51 pm    Post subject: Reply with quote

What Xft version do you have? There were some header file problems when Xft 2 came out. I think a later revision solved some of the problems though.

I'd appreciate it if you guys emailed me some of the dependecy problems and such that you are/were having. When I have the time (as in when school lets out for the summer) I will allievate some of the problems by doing the compile and installation via automake and autoconf, and know what the problems are would help.
Back to top
View user's profile Send private message
pheelay
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2002
Posts: 128
Location: Ireland

PostPosted: Mon Apr 14, 2003 8:55 pm    Post subject: Reply with quote

timmfin wrote:
What Xft version do you have? There were some header file problems when Xft 2 came out. I think a later revision solved some of the problems though.

I'd appreciate it if you guys emailed me some of the dependecy problems and such that you are/were having. When I have the time (as in when school lets out for the summer) I will allievate some of the problems by doing the compile and installation via automake and autoconf, and know what the problems are would help.


Like I said, the problem is freetype needs to be 'merged first.
I reproduced the exact problem mentioned by Ante by unmerging freetype and trying to emerge idesk. It failed with the same errors.
Emerge freetype again and everything was fine. I submitted a bug suggesting that idesk requires freetype but come to think of it, Xft depends on fontconfig which depends on freetype. If Xft was merged, should also freetype have been
Back to top
View user's profile Send private message
Ante
n00b
n00b


Joined: 28 Dec 2002
Posts: 14
Location: 127.0.0.1

PostPosted: Wed Apr 16, 2003 4:18 pm    Post subject: Reply with quote

Idesk in portage copiled without any errors, did a;
emerge sync
emerge freetye xft
to get 'em to later versions, got the same errors after.
_________________
Why?
Back to top
View user's profile Send private message
pheelay
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2002
Posts: 128
Location: Ireland

PostPosted: Wed Apr 16, 2003 11:29 pm    Post subject: Reply with quote

hmmm,

Ok, in the Makefile make sure
-I/usr/include/freetype2 -U__linux__
is present on the uncommented cflags line.
Mine reads:
Code:
cflags    = -mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer -I/usr/include/freetype2 -U__linux__


If this doesn't work, check if that freetype2 directory exists? And maybe post the Makefile.
Back to top
View user's profile Send private message
_SkeLeToN_
Guru
Guru


Joined: 12 Sep 2002
Posts: 506
Location: Montreal,Canada

PostPosted: Thu Apr 17, 2003 1:12 am    Post subject: Reply with quote

Well the beta version of the idesk from timmfin almost compiled after I made some changes ...

First I had to fix the path for the librsvg-2 in the make file and after adding the option -I/usr/include/freetype2 -U__linux__ I almost get rid of all my error except for this.

Code:

#make
g++ XDesktopContainer.o XIcon.o XIdeskImage.o XCaption.o Database.o DesktopConfig.o DesktopIconConfig.o Misc.o Main.o XShadowImage.o XIconWithShadow.o SimpleSvgImage.o XPngImage.o -o idesk `pkg-config imlib gdk-2.0 gdk-pixbuf-xlib-2.0 libart-2.0 libxml-2.0 pangoft2 --libs` -lgdk_pixbuf_xlib -L/usr/lib -lrsvg-2
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_memory_get_bytes'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_write'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_close'
/usr/lib/librsvg-2.so: undefined reference to `gsf_input_read'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_memory_get_type'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_size'
/usr/lib/librsvg-2.so: undefined reference to `gsf_input_get_type'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_memory_new'
/usr/lib/librsvg-2.so: undefined reference to `gsf_input_gzip_new'
/usr/lib/librsvg-2.so: undefined reference to `gsf_input_memory_new'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_get_type'
/usr/lib/librsvg-2.so: undefined reference to `gsf_input_remaining'
collect2: ld returned 1 exit status


Oh well ... I think we will have to wait.
Back to top
View user's profile Send private message
Ante
n00b
n00b


Joined: 28 Dec 2002
Posts: 14
Location: 127.0.0.1

PostPosted: Thu Apr 17, 2003 2:38 pm    Post subject: Reply with quote

pheelay: Great thanks! It works now :D Wohoo!
_________________
Why?
Back to top
View user's profile Send private message
timmfin
Guru
Guru


Joined: 04 Sep 2002
Posts: 336
Location: Maryland, USA

PostPosted: Thu Apr 17, 2003 3:15 pm    Post subject: Reply with quote

Libraries required by idesk:

Code:
[timmfin@timmfin] ~/development/oss/idesk-oo $ ldd idesk
        libImlib.so.1 => /usr/lib/libImlib.so.1 (0x4002b000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40056000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0x40074000)
        libgif.so.4 => /usr/lib/libgif.so.4 (0x400ba000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0x400c2000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x400ed000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x400f6000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4010e000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4011c000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x401fb000)
        libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x40266000)
        libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x40287000)
        libgdk_pixbuf_xlib-2.0.so.0 => /usr/lib/libgdk_pixbuf_xlib-2.0.so.0 (0x40294000)
        librsvg-2.so.2 => /usr/lib/librsvg-2.so.2 (0x402a4000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x402b7000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x402ca000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x402df000)
        libgsf-1.so.1 => /usr/lib/libgsf-1.so.1 (0x40301000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x4031d000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x40350000)
        libdl.so.2 => /lib/libdl.so.2 (0x40354000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x40357000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x4038c000)
        libz.so.1 => /usr/lib/libz.so.1 (0x4047b000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x40488000)
        libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libstdc++.so.5 (0x404f2000)
        libm.so.6 => /lib/libm.so.6 (0x405bd000)
        libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libgcc_s.so.1 (0x405e0000)
        libc.so.6 => /lib/libc.so.6 (0x405e8000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0x40716000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40728000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x40731000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40756000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x407ac000)


Here I will try to list the versions of all the dependent libraries (I tried to sort out the ones that probably didn't matter) that I have installed:

libImlib.so -> libImlib.so.1.9.14
libjpeg.so -> libjpeg.so.62.0.0
libtiff.so -> libtiff.so.3
libgif.so -> libgif.so.4.1.0
libpng.so -> libpng.so.3
libgdk-x11-2.0.so -> libgdk-x11-2.0.so.0.200.1
libpangoxft-1.0.so.0 -> libpangoxft-1.0.so.0.200.1
libgdk_pixbuf_xlib-2.0.so.0 -> libgdk_pixbuf_xlib-2.0.so.0.200.1
librsvg-2.so.2 -> librsvg-2.so.2.2.5
libgdk_pixbuf-2.0.so.0 -> libgdk_pixbuf-2.0.so.0.200.1
libart_lgpl_2.so.2 -> libart_lgpl_2.so.2.3.11
libpangoft2-1.0.so.0 -> libpangoft2-1.0.so.0.200.1
libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.200.1
libXft.so.2 -> libXft.so.2.0
libXrender.so -> libXrender.so.1.2
libfontconfig.so.1 -> libfontconfig.so.1.0
libfreetype.so.6 -> libfreetype.so.6.3.3

I apologize that I'm not too knowledgable with libraries. I've been a programmer, but this is my first serious time working with a release and support on linux. I appreciate your help working through this.
Back to top
View user's profile Send private message
pheelay
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2002
Posts: 128
Location: Ireland

PostPosted: Thu Apr 17, 2003 3:56 pm    Post subject: Reply with quote

I got slightly different output on my machine. I'm not very knowledgable on libraries either - but i'll help in any way I can!

Code:
[franksp@franksp] [~/programming/gentoo/idesk-0.3.5-mod] # ldd idesk
        libImlib.so.1 => /usr/lib/libImlib.so.1 (0x4002a000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40056000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0x40074000)
        libgif.so.4 => /usr/lib/libgif.so.4 (0x400ba000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0x400c2000)
        libz.so.1 => /usr/lib/libz.so.1 (0x400ee000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400fc000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4010d000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40116000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4012d000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0x4020d000)
        libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libstdc++.so.5 (0x40221000)
        libm.so.6 => /lib/libm.so.6 (0x402ec000)
        libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libgcc_s.so.1 (0x40310000)
        libc.so.6 => /lib/libc.so.6 (0x40318000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40448000)
        libdl.so.2 => /lib/libdl.so.2 (0x40474000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40477000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4047e000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x404db000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40504000)


So it seems that the problem Ante had was that the Makefile didn't have
-I/usr/include/freetype2 in the cflags. This must somehow get added when idesk is built from portage - I couldn't see how tho looking at the ebuild.

Is it just yourself working on the idesk project? I'd like to help out any way I can - I'm interested after having looked thro and changed some of the source code for my own use. I don't think I'm alone in having a preference to execute on single click rather than double click - it might be nice feature to add into a future release.
Back to top
View user's profile Send private message
timmfin
Guru
Guru


Joined: 04 Sep 2002
Posts: 336
Location: Maryland, USA

PostPosted: Thu Apr 17, 2003 11:00 pm    Post subject: Reply with quote

Well, idesk was orginally written by Chris (Nikon) a while back. He has not been able to do anything with idesk since it got big I guess. A few people dabbled here and there, and this winter I sat down and basically recoded the whole structure. I left most of the graphics code intact, but redid the whole program in a modular OO structure. I actually probably went a bit overboard in some areas with multiple inheiratance and virtual inheiratance, but it was fun and I think it makes extending idesk easier. This recoded version was .5, and there were only a few small things added to .51 . Since .5 has svg support and such, alot more libraries are required, and in my previous post I ldd'ed idesk-0.51 and not .35, which you did (probably because you can't compile .51, which is my fault :)).

Right now there are two main people working on idesk, curious and me. I have not heard anything from curious in a long time so I not completely sure if he still is. Basically I'm assuming leadership right now since there seems to be no one else there. This summer I plan to make the website I made more fully featured and make it the main idesk site, but I don't want to do that till I can make sure I can take the time to do it well. I wold be glad for you to help out.

Could you check out which versions you have of the libraries that .51 needs? I just did ls -l on the generic library name (ex: /usr/lib/libImlib.so.1) to get the version.
Back to top
View user's profile Send private message
Glasswalker
n00b
n00b


Joined: 31 Mar 2003
Posts: 38
Location: NY

PostPosted: Sun Apr 20, 2003 12:18 am    Post subject: Reply with quote

timmfin: not that i claim to be a programmer or understand quite what i did but i located and downloaded a copy of rsvg.h from the net and it fixed the errors i was getting refering to it. well it did after i modified your path to it in the SimpleSvgImage.h - that fixed one problem but i still can't compile your program :( the only output i get is the following:

Code:
 g++ -g -W -Wall `pkg-config gdk-2.0 gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/i                         
nclude/librsvg-2 -c XIcon.cpp -o XIcon.o
In file included from XIcon.cpp:27:
SimpleSvgImage.h:28:26: librsvg/rsvg.h: No such file or directory
XIcon.cpp: In member function `virtual void XIcon::dragButtonPress(XEvent*,
   int&, int&, unsigned int&)':
XIcon.cpp:151: warning: unused parameter `unsigned int&time'
XIcon.cpp: In member function `virtual void XIcon::dragMotionNotify(XEvent*,
   int&, int&, unsigned int&)':
XIcon.cpp:160: warning: unused variable `XDesktopContainer*xContainer'
XIcon.cpp:159: warning: unused parameter `unsigned int&time'
XIcon.cpp: In member function `virtual void XIcon::dragButtonRelease(XEvent*,
   int&, int&, unsigned int&)':
XIcon.cpp:184: warning: unused parameter `XEvent*ev'
XIcon.cpp:184: warning: unused parameter `int&lX'
XIcon.cpp:184: warning: unused parameter `int&lY'
XIcon.cpp:184: warning: unused parameter `unsigned int&time'
XIcon.cpp: In member function `virtual void XIcon::findSnapPosition(int&,
   int&)':
XIcon.cpp:218: warning: unused variable `XDesktopContainer*xContainer'
XIcon.cpp: In member function `void XIcon::moveImageWindow()':
XIcon.cpp:348: warning: unused variable `XDesktopContainer*xContainer'
XIcon.cpp: In member function `void XIcon::mapImageWindow()':
XIcon.cpp:358: warning: unused variable `XDesktopContainer*xContainer'
XIcon.cpp: In member function `void XIcon::mapCaptionWindow()':
XIcon.cpp:371: warning: unused variable `XDesktopContainer*xContainer'
make: *** [XIcon.o] Error 1




If you could give me a hint of what version of the libsvg i need to find i'd appreciate it.. idesk looks cool


Last edited by Glasswalker on Sun Apr 20, 2003 12:29 am; edited 1 time in total
Back to top
View user's profile Send private message
timmfin
Guru
Guru


Joined: 04 Sep 2002
Posts: 336
Location: Maryland, USA

PostPosted: Sun Apr 20, 2003 12:26 am    Post subject: Reply with quote

Well any of the recent librsvg's should work but I recommend the latest:
Code:
ACCEPT_KEYWORDS="~x86" emerge -p librsvg


or if your arch is different replace ~x86. I have version 2.2.5.
Back to top
View user's profile Send private message
Glasswalker
n00b
n00b


Joined: 31 Mar 2003
Posts: 38
Location: NY

PostPosted: Sun Apr 20, 2003 12:43 am    Post subject: Reply with quote

ok i replaced the original code and emerged libsvg (have version 2.2.5 now) and ran make.. it told me again that \libsvg\rsvg.h can't be found. so i changed where SimpleSVGImage.h looked for it and got the errors i added in my previous post. I think idesk looks cool and really want to get it to work but this is approaching the difficulty of getting my ide burner working :cry:
Back to top
View user's profile Send private message
_SkeLeToN_
Guru
Guru


Joined: 12 Sep 2002
Posts: 506
Location: Montreal,Canada

PostPosted: Sun Apr 20, 2003 3:25 am    Post subject: Reply with quote

Glasswalker wrote:
timmfin: not that i claim to be a programmer or understand quite what i did but i located and downloaded a copy of rsvg.h from the net and it fixed the errors i was getting refering to it. well it did after i modified your path to it in the SimpleSvgImage.h - that fixed one problem but i still can't compile your program :( the only output i get is the following:

Code:
 g++ -g -W -Wall `pkg-config gdk-2.0 gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/i                         
nclude/librsvg-2 -c XIcon.cpp -o XIcon.o
In file included from XIcon.cpp:27:
SimpleSvgImage.h:28:26: librsvg/rsvg.h: No such file or directory
XIcon.cpp: In member function `virtual void XIcon::dragButtonPress(XEvent*,
   int&, int&, unsigned int&)':
XIcon.cpp:151: warning: unused parameter `unsigned int&time'
XIcon.cpp: In member function `virtual void XIcon::dragMotionNotify(XEvent*,
   int&, int&, unsigned int&)':
XIcon.cpp:160: warning: unused variable `XDesktopContainer*xContainer'
XIcon.cpp:159: warning: unused parameter `unsigned int&time'
XIcon.cpp: In member function `virtual void XIcon::dragButtonRelease(XEvent*,
   int&, int&, unsigned int&)':
XIcon.cpp:184: warning: unused parameter `XEvent*ev'
XIcon.cpp:184: warning: unused parameter `int&lX'
XIcon.cpp:184: warning: unused parameter `int&lY'
XIcon.cpp:184: warning: unused parameter `unsigned int&time'
XIcon.cpp: In member function `virtual void XIcon::findSnapPosition(int&,
   int&)':
XIcon.cpp:218: warning: unused variable `XDesktopContainer*xContainer'
XIcon.cpp: In member function `void XIcon::moveImageWindow()':
XIcon.cpp:348: warning: unused variable `XDesktopContainer*xContainer'
XIcon.cpp: In member function `void XIcon::mapImageWindow()':
XIcon.cpp:358: warning: unused variable `XDesktopContainer*xContainer'
XIcon.cpp: In member function `void XIcon::mapCaptionWindow()':
XIcon.cpp:371: warning: unused variable `XDesktopContainer*xContainer'
make: *** [XIcon.o] Error 1




If you could give me a hint of what version of the libsvg i need to find i'd appreciate it.. idesk looks cool


Well you need the 2.2.5 and I did some modification to the Makefile

You need to change the path where it look for librsvg to /usr/include/librsvg-2
also on the second line at the end make sure its -L/usr/lib

and the last thing I change is the cflag line I added -I/usr/include/freetype2 -U__linux__

Now I got some error and still can compile it but I almost remove every error I had before

Code:

root@Glitch:/var/tmp/portage/idesk-0.5.1/work#make
g++ XDesktopContainer.o XIcon.o XIdeskImage.o XCaption.o Database.o DesktopConfig.o DesktopIconConfig.o Misc.o Main.o XShadowImage.o XIconWithShadow.o SimpleSvgImage.o XPngImage.o -o idesk `pkg-config imlib gdk-2.0 gdk-pixbuf-xlib-2.0 libart-2.0 libxml-2.0 pangoft2 --libs` -lgdk_pixbuf_xlib -L/usr/lib -lrsvg-2
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_memory_get_bytes'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_write'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_close'
/usr/lib/librsvg-2.so: undefined reference to `gsf_input_read'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_memory_get_type'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_size'
/usr/lib/librsvg-2.so: undefined reference to `gsf_input_get_type'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_memory_new'
/usr/lib/librsvg-2.so: undefined reference to `gsf_input_gzip_new'
/usr/lib/librsvg-2.so: undefined reference to `gsf_input_memory_new'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_get_type'
/usr/lib/librsvg-2.so: undefined reference to `gsf_input_remaining'
collect2: ld returned 1 exit status
make: *** [idesk] Error 1
Back to top
View user's profile Send private message
Glasswalker
n00b
n00b


Joined: 31 Mar 2003
Posts: 38
Location: NY

PostPosted: Sun Apr 20, 2003 7:20 am    Post subject: Reply with quote

Quote:

Quote:

Glasswalker wrote:
timmfin: not that i claim to be a programmer or understand quite what i did but i located and downloaded a copy of rsvg.h from the net and it fixed the errors i was getting refering to it. well it did after i modified your path to it in the SimpleSvgImage.h - that fixed one problem but i still can't compile your program icon_sad.gif the only output i get is the following:

Code:

g++ -g -W -Wall `pkg-config gdk-2.0 gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/i                         
nclude/librsvg-2 -c XIcon.cpp -o XIcon.o
In file included from XIcon.cpp:27:
SimpleSvgImage.h:28:26: librsvg/rsvg.h: No such file or directory
XIcon.cpp: In member function `virtual void XIcon::dragButtonPress(XEvent*,
   int&, int&, unsigned int&)':
XIcon.cpp:151: warning: unused parameter `unsigned int&time'
XIcon.cpp: In member function `virtual void XIcon::dragMotionNotify(XEvent*,
   int&, int&, unsigned int&)':
XIcon.cpp:160: warning: unused variable `XDesktopContainer*xContainer'
XIcon.cpp:159: warning: unused parameter `unsigned int&time'
XIcon.cpp: In member function `virtual void XIcon::dragButtonRelease(XEvent*,
   int&, int&, unsigned int&)':
XIcon.cpp:184: warning: unused parameter `XEvent*ev'
XIcon.cpp:184: warning: unused parameter `int&lX'
XIcon.cpp:184: warning: unused parameter `int&lY'
XIcon.cpp:184: warning: unused parameter `unsigned int&time'
XIcon.cpp: In member function `virtual void XIcon::findSnapPosition(int&,
   int&)':
XIcon.cpp:218: warning: unused variable `XDesktopContainer*xContainer'
XIcon.cpp: In member function `void XIcon::moveImageWindow()':
XIcon.cpp:348: warning: unused variable `XDesktopContainer*xContainer'
XIcon.cpp: In member function `void XIcon::mapImageWindow()':
XIcon.cpp:358: warning: unused variable `XDesktopContainer*xContainer'
XIcon.cpp: In member function `void XIcon::mapCaptionWindow()':
XIcon.cpp:371: warning: unused variable `XDesktopContainer*xContainer'
make: *** [XIcon.o] Error 1




If you could give me a hint of what version of the libsvg i need to find i'd appreciate it.. idesk looks cool


Well you need the 2.2.5 and I did some modification to the Makefile

You need to change the path where it look for librsvg to /usr/include/librsvg-2
also on the second line at the end make sure its -L/usr/lib

and the last thing I change is the cflag line I added -I/usr/include/freetype2 -U__linux__

Now I got some error and still can compile it but I almost remove every error I had before

Code:


root@Glitch:/var/tmp/portage/idesk-0.5.1/work#make
g++ XDesktopContainer.o XIcon.o XIdeskImage.o XCaption.o Database.o DesktopConfig.o DesktopIconConfig.o Misc.o Main.o XShadowImage.o XIconWithShadow.o SimpleSvgImage.o XPngImage.o -o idesk `pkg-config imlib gdk-2.0 gdk-pixbuf-xlib-2.0 libart-2.0 libxml-2.0 pangoft2 --libs` -lgdk_pixbuf_xlib -L/usr/lib -lrsvg-2
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_memory_get_bytes'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_write'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_close'
/usr/lib/librsvg-2.so: undefined reference to `gsf_input_read'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_memory_get_type'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_size'
/usr/lib/librsvg-2.so: undefined reference to `gsf_input_get_type'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_memory_new'
/usr/lib/librsvg-2.so: undefined reference to `gsf_input_gzip_new'
/usr/lib/librsvg-2.so: undefined reference to `gsf_input_memory_new'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_get_type'
/usr/lib/librsvg-2.so: undefined reference to `gsf_input_remaining'
collect2: ld returned 1 exit status
make: *** [idesk] Error 1


Now i get those errors and it still doesn't finish compiling
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2, 3, 4, 5  Next
Page 1 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum