First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 28527
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: GNU Emacs Team <emacs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: José Romildo Malaquias <j.romildo@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 28527 depends on: Show dependency tree
Bug 28527 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-09-12 08:27 0000
emacs-cvs-21.3.50 depends on ispell. Emacs should not depend on ispell. This
dependence should be removed.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Mamoru KOMACHI (RETIRED) 2003-09-12 15:07:13 0000 -------
Yeah, I think it should depend on ispell if USE="spell" is set.

------- Comment #2 From Mamoru KOMACHI (RETIRED) 2003-09-12 15:13:58 0000 -------
Fixed. Thanks for reporting.

------- Comment #3 From aethyr 2003-09-20 12:47:13 0000 -------
I hate to drudge up resolved bugs, but emacs can also use aspell quite
successfully.

I also believe ispell is being phased out in favor of aspell.

See the aspell manual for more information on emacs:

http://savannah.gnu.org/download/aspell/manual/user/3_Basic.html#SECTION00422000000000000000

------- Comment #4 From Mamoru KOMACHI (RETIRED) 2003-09-20 22:05:29 0000 -------
Okay, I made it DEPEND on either ispell or aspell, so you don't have
to merge ispell if you have aspell installed. Do you think it would be
nice to detect aspell and use it by default? (because otherwise you
need to set aspell as default spell checker by hand, especially when
you don't have ispell)

------- Comment #5 From aethyr 2003-09-21 08:56:35 0000 -------
I don't know if there is a way to automatically make it use aspell...

Looking at redhat's changelog, it seems like they use an ispell compatability script.

http://at.rpmfind.net/opsys/linux/RPM/redhat.com/dist/linux/9/en/os/i386/aspell-0.33.7.1-21.i386.html

Maybe printout a message at the end?

Alternatively you could patch line 272 of ispell.el to change it from

(defcustom ispell-program-name "ispell"
  "Program invoked by \\[ispell-word] and \\[ispell-region] commands."
  :type 'string
  :group 'ispell)

to

(defcustom ispell-program-name "aspell"
  "Program invoked by \\[ispell-word] and \\[ispell-region] commands."
  :type 'string
  :group 'ispell)

Which I tested, and it seems to work.

------- Comment #6 From Mamoru KOMACHI (RETIRED) 2003-09-22 16:47:17 0000 -------
Because I don't want to touch source elisp distribution I just added
40aspell-gentoo.el and let emacs pull configuration from site-start.el.
(Probably we might make ispell-program aspell iff aspell is installed
and ispell isn't, but I didn't check it this time and default to use
aspell regardless of ispell if aspell is installed)

mkennedy: when I installed emacs-21.3.50.ebuild I noticed it was installed
as emacs-22.0.0, then should we rename emacs-21.3.50.ebuild to
emacs-22.0.0.ebuild? (I'm not sure because I don't use emacs-cvs)

------- Comment #7 From José Romildo Malaquias 2003-09-26 05:45:02 0000 -------
Althoug I read in the ChangeLog:
  "Defaults to use aspell if installed"
  "Emacs can use either ispell or aspell"
and I have app-text/aspell-0.50.3 installed, emerge emacs-cvs still wants
to emerge also app-text/ispell-3.2.06-r6.

------- Comment #8 From José Romildo Malaquias 2003-09-26 13:30:50 0000 -------
It seems that portage is not correctly handling the DEPEND construction:

DEPEND="spell? ( || ( app-text/ispell
		app-text/aspell ) )"

used in emacs-cvs ebuild.

By the way, I have not found documentation on how to set such complex dependencies
in ebuilds. Here I suppose that the "( || <dep1> <dep2> )" dependency construction
means that the package depends on <dep1> OR <dep2>.

app-text/ispell is not installed in my system. Although app-text/aspell is
installed, emerge insists in installing the ispell dependency. If I switch
the order of these two dependencies, then emerge is happy with the aspell
dependency.

------- Comment #9 From Mamoru KOMACHI (RETIRED) 2003-09-26 16:01:52 0000 -------
Humm... That's strange. At least it works for me. (I can install
emacs-cvswithout
ispell if aspell exists) rico% epm -qG ispellpackage ispell is not
installedrico%
epm -qG aspellapp-text/aspell-0.50.3rico% emerge -pv emacs-cvsThese are the
packages that I would merge, in order:Calculating dependencies ...done![ebuild
 N    ] app-editors/emacs-cvs-21.3.50  +X +nls +gtk +gtk2 -Xaw3d -gnome +spell
Could you show me what does it say if you follow the above instruction? (Please
make sure you have no emacs-cvs ebuild in PORTDIR_OVERLAY)For detail about
ebuild's syntax, man 5 ebuild is the first documentyou should look at ( ||
syntax is described in DEPEND sectionof the manpage).

------- Comment #10 From Mamoru KOMACHI (RETIRED) 2003-09-26 16:05:40 0000 -------
Sorry I messed up newlines.

rico% epm -qG ispell
package ispell is not installed
rico% epm -qG aspell
app-text/aspell-0.50.3
rico% emerge -pv emacs-cvs

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] app-editors/emacs-cvs-21.3.50  +X +nls +gtk +gtk2
-Xaw3d -gnome +spell

------- Comment #11 From José Romildo Malaquias 2003-09-26 18:22:14 0000 -------
# epm -qG ispell
package ispell is not installed
# epm -qG aspell
app-text/aspell-0.50.3
# emerge -pv emacs-cvs
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild     UD] app-editors/emacs-cvs-21.3.50 [21.3.50-r1] +X +nls +gtk +gtk2
-Xaw3d +gnome +spell

# emerge -upv emacs-cvs
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild  N    ] dev-util/byacc-1.9
[ebuild  N    ] app-text/ispell-3.2.06-r6
[ebuild     UD] app-editors/emacs-cvs-21.3.50 [21.3.50-r1] +X +nls +gtk +gtk2
-Xaw3d +gnome +spell

As can be seen, it does work with "emerge -pv", but not with "emerge -upv".
Why the emerge option "-u" (that is what I have been using for update my
system) is bringing ispell to the dependence list?

------- Comment #12 From Mamoru KOMACHI (RETIRED) 2003-09-27 00:08:06 0000 -------
I don't know why it brings ispell in (the syntax seems to work if you
don't specify -u or -U). I reckon it is a Portage bug and file
a bug report for it. Thanks for reporting.

------- Comment #13 From Mamoru KOMACHI (RETIRED) 2004-01-31 05:24:47 0000 -------
The problem is fixed in current sys-apps/portage.

First Last Prev Next    No search results available      Search page      Enter new bug