Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Feb 2005 12:53:59 +0100
From:      =?ISO-8859-2?Q?Zahemszky_G=E1bor?= <Gabor@Zahemszky.HU>
To:        freebsd-gnome@freebsd.org
Subject:   Incorrect Abiword dependency [PATCH]
Message-ID:  <42206357.2070105@Zahemszky.HU>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------050906040106000802040909
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: 7bit

Hi!

The editors/abiword port has a wrong dependency on Nautilus. If Nautilus
is not on the machine, abiword compile without Gnome support (and the
consequence of it, that there won't be a Print preview icon/menu in it).
But abiword only needs the lignomeprintui library to this feature -
neither nautilus2, nor the desktopfileutils package.
With the attached patch (which changes the Nautilus + libgnomeprintui +
desktopfileutils dependencies to libgnomeprintui only), I can generate a
correct, workable Abiword on my laptop, which has only the power to run
XFCE4, but not to run the full Gnome suite.)

Bye, Gabor

PS: As Abiword's maintainer is gnome@ , I think, I don't need to send-pr
the patch, too.

-- 
#!/bin/ksh
Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ 
';set $Z ;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? 
]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? 
]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;for 
i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;j="$j $i";typeset +l 
i;};print "$j"

--------------050906040106000802040909
Content-Type: text/plain;
 name="Makefile.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="Makefile.patch"

*** Makefile.orig	Sat Feb 26 12:28:12 2005
--- Makefile	Sat Feb 26 12:28:44 2005
***************
*** 56,63 ****
  
  .include <bsd.port.pre.mk>
  
! .if ${HAVE_GNOME:Mnautilus2}!="" && ${HAVE_GNOME:Mlibgnomeprintui}!=""
! USE_GNOME+=		nautilus2 libgnomeprintui desktopfileutils
  CONFIGURE_ARGS+=	--enable-gnome
  PKGNAMESUFFIX=		-gnome
  GNOME_ENABLED=		yes
--- 56,63 ----
  
  .include <bsd.port.pre.mk>
  
! .if ${HAVE_GNOME:Mlibgnomeprintui}!=""
! USE_GNOME+=		libgnomeprintui
  CONFIGURE_ARGS+=	--enable-gnome
  PKGNAMESUFFIX=		-gnome
  GNOME_ENABLED=		yes


--------------050906040106000802040909--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42206357.2070105>