Re: [gedit-list] compiled plugins



Thanks all!!

I will take a look at gedt-plugins package and how it works. I will read about autopackage too.

Regards,
    perriman

El mié, 26-12-2007 a las 14:31 +0100, Jan Niklas Hasse escribió:
Hi,

You could also create an autopackage (http://autopackage.org). The installation could determine where gedit is installed and select the right install directory. That would be, i would say, the best distribution of a compiled package.

Jan-Nik

On Dec 26, 2007 12:07 PM, Steve Frécinaux <nudrema gmail com> wrote:
Hello,

On Fri, 2007-12-21 at 01:47 +0100, perriman wrote:
> I have a question... Can I create a package with a compiled plugin?


Yes you can, gedit-plugins is already such a package (it just contains
more than one plugin)

> When I create a plugin, I have a.gedit file, a libxxx.la file and a
> libxxx.so file into /usr/lib/gedit-2/plugins. All C plugins are loaded
> from this folder or I can copy this files into ~/.gnome2/gedit/plugins?


You can load a plugin from either /usr/lib/gedit-2/plugins or
~/.gnome2/gedit/plugins, be it a C/C++ or python plugin.

> The last question :) What is the better way to distribute a compiled
> plugin?


I'd say an usual source package that compiles and puts the files into
the right prefix. I *think* gedit needs some fixing in that regard (for
instance I don't think it supports loading plugins from /usr/local if
installed in /usr and the other way) but that's what I'd do (and what
gedit-plugins do, fwiw). Then the distributors can make a .deb or .rpm
package from that.


_______________________________________________
gedit-list mailing list
gedit-list gnome org
http://mail.gnome.org/mailman/listinfo/gedit-list


_______________________________________________
gedit-list mailing list
gedit-list gnome org
http://mail.gnome.org/mailman/listinfo/gedit-list
 
Pulse para ir al sitio web  
Jesús Barbero Rodríguez
Departamento de Análisis y Programación - Desarrollo tecnológico
Zoco Gran Santander, 1ª Planta ■ 39011 Peñacastillo ■ Santander ■ ESPAÑA

Tel.: +34 902 233 323 ■ Fax: +34 902 234 280




AVISO LEGAL: Este mensaje contiene información destinada exclusivamente al usuario de destino, pudiendo contener información confidencial o protegida legalmente. Si, por un error de envío o transmisión, ha recibido este mensaje y usted no es el destinatario del mismo, por favor, notifique de este hecho al remitente y no use, informe, distribuya, imprima, copie o difunda este mensaje bajo ningún medio . Cualquier opinión en él contenida, es exclusiva de su autor y no representa necesariamente la opinión de Quiter Servicios Informáticos, S.L.

LEGAL WARNING: This e-mail and any attachment, contain information intended solely for the addressee and may contain confidential information or legally protected data. If you are not the intended recipient, please notify the sender and do not use, disclose, distribute, copy, print or rely on this e-mail under any circumstances. The views and opinions expressed are the authorŽs own and do not necessarily reflect those of Quiter Servicios Informáticos, S.L.  






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]