Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200628 - app-editors/nedit does not compile against openmotif-2.3
Summary: app-editors/nedit does not compile against openmotif-2.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: motif-tracker 204265
  Show dependency tree
 
Reported: 2007-11-28 12:23 UTC by Ioan Marius Curelariu
Modified: 2008-02-12 20:51 UTC (History)
1 user (show)

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


Attachments
ebuild file (nedit-5.5.ebuild,1.32 KB, text/plain)
2007-11-28 12:25 UTC, Ioan Marius Curelariu
Details
patch for the xcomposite problem (nedit-5.5-argbvisuals.patch ,1.43 KB, patch)
2007-11-28 12:26 UTC, Ioan Marius Curelariu
Details | Diff
patch for the openmotif-2.3 issue (nedit-5.5-motif23.patch ,520 bytes, patch)
2007-11-28 12:26 UTC, Ioan Marius Curelariu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ioan Marius Curelariu 2007-11-28 12:23:55 UTC
Due to a check the nedit does on compile time, it does not compile against openmotif-2.3 because it is not in nedit's list of "known to work motifs".
For this issue I add a patch and ebuild to solve it.
Moreover, there is a problem motif-config, which also moves the libXm.so.2.x.x files out of /usr/lib... It should only move the files that are in conflict between versions, not all the files of a given version. Because of this, once you have a nedit compiled and running with openmotif-2.2, an slot install of the new 2.3 makes nedit not to start anymore, as it cannot find the libXm.so.2 anymore.
Third thing, suggested by Carlo on http://forums.gentoo.org/viewtopic.php?p=4383353#438335, is that the nedit ebuild should not depend on x11-libs/openmotif, but on virtual/motif


Reproducible: Always

Steps to Reproduce:
1.Install openmotif-2.2 + nedit
2.Install openmotif-2.3
3.Switch to openmotif-2.3 profile if it wasn't done automatically
4.1.Try to start nedit
4.2.Try to re-emerge nedit
Comment 1 Ioan Marius Curelariu 2007-11-28 12:25:39 UTC
Created attachment 137221 [details]
ebuild file
Comment 2 Ioan Marius Curelariu 2007-11-28 12:26:05 UTC
Created attachment 137223 [details, diff]
patch for the xcomposite problem
Comment 3 Ioan Marius Curelariu 2007-11-28 12:26:28 UTC
Created attachment 137225 [details, diff]
patch for the openmotif-2.3 issue
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-01-04 10:28:12 UTC
(In reply to comment #0)
> Moreover, there is a problem motif-config, which also moves the libXm.so.2.x.x
> files out of /usr/lib... It should only move the files that are in conflict
> between versions, not all the files of a given version. Because of this, once
> you have a nedit compiled and running with openmotif-2.2, an slot install of
> the new 2.3 makes nedit not to start anymore, as it cannot find the libXm.so.2
> anymore.

Yeah, the idea is totally crazy, I'll try to check whether is slotting is needed at all. If it is, we need to slot things properly and not using the  motif-config thing which is broken by design (see Bug 117057 Comment #15).

> Third thing, suggested by Carlo on
> http://forums.gentoo.org/viewtopic.php?p=4383353#438335, is that the nedit
> ebuild should not depend on x11-libs/openmotif, but on virtual/motif

Trying to get rid of x11-libs/lesstif altogether for reasons mentioned above, on Bug 117057 and elsewhere, so this really doesn't matter.
Comment 5 Ulrich Müller gentoo-dev 2008-02-12 20:51:58 UTC
Fixed in -r1. Thank you for reporting and for the patches.