Date: Fri, 6 Aug 2004 16:01:45 -0400 (EDT) From: Michael Johnson <ahze@ahze.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/70094: [NEW PORT] multimedia/dvdstyler: WXGTK2 front end to dvd recoding and authoring programs Message-ID: <200408062001.i76K1jtu081213@gentoo.ahze.net> Resent-Message-ID: <200408062010.i76KARPm050261@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 70094 >Category: ports >Synopsis: [NEW PORT] multimedia/dvdstyler: WXGTK2 front end to dvd recoding and authoring programs >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: Fri Aug 06 20:10:27 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Michael Johnson >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #60: Wed Aug 4 21:10:57 EDT >Description: [From webpage] DVDStyler is a crossplatform GUI frontend to the dvd authoring and recording programs. The main DVDStyler features are: o drag and drop MPEG files directly o import image file for background o create NTSC/PAL menu o place text and images anywhere on the menu screen o change font/color o put basic text buttons, change font/color and background color o set chapters for each movie o change post command for each movie WWW: http://dvdstyler.sourceforge.net/ Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- dvdstyler-1.06.shar begins here --- # 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: # # dvdstyler # dvdstyler/pkg-descr # dvdstyler/Makefile # dvdstyler/files # dvdstyler/files/patch-src::MainWin.cpp # dvdstyler/files/patch-wxVillaLib::Thumbnails.cpp # dvdstyler/files/patch-src::MenuBox.cpp # dvdstyler/distinfo # dvdstyler/pkg-plist # echo c - dvdstyler mkdir -p dvdstyler > /dev/null 2>&1 echo x - dvdstyler/pkg-descr sed 's/^X//' >dvdstyler/pkg-descr << 'END-of-dvdstyler/pkg-descr' X[From webpage] X XDVDStyler is a crossplatform GUI frontend to the dvd authoring and Xrecording programs. X XThe main DVDStyler features are: X o drag and drop MPEG files directly X o import image file for background X o create NTSC/PAL menu X o place text and images anywhere on the menu screen X o change font/color X o put basic text buttons, change font/color and background color X o set chapters for each movie X o change post command for each movie X XWWW: http://dvdstyler.sourceforge.net/ END-of-dvdstyler/pkg-descr echo x - dvdstyler/Makefile sed 's/^X//' >dvdstyler/Makefile << 'END-of-dvdstyler/Makefile' X# New ports collection makefile for: dvdstyler X# Date created: 2004-07-30 X# Whom: Michael Johnson <ahze@ahze.net> X# X# $FreeBSD$ X# X XPORTNAME= dvdstyler XPORTVERSION= 1.06 XCATEGORIES= multimedia XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= dvdstyler XDISTNAME= DVDStyler-${PORTVERSION} X XMAINTAINER= ahze@ahze.net XCOMMENT= WXGTK2 front end to dvd recoding and authoring programs X XBUILD_DEPENDS= dvdauthor:${PORTSDIR}/multimedia/dvdauthor \ X mpgcat:${PORTSDIR}/multimedia/mpgtx \ X growisofs:${PORTSDIR}/sysutils/dvd+rw-tools XLIB_DEPENDS= netpbm.1:${PORTSDIR}/graphics/netpbm \ X lavfile-1.6.2:${PORTSDIR}/multimedia/mjpegtools \ X wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2 XRUN_DEPENDS= ${BUILD_DEPENDS} X XUSE_X_PREFIX= yes XUSE_REINPLACE= yes XUSE_INC_LIBTOOL_VER=15 XUSE_GMAKE= yes X XCONFIGURE_ARGS= --with-wx-config=wxgtk2-2.4-config X X.include <bsd.port.pre.mk> X X.if defined(WITH_DVD_DEVICE) XDEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE} X.else X.if ${OSVERSION} < 500000 XDEFAULT_DVD_DEVICE=/dev/acd0c X.else XDEFAULT_DVD_DEVICE=/dev/acd0 X.endif X.endif X Xpre-everything:: X.if !defined(WITH_DVD_DEVICE) X @${ECHO_MSG} "===>" X @${ECHO_MSG} "===> The default DVD device is ${DEFAULT_DVD_DEVICE}" X @${ECHO_MSG} "===> Define WITH_DVD_DEVICE if you want to change the default" X @${ECHO_MSG} "===> For example, 'make WITH_DVD_DEVICE=\"/dev/somedevice\"'" X.endif X.if !defined(WITH_OPTIMIZED_CFLAGS) X @${ECHO_MSG} "===>" X @${ECHO_MSG} "===> Define WITH_OPTIMIZED_CFLAGS to enable optimized cflags" X.endif X Xpost-patch: X @${REINPLACE_CMD} -e 's|$$prefix/dvdstyler|${DATADIR}|' \ X ${WRKSRC}/configure X @${REINPLACE_CMD} -e 's|mp2 AUTHORS COPYING INSTALL README ChangeLog|mp2|' \ X ${WRKSRC}/Makefile.in X @${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|' \ X ${WRKSRC}/src/Config.h X.if !defined(WITH_OPTIMIZED_CFLAGS) X @${REINPLACE_CMD} -e 's|-O3||' \ X ${WRKSRC}/configure X.endif X X.include <bsd.port.post.mk> END-of-dvdstyler/Makefile echo c - dvdstyler/files mkdir -p dvdstyler/files > /dev/null 2>&1 echo x - dvdstyler/files/patch-src::MainWin.cpp sed 's/^X//' >dvdstyler/files/patch-src::MainWin.cpp << 'END-of-dvdstyler/files/patch-src::MainWin.cpp' X--- src/MainWin.cpp.orig Tue Aug 3 16:02:33 2004 X+++ src/MainWin.cpp Fri Aug 6 19:43:32 2004 X@@ -403,7 +403,7 @@ X else X d = m_menuBox->GetScaleValue()*100; X //st = wxString::Format(_T("%0.2f"), d); if (d == (int) d) X- st = wxString::Format(_T("%d"), (int)round(d)); X+ st = wxString::Format(_T("%d"), rint(d)); X m_scaleCB->SetValue(st + _T("%")); X } X END-of-dvdstyler/files/patch-src::MainWin.cpp echo x - dvdstyler/files/patch-wxVillaLib::Thumbnails.cpp sed 's/^X//' >dvdstyler/files/patch-wxVillaLib::Thumbnails.cpp << 'END-of-dvdstyler/files/patch-wxVillaLib::Thumbnails.cpp' X--- wxVillaLib/Thumbnails.cpp.orig Thu Aug 5 06:15:33 2004 X+++ wxVillaLib/Thumbnails.cpp Thu Aug 5 06:17:33 2004 X@@ -202,7 +202,7 @@ X wxString fname = wxFindFirstFile(m_dir + wxFILE_SEP_PATH + _T("*")); X while (!fname.IsEmpty()) X { X- wxString caption = m_showFileNames?fname.AfterLast(wxFILE_SEP_PATH):wxT(""); X+ wxString caption = m_showFileNames? (const char *)fname.AfterLast(wxFILE_SEP_PATH):wxT(""); X if ((m_filter & wxTHUMB_FILTER_VIDEOS && X (fname.AfterLast('.').Lower() == _T("mpg") || X fname.AfterLast('.').Lower() == _T("mpeg") || END-of-dvdstyler/files/patch-wxVillaLib::Thumbnails.cpp echo x - dvdstyler/files/patch-src::MenuBox.cpp sed 's/^X//' >dvdstyler/files/patch-src::MenuBox.cpp << 'END-of-dvdstyler/files/patch-src::MenuBox.cpp' X--- src/MenuBox.cpp.orig Fri Aug 6 19:32:13 2004 X+++ src/MenuBox.cpp Fri Aug 6 19:41:00 2004 X@@ -15,7 +15,7 @@ X #include "MPEG.h" X #include <wxVillaLib/ImageProc.h> X #include <wxVillaLib/utils.h> X-#include "math.h" X+#include <math.h> X #include <wx/dnd.h> X #include <wx/utils.h> X X@@ -374,11 +374,11 @@ X X void MenuBox::MoveObject(int& x, int& y) X { X- x = (int) round(x/m_scale); X- y = (int) round(y/m_scale); X+ x = rint(x/m_scale); X+ y = rint(y/m_scale); X MoveObjectInt(x,y); X- x = (int) round(x*m_scale); X- y = (int) round(y*m_scale); X+ x = rint(x*m_scale); X+ y = rint(y*m_scale); X } X X void MenuBox::MoveObjectInt(int& x, int& y) X@@ -411,8 +411,8 @@ X X void MenuBox::ResizeObject(int x, int y, TransformType transformType) X { X- x = (int) round(x/m_scale); X- y = (int) round(y/m_scale); X+ x = rint(x/m_scale); X+ y = rint(y/m_scale); X ResizeObjectInt(x, y, transformType); X } X END-of-dvdstyler/files/patch-src::MenuBox.cpp echo x - dvdstyler/distinfo sed 's/^X//' >dvdstyler/distinfo << 'END-of-dvdstyler/distinfo' XMD5 (DVDStyler-1.06.tar.gz) = 26c6a3f518cbf08d3bf1dd57394fc004 XSIZE (DVDStyler-1.06.tar.gz) = 598974 END-of-dvdstyler/distinfo echo x - dvdstyler/pkg-plist sed 's/^X//' >dvdstyler/pkg-plist << 'END-of-dvdstyler/pkg-plist' Xbin/dvdstyler Xshare/dvdstyler/backgrounds/autobahn.jpg Xshare/dvdstyler/backgrounds/bi_domrep.jpg Xshare/dvdstyler/backgrounds/blue.jpg Xshare/dvdstyler/backgrounds/creta.jpg Xshare/dvdstyler/backgrounds/darkblue.jpg Xshare/dvdstyler/backgrounds/kiel_kanal.jpg Xshare/dvdstyler/backgrounds/lightblue.jpg Xshare/dvdstyler/backgrounds/swans.jpg Xshare/dvdstyler/bin/dvdstyler Xshare/dvdstyler/bin/rc/dvdstyler.png Xshare/dvdstyler/bin/rc/files.png Xshare/dvdstyler/bin/rc/folder1.png Xshare/dvdstyler/bin/rc/folder2.png Xshare/dvdstyler/bin/rc/logo.png Xshare/dvdstyler/bin/rc/logo_big.png Xshare/dvdstyler/bin/rc/minus.png Xshare/dvdstyler/bin/rc/move.cur Xshare/dvdstyler/bin/rc/nesw.cur Xshare/dvdstyler/bin/rc/new.png Xshare/dvdstyler/bin/rc/nwse.cur Xshare/dvdstyler/bin/rc/open.png Xshare/dvdstyler/bin/rc/plus.png Xshare/dvdstyler/bin/rc/run.png Xshare/dvdstyler/bin/rc/save.png Xshare/dvdstyler/buttons/simple.xml Xshare/dvdstyler/locale/de/LC_MESSAGES/dvdstyler.mo Xshare/dvdstyler/locale/es/LC_MESSAGES/dvdstyler.mo Xshare/dvdstyler/locale/it/LC_MESSAGES/dvdstyler.mo Xshare/dvdstyler/locale/ru/LC_MESSAGES/dvdstyler.mo Xshare/dvdstyler/silence.mp2 X@dirrm share/dvdstyler/locale/ru/LC_MESSAGES X@dirrm share/dvdstyler/locale/ru X@dirrm share/dvdstyler/locale/it/LC_MESSAGES X@dirrm share/dvdstyler/locale/it X@dirrm share/dvdstyler/locale/de/LC_MESSAGES X@dirrm share/dvdstyler/locale/de X@dirrm share/dvdstyler/locale/es/LC_MESSAGES X@dirrm share/dvdstyler/locale/es X@dirrm share/dvdstyler/locale X@dirrm share/dvdstyler/buttons X@dirrm share/dvdstyler/bin/rc X@dirrm share/dvdstyler/bin X@dirrm share/dvdstyler/backgrounds X@dirrm share/dvdstyler END-of-dvdstyler/pkg-plist exit --- dvdstyler-1.06.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408062001.i76K1jtu081213>