Daemon-tools alternative for linux

A place where Linux Gamers can share their experience and help each other with Linux Games, native or emulated ;)

Moderator: Moderators

Daemon-tools alternative for linux

Postby joost » Sat May 19, 2007 22:11

Hi people.

I've been looking for a good alternative for daemon tools for linux for a while now.

I'd like a system tray icon, from where i could handle my mounts. Anyone got any suggestions for that?

thx in advance!
User avatar
joost
Sagely Hen
 
Posts: 2313
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Postby voxiac » Sat May 19, 2007 23:07

You are not alone! ;)
AcetoneISO is very close to Daemon Tools though:
http://www.kde-apps.org/content/show.php?content=44805

It can't sit in tray though...
User avatar
voxiac
Advanced Hen
 
Posts: 218
Joined: Sat Feb 10, 2007 17:05
Location: Denmark

Postby dave_p_b » Wed May 23, 2007 6:47

Hi guys

After reading your posts the other day I thought I would have a look. I found two programs called CDemu and KCDemu which does the same as dameontools for Windows. However, they were written so long ago that, even though CDemu is in portage, neither of them work.

So I downloaded the source code and after re-writing parts of KCDemu I have finally got them to work in linux. I have all the code neatly packaged in a tar.gz and have written an installer to get it all working.

If you're still interested, let me know and I'll give you a link to download it.

All the best

Dave
User avatar
dave_p_b
Old Dear Hen
 
Posts: 607
Joined: Fri Dec 15, 2006 1:39
Location: Exeter, UK

Postby voxiac » Wed May 23, 2007 9:35

dave_p_b wrote:So I downloaded the source code and after re-writing parts of KCDemu I have finally got them to work in linux. I have all the code neatly packaged in a tar.gz and have written an installer to get it all working.

Let me see... maybe we can try to cook an ebuild for that...
User avatar
voxiac
Advanced Hen
 
Posts: 218
Joined: Sat Feb 10, 2007 17:05
Location: Denmark

Postby dave_p_b » Wed May 23, 2007 11:22

Hi

Does that mean you want it??
There's no point in making an ebuild unless you've got some where to host the file perminantly.

In the tar.gz file I have written an ./install script so you don't actually have to do anything. It even copies and installs a modified version of cdemu-0.8 I obtained and included with the rest of the stuff.

Let me know if you want the file and I'll host it on one of those download sites or I could just email it to you.

Cheers

Dave

p.s. I tried to get hold of the developer of the original KCDemu earlier but I couldn't get is email address. I was going to try to get him to include the changes I made. Oh well.
User avatar
dave_p_b
Old Dear Hen
 
Posts: 607
Joined: Fri Dec 15, 2006 1:39
Location: Exeter, UK

Postby joost » Wed May 23, 2007 11:57

http://cdemu.sourceforge.net/
cdemu a kernel-module which needs to be loaded.

Code: Select all
#emerge sabayon-sources
#emerge cdemu
**** here i'm stuck modprobe didn't work ****


http://kde-apps.org/content/show.php/Cd ... tent=52289

Here is a gui for it. If this all works, it should be packed into sabayon for sure.
User avatar
joost
Sagely Hen
 
Posts: 2313
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Postby dave_p_b » Wed May 23, 2007 12:40

Hi

I told you that neither CDemu or KCDemu worked that's why I've been re-doing them.
You can download my fixed version from here. http://www.savefile.com/files/745243

Changes:
1) CDemu now works when you type "modprobe CDEmu"
2) KCDemu will open iso, cue, bin, mds, ccd and nrg. Before it would only open bin and cue files.
3) KCDemu now mounts the new CDemu image where as before you had to do it manually.

Important: Wants you have download the file you have to change it's name slightly as the hosting server changed it.
It's very subtle but change KCDemu_0.4.0_modified_tar.gz to KCDemu_0.4.0_modified.tar.gz (Note the underscore where a dot should be)

Once you've unpacked KCDemu_0.4.0_modified.tar.gz go into the directory and run ./install as root. (make sure it is root else it will bugger up ;))
There is a README file that basically tells you what the ./install script is doing just incase it gets stuck.

Good luck

Dave

p.s. If you've already emerge CDemu then un-merge it ("emerge -C cdemu")
User avatar
dave_p_b
Old Dear Hen
 
Posts: 607
Joined: Fri Dec 15, 2006 1:39
Location: Exeter, UK

Postby dave_p_b » Wed May 23, 2007 12:42

Hi

Please note that the changes that I made were for my benefit only and I can't be held responsible if it doesn't work on your computer. However, I will help as much as I can. I have tried to get hold of the original designer of KCDemu but as of yet haven't been successful as I can't find his email address.

All the best

Dave
User avatar
dave_p_b
Old Dear Hen
 
Posts: 607
Joined: Fri Dec 15, 2006 1:39
Location: Exeter, UK

Postby joost » Wed May 23, 2007 12:55

Dave, thanks allot so far!

cdemu loaded successfully!

got error on make:

Code: Select all
localhost KCDemu # make
for i in lib; do make -C $i SRC_ROOT=`pwd`; done
make[1]: Entering directory `/home/joost/KCDemu/lib'
make[1]: Nothing to be done for `do-it-all'.
make[1]: Leaving directory `/home/joost/KCDemu/lib'
gcc -c KCDemu.cpp -I/usr/qt/3/include/ -I/include/ -I`pwd`
KCDemu.cpp:19:18: error: kapp.h: No such file or directory
In file included from lib/KCDemuSettingsMenu.h:22,
                 from lib/KCDemuSystemTray.h:22,
                 from KCDemu.cpp:20:
lib/KCDemuNumDevMenu.h:22:24: error: kpopupmenu.h: No such file or directory
In file included from lib/KCDemuNumDevMenu.h:24,
                 from lib/KCDemuSettingsMenu.h:22,
                 from lib/KCDemuSystemTray.h:22,
                 from KCDemu.cpp:20:
lib/KCDemuProcess.h:24:25: error: kmessagebox.h: No such file or directory
lib/KCDemuProcess.h:25:22: error: kprocess.h: No such file or directory
In file included from lib/KCDemuSystemTray.h:23,
                 from KCDemu.cpp:20:
lib/KCDemuDeviceMenu.h:28:25: error: kfiledialog.h: No such file or directory
In file included from KCDemu.cpp:20:
lib/KCDemuSystemTray.h:29:26: error: kapplication.h: No such file or directory
lib/KCDemuSystemTray.h:30:25: error: ksystemtray.h: No such file or directory
lib/KCDemuSystemTray.h:32:25: error: kiconloader.h: No such file or directory
lib/KCDemuProcess.h:27: error: expected class-name before ‘{’ token
lib/KCDemuProcess.h:28: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no
 type
lib/KCDemuProcess.h:30: error: expected ‘;’ before ‘public’
lib/KCDemuProcess.h:36: error: expected `:' before ‘slots’
lib/KCDemuProcess.h:37: error: expected primary-expression before ‘void’
lib/KCDemuProcess.h:37: error: ISO C++ forbids declaration of ‘slots’ with no ty
pe
lib/KCDemuProcess.h:37: error: expected ‘;’ before ‘void’
lib/KCDemuNumDevMenu.h:26: error: expected class-name before ‘{’ token
lib/KCDemuNumDevMenu.h:27: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with
 no type
lib/KCDemuNumDevMenu.h:29: error: expected ‘;’ before ‘public’
lib/KCDemuNumDevMenu.h:33: error: expected `:' before ‘slots’
lib/KCDemuNumDevMenu.h:34: error: expected primary-expression before ‘void’
lib/KCDemuNumDevMenu.h:34: error: ISO C++ forbids declaration of ‘slots’ with no
 type
lib/KCDemuNumDevMenu.h:34: error: expected ‘;’ before ‘void’
lib/KCDemuSettingsMenu.h:24: error: expected class-name before ‘{’ token
lib/KCDemuSettingsMenu.h:26: error: expected `)' before ‘*’ token
lib/KCDemuDeviceMenu.h:34: error: expected class-name before ‘{’ token
lib/KCDemuDeviceMenu.h:35: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with
 no type
lib/KCDemuDeviceMenu.h:37: error: expected ‘;’ before ‘public’
lib/KCDemuDeviceMenu.h:44: error: expected `:' before ‘slots’
lib/KCDemuDeviceMenu.h:45: error: expected primary-expression before ‘void’
lib/KCDemuDeviceMenu.h:45: error: ISO C++ forbids declaration of ‘slots’ with no                                                                             type
lib/KCDemuDeviceMenu.h:45: error: expected ‘;’ before ‘void’
lib/KCDemuDeviceMenu.h:50: error: expected primary-expression before ‘void’
lib/KCDemuDeviceMenu.h:50: error: ISO C++ forbids declaration of ‘signals’ with                                                                             no type
lib/KCDemuDeviceMenu.h:50: error: expected ‘;’ before ‘void’
lib/KCDemuSystemTray.h:44: error: expected class-name before ‘{’ token
lib/KCDemuSystemTray.h:45: error: ‘QVariant’ has not been declared
lib/KCDemuSystemTray.h:45: error: ‘QVariant’ has not been declared
lib/KCDemuSystemTray.h:56: error: ‘QMouseEvent’ has not been declared
lib/KCDemuSystemTray.h:65: error: ISO C++ forbids declaration of ‘QPopupMenu’ wi                                                                            th no type
lib/KCDemuSystemTray.h:65: error: expected ‘;’ before ‘*’ token
lib/KCDemuSystemTray.h:66: error: ISO C++ forbids declaration of ‘QPopupMenu’ wi                                                                            th no type
lib/KCDemuSystemTray.h:66: error: expected ‘;’ before ‘*’ token
KCDemu.cpp: In function ‘int main(int, char**)’:
KCDemu.cpp:23: error: ‘KApplication’ was not declared in this scope
KCDemu.cpp:23: error: expected `;' before ‘a’
KCDemu.cpp:33: error: ‘class KCDemuSystemTray’ has no member named ‘show’
KCDemu.cpp:35: error: ‘a’ was not declared in this scope
make: *** [do-it-always] Error 1
User avatar
joost
Sagely Hen
 
Posts: 2313
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Postby dave_p_b » Wed May 23, 2007 13:00

Hi

I take it you are not using the ./install script then that would have taken care of this issue?

Ok, before you type make you've got to type these two commands:
1) PATH=/usr/qt/3/bin:$PATH; QTDIR=/usr/qt/3/; QMAKESPEC="/usr/qt/3/mkspecs/linux-g++"
2) export KDEDIR=/usr/kde/3.5

Then type make

Cheers

Dave
User avatar
dave_p_b
Old Dear Hen
 
Posts: 607
Joined: Fri Dec 15, 2006 1:39
Location: Exeter, UK

Next

Return to The Gamers Shed

Who is online

Users browsing this forum: No registered users and 2 guests