From owner-freebsd-ports-bugs@FreeBSD.ORG Sat May 22 03:01:21 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5529C16A4CE for ; Sat, 22 May 2004 03:01:21 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3851143D49 for ; Sat, 22 May 2004 03:01:21 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i4MA0jF8097299 for ; Sat, 22 May 2004 03:00:45 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4MA0jfc097298; Sat, 22 May 2004 03:00:45 -0700 (PDT) (envelope-from gnats) Resent-Date: Sat, 22 May 2004 03:00:45 -0700 (PDT) Resent-Message-Id: <200405221000.i4MA0jfc097298@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Roman Y. Bogdanov" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADD3416A4CE for ; Sat, 22 May 2004 03:00:23 -0700 (PDT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93A0943D41 for ; Sat, 22 May 2004 03:00:23 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i4M9x9uM092955 for ; Sat, 22 May 2004 02:59:09 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i4M9x99K092954; Sat, 22 May 2004 02:59:09 -0700 (PDT) (envelope-from nobody) Message-Id: <200405220959.i4M9x99K092954@www.freebsd.org> Date: Sat, 22 May 2004 02:59:09 -0700 (PDT) From: "Roman Y. Bogdanov" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: ports/67032: flashplugin for firefox port X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2004 10:01:21 -0000 >Number: 67032 >Category: ports >Synopsis: flashplugin for firefox port >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat May 22 03:00:45 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Roman Y. Bogdanov >Release: 5.2.1 >Organization: n/a >Environment: FreeBSD brj.pp.ru 5.2.1-RELEASE-p7 FreeBSD 5.2.1-RELEASE-p7 #0: Wed May 19 19:07:17 KRAST 2004 root@brj.pp.ru:/usr/obj/usr/src/sys/brj-5x i386 >Description: New port flash-plugin firefox >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # flashplugin-firefox # flashplugin-firefox/files # flashplugin-firefox/files/patch-aa # flashplugin-firefox/files/patch-plugin.c # flashplugin-firefox/Makefile # flashplugin-firefox/distinfo # flashplugin-firefox/pkg-descr # flashplugin-firefox/pkg-plist # echo c - flashplugin-firefox mkdir -p flashplugin-firefox > /dev/null 2>&1 echo c - flashplugin-firefox/files mkdir -p flashplugin-firefox/files > /dev/null 2>&1 echo x - flashplugin-firefox/files/patch-aa sed 's/^X//' >flashplugin-firefox/files/patch-aa << 'END-of-flashplugin-firefox/files/patch-aa' X--- Makefile.orig Tue Sep 28 05:13:38 1999 X+++ Makefile Sat Mar 13 20:06:26 2004 X@@ -35,8 +35,8 @@ X # Linux X SHARED=-shared X X-CFLAGS= $(OPTIMIZER) $(PLUGIN_DEFINES) -I$(FLASH) -I/usr/X11R6/include X-LDFLAGS= $(FLASH)/libflash.a $(LIBCXX) ../Jpeg/libjpeg.a ../Zlib/libz.a X+CFLAGS+= $(OPTIMIZER) $(PLUGIN_DEFINES) -I$(FLASH) -I/usr/X11R6/include -fPIC X+LDFLAGS= -L${LOCALBASE}/lib -lflash -ljpeg -lz -L$(X11BASE)/lib -lXt X X SRC= plugin.c npunix.c X OBJ= plugin.o npunix.o X@@ -45,7 +45,7 @@ X X default all: $(SHAREDTARGET) X X-$(SHAREDTARGET): $(OBJ) $(FLASH)/libflash.a X+$(SHAREDTARGET): $(OBJ) X $(LD) $(SHARED) -o $(SHAREDTARGET) $(OBJ) $(LDFLAGS) X X plugin.o: $(FLASH)/flash.h END-of-flashplugin-firefox/files/patch-aa echo x - flashplugin-firefox/files/patch-plugin.c sed 's/^X//' >flashplugin-firefox/files/patch-plugin.c << 'END-of-flashplugin-firefox/files/patch-plugin.c' X*** plugin.c.old Mon Jun 12 10:24:09 2000 X--- plugin.c Mon Sep 30 00:48:40 2002 X*************** X*** 193,198 **** X--- 193,207 ---- X XSync(This->dpy,False); X XFreePixmap(This->dpy, This->canvas); X shmdt(This->segInfo.shmaddr); X+ #ifndef linux X+ { X+ struct shmid_ds buf; X+ X+ if (shmctl(This->segInfo.shmid, IPC_RMID, &buf) < 0) { X+ perror("shmctl"); X+ } X+ } X+ #endif X X FlashClose(This->fh); X This->fh = 0; END-of-flashplugin-firefox/files/patch-plugin.c echo x - flashplugin-firefox/Makefile sed 's/^X//' >flashplugin-firefox/Makefile << 'END-of-flashplugin-firefox/Makefile' X# New ports collection makefile for: flashplugin-firefox X# Date created: 22.05.2004 X# Whom: Roman Y. Bogdanov X# X# $FreeBSD$ X# X XPORTNAME?= flashplugin-firefox XPORTVERSION= 0.4.10 XPORTREVISION= 6 XCATEGORIES= www XMASTER_SITES= http://www.swift-tools.net/Flash/ XDISTNAME= flash-${PORTVERSION} XEXTRACT_SUFX= .tgz X XMAINTAINER= sam@brj.pp.ru XCOMMENT= A GPL standalone Flash (TM) plugin for FireFox web browser X XLIB_DEPENDS= flash.0:${PORTSDIR}/graphics/libflash XRUN_DEPENDS?= firefox:${PORTSDIR}/www/firefox X XUSE_X_PREFIX= yes X XWRKSRC= ${WRKDIR}/${DISTNAME}/Plugin XPLUGIN_DIR?= lib/firefox/lib/mozilla-1.6/plugins XPLIST_SUB+= PLUGIN_DIR=${PLUGIN_DIR} X Xdo-install: X @${MKDIR} ${PREFIX}/${PLUGIN_DIR} X @${INSTALL_PROGRAM} ${WRKSRC}/npflash.so ${PREFIX}/${PLUGIN_DIR} X X.include END-of-flashplugin-firefox/Makefile echo x - flashplugin-firefox/distinfo sed 's/^X//' >flashplugin-firefox/distinfo << 'END-of-flashplugin-firefox/distinfo' XMD5 (flash-0.4.10.tgz) = 1473f085c599d8076fa866cd91e11598 XSIZE (flash-0.4.10.tgz) = 358995 END-of-flashplugin-firefox/distinfo echo x - flashplugin-firefox/pkg-descr sed 's/^X//' >flashplugin-firefox/pkg-descr << 'END-of-flashplugin-firefox/pkg-descr' XThis is GPL standalone Flash (TM) Plugin, that comes with FlashLib X(libflash) distribution. X XAuthor: Olivier Debon XWWW: http://www.swift-tools.net/Flash/ END-of-flashplugin-firefox/pkg-descr echo x - flashplugin-firefox/pkg-plist sed 's/^X//' >flashplugin-firefox/pkg-plist << 'END-of-flashplugin-firefox/pkg-plist' X%%PLUGIN_DIR%%/npflash.so X@unexec rmdir %%PLUGIN_DIR%% 2>/dev/null || true END-of-flashplugin-firefox/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: