Split into multiple plugins

Asked by Truong Xuan Tinh

I'm not a Gedit plugin developer, but from my investigation, GDP is consisted of a couple of separate plugins. Is it right?
If the answer for the above question is 'yes'. How can I just use the plugin 'find and replace'?
Many thanks in advance!

Question information

Language:
English Edit question
Status:
Answered
For:
Gedit Developer Plugins Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Curtis Hovey (sinzui) said :
#1

Install the plugins (via the PPA is easiest https://launchpad.net/~sinzui/+archive/ppa because it will install the dependencies).

You can enable a plugin in gedit using the gedit menu:
    Edit > Preferences
    Choose the Plugins tab
    Select the GDP Find plugin
    Choose the Close button

Find and Replace in file will be added to the Search menu and the find and replace pane will be added to the side pane.

Revision history for this message
Truong Xuan Tinh (xuantinh) said :
#2

I'm using ArchLinux so installing from PPA is not available :). ArchLinux does not have a package for GDP either.
Most of the Python-based Gedit plugins is just a simple 'copy and run'. I've done the followings:
1. Checkout the source of gdp
2. Copy the folder 'gdp', gdpfind.py and gdpfind.gedit-plugin.desktop.in (renamed to gdpfind.gedit-plugin) to my ~/.gnome2/gedit/plugins
3. Restart Gedit

But the plugin GDP Find plugin did not appear in the available plugins of Gedit.

Any help would be appreciated!

Revision history for this message
Curtis Hovey (sinzui) said :
#3

You will need to build from tarballs. This also requires that you install C, python, and gnome developer dependencies. You will also need to install pocket-lint first. Working with tool chains can be very daunting for non-developers.

Download pocket-lint from https://launchpad.net/pocket-lint
    make install

I do not know which packages you need to install for ArchLinux. The packages need to provide the pkg-config version information that is used to generate the make files.

Download the latest gdp tarball.
    ./autogen.sh
    ./make install

Can you help with this problem?

Provide an answer of your own, or ask Truong Xuan Tinh for more information if necessary.

To post a message you must log in.