Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6438 - gnokii ebuild
Summary: gnokii ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: José Alberto Suárez López
URL: http://www.gnokii.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-13 23:10 UTC by Lim Swee Tat (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments
A tarball of the gnokii ebuild (gnokii.ebuild.tar.bz2,1.52 KB, application/octet-stream)
2002-08-13 23:18 UTC, Lim Swee Tat (RETIRED)
Details
gnokii-0.4.3.ebuild (gnokii-0.4.3.ebuild,2.23 KB, text/plain)
2002-10-07 22:49 UTC, Lim Swee Tat (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lim Swee Tat (RETIRED) gentoo-dev 2002-08-13 23:10:59 UTC
gnokii provides tools and a user space driver for use with mobile phones under
Linux, various unices and Win32. For a list of supported makes and models take a
look at our FAQ pages.

With gnokii you can do such things as make data calls, update your address book,
change calendar entires, send and receive SMS messages and load ring tones
depending on the phone you have.
Comment 1 Lim Swee Tat (RETIRED) gentoo-dev 2002-08-13 23:18:40 UTC
Created attachment 3059 [details]
A tarball of the gnokii ebuild

The ebuild tarball.

I suggest net-dialup/gnokii
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2002-08-14 10:56:54 UTC
Bass, you have experience with this kinda stuff, right?
Comment 3 José Alberto Suárez López 2002-08-21 20:25:28 UTC
you know, i love try new experiences :P (expect qt/kde stuff;)
Comment 4 José Alberto Suárez López 2002-08-21 20:36:36 UTC
is ftp.gnokii.org down?
Comment 5 Lim Swee Tat (RETIRED) gentoo-dev 2002-09-05 00:14:04 UTC
There is a problem with the build.  Some how, when doing emerge, I get an error
open_wr: /dev/ptmx.  But when I do ebuild xx install && ebuild xx qmerge, I
don't have this problem at all.  Any advice??
Comment 6 José Alberto Suárez López 2002-09-07 18:31:37 UTC
and doing "ebuild xx merge"?
Comment 7 Lim Swee Tat (RETIRED) gentoo-dev 2002-09-07 23:19:17 UTC
ebuild xx merge works fine.
Comment 8 William Roe 2002-10-04 16:18:44 UTC
You need to groupadd gnokii for the ebuild to work ;)
Comment 9 Lim Swee Tat (RETIRED) gentoo-dev 2002-10-07 22:49:59 UTC
Created attachment 4500 [details]
gnokii-0.4.3.ebuild

Updated to add the group
Comment 10 Mikko Ala-Fossi 2002-12-03 03:41:46 UTC
I guess there should be at least these lines somewhere in the ebuild:

+IUSE="nls X"
+DEPEND="X? ( virtual/x11 x11-libs/gtk+ )"

 src_compile() {
     ...
+    use X && myconf="${myconf} --with-x"'

In order to ensure that "--with-x" is provided only if there is X and gtk+.
In addition the DESCRIPTION field could be more informative, at least it
should indicate that the package is intented to be used with Nokia mobile
phones. Something like "Tools and drivers for Nokia mobile phones".

But, otherwise it's a great ebuild.
Comment 11 Mikko Ala-Fossi 2002-12-03 04:15:32 UTC
Oh, it seems that I never get it right first time, but here are
those ebuild lines again:

+IUSE="nls X"
+DEPEND="X? ( virtual/x11 x11-libs/gtk+ )"

 src_compile() {
     local myconf
     use nls \
         && myconf="--enable-nls" \
         || myconf="--disable-nls"
+    use X \
+        && myconf="${myconf} --with-x" \
+        || myconf="${myconf} --without-x"
     econf \
         --prefix=/usr \
-        --with-x --enable-security \
+        --enable-security \
         ${myconf} || die

And because Gentoo is all about optimisation and we're brave enough:

-    make || die "make failed (myconf=${myconf})"
+    make CC="gcc ${CFLAGS}" || die "make failed (myconf=${myconf})"

Unfortunately we only get "-O2", but that at least there is "-march=xxx".