From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 22 20:30:01 2009 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 DA6B81065676 for ; Wed, 22 Apr 2009 20:30:01 +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 B440E8FC14 for ; Wed, 22 Apr 2009 20:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3MKU18I069888 for ; Wed, 22 Apr 2009 20:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3MKU19v069882; Wed, 22 Apr 2009 20:30:01 GMT (envelope-from gnats) Resent-Date: Wed, 22 Apr 2009 20:30:01 GMT Resent-Message-Id: <200904222030.n3MKU19v069882@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, Heiner Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E4F9106566B for ; Wed, 22 Apr 2009 20:20:29 +0000 (UTC) (envelope-from h.eichmann@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id D6B0A8FC18 for ; Wed, 22 Apr 2009 20:20:28 +0000 (UTC) (envelope-from h.eichmann@gmx.de) Received: (qmail invoked by alias); 22 Apr 2009 20:20:27 -0000 Received: from p54823C9D.dip.t-dialin.net (EHLO 7of9.unimatrix-zero.borg) [84.130.60.157] by mail.gmx.net (mp067) with SMTP; 22 Apr 2009 22:20:27 +0200 Message-Id: <200904222223.16197.h.eichmann@gmx.de> Date: Wed, 22 Apr 2009 22:23:16 +0200 From: Heiner To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/133928: New Port: multimedia/gdialog, A Project X addon to read Siemens Gigaset M740AV video recordings X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Apr 2009 20:30:02 -0000 >Number: 133928 >Category: ports >Synopsis: New Port: multimedia/gdialog, A Project X addon to read >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Apr 22 20:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Heiner Eichmann >Release: FreeBSD 7.1-RELEASE >Organization: Sirius Cybernetics Corp. >Environment: FreeBSD 7of9.unimatrix-zero.borg 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #0: Sun Feb 22 13:06:04 CET 2009 root@7of9.unimatrix-zero.borg:/usr/obj/usr/src/sys/GENERIC i386 >Description: "GDialog" is an add-on for "Project X - DVB demux Tool". It adds a dialog to it's GUI to retrieve and select the video recordings of the Siemens Gigaset M740AV settop box. For details refer to the wiki (german only): http://www.m740.de/wiki/ProjectX_mit_Gigaset-Erweiterung I am not sure, if this port is as intended. I had 3 problems: - GDialog is a java .jar, which extends another java program (projectx). To work, it must copy a .jar into the directory with the files installed by the depentent port (projectx). Therefore the strange DATADIR= line - It requires projectx to be installed at install time (copies into its install directory) and to be installed at run time. This is a typical LIB_DEPENDS situation. Unfortunately (as I understand it) LIB_DEPENDS works only on c-libraries, not on jars. Therefore I have made a BUILD_DEPENDS and RUN_DEPENDS out of it. - GDialog 2.5 works only with projectx 0.90.4.00. Unfortunately I can not set BUILD_DEPENDS= projectx=0.90.4.00_*:.... or BUILD_DEPENDS= projectx>=0.90.4.00_0 || projectx>=0.90.4.00_9999:... so I set BUILD_DEPENDS= projectx>=0.90.4.00:... which will survive the next PORTREVISION bump but will fail on the next version upgrade of projectx. I have no better idea. If someone with deeper insight into the FreeBSD port system has a better solution: any hint is welcome! Regards, Heiner >How-To-Repeat: >Fix: --Boundary-00=_0y37Jc3bPWsH8ev Content-Type: text/plain; charset="iso 8859-15"; name="gdialog.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="gdialog.txt" # 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: # # gdialog # gdialog/Makefile # gdialog/distinfo # gdialog/pkg-descr # gdialog/pkg-plist # gdialog/files # gdialog/files/gdialog.sh.in # echo c - gdialog mkdir -p gdialog > /dev/null 2>&1 echo x - gdialog/Makefile sed 's/^X//' >gdialog/Makefile << '3ed0049d544c40296982dfe76a4f85ec' X# New ports collection makefile for: gdialog X# Date created: Sun Apr 19 21:30:26 CEST 2009 X# Whom: Heiner Eichmann X# X# $FreeBSD$ X# X XPORTNAME= gdialog XPORTVERSION= 2.5 XCATEGORIES= multimedia java XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= gdialog-x XDISTFILES= GDialog-090400-25.zip X XMAINTAINER= h.eichmann@gmx.de XCOMMENT= A Project X addon to read Siemens Gigaset M740AV video recordings X XBUILD_DEPENDS= projectx>=0.90.4.00:${PORTSDIR}/multimedia/projectx XRUN_DEPENDS= projectx>=0.90.4.00:${PORTSDIR}/multimedia/projectx X XUSE_ZIP= yes XUSE_JAVA= yes XJAVA_VERSION= 1.3+ XUSE_JIKES= no XEXTRACT_AFTER_ARGS= -d ${WRKDIR}/gdialog-${PORTVERSION} X XSUB_FILES= gdialog.sh XDATADIR= ${JAVASHAREDIR}/projectx X Xdo-build: X Xdo-install: X ${MKDIR} ${DATADIR} X ${INSTALL_DATA} ${WRKSRC}/GDialog.jar ${DATADIR} X ${INSTALL_DATA} ${WRKSRC}/ReleaseNotes.txt ${DATADIR}/GDialog-ReleaseNotes.txt X ${INSTALL_DATA} ${WRKSRC}/Copying ${DATADIR}/GDialog-Copying X ${INSTALL_SCRIPT} ${WRKDIR}/gdialog.sh ${PREFIX}/bin/gdialog X X.include 3ed0049d544c40296982dfe76a4f85ec echo x - gdialog/distinfo sed 's/^X//' >gdialog/distinfo << '3432ec1b1f293cbdfc31b4ceedc52c10' XMD5 (GDialog-090400-25.zip) = e1322ebb076219da83ea929f7d3a18a1 XSHA256 (GDialog-090400-25.zip) = ce2aa949b1bff567d7ce2f3a4b3f62a0d886b0dcdb02aa7c02eca2a43ae7faba XSIZE (GDialog-090400-25.zip) = 297624 3432ec1b1f293cbdfc31b4ceedc52c10 echo x - gdialog/pkg-descr sed 's/^X//' >gdialog/pkg-descr << '3ba3087d607fbe8bedda588d45265da8' X"GDialog" is an add-on for "Project X - DVB demux Tool". XIt adds a dialog to it's GUI to retrieve and select the video recordings Xof the Siemens Gigaset M740AV settop box. XFor details refer to the wiki (german only): Xhttp://www.m740.de/wiki/ProjectX_mit_Gigaset-Erweiterung X XWWW: http://sourceforge.net/projects/gdialog-x XHeiner (h.eichmann@gmx.de) 3ba3087d607fbe8bedda588d45265da8 echo x - gdialog/pkg-plist sed 's/^X//' >gdialog/pkg-plist << '18dff07008f253c2acdfcd6fa3491f0d' Xbin/gdialog X%%DATADIR%%/GDialog-Copying X%%DATADIR%%/GDialog.jar X%%DATADIR%%/GDialog-ReleaseNotes.txt X@dirrmtry %%DATADIR%% 18dff07008f253c2acdfcd6fa3491f0d echo c - gdialog/files mkdir -p gdialog/files > /dev/null 2>&1 echo x - gdialog/files/gdialog.sh.in sed 's/^X//' >gdialog/files/gdialog.sh.in << '2c515a63c09b590989a932574dea0e12' X#!/bin/sh X# X# $FreeBSD: $ X Xcase "$#" in X0) X mkdir -p "${HOME}/.projectx" X cd "${HOME}/.projectx" X ln -sf %%DATADIR%%/*.txt %%DATADIR%%/htmls . X if ! grep '^# ProjectX 0.90.4.00' X.ini >/dev/null 2>&1; then X rm -f X.ini X fi X ;; Xesac X XJAVA_VERSION="%%JAVA_VERSION%%" exec "%%LOCALBASE%%/bin/java" -jar "%%DATADIR%%/GDialog.jar" "$@" 2c515a63c09b590989a932574dea0e12 exit --Boundary-00=_0y37Jc3bPWsH8ev-- >Release-Note: >Audit-Trail: >Unformatted: --Boundary-00=_0y37Jc3bPWsH8ev Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Siemens Gigaset M740AV video recordings