Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2002 22:41:29 -0500 (EST)
From:      "Frank J. Laszlo" <laszlof@buster.freebsdmatrix.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44804: The current port for the new native opera web browser did not include an option for the shared QT version of the application,
Message-ID:  <200211010341.gA13fTNA089049@buster.freebsdmatrix.net>

next in thread | raw e-mail | index | archive | help

>Number:         44804
>Category:       ports
>Synopsis:       The current port for the new native opera web browser did not include an option for the shared QT version of the application,
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 31 19:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Frank J. Laszlo
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
none
>Environment:
System: FreeBSD buster.freebsdmatrix.net 4.7-RELEASE FreeBSD 4.7-RELEASE #2: Sat Oct 12 09:51:41 EDT 2002 laszlof@buster.freebsdmatrix.net:/usr/obj/usr/src/sys/BUSTER i386

	
>Description:
The opera web browser port located in the ports tree (ports/www/opera) lacked an option for the shared QT version of Opera. I thought it would be
rather pointless to create A whole other port just for a for a slightly different setup. Attached is the patch for the opera port to correct this.

>How-To-Repeat:
>Fix:


--- opera61+shared_qt.patch begins here ---
diff -r -U 3 opera.orig/Makefile opera/Makefile
--- opera.orig/Makefile	Thu Oct 31 11:38:38 2002
+++ opera/Makefile	Thu Oct 31 22:16:03 2002
@@ -9,10 +9,15 @@
 PORTVERSION=	6.10.20021015
 PORTREVISION=	1
 CATEGORIES=	www
-MASTER_SITES=	http://opera.online.no/linux/610/beta1/en/static_freebsd/ \
-		ftp://ftp.opera.com/pub/opera/linux/610/beta1/en/static_freebsd/
+MASTER_SITES=	http://opera.online.no/linux/610/beta1/en/${QT_TYPE}_freebsd/ \
+		ftp://ftp.opera.com/pub/opera/linux/610/beta1/en/${QT_TYPE}_freebsd/
+.if !defined(WITH_SHARED_QT)
 DISTNAME=	${PORTNAME}-${PORTVERSION:S/10./10-/}.1-static-qt.i386.freebsd
-
+QT_TYPE=	static
+.else
+DISTNAME=       ${PORTNAME}-${PORTVERSION:S/10./10-/}.2-shared-qt-mt.i386.freebsd
+QT_TYPE=	shared
+.endif
 MAINTAINER=	des@FreeBSD.org
 
 LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png
@@ -25,6 +30,13 @@
 NO_BUILD=	yes
 NO_FILTER_SHLIBS=yes
 
+pre-everything:
+.if !defined(WITH_SHARED_QT)
+	@${ECHO_MSG} "		To install opera with shared QT, instead"
+	@${ECHO_MSG} "		of the default static QT, hit CTRL+C now"
+	@${ECHO_MSG} "		       and define WITH_SHARED_QT" 
+	@${ECHO_MSG} ""
+.endif
 do-install:
 	(cd ${WRKSRC} && ${SH} install.sh --prefix="${PREFIX}")
 
diff -r -U 3 opera.orig/distinfo opera/distinfo
--- opera.orig/distinfo	Thu Oct 31 11:38:37 2002
+++ opera/distinfo	Thu Oct 31 22:09:37 2002
@@ -1 +1,2 @@
 MD5 (opera-6.10-20021015.1-static-qt.i386.freebsd.tar.bz2) = a23bcd731a9ac5e7fdfa30b61f1aae14
+MD5 (opera-6.10-20021015.2-shared-qt-mt.i386.freebsd.tar.bz2) = 55fe4f8cc015e9f1c5862f8fecac2913
--- opera61+shared_qt.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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