ports/137682: Update port: multimedia/k9copy Updated k9copy to version 2.3.2

Eduardo Gielamo Oliveira egoliveira at gmail.com
Tue Aug 11 22:40:13 UTC 2009


>Number:         137682
>Category:       ports
>Synopsis:       Update port: multimedia/k9copy Updated k9copy to version 2.3.2
>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:   Tue Aug 11 22:40:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Eduardo Gielamo Oliveira
>Release:        7.2 amd64
>Organization:
>Environment:
FreeBSD rufus.casa 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 07:18:07 UTC 2009     root at driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Update port: multimedia/k9copy Updated k9copy to version 2.3.2 (A DVD-9 to DVD-5 shrinking application 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:
#
#	k9copy
#	k9copy/Makefile
#	k9copy/pkg-descr
#	k9copy/pkg-plist
#	k9copy/files
#	k9copy/files/patch-CMakeLists.txt
#	k9copy/files/patch-data-CMakeLists.txt
#	k9copy/files/patch-doc-CMakeLists.txt
#	k9copy/files/patch-icons-CMakeLists.txt
#	k9copy/files/patch-po-CMakeLists.txt
#	k9copy/files/patch-src-main-k9main.cpp
#	k9copy/distinfo
#
echo c - k9copy
mkdir -p k9copy > /dev/null 2>&1
echo x - k9copy/Makefile
sed 's/^X//' >k9copy/Makefile << '2ce5c4b49a85a26f6aad91fec14b753b'
X# New ports collection makefile for:	k9copy
X# Date created:	11 August 2009
X# Whom:		Eduardo Gielamo Oliveira <egoliveira at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=		k9copy
XPORTVERSION=		2.3.2
XCATEGORIES=		multimedia kde
XMASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=		${PORTNAME}-${PORTVERSION}-Source
X
XMAINTAINER=	egoliveira at gmail.com
XCOMMENT=	A DVD-9 to DVD-5 shrinking application for KDE
X
XKDE4_PREFIX=		${PREFIX}/kde4
X
XBUILD_DEPENDS=	cmake:${PORTSDIR}/devel/cmake \
X		${KDE4_PREFIX}/bin/kde4-config:${PORTSDIR}/x11/kdelibs4 \
X		qmake-qt4:${PORTSDIR}/devel/qt4 \
X		automoc4:${PORTSDIR}/devel/automoc4
X
XLIB_DEPENDS=	xine:${PORTSDIR}/multimedia/libxine \
X		mpeg2:${PORTSDIR}/multimedia/libmpeg2 \
X		avcodec:${PORTSDIR}/multimedia/ffmpeg
X
XOPTIONS=	MENCODER	"Install MEncoder (requires MPlayer)"	Off \
X		MPLAYER		"Install MPlayer"			Off \
X		DVDAUTHOR	"Install DVD Author"			Off
X
X.if defined(WITH_MENCODER)
X	RUN_DEPENDS+=	mencoder:${PORTSDIR}/multimedia/mencoder
X.endif
X
X.if defined(WITH_MPLAYER)
X	RUN_DEPENDS+=	mplayer:${PORTSDIR}/multimedia/mplayer
X.endif
X
X.if defined(WITH_DVDAUTHOR)
X	RUN_DEPENDS+=	dvdauthor:${PORTSDIR}/multimedia/dvdauthor
X.endif
X
Xpre-build:
X	cd ${WRKSRC}/src && cmake ../
X
Xdo-build:
X	cd ${WRKSRC}/src && make
X
Xdo-install:
X	cd ${WRKSRC}/src && make install
X
X.include <bsd.port.mk>
2ce5c4b49a85a26f6aad91fec14b753b
echo x - k9copy/pkg-descr
sed 's/^X//' >k9copy/pkg-descr << '04a7614572f61fc4d12efe3be94ff050'
XK9Copy is a small utility which allows copying DVDs on Linux.
XThe DVD video stream is compressed by the program Vamps.
X
X1. Copy without menus:
XHere, dvdauthor creates a new structure for the DVD. It is possible to 
Xarbitrarily set the order of the videos.
X2. Copy with menus:
XBecause dvdauthor can't copy the original menus, K9Copy recreates the original
XDVD structure. The menus as well as IFO files are modified to point to the 
Xcompressed MPEG2 stream.
X
XCreating personalized menus was not brought back with version 1.0.0
X
XFeatures
X* The video stream is compressed to make the DVD fit on 4.7 Gb recordable DVD
X* DVD Burning
X* Creation of ISO images
X* Choosing which audio and subtitle tracks are copied
X* Title preview (video only)
X* The ability to preserve the original menus
X
XWWW: http://k9copy.sourceforge.net
X
X- Eduardo Gielamo Oliveira egoliveira at gmail.com
04a7614572f61fc4d12efe3be94ff050
echo x - k9copy/pkg-plist
sed 's/^X//' >k9copy/pkg-plist << 'f7777fba03239690d45b4189f0843f4d'
Xkde4/bin/k9copy
Xkde4/bin/k9play
Xkde4/bin/k9xineplayer
Xkde4/share/applications/kde4/k9copy.desktop
Xkde4/share/applications/kde4/k9copy_assistant.desktop
Xkde4/share/apps/k9copy/k9copyui.rc
Xkde4/share/apps/solid/actions/k9copy_open.desktop
Xkde4/share/apps/solid/actions/k9copy_assistant_open.desktop
Xkde4/share/icons/hicolor/32x32/apps/k9copy.png
Xkde4/share/icons/hicolor/16x16/apps/k9copy.png
Xkde4/share/icons/hicolor/48x48/apps/k9copy.png
Xkde4/share/apps/k9copy/icons/hicolor/22x22/actions/title.png
Xkde4/share/apps/k9copy/icons/hicolor/32x32/actions/dvdcopy.png
Xkde4/share/apps/k9copy/icons/hicolor/48x48/actions/mpeg.png
Xkde4/share/apps/k9copy/icons/hicolor/22x22/actions/cycle.png
Xkde4/share/apps/k9copy/icons/hicolor/22x22/actions/mpeg.png
Xkde4/share/apps/k9copy/icons/hicolor/22x22/actions/dvdcopy.png
Xkde4/share/apps/k9copy/icons/hicolor/16x16/actions/dvdcopy.png
Xkde4/share/apps/k9copy/icons/hicolor/22x22/actions/video.png
Xkde4/share/apps/k9copy/icons/hicolor/16x16/actions/mp4.png
Xkde4/share/apps/k9copy/icons/hicolor/32x32/actions/mpeg.png
Xkde4/share/apps/k9copy/icons/hicolor/22x22/actions/author.png
Xkde4/share/apps/k9copy/icons/hicolor/22x22/actions/mp4.png
Xkde4/share/apps/k9copy/icons/hicolor/48x48/actions/mencoder.png
Xkde4/share/apps/k9copy/icons/hicolor/48x48/actions/author.png
Xkde4/share/apps/k9copy/icons/hicolor/16x16/actions/mpeg.png
Xkde4/share/apps/k9copy/icons/hicolor/48x48/actions/mp4.png
Xkde4/share/apps/k9copy/icons/hicolor/48x48/actions/dvdcopy.png
Xkde4/share/apps/k9copy/icons/hicolor/22x22/actions/sound.png
Xkde4/share/apps/k9copy/icons/hicolor/22x22/actions/subtitle.png
Xkde4/share/apps/k9copy/icons/hicolor/32x32/actions/mp4.png
Xkde4/share/apps/k9copy/icons/hicolor/32x32/actions/author.png
Xkde4/share/apps/k9copy/anim.mng
Xkde4/share/apps/k9copy/mencoder.xml
Xkde4/share/locale/tr/LC_MESSAGES/k9copy.mo
Xkde4/share/locale/ru/LC_MESSAGES/k9copy.mo
Xkde4/share/locale/zh_TW/LC_MESSAGES/k9copy.mo
Xkde4/share/locale/pl/LC_MESSAGES/k9copy.mo
Xkde4/share/locale/el/LC_MESSAGES/k9copy.mo
Xkde4/share/locale/de/LC_MESSAGES/k9copy.mo
Xkde4/share/locale/nl/LC_MESSAGES/k9copy.mo
Xkde4/share/locale/cs/LC_MESSAGES/k9copy.mo
Xkde4/share/locale/it/LC_MESSAGES/k9copy.mo
Xkde4/share/locale/ca/LC_MESSAGES/k9copy.mo
Xkde4/share/locale/es/LC_MESSAGES/k9copy.mo
Xkde4/share/locale/pt_BR/LC_MESSAGES/k9copy.mo
Xkde4/share/locale/sr/LC_MESSAGES/k9copy.mo
Xkde4/share/locale/es_AR/LC_MESSAGES/k9copy.mo
Xkde4/share/locale/sr at Latn/LC_MESSAGES/k9copy.mo
Xkde4/share/locale/fr/LC_MESSAGES/k9copy.mo
Xkde4/share/doc/HTML/en/k9copy/index.cache.bz2
Xkde4/share/doc/HTML/en/k9copy/index.docbook
Xkde4/share/doc/HTML/en/k9copy/assistant.png
Xkde4/share/doc/HTML/en/k9copy/screenshot.png
X at dirrm kde4/share/apps/k9copy/icons/hicolor/16x16/actions
X at dirrm kde4/share/apps/k9copy/icons/hicolor/16x16
X at dirrm kde4/share/apps/k9copy/icons/hicolor/22x22/actions
X at dirrm kde4/share/apps/k9copy/icons/hicolor/22x22
X at dirrm kde4/share/apps/k9copy/icons/hicolor/32x32/actions
X at dirrm kde4/share/apps/k9copy/icons/hicolor/32x32
X at dirrm kde4/share/apps/k9copy/icons/hicolor/48x48/actions
X at dirrm kde4/share/apps/k9copy/icons/hicolor/48x48
X at dirrm kde4/share/apps/k9copy/icons/hicolor
X at dirrm kde4/share/apps/k9copy/icons
X at dirrm kde4/share/apps/k9copy
X at dirrm kde4/share/doc/HTML/en/k9copy
f7777fba03239690d45b4189f0843f4d
echo c - k9copy/files
mkdir -p k9copy/files > /dev/null 2>&1
echo x - k9copy/files/patch-CMakeLists.txt
sed 's/^X//' >k9copy/files/patch-CMakeLists.txt << '6d5e3c507414afbe2883862998eeddf6'
X*** CMakeLists.txt.orig	Tue May 26 16:33:27 2009
X--- CMakeLists.txt	Fri Aug  7 19:09:50 2009
X***************
X*** 3,12 ****
X--- 3,13 ----
X  # where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
X  SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
X  
X  find_package(KDE4 REQUIRED)
X  include (KDE4Defaults)
X+ include (KDELibsDependencies)
X  INCLUDE(CheckFunctionExists)
X  INCLUDE(CheckVariableExists)
X  INCLUDE(CheckTypeSize)
X  INCLUDE(CMakeDetermineSystem)
X  INCLUDE(CheckIncludeFiles)
X***************
X*** 16,27 ****
X  INCLUDE(FindAvformat)
X  INCLUDE(FindFFmpegScale)
X  
X  set (VERSION 2.3.2)
X  
X- 
X- 
X  # usage: CHECK_INCLUDE_FILES (<header> <RESULT_VARIABLE> )
X  CHECK_INCLUDE_FILES(inttypes.h      HAVE_INTTYPES_H)                    # simapi.h
X  CHECK_INCLUDE_FILES(stddef.h        HAVE_STDDEF_H)                      # simapi.h
X  CHECK_INCLUDE_FILES(stdint.h        HAVE_STDINT_H)                      # simapi.h
X  CHECK_INCLUDE_FILES(stdlib.h        HAVE_STDLIB_H)                      # simapi.h
X--- 17,26 ----
X***************
X*** 324,333 ****
X--- 323,333 ----
X  set (k9xineplayer_SRCS
X     src/xine/main.cpp
X     src/xine/k9xineplayer.cpp
X  )
X  
X+ link_directories(${CMAKE_INSTALL_PREFIX}/lib)
X  
X  kde4_add_library(k9copylib STATIC ${k9copylib_SRCS})
X  target_link_libraries(k9copylib ${KDE4_KDEUI_LIBS} ${KDE4_KDE3SUPPORT_LIBS} -lkdesu -lmpeg2 -lmpeg2convert )
X  
X  kde4_add_ui_files(k9copy_SRCS )
X***************
X*** 339,362 ****
X  target_link_libraries(k9copy k9copylib ${KDE4_KDEUI_LIBS} ${KDE4_KDE3SUPPORT_LIBS}  -lphonon )
X  target_link_libraries(k9play k9copylib ${KDE4_KDEUI_LIBS} ${KDE4_KDE3SUPPORT_LIBS}  )
X  target_link_libraries(k9xineplayer ${KDE4_KDEUI_LIBS} ${KDE4_KDE3SUPPORT_LIBS} -lxine )
X  
X  
X! install(TARGETS k9copy DESTINATION ${BIN_INSTALL_DIR} )
X! install(TARGETS k9play DESTINATION ${BIN_INSTALL_DIR} )
X! install(TARGETS k9xineplayer DESTINATION ${BIN_INSTALL_DIR} )
X  
X  ########### install files ###############
X  
X! install( FILES k9copy.desktop k9copy_assistant.desktop DESTINATION  ${XDG_APPS_INSTALL_DIR} )
X  #install( FILES k9copy.kcfg  DESTINATION  ${KCFG_INSTALL_DIR} )
X! install( FILES k9copyui.rc  DESTINATION  ${DATA_INSTALL_DIR}/k9copy )
X  
X! install(FILES k9copy_open.desktop DESTINATION ${DATA_INSTALL_DIR}/solid/actions)
X! install(FILES k9copy_assistant_open.desktop DESTINATION ${DATA_INSTALL_DIR}/solid/actions)
X  
X! kde4_install_icons( ${ICON_INSTALL_DIR} )
X  
X  
X  ############package###############
X  SET(CPACK_PACKAGE_VERSION_MAJOR "2")
X  SET(CPACK_PACKAGE_VERSION_MINOR "3")
X--- 339,362 ----
X  target_link_libraries(k9copy k9copylib ${KDE4_KDEUI_LIBS} ${KDE4_KDE3SUPPORT_LIBS}  -lphonon )
X  target_link_libraries(k9play k9copylib ${KDE4_KDEUI_LIBS} ${KDE4_KDE3SUPPORT_LIBS}  )
X  target_link_libraries(k9xineplayer ${KDE4_KDEUI_LIBS} ${KDE4_KDE3SUPPORT_LIBS} -lxine )
X  
X  
X! install(TARGETS k9copy DESTINATION ${KDE4_BIN_INSTALL_DIR} )
X! install(TARGETS k9play DESTINATION ${KDE4_BIN_INSTALL_DIR} )
X! install(TARGETS k9xineplayer DESTINATION ${KDE4_BIN_INSTALL_DIR} )
X  
X  ########### install files ###############
X  
X! install( FILES k9copy.desktop k9copy_assistant.desktop DESTINATION  ${KDE4_XDG_APPS_INSTALL_DIR} )
X  #install( FILES k9copy.kcfg  DESTINATION  ${KCFG_INSTALL_DIR} )
X! install( FILES k9copyui.rc  DESTINATION  ${KDE4_DATA_INSTALL_DIR}/k9copy )
X  
X! install(FILES k9copy_open.desktop DESTINATION ${KDE4_DATA_INSTALL_DIR}/solid/actions)
X! install(FILES k9copy_assistant_open.desktop DESTINATION ${KDE4_DATA_INSTALL_DIR}/solid/actions)
X  
X! kde4_install_icons( ${KDE4_ICON_INSTALL_DIR} )
X  
X  
X  ############package###############
X  SET(CPACK_PACKAGE_VERSION_MAJOR "2")
X  SET(CPACK_PACKAGE_VERSION_MINOR "3")
6d5e3c507414afbe2883862998eeddf6
echo x - k9copy/files/patch-data-CMakeLists.txt
sed 's/^X//' >k9copy/files/patch-data-CMakeLists.txt << '11dcfa5341d38b985b5288ce1de07883'
X*** data/CMakeLists.txt.orig	Tue May 26 16:33:27 2009
X--- data/CMakeLists.txt		Fri Aug  7 19:25:05 2009
X***************
X*** 1 ****
X! install( FILES anim.mng mencoder.xml  DESTINATION  ${DATA_INSTALL_DIR}/k9copy )
X--- 1 ----
X! install( FILES anim.mng mencoder.xml  DESTINATION  ${KDE4_DATA_INSTALL_DIR}/k9copy )
11dcfa5341d38b985b5288ce1de07883
echo x - k9copy/files/patch-doc-CMakeLists.txt
sed 's/^X//' >k9copy/files/patch-doc-CMakeLists.txt << '36bf751a05d473448fb872562ea715ab'
X*** doc/CMakeLists.txt.orig	Tue May 26 16:33:27 2009
X--- doc/CMakeLists.txt		Fri Aug  7 19:22:10 2009
X***************
X*** 1,4 ****
X  ########### install files ###############
X  #
X  
X! kde4_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR k9copy)
X--- 1,4 ----
X  ########### install files ###############
X  #
X  
X! kde4_create_handbook(index.docbook INSTALL_DESTINATION ${KDE4_HTML_INSTALL_DIR}/en SUBDIR k9copy)
36bf751a05d473448fb872562ea715ab
echo x - k9copy/files/patch-icons-CMakeLists.txt
sed 's/^X//' >k9copy/files/patch-icons-CMakeLists.txt << 'd965c7f80ad970b946c7cca05005dcbb'
X*** icons/CMakeLists.txt.orig	Tue May 26 16:33:27 2009
X--- icons/CMakeLists.txt	Fri Aug  7 19:24:04 2009
X***************
X*** 1,2 ****
X! kde4_install_icons( ${DATA_INSTALL_DIR}/k9copy/icons)
X  
X--- 1,2 ----
X! kde4_install_icons( ${KDE4_DATA_INSTALL_DIR}/k9copy/icons)
X  
d965c7f80ad970b946c7cca05005dcbb
echo x - k9copy/files/patch-po-CMakeLists.txt
sed 's/^X//' >k9copy/files/patch-po-CMakeLists.txt << '23646b39a6be8ccc6daeb5c55423b77e'
X*** po/CMakeLists.txt.orig	Tue May 26 16:33:27 2009
X--- po/CMakeLists.txt		Fri Aug  7 19:20:04 2009
X***************
X*** 17,25 ****
X                  GET_FILENAME_COMPONENT(_lang ${_poFile} NAME_WE)
X                  SET(_gmoFile ${CMAKE_CURRENT_BINARY_DIR}/${_lang}.gmo)
X                  ADD_CUSTOM_COMMAND(TARGET translations
X                          COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} --check -o ${_gmoFile} ${_poFile}
X                          DEPENDS ${_poFile})
X!                 INSTALL(FILES ${_gmoFile} DESTINATION ${LOCALE_INSTALL_DIR}/${_lang}/LC_MESSAGES/ RENAME ${catalogname}.mo)
X          ENDFOREACH(_poFile ${PO_FILES})
X   
X  ENDIF(NOT GETTEXT_MSGFMT_EXECUTABLE)
X--- 17,25 ----
X                  GET_FILENAME_COMPONENT(_lang ${_poFile} NAME_WE)
X                  SET(_gmoFile ${CMAKE_CURRENT_BINARY_DIR}/${_lang}.gmo)
X                  ADD_CUSTOM_COMMAND(TARGET translations
X                          COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} --check -o ${_gmoFile} ${_poFile}
X                          DEPENDS ${_poFile})
X!                 INSTALL(FILES ${_gmoFile} DESTINATION ${KDE4_LOCALE_INSTALL_DIR}/${_lang}/LC_MESSAGES/ RENAME ${catalogname}.mo)
X          ENDFOREACH(_poFile ${PO_FILES})
X   
X  ENDIF(NOT GETTEXT_MSGFMT_EXECUTABLE)
X
23646b39a6be8ccc6daeb5c55423b77e
echo x - k9copy/files/patch-src-main-k9main.cpp
sed 's/^X//' >k9copy/files/patch-src-main-k9main.cpp << 'ed6eb7c2f37960f788a9bc6d1c3de84a'
X*** src/main/k9main.cpp.orig	Tue May 26 16:33:27 2009
X--- src/main/k9main.cpp		Wed Aug  5 23:05:45 2009
X***************
X*** 120,132 ****
X      Ui_MainDlg.setupUi ( this );
X      listView1=Ui_MainDlg.listView1;
X      connect ( Ui_MainDlg.cbOutputDev,SIGNAL ( currentIndexChanged ( int ) ),this,SLOT ( cbOutputDevActivated ( int ) ) );
X      connect ( listView1,SIGNAL ( itemExpanded ( QTreeWidgetItem* ) ),this,SLOT ( expanded ( QTreeWidgetItem* ) ) );
X      connect ( listView1,SIGNAL ( itemCollapsed ( QTreeWidgetItem* ) ),this,SLOT ( collapsed ( QTreeWidgetItem* ) ) );
X!     connect (listView1->header(),SIGNAL(customContextMenuRequested( const QPoint& )),this,SLOT(showPopup(const QPoint&)));
X  
X!     listView1->header()->setContextMenuPolicy(Qt::CustomContextMenu);
X      drives=_drives;
X      m_parent= ( k9Copy* ) parent;
X      QImage img;
X      img.loadFromData ( img_chapter, sizeof ( img_chapter ), "PNG" );
X      pxChapter.fromImage ( img );
X--- 120,132 ----
X      Ui_MainDlg.setupUi ( this );
X      listView1=Ui_MainDlg.listView1;
X      connect ( Ui_MainDlg.cbOutputDev,SIGNAL ( currentIndexChanged ( int ) ),this,SLOT ( cbOutputDevActivated ( int ) ) );
X      connect ( listView1,SIGNAL ( itemExpanded ( QTreeWidgetItem* ) ),this,SLOT ( expanded ( QTreeWidgetItem* ) ) );
X      connect ( listView1,SIGNAL ( itemCollapsed ( QTreeWidgetItem* ) ),this,SLOT ( collapsed ( QTreeWidgetItem* ) ) );
X!     connect ((QObject*)listView1->header(),SIGNAL(customContextMenuRequested( const QPoint& )),(QObject*)this,SLOT(showPopup(const QPoint&)), Qt::AutoConnection);
X  
X!     //listView1->header()->setContextMenuPolicy(Qt::CustomContextMenu);
X      drives=_drives;
X      m_parent= ( k9Copy* ) parent;
X      QImage img;
X      img.loadFromData ( img_chapter, sizeof ( img_chapter ), "PNG" );
X      pxChapter.fromImage ( img );
ed6eb7c2f37960f788a9bc6d1c3de84a
echo x - k9copy/distinfo
sed 's/^X//' >k9copy/distinfo << 'aae1da51da387926f5648df0f9e02c56'
XMD5 (k9copy-2.3.2-Source.tar.gz) = bd3eaa33c64d8a2ba28f5385cd85eea2
XSHA256 (k9copy-2.3.2-Source.tar.gz) = b79ed527b03c5813b6fee7d45a1e5da54dfbf78ffa4803ed0c251dd9222c3224
XSIZE (k9copy-2.3.2-Source.tar.gz) = 1471876
aae1da51da387926f5648df0f9e02c56
exit



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



More information about the freebsd-ports-bugs mailing list