Difference between revisions of "Gedit"
From CBLFS
Jump to navigationJump to searchWeibullguy (talk | contribs) |
Weibullguy (talk | contribs) |
||
(9 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://ftp.gnome.org/pub/gnome/sources/gedit/{{Gedit-Version2}}/gedit-{{Gedit-Version}}.tar.bz2 | + | |http://ftp.gnome.org/pub/gnome/sources/gedit/{{Gedit-Version2}}/gedit-{{Gedit-Version}}.tar.bz2 |
+ | |- | ||
+ | !Download Source (Optional): | ||
+ | |http://downloads.sourceforge.net/symbol-browser/gedit-symbol-browser-plugin-0.1.tar.gz | ||
|} | |} | ||
---- | ---- | ||
− | {{ | + | {{Package-Introduction|gedit is the official text editor of the GNOME desktop environment.|http://www.gnome.org/projects/gedit/}} |
== Dependencies == | == Dependencies == | ||
Line 18: | Line 21: | ||
=== Recommended === | === Recommended === | ||
− | * [[Enchant]] required for spell plugin. | + | * [[Enchant]] and [[iso-codes]] required for spell plugin. |
=== Optional === | === Optional === | ||
Line 24: | Line 27: | ||
* [[Aspell]] | * [[Aspell]] | ||
* [[PyXML]] | * [[PyXML]] | ||
− | * [[Gnome-Python-Desktop]] (for [[Python]] plugin support) | + | * [[Gnome-Python-Desktop]] and [[Pygtksourceview]] (for [[Python]] plugin support) |
+ | * [[Attr]] | ||
− | == | + | == Configuring == |
+ | |||
+ | The code symbol browser plugin adds a tree in the left pane of Gedit containing functions, classes, structures, etc. It supports 34 languages. If you wish to add this functionality to Gedit, unpack the plugin source: | ||
− | + | cd plugins | |
+ | tar xf ../../gedit-symbol-browser-plugin-0.1.tar.gz | ||
+ | cd ../ | ||
− | + | Add the new plugin to configure: | |
− | |||
− | |||
− | |||
− | |||
− | + | sed -i '/plugins\/spell\/Makefile/ a\plugins/symbolbrowser/Makefile' configure.ac | |
+ | sed -i '/plugins\/symbolbrowser\/Makefile/ a\plugins/symbolbrowser/symbols/Makefile' configure.ac | ||
− | + | Add the new plugin target: | |
+ | |||
+ | echo DIST_SUBDIRS += symbolbrowser >> plugins/Makefile.am | ||
+ | echo SUBDIRS += symbolbrowser >> plugins/Makefile.am | ||
− | + | autoconf | |
− | + | automake | |
− | == | + | == Non-Multilib == |
Compile the package: | Compile the package: | ||
− | |||
− | |||
./configure --prefix=${GNOME_PREFIX} \ | ./configure --prefix=${GNOME_PREFIX} \ | ||
--sysconfdir=/etc/gnome \ | --sysconfdir=/etc/gnome \ | ||
+ | --libexecdir=${GNOME_PREFIX}/lib/gedit \ | ||
--localstatedir=/var/lib \ | --localstatedir=/var/lib \ | ||
--mandir=${GNOME_PREFIX}/share/man && | --mandir=${GNOME_PREFIX}/share/man && | ||
Line 57: | Line 64: | ||
Install the package | Install the package | ||
− | make install | + | make install |
− | |||
− | === | + | == Multilib == |
− | + | '''''This package does not provide any external libraries, only plugins, so only one installation is needed.''''' | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== 64Bit === | === 64Bit === | ||
Line 87: | Line 78: | ||
--libdir=${GNOME_PREFIX}/lib64 \ | --libdir=${GNOME_PREFIX}/lib64 \ | ||
--sysconfdir=/etc/gnome \ | --sysconfdir=/etc/gnome \ | ||
+ | --libexecdir=${GNOME_PREFIX}/lib64/gedit \ | ||
--localstatedir=/var/lib \ | --localstatedir=/var/lib \ | ||
--mandir=${GNOME_PREFIX}/share/man && | --mandir=${GNOME_PREFIX}/share/man && | ||
Line 95: | Line 87: | ||
make install && | make install && | ||
unset PKG_CONFIG_PATH | unset PKG_CONFIG_PATH | ||
+ | |||
+ | [[Category:GNOME]] | ||
+ | [[Category:Text Editors]] |
Latest revision as of 09:07, 19 October 2010
Download Source: | http://ftp.gnome.org/pub/gnome/sources/gedit/2.28/gedit-2.28.3.tar.bz2 |
---|---|
Download Source (Optional): | http://downloads.sourceforge.net/symbol-browser/gedit-symbol-browser-plugin-0.1.tar.gz |
Contents
Introduction to Gedit
gedit is the official text editor of the GNOME desktop environment.
Project Homepage: http://www.gnome.org/projects/gedit/
Dependencies
Required
Recommended
Optional
- intltool
- Aspell
- PyXML
- Gnome-Python-Desktop and Pygtksourceview (for Python plugin support)
- Attr
Configuring
The code symbol browser plugin adds a tree in the left pane of Gedit containing functions, classes, structures, etc. It supports 34 languages. If you wish to add this functionality to Gedit, unpack the plugin source:
cd plugins tar xf ../../gedit-symbol-browser-plugin-0.1.tar.gz cd ../
Add the new plugin to configure:
sed -i '/plugins\/spell\/Makefile/ a\plugins/symbolbrowser/Makefile' configure.ac sed -i '/plugins\/symbolbrowser\/Makefile/ a\plugins/symbolbrowser/symbols/Makefile' configure.ac
Add the new plugin target:
echo DIST_SUBDIRS += symbolbrowser >> plugins/Makefile.am echo SUBDIRS += symbolbrowser >> plugins/Makefile.am
autoconf automake
Non-Multilib
Compile the package:
./configure --prefix=${GNOME_PREFIX} \ --sysconfdir=/etc/gnome \ --libexecdir=${GNOME_PREFIX}/lib/gedit \ --localstatedir=/var/lib \ --mandir=${GNOME_PREFIX}/share/man && make
Install the package
make install
Multilib
This package does not provide any external libraries, only plugins, so only one installation is needed.
64Bit
Compile the package:
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" && CC="gcc ${BUILD64}" USE_ARCH=64 \ ./configure --prefix=${GNOME_PREFIX} \ --libdir=${GNOME_PREFIX}/lib64 \ --sysconfdir=/etc/gnome \ --libexecdir=${GNOME_PREFIX}/lib64/gedit \ --localstatedir=/var/lib \ --mandir=${GNOME_PREFIX}/share/man && make
Install the package
make install && unset PKG_CONFIG_PATH