| [07:14] | <BIMZIE> | hey guys i want to add a new screen, and want to launch it from main-menu.... how could i achieve that? |
| [07:14] | <BIMZIE> | i've developed it.... now want to launch it... |
| [07:20] | <nerochiaro> | edit the menu config files |
| [07:21] | <nerochiaro> | i think /etc/menu/* |
| [07:23] | <BIMZIE> | i've already added the entries there.... |
| [07:24] | <BIMZIE> | now have to link those entries with my screen |
| [07:25] | <nerochiaro> | i don't understand |
| [07:25] | <nerochiaro> | if you added the entries, they will start your application. your application will display your "screen" (i suppose you mean window) |
| [07:28] | <BIMZIE> | nerochairo: actually my question is about that command in menu file |
| [07:28] | <BIMZIE> | what do i need to do with that.... |
| [07:29] | <nerochiaro> | you put there the path to your application |
| [07:29] | <nerochiaro> | you said you developed an application, no ? |
| [07:29] | <nerochiaro> | "i've developed it" |
| [07:29] | <BIMZIE> | yep i did... |
| [07:30] | <nerochiaro> | so put as command something like /usr/local/bin/bimzie_app ;) |
| [07:30] | <BIMZIE> | ahh i see.... |
| [07:32] | <BIMZIE> | nero play.browse command looks like -> main:Browser |
| [07:32] | <BIMZIE> | thats what was confusing me.. |
| [07:33] | <nerochiaro> | BIMZIE: that is a "special" command |
| [07:33] | <nerochiaro> | look into "more applications" menu file, you see some "real" application commands |
| [07:33] | <nerochiaro> | you should use command entries like these |
| [07:33] | <BIMZIE> | but that reloads another menu file.... |
| [07:34] | <nerochiaro> | no, i mean, look into the other menu file |
| [07:34] | <BIMZIE> | ahh |
| [07:34] | <nerochiaro> | "More Applications.menu" |
| [07:34] | <BIMZIE> | got that |
| [07:35] | <BIMZIE> | and tell me another thing... i build my main-app ok.... i builds my bimzie-app too |
| [07:35] | <BIMZIE> | it resides in its sub-directory build |
| [07:36] | <BIMZIE> | so nerochairo where will its gonna copy this executable in rootfs or what path is more suitable for this |
| [07:36] | <nerochiaro> | /usr/local/bin |
| [07:36] | <BIMZIE> | hmmm |
| [07:41] | <BIMZIE> | so you mean that i don't need to do anything in the main-menu source files |
| [07:47] | <crweb> | not anymore |
| [07:47] | <crweb> | why do you build bimzie-app in the main-app subdir ? |
| [07:48] | <crweb> | every application should have its own project directory |
| [07:48] | <BIMZIE> | no its not in the main-menu directory |
| [07:48] | <crweb> | oh ok good |
| [07:48] | <BIMZIE> | it has its own directory on main-menu level |
| [07:48] | <crweb> | did you just copy the .ui and .pri files? |
| [07:48] | <BIMZIE> | in the main-app |
| [07:48] | <crweb> | oh i see |
| [07:49] | <BIMZIE> | i did everything |
| [07:49] | <crweb> | sorry, i thought you were talking about rootfs and build dir's |
| [07:49] | <BIMZIE> | now problem is |
| [07:49] | <crweb> | did you copy the .pro and .pri files and modify them? |
| [07:49] | <BIMZIE> | yep i did |
| [07:50] | <crweb> | ok, so main-menu's .pro files were setup to install to /usr/local/bin |
| [07:50] | <crweb> | should be ok |
| [07:50] | <BIMZIE> | it build ok... |
| [07:50] | <crweb> | they aren't setup like that anymore though ;) which is why i was asking |
| [07:50] | <crweb> | anyway, go on :) |
| [07:50] | <BIMZIE> | but it doesn't coppy my bimzie-app exectuable to /urr/bin |
| [07:51] | <crweb> | you must build like this: |
| [07:51] | <crweb> | nqmake -recursive -nocache |
| [07:51] | <crweb> | make |
| [07:51] | <crweb> | nqmake -recursive -nocache |
| [07:51] | <crweb> | make install |
| [07:51] | <BIMZIE> | ahan |
| [07:51] | <crweb> | there is Qt bug. sorry for this |
| [07:51] | <BIMZIE> | but why does every other executable has been copied to /usr/local/bin |
| [07:52] | <BIMZIE> | why not this one? |
| [07:52] | <crweb> | because our build script does what i just said |
| [07:52] | <crweb> | if you build by hand you need those steps |
| [07:52] | <BIMZIE> | man i build it with buildhelper.sh main-app |
| [07:52] | <crweb> | oh i see |
| [07:53] | <BIMZIE> | it creates a binary in its local build folder but not in the neuros-bsp rootfs folder |
| [07:53] | <crweb> | i see |
| [07:54] | <BIMZIE> | where actually /usr/local/bin is located |
| [07:54] | <crweb> | this probably means config file is incorrect |
| [07:54] | <BIMZIE> | i think i am missing something |
| [07:55] | <crweb> | do you have config.pri? |
| [07:55] | <BIMZIE> | yep |
| [07:55] | <BIMZIE> | and it has rootfs path too |
| [07:55] | <crweb> | rootfs.path = /${ROOTFS}/fs/usr/local/bin |
| [07:56] | <crweb> | do you have src/ui/ui.pro ? |
| [07:58] | <BIMZIE> | yep i have both |
| [07:58] | <crweb> | rootfs.files = ../../build/* in ui.pro |
| [07:58] | <crweb> | include (../../config.pri) |
| [07:58] | <crweb> | INSTALLS += rootfs |
| [07:59] | <crweb> | TARGET = ../../build/bimzie-app |
| [07:59] | <BIMZIE> | rootfs.path = /${ROOTFS}/fs/usr/local/bin in config.pri |
| [08:00] | <BIMZIE> | and in ui.pro i've rootfs.files = ../../build/* and INSTALLS += rootfs |
| [08:02] | <crweb> | TARGET = is also important. what is it? |
| [11:34] | <JoeyBorn> | GarBage_: you there? |
| [13:04] | <hellwolf> | . |
| [13:56] | <mgschwan> | hi, i need a neuros recording guru. someone that has in-depth knowledge of the recording subsytem |
| [14:00] | * MattJ looks at probably nerochiaro | |
| [14:00] | * MattJ looks at crweb if he is awake | |
| [14:01] | <mgschwan> | well ok, i'll just start to explain what im working on |
| [14:06] | <mgschwan> | I've found the thread with the slingbox like streaming in the forum. But i kinda disliked the idea that an actual file ist writte. So i started with a fuse filesystem that broadcasts everything that is written to it to the network. It works just fine if i echo to a file in the filesystem or if i write a file with an editor. But if i try to record to a file in this filesystem the recorder just hangs. My guess is that i am missing some filesys |
| [14:11] | <MattJ> | That message got cut off, at least for me |
| [14:11] | <MattJ> | after "i am missing some filesy" |
| [14:11] | <MattJ> | IRC is a pain :) |
| [14:12] | <mgschwan> | ... filesystem calls that the recorder needs (i.e. statfs) but i'm not quite sure. Thus i need to know what the recorder does with the files and filesyste before he actually starts with the recording |
| [14:12] | <mgschwan> | :) |
| [14:38] | <DeepB> | aaargh... it's reboot not halt |
| [14:40] | <crweb> | Well, recorder itself does no recording |
| [14:40] | <crweb> | you will want to check out the source code for nmsd |
| [14:41] | <crweb> | linux-r3-main-app/nms/src/server/server-record-nms.c is probablyt he best place to start. |
| [14:42] | <crweb> | mgschwan: if you wait around or come back in another 8-10 hours, more help will be available |
| [15:00] | <mgschwan> | well in 8 hours its about 5 o clock in the morning :). I'll guess i just implement every function that i currently haven't implemented with a stub that just logs a debug message to a file, then i will know what needs to be implemented |
| [15:11] | <mgschwan> | thanks crweb, at least i found that that the recorder uses statvfs (which i did not implement yet). I'll try to return a correct structure that fools the neuros that enough disk space is available |
| [15:13] | <MattJ> | wooble: groups.google.com (I know vmarks was interested) |
| [15:23] | <vmarks> | say my name! |
| [15:23] | <vmarks> | say my name! |
| [15:24] | <vmarks> | needs photos of the ipod or iphone browsing the schedules. |
| [15:35] | <MattJ> | vmarks: Read the post, no schedules yet |
| [16:39] | <mgschwan> | well it's slowly processing. i'm at a point where the nmsd tries to lock the file, which is quite more than i got before |
| [17:06] | <Lothsahn> | crweb: you there? |