Giter Site home page Giter Site logo

Comments (3)

bootchk avatar bootchk commented on May 24, 2024

The comment in the README is about a Ubuntu versus other distro issue: I think most of the world installs plugins to /usr/lib/gimp.... but Ubuntu installs to /usr/local/lib/gimp.... IOW, an issue about politics and the "Filesystem Hierarchy Standard" (search for that term.) Ubuntu wants to install anything that a user has downloaded or built to a segregated directory underneath /usr/local. And GIMP doesn't know about that, so a GIMP user must change their preferences.

I think that is a separate issue from what --prefix does. AFAIK --prefix just points to the directory where you are building, and is unrelated to where the build system installs the built product.

(Aside: the world is moving to a separate build directory from the source directory. I don't think the resynthesizer project is set up that way. The resynthesizer build system was copied from a GIMP plugin template, years ago. With some subsequent maintenance of various build scripts.)

I think it is trying to install to the right place (for your non-Ubuntu distro), but it is a permissions issue. Maybe 'sudo make install' would work?

I could be wrong, I am not an expert on build systems or permissions.

from resynthesizer.

Beep6581 avatar Beep6581 commented on May 24, 2024

I don't want it installed to that (correct) place, I want the compiled file(s) moved to a folder of my choosing, so that I can easily examine them. I will also probably need to do this to make the Gentoo ebuild. How do I do that? Usually the installation folder is user-configurable, but I can't figure out how to do it here (I could manually sed the configuration file, but that's the worst case scenario).

from resynthesizer.

bootchk avatar bootchk commented on May 24, 2024

I think...

in configure.ac, line 92: gimpplugindir="$libdir/gimp/2.0"

This defines a variable that is used later in the scripts that install.
I don't know where the variable libdir is defined, but I guess the value is "/usr/bin".
I suggest you hack line 92, if it is just for your temporary use.

I wouldn't think that for the distribution, the installation place would be user configurable. There are conventions for where things are installed. But as I discussed earlier, conventions are not much use if e.g. Ubuntu diverges from some people's convention by installing to /usr/local/bin

Again, I didn't originate most of the build scripts, I copied them (and hacked them just a little) from the gimp plugin template: a dummy plugin, written in C, with build scripts that use
the gnu build system (tools automake, aclocal, M4, etc).

from resynthesizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.