Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 153654

Summary: gnome-extra/gedit-latex (new ebuild)
Product: Gentoo Linux Reporter: Christoph Brill (egore) (RESIGNED) <egore>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: CONFIRMED ---    
Severity: enhancement CC: dark.knight.ita, hicham.haouari, jcdemay, jklawiter, leio, pacho, radek, thorsten
Priority: High Keywords: EBUILD
Version: 2006.1   
Hardware: All   
OS: Linux   
URL: http://live.gnome.org/Gedit/LaTeXPlugin
Whiteboard: sunrise suggested
Package list:
Runtime testing required: ---
Attachments: gnome-extra/gedit-latex-20061021
Updated ebuild for version 0.1.1, now works perfectly
Updated ebuild for version 0.1.1, fixes plugin path
Patch for 0.1.1 plugin path
gnome-extra/gedit-latex/gedit-latex-0.1.3.1.ebuild
gedit-latex-0.1.3.1.ebuild
gedit-latex-0.1.3.1.ebuild
gnome-extra/gedit-latex/gedit-latex-0.2_rc1.ebuild
gnome-extra/gedit-latex/gedit-latex-0.2_rc1.ebuild
gnome-extra/gedit-latex/gedit-latex-0.2_rc2.ebuild
version bump

Description Christoph Brill (egore) (RESIGNED) 2006-11-01 02:02:23 UTC
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.
Comment 1 Christoph Brill (egore) (RESIGNED) 2006-11-01 02:03:22 UTC
Created attachment 100953 [details]
gnome-extra/gedit-latex-20061021

Broken ebuild .... needs some python knowhow.
Comment 2 Pacho Ramos gentoo-dev 2007-09-26 09:21:56 UTC
Latest release is 0.1.1
Comment 3 Shogun 2007-09-30 07:12:18 UTC
Created attachment 132211 [details]
Updated ebuild for version 0.1.1, now works perfectly

Updated ebuild for version 0.1.1, now works perfectly
Comment 4 Shogun 2007-09-30 07:29:32 UTC
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.
Comment 5 Shogun 2007-09-30 07:30:02 UTC
Created attachment 132217 [details, diff]
Patch for 0.1.1 plugin path
Comment 8 Le retraité 2008-01-18 11:31:49 UTC
Created attachment 141213 [details]
gnome-extra/gedit-latex/gedit-latex-0.1.3.1.ebuild
Comment 9 fctk86 2008-05-22 13:37:40 UTC
i think gedit-latex ebuild should make sure gedit had been compiled with the python use flag...
Comment 10 Thorsten Vollmer 2008-06-23 21:06:15 UTC
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
Comment 11 fctk86 2008-07-14 18:30:42 UTC
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.
Comment 12 Thorsten Vollmer 2008-07-31 00:02:26 UTC
Created attachment 161783 [details]
gedit-latex-0.1.3.1.ebuild

Changes:
* make eps2png executable
* add more dependencies
Comment 13 Mario 2008-10-16 09:58:40 UTC
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'
Comment 14 Jonathan-Christofer Demay 2009-02-20 14:06:26 UTC
Created attachment 182657 [details]
gnome-extra/gedit-latex/gedit-latex-0.2_rc1.ebuild

A suggested ebuild for the latest release.
Comment 15 elethiomel 2009-03-05 03:49:03 UTC
(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

Comment 16 Jonathan-Christofer Demay 2009-03-16 20:29:31 UTC
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 >_<)
Comment 17 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-03-26 02:54:02 UTC
(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
Comment 18 Marco Leogrande 2009-06-09 22:57:42 UTC
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.
Comment 19 Marco Leogrande 2009-06-09 22:59:42 UTC
Created attachment 194053 [details]
gnome-extra/gedit-latex/gedit-latex-0.2_rc2.ebuild

Bump of previous ebuild by jcdemay, plus some EAPI2 improvements.
Comment 20 Hicham HAOUARI 2010-01-14 19:12:14 UTC
you forgot to add python-poppler as a dependency
Comment 21 Alexandre 2011-01-03 20:23:11 UTC
(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
Comment 22 Alexandre 2011-01-03 20:24:02 UTC
Created attachment 258770 [details]
version bump
Comment 23 Hicham HAOUARI 2011-01-03 20:29:43 UTC
(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 ?
Comment 25 Mart Raudsepp gentoo-dev 2019-04-04 11:07:03 UTC
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).