The simple idea is to bring the powerful LaTeX typesetting system to the Gnome desktop. This plugin will assist you in composing and compiling LaTeX documents. This is a VERY bad attempt at creating an ebuild for it.
Created attachment 100953 [details] gnome-extra/gedit-latex-20061021 Broken ebuild .... needs some python knowhow.
Latest release is 0.1.1
Created attachment 132211 [details] Updated ebuild for version 0.1.1, now works perfectly Updated ebuild for version 0.1.1, now works perfectly
Created attachment 132215 [details] Updated ebuild for version 0.1.1, fixes plugin path After installing my ebuild I notice that the plugin doesn't like to be run from /usr/lib (and I see this issue in the author's TODO list) because it's path refers only to $HOME. I updated the ebuild with a patch which fixes this behaviour.
Created attachment 132217 [details, diff] Patch for 0.1.1 plugin path
0.1.2 already available http://downloads.sourceforge.net/gedit-latex/LaTeXPlugin-0.1.2.tar.gz?modtime=1194978571&big_mirror=0
And 0.1.3.1 :-) http://downloads.sourceforge.net/gedit-latex/LaTeXPlugin-0.1.3.1.tar.gz?modtime=1197991334&big_mirror=0
Created attachment 141213 [details] gnome-extra/gedit-latex/gedit-latex-0.1.3.1.ebuild
i think gedit-latex ebuild should make sure gedit had been compiled with the python use flag...
Created attachment 158155 [details] gedit-latex-0.1.3.1.ebuild Changes: * check whether gedit was built with support for Python * byte-compile Python modules
gedit-latex depends on dev-python/gnome-python; if the latter is not installed, you get the following error when running gedit: Traceback (most recent call last): File "/usr/lib/gedit-2/plugins/LaTeXPlugin/__init__.py", line 23, in ? from WindowHelper import WindowHelper File "/usr/lib/gedit-2/plugins/LaTeXPlugin/WindowHelper.py", line 29, in ? from symbols.SymbolController import SymbolController File "/usr/lib/gedit-2/plugins/LaTeXPlugin/symbols/SymbolController.py", line 27, in ? from LaTeXPlugin.document.DocumentHelper import LANGUAGE_LATEX File "/usr/lib/gedit-2/plugins/LaTeXPlugin/document/DocumentHelper.py", line 21, in ? from gnomevfs import get_mime_type, get_local_path_from_uri ImportError: No module named gnomevfs ** (gedit:15503): WARNING **: Cannot load Python plugin 'LaTeX Plugin 0.1.3.1' since file 'LaTeXPlugin' cannot be read.
Created attachment 161783 [details] gedit-latex-0.1.3.1.ebuild Changes: * make eps2png executable * add more dependencies
gedit-latex also depends on dev-python/dbus-python without i get this error: Traceback (most recent call last): File "/home/mario/.gnome2/gedit/plugins/LaTeXPlugin/__init__.py", line 23, in <module> from WindowHelper import WindowHelper File "/home/mario/.gnome2/gedit/plugins/LaTeXPlugin/WindowHelper.py", line 43, in <module> from ipc.DBusController import DBusController File "/home/mario/.gnome2/gedit/plugins/LaTeXPlugin/ipc/DBusController.py", line 50, in <module> error(self, None, "Failed to import D-Bus bindings") NameError: name 'self' is not defined ** (gedit:6517): WARNING **: Cannot load Python plugin 'LaTeX Plugin 0.1.3.1' since file 'LaTeXPlugin' cannot be read. ** (gedit:6517): WARNING **: Error activating plugin 'LaTeX Plugin 0.1.3.1'
Created attachment 182657 [details] gnome-extra/gedit-latex/gedit-latex-0.2_rc1.ebuild A suggested ebuild for the latest release.
(In reply to comment #14) > Created an attachment (id=182657) [edit] > gnome-extra/gedit-latex/gedit-latex-0.2_rc1.ebuild > > A suggested ebuild for the latest release. > Using this ebuild I can't enable the plugin. When I try it greys out and the following appears in the console ---------------------------------- ImportError: No module named GeditLaTeXPlugin/src ** (gedit:12223): WARNING **: Cannot load plugin 'GeditLaTeXPlugin/src' since file '/usr/lib/gedit-2/plugins' cannot be read. ** (gedit:12223): WARNING **: Error activating plugin 'Gedit LaTeX Plugin 0.2 rc1' ------------------------------- /usr/lib/gedit-2/plugins exists, but it's a directory on my system ls -al /usr/lib/gedit-2/plugins/ total 496 drwxr-xr-x 6 root root 4096 2009-03-04 04:08 . drwxr-xr-x 3 root root 4096 2009-02-25 03:37 .. -rw-r--r-- 1 root root 226 2009-03-04 03:56 changecase.gedit-plugin -rw-r--r-- 1 root root 317 2009-03-04 03:56 docinfo.gedit-plugin drwxr-xr-x 2 root root 4096 2009-03-04 03:56 externaltools -rw-r--r-- 1 root root 253 2009-03-04 03:56 externaltools.gedit-plugin -rw-r--r-- 1 root root 274 2009-03-04 03:56 filebrowser.gedit-plugin drwxr-xr-x 6 root root 4096 2009-03-04 04:09 gedit-latex -rw-r--r-- 1 root root 335 2009-03-04 04:08 gedit-latex.gedit-plugin -rw-r--r-- 1 root root 232 2009-03-04 03:56 indent.gedit-plugin -rwxr-xr-x 1 root root 2003 2009-03-04 03:56 libchangecase.la -rwxr-xr-x 1 root root 13680 2009-03-04 03:56 libchangecase.so -rwxr-xr-x 1 root root 1985 2009-03-04 03:56 libdocinfo.la -rwxr-xr-x 1 root root 17816 2009-03-04 03:56 libdocinfo.so -rwxr-xr-x 1 root root 2009 2009-03-04 03:56 libfilebrowser.la -rwxr-xr-x 1 root root 130136 2009-03-04 03:56 libfilebrowser.so -rwxr-xr-x 1 root root 1979 2009-03-04 03:56 libindent.la -rwxr-xr-x 1 root root 13676 2009-03-04 03:56 libindent.so -rwxr-xr-x 1 root root 1997 2009-03-04 03:56 libmodelines.la -rwxr-xr-x 1 root root 17772 2009-03-04 03:56 libmodelines.so -rwxr-xr-x 1 root root 1979 2009-03-04 03:56 libsample.la -rwxr-xr-x 1 root root 13664 2009-03-04 03:56 libsample.so -rwxr-xr-x 1 root root 1967 2009-03-04 03:56 libsort.la -rwxr-xr-x 1 root root 17880 2009-03-04 03:56 libsort.so -rwxr-xr-x 1 root root 1996 2009-03-04 03:56 libspell.la -rwxr-xr-x 1 root root 71884 2009-03-04 03:56 libspell.so -rwxr-xr-x 1 root root 1985 2009-03-04 03:56 libtaglist.la -rwxr-xr-x 1 root root 30460 2009-03-04 03:56 libtaglist.so -rwxr-xr-x 1 root root 1967 2009-03-04 03:56 libtime.la -rwxr-xr-x 1 root root 26224 2009-03-04 03:56 libtime.so -rw-r--r-- 1 root root 240 2009-03-04 03:56 modelines.gedit-plugin drwxr-xr-x 2 root root 4096 2009-03-04 03:56 pythonconsole -rw-r--r-- 1 root root 294 2009-03-04 03:56 pythonconsole.gedit-plugin -rw-r--r-- 1 root root 221 2009-03-04 03:56 sample.gedit-plugin drwxr-xr-x 2 root root 4096 2009-03-04 03:56 snippets -rw-r--r-- 1 root root 253 2009-03-04 03:56 snippets.gedit-plugin -rw-r--r-- 1 root root 433 2009-03-04 03:56 sort.gedit-plugin -rw-r--r-- 1 root root 244 2009-03-04 03:56 spell.gedit-plugin -rw-r--r-- 1 root root 288 2009-03-04 03:56 taglist.gedit-plugin -rw-r--r-- 1 root root 278 2009-03-04 03:56 time.gedit-plugin
Created attachment 185204 [details] gnome-extra/gedit-latex/gedit-latex-0.2_rc1.ebuild Oops, uploaded the wrong file, this one should work (also I'm in CC now >_<)
(this is an automated message based on filtering criteria that matched this bug) 'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached to this bug. This bug is assigned to maintainer-wanted which means that it is not in the main tree. Heuristics show that no Gentoo developer has commented on your ebuild. Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
gedit-latex-0.2_rc2 was released some days ago. The ebuild by jcdemay works fine, but I've improved it a little, by using EAPI2-style RDEPEND for app-editors/gedit (that must be emerged with python support). I'll attach that in a few moments.
Created attachment 194053 [details] gnome-extra/gedit-latex/gedit-latex-0.2_rc2.ebuild Bump of previous ebuild by jcdemay, plus some EAPI2 improvements.
you forgot to add python-poppler as a dependency
(In reply to comment #20) > you forgot to add python-poppler as a dependency > Not exactly, python-poppler is what we need. New proposed ebuild for the version 0.2 is attached
Created attachment 258770 [details] version bump
(In reply to comment #21) > (In reply to comment #20) > > you forgot to add python-poppler as a dependency > > > Not exactly, python-poppler is what we need. > New proposed ebuild for the version 0.2 is attached > Can you be more specific ?
I found the following two ebuilds for gedit-latex (not made by me): - https://gitweb.gentoo.org/user/jxh.git/tree/app-editors/gedit-latex/gedit-latex-3.4.1.ebuild - https://gitweb.gentoo.org/dev/eva.git/tree/app-editors/gedit-latex/gedit-latex-3.8.0.ebuild
gedit-latex looks rather dormant these days. For LaTeX editing in GNOME, I would suggest app-editors/gnome-latex instead, which is in more active development and already packaged for a while (it was latexila before).