Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jan 2008 15:44:28 GMT
From:      Max Brazhnikov <makc@issp.ac.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/119456: new port: multimedia/subtitlecomposer
Message-ID:  <200801081544.m08FiSrN027458@www.freebsd.org>
Resent-Message-ID: <200801081550.m08Fo0P5061745@freefall.freebsd.org>

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

>Number:         119456
>Category:       ports
>Synopsis:       new port: multimedia/subtitlecomposer
>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:   Tue Jan 08 15:50:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Max Brazhnikov
>Release:        FreeBSD 7.0-PRERELEASE i386
>Organization:
>Environment:
FreeBSD luna.dio.ru 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Sun Dec 23 12:56:08 MSK 2007     root@luna.dio.ru:/usr/obj/usr/src/sys/LUNA  i386
>Description:
new port - subtitles editor for KDE
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	subtitlecomposer
#	subtitlecomposer/pkg-descr
#	subtitlecomposer/Makefile
#	subtitlecomposer/pkg-plist
#	subtitlecomposer/distinfo
#	subtitlecomposer/files
#	subtitlecomposer/files/patch-src__core__subtitleline.cpp
#
echo c - subtitlecomposer
mkdir -p subtitlecomposer > /dev/null 2>&1
echo x - subtitlecomposer/pkg-descr
sed 's/^X//' >subtitlecomposer/pkg-descr << 'END-of-subtitlecomposer/pkg-descr'
XSubtitle Composer supports the basic operations (text, time, and
Xstyle edition) as well as real time preview, spell checking and
Xmore; aiming to become an improved version of Subtitle Workshop for
XUNIX-like OSes.
X
XWWW:	https://sourceforge.net/projects/subcomposer/
XWWW:	http://www.kde-apps.org/content/show.php?content=69822
END-of-subtitlecomposer/pkg-descr
echo x - subtitlecomposer/Makefile
sed 's/^X//' >subtitlecomposer/Makefile << 'END-of-subtitlecomposer/Makefile'
X# New ports collection makefile for:	subtitlecomposer
X# Date created:		2008-01-08
X# Whom:			Max Brazhnikov <makc@issp.ac.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	subtitlecomposer
XPORTVERSION=	0.3
XCATEGORIES=	multimedia
XMASTER_SITES=	SF
XMASTER_SITE_SUBDIR=subcomposer
X
XMAINTAINER=	makc@issp.ac.ru
XCOMMENT=	Subtitle editor for KDE
X
XLIB_DEPENDS=	tag.5:${PORTSDIR}/audio/taglib
XRUN_DEPENDS=	mplayer:${PORTSDIR}/multimedia/mplayer
X
XUSE_BZIP2=	yes
XUSE_KDELIBS_VER=3
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=	--without-gstreamer
XUSE_AUTOTOOLS=	libtool:15
X
XWRKSRC=	${WRKDIR}/${PORTNAME}
X
X.include <bsd.port.mk>
END-of-subtitlecomposer/Makefile
echo x - subtitlecomposer/pkg-plist
sed 's/^X//' >subtitlecomposer/pkg-plist << 'END-of-subtitlecomposer/pkg-plist'
Xbin/subtitlecomposer
Xshare/applications/kde/subtitlecomposer.desktop
Xshare/apps/subtitlecomposer/gstreamer-32.png
Xshare/apps/subtitlecomposer/gstreamer.png
Xshare/apps/subtitlecomposer/input.conf
Xshare/apps/subtitlecomposer/linkcurrenttovideo.png
Xshare/apps/subtitlecomposer/mplayer-32.png
Xshare/apps/subtitlecomposer/mplayer.png
Xshare/apps/subtitlecomposer/sethidetime.png
Xshare/apps/subtitlecomposer/setshowtime.png
Xshare/apps/subtitlecomposer/subtitlecomposerui.rc
Xshare/apps/subtitlecomposer/video.png
Xshare/config/subtitlecomposerrc
Xshare/icons/hicolor/128x128/apps/subtitlecomposer.png
Xshare/icons/hicolor/16x16/apps/subtitlecomposer.png
Xshare/icons/hicolor/32x32/apps/subtitlecomposer.png
Xshare/icons/hicolor/64x64/apps/subtitlecomposer.png
Xshare/mimelnk/subtitle/x-advsubstationalpha.desktop
Xshare/mimelnk/subtitle/x-microdvd.desktop
Xshare/mimelnk/subtitle/x-mplayer.desktop
Xshare/mimelnk/subtitle/x-subrip.desktop
Xshare/mimelnk/subtitle/x-substationalpha.desktop
Xshare/mimelnk/subtitle/x-subviewer.desktop
X@dirrm share/mimelnk/subtitle
X@dirrmtry share/config
X@dirrm share/apps/subtitlecomposer
X@dirrmtry share/applications/kde
END-of-subtitlecomposer/pkg-plist
echo x - subtitlecomposer/distinfo
sed 's/^X//' >subtitlecomposer/distinfo << 'END-of-subtitlecomposer/distinfo'
XMD5 (subtitlecomposer-0.3.tar.bz2) = bca75b9c6679a6ed9cc2e802adfabdc5
XSHA256 (subtitlecomposer-0.3.tar.bz2) = 82cb3b37411e5fe2d2e6f83a8dfe509f9765f6032222d69404b77998afb41b6c
XSIZE (subtitlecomposer-0.3.tar.bz2) = 655837
END-of-subtitlecomposer/distinfo
echo c - subtitlecomposer/files
mkdir -p subtitlecomposer/files > /dev/null 2>&1
echo x - subtitlecomposer/files/patch-src__core__subtitleline.cpp
sed 's/^X//' >subtitlecomposer/files/patch-src__core__subtitleline.cpp << 'END-of-subtitlecomposer/files/patch-src__core__subtitleline.cpp'
X--- ./src/core/subtitleline.cpp.orig	2008-01-08 09:16:27.000000000 +0300
X+++ ./src/core/subtitleline.cpp	2008-01-08 15:54:39.000000000 +0300
X@@ -41,7 +41,7 @@
X 	if ( flag < 1 )
X 		return ErrorUNKNOWN;
X 
X-	int id = (int)log2( flag );
X+	int id = int( log( flag ) * M_LN2 );
X 	return id < ErrorSIZE ? (ErrorID)id : ErrorUNKNOWN;
X }
X 
END-of-subtitlecomposer/files/patch-src__core__subtitleline.cpp
exit



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



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