Hi all. Really nice work! :D However I was trying to use the modern webif compiling oscam with simplebuild, I putted the file.patch in "/opt/simplebuild/patches", but when I compile it and replace the old oscam binary I get the usual same old boring webif. The output file in the folder archiv has the string "-modern" but it doesn't work. Any advise?
Thank you a lot!
Problems compiling oscam Modern Webif
-
- WebInfo OSCam
- pattinik
- Thread is marked as Resolved.
-
-
here there's the simplebuild log:
Quote
patch(s) applicare modern_v2.26.patch
patching file module-webif.c
Hunk #1 succeeded at 47 with fuzz 1.
Hunk #2 succeeded at 1882 (offset 44 lines).
Hunk #3 FAILED at 2226.
Hunk #4 FAILED at 2234.
Hunk #5 FAILED at 2282.
Hunk #6 succeeded at 2531 (offset 63 lines).
Hunk #7 FAILED at 2476.
Hunk #8 FAILED at 3169.
Hunk #9 succeeded at 3288 (offset 97 lines).
Hunk #10 succeeded at 3321 (offset 97 lines).
Hunk #11 succeeded at 3691 (offset 97 lines).
Hunk #12 succeeded at 4731 (offset 97 lines).
5 out of 12 hunks FAILED -- saving rejects to file module-webif.c.rej
patching file webif/cacheex/cacheex.html
patching file webif/config/menu_anticasc.html
patching file webif/config/menu_camd33.html
patching file webif/config/menu_camd35.html
patching file webif/config/menu_camd35tcp.html
patching file webif/config/menu_cccam.html
patching file webif/config/menu_dvbapi.html
patching file webif/config/menu.html
patching file webif/config/menu_lcd.html
patching file webif/config/menu_loadbalancer.html
patching file webif/config/menu_monitor.html
patching file webif/config/menu_newcamd.html
patching file webif/config/menu_radegast.html
patching file webif/config/menu_serial.html
patching file webif/config/menu_webif.html
patching file webif/emm/emm.html
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file webif/emm/emm.html.rej
patching file webif/entitlements/entitlements_bit.html
patching file webif/entitlements/entitlements.html
patching file webif/failban/failban.html
patching file webif/files/menu_anticasc.html
patching file webif/files/menu_dvbapi.html
patching file webif/files/menu.html
patching file webif/include/css.css
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file webif/include/css.css.rej
patching file webif/include/footer.html
patching file webif/include/full.html
patching file webif/include/header.html
patching file webif/include/jscript.js
patching file webif/include/menu_cacheexmenuitem.html
patching file webif/include/menu.html
patching file webif/include/refresh.html
patching file webif/readers/readers.html
patching file webif/readerstats/readerstats.html
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file webif/readerstats/readerstats.html.rej
patching file webif/services_edit/services_edit.html
patching file webif/shutdown/pre_shutdown.html
patching file webif/shutdown/shutdown.html
patching file webif/status/status_clientstatusbit.html
patching file webif/status/status.html
patching file webif/userconfig/userconfig_cwcyclethv.html
patching file webif/userconfig/userconfig_entry_cwcycletbv.html
patching file webif/userconfig/userconfig_entry.html
patching file webif/userconfig/userconfig.html
patching file webif/userconfig/userconfig_newuserform.html
patching file webif/user_edit/user_edit.html -
@pattinik,
1. modern webif : you have to create build environment (modern simplebuild )
2. how to apply a patch is another matter -
Thank you ferdi for the reply. Now I deleted the entire simplebuild and recreated the folder with the modern environment following your previously post. Now I got the modern webif when I build oscam. Now the question is, how can I get the modern webif with another version of oscam? Because when I build oscam I get the the version r9542 build r782. I need to compile the version r8917 because with the r9542 I get dvbapi issues. Another question is, how can I aplly the patch with modern style and all those cool picons?
Sorry if I'm asking too noob's things. Bye
-
On first screen go to CHOOSE
on next screen enter 8917Simplebuild will checkout modern [289] svn r8917
then just build as normal..
QuoteAnother question is, how can I aplly the patch with modern style and all those cool picons?
1.. Delete patch, No need for patching because this is Modern Checkout, not SVN. The patch was used way back to patch SVN directly
All you need now is oscamsource.url to tell simplebuild to use Modern Checkout.. See section 4 Here:
Tutorial: Updating Oscam to latest SVN - Ubuntu & debian with Simplebuild2.. Use the forum for more info on oscam picoins (You dont need modern webif for picons)
You can download oscam picons from here for 0963 (Probably not suitable for older builds):
Oscam Picons [thatfellow] optimised for (22px-50px Height) latest oscam svnor here
Oscam webinfo Piconsthen create a folder called picons in config folder, e.g. user/local/etc/picon
ftp picons .tpl to that folderThen set that folder in oscam.conf
e.g. -
Hi,Thank you for the very clear explanation. I followed the instruction but when I select "Choose" in simplebuil with the oscamsource.url, and I type my desidered version oscam such as "8917", the program crashs and simple go back to the terminal. So I thought to type the number revision of modern webif, like "525", then the program download the right files and I have no problem to compile it. At the end I got oscam r9100/r525, I have to use this because, like I said, with above versions I have dvbapi issues (no matching reader- group reject). Anyway I run this version and everything it's ok! :D I downloaded the picons from the other threads of the forum and they are working great and my oscam is pretty cool! ;-) By the way I want to know two other things, I hope I'm not abusing of your patience. :48_002:
First: I putted the pincons of the decoders and they are looking great, but I have to click on it to see which user it is. So I thought to make it easier creating customized picons for each ip's user that allow me to recognize the user quickly. Should it works? I thought to rename the picon like "IC_X.X.X.X.tpl".
Second: I saw others wonderful template, like those made by ***dans. To use those, should I just put the folders in my oscam's path and configure the files in webif config like this : "httptpl =/my/path, httpcss = /my/path/site.css, httpjscript = oscam.js". Am I wrong?
Thank you again for everything :D
Bye. -
Quote
Hi,Thank you for the very clear explanation. I followed the instruction but when I select "Choose" in simplebuil with the oscamsource.url, and I type my desidered version oscam such as "8917", the program crashs and simple go back to the terminal.
Sorry m8, I was testing on SVN, do as I said earlier but enter 289 for CHOOSE menu, that will checkout Modern version 8917..
Also, why are you using dvbapi? Are you compiling for a set top box or server??
If it is for a set top box, you will have to load the toolchain..QuoteFirst: I putted the pincons of the decoders and they are looking great, but I have to click on it to see which user it is. So I thought to make it easier creating customized picons for each ip's user that allow me to recognize the user quickly. Should it works? I thought to rename the picon like "IC_X.X.X.X.tpl".
I would not use picons for clients & protocols etc, it will just make life more difficult unless you customise them all with client names etc..
QuoteSecond: I saw others wonderful template, like those made by ***dans. To use those, should I just put the folders in my oscam's path and configure the files in webif config like this : "httptpl =/my/path, httpcss = /my/path/site.css, httpjscript = oscam.js". Am I wrong?
For 5kyndas Template, you have to create folder structures as described on his page..
But the last fully supported version is SVN r8638TF
-
Quote
Sorry m8, I was testing on SVN, do as I said earlier but enter 289 for CHOOSE menu, that will checkout Modern version 8917..
No problem man, I figured out what you meant. ;-)
Quote
Also, why are you using dvbapi? Are you compiling for a set top box or server??
If it is for a set top box, you will have to load the toolchain..I'm using dvdapi, because I run oscam on a server, and the emms of tivusat card change every f***ing week. :(
QuoteBut the last fully supported version is SVN r8638
I'm searching some very nice templates for my oscam (r9100 like I said), may you suggest me a cool one? :)
OSCam Support Forum
Configs, discussion, downloads and guides for OSCam Softcam.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!