Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Mar 2013 06:01:21 +0800 (CST)
From:      Hung-Yi Chen <gaod@hychen.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/177425: [NEW PORT] www/trac-tracdragdrop: extends attachments list in Trac
Message-ID:  <201303272201.r2RM1L7o093493@cse.tw>
Resent-Message-ID: <201303272210.r2RMA0fL088882@freefall.freebsd.org>

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

>Number:         177425
>Category:       ports
>Synopsis:       [NEW PORT] www/trac-tracdragdrop: extends attachments list in Trac
>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 Mar 27 22:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Hung-Yi Chen
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD cse.tw 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64

>Description:
This plugin extends attachments list in Trac.

- Drag-and-drop to attach files using HTML5 drag-and-drop, XMLHttpRequest Level 2 and File API.
- Progress bar while uploading the files using XMLHttpRequest Level 2.
- More than one file for selecting attachment files.
- Attach an image from clipboard.
- Auto-submit on select a file to attach.

WWW: http://trac-hacks.org/wiki/TracDragDropPlugin

>How-To-Repeat:
>Fix:

--- trac-tracdragdrop.diff begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 315416)
+++ Makefile	(working copy)
@@ -1933,6 +1933,7 @@
     SUBDIR += trac-tickettemplate
     SUBDIR += trac-timingandestimation
     SUBDIR += trac-tocmacro
+    SUBDIR += trac-tracdragdrop
     SUBDIR += trac-tweakui
     SUBDIR += trac-vote
     SUBDIR += trac-wantedpages
Index: trac-tracdragdrop/Makefile
===================================================================
--- trac-tracdragdrop/Makefile	(revision 0)
+++ trac-tracdragdrop/Makefile	(working copy)
@@ -0,0 +1,30 @@
+# Created by: Hung-Yi Chen <gaod@hychen.org>
+# $FreeBSD$
+
+PORTNAME=	tracdragdrop
+PORTVERSION=	0.12.0.10.${SVN_REV}
+CATEGORIES=	www devel python
+MASTER_SITES=	http://trac-hacks.org/changeset/${SVN_REV}/tracdragdropplugin?old_path=/&format=zip&filename=
+PKGNAMEPREFIX=	trac-
+DISTNAME=	${PORTNAME}plugin-r${SVN_REV}
+
+MAINTAINER=	gaod@hychen.org
+COMMENT=	Provides extends attachments list of Trac
+
+LICENSE=	BSD
+
+SVN_REV=	12822
+
+RUN_DEPENDS+=	tracd:${PORTSDIR}/www/trac
+
+WRKSRC=		${WRKDIR}/${PORTNAME}plugin/0.12
+USE_ZIP=	yes
+USE_PYTHON=	-2.7
+USE_PYDISTUTILS=	easy_install
+
+FETCH_BEFORE_ARGS=	-o ${DISTFILES}
+PYDISTUTILS_PKGNAME=	TracDragDrop
+PYDISTUTILS_PKGVERSION=	${PORTVERSION:C/.${SVN_REV}//g}
+PLIST_FILES=		%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+
+.include <bsd.port.mk>
Index: trac-tracdragdrop/distinfo
===================================================================
--- trac-tracdragdrop/distinfo	(revision 0)
+++ trac-tracdragdrop/distinfo	(working copy)
@@ -0,0 +1,2 @@
+SHA256 (tracdragdropplugin-r12822.zip) = 8bc454b52e5b4035142e84e51c69656deeb42b54033fd8f395d9a0786caa869d
+SIZE (tracdragdropplugin-r12822.zip) = 39920
Index: trac-tracdragdrop/pkg-descr
===================================================================
--- trac-tracdragdrop/pkg-descr	(revision 0)
+++ trac-tracdragdrop/pkg-descr	(working copy)
@@ -0,0 +1,11 @@
+This plugin extends attachments list in Trac.
+
+Drag-and-drop to attach files using HTML5 drag-and-drop, 
+XMLHttpRequest Level 2 and File API.
+Progress bar while uploading the files using XMLHttpRequest
+Level 2.
+More than one file for selecting attachment files.
+Attach an image from clipboard.
+Auto-submit on select a file to attach.
+
+WWW: http://trac-hacks.org/wiki/TracDragDropPlugin
--- trac-tracdragdrop.diff ends here ---


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



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