Bug 206453 - dev-util/meld-1.1.5.1 installs empty /usr/share/doc/meld
Bug#: 206453 Product:  Gentoo Linux Version: 2007.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: trivial Priority: P2
Resolution: FIXED Assigned To: gnome@gentoo.org Reported By: mayo@clara.co.uk
Component: Ebuilds
URL: 
Summary: dev-util/meld-1.1.5.1 installs empty /usr/share/doc/meld
Keywords:  
Status Whiteboard: 
Opened: 2008-01-17 19:36 0000
Description:   Opened: 2008-01-17 19:36 0000
meld-1.1.5.1 creates an empty directory /usr/share/doc/meld

Adding:

sed -i -e 's:\$(docdir)/meld:\$(docdir)/${PF}:' INSTALL

fixed this for me.

------- Comment #1 From Todd Partridge 2008-02-11 20:23:43 0000 -------
Can meld remove the dependency of gnome-python-desktop and all that is included
with it:

http://bugs.gentoo.org/show_bug.cgi?id=160991

The only part that uses gnome-python-desktop is syntax highlighting which which
is off by default and nobody really uses anyway.

------- Comment #2 From Gilles Dartiguelongue 2008-02-12 09:11:48 0000 -------
(In reply to comment #1)
> Can meld remove the dependency of gnome-python-desktop and all that is included
> with it:

please read the summary of this bug again and tell me where you see it's
related to dependencies ? That said, the dep won't be optional until the source
of the problem is fixed and yes, some people use syntax highlighting. Thanks
for understanding.

------- Comment #3 From Daniel Gryniewicz 2008-02-15 20:27:47 0000 -------
I use syntax highlighting.  Meld is useless without it, IMO.

------- Comment #4 From Gilles Dartiguelongue 2008-04-16 21:19:04 0000 -------
This dir doesn't exist for me in -r1 but I don't see the above mentionned fix
in the ebuild either. Could you give the new ebuild a try ?

------- Comment #5 From Chris Mayo 2008-04-17 19:39:31 0000 -------
Still get:
/usr/share/doc/meld  /usr/share/doc/meld-1.1.5.1-r1

USE="-debug doc gnome"

------- Comment #6 From Arun Raghavan 2008-05-20 05:55:19 0000 -------
Reproducible here 1.1.5.1-r1, and using Chris' one-liner in the ebuild fixed it
too.

------- Comment #7 From Arun Raghavan 2008-05-20 06:00:00 0000 -------
Created an attachment (id=153713) [details]
patch to dev-util/meld-1.1.5-r1 to fix creation of /usr/share/doc/meld

Ebuild patch for easy testing

------- Comment #8 From Rémi Cardona 2008-05-20 06:35:41 0000 -------
Arun, your patch is empty :D

------- Comment #9 From Arun Raghavan 2008-05-20 07:51:32 0000 -------
Created an attachment (id=153717) [details]
non-b0rked patch to dev-util/meld-1.1.5-r1 to fix creation of
/usr/share/doc/meld

:( <goes and stands in the corner>

------- Comment #10 From Gilles Dartiguelongue 2008-05-21 22:36:44 0000 -------
fixed, sorry for taking so long.