From owner-freebsd-ports@FreeBSD.ORG Fri Apr 3 18:09:32 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FF85106566B; Fri, 3 Apr 2009 18:09:32 +0000 (UTC) (envelope-from rjk@wintek.com) Received: from mail.wintek.com (mail.wintek.com [199.233.104.86]) by mx1.freebsd.org (Postfix) with ESMTP id 452798FC1F; Fri, 3 Apr 2009 18:09:32 +0000 (UTC) (envelope-from rjk@wintek.com) Received: from local.wintek.com (local.wintek.com [206.230.2.234]) by mail.wintek.com (8.14.3/8.14.2/Wintek) with ESMTP id n33I9VRB099601; Fri, 3 Apr 2009 14:09:31 -0400 (EDT) (envelope-from rjk@wintek.com) Received: from rjk.wintek.local ([172.28.1.248]) by local.wintek.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 3 Apr 2009 14:09:26 -0400 Message-ID: <49D650D6.5090609@wintek.com> Date: Fri, 03 Apr 2009 14:09:26 -0400 From: Richard Kuhns Organization: Wintek Corporation User-Agent: Thunderbird 2.0.0.21 (X11/20090323) MIME-Version: 1.0 To: Boris Samorodov References: <49D6180F.5@icyb.net.ua> <69851296@bb.ipt.ru> <49D61C8E.1030806@icyb.net.ua> <03779878@bb.ipt.ru> <49D642F5.5080809@wintek.com> <37698795@bb.ipt.ru> <91290989@bb.ipt.ru> In-Reply-To: <91290989@bb.ipt.ru> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Apr 2009 18:09:26.0448 (UTC) FILETIME=[5318AB00:01C9B487] Cc: freebsd-emulation@freebsd.org, Andriy Gapon , freebsd-ports@freebsd.org Subject: Re: USE_LINUX_APPS=scimgtk vs OVERRIDE_LINUX_BASE_PORT=f7 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rjk@wintek.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Apr 2009 18:09:32 -0000 Boris Samorodov wrote: > On Fri, 03 Apr 2009 21:48:04 +0400 Boris Samorodov wrote: >> On Fri, 03 Apr 2009 13:10:13 -0400 Richard Kuhns wrote: >>> Boris Samorodov wrote: >>>> On Fri, 03 Apr 2009 17:26:22 +0300 Andriy Gapon wrote: >>>>> on 03/04/2009 17:19 Boris Samorodov said the following: >>>>>> On Fri, 03 Apr 2009 17:07:11 +0300 Andriy Gapon wrote: >>>>>> >>>>>>> For instance: acroread8 has USE_LINUX_APPS=scimgtk. >>>>>>> bsd.linux-apps.mk translates this to dependency on libscim-1.0.so.8.1.0. >>>>>>> But I have: >>>>>>> $ pkg_which /usr/compat/linux/usr/lib/libscim-1.0.so.8.1.1 >>>>>>> linux-scim-libs-fc7-1.4.5_2 >>>>>>> And yes, I have OVERRIDE_LINUX_BASE_PORT=f7. >>>>>> Please, read my HEADSUP message from April, 01. Well, it was not >>>>>> a joke. ;-) >>>>> Could you please explain it to me? >>>> The variable OVERRIDE_LINUX_BASE_PORT should mean override linux >>>> base port. Hrs@ (as a maintainer of textproc/linux-scim-libs) >>>> did his best to give everyone an opportunity to use new linux >>>> libs when there was no other linux infrastructure ports. >>>> >>>>> I didn't see anything related to f7 in the message and I don't plan to upgrade to >>>>> f8 soon. >>>> As for ports, there is no difference between f7 and f8 ones. Except >>>> f8 linux infrastructure ports are fully presented at the portstree. >>>> >>>>> So how am I affected by your changes? >>>> You are affected by a side effect of the fact that hrs@ gave you >>>> an opportunity to use newer linux libs when there was no other >>>> infrastructure ports. And he decided (it was the only one right >>>> decision) to use OVERRIDE_LINUX_BASE_PORT to distinguish between >>>> different versions of ports/packages. >>>> > >>> So if I'm reading this correctly, if I want to upgrade acroread8 I'll need to >>> delete all linux ports and reinstall, even though I'm running -f8? I've had no > >> You were running linux_base-f8 and linux infrastructure ports for fc4. > >> Yes, if you use linux_base-f8 and upgrade any linux application you >> should upgrade to new infrastructure ports. > > Wrong phrasing at my side. That should be: > Yes, if you use non-default linux base port and upgrade any linux > application using linux-scim-libs you should upgrade to new > infrastructure ports. > > Besides, I've got a patch which may help with linux-scim-libs case. > the patch should be applied at /usr/ports/Mk directory. > ----- > Index: bsd.linux-apps.mk > =================================================================== > RCS file: /home/pcvs/ports/Mk/bsd.linux-apps.mk,v > retrieving revision 1.4 > diff -u -r1.4 bsd.linux-apps.mk > --- bsd.linux-apps.mk 2 Apr 2009 12:58:21 -0000 1.4 > +++ bsd.linux-apps.mk 3 Apr 2009 18:04:25 -0000 > @@ -299,8 +299,8 @@ > scimgtk_PORT= ${PORTSDIR}/textproc/linux${LINUX_DIST_SUFFIX}-scim-gtk > scimgtk_DEPENDS= gtk2 scimlibs > > -scimlibs_FILE= ${LINUXBASE}/usr/lib/libscim-1.0.so.8.1.0 > -scimlibs_f8_FILE= ${LINUXBASE}/usr/lib/libscim-1.0.so.8.2.3 > +scimlibs_FILE= ${LINUXBASE}/usr/lib/libscim-1.0.so.8 > +scimlibs_f8_FILE= ${LINUXBASE}/usr/lib/libscim-1.0.so.8 > scimlibs_DETECT= ${scimlibs${LINUX_DIST_SUFFIX:S/-/_/}_FILE} > scimlibs_PORT= ${PORTSDIR}/textproc/linux${LINUX_DIST_SUFFIX}-scim-libs > scimlibs_DEPENDS= gtk2 > ----- > > Please, test it and give a feedback. > With this patch I was able to upgrade acroread8 without having OVERRIDE_LINUX_NON_BASE_PORTS=f8 in /etc/make.conf. Thanks! - Rich -- Richard Kuhns Wintek Corporation E-mail: rjk@wintek.com 427 N 6th Street STE C Receptionist: 765-742-8428 Lafayette, IN 47901-2211 Direct Line: 765-269-8541 United States of America