Hello! Some time ago Florian Schneider (and later me) tweaked ebuild for gnokii to version 0.6.1 ( http://bugs.gentoo.org/show_bug.cgi?id=51225 ). Today 0.6.3 is out and in portage we still have 0.6.0 as I see. Please update gnokii. Here is an ebuild based on Florian Schneider's one. I added smsd for a built trough the USE flag. Anyway - I can only emerge gnokii with FETURES="-sandbox" - explanation why is above. Sorry for my english. Regards, Przemek Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 38291 [details] gnokii-0.6.3.ebuild
Created attachment 38292 [details, diff] gnokii-bindir.patch
Created attachment 38293 [details] gnokii.desktop
Created attachment 38294 [details] gnokii.png
Anyway - as I said, I have difficulties with merging the ebuild. Error message: --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-net-dialup_-_gnokii-0.6.3-25330.log" open_wr: /dev/ptmx -------------------------------------------------------------------------------- normal sandbox problem as I see, but I tried to debug ebuild file and did s/t like this: # ---- else emake libfile.la || die "smsd make failed" fi fi echo "111" } src_install () { echo "222" einstall || die "make install failed" # ---- echo 111 was execute, but not echo 222 - why???? Is this an emerge bug or what? I'm not power enough to answer this. Can anybody helps? Regards, Przemek
*** Bug 51225 has been marked as a duplicate of this bug. ***
I just looked through the ebuild quickly and noticed that the nounix98pty-patch was missing. As I'm no expert in regards to gnokii nor portage I cannot tell what exactly it is doing but it's in the current stable so it must be good. ;) Now I basically took the same patch I adapted in Bug #51225 and added the epatch-statement to your ebuild. It emerges fine but I could not test it because my phone does not connect to the PC right now (problem not related to gnokii). Regarding your suggestion in the older Bug Report about locking and user permissions... Sounds good but is beyond my knowledge. Maybe someone else can pick this up for a later release. If 0.6.3 builds now and works, it should be added to portage (maybe marked unstable) because it adds bluetooth functionality which is why I started messing with 0.6.x anyway! Could be useful to others as well.
Created attachment 38317 [details] gnokii-0.6.3.ebuild ebuild including nounix98pty patch
Created attachment 38318 [details, diff] gnokii-0.6.3-nounix98pty.patch
I have totally forgot to try and add this patch. Big thx Florian! Anyway, as I tried, this part: EPATCH_OPTS="-d ${S}" is not needed. Also I added virtual/linux-headers as a dependency for irda (previous version of ebuild had linux-headers, but today gentoo also have linux26-headers). I tested gnokii with my nokia 6210 with irda - everything is working as I expect it to works. Regards, Przemek
Created attachment 38320 [details] gnokii-0.6.3.ebuild
I've tried your new ebuild and can confirm it compiles and works with my 6600. But I think the rdepend is wrong: RDEPEND="X? ( =x11-libs/gtk+-1.2* ) bluetooth? ( net-wireless/bluez-libs ) sms? ( postgres? ( dev-db/postgresql ) irda? ( virtual/linux-headers ) mysql? ( dev-db/mysql ) )" looks like irda is inside the sms dependency. Also, I'm curious, why have you changed the irda dependency to virtual/linux-headers? The current stable ebuild uses virtual/os-headers.
Created attachment 38384 [details] gnokii-0.6.3.ebuild - only depedencies fix Thx Florian - you're of course right on both things ;-) Here is an ebuild with depedencies fix. Currently I'm trying to find where can we set the directory for locking file, but with no effects... I think it's beyond me (atleast for now...). And nice to here it's works, but it's a work of two of us - so it has to work! ;-) Regards, Przemek
Created attachment 38385 [details] gnokii-0.6.3.ebuild i just found a small, crippy error in: - ebuild header fix not affecting gnokii itself
added to portage :)