PDA

View Full Version : [Source Code] All-in-Wonder Menu / Extras Menu



Speedy2206
18-03-2007, 02:44 AM
http://i37.photobucket.com/albums/e91/liamcrayden/aiw.jpg

Complete diffs and source code.
This is compatible with the "menu customization" patch; so now you don't have to lose out on the DW Extras menu functionality.

Again, free to distribute and use for whatever you like.


Neutrino-GUI - DBoxII-Project

Copyright (C) 2001 Steffen Hehn 'McClean'
Homepage: Cyberphoria (http://dbox.cyberphoria.org/)

Comments:

This is the "All in Wonder" menu for UK CVS images (formerly called 'extras menu') It allows you to select a
softcam and ucode, turn IDE functionality on or off, and decide which (if any) of the Nagra ROMs to disable.

UPDATE 18/Mar/07 by Speedy2206: I cant be arsed to write a ROM Menu right now.
Somebody else wanna take up the task? :)

License: GPL

Speedy2206
18-03-2007, 02:47 AM
I just noticed after uploading that I have used system calls to remove files. These can be replaced by "remove()" or "unlink()" if you wish to be fancy :) I should have done this but I dont know why I forgot?


Also, maybe a job for scruff or somebody with the IDE mod.
Lines 234-243 in extras_menu.cpp:


if (g_settings.allinwonder_idestatus == 0) // IDE = Off
{
printf("[ALL-IN-WONDER MENU] IDE Status was set to Off. Reboot required."); // Debug Message
system("rm /var/etc/.hdd");
}
else // IDE = On
{
printf("[ALL-IN-WONDER MENU] IDE Status was set to On. Reboot required."); // Debug Message
system("touch /var/etc/.hdd");
}

... maybe an attempt could be made to modify this code to include the correct "insmod" and "rmmod" commands so that the menu does not have to rely on the start_neutrino file handling the .hdd

scruff1963
18-03-2007, 03:41 AM
I just noticed after uploading that I have used system calls to remove files. These can be replaced by "remove()" or "unlink()" if you wish to be fancy :) I should have done this but I dont know why I forgot?


Also, maybe a job for scruff or somebody with the IDE mod.
Lines 234-243 in extras_menu.cpp:


not for me




if (g_settings.allinwonder_idestatus == 0) // IDE = Off
{
printf("[ALL-IN-WONDER MENU] IDE Status was set to Off. Reboot required."); // Debug Message
system("rm /var/etc/.hdd");
}
else // IDE = On
{
printf("[ALL-IN-WONDER MENU] IDE Status was set to On. Reboot required."); // Debug Message
system("touch /var/etc/.hdd");
}

... maybe an attempt could be made to modify this code to include the correct "insmod" and "rmmod" commands so that the menu does not have to rely on the start_neutrino file handling the .hdd

You will need to tell the tuxbox boys the insmod and rmmod are incorrect.

all the addition to the rcS file does is say only load them if /var/etc/.hdd exists, if it doesn't exist then skip that part.

The menu is a waste of time without the ide being compiled in and the correct line/s inserted in the correct places
line 1
if [ -e /var/etc/.hdd ] ; then

line 2
fi

in squashfs images their are other changes to make to get the menu to function properly.

at the moment the menu will do diddly squat except look pretty.

nitr8
18-03-2007, 12:47 PM
I think insted of creating an .ide is to actully use what FS it is useing for example

xfs - /var/etc/.xfs
ext2 - /var/etc/.ext2
ext3 - /var/etc/.ext3

then you could use this in star_automount



if [ -e /var/etc/.xfs ] ; then
/bin/mount -t xfs /dev/ide/host0/bus0/target0/lun0/part2 /hdd
fi
if [ -e /var/etc/.ext3 ] ; then
/bin/mount -t ext3 /dev/ide/host0/bus0/target0/lun0/part2 /hdd
fi
if [ -e /var/etc/.ext2 ] ; then
/bin/mount -t ext2 /dev/ide/host0/bus0/target0/lun0/part2 /hdd
fi


If you just use IDE how do we know what FS to mount it as?

--me

Speedy2206
18-03-2007, 02:17 PM
Is there a shell script or something that can be knocked up, which will detect which FS is being used? The menu could grab this information and enter it into an inactive CMenuForwarder [for information purposes] and store it in a variable. It could then mount/remount/unmount IDE based on this setting.

PS.. as far as I can tell, to enable the IDE support you need to:

insmod dboxide
mount -t TYPE /dev/ide/host0/bus0/target0/lun0/part2 /hdd
..is that right? I understand that the IDE is on by default.
PPS.. Why does the XFS take up so much space? Over half a meg! Surely people should just format in EXT2/3?

nitr8
18-03-2007, 02:50 PM
no you cannot just detect what the disk was formatted as unless you write a dirty script that will try and mount each one, once it has unmount it and bingo you have your FS that that it was formatted with.
Benchmarking Filesystems LG #102 (http://linuxgazette.net/102/piszcz.html) <-- make your own conclusions on what FS you want to use
As for ?I understand that the IDE is on by default? depends on a couple of things if you mean:
A standard CVS build with --enable-ide and your disk was formatted as ext2 then yes it should automatically mout and the reason is:
In a clean build?s /etc/init.d/rcS


# If appropriate, load ide drivers and file system drivers
if [ $KMINOR -ge 6 ]; then
# kernel 2.6
if [ -e /lib/modules/$(uname -r)/extra/ide/dboxide.ko ] ; then
$IM $MD/dboxide.o
fi
else
# kernel 2.4
if [ -e /lib/modules/$(uname -r)/misc/dboxide.o ] ; then
$IM $MD/ide-core.o
$IM $MD/dboxide.o
$IM $MD/ide-detect.o
$IM $MD/ide-disk.o
$IM $MD/ext2.o
$IM $MD/jbd.o
$IM $MD/ext3.o
$IM $MD/xfs.o
fi
fi

And has this in /etc/fstab


/dev/ide/host0/bus0/target0/lun0/part1 swap swap noauto 0 0
/dev/ide/host0/bus0/target0/lun0/part2 /hdd ext2 defaults 1 2


Please see : http://world-of-digital.com/forums/139/diffs-uk-mods-14329-2.html

--me

Speedy2206
18-03-2007, 03:08 PM
With reference to your post in [Diffs] UK MODS.

If the 'All-in-Wonder' menu changed its options from:
IDE Status = Enabled/Disabled

to

IDE Status = Disabled/Enabled (XFS)/Enabled (EXT2)/Enabled (EXT3)

and touched files like this:

/var/etc/.xfs
/var/etc/.ext2
/var/etc/.ext3
(based on which option was selected)

..then could the rCs file pick these up and do:


if [ -e /var/etc/.xfs ] ; then
$IM $MD/ide-core.o
$IM $MD/dboxide.o
$IM $MD/ide-detect.o
$IM $MD/ide-disk.o
$IM $MD/xfs.o
mount -t xfs /blah/blah/blah
fi

..thus preventing the need to load the ext2, ext3, AND xfs kernel support, when only XFS is needed?

Speedy2206
18-03-2007, 06:09 PM
Me and nitr8 have been on MSN this afternoon and have developed the All-in-Wonder menu into something quite unique :)

http://i37.photobucket.com/albums/e91/liamcrayden/latest.jpg

The IDE support is now fully functional without the need for touching files or using the start_neutrino file.

Support for the swapfile option is being tested by nitr8 as we speak :)

(Menu has options for XFS, EXT2, and EXT3!!)

scruff1963
18-03-2007, 06:42 PM
sulky outburst.

nitr8
18-03-2007, 07:17 PM
bha,

scruff did not knock you and I did not try and clam it as mine. All I am trying to do is get the best solution for us all.
I am busy writing up what speedy and I have been doing should be with you in a couple of min

--me

nitr8
18-03-2007, 07:25 PM
OK here goes,

This is what we have done so far in a nutshell:

Diable IDE


system("umount -f /hdd"); // GLOBAL - UNMOUNT /HDD
FILE * fstab; // File Declaration
fstab = fopen("/etc/fstab","w"); // Open for writing
fprintf(fstab, "proc\t/proc\t\tproc\tdefaults\t0 0\n"); // Write proc
fprintf(fstab, "tmpfs\t/tmp\t\ttmpfs\tdefaults\t0 0\n"); // Write tmpfs
fprintf(fstab, "sysfs\t/sys\t\tsysfs\tnoauto\t\t0 0\n"); // Write sysfs
fprintf(fstab, "devpts\t/dev/pts\tdevpts\tnoauto\t\t0 0\n"); // Write devpts

If XFS is selected


printf("[ALL-IN-WONDER MENU] IDE Status was set to XFS. Writing fstab..."); // Debug Message
configfile.setInt32("allinwonder_idestatus", g_settings.allinwonder_idestatus); // Save to neutrino.conf
configfile.setInt32("allinwonder_ideswap", g_settings.allinwonder_ideswap); // Save to neutrino.conf
fprintf(fstab, "/dev/ide/host0/bus0/target0/lun0/part2 /hdd xfs defaults 1 2\n"); // XFS Partition
if (g_settings.allinwonder_ideswap == 1)
fprintf(fstab, "/dev/ide/host0/bus0/target0/lun0/part1 swap swap noauto 0 0\n"); // IDE Swapfile
system("/sbin/swapon /dev/ide/host0/bus0/target0/lun0/part1"); // Mount SWAP
system("/bin/mount -t xfs /dev/ide/host0/bus0/target0/lun0/part2 /hdd"); // Mount /hdd as XFS

If EXT2 is selected


printf("[ALL-IN-WONDER MENU] IDE Status was set to EXT2. Writing fstab..."); // Debug Message
configfile.setInt32("allinwonder_idestatus", g_settings.allinwonder_idestatus); // Save to neutrino.conf
configfile.setInt32("allinwonder_ideswap", g_settings.allinwonder_ideswap); // Save to neutrino.conf
fprintf(fstab, "/dev/ide/host0/bus0/target0/lun0/part2 /hdd ext2 defaults 1 2\n"); // EXT2 Partition
if (g_settings.allinwonder_ideswap == 1)
fprintf(fstab, "/dev/ide/host0/bus0/target0/lun0/part1 swap swap noauto 0 0\n"); // IDE Swapfile
system("/sbin/swapon /dev/ide/host0/bus0/target0/lun0/part1"); // Mount SWAP
system("/bin/mount -t ext2 /dev/ide/host0/bus0/target0/lun0/part2 /hdd"); // Mount /hdd as EXT2

If EXT3 is selected


printf("[ALL-IN-WONDER MENU] IDE Status was set to EXT3. Writing fstab..."); // Debug Message
configfile.setInt32("allinwonder_idestatus", g_settings.allinwonder_idestatus); // Save to neutrino.conf
configfile.setInt32("allinwonder_ideswap", g_settings.allinwonder_ideswap); // Save to neutrino.conf
fprintf(fstab, "/dev/ide/host0/bus0/target0/lun0/part2 /hdd ext3 defaults 1 2"); // EXT3 Partition
if (g_settings.allinwonder_ideswap == 1)
fprintf(fstab, "/dev/ide/host0/bus0/target0/lun0/part1 swap swap noauto 0 0\n"); // IDE Swapfile
system("/sbin/swapon /dev/ide/host0/bus0/target0/lun0/part1"); // Mount SWAP
system("/bin/mount -t ext3 /dev/ide/host0/bus0/target0/lun0/part2 /hdd"); // Mount /hdd as EXT3
}

Inisilisation Part


printf("[ALL-IN-WONDER MENU] Clean up and unmount"); // Debug Message
system("umount -f /hdd"); // Unmount /hdd
system("swapoff /dev/ide/host0/bus0/target0/lun0/part1"); // Unmount SWAP
system("sleep 3");
/* I have no idea on how to implement this
sfdisk /dev/ide/host0/bus0/target0/lun0/disc << EOF // Create the Partition
,128,S
,,L
EOF
*/
// IF SWAP IS ENABLED CREAT SWAP
printf("[ALL-IN-WONDER MENU] Creating Swap Partition");
system("mkswap /dev/ide/host0/bus0/target0/lun0/part1"); // Sets up the swap area on device
// IF XFS
printf("[ALL-IN-WONDER MENU] Creating XFS filesystem");
system("/sbin/mkfs.xfs -l version=2 -f /dev/ide/host0/bus0/target0/lun0/part2"); // Construct the XFS filesystem
printf("[ALL-IN-WONDER MENU] Adding XFS module to kernel");
system("insmod xfs"); // Installs the xfs module in the running kernel
printf("[ALL-IN-WONDER MENU] Mounting /hdd as XFS");
system("/bin/mount -t xfs /dev/ide/host0/bus0/target0/lun0/part2 /hdd"); // Mount /hdd as XFS
// IF EXT2
printf("[ALL-IN-WONDER MENU] Creating EXT2 filesystem");
system("/sbin/mkfs.ext2 -T largefile -m0 /dev/ide/host0/bus0/target0/lun0/part2"); // Construct the EXT2 filesystem
printf("[ALL-IN-WONDER MENU] Adding ext2 module to kernel");
system("insmod ext2"); // Installs the ext2 module in the running kernel
printf("[ALL-IN-WONDER MENU] Mounting /hdd as EXT2")
system("/bin/mount -t ext2 /dev/ide/host0/bus0/target0/lun0/part2 /hdd"); // Mount /hdd as EXT2
// IF EXT3
printf("[ALL-IN-WONDER MENU] Creating EXT3 filesystem");
system("/sbin/mkfs.ext3 -T largefile -m0 /dev/ide/host0/bus0/target0/lun0/part2"); // Construct the EXT3 filesystem
printf("[ALL-IN-WONDER MENU] Adding JBD and EXT3 modules to kernel");
system("insmod jbd"); // Installs the jbd module in the running kernel
system("insmod ext3"); // Installs the ext3 module in the running kernel
printf("[ALL-IN-WONDER MENU] Mounting /hdd as EXT3")
system("/bin/mount -t ext3 /dev/ide/host0/bus0/target0/lun0/part2 /hdd"); // Mount /hdd as EXT3
// ONLY IF SWAP IS ENABLED
printf("[ALL-IN-WONDER MENU] Mounting SWAP Partition");
system("/sbin/swapon /dev/ide/host0/bus0/target0/lun0/part1"); // Mount SWAP


Still thinking on a way we can unload modules we don?t need from the kernel

P.S. this modifies /etc/fstab so if you using squshfs we will need to ln ?s /etc/fstab /var/etc/fstab

Speedy2206
18-03-2007, 11:26 PM
Still thinking on a way we can unload modules we don?t need from the kernel
P.S. this modifies /etc/fstab so if you using squshfs we will need to ln ?s /etc/fstab /var/etc/fstab

I didnt like the idea of having to "touch" files just to determine what tasks should be performed. So I came up with the idea to replace the entire coding in rCs with just one single line:

/bin/loadsupport

Loadsupport is a standalone file which is run independently from Neutrino. The code for it is as follows...

loadsupport.cpp:

/* Quick standalone tool to determine which cam needs to be loaded, and
whether or not the IDE support should be loaded
- Speedy2206 */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
int main()
{
int idestatus = 0;
int activesoftcam = 0;
FILE* fdconf = fopen("/var/tuxbox/config/neutrino.conf", "r");
if(fdconf)
{
char buffer[120];
while(fgets(buffer, 120, fdconf)!=NULL)
{
sscanf(buffer, "allinwonder_idestatus=%i", idestatus);
sscanf(buffer, "allinwonder_activesoftcam=%i", activesoftcam);
}
fclose(fdconf);
}
if (idestatus == 0) // IDE Functionality is Disabled (dont load kernel stuff)
{
printf("[LOAD-SUPPORT] IDE Support Disabled\n");
}
else
{ // IDE Functionality is Enabled (load everything)
printf("[LOAD-SUPPORT] IDE Support Enabled\n");
system("insmod ide-core.o");
system("insmod dboxide.o");
system("insmod ide-detect.o");
system("insmod ide-disk.o");
if (idestatus == 1) // XFS FileSystem
system("insmod xfs.o");
if (idestatus == 2) // EXT2 FileSystem
system("insmod ext2.o");
if (idestatus == 3) // EXT3 FileSystem
system("insmod jbd.o");
system("insmod ext3.o");
}
if (activesoftcam == 0) // No Softcam
printf("[LOAD-SUPPORT] No Softcam Configured\n");
if (activesoftcam == 1) // Evocamd
printf("[LOAD-SUPPORT] Starting Evocamd\n");
system("/var/bin/evocamd &");
if (activesoftcam == 2) // Mgcamd
printf("[LOAD-SUPPORT] Starting Mgcamd\n");
system("/var/bin/mgcamd &");
if (activesoftcam == 3) // Newcamd
printf("[LOAD-SUPPORT] Starting Newcamd\n");
system("/var/bin/newcamd &");

return 1;
}
Basically, loadsupport reads the neutrino.conf file, where the All-in-Wonder menu has already saved its values.
It looks at the value for "allinwonder_idestatus", and determines what to do next.

If the value = 0, then this means that the user wants to disable IDE support. In this case, no files are loaded for IDE.
However, if the value is > 1, then this means that the user has enabled the IDE support, and we load the correct files.

Same goes for the cams.

Using this command clears up both rCs andstart_neutrino. It must be added before processing fstab.

The mounting itself is all done by fstab, so we dont require any coding for it whatsoever :)

Compiled file and source code attached.

Speedy2206
19-03-2007, 12:13 AM
..but.. it doesnt work yet lol. So stay tuned :)

Speedy2206
19-03-2007, 12:40 AM
OK, attached version is tested and working. Includes sourcecode and ready-to-go binary.

Now includes the addition of detecting the need for a swap.

(We'll tidy this thread up soon, but just wanted to update everyone along the way)

Speedy2206
19-03-2007, 02:23 AM
Latest screenshot:

To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. Just waiting for nitr8 to give me further improvements/suggestions/bugfixes and then the updated source should be released :)

nitr8
19-03-2007, 08:41 AM
Right, here goes:

Firstly I must say a massive thanks to Speedy2206 for all his hard work and efforts. Secondly I would like to explain what we have done in the IDE section.

scruff1963 pointed out a valid point that all IDE images load the modules on boot, I checked a couple of images and all the rcS files include the IDE modules. This wastes memory for users without IDE support and also slows down boot up my a few milliseconds or maybe a second. To Eliminate this problem Speedy2206 had suggested the loadsupport so we decided to load the modules as necessary. Not only now do none IDE users benefit but so do IDE users because it also only loads the modules you require into the kernel.



if (idestatus == disabled)
{
printf("[LOAD-SUPPORT] IDE Support Disabled\n");
}
else
{ printf("[LOAD-SUPPORT] IDE Support Enabled\n");
system("insmod ide-core.o");
system("insmod dboxide.o");
system("insmod ide-detect.o");
system("insmod ide-disk.o");
if (idestatus == XFS) system("insmod xfs.o");
if (idestatus == EXT2) system("insmod ext2.o");
if (idestatus == EXT3) system("insmod jbd.o");
system("insmod ext3.o");
}


We had the mounting of the disk done here but speedy seems to have to have removed it. I think putting the mounting back here eliminates the need to add the relevent info into /ect/fstab wich will also help squshfs images. We can also add that if swap is selected mount that. That also removes the need for a /var/etc/.swap file  I guss to look like this:



sscanf(buffer, "allinwonder_ideswap=%i",ideswap);

if (idestatus == disabled)
{
printf("[LOAD-SUPPORT] IDE Support Disabled\n");
}
else
{ printf("[LOAD-SUPPORT] IDE Support Enabled\n");
system("insmod ide-core.o");
system("insmod dboxide.o");
system("insmod ide-detect.o");
system("insmod ide-disk.o");
if (idestatus == XFS) system("insmod xfs.o");
system("/bin/mount -t xfs /dev/ide/host0/bus0/target0/lun0/part2 /hdd");
if (idestatus == EXT2) system("insmod ext2.o");
system("/bin/mount -t ext2 /dev/ide/host0/bus0/target0/lun0/part2 /hdd");
if (idestatus == EXT3) system("insmod jbd.o");
system("insmod ext3.o");
system("/bin/mount -t ext2 /dev/ide/host0/bus0/target0/lun0/part2 /hdd");
if (ideswap == ON)
system("/sbin/swapon /dev/ide/host0/bus0/target0/lun0/part1");
}


Then we wloud need nothing IDE related in fstab nore anything in rcS IDE or swap related 

For the inisilatation part what we have done is copy the scripts simmeler that on commando7 that we got permission from JTG to use. What theis does in a nutshell is:



### Clean up and Unmount
rm /var/etc/.ext2 /var/etc/.ext3 /var/etc/.xfs
umount /hdd
swapoff /dev/ide/host0/bus0/target0/lun0/part1
sleep 3
sfdisk /dev/ide/host0/bus0/target0/lun0/disc << EOF
,128,S
,,L
EOF
### HDD Initialis
## Only if Swap is enabled
mkswap /dev/ide/host0/bus0/target0/lun0/part1
## XFS Selected the
/sbin/mkfs.xfs -l version=2 -f /dev/ide/host0/bus0/target0/lun0/part2
insmod xfs
/bin/mount -t xfs /dev/ide/host0/bus0/target0/lun0/part2 /hdd

## EXT2
/sbin/mkfs.ext2 -T largefile -m0 /dev/ide/host0/bus0/target0/lun0/part2
insmod ext2
/bin/mount -t ext2 /dev/ide/host0/bus0/target0/lun0/part2 /hdd

## EXT3 Selected then
/sbin/mkfs.ext3 -T largefile -m0 /dev/ide/host0/bus0/target0/lun0/part2
insmod jbd
insmod ext3
/bin/mount -t ext3 /dev/ide/host0/bus0/target0/lun0/part2 /hdd
## If swap enabled mount that too
/sbin/swapon /dev/ide/host0/bus0/target0/lun0/part1


I will think on what else we could add and update you guys once speedy and I have spoken again.

What do you guys think of the above thou?
--me

pt-1
19-03-2007, 08:55 AM
Some guys on the Tuxbox Board are also playing with the IDE Menu as the JtG team has not yet officially checked anything in.

dbox2 / linux :: Thema anzeigen - Men? f?r IDE-Configuration (http://tuxbox-forum.dreambox-fan.de/forum/viewtopic.php?p=328068#328068)

As an example the choose this part of code

#define OSD_STATUS_OPTIONS_COUNT 3
const CMenuOptionChooser::keyval OSD_STATUS_OPTIONS[OSD_STATUS_OPTIONS_COUNT] =
{
{ 0, LOCALE_COLORMENU_OSD_NORMAL },
{ 1, LOCALE_COLORMENU_OSD_BOTTOM },
{ 2, LOCALE_COLORMENU_OSD_OFF }
};

to get this kind of result:


#define IDE_SETTING_FILESYSTEM_OPTION_COUNT 3
const CMenuOptionChooser::keyval IDE_SETTING_FILESYSTEM_OPTIONS[IDE_SETTING_FILESYSTEM_OPTION_COUNT] =
{
{ 0, LOCALE_OPTIONS_EXT2 },
{ 1, LOCALE_OPTIONS_EXT3 },
{ 2, LOCALE_OPTIONS_XFS }
};
.
.
driverSettingsIDE.addItem(new CMenuOptionChooser(LOCALE_DRIVERSETTINGS_IDEMENU_F S, &g_settings.ide_fs_switch, IDE_SETTING_FILESYSTEM_OPTIONS, IDE_SETTINGS_FILESYSTEM_OPTION_COUNT, true, ConsoleDestinationChanger));

That fellow is now struggeling with g_settings.ide_fs_switch and to check if a flag is set or not.

Would you mind if I post your results ..?

nitr8
19-03-2007, 12:22 PM
I think we should hold on with the IDE section as za germans are beating us with there now :) i also like there implementation and they have taken into consideration about only loading modules as needed.

This should also get checked into CVS  so what u think let’s wait till then? They are also looking at what we have done, and for example took my comment that was comment to me by scruff (CREDIT TO HIM :p) about only loading the necessary modules into the kernel when needed.


http://www.team-commando.co.uk/posts/hdd_men.jpg

--me

nitr8
19-03-2007, 01:03 PM
see here dbox2 / linux :: View topic - Entwurf: IDE Men? (http://tuxbox-forum.dreambox-fan.de/forum/viewtopic.php?p=328120#328120) for code.

--me

Speedy2206
19-03-2007, 04:11 PM
It looks like the source code has been updated since the above screenshot was taken.
I have compiled the code and rearranged all the locales properly, and translated into
english. The menu now looks like this:

http://i37.photobucket.com/albums/e91/liamcrayden/hddsetup1.jpg

... Obviously, I don't have an IDE mod, so all the details are blank. If you wanna
give the menu a go then the binary and locale files are attached :)

Liam

nitr8
19-03-2007, 08:49 PM
here is it with IDE, will post the rcS later

http://www.team-commando.co.uk/posts/hd-mmc.bmp

Speedy2206
19-03-2007, 09:29 PM
Some feedback on the IDE menu posted above..
.. it seems to be too wide??
Would look nicer if it could be shortened slightly I think :)

bobsylas
19-03-2007, 11:48 PM
I just compiled an image with the all-in-wonder diffs & the customise_menu diffs & is looking good but every time I apply the ukcvs-clean diffs my ubuntu stops on errors after it has made two 128 kb jffs2.flfs files ?

nj2006
19-03-2007, 11:54 PM
I just compiled an image with the all-in-wonder diffs & the customise_menu diffs & is looking good but every time I apply the ukcvs-clean diffs my ubuntu stops on errors after it has made two 128 kb jffs2.flfs files ?

the uk-cvs diffs wont patch with the wonder diffs & the customise_menu diffs so it will give you errors .

bobsylas
19-03-2007, 11:59 PM
Thanks m8 I know there was a problem with the ukcvs diffs so speedy did some editing & renamed it to ukcvs-clean diffs but I cant get this to work when it is the only diff applied.

Speedy2206
20-03-2007, 12:13 AM
Two problems with the UK-CVS diffs:

1. The structure in neutrino.cpp has changed in the CVS since the diffs were created and this therefore makes 'rejects' in the neutrino.cpp file (this is the case with both the original ukcvs diffs and the ukcvs-clean diffs)

2. The ukcvs-clean diffs missed out one important file.


The solution? Well I'm just busy combining all the diffs into one right now, so a mega-diff will be available to download shortly :)

nj2006
20-03-2007, 12:14 AM
what error code is it comming back with m8. not that i can read it but somone else might.

bobsylas
20-03-2007, 12:20 AM
Sorry mate I wasnt having a go at anyone
The dbox has become my hobby & im trying to learn
I just post my results & hope to be good at this some day.

nj2006
20-03-2007, 12:21 AM
Two problems with the UK-CVS diffs:

1. The structure in neutrino.cpp has changed in the CVS since the diffs were created and this therefore makes 'rejects' in the neutrino.cpp file (this is the case with both the original ukcvs diffs and the ukcvs-clean diffs)

2. The ukcvs-clean diffs missed out one important file.


The solution? Well I'm just busy combining all the diffs into one right now, so a mega-diff will be available to download shortly :)

Dont you think speedy m8 this is the problem with mega diffs it would take time to edit it to work with next cvs update and more work for yourself.

just a thought but if all the diffs were in chunks in the first place we could of left the dw extras and user levels out and used the zapit.diffs and so on .

one combined diff would be usless in a weeks time would it not ?

Speedy2206
20-03-2007, 12:32 AM
@NJ,
I think the time has now arrived where patches are becoming more and more useless because there is not a 'central base' to work from. Different people use different patches and hardly any of them work with each other.

We all know by now that none of our changes will appear in the CVS, and therefore everybody has a different system that they are working from. We actually need a UK CVS before we can go anywhere fast.

If we had a UK CVS then everybody would be working from the same system to start with, therefore making patches more feasible. The way that things are going now; the only way that a user could possibly fit all their mods and patches in is to either create a mega diff with everything all in, or to manually edit each and every file.

The disadvantage with the idea of the mega diff is, as you have already pointed out, it soon becomes very useless. As more and more changes are made to the original CVS, more and more mega diffs will fail to patch.

The disadvantage with manually editing each file is that it is time consuming and is not for the faint of heart. I guess you would also need some experience as to where things go, etc.

In my opinion we desperately need a UK CVS :(:(:(:(:(
Changes from the original german CVS could be implemented and propogated to the UK CVS after they have been modified so that they work with UK patches.

nitr8
20-03-2007, 12:38 AM
speedy

chat to me you know where re uk cvs.

--me

nj2006
20-03-2007, 12:48 AM
Uk Cvs

who funds it ?
what is needed ?
who has final say on check in?
who mentains it ?

wouldnt a uk cvs have bandwith needs ?

Speedy2206
20-03-2007, 12:56 AM
Uk Cvs
who funds it ?
what is needed ?
who has final say on check in?
who mentains it ?
wouldnt a uk cvs have bandwith needs ?

Some interesting questions there.

cydine
20-03-2007, 03:09 PM
I think maintaining a uk cvs would be a ******* of a job.

Simpler to use standard cvs and follow 2 simple rules:

If making large changes to a single file eg neutrino.cpp - adding a menu then just create the changes in a new file and link it appropriately.

No mega diffs - just split them up eg zapit diff, sectionsd diff. much easier to maintain.

Should make life a lot easier. As far as I can see most mods are done to neutrino anyway. That's where the greatest problem lies.

Here's another problem - say there was a uk cvs? I probabably would not use it and continue to use the standard cvs. So I modify the cvs, make a patch and post it on here. Oh, doesn't work with the uk cvs....same problem as we began with.

Not a good idea IMO

Speedy2206
20-03-2007, 09:22 PM
Some good points there about the UK CVS. The one thing I would like to stress tho is that even when you put changes into seperate files, the line in neutrino.cpp which links that seperate file sometimes fails to patch if you're not careful about where your positioning your #include and CMenuForwarder lines.

The three lines above (and the three lines below) your link in neutrino.cpp need to be kept intact. If you add too many mods and they all use that same (or similar/near) location then the neutrino.cpp gets rejects.

Maybe the way forward is to leave out these links in neutrino.cpp (or whatever file it may be that is causing problems), and educate users (or at least give some guidance) as to what additional manual changes they need to make.

In the example of a menu (the bulk of which goes inside a seperate file), a user could be told that they need to include the following line in neutrino.cpp:


#include my_menu.h

... and then further on, they need to add a line similar to this below; and that it is up to the user to decide where they want to put it:


mymenu.additem(new CMenuForwarder(LOCALE_BLAH.......

Of course this requires the person patching the diffs to have a basic knowledge of where things should go etc.

Speedy2206
24-03-2007, 12:19 AM
http://i37.photobucket.com/albums/e91/liamcrayden/aiw_menu2.jpg

All-in-Wonder Menu v1.2 released: To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. Fixed uCode changing (using a cp command instead of ln)
- "Apply uCode" now has a confirmation message
- ROM Menu added with thanks to NJ2006 for his contribution

.. not compatible when used in conjunction with Customize Menu

bobsylas
27-03-2007, 09:09 PM
Is there now a new release called the All-in-Wonder Menu v1.3 ?

cheers

bobsylas
28-03-2007, 10:27 PM
@speedy looked on your web site but the latest version is

al-in-wonder menu v 1.2 so is there not a v 1.3 ?

also I cant find the ide patch or have you not put it out yet ?

cheers

Speedy2206
28-03-2007, 10:32 PM
Its not up yet mate as I havent done the diffs for it [need to strip some blackcomb-specific bits out of it first]. I will sort out the diffs for the IDE menu now :) Probs be around 40 minutes if I do a test compile to make sure they are OK.

bobsylas
28-03-2007, 10:39 PM
Cheers m8 dont push cos I wont be trying it till tommorrow

Speedy2206
28-03-2007, 11:11 PM
An untested version of the IDE diffs is posted on njlworld.com/~speedy. I'm compiling as we speak and no errors so far, but it hasnt got to the main neutrino bit yet. If successful I will post back to let you know. If not then I'll just upload the fixed diffs :)

Speedy2206
29-03-2007, 12:10 AM
Tested it on a clean compile and it worked 100%.
Tested it with the UKCVS diffs and it didnt like some of it.

So it works on clean compile 100%
To get it working with the UKCVS diffs you have to modify a few files manually:

1. apps/tuxbox/neutrino/src/gui/Makefile.am
add ide_menu.cpp to the list somewhere (it can be anywhere)

2. apps/tuxbox/neutrino/src/neutrino.cpp
Include the following line somewhere in your settings menu:
mainSettings.addItem(new CMenuForwarder(LOCALE_MAINSETTINGS_HDD, true, NULL, new IdeConfWidget(), NULL, CRCInput::RC_0));


I think thats all.
If you look at the ".rej" files that the diff makes then you can see which bits of the patch failed, and then you can manually add them in. But following the above instructions should be enough.

REMEMBER TO BACKUP ANY FILES YOU MANUALLY MODIFY.

bobsylas
29-03-2007, 10:08 PM
Include the following line somewhere in your settings menu:
mainSettings.addItem(new CMenuForwarder(LOCALE_MAINSETTINGS_HDD, true, NULL, new IdeConfWidget(), NULL, CRCInput::RC_0));
not sure about this ? can I put it anywhere in the neutrino.cpp because you mention "settings menu" ive been looking at the file but am unsure or if you could give me an approx line number
cheers

Speedy2206
29-03-2007, 11:18 PM
Approximately line 1834 if you have the customization menu added (which is in the UK CVS diffs so I guess you have)

Look for this:

int settings_shortcut = 0;

... and directly underneath, add this:

mainSettings.addItem(new CMenuForwarder(LOCALE_MAINSETTINGS_HDD, true, NULL, new IdeConfWidget(), NULL, CRCInput::convertDigitToKey(settings_shortcut++))) ;

Save the file and your done.
Make sure that you done the edit to Makefile.am tho :)


If you DONT have the customization menu then look at approx line 1777, for the following text:


mainSettings.addItem(GenericMenuSeparator);
mainSettings.addItem(GenericMenuBack);
mainSettings.addItem(GenericMenuSeparatorLine);

Directly underneath that, add:

mainSettings.addItem(new CMenuForwarder(LOCALE_MAINSETTINGS_HDD, true, NULL, new IdeConfWidget(), NULL, CRCInput::RC_0));

bobsylas
29-03-2007, 11:37 PM
Cheers mate compiling now :zoom:

bobsylas
30-03-2007, 09:46 PM
Tried this three times now & keeps coming up with errors


ps/SIlanguage.Tpo"; exit 1; fi
/bin/sh ../../libtool --tag=CXX --mode=link powerpc-tuxbox-linux-gnu-g++ -Wall -mcpu=823 -pipe -Os -Wl,-O1 -o sectionsd sectionsd.o dmxapi.o debug.o dmx.o SIsections.o SIevents.o SIutils.o xmlinterface.o dvbstring.o SIlanguage.o -L//home/ubuntu/tuxbox-cvs/cdkroot/lib -ltuxbox-connection -L//home/ubuntu/tuxbox-cvs/cdkroot/lib -ltuxbox-configfile -L//home/ubuntu/tuxbox-cvs/cdkroot/lib -ltuxbox-eventserver -L//home/ubuntu/tuxbox-cvs/cdkroot/lib -ltuxbox-xmltree -lpthread
powerpc-tuxbox-linux-gnu-g++ -Wall -mcpu=823 -pipe -Os -Wl,-O1 -o sectionsd sectionsd.o dmxapi.o debug.o dmx.o SIsections.o SIevents.o SIutils.o xmlinterface.o dvbstring.o SIlanguage.o -L//home/ubuntu/tuxbox-cvs/cdkroot/lib //home/ubuntu/tuxbox-cvs/cdkroot/lib/libtuxbox-connection.so //home/ubuntu/tuxbox-cvs/cdkroot/lib/libtuxbox-configfile.so //home/ubuntu/tuxbox-cvs/cdkroot/lib/libtuxbox-eventserver.so //home/ubuntu/tuxbox-cvs/cdkroot/lib/libtuxbox-xmltree.so -lpthread -Wl,--rpath -Wl,//home/ubuntu/tuxbox-cvs/cdkroot/lib -Wl,--rpath -Wl,//home/ubuntu/tuxbox-cvs/cdkroot/lib
make[4]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/sectionsd'
Making all in timerd
make[4]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/timerd'
if powerpc-tuxbox-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib -I//home/ubuntu/tuxbox-cvs/cdkroot/include/tuxbox/connection -I//home/ubuntu/tuxbox-cvs/cdkroot/include/tuxbox -I//home/ubuntu/tuxbox-cvs/cdkroot/include/tuxbox -I/home/ubuntu/tuxbox-cvs/driver/dvb/include -I/home/ubuntu/tuxbox-cvs/driver/include -Wall -mcpu=823 -pipe -Os -MT timerd.o -MD -MP -MF ".deps/timerd.Tpo" -c -o timerd.o timerd.cpp; \
then mv -f ".deps/timerd.Tpo" ".deps/timerd.Po"; else rm -f ".deps/timerd.Tpo"; exit 1; fi
if powerpc-tuxbox-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib -I//home/ubuntu/tuxbox-cvs/cdkroot/include/tuxbox/connection -I//home/ubuntu/tuxbox-cvs/cdkroot/include/tuxbox -I//home/ubuntu/tuxbox-cvs/cdkroot/include/tuxbox -I/home/ubuntu/tuxbox-cvs/driver/dvb/include -I/home/ubuntu/tuxbox-cvs/driver/include -Wall -mcpu=823 -pipe -Os -MT timermanager.o -MD -MP -MF ".deps/timermanager.Tpo" -c -o timermanager.o timermanager.cpp; \
then mv -f ".deps/timermanager.Tpo" ".deps/timermanager.Po"; else rm -f ".deps/timermanager.Tpo"; exit 1; fi
/bin/sh ../../libtool --tag=CXX --mode=link powerpc-tuxbox-linux-gnu-g++ -Wall -mcpu=823 -pipe -Os -Wl,-O1 -o timerd timerd.o timermanager.o ../../lib/sectionsdclient/libsectionsdclient.la -L//home/ubuntu/tuxbox-cvs/cdkroot/lib -ltuxbox-configfile -L//home/ubuntu/tuxbox-cvs/cdkroot/lib -ltuxbox-connection -L//home/ubuntu/tuxbox-cvs/cdkroot/lib -ltuxbox-eventserver -L//home/ubuntu/tuxbox-cvs/cdkroot/lib -lzapitclient -lpthread
powerpc-tuxbox-linux-gnu-g++ -Wall -mcpu=823 -pipe -Os -Wl,-O1 -o .libs/timerd timerd.o timermanager.o ../../lib/sectionsdclient/.libs/libsectionsdclient.so -L//home/ubuntu/tuxbox-cvs/cdkroot/lib //home/ubuntu/tuxbox-cvs/cdkroot/lib/libtuxbox-configfile.so //home/ubuntu/tuxbox-cvs/cdkroot/lib/libtuxbox-connection.so //home/ubuntu/tuxbox-cvs/cdkroot/lib/libtuxbox-eventserver.so //home/ubuntu/tuxbox-cvs/cdkroot/lib/libzapitclient.so -lpthread -Wl,--rpath -Wl,//home/ubuntu/tuxbox-cvs/cdkflash/root-neutrino/lib -Wl,--rpath -Wl,//home/ubuntu/tuxbox-cvs/cdkroot/lib
creating timerd
make[4]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/timerd'
make[4]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons'
make[3]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons'
Making all in src
make[3]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src'
Making all in gui
make[4]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src/gui'
Makefile:682: *** missing separator. Stop.
make[4]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src/gui'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino'
make: *** [//home/ubuntu/tuxbox-cvs/cdkflash/root-neutrino] Error 2


cheers

cydine
30-03-2007, 09:54 PM
Looks like there's something wrong with the bit you added to the makefile.

Did you add the ide_menu.cpp on a new line? Maybe missing the \ on the previous line?

Post the makefile if you're still stuck.

bobsylas
30-03-2007, 10:00 PM
Looks like there's something wrong with the bit you added to the makefile.
Did you add the ide_menu.cpp on a new line? Maybe missing the \ on the previous line?
Post the makefile if you're still stuck.
thanks mate here it is

Speedy2206
30-03-2007, 10:09 PM
Sorry mate I could have explained the makefile edit a bit better. I've done the correct mod to the file as attached below. Basically ide_menu.cpp cant be on a seperate line and must be including within libneutrino_gui_a_SOURCES. My fault for not mentioning where abouts it should go :)

cydine
30-03-2007, 10:09 PM
Yeah, you've got ide_menu.cpp in the wrong place. It needs to be somewhere after libneutrino_gui_a_SOURCES. This is the section that tells the compiler which files to look for when building.

Try putting ide_menu.cpp after movieinfo.cpp

EDIT: Gah, you type faster than me Speedy.....

bobsylas
30-03-2007, 10:19 PM
Just for info after I replace the file do I need to configure again or not

cheers

Speedy2206
30-03-2007, 10:20 PM
Just for info after I replace the file do I need to configure again or not
cheers

No you dont :)
Just replace the file and then run the "make flash-neutrino-jffs2-all" or whatever make command you used; and it will continue from the point where it failed.

bobsylas
30-03-2007, 10:33 PM
Replaced file then
make flash-neutrino-jffs2-2x
then I get this

ubuntu@ubuntu:~/tuxbox-cvs/cdk$ make flash-neutrino-jffs2-2x
make -C /home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino all install prefix=//home/ubuntu/tuxbox-cvs/cdkflash/root-neutrino
make[1]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino'
make all-recursive
make[2]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino'
Making all in lib
make[3]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/lib'
Making all in controldclient
make[4]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/lib/controldclient'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/lib/controldclient'
Making all in sectionsdclient
make[4]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/lib/sectionsdclient'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/lib/sectionsdclient'
Making all in timerdclient
make[4]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/lib/timerdclient'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/lib/timerdclient'
Making all in irsend
make[4]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/lib/irsend'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/lib/irsend'
make[4]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/lib'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/lib'
make[3]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/lib'
Making all in daemons
make[3]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons'
Making all in controld
make[4]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/controld'
Making all in driver
make[5]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/controld/driver'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/controld/driver'make[5]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/controld'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/controld'
make[4]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/controld'
Making all in nhttpd
make[4]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/nhttpd'
Making all in yhttpd_core
make[5]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/nhttpd/yhttpd_core'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/nhttpd/yhttpd_core'
Making all in yhttpd_mods
make[5]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods'
Making all in tuxboxapi
make[5]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/nhttpd/tuxboxapi'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/nhttpd/tuxboxapi'
Making all in web
make[5]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/nhttpd/web'
Making all in images
make[6]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/nhttpd/web/images'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/nhttpd/web/images'
Making all in scripts
make[6]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/nhttpd/web/scripts'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/nhttpd/web/scripts'
make[6]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/nhttpd/web'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/nhttpd/web'
make[5]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/nhttpd/web'
make[5]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/nhttpd'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/nhttpd'
make[4]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/nhttpd'
Making all in sectionsd
make[4]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/sectionsd'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/sectionsd'
Making all in timerd
make[4]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/timerd'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons/timerd'
make[4]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons'
make[3]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/daemons'
Making all in src
make[3]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src'
Making all in gui
make[4]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src/gui'
Makefile:682: *** missing separator. Stop.
make[4]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src/gui'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino'
make: *** [//home/ubuntu/tuxbox-cvs/cdkflash/root-neutrino] Error 2
ubuntu@ubuntu:~/tuxbox-cvs/cdk$


could this be something I edited in the neutrino.cpp

renwich
30-03-2007, 11:25 PM
make[4]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src/gui'
Makefile:682: *** missing separator. Stop.
make[4]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src/gui'


looks like your error is still in the makefile

Speedy2206
31-03-2007, 01:07 AM
Are you sure the file was overwritten?
Delete the Makefile.am file from src/gui and then upload the new copy. It should then work OK.

bobsylas
31-03-2007, 04:50 PM
Still cant get this to work :(

was wondering if there should be any .cpp or .h files to accompany the ide menu diffs ?

cheers

thanks to nitr8 for pointing this out

Speedy2206
31-03-2007, 05:31 PM
DOH! You're right... I forgot to make the diffs generate the ide_setup.cpp and ide_setup.h files! I've attached them below; they go in neutrino/src/gui in the same place as Makefile.am

Thanks for pointing that out; I dunno why I didnt realize myself.
Note that the makefile.am will still need to be a working version tho in order to compile

tazo101
31-03-2007, 05:31 PM
Wondered what you needed to do thanks

bobsylas
01-04-2007, 06:35 AM
now its stopping on this error


make[5]: *** No rule to make target `ide_menu.o', needed by `libneutrino_gui.a'. Stop.


any ideas ?

Speedy2206
01-04-2007, 12:42 PM
Sounds like something to do with Makefile.am again. Make sure that neutrino.cpp has a line near the top that says:

#include "gui/ide_setup.h"

There's a whole bunch of include lines so you cant miss it. If its not there then add it (but the patch SHOULD have put it there anyway). Once you've checked that, ensure that ide_setup.cpp and ide_setup.h ARE in apps/tuxbox/neutrino/src/gui, and nowhere else. Then ensure that the apps/tuxbox/neutrino/src/gui/Makefile.am has the IDE_SETUP.CPP line included. Re-run the compile using make flash-neutrino-jffs2-2x, making sure that the time and date on your system are correct.

bobsylas
02-04-2007, 07:42 AM
Sounds like something to do with Makefile.am again. Make sure that neutrino.cpp has a line near the top that says:
#include "gui/ide_setup.h"
There's a whole bunch of include lines so you cant miss it. If its not there then add it (but the patch SHOULD have put it there anyway). Once you've checked that, ensure that ide_setup.cpp and ide_setup.h ARE in apps/tuxbox/neutrino/src/gui, and nowhere else. Then ensure that the apps/tuxbox/neutrino/src/gui/Makefile.am has the IDE_SETUP.CPP line included. Re-run the compile using make flash-neutrino-jffs2-2x, making sure that the time and date on your system are correct.
Thanks mate everything checks out exept this

ensure that the apps/tuxbox/neutrino/src/gui/Makefile.am has the IDE_SETUP.CPP line included
I tried inserting it in several places & each time I get different errors ? so could you put it in for me please ?

nitr8
02-04-2007, 08:18 AM
bobsylas,

you added ide_menu.cpp to your Makedile. Do this and it should do the trick:

apps/tuxbox/neutrino/src/gui/Makefile.am


timeosd.cpp epgplus.cpp epg_menu.cpp ide_setup.cpp \


then under CNeutrinoApp - init main menu add
apps/tuxbox/neutrino/src/neutrino.cpp
In the includes section add


#include "gui/ide_setup.h" /* Include IDE Menu */




/* IDE Menu */
mainSettings.addItem(new CMenuForwarder(LOCALE_MAINSETTINGS_HDD, true, NULL, new IdeConfWidget(), NULL, CRCInput::convertDigitToKey(settings_shortcut++))) ;


--me

Speedy2206
02-04-2007, 01:34 PM
If you're still getting errors then let us know the exact message - it'll tell us almost instantly whats wrong :)

bobsylas
02-04-2007, 06:52 PM
Made these alterations & now stops on a different error again:o
I dont seem to be very good at this

Speedy2206
02-04-2007, 07:07 PM
Its still down to that makefile.am :(
Try renaming src/gui/Makefile to Makefile.old
Then delete makefile.am
Then upload a fresh copy of the modified makefile.am in its place.

bobsylas
02-04-2007, 07:09 PM
I tried that a couple of times
could it be where i put

timeosd.cpp epgplus.cpp epg_menu.cpp ide_setup.cpp \

not sure where to put it so tried a few places


SUBDIRS = widget bedit

INCLUDES = \
-I$(top_srcdir)/daemons \
-I$(top_srcdir)/src \
@CURL_CFLAGS@ \
@EVENTSERVER_CFLAGS@ \
@FREETYPE_CFLAGS@ \
@NET_CFLAGS@ \
@ZAPIT_CFLAGS@ \
@MPEGTOOLS_CFLAGS@ \
@TUXTXT_CFLAGS@ \
-I$(top_srcdir)/lib

noinst_LIBRARIES = libtimerlist.a libneutrino_gui.a libneutrino_gui2.a

libneutrino_gui_a_SOURCES = \
bouquetlist.cpp channellist.cpp eventlist.cpp pluginlist.cpp \
color.cpp favorites.cpp sleeptimer.cpp screensetup.cpp \
epgview.cpp infoviewer.cpp scan.cpp update.cpp extras_menu.cpp rom_menu.cpp \
filebrowser.cpp audioplayer.cpp nfs.cpp pictureviewer.cpp \
movieplayer.cpp rc_lock.cpp bookmarkmanager.cpp \
timeosd.cpp epgplus.cpp epg_menu.cpp ide_menu.cpp \
streaminfo2.cpp plugins.cpp imageinfo.cpp \
audio_select.cpp customize_menu.cpp \
timeosd.cpp epgplus.cpp epg_menu.cpp ide_setup.cpp \
moviebrowser.cpp movieinfo.cpp
# experimental_menu.cpp
# ch_mosaic.cpp

libneutrino_gui2_a_SOURCES = \
alphasetup.cpp motorcontrol.cpp

libtimerlist_a_SOURCES = \
timerlist.cpp

#AM_CPPFLAGS = -DSKIP_CA_STATUS

trying this now
and got

then mv -f ".deps/epgplus.Tpo" ".deps/epgplus.Po"; else rm -f ".deps/epgplus.Tpo"; exit 1; fi
if powerpc-tuxbox-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../daemons -I../../src -I//home/ubuntu/tuxbox-cvs/cdkroot/include/tuxbox -I//home/ubuntu/tuxbox-cvs/cdkroot/include/freetype2 -I//home/ubuntu/tuxbox-cvs/cdkroot/include/tuxbox -I//home/ubuntu/tuxbox-cvs/cdkroot/include/tuxbox -I//home/ubuntu/tuxbox-cvs/cdkroot/include/tuxbox/mpegtools -I//home/ubuntu/tuxbox-cvs/cdkroot/include -I/home/ubuntu/tuxbox-cvs/driver/include -I../../lib -I/home/ubuntu/tuxbox-cvs/driver/dvb/include -I/home/ubuntu/tuxbox-cvs/driver/include -Wall -mcpu=823 -pipe -Os -MT epg_menu.o -MD -MP -MF ".deps/epg_menu.Tpo" -c -o epg_menu.o epg_menu.cpp; \
then mv -f ".deps/epg_menu.Tpo" ".deps/epg_menu.Po"; else rm -f ".deps/epg_menu.Tpo"; exit 1; fi
make[5]: *** No rule to make target `ide_menu.o', needed by `libneutrino_gui.a'. Stop.
make[5]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src/gui'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src/gui'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino'
make: *** [//home/ubuntu/tuxbox-cvs/cdkflash/root-neutrino] Error 2
ubuntu@ubuntu:~/tuxbox-cvs/cdk$

nitr8
02-04-2007, 08:24 PM
is epg_menu.cpp and epg_menu.h in
/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src/gui/

--me

bobsylas
02-04-2007, 08:29 PM
is epg_menu.cpp and epg_menu.h in
/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src/gui/
--me
yes m8 just checked

are ide_setup.cpp & ide_menu.cpp the same thing ?
I have ide_setup.cpp & ide_setup.h but no ide_menu.cpp

Speedy2206
02-04-2007, 08:43 PM
Found the problem; you've written it twice :)


timeosd.cpp epgplus.cpp epg_menu.cpp ide_menu.cpp \
streaminfo2.cpp plugins.cpp imageinfo.cpp \
audio_select.cpp customize_menu.cpp \
timeosd.cpp epgplus.cpp epg_menu.cpp ide_setup.cpp \

Take out the first instance and it'll compile just fine.

bobsylas
02-04-2007, 08:48 PM
Found the problem; you've written it twice :)


timeosd.cpp epgplus.cpp epg_menu.cpp ide_menu.cpp \
streaminfo2.cpp plugins.cpp imageinfo.cpp \
audio_select.cpp customize_menu.cpp \
timeosd.cpp epgplus.cpp epg_menu.cpp ide_setup.cpp \

Take out the first instance and it'll compile just fine.

cheers mate I noticed this after I posted it & took out the first one tried again & then got loads of ide errors I never got before
am I getting mixed up with ide_setup.cpp & ide_menu.cpp or should they both be used ?
cheers

Speedy2206
02-04-2007, 08:51 PM
Its ide_setup.cpp, there should be nothing about ide_menu.cpp

What are the IDE errors? It sounds just like the locale files now, which is a fix and easy fix.

Getting there! lol

bobsylas
02-04-2007, 08:58 PM
1. apps/tuxbox/neutrino/src/gui/Makefile.am
add ide_menu.cpp to the list somewhere (it can be anywhere)

2. apps/tuxbox/neutrino/src/neutrino.cpp
Include the following line somewhere in your settings menu:
mainSettings.addItem(new CMenuForwarder(LOCALE_MAINSETTINGS_HDD, true, NULL, new IdeConfWidget(), NULL, CRCInput::RC_0));

thanks for clearing that up mate

ubuntu trying again now I will post errors as soon as they come up

cheers

bobsylas
02-04-2007, 09:12 PM
these are the errors I am now getting


-MP -MF ".deps/ide_setup.Tpo" -c -o ide_setup.o ide_setup.cpp; \
then mv -f ".deps/ide_setup.Tpo" ".deps/ide_setup.Po"; else rm -f ".deps/ide_setup.Tpo"; exit 1; fi
ide_setup.cpp:91: error: `LOCALE_HDDSETTINGS_IDE_OFF' was not declared in this scope
ide_setup.cpp:92: error: `LOCALE_HDDSETTINGS_IDE_STD' was not declared in this scope
ide_setup.cpp:93: error: `LOCALE_HDDSETTINGS_IDE_IRQ6' was not declared in this scope
ide_setup.cpp:99: error: `LOCALE_HDDSETTINGS_HDD_FS_XFS' was not declared in this scope
ide_setup.cpp:100: error: `LOCALE_HDDSETTINGS_HDD_FS_EXT3' was not declared in this scope
ide_setup.cpp:101: error: `LOCALE_HDDSETTINGS_HDD_FS_EXT2' was not declared in this scope
ide_setup.cpp: In member function `long unsigned int IdeConfWidget::freeDiskspace(int)':
ide_setup.cpp:242: warning: unused variable 'c'
ide_setup.cpp: In member function `virtual int IdeConfWidget::exec(CMenuTarget*, const std::string&)':
ide_setup.cpp:323: error: `LOCALE_HDDSETTINGS_HDD_FORMAT_MESSAGE' undeclared (first use this function)
ide_setup.cpp:323: error: (Each undeclared identifier is reported only once for each function it appears in.)
ide_setup.cpp:337: error: `LOCALE_HDDSETTINGS_HDD_CHECK_MESSAGE' undeclared (first use this function)
ide_setup.cpp:351: error: `LOCALE_HDDSETTINGS_HDD_TEMP_MESSAGE' undeclared (first use this function)
ide_setup.cpp: In member function `bool IdeConfWidget::Format()':
ide_setup.cpp:495: error: `LOCALE_HDDSETTINGS_HDD' undeclared (first use this function)
ide_setup.cpp:495: error: `LOCALE_HDDSETTINGS_HDD_FORMAT_INFO' undeclared (first use this function)
ide_setup.cpp: In member function `bool IdeConfWidget::Check()':
ide_setup.cpp:561: error: `LOCALE_HDDSETTINGS_HDD' undeclared (first use this function)
ide_setup.cpp:561: error: `LOCALE_HDDSETTINGS_HDD_CHECK_INFO' undeclared (first use this function)
ide_setup.cpp: In member function `void IdeConfWidget::Settings()':
ide_setup.cpp:624: error: `LOCALE_HDDSETTINGS_HDD_INFOS' undeclared (first use this function)
ide_setup.cpp:626: error: `LOCALE_HDDSETTINGS_HDD_MODEL' undeclared (first use this function)
ide_setup.cpp:627: error: `LOCALE_HDDSETTINGS_HDD_CAPACITY' undeclared (first use this function)
ide_setup.cpp:628: error: `LOCALE_HDDSETTINGS_HDD_FREE' undeclared (first use this function)
ide_setup.cpp:629: error: `LOCALE_HDDSETTINGS_HDD_FREEHOURS' undeclared (first use this function)
ide_setup.cpp:630: error: `LOCALE_HDDSETTINGS_HDD_TEMP' undeclared (first use this function)
ide_setup.cpp:634: error: `LOCALE_HDDSETTINGS_IDE' undeclared (first use this function)
ide_setup.cpp:636: error: `LOCALE_HDDSETTINGS_HDD_FS' undeclared (first use this function)
ide_setup.cpp:637: error: `LOCALE_HDDSETTINGS_IDE_SWAP' undeclared (first use this function)
ide_setup.cpp:637: error: `LOCALE_HDDSETTINGS_IDE_SWAP_HELP' undeclared (first use this function)
ide_setup.cpp:637: error: `LOCALE_HDDSETTINGS_IDE_SWAP_STD' undeclared (first use this function)
ide_setup.cpp:639: error: `LOCALE_HDDSETTINGS_HDD_CACHE' undeclared (first use this function)
ide_setup.cpp:640: error: `LOCALE_HDDSETTINGS_HDD_SLEEP' undeclared (first use this function)
ide_setup.cpp:640: error: `LOCALE_HDDSETTINGS_HDD_SLEEP_HELP' undeclared (first use this function)
ide_setup.cpp:640: error: `LOCALE_HDDSETTINGS_HDD_SLEEP_STD' undeclared (first use this function)
ide_setup.cpp:646: error: `LOCALE_HDDSETTINGS_HDD_FORMAT' undeclared (first use this function)
ide_setup.cpp:647: error: `LOCALE_HDDSETTINGS_HDD_CHECK' undeclared (first use this function)
make[5]: *** [ide_setup.o] Error 1
make[5]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src/gui'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src/gui'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino'
make: *** [//home/ubuntu/tuxbox-cvs/cdkflash/root-neutrino] Error 2
ubuntu@ubuntu:~/tuxbox-cvs/cdk$


cheers

Speedy2206
02-04-2007, 10:39 PM
Are you sure you applied the IDE diffs? Have you maybe started the image again by deleting tuxbox-cvs or something like that; and forgotten to re-apply the diffs and only include the files and edits that have been mentioned above?

The errors relate to the locals.h and locals_intern.h files not being patched correctly (if at all). The diff should have done this without any problems.

bobsylas
04-04-2007, 12:31 AM
binned everything & started afresh aplied the diffs the .cpp & .h files & altered the neutrino.cpp & makefile.am
now my ubuntu is looping with this


cd ../.. && /bin/sh /home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/missing --run automake-1.9 --gnu src/gui/Makefile
cd ../.. && /bin/sh ./config.status src/gui/Makefile depfiles
config.status: creating src/gui/Makefile
config.status: executing depfiles commands
make[4]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src/gui'
make[4]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src/gui'
make[4]: Warning: File `Makefile.am' has modification time 7.4e+04 s in the future
cd ../.. && /bin/sh /home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/missing --run automake-1.9 --gnu src/gui/Makefile
cd ../.. && /bin/sh ./config.status src/gui/Makefile depfiles
config.status: creating src/gui/Makefile
config.status: executing depfiles commands
make[4]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src/gui'
make[4]: Entering directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src/gui'
make[4]: Warning: File `Makefile.am' has modification time 7.4e+04 s in the future

Speedy2206
04-04-2007, 01:08 AM
That ones to do with the date/time on your system.

1. Make sure that the date/time on your system is correct.
2. Open and Re-save Makefile.am to make its "modification time" increase
3. Compile again.

bobsylas
04-04-2007, 01:36 AM
Fixed date & time
now back to these errors

-Os -MT ide_setup.o -MD -MP -MF ".deps/ide_setup.Tpo" -c -o ide_setup.o ide_setup.cpp; \
then mv -f ".deps/ide_setup.Tpo" ".deps/ide_setup.Po"; else rm -f ".deps/ide_setup.Tpo"; exit 1; fi
ide_setup.cpp:91: error: `LOCALE_HDDSETTINGS_IDE_OFF' was not declared in this scope
ide_setup.cpp:92: error: `LOCALE_HDDSETTINGS_IDE_STD' was not declared in this scope
ide_setup.cpp:93: error: `LOCALE_HDDSETTINGS_IDE_IRQ6' was not declared in this scope
ide_setup.cpp:99: error: `LOCALE_HDDSETTINGS_HDD_FS_XFS' was not declared in this scope
ide_setup.cpp:100: error: `LOCALE_HDDSETTINGS_HDD_FS_EXT3' was not declared in this scope
ide_setup.cpp:101: error: `LOCALE_HDDSETTINGS_HDD_FS_EXT2' was not declared in this scope
ide_setup.cpp: In member function `long unsigned int IdeConfWidget::freeDiskspace(int)':
ide_setup.cpp:242: warning: unused variable 'c'
ide_setup.cpp: In member function `virtual int IdeConfWidget::exec(CMenuTarget*, const std::string&)':
ide_setup.cpp:323: error: `LOCALE_HDDSETTINGS_HDD_FORMAT_MESSAGE' undeclared (first use this function)
ide_setup.cpp:323: error: (Each undeclared identifier is reported only once for each function it appears in.)
ide_setup.cpp:337: error: `LOCALE_HDDSETTINGS_HDD_CHECK_MESSAGE' undeclared (first use this function)
ide_setup.cpp:351: error: `LOCALE_HDDSETTINGS_HDD_TEMP_MESSAGE' undeclared (first use this function)
ide_setup.cpp: In member function `bool IdeConfWidget::Format()':
ide_setup.cpp:495: error: `LOCALE_HDDSETTINGS_HDD' undeclared (first use this function)
ide_setup.cpp:495: error: `LOCALE_HDDSETTINGS_HDD_FORMAT_INFO' undeclared (first use this function)
ide_setup.cpp: In member function `bool IdeConfWidget::Check()':
ide_setup.cpp:561: error: `LOCALE_HDDSETTINGS_HDD' undeclared (first use this function)
ide_setup.cpp:561: error: `LOCALE_HDDSETTINGS_HDD_CHECK_INFO' undeclared (first use this function)
ide_setup.cpp: In member function `void IdeConfWidget::Settings()':
ide_setup.cpp:624: error: `LOCALE_HDDSETTINGS_HDD_INFOS' undeclared (first use this function)
ide_setup.cpp:626: error: `LOCALE_HDDSETTINGS_HDD_MODEL' undeclared (first use this function)
ide_setup.cpp:627: error: `LOCALE_HDDSETTINGS_HDD_CAPACITY' undeclared (first use this function)
ide_setup.cpp:628: error: `LOCALE_HDDSETTINGS_HDD_FREE' undeclared (first use this function)
ide_setup.cpp:629: error: `LOCALE_HDDSETTINGS_HDD_FREEHOURS' undeclared (first use this function)
ide_setup.cpp:630: error: `LOCALE_HDDSETTINGS_HDD_TEMP' undeclared (first use this function)
ide_setup.cpp:634: error: `LOCALE_HDDSETTINGS_IDE' undeclared (first use this function)
ide_setup.cpp:636: error: `LOCALE_HDDSETTINGS_HDD_FS' undeclared (first use this function)
ide_setup.cpp:637: error: `LOCALE_HDDSETTINGS_IDE_SWAP' undeclared (first use this function)
ide_setup.cpp:637: error: `LOCALE_HDDSETTINGS_IDE_SWAP_HELP' undeclared (first use this function)
ide_setup.cpp:637: error: `LOCALE_HDDSETTINGS_IDE_SWAP_STD' undeclared (first use this function)
ide_setup.cpp:639: error: `LOCALE_HDDSETTINGS_HDD_CACHE' undeclared (first use this function)
ide_setup.cpp:640: error: `LOCALE_HDDSETTINGS_HDD_SLEEP' undeclared (first use this function)
ide_setup.cpp:640: error: `LOCALE_HDDSETTINGS_HDD_SLEEP_HELP' undeclared (first use this function)
ide_setup.cpp:640: error: `LOCALE_HDDSETTINGS_HDD_SLEEP_STD' undeclared (first use this function)
ide_setup.cpp:646: error: `LOCALE_HDDSETTINGS_HDD_FORMAT' undeclared (first use this function)
ide_setup.cpp:647: error: `LOCALE_HDDSETTINGS_HDD_CHECK' undeclared (first use this function)
make[5]: *** [ide_setup.o] Error 1
make[5]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src/gui'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src/gui'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ubuntu/tuxbox-cvs/apps/tuxbox/neutrino'
make: *** [//home/ubuntu/tuxbox-cvs/cdkflash/root-neutrino] Error 2
ubuntu@ubuntu:~/tuxbox-cvs/cdk$

scruff1963
04-04-2007, 07:13 AM
looks like you have forgotten to apply the original diff mentioned here
http://world-of-digital.com/forums/139/source-code-all-wonder-menu-extras-14454-5.html#post81643

and are only using the files from here ?
http://world-of-digital.com/forums/139/source-code-all-wonder-menu-extras-14454-6.html#post81972

bobsylas
04-04-2007, 09:47 PM
your right scruff I didnt apply the original diff but one that I thought was an updated version named UK-24-03-07.diff & also applied ide_menu.diff & the .cpp &.h files for that diff
is this what I am doing wrong ?

cheers

Speedy2206
04-04-2007, 09:48 PM
As well as the UK-24-03-07 diff you need to apply the IDE diff (found on To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. and also add the .cpp and .h files to the gui directory. You then need to do that manual edit to Makefile.am and that should be it.

bobsylas
04-04-2007, 09:52 PM
As well as the UK-24-03-07 diff you need to apply the IDE diff (found on To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. and also add the .cpp and .h files to the gui directory. You then need to do that manual edit to Makefile.am and that should be it.

Yes thats exactly what ive done & still cant get it to work :confused:

just out of curiosity am I the only one that cant get this to work ?

nitr8
04-04-2007, 10:00 PM
urm, i guess so. it looks like it.

--me

nj2006
04-04-2007, 10:32 PM
dunno m8 aint trryed as i dont have ide interface so im not installing ide menu on my images. anyway a virsion of it will be in cvs soon i think. so sorry i dont see the point of playing with what i cant test.

scruff1963
05-04-2007, 06:39 AM
I will have a play to test this weekend.
Not really into the dboxes now.