From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Aug 9 19:40:02 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F1B3106566C for ; Sat, 9 Aug 2008 19:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 36AEA8FC12 for ; Sat, 9 Aug 2008 19:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m79Je2UF063865 for ; Sat, 9 Aug 2008 19:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m79Je26Z063864; Sat, 9 Aug 2008 19:40:02 GMT (envelope-from gnats) Resent-Date: Sat, 9 Aug 2008 19:40:02 GMT Resent-Message-Id: <200808091940.m79Je26Z063864@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, Jeremy Messenger Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 382A21065673 for ; Sat, 9 Aug 2008 19:39:43 +0000 (UTC) (envelope-from mezz@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 18B5C8FC16 for ; Sat, 9 Aug 2008 19:39:43 +0000 (UTC) (envelope-from mezz@FreeBSD.org) Received: from freefall.freebsd.org (mezz@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m79JdgbV063788 for ; Sat, 9 Aug 2008 19:39:43 GMT (envelope-from mezz@freefall.freebsd.org) Received: (from mezz@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m79JdgWQ063787; Sat, 9 Aug 2008 19:39:42 GMT (envelope-from mezz) Message-Id: <200808091939.m79JdgWQ063787@freefall.freebsd.org> Date: Sat, 9 Aug 2008 19:39:42 GMT From: Jeremy Messenger To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/126403: Request test USE_WEBPLUGINS in pointyhat-exp X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jeremy Messenger List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Aug 2008 19:40:02 -0000 >Number: 126403 >Category: ports >Synopsis: Request test USE_WEBPLUGINS in pointyhat-exp >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 Aug 09 19:40:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Jeremy Messenger >Release: FreeBSD 7.0-STABLE i386 >Organization: >Environment: System: FreeBSD freefall.freebsd.org 7.0-STABLE FreeBSD 7.0-STABLE #34: Sat Apr 12 11:52:18 UTC 2008 simon@freefall.freebsd.org:/usr/src/sys/i386/compile/FREEFALL i386 >Description: I am requesting to test USE_WEBPLUGINS in pointyhat-exp that will touching about 35 ports and Mk/bsd.gecko.mk. We need it, because the lib/browser_plugins is too general for multi-browser these day. Some plugins can cause one of browser crash. The framework will be in www/firefox/Makefile.webplugins. diff: http://people.freebsd.org/~mezz/webplugins/webplugins.diff tarball: http://people.freebsd.org/~mezz/webplugins/ports-webplugins.tar.bz2 # Documentation and examples: # # Makefile.webplugins will create symlinks automatically for each supported # applications that supports the webplugins framework. Also, it will remove # these symlinks when the plug-in port is uninstalled. # # USE_WEBPLUGINS - Specify a list of application(s) that this plug-in # port supports. For each of these applications, a # symlink will be created in # lib/browser_plugins/symlinks. See # WEBPLUGINS_APPS_ALL_* below for the list of # supported applications. # Default: USE_WEBPLUGINS=${WEBPLUGINS_APPS_ALL} (all # applications) # # WEBPLUGINS_NAME - If your port installs file(s) in ${WEBPLUGINS_DIR}, # then you can tweak WEBPLUGINS_NAME to change the # name of the directory # (lib/browser_plugins/symlinks/WEBPLUGINS_NAME). # Default: WEBPLUGINS_NAME=${PKGBASE} # # WEBPLUGINS_FILES - The plug-in file(s) that are going to be linked # in lib/browser_plugins/symlinks/*/. It cannot # be empty or the port will set IGNORE. # # WEBPLUGINS_DIR - The directory where the plug-in file(s) can be # found. Each plug-in file in WEBPLUGINS_FILES # must be found in WEBPLUGINS_DIR. If your port # does not install in WEBPLUGINS_DIR, but in its own # path. You will need to specify that here or # symlinks will be created to non-existent files. # Default: WEBPLUGINS_DIR?=${WEBPLUGINS_LIBDIR}/${WEBPLUGINS_NAME} # # # The USE_WEBPLUGINS supports wildcards, native, and linux; so you can do any # of the following: # # USE_WEBPLUGINS=gecko* (Supports gecko18 and gecko19.) # USE_WEBPLUGINS=native (Supports gecko*, opera*, and webkit-gtk2) # USE_WEBPLUGINS=linux (Supports linux-*) # USE_WEBPLUGINS=opera webkit-gtk2 # # Example to add in Makefile and pkg-plist if the plug-in file(s) install in # WEBPLUGINS_DIR, and if your port does this manually: # # Makefile: # ------------------------------------------------------ # [...] # USE_WEBPLUGINS=gecko* # WEBPLUGINS_FILES=fooplugin.so fooplugin.xpi # # .include # .include "${PORTSDIR}/www/firefox/Makefile.webplugins" # # post-install: # ${MKDIR} ${WEBPLUGINS_DIR} # ${INSTALL_DATA} ${WEBPLUGINS_FILES:S,^,${WRKSRC}/plugins/,} \ # ${WEBPLUGINS_DIR} # # .include # ------------------------------------------------------ # # You do not need to add lib/browser_plugins and lib/browser_plugins/symlinks # in pkg-plist, because they will be removed automatically. # # pkg-plist: # ------------------------------------------------------ # [...] # %%WEBPLUGINS_DIR%%/fooplugin.so # %%WEBPLUGINS_DIR%%/fooplugin.xpi # @dirrmtry %%WEBPLUGINS_DIR%% # ------------------------------------------------------ # # Here is what it will look like when it creates the symlinks: # # ------------------------------------------------------ # /usr/local/lib/browser_plugins/gecko18/fooplugin.so -> /usr/local/lib/browser_plugins/application/fooplugin.so # /usr/local/lib/browser_plugins/gecko18/fooplugin.xpi -> /usr/local/lib/browser_plugins/application/fooplugin.xpi # /usr/local/lib/browser_plugins/gecko19/fooplugin.so -> /usr/local/lib/browser_plugins/application/fooplugin.so # /usr/local/lib/browser_plugins/gecko19/fooplugin.xpi -> /usr/local/lib/browser_plugins/application/fooplugin.xpi # ------------------------------------------------------ # # If your port uses libtool, and installs any *.a and *.la files, do not add # these files to WEBPLUGINS_FILES. WEBPLUGINS_FILES should be *.so or/and # *.xpi ONLY. # # Example to add in Makefile and pkg-plist if your port installs plug-ins in # its own directory, and you need to set WEBPLUGINS_DIR. # # Makefile: # ------------------------------------------------------ # [...] # USE_WEBPLUGINS=gecko* # WEBPLUGINS_DIR=#{PREFIX}/lib/application # WEBPLUGINS_FILES=fooplugin.so fooplugin.xpi # # .include # .include "${PORTSDIR}/www/firefox/Makefile.webplugins" # # [...] # # .include # ------------------------------------------------------ # # As for the pkg-plist, it should only include the actual files your # port installs: # # pkg-plist: # ------------------------------------------------------ # [...] # lib/application/fooplugin.a # lib/application/fooplugin.la # lib/application/fooplugin.so # lib/application/fooplugin.xpi # @dirrm lib/application # ------------------------------------------------------ # # Here is what it will look like when it creates symlinks: # # ------------------------------------------------------ # /usr/local/lib/browser_plugins/gecko18/fooplugin.so -> /usr/local/lib/application/fooplugin.so # /usr/local/lib/browser_plugins/gecko18/fooplugin.xpi -> /usr/local/lib/application/fooplugin.xpi # /usr/local/lib/browser_plugins/gecko19/fooplugin.so -> /usr/local/lib/application/fooplugin.so # /usr/local/lib/browser_plugins/gecko19/fooplugin.xpi -> /usr/local/lib/application/fooplugin.xpi # ------------------------------------------------------ >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: