Skip to content

Build spell-check plugin for gedit #844

Merged
merged 10 commits into from
Jul 19, 2018
Merged

Conversation

pmenzel
Copy link
Collaborator

@pmenzel pmenzel commented Jul 18, 2018

Robert S. misses the spell checker, so enable it again.

Simply updating enchant aborts with the error below.

$ sudo bee update enchant
installing /src/mariux/beeroot/packages/enchant-2.2.3-0.x86_64.bee.tar.bz2 ..
tar: /usr/include/enchant: Cannot create symlink to ‘enchant-2’: File exists
tar: Exiting with failure status due to previous errors

Use the commands below.

$ sudo bee remove enchant-1.6.0-0.x86_64
$ sudo bee install enchant gspell
$ sudo bee update gedit

Tested on keineahnung.

[Description][1]:

> gspell provides a flexible API to add spell-checking to a GTK+
> application.

[1]: https://wiki.gnome.org/Projects/gspell
As the package is not installed in parallel ensure compatibility [1].

> rm -rf /usr/include/enchant; ln -sfn ...: Create symlinks for this
> package version so that other other packages can find it using the old
> name.

The warning below is shown.

```
[BEE] => entering mee_install_post() ..
‘/dev/shm/bee-root/enchant/enchant-2.2.3-0/image//usr/include/enchant’ -> ‘enchant-2’
‘/dev/shm/bee-root/enchant/enchant-2.2.3-0/image//usr/bin/enchant’ -> ‘enchant-2’
‘/dev/shm/bee-root/enchant/enchant-2.2.3-0/image//usr/lib/libenchant.so’ -> ‘libenchant-2.so’
‘/dev/shm/bee-root/enchant/enchant-2.2.3-0/image//usr/lib/pkgconfig/enchant.pc’ -> ‘enchant-2.pc’
[BEE] <= leaving mee_install_post() ..
[BEE] changing to image directory: /dev/shm/bee-root/enchant/enchant-2.2.3-0/image
[BEE] WARNING: system and image files named '/usr/include/enchant' differ
[BEE]          image : symbolic link to enchant-2
[BEE]          system: directory
[BEE]  -> creating package enchant-2.2.3-0.x86_64.bee.tar.bz2 ..
```

[1]: http://www.linuxfromscratch.org/blfs/view/svn/general/enchant.html
This reverts commit ecc2c6c (gedit: Remove ispell) as the
dependencies are now packaged for MarIuX.
@pmenzel pmenzel force-pushed the build-spell-check-plugin-for-gedit branch from 798c96f to bdd8049 Compare July 18, 2018 12:39
@pmenzel pmenzel merged commit aa0e19e into master Jul 19, 2018
@donald donald deleted the build-spell-check-plugin-for-gedit branch September 14, 2018 08:45
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant