Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61906 - gnokii update (0.6.3 for now)
Summary: gnokii update (0.6.3 for now)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Dialup Developers
URL: http://www.gnokii.org
Whiteboard:
Keywords:
: 51225 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-27 04:22 UTC by Przemyslaw Maciag (RETIRED)
Modified: 2004-09-15 07:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gnokii-0.6.3.ebuild (gnokii-0.6.3.ebuild,1.92 KB, text/plain)
2004-08-27 04:22 UTC, Przemyslaw Maciag (RETIRED)
Details
gnokii-bindir.patch (gnokii-bindir.patch,461 bytes, patch)
2004-08-27 04:22 UTC, Przemyslaw Maciag (RETIRED)
Details | Diff
gnokii.desktop (gnokii.desktop,260 bytes, text/plain)
2004-08-27 04:23 UTC, Przemyslaw Maciag (RETIRED)
Details
gnokii.png (gnokii.png,2.10 KB, image/png)
2004-08-27 04:23 UTC, Przemyslaw Maciag (RETIRED)
Details
gnokii-0.6.3.ebuild (gnokii-0.6.3.ebuild,2.00 KB, text/plain)
2004-08-27 11:37 UTC, Florian Schneider
Details
gnokii-0.6.3-nounix98pty.patch (gnokii-0.6.3-nounix98pty.patch,2.21 KB, patch)
2004-08-27 11:39 UTC, Florian Schneider
Details | Diff
gnokii-0.6.3.ebuild (gnokii-0.6.3.ebuild,2.01 KB, text/plain)
2004-08-27 12:02 UTC, Przemyslaw Maciag (RETIRED)
Details
gnokii-0.6.3.ebuild (gnokii-0.6.3.ebuild,2.00 KB, text/plain)
2004-08-28 05:58 UTC, Przemyslaw Maciag (RETIRED)
Details
gnokii-0.6.3.ebuild (gnokii-0.6.3.ebuild,1.89 KB, text/plain)
2004-08-28 06:03 UTC, Przemyslaw Maciag (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Przemyslaw Maciag (RETIRED) gentoo-dev 2004-08-27 04:22:09 UTC
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.
Comment 1 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-08-27 04:22:41 UTC
Created attachment 38291 [details]
gnokii-0.6.3.ebuild
Comment 2 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-08-27 04:22:59 UTC
Created attachment 38292 [details, diff]
gnokii-bindir.patch
Comment 3 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-08-27 04:23:15 UTC
Created attachment 38293 [details]
gnokii.desktop
Comment 4 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-08-27 04:23:33 UTC
Created attachment 38294 [details]
gnokii.png
Comment 5 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-08-27 04:28:50 UTC
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
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2004-08-27 08:49:03 UTC
*** Bug 51225 has been marked as a duplicate of this bug. ***
Comment 7 Florian Schneider 2004-08-27 11:36:37 UTC
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.
Comment 8 Florian Schneider 2004-08-27 11:37:42 UTC
Created attachment 38317 [details]
gnokii-0.6.3.ebuild

ebuild including nounix98pty patch
Comment 9 Florian Schneider 2004-08-27 11:39:16 UTC
Created attachment 38318 [details, diff]
gnokii-0.6.3-nounix98pty.patch
Comment 10 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-08-27 12:01:54 UTC
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
Comment 11 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-08-27 12:02:27 UTC
Created attachment 38320 [details]
gnokii-0.6.3.ebuild
Comment 12 Florian Schneider 2004-08-28 05:46:20 UTC
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.
Comment 13 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-08-28 05:58:27 UTC
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
Comment 14 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-08-28 06:03:44 UTC
Created attachment 38385 [details]
gnokii-0.6.3.ebuild

i just found a small, crippy error in:
- ebuild header fix

not affecting gnokii itself
Comment 15 Heinrich Wendel (RETIRED) gentoo-dev 2004-09-15 07:50:58 UTC
added to portage :)