Opened 18 years ago

Closed 18 years ago

#1823 closed defect (fixed)

Surprising location of libgtkhtml2 without ORBit

Reported by: anonymous Owned by: dnicholson@…
Priority: normal Milestone: 6.2.0
Component: BOOK Version: SVN
Severity: minor Keywords:
Cc:

Description

If installing libgtkhtml for Gimp without ORBit on a KDE only system, the --prefix probably ought to be --prefix=/usr. Otherwise the library goes into /lib, which I suppose would be okay if ldconfig were run but it isn't where I wanted it and it made the Gimp build fail to find it.

Change History (7)

comment:1 by martyj19, 18 years ago

  • Marty Jack (martyman99999@…)

comment:2 by dnicholson@…, 18 years ago

Milestone: 6.2
Owner: changed from blfs-book@… to dnicholson@…
Severity: normalminor
Status: newassigned

Good point, Marty. Since it only optionally depends on parts of GNOME, (and not even ORBit), then it should probably go in /usr. I'm looking at the file list that I installed with all the optional dependencies, and I don't think it would affect the gnome build.

Everything is in /usr/include/gtk-html-2.0/libgtkhtml, a library in /usr/lib, and a .pc file in /usr/lib/pkgconfig. I think it's safe to make /usr the default prefix, especially since this isn't really a GNOME specific application.

I'm going to change this in the book if there aren't any objections.

comment:3 by Randy McMurchy, 18 years ago

I think this package could easily go in /usr. In fact, the whole package probably should be moved out of the GNOME additional packages into the General Libraries section.

comment:4 by dnicholson@…, 18 years ago

I agree. I'm going to make the changes you suggest. Randy, could you keep an eye on this commit to see if I get this right? I'll move the file over to general/genlib (or whatever), then I'll have to redo the links for the Reverse Dependencies. Seem about right? I have to go to work right now, so it might not be till tonight.

comment:5 by Randy McMurchy, 18 years ago

Dan,

You don't have to do anything about the dependencies. linkend=libgtkhtml will still point correctly even if the file is moved.

Here's my thoughts (trying to remember) how to move a file. It is fairly elementary.

  1. Decide where to put it. (Does this belong in graphics libraries

or general libraries)

  1. Do 'svn mv from to' on the file to move it in your sandbox. It

is important that you do this first, and *not* modify it first, or you will not be able to do 'svn mv' without using the force option or something like that. (a commit between the operations, notwithstanding)

  1. Modify the gnome/add/add.xml file to remove the entry for the

file.

  1. Modify the general/graphlib/graphlib.xml (or whereever you put

it) file to add the new entry.

  1. Make any modifications to the actual libgtkhtml.xml file (such

as the prefix, etc). The file will now be in the new location.

  1. validate and render the XML
  1. Changelog - "moved yada yada yada"
  1. Commit

I believe that is it. But I'm going on memory so I may have missed something.

comment:6 by dnicholson@…, 18 years ago

Fix committed in r5706. Marking as fixed.

comment:7 by dnicholson@…, 18 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.