Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9578 - isdn4k-utils always depend on X11
Summary: isdn4k-utils always depend on X11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-23 17:39 UTC by Christoph Beckmeyer
Modified: 2003-01-16 06:24 UTC (History)
1 user (show)

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


Attachments
A patch against the ebuild which handels the dependencies more flexible (isdn4k-utils-3.2_p1.ebuild.diff,283 bytes, patch)
2002-10-23 17:54 UTC, Christoph Beckmeyer
Details | Diff
Updated patch (bla,318 bytes, patch)
2002-11-19 17:01 UTC, Johannes Ballé
Details | Diff
isdn4k-utils-3.2_p1-r1-20021121.tar.gz (isdn4k-utils-3.2_p1-r1-20021121.tar.gz,4.73 KB, application/gzip)
2002-11-21 11:44 UTC, Johannes Ballé
Details
isdn4k-utils-3.2_p1-r1-20021122.tar.gz (isdn4k-utils-3.2_p1-r1-20021122.tar.gz,4.58 KB, application/gzip)
2002-11-22 10:17 UTC, Johannes Ballé
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Beckmeyer 2002-10-23 17:39:47 UTC
Problem:
Isdn4k-utils depend on dev-lang/tk-8.3 which lead to the dependency of X11
neither if X11 or -X11 is set in the USE VARIABLE.

Inspection:
Obviously X11 is not critical to isdn4-utils.This is proven due to 
the original "make menuconfig" and during operation.
X11 is only used for  X11 isdn monitoring tools
The ebuild file reveal a static dependency to dev-lang/tk-8.3
as well as the packaged .config file explicitly states CONFIG_BUILDX11=y

Solution:
Due to more flexible dependencies in the respective ebuild file the usage
of X11 can be avoided.
Comment 1 Christoph Beckmeyer 2002-10-23 17:54:15 UTC
Created attachment 4956 [details, diff]
A patch against the ebuild which handels the dependencies more flexible

It that been tested to emerge the isdn4k-utils with and without the X flag in
the USE variable.
Comment 2 Andrew Walrond 2002-11-10 10:31:12 UTC
Please apply this patch as it is impossible to create a small (without X, Tcl/Tk
etc) isdn router/firewall installation without it.

ISDN is very important in europe/UK where broadband is still unavailable to many
people/businesses.
Comment 3 Johannes Ballé 2002-11-19 17:01:55 UTC
Created attachment 5803 [details, diff]
Updated patch

Hello,

I tried att. 4956 to find out there was a syntax error in it. Fixed that and
missing IUSE="X" in this attachment. Compiles without problems (and X) now.

A /etc/init.d/ script for isdn4linux would be nice, too. As I get along with my
installation, I will post my improvements here.

PS: From what I understand of ebuilds so far, there seems to be support for a
"mysql" USE option in this ebuild, but the ebuild actually does nothing in
order to have mysql support compiled in (like altering the source
configuration). Am I right on this?
Comment 4 Johannes Ballé 2002-11-21 11:44:27 UTC
Created attachment 5852 [details]
isdn4k-utils-3.2_p1-r1-20021121.tar.gz

Hello,

I surfed bugs.gentoo.org for a while and found various submissions regarding
isdn4linux. I merged them with my own improvements, where applicable. The
result is this attachment. I marked it as ~x86, so please submit it to the
portage tree ASAP so other people can test it - IMHO it is already better than
the old ebuild, so there's nothing to lose ... ;-)

Changes:
- cleaned up deps (proper X deps now)
- compiles more tools now (for several ISDN cards)
- (very alpha) runlevel scripts included (greedily taken from other people :-)
- env variable I4L_CC can be set at compilation time in order to compile
isdnlog with quirks for different countries enabled (if you know of a better
way to do this, let me know ...)
- excluded vbox (so I can make another ebuild which pulls in tcl)
- proper TODO list (have a look at the ebuild)

I'm willing to maintain this ebuild, if you want me to. In this case it would
be nice to get CVS access, so I can submit changes faster. (Seems like it takes
a long time for people to respond at bugs.gentoo.org ;-)
Comment 5 Johannes Ballé 2002-11-22 10:17:42 UTC
Created attachment 5868 [details]
isdn4k-utils-3.2_p1-r1-20021122.tar.gz

Hi,

made a lot of improvements to the scripts. Here is the updated version (fully
replaces my earlier posting).

Greetings,
Johannes
Comment 6 Daniel Robbins (RETIRED) gentoo-dev 2002-12-16 22:23:55 UTC
Hello. This ebuild is now on CVS as "-r2" rather than "-r1" (with a few little
fixes here and there.)  Johannes Ball
Comment 7 Daniel Robbins (RETIRED) gentoo-dev 2002-12-16 22:23:55 UTC
Hello. This ebuild is now on CVS as "-r2" rather than "-r1" (with a few little
fixes here and there.)  Johannes Ballé, you did a *great* job. I am going to
keep this bug open and assign it to Seemant so that he can talk to you about
potentially becoming a developer and helping us (at a minimum) maintain the
isdn4k-utils stuff.
Comment 8 Seemant Kulleen (RETIRED) gentoo-dev 2003-01-16 06:24:15 UTC
Johannes, please e-mail me