freebsd-ports/sysutils/cdrdao/Makefile

158 lines
5.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: cdrdao
# Date created: 7 April 1999
# Whom: futatuki
#
1999-08-25 06:36:31 +02:00
# $FreeBSD$
#
- Update to 1.1.8. Relevant parts from the release notes: <snip> - Improved performance of the new L-EC code by up to a factor 2 depending on the hardware. - 'read-test' runs L-EC encoder over mode 1 or mode 2 form 1 sectors to allow performance testing in conjunction with option --speed. new: - toc2cddb: translates a TOC file into a cddb file. (Giuseppe Corbelli) new: - cue2toc: convert CUE to TOC format for audio CDs. (Matthias Czapla) <snip> Note: The 1.1.8 tarball was re-rolled twice because of missing files and a show-stopper in gcdmaster and some SourceForge mirrors still might need to catch up on it. If you have problems with differing checksums please fetch from ftp://us.dl.sourceforge.net/pub/sourceforge/cdrdao, which is known to carry the latest version. - Use/respect DATADIR and DOCSDIR. - Make PREFIX-clean by respecting PREFIX instead of LOCALBASE. - First part of splitting gcdmaster into a slave port because the conditional compilation via HAVE_GNOME caused problems when gnomelibs where installed afterwards (PR 61840). - Tidy the PORTDOCS a bit, e.g. no longer install the release notes for previous releases, they are easily accessible on the homepage anyway. - On deinstall, remind the user to delete the global config file if existent and permanently removing this port. - In pkg-descr, mention that cdrdao also handles the bin/cue format. Wording taken from the Debian cdrdao package. - Fix some references in the cdrdao manpage to fit FreeBSD. - Remove the WITH_PTHREADS knob, it was never very usefull on FreeBSD. - Remove the WITHOUT_SCGLIB knob, the "native" CAM interface of cdrdao has issues with ATAPICAM and probably will be removed in future version. - Remove "-DBSD_SCSI_SENSE_BUG" from CFLAGS, for an explanation see sysutils/sformat/Makefile revision 1.5. Submitted by: maintainer
2004-02-18 15:56:10 +01:00
PORTNAME?= cdrdao
PORTVERSION= 1.2.2
PORTREVISION?= 0
- give maintainership from ports to submitter From submitter: - Remove the devel/pccts BUILD_DEPENDS, there's no need to depend on it as cdrdao ships it's own version (but use the pccts-port if it happens to be installed in order to speed up things). - Add a knob to build toc2mp3 (a tool encode an audio cd-image to a set of mp3 files, see Release-1.1.6), makes this port depend on audio/lame. - Use the FreeBSD INSTALL-macros to install the 4 (5 when building toc2mp3) files that are not yet installed by them, much faster than going through the whole makfile-tree. - Don't install extra documentation when NOPORTDOCS is defined (pkg-plist was already correct). - Remove pkg-message, POSIX scheduling is part of the GENERIC kernel since FreeBSD 4.0-RELEASE and it's options are different for 3-stable, 4-stable and 5.0-current. Therefore it's ugly to explain for what options to check on what FreeBSD-version. Don't install README.FreeBSD for the same reason. - Don't copy a getopt.h to ${WRKSRC}/utils, it's neither required nor gets picked up. - Respect PTHREAD_LIBS, respect CC/CFLAGS when compiling Joerg Schiling's SCSI library (the later is recycled sysutils/cdrtools/files/patch-ad). - Don't build librscg and rscsi (remote-scsi) of the SCSI library, they aren't required by cdrdao and the later fails to link anyway because _somewhere_ in the makefile-tree libcam no longer gets passed forward in $SCSILIB. - Fix compilation on 5.0-current. - Add support for FreeBSD/sparc64. Submitted by: marius@alchemy.franken.de
2002-11-13 15:05:31 +01:00
CATEGORIES= sysutils audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= cdrdao
- Update to 1.1.8. Relevant parts from the release notes: <snip> - Improved performance of the new L-EC code by up to a factor 2 depending on the hardware. - 'read-test' runs L-EC encoder over mode 1 or mode 2 form 1 sectors to allow performance testing in conjunction with option --speed. new: - toc2cddb: translates a TOC file into a cddb file. (Giuseppe Corbelli) new: - cue2toc: convert CUE to TOC format for audio CDs. (Matthias Czapla) <snip> Note: The 1.1.8 tarball was re-rolled twice because of missing files and a show-stopper in gcdmaster and some SourceForge mirrors still might need to catch up on it. If you have problems with differing checksums please fetch from ftp://us.dl.sourceforge.net/pub/sourceforge/cdrdao, which is known to carry the latest version. - Use/respect DATADIR and DOCSDIR. - Make PREFIX-clean by respecting PREFIX instead of LOCALBASE. - First part of splitting gcdmaster into a slave port because the conditional compilation via HAVE_GNOME caused problems when gnomelibs where installed afterwards (PR 61840). - Tidy the PORTDOCS a bit, e.g. no longer install the release notes for previous releases, they are easily accessible on the homepage anyway. - On deinstall, remind the user to delete the global config file if existent and permanently removing this port. - In pkg-descr, mention that cdrdao also handles the bin/cue format. Wording taken from the Debian cdrdao package. - Fix some references in the cdrdao manpage to fit FreeBSD. - Remove the WITH_PTHREADS knob, it was never very usefull on FreeBSD. - Remove the WITHOUT_SCGLIB knob, the "native" CAM interface of cdrdao has issues with ATAPICAM and probably will be removed in future version. - Remove "-DBSD_SCSI_SENSE_BUG" from CFLAGS, for an explanation see sysutils/sformat/Makefile revision 1.5. Submitted by: maintainer
2004-02-18 15:56:10 +01:00
DISTNAME= cdrdao-${PORTVERSION}
MAINTAINER= marius@FreeBSD.org
- Update to 1.1.8. Relevant parts from the release notes: <snip> - Improved performance of the new L-EC code by up to a factor 2 depending on the hardware. - 'read-test' runs L-EC encoder over mode 1 or mode 2 form 1 sectors to allow performance testing in conjunction with option --speed. new: - toc2cddb: translates a TOC file into a cddb file. (Giuseppe Corbelli) new: - cue2toc: convert CUE to TOC format for audio CDs. (Matthias Czapla) <snip> Note: The 1.1.8 tarball was re-rolled twice because of missing files and a show-stopper in gcdmaster and some SourceForge mirrors still might need to catch up on it. If you have problems with differing checksums please fetch from ftp://us.dl.sourceforge.net/pub/sourceforge/cdrdao, which is known to carry the latest version. - Use/respect DATADIR and DOCSDIR. - Make PREFIX-clean by respecting PREFIX instead of LOCALBASE. - First part of splitting gcdmaster into a slave port because the conditional compilation via HAVE_GNOME caused problems when gnomelibs where installed afterwards (PR 61840). - Tidy the PORTDOCS a bit, e.g. no longer install the release notes for previous releases, they are easily accessible on the homepage anyway. - On deinstall, remind the user to delete the global config file if existent and permanently removing this port. - In pkg-descr, mention that cdrdao also handles the bin/cue format. Wording taken from the Debian cdrdao package. - Fix some references in the cdrdao manpage to fit FreeBSD. - Remove the WITH_PTHREADS knob, it was never very usefull on FreeBSD. - Remove the WITHOUT_SCGLIB knob, the "native" CAM interface of cdrdao has issues with ATAPICAM and probably will be removed in future version. - Remove "-DBSD_SCSI_SENSE_BUG" from CFLAGS, for an explanation see sysutils/sformat/Makefile revision 1.5. Submitted by: maintainer
2004-02-18 15:56:10 +01:00
COMMENT?= Record CD-R[W]s in disk-at-once mode
BUILD_DEPENDS= ${LOCALBASE}/bin/antlr:${PORTSDIR}/devel/pccts \
${LOCALBASE}/bin/dlg:${PORTSDIR}/devel/pccts
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
- Update to 1.2.0. [1] <snip> Cdrdao changes: o SECURITY FIX: cdrdao now gives up its root privileges after setting up real-time scheduling, as well as before saving settings through the --save option. This fixes a potential local root exploit when cdrdao is installed with the +s chmod flag. Using --save now also forces an early exit after the settings are saved. o Added MP3 and Ogg Vorbis file support (through respectively the libmad and libvorbis libraries). cdrdao will decode the MP3 and Ogg files into temporary WAV files that will be deleted upon exit (unless the new option --keep is used). The directory used to store those temporary WAV files can be specified with the --tmpdir option (default is /tmp). o Improved native CUE file support: replaced old incomplete existing parser with the one from Matthias Czapla's excellent cue2toc. Added support for cutting binary files. o Added --rspeed option to manually set the device reading speed. Be warned not all devices support this. o Packaged scsilib library upgraded from cdrtools 2.01 (previously was from 2.01a31). o Added --no-mode2-mixed option. Don't read a MODE2 disk as MODE2_FORM_MIXED, only read MODE2_FORM1 or MODE2_FORM2 (Matthieu Castet). o Added help for little-known drive-info command. GCDMaster changes: o MP3 and Ogg Vorbis support: you can drag and drop .mp3, .m3u and .ogg files from Nautilus into the sample display window. o Switched to gtkmm24 API. Improved file browsers. o CUE files support. o Sound output now uses libao library. o Added 'Select All' item in menu. o Added 'Eject' button to progress dialog. o Bug fixes (sample selection weirdness, couldn't close window during play, problems with gcdmaster command-line argument, crashes with multiple project windows, drive status not reported correctly). <snip> Note that the FreeBSD ports doesn't install cdrdao setuid root so you are not vulnerable by default. - Fix building on FreeBSD 7. - Turn on the usage of mlockall(2) again as it no longer causes negative side effects on FreeBSD >= 502113. Requested by: will [1] Approved by: portmgr (linimon) Security: http://vuxml.freebsd.org/d51a7e6e-c546-11d9-9aed-000e0c2e438a.html
2005-08-12 18:20:44 +02:00
MP3OGG_LIB_DEPENDS= ao.3:${PORTSDIR}/audio/libao \
mad.2:${PORTSDIR}/audio/libmad \
vorbis.4:${PORTSDIR}/audio/libvorbis
- Update to 1.2.0. [1] <snip> Cdrdao changes: o SECURITY FIX: cdrdao now gives up its root privileges after setting up real-time scheduling, as well as before saving settings through the --save option. This fixes a potential local root exploit when cdrdao is installed with the +s chmod flag. Using --save now also forces an early exit after the settings are saved. o Added MP3 and Ogg Vorbis file support (through respectively the libmad and libvorbis libraries). cdrdao will decode the MP3 and Ogg files into temporary WAV files that will be deleted upon exit (unless the new option --keep is used). The directory used to store those temporary WAV files can be specified with the --tmpdir option (default is /tmp). o Improved native CUE file support: replaced old incomplete existing parser with the one from Matthias Czapla's excellent cue2toc. Added support for cutting binary files. o Added --rspeed option to manually set the device reading speed. Be warned not all devices support this. o Packaged scsilib library upgraded from cdrtools 2.01 (previously was from 2.01a31). o Added --no-mode2-mixed option. Don't read a MODE2 disk as MODE2_FORM_MIXED, only read MODE2_FORM1 or MODE2_FORM2 (Matthieu Castet). o Added help for little-known drive-info command. GCDMaster changes: o MP3 and Ogg Vorbis support: you can drag and drop .mp3, .m3u and .ogg files from Nautilus into the sample display window. o Switched to gtkmm24 API. Improved file browsers. o CUE files support. o Sound output now uses libao library. o Added 'Select All' item in menu. o Added 'Eject' button to progress dialog. o Bug fixes (sample selection weirdness, couldn't close window during play, problems with gcdmaster command-line argument, crashes with multiple project windows, drive status not reported correctly). <snip> Note that the FreeBSD ports doesn't install cdrdao setuid root so you are not vulnerable by default. - Fix building on FreeBSD 7. - Turn on the usage of mlockall(2) again as it no longer causes negative side effects on FreeBSD >= 502113. Requested by: will [1] Approved by: portmgr (linimon) Security: http://vuxml.freebsd.org/d51a7e6e-c546-11d9-9aed-000e0c2e438a.html
2005-08-12 18:20:44 +02:00
- Update to 1.1.8. Relevant parts from the release notes: <snip> - Improved performance of the new L-EC code by up to a factor 2 depending on the hardware. - 'read-test' runs L-EC encoder over mode 1 or mode 2 form 1 sectors to allow performance testing in conjunction with option --speed. new: - toc2cddb: translates a TOC file into a cddb file. (Giuseppe Corbelli) new: - cue2toc: convert CUE to TOC format for audio CDs. (Matthias Czapla) <snip> Note: The 1.1.8 tarball was re-rolled twice because of missing files and a show-stopper in gcdmaster and some SourceForge mirrors still might need to catch up on it. If you have problems with differing checksums please fetch from ftp://us.dl.sourceforge.net/pub/sourceforge/cdrdao, which is known to carry the latest version. - Use/respect DATADIR and DOCSDIR. - Make PREFIX-clean by respecting PREFIX instead of LOCALBASE. - First part of splitting gcdmaster into a slave port because the conditional compilation via HAVE_GNOME caused problems when gnomelibs where installed afterwards (PR 61840). - Tidy the PORTDOCS a bit, e.g. no longer install the release notes for previous releases, they are easily accessible on the homepage anyway. - On deinstall, remind the user to delete the global config file if existent and permanently removing this port. - In pkg-descr, mention that cdrdao also handles the bin/cue format. Wording taken from the Debian cdrdao package. - Fix some references in the cdrdao manpage to fit FreeBSD. - Remove the WITH_PTHREADS knob, it was never very usefull on FreeBSD. - Remove the WITHOUT_SCGLIB knob, the "native" CAM interface of cdrdao has issues with ATAPICAM and probably will be removed in future version. - Remove "-DBSD_SCSI_SENSE_BUG" from CFLAGS, for an explanation see sysutils/sformat/Makefile revision 1.5. Submitted by: maintainer
2004-02-18 15:56:10 +01:00
.if ${PORTNAME} == "gcdmaster"
- Update to 1.2.0. [1] <snip> Cdrdao changes: o SECURITY FIX: cdrdao now gives up its root privileges after setting up real-time scheduling, as well as before saving settings through the --save option. This fixes a potential local root exploit when cdrdao is installed with the +s chmod flag. Using --save now also forces an early exit after the settings are saved. o Added MP3 and Ogg Vorbis file support (through respectively the libmad and libvorbis libraries). cdrdao will decode the MP3 and Ogg files into temporary WAV files that will be deleted upon exit (unless the new option --keep is used). The directory used to store those temporary WAV files can be specified with the --tmpdir option (default is /tmp). o Improved native CUE file support: replaced old incomplete existing parser with the one from Matthias Czapla's excellent cue2toc. Added support for cutting binary files. o Added --rspeed option to manually set the device reading speed. Be warned not all devices support this. o Packaged scsilib library upgraded from cdrtools 2.01 (previously was from 2.01a31). o Added --no-mode2-mixed option. Don't read a MODE2 disk as MODE2_FORM_MIXED, only read MODE2_FORM1 or MODE2_FORM2 (Matthieu Castet). o Added help for little-known drive-info command. GCDMaster changes: o MP3 and Ogg Vorbis support: you can drag and drop .mp3, .m3u and .ogg files from Nautilus into the sample display window. o Switched to gtkmm24 API. Improved file browsers. o CUE files support. o Sound output now uses libao library. o Added 'Select All' item in menu. o Added 'Eject' button to progress dialog. o Bug fixes (sample selection weirdness, couldn't close window during play, problems with gcdmaster command-line argument, crashes with multiple project windows, drive status not reported correctly). <snip> Note that the FreeBSD ports doesn't install cdrdao setuid root so you are not vulnerable by default. - Fix building on FreeBSD 7. - Turn on the usage of mlockall(2) again as it no longer causes negative side effects on FreeBSD >= 502113. Requested by: will [1] Approved by: portmgr (linimon) Security: http://vuxml.freebsd.org/d51a7e6e-c546-11d9-9aed-000e0c2e438a.html
2005-08-12 18:20:44 +02:00
USE_GNOME= gnomehier pkgconfig
LIB_DEPENDS= ${MP3OGG_LIB_DEPENDS} \
gnomeuimm-2.6.1:${PORTSDIR}/x11-toolkits/libgnomeuimm26
RUN_DEPENDS= ${LOCALBASE}/bin/cdrdao:${PORTSDIR}/sysutils/cdrdao \
${LOCALBASE}/share/mime/packages/freedesktop.org.xml:${PORTSDIR}/misc/shared-mime-info
- Update to 1.1.8. Relevant parts from the release notes: <snip> - Improved performance of the new L-EC code by up to a factor 2 depending on the hardware. - 'read-test' runs L-EC encoder over mode 1 or mode 2 form 1 sectors to allow performance testing in conjunction with option --speed. new: - toc2cddb: translates a TOC file into a cddb file. (Giuseppe Corbelli) new: - cue2toc: convert CUE to TOC format for audio CDs. (Matthias Czapla) <snip> Note: The 1.1.8 tarball was re-rolled twice because of missing files and a show-stopper in gcdmaster and some SourceForge mirrors still might need to catch up on it. If you have problems with differing checksums please fetch from ftp://us.dl.sourceforge.net/pub/sourceforge/cdrdao, which is known to carry the latest version. - Use/respect DATADIR and DOCSDIR. - Make PREFIX-clean by respecting PREFIX instead of LOCALBASE. - First part of splitting gcdmaster into a slave port because the conditional compilation via HAVE_GNOME caused problems when gnomelibs where installed afterwards (PR 61840). - Tidy the PORTDOCS a bit, e.g. no longer install the release notes for previous releases, they are easily accessible on the homepage anyway. - On deinstall, remind the user to delete the global config file if existent and permanently removing this port. - In pkg-descr, mention that cdrdao also handles the bin/cue format. Wording taken from the Debian cdrdao package. - Fix some references in the cdrdao manpage to fit FreeBSD. - Remove the WITH_PTHREADS knob, it was never very usefull on FreeBSD. - Remove the WITHOUT_SCGLIB knob, the "native" CAM interface of cdrdao has issues with ATAPICAM and probably will be removed in future version. - Remove "-DBSD_SCSI_SENSE_BUG" from CFLAGS, for an explanation see sysutils/sformat/Makefile revision 1.5. Submitted by: maintainer
2004-02-18 15:56:10 +01:00
MAN1= gcdmaster.1
CONFIGURE_ARGS= --without-lame
.else
MAN1= cdrdao.1 cue2toc.1
CONFIGURE_ARGS= --without-xdao
From the submitter: - Don't default to '-O2' when compiling the cdparanoia-lib but respect CFLAGS, this should work around the generation of broken code with GCC and an optimazation-level greater than 1. - Fix a bug in the cdparanoia-lib that can cause problems on some !386. - Remove the unneeded usage of what seems to be an extension of G++, i.e. arguments to the constructor when allocating an array of objects with new, fixes compilation with compilers stricter obeying the standards. - Always symlink ${MACHINE_ARCH}-freebsd-cc.rul to the i386-version on !i386 in the RULES-directory of scglib to be consistent with sysutils/cdrtools, cdrdao also should compile and work on any platform with the fixes above. - hier(7) the location of the global cdrdao.etc to LOCALBASE/etc/cdrdao.conf. - Make the gcdmaster gnome-frontend compile with GCC3, use HAVE_GOME-magic to build it. - Clean up some stuff. NOTE: Gcdmaster has a very obvious bug, if one creates a new audio-CD by "New Audio CD project" -> "Edit" -> "Append Track" (select audio-file) it will get the length of the track wrong, display a garbage waveform and play nothing when hitting the play-button, same for further added tracks. This can be worked around by saving the project and re-opening it, now appending further tracks also works and the burnt CD is fine. This is _not_ a bug of this port but a bug in gcdmaster itself and is totally reproducable on Linux, therefore please don't mail the maintainer of this port about it expect you have a fix, thanks. Submitted by: maintainer
2003-01-02 16:53:38 +01:00
.if defined(WITH_TOC2MP3)
LIB_DEPENDS= mp3lame.0:${PORTSDIR}/audio/lame
- give maintainership from ports to submitter From submitter: - Remove the devel/pccts BUILD_DEPENDS, there's no need to depend on it as cdrdao ships it's own version (but use the pccts-port if it happens to be installed in order to speed up things). - Add a knob to build toc2mp3 (a tool encode an audio cd-image to a set of mp3 files, see Release-1.1.6), makes this port depend on audio/lame. - Use the FreeBSD INSTALL-macros to install the 4 (5 when building toc2mp3) files that are not yet installed by them, much faster than going through the whole makfile-tree. - Don't install extra documentation when NOPORTDOCS is defined (pkg-plist was already correct). - Remove pkg-message, POSIX scheduling is part of the GENERIC kernel since FreeBSD 4.0-RELEASE and it's options are different for 3-stable, 4-stable and 5.0-current. Therefore it's ugly to explain for what options to check on what FreeBSD-version. Don't install README.FreeBSD for the same reason. - Don't copy a getopt.h to ${WRKSRC}/utils, it's neither required nor gets picked up. - Respect PTHREAD_LIBS, respect CC/CFLAGS when compiling Joerg Schiling's SCSI library (the later is recycled sysutils/cdrtools/files/patch-ad). - Don't build librscg and rscsi (remote-scsi) of the SCSI library, they aren't required by cdrdao and the later fails to link anyway because _somewhere_ in the makefile-tree libcam no longer gets passed forward in $SCSILIB. - Fix compilation on 5.0-current. - Add support for FreeBSD/sparc64. Submitted by: marius@alchemy.franken.de
2002-11-13 15:05:31 +01:00
CONFIGURE_ARGS+= --with-lame-include=${LOCALBASE}/include \
--with-lame-lib=${LOCALBASE}/lib
From the submitter: - Don't default to '-O2' when compiling the cdparanoia-lib but respect CFLAGS, this should work around the generation of broken code with GCC and an optimazation-level greater than 1. - Fix a bug in the cdparanoia-lib that can cause problems on some !386. - Remove the unneeded usage of what seems to be an extension of G++, i.e. arguments to the constructor when allocating an array of objects with new, fixes compilation with compilers stricter obeying the standards. - Always symlink ${MACHINE_ARCH}-freebsd-cc.rul to the i386-version on !i386 in the RULES-directory of scglib to be consistent with sysutils/cdrtools, cdrdao also should compile and work on any platform with the fixes above. - hier(7) the location of the global cdrdao.etc to LOCALBASE/etc/cdrdao.conf. - Make the gcdmaster gnome-frontend compile with GCC3, use HAVE_GOME-magic to build it. - Clean up some stuff. NOTE: Gcdmaster has a very obvious bug, if one creates a new audio-CD by "New Audio CD project" -> "Edit" -> "Append Track" (select audio-file) it will get the length of the track wrong, display a garbage waveform and play nothing when hitting the play-button, same for further added tracks. This can be worked around by saving the project and re-opening it, now appending further tracks also works and the burnt CD is fine. This is _not_ a bug of this port but a bug in gcdmaster itself and is totally reproducable on Linux, therefore please don't mail the maintainer of this port about it expect you have a fix, thanks. Submitted by: maintainer
2003-01-02 16:53:38 +01:00
PLIST_SUB+= TOC2MP3=""
- give maintainership from ports to submitter From submitter: - Remove the devel/pccts BUILD_DEPENDS, there's no need to depend on it as cdrdao ships it's own version (but use the pccts-port if it happens to be installed in order to speed up things). - Add a knob to build toc2mp3 (a tool encode an audio cd-image to a set of mp3 files, see Release-1.1.6), makes this port depend on audio/lame. - Use the FreeBSD INSTALL-macros to install the 4 (5 when building toc2mp3) files that are not yet installed by them, much faster than going through the whole makfile-tree. - Don't install extra documentation when NOPORTDOCS is defined (pkg-plist was already correct). - Remove pkg-message, POSIX scheduling is part of the GENERIC kernel since FreeBSD 4.0-RELEASE and it's options are different for 3-stable, 4-stable and 5.0-current. Therefore it's ugly to explain for what options to check on what FreeBSD-version. Don't install README.FreeBSD for the same reason. - Don't copy a getopt.h to ${WRKSRC}/utils, it's neither required nor gets picked up. - Respect PTHREAD_LIBS, respect CC/CFLAGS when compiling Joerg Schiling's SCSI library (the later is recycled sysutils/cdrtools/files/patch-ad). - Don't build librscg and rscsi (remote-scsi) of the SCSI library, they aren't required by cdrdao and the later fails to link anyway because _somewhere_ in the makefile-tree libcam no longer gets passed forward in $SCSILIB. - Fix compilation on 5.0-current. - Add support for FreeBSD/sparc64. Submitted by: marius@alchemy.franken.de
2002-11-13 15:05:31 +01:00
.else
CONFIGURE_ARGS+= --without-lame
From the submitter: - Don't default to '-O2' when compiling the cdparanoia-lib but respect CFLAGS, this should work around the generation of broken code with GCC and an optimazation-level greater than 1. - Fix a bug in the cdparanoia-lib that can cause problems on some !386. - Remove the unneeded usage of what seems to be an extension of G++, i.e. arguments to the constructor when allocating an array of objects with new, fixes compilation with compilers stricter obeying the standards. - Always symlink ${MACHINE_ARCH}-freebsd-cc.rul to the i386-version on !i386 in the RULES-directory of scglib to be consistent with sysutils/cdrtools, cdrdao also should compile and work on any platform with the fixes above. - hier(7) the location of the global cdrdao.etc to LOCALBASE/etc/cdrdao.conf. - Make the gcdmaster gnome-frontend compile with GCC3, use HAVE_GOME-magic to build it. - Clean up some stuff. NOTE: Gcdmaster has a very obvious bug, if one creates a new audio-CD by "New Audio CD project" -> "Edit" -> "Append Track" (select audio-file) it will get the length of the track wrong, display a garbage waveform and play nothing when hitting the play-button, same for further added tracks. This can be worked around by saving the project and re-opening it, now appending further tracks also works and the burnt CD is fine. This is _not_ a bug of this port but a bug in gcdmaster itself and is totally reproducable on Linux, therefore please don't mail the maintainer of this port about it expect you have a fix, thanks. Submitted by: maintainer
2003-01-02 16:53:38 +01:00
PLIST_SUB+= TOC2MP3="@comment "
- give maintainership from ports to submitter From submitter: - Remove the devel/pccts BUILD_DEPENDS, there's no need to depend on it as cdrdao ships it's own version (but use the pccts-port if it happens to be installed in order to speed up things). - Add a knob to build toc2mp3 (a tool encode an audio cd-image to a set of mp3 files, see Release-1.1.6), makes this port depend on audio/lame. - Use the FreeBSD INSTALL-macros to install the 4 (5 when building toc2mp3) files that are not yet installed by them, much faster than going through the whole makfile-tree. - Don't install extra documentation when NOPORTDOCS is defined (pkg-plist was already correct). - Remove pkg-message, POSIX scheduling is part of the GENERIC kernel since FreeBSD 4.0-RELEASE and it's options are different for 3-stable, 4-stable and 5.0-current. Therefore it's ugly to explain for what options to check on what FreeBSD-version. Don't install README.FreeBSD for the same reason. - Don't copy a getopt.h to ${WRKSRC}/utils, it's neither required nor gets picked up. - Respect PTHREAD_LIBS, respect CC/CFLAGS when compiling Joerg Schiling's SCSI library (the later is recycled sysutils/cdrtools/files/patch-ad). - Don't build librscg and rscsi (remote-scsi) of the SCSI library, they aren't required by cdrdao and the later fails to link anyway because _somewhere_ in the makefile-tree libcam no longer gets passed forward in $SCSILIB. - Fix compilation on 5.0-current. - Add support for FreeBSD/sparc64. Submitted by: marius@alchemy.franken.de
2002-11-13 15:05:31 +01:00
.endif
- Update to 1.2.0. [1] <snip> Cdrdao changes: o SECURITY FIX: cdrdao now gives up its root privileges after setting up real-time scheduling, as well as before saving settings through the --save option. This fixes a potential local root exploit when cdrdao is installed with the +s chmod flag. Using --save now also forces an early exit after the settings are saved. o Added MP3 and Ogg Vorbis file support (through respectively the libmad and libvorbis libraries). cdrdao will decode the MP3 and Ogg files into temporary WAV files that will be deleted upon exit (unless the new option --keep is used). The directory used to store those temporary WAV files can be specified with the --tmpdir option (default is /tmp). o Improved native CUE file support: replaced old incomplete existing parser with the one from Matthias Czapla's excellent cue2toc. Added support for cutting binary files. o Added --rspeed option to manually set the device reading speed. Be warned not all devices support this. o Packaged scsilib library upgraded from cdrtools 2.01 (previously was from 2.01a31). o Added --no-mode2-mixed option. Don't read a MODE2 disk as MODE2_FORM_MIXED, only read MODE2_FORM1 or MODE2_FORM2 (Matthieu Castet). o Added help for little-known drive-info command. GCDMaster changes: o MP3 and Ogg Vorbis support: you can drag and drop .mp3, .m3u and .ogg files from Nautilus into the sample display window. o Switched to gtkmm24 API. Improved file browsers. o CUE files support. o Sound output now uses libao library. o Added 'Select All' item in menu. o Added 'Eject' button to progress dialog. o Bug fixes (sample selection weirdness, couldn't close window during play, problems with gcdmaster command-line argument, crashes with multiple project windows, drive status not reported correctly). <snip> Note that the FreeBSD ports doesn't install cdrdao setuid root so you are not vulnerable by default. - Fix building on FreeBSD 7. - Turn on the usage of mlockall(2) again as it no longer causes negative side effects on FreeBSD >= 502113. Requested by: will [1] Approved by: portmgr (linimon) Security: http://vuxml.freebsd.org/d51a7e6e-c546-11d9-9aed-000e0c2e438a.html
2005-08-12 18:20:44 +02:00
.if !defined(WITHOUT_MP3OGG)
USE_GNOME= pkgconfig
LIB_DEPENDS+= ${MP3OGG_LIB_DEPENDS}
.else
CONFIGURE_ARGS+= --without-mp3-support --without-ogg-support
.endif
- Update to 1.1.8. Relevant parts from the release notes: <snip> - Improved performance of the new L-EC code by up to a factor 2 depending on the hardware. - 'read-test' runs L-EC encoder over mode 1 or mode 2 form 1 sectors to allow performance testing in conjunction with option --speed. new: - toc2cddb: translates a TOC file into a cddb file. (Giuseppe Corbelli) new: - cue2toc: convert CUE to TOC format for audio CDs. (Matthias Czapla) <snip> Note: The 1.1.8 tarball was re-rolled twice because of missing files and a show-stopper in gcdmaster and some SourceForge mirrors still might need to catch up on it. If you have problems with differing checksums please fetch from ftp://us.dl.sourceforge.net/pub/sourceforge/cdrdao, which is known to carry the latest version. - Use/respect DATADIR and DOCSDIR. - Make PREFIX-clean by respecting PREFIX instead of LOCALBASE. - First part of splitting gcdmaster into a slave port because the conditional compilation via HAVE_GNOME caused problems when gnomelibs where installed afterwards (PR 61840). - Tidy the PORTDOCS a bit, e.g. no longer install the release notes for previous releases, they are easily accessible on the homepage anyway. - On deinstall, remind the user to delete the global config file if existent and permanently removing this port. - In pkg-descr, mention that cdrdao also handles the bin/cue format. Wording taken from the Debian cdrdao package. - Fix some references in the cdrdao manpage to fit FreeBSD. - Remove the WITH_PTHREADS knob, it was never very usefull on FreeBSD. - Remove the WITHOUT_SCGLIB knob, the "native" CAM interface of cdrdao has issues with ATAPICAM and probably will be removed in future version. - Remove "-DBSD_SCSI_SENSE_BUG" from CFLAGS, for an explanation see sysutils/sformat/Makefile revision 1.5. Submitted by: maintainer
2004-02-18 15:56:10 +01:00
.endif
CONFIGURE_ARGS+= --with-pcctsbin=${LOCALBASE}/bin \
--with-pcctsinc=${LOCALBASE}/include/pccts \
--without-posix-threads --with-scglib=pkg
- Update to 1.1.8. Relevant parts from the release notes: <snip> - Improved performance of the new L-EC code by up to a factor 2 depending on the hardware. - 'read-test' runs L-EC encoder over mode 1 or mode 2 form 1 sectors to allow performance testing in conjunction with option --speed. new: - toc2cddb: translates a TOC file into a cddb file. (Giuseppe Corbelli) new: - cue2toc: convert CUE to TOC format for audio CDs. (Matthias Czapla) <snip> Note: The 1.1.8 tarball was re-rolled twice because of missing files and a show-stopper in gcdmaster and some SourceForge mirrors still might need to catch up on it. If you have problems with differing checksums please fetch from ftp://us.dl.sourceforge.net/pub/sourceforge/cdrdao, which is known to carry the latest version. - Use/respect DATADIR and DOCSDIR. - Make PREFIX-clean by respecting PREFIX instead of LOCALBASE. - First part of splitting gcdmaster into a slave port because the conditional compilation via HAVE_GNOME caused problems when gnomelibs where installed afterwards (PR 61840). - Tidy the PORTDOCS a bit, e.g. no longer install the release notes for previous releases, they are easily accessible on the homepage anyway. - On deinstall, remind the user to delete the global config file if existent and permanently removing this port. - In pkg-descr, mention that cdrdao also handles the bin/cue format. Wording taken from the Debian cdrdao package. - Fix some references in the cdrdao manpage to fit FreeBSD. - Remove the WITH_PTHREADS knob, it was never very usefull on FreeBSD. - Remove the WITHOUT_SCGLIB knob, the "native" CAM interface of cdrdao has issues with ATAPICAM and probably will be removed in future version. - Remove "-DBSD_SCSI_SENSE_BUG" from CFLAGS, for an explanation see sysutils/sformat/Makefile revision 1.5. Submitted by: maintainer
2004-02-18 15:56:10 +01:00
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.pre.mk>
- give maintainership from ports to submitter From submitter: - Remove the devel/pccts BUILD_DEPENDS, there's no need to depend on it as cdrdao ships it's own version (but use the pccts-port if it happens to be installed in order to speed up things). - Add a knob to build toc2mp3 (a tool encode an audio cd-image to a set of mp3 files, see Release-1.1.6), makes this port depend on audio/lame. - Use the FreeBSD INSTALL-macros to install the 4 (5 when building toc2mp3) files that are not yet installed by them, much faster than going through the whole makfile-tree. - Don't install extra documentation when NOPORTDOCS is defined (pkg-plist was already correct). - Remove pkg-message, POSIX scheduling is part of the GENERIC kernel since FreeBSD 4.0-RELEASE and it's options are different for 3-stable, 4-stable and 5.0-current. Therefore it's ugly to explain for what options to check on what FreeBSD-version. Don't install README.FreeBSD for the same reason. - Don't copy a getopt.h to ${WRKSRC}/utils, it's neither required nor gets picked up. - Respect PTHREAD_LIBS, respect CC/CFLAGS when compiling Joerg Schiling's SCSI library (the later is recycled sysutils/cdrtools/files/patch-ad). - Don't build librscg and rscsi (remote-scsi) of the SCSI library, they aren't required by cdrdao and the later fails to link anyway because _somewhere_ in the makefile-tree libcam no longer gets passed forward in $SCSILIB. - Fix compilation on 5.0-current. - Add support for FreeBSD/sparc64. Submitted by: marius@alchemy.franken.de
2002-11-13 15:05:31 +01:00
CCOM!= ${BASENAME} ${CC}
MAKE_ENV= CCOM=${CCOM} LANG=C
SCSILIBTARGET= ${ARCH}-freebsd-${CCOM}
pre-everything::
- Update to 1.2.0. [1] <snip> Cdrdao changes: o SECURITY FIX: cdrdao now gives up its root privileges after setting up real-time scheduling, as well as before saving settings through the --save option. This fixes a potential local root exploit when cdrdao is installed with the +s chmod flag. Using --save now also forces an early exit after the settings are saved. o Added MP3 and Ogg Vorbis file support (through respectively the libmad and libvorbis libraries). cdrdao will decode the MP3 and Ogg files into temporary WAV files that will be deleted upon exit (unless the new option --keep is used). The directory used to store those temporary WAV files can be specified with the --tmpdir option (default is /tmp). o Improved native CUE file support: replaced old incomplete existing parser with the one from Matthias Czapla's excellent cue2toc. Added support for cutting binary files. o Added --rspeed option to manually set the device reading speed. Be warned not all devices support this. o Packaged scsilib library upgraded from cdrtools 2.01 (previously was from 2.01a31). o Added --no-mode2-mixed option. Don't read a MODE2 disk as MODE2_FORM_MIXED, only read MODE2_FORM1 or MODE2_FORM2 (Matthieu Castet). o Added help for little-known drive-info command. GCDMaster changes: o MP3 and Ogg Vorbis support: you can drag and drop .mp3, .m3u and .ogg files from Nautilus into the sample display window. o Switched to gtkmm24 API. Improved file browsers. o CUE files support. o Sound output now uses libao library. o Added 'Select All' item in menu. o Added 'Eject' button to progress dialog. o Bug fixes (sample selection weirdness, couldn't close window during play, problems with gcdmaster command-line argument, crashes with multiple project windows, drive status not reported correctly). <snip> Note that the FreeBSD ports doesn't install cdrdao setuid root so you are not vulnerable by default. - Fix building on FreeBSD 7. - Turn on the usage of mlockall(2) again as it no longer causes negative side effects on FreeBSD >= 502113. Requested by: will [1] Approved by: portmgr (linimon) Security: http://vuxml.freebsd.org/d51a7e6e-c546-11d9-9aed-000e0c2e438a.html
2005-08-12 18:20:44 +02:00
.if ${PORTNAME} != "gcdmaster" && \
(!defined(WITH_TOC2MP3) || !defined(WITHOUT_MP3OGG))
@${ECHO_MSG} ""
- Update to 1.1.8. Relevant parts from the release notes: <snip> - Improved performance of the new L-EC code by up to a factor 2 depending on the hardware. - 'read-test' runs L-EC encoder over mode 1 or mode 2 form 1 sectors to allow performance testing in conjunction with option --speed. new: - toc2cddb: translates a TOC file into a cddb file. (Giuseppe Corbelli) new: - cue2toc: convert CUE to TOC format for audio CDs. (Matthias Czapla) <snip> Note: The 1.1.8 tarball was re-rolled twice because of missing files and a show-stopper in gcdmaster and some SourceForge mirrors still might need to catch up on it. If you have problems with differing checksums please fetch from ftp://us.dl.sourceforge.net/pub/sourceforge/cdrdao, which is known to carry the latest version. - Use/respect DATADIR and DOCSDIR. - Make PREFIX-clean by respecting PREFIX instead of LOCALBASE. - First part of splitting gcdmaster into a slave port because the conditional compilation via HAVE_GNOME caused problems when gnomelibs where installed afterwards (PR 61840). - Tidy the PORTDOCS a bit, e.g. no longer install the release notes for previous releases, they are easily accessible on the homepage anyway. - On deinstall, remind the user to delete the global config file if existent and permanently removing this port. - In pkg-descr, mention that cdrdao also handles the bin/cue format. Wording taken from the Debian cdrdao package. - Fix some references in the cdrdao manpage to fit FreeBSD. - Remove the WITH_PTHREADS knob, it was never very usefull on FreeBSD. - Remove the WITHOUT_SCGLIB knob, the "native" CAM interface of cdrdao has issues with ATAPICAM and probably will be removed in future version. - Remove "-DBSD_SCSI_SENSE_BUG" from CFLAGS, for an explanation see sysutils/sformat/Makefile revision 1.5. Submitted by: maintainer
2004-02-18 15:56:10 +01:00
@${ECHO_MSG} "You may use the following build option(s):"
@${ECHO_MSG} ""
- Update to 1.2.0. [1] <snip> Cdrdao changes: o SECURITY FIX: cdrdao now gives up its root privileges after setting up real-time scheduling, as well as before saving settings through the --save option. This fixes a potential local root exploit when cdrdao is installed with the +s chmod flag. Using --save now also forces an early exit after the settings are saved. o Added MP3 and Ogg Vorbis file support (through respectively the libmad and libvorbis libraries). cdrdao will decode the MP3 and Ogg files into temporary WAV files that will be deleted upon exit (unless the new option --keep is used). The directory used to store those temporary WAV files can be specified with the --tmpdir option (default is /tmp). o Improved native CUE file support: replaced old incomplete existing parser with the one from Matthias Czapla's excellent cue2toc. Added support for cutting binary files. o Added --rspeed option to manually set the device reading speed. Be warned not all devices support this. o Packaged scsilib library upgraded from cdrtools 2.01 (previously was from 2.01a31). o Added --no-mode2-mixed option. Don't read a MODE2 disk as MODE2_FORM_MIXED, only read MODE2_FORM1 or MODE2_FORM2 (Matthieu Castet). o Added help for little-known drive-info command. GCDMaster changes: o MP3 and Ogg Vorbis support: you can drag and drop .mp3, .m3u and .ogg files from Nautilus into the sample display window. o Switched to gtkmm24 API. Improved file browsers. o CUE files support. o Sound output now uses libao library. o Added 'Select All' item in menu. o Added 'Eject' button to progress dialog. o Bug fixes (sample selection weirdness, couldn't close window during play, problems with gcdmaster command-line argument, crashes with multiple project windows, drive status not reported correctly). <snip> Note that the FreeBSD ports doesn't install cdrdao setuid root so you are not vulnerable by default. - Fix building on FreeBSD 7. - Turn on the usage of mlockall(2) again as it no longer causes negative side effects on FreeBSD >= 502113. Requested by: will [1] Approved by: portmgr (linimon) Security: http://vuxml.freebsd.org/d51a7e6e-c546-11d9-9aed-000e0c2e438a.html
2005-08-12 18:20:44 +02:00
.if !defined(WITH_TOC2MP3)
@${ECHO_MSG} "WITH_TOC2MP3=yes builds with toc2mp3 (requires audio/lame)"
- Update to 1.2.0. [1] <snip> Cdrdao changes: o SECURITY FIX: cdrdao now gives up its root privileges after setting up real-time scheduling, as well as before saving settings through the --save option. This fixes a potential local root exploit when cdrdao is installed with the +s chmod flag. Using --save now also forces an early exit after the settings are saved. o Added MP3 and Ogg Vorbis file support (through respectively the libmad and libvorbis libraries). cdrdao will decode the MP3 and Ogg files into temporary WAV files that will be deleted upon exit (unless the new option --keep is used). The directory used to store those temporary WAV files can be specified with the --tmpdir option (default is /tmp). o Improved native CUE file support: replaced old incomplete existing parser with the one from Matthias Czapla's excellent cue2toc. Added support for cutting binary files. o Added --rspeed option to manually set the device reading speed. Be warned not all devices support this. o Packaged scsilib library upgraded from cdrtools 2.01 (previously was from 2.01a31). o Added --no-mode2-mixed option. Don't read a MODE2 disk as MODE2_FORM_MIXED, only read MODE2_FORM1 or MODE2_FORM2 (Matthieu Castet). o Added help for little-known drive-info command. GCDMaster changes: o MP3 and Ogg Vorbis support: you can drag and drop .mp3, .m3u and .ogg files from Nautilus into the sample display window. o Switched to gtkmm24 API. Improved file browsers. o CUE files support. o Sound output now uses libao library. o Added 'Select All' item in menu. o Added 'Eject' button to progress dialog. o Bug fixes (sample selection weirdness, couldn't close window during play, problems with gcdmaster command-line argument, crashes with multiple project windows, drive status not reported correctly). <snip> Note that the FreeBSD ports doesn't install cdrdao setuid root so you are not vulnerable by default. - Fix building on FreeBSD 7. - Turn on the usage of mlockall(2) again as it no longer causes negative side effects on FreeBSD >= 502113. Requested by: will [1] Approved by: portmgr (linimon) Security: http://vuxml.freebsd.org/d51a7e6e-c546-11d9-9aed-000e0c2e438a.html
2005-08-12 18:20:44 +02:00
.endif
.if !defined(WITHOUT_MP3OGG)
@${ECHO_MSG} "WITHOUT_MP3OGG=yes builds without support for decoding MP3 and Ogg Vorbis"
@${ECHO_MSG} " files (not required unless using sysutils/gcdmaster;"
@${ECHO_MSG} " disabling saves a couple of dependencies)"
.endif
@${ECHO_MSG} ""
- Update to 1.1.8. Relevant parts from the release notes: <snip> - Improved performance of the new L-EC code by up to a factor 2 depending on the hardware. - 'read-test' runs L-EC encoder over mode 1 or mode 2 form 1 sectors to allow performance testing in conjunction with option --speed. new: - toc2cddb: translates a TOC file into a cddb file. (Giuseppe Corbelli) new: - cue2toc: convert CUE to TOC format for audio CDs. (Matthias Czapla) <snip> Note: The 1.1.8 tarball was re-rolled twice because of missing files and a show-stopper in gcdmaster and some SourceForge mirrors still might need to catch up on it. If you have problems with differing checksums please fetch from ftp://us.dl.sourceforge.net/pub/sourceforge/cdrdao, which is known to carry the latest version. - Use/respect DATADIR and DOCSDIR. - Make PREFIX-clean by respecting PREFIX instead of LOCALBASE. - First part of splitting gcdmaster into a slave port because the conditional compilation via HAVE_GNOME caused problems when gnomelibs where installed afterwards (PR 61840). - Tidy the PORTDOCS a bit, e.g. no longer install the release notes for previous releases, they are easily accessible on the homepage anyway. - On deinstall, remind the user to delete the global config file if existent and permanently removing this port. - In pkg-descr, mention that cdrdao also handles the bin/cue format. Wording taken from the Debian cdrdao package. - Fix some references in the cdrdao manpage to fit FreeBSD. - Remove the WITH_PTHREADS knob, it was never very usefull on FreeBSD. - Remove the WITHOUT_SCGLIB knob, the "native" CAM interface of cdrdao has issues with ATAPICAM and probably will be removed in future version. - Remove "-DBSD_SCSI_SENSE_BUG" from CFLAGS, for an explanation see sysutils/sformat/Makefile revision 1.5. Submitted by: maintainer
2004-02-18 15:56:10 +01:00
.endif
post-extract:
.if ${SCSILIBTARGET} != "i386-freebsd-cc"
- Update to 1.1.8. Relevant parts from the release notes: <snip> - Improved performance of the new L-EC code by up to a factor 2 depending on the hardware. - 'read-test' runs L-EC encoder over mode 1 or mode 2 form 1 sectors to allow performance testing in conjunction with option --speed. new: - toc2cddb: translates a TOC file into a cddb file. (Giuseppe Corbelli) new: - cue2toc: convert CUE to TOC format for audio CDs. (Matthias Czapla) <snip> Note: The 1.1.8 tarball was re-rolled twice because of missing files and a show-stopper in gcdmaster and some SourceForge mirrors still might need to catch up on it. If you have problems with differing checksums please fetch from ftp://us.dl.sourceforge.net/pub/sourceforge/cdrdao, which is known to carry the latest version. - Use/respect DATADIR and DOCSDIR. - Make PREFIX-clean by respecting PREFIX instead of LOCALBASE. - First part of splitting gcdmaster into a slave port because the conditional compilation via HAVE_GNOME caused problems when gnomelibs where installed afterwards (PR 61840). - Tidy the PORTDOCS a bit, e.g. no longer install the release notes for previous releases, they are easily accessible on the homepage anyway. - On deinstall, remind the user to delete the global config file if existent and permanently removing this port. - In pkg-descr, mention that cdrdao also handles the bin/cue format. Wording taken from the Debian cdrdao package. - Fix some references in the cdrdao manpage to fit FreeBSD. - Remove the WITH_PTHREADS knob, it was never very usefull on FreeBSD. - Remove the WITHOUT_SCGLIB knob, the "native" CAM interface of cdrdao has issues with ATAPICAM and probably will be removed in future version. - Remove "-DBSD_SCSI_SENSE_BUG" from CFLAGS, for an explanation see sysutils/sformat/Makefile revision 1.5. Submitted by: maintainer
2004-02-18 15:56:10 +01:00
@${LN} -sf ${WRKSRC}/scsilib/RULES/i386-freebsd-cc.rul \
${WRKSRC}/scsilib/RULES/${SCSILIBTARGET}.rul
.endif
post-patch:
.for i in 45libdeflt 45libedc 45libfile 45libhfs_iso 45libparanoia 45libunls \
45librscg 55cdda2wav 55cdrecord 55cmd 55mkisofs 55mkisofs!@!diag \
55readcd 55scgcheck 55scgskeleton 55rscsi 85man
- Update to 1.1.8. Relevant parts from the release notes: <snip> - Improved performance of the new L-EC code by up to a factor 2 depending on the hardware. - 'read-test' runs L-EC encoder over mode 1 or mode 2 form 1 sectors to allow performance testing in conjunction with option --speed. new: - toc2cddb: translates a TOC file into a cddb file. (Giuseppe Corbelli) new: - cue2toc: convert CUE to TOC format for audio CDs. (Matthias Czapla) <snip> Note: The 1.1.8 tarball was re-rolled twice because of missing files and a show-stopper in gcdmaster and some SourceForge mirrors still might need to catch up on it. If you have problems with differing checksums please fetch from ftp://us.dl.sourceforge.net/pub/sourceforge/cdrdao, which is known to carry the latest version. - Use/respect DATADIR and DOCSDIR. - Make PREFIX-clean by respecting PREFIX instead of LOCALBASE. - First part of splitting gcdmaster into a slave port because the conditional compilation via HAVE_GNOME caused problems when gnomelibs where installed afterwards (PR 61840). - Tidy the PORTDOCS a bit, e.g. no longer install the release notes for previous releases, they are easily accessible on the homepage anyway. - On deinstall, remind the user to delete the global config file if existent and permanently removing this port. - In pkg-descr, mention that cdrdao also handles the bin/cue format. Wording taken from the Debian cdrdao package. - Fix some references in the cdrdao manpage to fit FreeBSD. - Remove the WITH_PTHREADS knob, it was never very usefull on FreeBSD. - Remove the WITHOUT_SCGLIB knob, the "native" CAM interface of cdrdao has issues with ATAPICAM and probably will be removed in future version. - Remove "-DBSD_SCSI_SENSE_BUG" from CFLAGS, for an explanation see sysutils/sformat/Makefile revision 1.5. Submitted by: maintainer
2004-02-18 15:56:10 +01:00
@${RM} ${WRKSRC}/scsilib/TARGETS/${i}
.endfor
.if ${PORTNAME} == "gcdmaster"
@${REINPLACE_CMD} -E -e 's|(^SUBDIRS.+) utils|\1|' ${WRKSRC}/Makefile.in
- Update to 1.2.0. [1] <snip> Cdrdao changes: o SECURITY FIX: cdrdao now gives up its root privileges after setting up real-time scheduling, as well as before saving settings through the --save option. This fixes a potential local root exploit when cdrdao is installed with the +s chmod flag. Using --save now also forces an early exit after the settings are saved. o Added MP3 and Ogg Vorbis file support (through respectively the libmad and libvorbis libraries). cdrdao will decode the MP3 and Ogg files into temporary WAV files that will be deleted upon exit (unless the new option --keep is used). The directory used to store those temporary WAV files can be specified with the --tmpdir option (default is /tmp). o Improved native CUE file support: replaced old incomplete existing parser with the one from Matthias Czapla's excellent cue2toc. Added support for cutting binary files. o Added --rspeed option to manually set the device reading speed. Be warned not all devices support this. o Packaged scsilib library upgraded from cdrtools 2.01 (previously was from 2.01a31). o Added --no-mode2-mixed option. Don't read a MODE2 disk as MODE2_FORM_MIXED, only read MODE2_FORM1 or MODE2_FORM2 (Matthieu Castet). o Added help for little-known drive-info command. GCDMaster changes: o MP3 and Ogg Vorbis support: you can drag and drop .mp3, .m3u and .ogg files from Nautilus into the sample display window. o Switched to gtkmm24 API. Improved file browsers. o CUE files support. o Sound output now uses libao library. o Added 'Select All' item in menu. o Added 'Eject' button to progress dialog. o Bug fixes (sample selection weirdness, couldn't close window during play, problems with gcdmaster command-line argument, crashes with multiple project windows, drive status not reported correctly). <snip> Note that the FreeBSD ports doesn't install cdrdao setuid root so you are not vulnerable by default. - Fix building on FreeBSD 7. - Turn on the usage of mlockall(2) again as it no longer causes negative side effects on FreeBSD >= 502113. Requested by: will [1] Approved by: portmgr (linimon) Security: http://vuxml.freebsd.org/d51a7e6e-c546-11d9-9aed-000e0c2e438a.html
2005-08-12 18:20:44 +02:00
@${REINPLACE_CMD} -E -e 's|(^gladedir.+=).+|\1 ${DATADIR}|' \
${WRKSRC}/xdao/Makefile.in
- Update to 1.1.8. Relevant parts from the release notes: <snip> - Improved performance of the new L-EC code by up to a factor 2 depending on the hardware. - 'read-test' runs L-EC encoder over mode 1 or mode 2 form 1 sectors to allow performance testing in conjunction with option --speed. new: - toc2cddb: translates a TOC file into a cddb file. (Giuseppe Corbelli) new: - cue2toc: convert CUE to TOC format for audio CDs. (Matthias Czapla) <snip> Note: The 1.1.8 tarball was re-rolled twice because of missing files and a show-stopper in gcdmaster and some SourceForge mirrors still might need to catch up on it. If you have problems with differing checksums please fetch from ftp://us.dl.sourceforge.net/pub/sourceforge/cdrdao, which is known to carry the latest version. - Use/respect DATADIR and DOCSDIR. - Make PREFIX-clean by respecting PREFIX instead of LOCALBASE. - First part of splitting gcdmaster into a slave port because the conditional compilation via HAVE_GNOME caused problems when gnomelibs where installed afterwards (PR 61840). - Tidy the PORTDOCS a bit, e.g. no longer install the release notes for previous releases, they are easily accessible on the homepage anyway. - On deinstall, remind the user to delete the global config file if existent and permanently removing this port. - In pkg-descr, mention that cdrdao also handles the bin/cue format. Wording taken from the Debian cdrdao package. - Fix some references in the cdrdao manpage to fit FreeBSD. - Remove the WITH_PTHREADS knob, it was never very usefull on FreeBSD. - Remove the WITHOUT_SCGLIB knob, the "native" CAM interface of cdrdao has issues with ATAPICAM and probably will be removed in future version. - Remove "-DBSD_SCSI_SENSE_BUG" from CFLAGS, for an explanation see sysutils/sformat/Makefile revision 1.5. Submitted by: maintainer
2004-02-18 15:56:10 +01:00
@${REINPLACE_CMD} -E -e \
's|(SET_CDRDAO_PATH.+path=)(cdrdao)|\1${LOCALBASE}\/bin\/\2|g' \
${WRKSRC}/xdao/Settings.cc
- Update to 1.2.0. [1] <snip> Cdrdao changes: o SECURITY FIX: cdrdao now gives up its root privileges after setting up real-time scheduling, as well as before saving settings through the --save option. This fixes a potential local root exploit when cdrdao is installed with the +s chmod flag. Using --save now also forces an early exit after the settings are saved. o Added MP3 and Ogg Vorbis file support (through respectively the libmad and libvorbis libraries). cdrdao will decode the MP3 and Ogg files into temporary WAV files that will be deleted upon exit (unless the new option --keep is used). The directory used to store those temporary WAV files can be specified with the --tmpdir option (default is /tmp). o Improved native CUE file support: replaced old incomplete existing parser with the one from Matthias Czapla's excellent cue2toc. Added support for cutting binary files. o Added --rspeed option to manually set the device reading speed. Be warned not all devices support this. o Packaged scsilib library upgraded from cdrtools 2.01 (previously was from 2.01a31). o Added --no-mode2-mixed option. Don't read a MODE2 disk as MODE2_FORM_MIXED, only read MODE2_FORM1 or MODE2_FORM2 (Matthieu Castet). o Added help for little-known drive-info command. GCDMaster changes: o MP3 and Ogg Vorbis support: you can drag and drop .mp3, .m3u and .ogg files from Nautilus into the sample display window. o Switched to gtkmm24 API. Improved file browsers. o CUE files support. o Sound output now uses libao library. o Added 'Select All' item in menu. o Added 'Eject' button to progress dialog. o Bug fixes (sample selection weirdness, couldn't close window during play, problems with gcdmaster command-line argument, crashes with multiple project windows, drive status not reported correctly). <snip> Note that the FreeBSD ports doesn't install cdrdao setuid root so you are not vulnerable by default. - Fix building on FreeBSD 7. - Turn on the usage of mlockall(2) again as it no longer causes negative side effects on FreeBSD >= 502113. Requested by: will [1] Approved by: portmgr (linimon) Security: http://vuxml.freebsd.org/d51a7e6e-c546-11d9-9aed-000e0c2e438a.html
2005-08-12 18:20:44 +02:00
@${REINPLACE_CMD} -E -e \
's|(icon-filename=).+(gcdmaster-doc.png)|\1${LOCALBASE}\/share\/pixmaps\/document-icons\/\2|g' \
- Update to 1.2.0. [1] <snip> Cdrdao changes: o SECURITY FIX: cdrdao now gives up its root privileges after setting up real-time scheduling, as well as before saving settings through the --save option. This fixes a potential local root exploit when cdrdao is installed with the +s chmod flag. Using --save now also forces an early exit after the settings are saved. o Added MP3 and Ogg Vorbis file support (through respectively the libmad and libvorbis libraries). cdrdao will decode the MP3 and Ogg files into temporary WAV files that will be deleted upon exit (unless the new option --keep is used). The directory used to store those temporary WAV files can be specified with the --tmpdir option (default is /tmp). o Improved native CUE file support: replaced old incomplete existing parser with the one from Matthias Czapla's excellent cue2toc. Added support for cutting binary files. o Added --rspeed option to manually set the device reading speed. Be warned not all devices support this. o Packaged scsilib library upgraded from cdrtools 2.01 (previously was from 2.01a31). o Added --no-mode2-mixed option. Don't read a MODE2 disk as MODE2_FORM_MIXED, only read MODE2_FORM1 or MODE2_FORM2 (Matthieu Castet). o Added help for little-known drive-info command. GCDMaster changes: o MP3 and Ogg Vorbis support: you can drag and drop .mp3, .m3u and .ogg files from Nautilus into the sample display window. o Switched to gtkmm24 API. Improved file browsers. o CUE files support. o Sound output now uses libao library. o Added 'Select All' item in menu. o Added 'Eject' button to progress dialog. o Bug fixes (sample selection weirdness, couldn't close window during play, problems with gcdmaster command-line argument, crashes with multiple project windows, drive status not reported correctly). <snip> Note that the FreeBSD ports doesn't install cdrdao setuid root so you are not vulnerable by default. - Fix building on FreeBSD 7. - Turn on the usage of mlockall(2) again as it no longer causes negative side effects on FreeBSD >= 502113. Requested by: will [1] Approved by: portmgr (linimon) Security: http://vuxml.freebsd.org/d51a7e6e-c546-11d9-9aed-000e0c2e438a.html
2005-08-12 18:20:44 +02:00
${WRKSRC}/xdao/gcdmaster.keys
- Update to 1.1.8. Relevant parts from the release notes: <snip> - Improved performance of the new L-EC code by up to a factor 2 depending on the hardware. - 'read-test' runs L-EC encoder over mode 1 or mode 2 form 1 sectors to allow performance testing in conjunction with option --speed. new: - toc2cddb: translates a TOC file into a cddb file. (Giuseppe Corbelli) new: - cue2toc: convert CUE to TOC format for audio CDs. (Matthias Czapla) <snip> Note: The 1.1.8 tarball was re-rolled twice because of missing files and a show-stopper in gcdmaster and some SourceForge mirrors still might need to catch up on it. If you have problems with differing checksums please fetch from ftp://us.dl.sourceforge.net/pub/sourceforge/cdrdao, which is known to carry the latest version. - Use/respect DATADIR and DOCSDIR. - Make PREFIX-clean by respecting PREFIX instead of LOCALBASE. - First part of splitting gcdmaster into a slave port because the conditional compilation via HAVE_GNOME caused problems when gnomelibs where installed afterwards (PR 61840). - Tidy the PORTDOCS a bit, e.g. no longer install the release notes for previous releases, they are easily accessible on the homepage anyway. - On deinstall, remind the user to delete the global config file if existent and permanently removing this port. - In pkg-descr, mention that cdrdao also handles the bin/cue format. Wording taken from the Debian cdrdao package. - Fix some references in the cdrdao manpage to fit FreeBSD. - Remove the WITH_PTHREADS knob, it was never very usefull on FreeBSD. - Remove the WITHOUT_SCGLIB knob, the "native" CAM interface of cdrdao has issues with ATAPICAM and probably will be removed in future version. - Remove "-DBSD_SCSI_SENSE_BUG" from CFLAGS, for an explanation see sysutils/sformat/Makefile revision 1.5. Submitted by: maintainer
2004-02-18 15:56:10 +01:00
.else
From the submitter: - Don't default to '-O2' when compiling the cdparanoia-lib but respect CFLAGS, this should work around the generation of broken code with GCC and an optimazation-level greater than 1. - Fix a bug in the cdparanoia-lib that can cause problems on some !386. - Remove the unneeded usage of what seems to be an extension of G++, i.e. arguments to the constructor when allocating an array of objects with new, fixes compilation with compilers stricter obeying the standards. - Always symlink ${MACHINE_ARCH}-freebsd-cc.rul to the i386-version on !i386 in the RULES-directory of scglib to be consistent with sysutils/cdrtools, cdrdao also should compile and work on any platform with the fixes above. - hier(7) the location of the global cdrdao.etc to LOCALBASE/etc/cdrdao.conf. - Make the gcdmaster gnome-frontend compile with GCC3, use HAVE_GOME-magic to build it. - Clean up some stuff. NOTE: Gcdmaster has a very obvious bug, if one creates a new audio-CD by "New Audio CD project" -> "Edit" -> "Append Track" (select audio-file) it will get the length of the track wrong, display a garbage waveform and play nothing when hitting the play-button, same for further added tracks. This can be worked around by saving the project and re-opening it, now appending further tracks also works and the burnt CD is fine. This is _not_ a bug of this port but a bug in gcdmaster itself and is totally reproducable on Linux, therefore please don't mail the maintainer of this port about it expect you have a fix, thanks. Submitted by: maintainer
2003-01-02 16:53:38 +01:00
.for i in cdrdao.man main.cc
- Update to 1.1.8. Relevant parts from the release notes: <snip> - Improved performance of the new L-EC code by up to a factor 2 depending on the hardware. - 'read-test' runs L-EC encoder over mode 1 or mode 2 form 1 sectors to allow performance testing in conjunction with option --speed. new: - toc2cddb: translates a TOC file into a cddb file. (Giuseppe Corbelli) new: - cue2toc: convert CUE to TOC format for audio CDs. (Matthias Czapla) <snip> Note: The 1.1.8 tarball was re-rolled twice because of missing files and a show-stopper in gcdmaster and some SourceForge mirrors still might need to catch up on it. If you have problems with differing checksums please fetch from ftp://us.dl.sourceforge.net/pub/sourceforge/cdrdao, which is known to carry the latest version. - Use/respect DATADIR and DOCSDIR. - Make PREFIX-clean by respecting PREFIX instead of LOCALBASE. - First part of splitting gcdmaster into a slave port because the conditional compilation via HAVE_GNOME caused problems when gnomelibs where installed afterwards (PR 61840). - Tidy the PORTDOCS a bit, e.g. no longer install the release notes for previous releases, they are easily accessible on the homepage anyway. - On deinstall, remind the user to delete the global config file if existent and permanently removing this port. - In pkg-descr, mention that cdrdao also handles the bin/cue format. Wording taken from the Debian cdrdao package. - Fix some references in the cdrdao manpage to fit FreeBSD. - Remove the WITH_PTHREADS knob, it was never very usefull on FreeBSD. - Remove the WITHOUT_SCGLIB knob, the "native" CAM interface of cdrdao has issues with ATAPICAM and probably will be removed in future version. - Remove "-DBSD_SCSI_SENSE_BUG" from CFLAGS, for an explanation see sysutils/sformat/Makefile revision 1.5. Submitted by: maintainer
2004-02-18 15:56:10 +01:00
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/dao/${i}
From the submitter: - Don't default to '-O2' when compiling the cdparanoia-lib but respect CFLAGS, this should work around the generation of broken code with GCC and an optimazation-level greater than 1. - Fix a bug in the cdparanoia-lib that can cause problems on some !386. - Remove the unneeded usage of what seems to be an extension of G++, i.e. arguments to the constructor when allocating an array of objects with new, fixes compilation with compilers stricter obeying the standards. - Always symlink ${MACHINE_ARCH}-freebsd-cc.rul to the i386-version on !i386 in the RULES-directory of scglib to be consistent with sysutils/cdrtools, cdrdao also should compile and work on any platform with the fixes above. - hier(7) the location of the global cdrdao.etc to LOCALBASE/etc/cdrdao.conf. - Make the gcdmaster gnome-frontend compile with GCC3, use HAVE_GOME-magic to build it. - Clean up some stuff. NOTE: Gcdmaster has a very obvious bug, if one creates a new audio-CD by "New Audio CD project" -> "Edit" -> "Append Track" (select audio-file) it will get the length of the track wrong, display a garbage waveform and play nothing when hitting the play-button, same for further added tracks. This can be worked around by saving the project and re-opening it, now appending further tracks also works and the burnt CD is fine. This is _not_ a bug of this port but a bug in gcdmaster itself and is totally reproducable on Linux, therefore please don't mail the maintainer of this port about it expect you have a fix, thanks. Submitted by: maintainer
2003-01-02 16:53:38 +01:00
.endfor
- Update to 1.1.8. Relevant parts from the release notes: <snip> - Improved performance of the new L-EC code by up to a factor 2 depending on the hardware. - 'read-test' runs L-EC encoder over mode 1 or mode 2 form 1 sectors to allow performance testing in conjunction with option --speed. new: - toc2cddb: translates a TOC file into a cddb file. (Giuseppe Corbelli) new: - cue2toc: convert CUE to TOC format for audio CDs. (Matthias Czapla) <snip> Note: The 1.1.8 tarball was re-rolled twice because of missing files and a show-stopper in gcdmaster and some SourceForge mirrors still might need to catch up on it. If you have problems with differing checksums please fetch from ftp://us.dl.sourceforge.net/pub/sourceforge/cdrdao, which is known to carry the latest version. - Use/respect DATADIR and DOCSDIR. - Make PREFIX-clean by respecting PREFIX instead of LOCALBASE. - First part of splitting gcdmaster into a slave port because the conditional compilation via HAVE_GNOME caused problems when gnomelibs where installed afterwards (PR 61840). - Tidy the PORTDOCS a bit, e.g. no longer install the release notes for previous releases, they are easily accessible on the homepage anyway. - On deinstall, remind the user to delete the global config file if existent and permanently removing this port. - In pkg-descr, mention that cdrdao also handles the bin/cue format. Wording taken from the Debian cdrdao package. - Fix some references in the cdrdao manpage to fit FreeBSD. - Remove the WITH_PTHREADS knob, it was never very usefull on FreeBSD. - Remove the WITHOUT_SCGLIB knob, the "native" CAM interface of cdrdao has issues with ATAPICAM and probably will be removed in future version. - Remove "-DBSD_SCSI_SENSE_BUG" from CFLAGS, for an explanation see sysutils/sformat/Makefile revision 1.5. Submitted by: maintainer
2004-02-18 15:56:10 +01:00
@${REINPLACE_CMD} -E -e 's|(^CDRDAO_DATA_DIR.+=).+|\1 ${DATADIR}|' \
${WRKSRC}/dao/Makefile.in
.endif
- give maintainership from ports to submitter From submitter: - Remove the devel/pccts BUILD_DEPENDS, there's no need to depend on it as cdrdao ships it's own version (but use the pccts-port if it happens to be installed in order to speed up things). - Add a knob to build toc2mp3 (a tool encode an audio cd-image to a set of mp3 files, see Release-1.1.6), makes this port depend on audio/lame. - Use the FreeBSD INSTALL-macros to install the 4 (5 when building toc2mp3) files that are not yet installed by them, much faster than going through the whole makfile-tree. - Don't install extra documentation when NOPORTDOCS is defined (pkg-plist was already correct). - Remove pkg-message, POSIX scheduling is part of the GENERIC kernel since FreeBSD 4.0-RELEASE and it's options are different for 3-stable, 4-stable and 5.0-current. Therefore it's ugly to explain for what options to check on what FreeBSD-version. Don't install README.FreeBSD for the same reason. - Don't copy a getopt.h to ${WRKSRC}/utils, it's neither required nor gets picked up. - Respect PTHREAD_LIBS, respect CC/CFLAGS when compiling Joerg Schiling's SCSI library (the later is recycled sysutils/cdrtools/files/patch-ad). - Don't build librscg and rscsi (remote-scsi) of the SCSI library, they aren't required by cdrdao and the later fails to link anyway because _somewhere_ in the makefile-tree libcam no longer gets passed forward in $SCSILIB. - Fix compilation on 5.0-current. - Add support for FreeBSD/sparc64. Submitted by: marius@alchemy.franken.de
2002-11-13 15:05:31 +01:00
do-install:
- Update to 1.1.8. Relevant parts from the release notes: <snip> - Improved performance of the new L-EC code by up to a factor 2 depending on the hardware. - 'read-test' runs L-EC encoder over mode 1 or mode 2 form 1 sectors to allow performance testing in conjunction with option --speed. new: - toc2cddb: translates a TOC file into a cddb file. (Giuseppe Corbelli) new: - cue2toc: convert CUE to TOC format for audio CDs. (Matthias Czapla) <snip> Note: The 1.1.8 tarball was re-rolled twice because of missing files and a show-stopper in gcdmaster and some SourceForge mirrors still might need to catch up on it. If you have problems with differing checksums please fetch from ftp://us.dl.sourceforge.net/pub/sourceforge/cdrdao, which is known to carry the latest version. - Use/respect DATADIR and DOCSDIR. - Make PREFIX-clean by respecting PREFIX instead of LOCALBASE. - First part of splitting gcdmaster into a slave port because the conditional compilation via HAVE_GNOME caused problems when gnomelibs where installed afterwards (PR 61840). - Tidy the PORTDOCS a bit, e.g. no longer install the release notes for previous releases, they are easily accessible on the homepage anyway. - On deinstall, remind the user to delete the global config file if existent and permanently removing this port. - In pkg-descr, mention that cdrdao also handles the bin/cue format. Wording taken from the Debian cdrdao package. - Fix some references in the cdrdao manpage to fit FreeBSD. - Remove the WITH_PTHREADS knob, it was never very usefull on FreeBSD. - Remove the WITHOUT_SCGLIB knob, the "native" CAM interface of cdrdao has issues with ATAPICAM and probably will be removed in future version. - Remove "-DBSD_SCSI_SENSE_BUG" from CFLAGS, for an explanation see sysutils/sformat/Makefile revision 1.5. Submitted by: maintainer
2004-02-18 15:56:10 +01:00
.if ${PORTNAME} == "gcdmaster"
@${INSTALL_PROGRAM} ${WRKSRC}/xdao/gcdmaster ${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/xdao/gcdmaster.man \
${PREFIX}/man/man1/gcdmaster.1
- Update to 1.2.0. [1] <snip> Cdrdao changes: o SECURITY FIX: cdrdao now gives up its root privileges after setting up real-time scheduling, as well as before saving settings through the --save option. This fixes a potential local root exploit when cdrdao is installed with the +s chmod flag. Using --save now also forces an early exit after the settings are saved. o Added MP3 and Ogg Vorbis file support (through respectively the libmad and libvorbis libraries). cdrdao will decode the MP3 and Ogg files into temporary WAV files that will be deleted upon exit (unless the new option --keep is used). The directory used to store those temporary WAV files can be specified with the --tmpdir option (default is /tmp). o Improved native CUE file support: replaced old incomplete existing parser with the one from Matthias Czapla's excellent cue2toc. Added support for cutting binary files. o Added --rspeed option to manually set the device reading speed. Be warned not all devices support this. o Packaged scsilib library upgraded from cdrtools 2.01 (previously was from 2.01a31). o Added --no-mode2-mixed option. Don't read a MODE2 disk as MODE2_FORM_MIXED, only read MODE2_FORM1 or MODE2_FORM2 (Matthieu Castet). o Added help for little-known drive-info command. GCDMaster changes: o MP3 and Ogg Vorbis support: you can drag and drop .mp3, .m3u and .ogg files from Nautilus into the sample display window. o Switched to gtkmm24 API. Improved file browsers. o CUE files support. o Sound output now uses libao library. o Added 'Select All' item in menu. o Added 'Eject' button to progress dialog. o Bug fixes (sample selection weirdness, couldn't close window during play, problems with gcdmaster command-line argument, crashes with multiple project windows, drive status not reported correctly). <snip> Note that the FreeBSD ports doesn't install cdrdao setuid root so you are not vulnerable by default. - Fix building on FreeBSD 7. - Turn on the usage of mlockall(2) again as it no longer causes negative side effects on FreeBSD >= 502113. Requested by: will [1] Approved by: portmgr (linimon) Security: http://vuxml.freebsd.org/d51a7e6e-c546-11d9-9aed-000e0c2e438a.html
2005-08-12 18:20:44 +02:00
@${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster-doc.png \
${LOCALBASE}/share/pixmaps/document-icons
- Update to 1.2.0. [1] <snip> Cdrdao changes: o SECURITY FIX: cdrdao now gives up its root privileges after setting up real-time scheduling, as well as before saving settings through the --save option. This fixes a potential local root exploit when cdrdao is installed with the +s chmod flag. Using --save now also forces an early exit after the settings are saved. o Added MP3 and Ogg Vorbis file support (through respectively the libmad and libvorbis libraries). cdrdao will decode the MP3 and Ogg files into temporary WAV files that will be deleted upon exit (unless the new option --keep is used). The directory used to store those temporary WAV files can be specified with the --tmpdir option (default is /tmp). o Improved native CUE file support: replaced old incomplete existing parser with the one from Matthias Czapla's excellent cue2toc. Added support for cutting binary files. o Added --rspeed option to manually set the device reading speed. Be warned not all devices support this. o Packaged scsilib library upgraded from cdrtools 2.01 (previously was from 2.01a31). o Added --no-mode2-mixed option. Don't read a MODE2 disk as MODE2_FORM_MIXED, only read MODE2_FORM1 or MODE2_FORM2 (Matthieu Castet). o Added help for little-known drive-info command. GCDMaster changes: o MP3 and Ogg Vorbis support: you can drag and drop .mp3, .m3u and .ogg files from Nautilus into the sample display window. o Switched to gtkmm24 API. Improved file browsers. o CUE files support. o Sound output now uses libao library. o Added 'Select All' item in menu. o Added 'Eject' button to progress dialog. o Bug fixes (sample selection weirdness, couldn't close window during play, problems with gcdmaster command-line argument, crashes with multiple project windows, drive status not reported correctly). <snip> Note that the FreeBSD ports doesn't install cdrdao setuid root so you are not vulnerable by default. - Fix building on FreeBSD 7. - Turn on the usage of mlockall(2) again as it no longer causes negative side effects on FreeBSD >= 502113. Requested by: will [1] Approved by: portmgr (linimon) Security: http://vuxml.freebsd.org/d51a7e6e-c546-11d9-9aed-000e0c2e438a.html
2005-08-12 18:20:44 +02:00
@${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.applications \
${LOCALBASE}/share/application-registry
- Update to 1.1.8. Relevant parts from the release notes: <snip> - Improved performance of the new L-EC code by up to a factor 2 depending on the hardware. - 'read-test' runs L-EC encoder over mode 1 or mode 2 form 1 sectors to allow performance testing in conjunction with option --speed. new: - toc2cddb: translates a TOC file into a cddb file. (Giuseppe Corbelli) new: - cue2toc: convert CUE to TOC format for audio CDs. (Matthias Czapla) <snip> Note: The 1.1.8 tarball was re-rolled twice because of missing files and a show-stopper in gcdmaster and some SourceForge mirrors still might need to catch up on it. If you have problems with differing checksums please fetch from ftp://us.dl.sourceforge.net/pub/sourceforge/cdrdao, which is known to carry the latest version. - Use/respect DATADIR and DOCSDIR. - Make PREFIX-clean by respecting PREFIX instead of LOCALBASE. - First part of splitting gcdmaster into a slave port because the conditional compilation via HAVE_GNOME caused problems when gnomelibs where installed afterwards (PR 61840). - Tidy the PORTDOCS a bit, e.g. no longer install the release notes for previous releases, they are easily accessible on the homepage anyway. - On deinstall, remind the user to delete the global config file if existent and permanently removing this port. - In pkg-descr, mention that cdrdao also handles the bin/cue format. Wording taken from the Debian cdrdao package. - Fix some references in the cdrdao manpage to fit FreeBSD. - Remove the WITH_PTHREADS knob, it was never very usefull on FreeBSD. - Remove the WITHOUT_SCGLIB knob, the "native" CAM interface of cdrdao has issues with ATAPICAM and probably will be removed in future version. - Remove "-DBSD_SCSI_SENSE_BUG" from CFLAGS, for an explanation see sysutils/sformat/Makefile revision 1.5. Submitted by: maintainer
2004-02-18 15:56:10 +01:00
@${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.desktop \
${LOCALBASE}/share/applications
- Update to 1.2.0. [1] <snip> Cdrdao changes: o SECURITY FIX: cdrdao now gives up its root privileges after setting up real-time scheduling, as well as before saving settings through the --save option. This fixes a potential local root exploit when cdrdao is installed with the +s chmod flag. Using --save now also forces an early exit after the settings are saved. o Added MP3 and Ogg Vorbis file support (through respectively the libmad and libvorbis libraries). cdrdao will decode the MP3 and Ogg files into temporary WAV files that will be deleted upon exit (unless the new option --keep is used). The directory used to store those temporary WAV files can be specified with the --tmpdir option (default is /tmp). o Improved native CUE file support: replaced old incomplete existing parser with the one from Matthias Czapla's excellent cue2toc. Added support for cutting binary files. o Added --rspeed option to manually set the device reading speed. Be warned not all devices support this. o Packaged scsilib library upgraded from cdrtools 2.01 (previously was from 2.01a31). o Added --no-mode2-mixed option. Don't read a MODE2 disk as MODE2_FORM_MIXED, only read MODE2_FORM1 or MODE2_FORM2 (Matthieu Castet). o Added help for little-known drive-info command. GCDMaster changes: o MP3 and Ogg Vorbis support: you can drag and drop .mp3, .m3u and .ogg files from Nautilus into the sample display window. o Switched to gtkmm24 API. Improved file browsers. o CUE files support. o Sound output now uses libao library. o Added 'Select All' item in menu. o Added 'Eject' button to progress dialog. o Bug fixes (sample selection weirdness, couldn't close window during play, problems with gcdmaster command-line argument, crashes with multiple project windows, drive status not reported correctly). <snip> Note that the FreeBSD ports doesn't install cdrdao setuid root so you are not vulnerable by default. - Fix building on FreeBSD 7. - Turn on the usage of mlockall(2) again as it no longer causes negative side effects on FreeBSD >= 502113. Requested by: will [1] Approved by: portmgr (linimon) Security: http://vuxml.freebsd.org/d51a7e6e-c546-11d9-9aed-000e0c2e438a.html
2005-08-12 18:20:44 +02:00
@${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.keys \
${LOCALBASE}/share/mime-info
- Update to 1.2.0. [1] <snip> Cdrdao changes: o SECURITY FIX: cdrdao now gives up its root privileges after setting up real-time scheduling, as well as before saving settings through the --save option. This fixes a potential local root exploit when cdrdao is installed with the +s chmod flag. Using --save now also forces an early exit after the settings are saved. o Added MP3 and Ogg Vorbis file support (through respectively the libmad and libvorbis libraries). cdrdao will decode the MP3 and Ogg files into temporary WAV files that will be deleted upon exit (unless the new option --keep is used). The directory used to store those temporary WAV files can be specified with the --tmpdir option (default is /tmp). o Improved native CUE file support: replaced old incomplete existing parser with the one from Matthias Czapla's excellent cue2toc. Added support for cutting binary files. o Added --rspeed option to manually set the device reading speed. Be warned not all devices support this. o Packaged scsilib library upgraded from cdrtools 2.01 (previously was from 2.01a31). o Added --no-mode2-mixed option. Don't read a MODE2 disk as MODE2_FORM_MIXED, only read MODE2_FORM1 or MODE2_FORM2 (Matthieu Castet). o Added help for little-known drive-info command. GCDMaster changes: o MP3 and Ogg Vorbis support: you can drag and drop .mp3, .m3u and .ogg files from Nautilus into the sample display window. o Switched to gtkmm24 API. Improved file browsers. o CUE files support. o Sound output now uses libao library. o Added 'Select All' item in menu. o Added 'Eject' button to progress dialog. o Bug fixes (sample selection weirdness, couldn't close window during play, problems with gcdmaster command-line argument, crashes with multiple project windows, drive status not reported correctly). <snip> Note that the FreeBSD ports doesn't install cdrdao setuid root so you are not vulnerable by default. - Fix building on FreeBSD 7. - Turn on the usage of mlockall(2) again as it no longer causes negative side effects on FreeBSD >= 502113. Requested by: will [1] Approved by: portmgr (linimon) Security: http://vuxml.freebsd.org/d51a7e6e-c546-11d9-9aed-000e0c2e438a.html
2005-08-12 18:20:44 +02:00
@${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.mime \
${LOCALBASE}/share/mime-info
- Update to 1.1.8. Relevant parts from the release notes: <snip> - Improved performance of the new L-EC code by up to a factor 2 depending on the hardware. - 'read-test' runs L-EC encoder over mode 1 or mode 2 form 1 sectors to allow performance testing in conjunction with option --speed. new: - toc2cddb: translates a TOC file into a cddb file. (Giuseppe Corbelli) new: - cue2toc: convert CUE to TOC format for audio CDs. (Matthias Czapla) <snip> Note: The 1.1.8 tarball was re-rolled twice because of missing files and a show-stopper in gcdmaster and some SourceForge mirrors still might need to catch up on it. If you have problems with differing checksums please fetch from ftp://us.dl.sourceforge.net/pub/sourceforge/cdrdao, which is known to carry the latest version. - Use/respect DATADIR and DOCSDIR. - Make PREFIX-clean by respecting PREFIX instead of LOCALBASE. - First part of splitting gcdmaster into a slave port because the conditional compilation via HAVE_GNOME caused problems when gnomelibs where installed afterwards (PR 61840). - Tidy the PORTDOCS a bit, e.g. no longer install the release notes for previous releases, they are easily accessible on the homepage anyway. - On deinstall, remind the user to delete the global config file if existent and permanently removing this port. - In pkg-descr, mention that cdrdao also handles the bin/cue format. Wording taken from the Debian cdrdao package. - Fix some references in the cdrdao manpage to fit FreeBSD. - Remove the WITH_PTHREADS knob, it was never very usefull on FreeBSD. - Remove the WITHOUT_SCGLIB knob, the "native" CAM interface of cdrdao has issues with ATAPICAM and probably will be removed in future version. - Remove "-DBSD_SCSI_SENSE_BUG" from CFLAGS, for an explanation see sysutils/sformat/Makefile revision 1.5. Submitted by: maintainer
2004-02-18 15:56:10 +01:00
@${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.png \
${LOCALBASE}/share/pixmaps
- Update to 1.2.0. [1] <snip> Cdrdao changes: o SECURITY FIX: cdrdao now gives up its root privileges after setting up real-time scheduling, as well as before saving settings through the --save option. This fixes a potential local root exploit when cdrdao is installed with the +s chmod flag. Using --save now also forces an early exit after the settings are saved. o Added MP3 and Ogg Vorbis file support (through respectively the libmad and libvorbis libraries). cdrdao will decode the MP3 and Ogg files into temporary WAV files that will be deleted upon exit (unless the new option --keep is used). The directory used to store those temporary WAV files can be specified with the --tmpdir option (default is /tmp). o Improved native CUE file support: replaced old incomplete existing parser with the one from Matthias Czapla's excellent cue2toc. Added support for cutting binary files. o Added --rspeed option to manually set the device reading speed. Be warned not all devices support this. o Packaged scsilib library upgraded from cdrtools 2.01 (previously was from 2.01a31). o Added --no-mode2-mixed option. Don't read a MODE2 disk as MODE2_FORM_MIXED, only read MODE2_FORM1 or MODE2_FORM2 (Matthieu Castet). o Added help for little-known drive-info command. GCDMaster changes: o MP3 and Ogg Vorbis support: you can drag and drop .mp3, .m3u and .ogg files from Nautilus into the sample display window. o Switched to gtkmm24 API. Improved file browsers. o CUE files support. o Sound output now uses libao library. o Added 'Select All' item in menu. o Added 'Eject' button to progress dialog. o Bug fixes (sample selection weirdness, couldn't close window during play, problems with gcdmaster command-line argument, crashes with multiple project windows, drive status not reported correctly). <snip> Note that the FreeBSD ports doesn't install cdrdao setuid root so you are not vulnerable by default. - Fix building on FreeBSD 7. - Turn on the usage of mlockall(2) again as it no longer causes negative side effects on FreeBSD >= 502113. Requested by: will [1] Approved by: portmgr (linimon) Security: http://vuxml.freebsd.org/d51a7e6e-c546-11d9-9aed-000e0c2e438a.html
2005-08-12 18:20:44 +02:00
@${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.xml \
${LOCALBASE}/share/mime/packages
- Update to 1.2.0. [1] <snip> Cdrdao changes: o SECURITY FIX: cdrdao now gives up its root privileges after setting up real-time scheduling, as well as before saving settings through the --save option. This fixes a potential local root exploit when cdrdao is installed with the +s chmod flag. Using --save now also forces an early exit after the settings are saved. o Added MP3 and Ogg Vorbis file support (through respectively the libmad and libvorbis libraries). cdrdao will decode the MP3 and Ogg files into temporary WAV files that will be deleted upon exit (unless the new option --keep is used). The directory used to store those temporary WAV files can be specified with the --tmpdir option (default is /tmp). o Improved native CUE file support: replaced old incomplete existing parser with the one from Matthias Czapla's excellent cue2toc. Added support for cutting binary files. o Added --rspeed option to manually set the device reading speed. Be warned not all devices support this. o Packaged scsilib library upgraded from cdrtools 2.01 (previously was from 2.01a31). o Added --no-mode2-mixed option. Don't read a MODE2 disk as MODE2_FORM_MIXED, only read MODE2_FORM1 or MODE2_FORM2 (Matthieu Castet). o Added help for little-known drive-info command. GCDMaster changes: o MP3 and Ogg Vorbis support: you can drag and drop .mp3, .m3u and .ogg files from Nautilus into the sample display window. o Switched to gtkmm24 API. Improved file browsers. o CUE files support. o Sound output now uses libao library. o Added 'Select All' item in menu. o Added 'Eject' button to progress dialog. o Bug fixes (sample selection weirdness, couldn't close window during play, problems with gcdmaster command-line argument, crashes with multiple project windows, drive status not reported correctly). <snip> Note that the FreeBSD ports doesn't install cdrdao setuid root so you are not vulnerable by default. - Fix building on FreeBSD 7. - Turn on the usage of mlockall(2) again as it no longer causes negative side effects on FreeBSD >= 502113. Requested by: will [1] Approved by: portmgr (linimon) Security: http://vuxml.freebsd.org/d51a7e6e-c546-11d9-9aed-000e0c2e438a.html
2005-08-12 18:20:44 +02:00
@${MKDIR} ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/xdao/glade/ProjectChooser.glade ${DATADIR}
- Update to 1.1.8. Relevant parts from the release notes: <snip> - Improved performance of the new L-EC code by up to a factor 2 depending on the hardware. - 'read-test' runs L-EC encoder over mode 1 or mode 2 form 1 sectors to allow performance testing in conjunction with option --speed. new: - toc2cddb: translates a TOC file into a cddb file. (Giuseppe Corbelli) new: - cue2toc: convert CUE to TOC format for audio CDs. (Matthias Czapla) <snip> Note: The 1.1.8 tarball was re-rolled twice because of missing files and a show-stopper in gcdmaster and some SourceForge mirrors still might need to catch up on it. If you have problems with differing checksums please fetch from ftp://us.dl.sourceforge.net/pub/sourceforge/cdrdao, which is known to carry the latest version. - Use/respect DATADIR and DOCSDIR. - Make PREFIX-clean by respecting PREFIX instead of LOCALBASE. - First part of splitting gcdmaster into a slave port because the conditional compilation via HAVE_GNOME caused problems when gnomelibs where installed afterwards (PR 61840). - Tidy the PORTDOCS a bit, e.g. no longer install the release notes for previous releases, they are easily accessible on the homepage anyway. - On deinstall, remind the user to delete the global config file if existent and permanently removing this port. - In pkg-descr, mention that cdrdao also handles the bin/cue format. Wording taken from the Debian cdrdao package. - Fix some references in the cdrdao manpage to fit FreeBSD. - Remove the WITH_PTHREADS knob, it was never very usefull on FreeBSD. - Remove the WITHOUT_SCGLIB knob, the "native" CAM interface of cdrdao has issues with ATAPICAM and probably will be removed in future version. - Remove "-DBSD_SCSI_SENSE_BUG" from CFLAGS, for an explanation see sysutils/sformat/Makefile revision 1.5. Submitted by: maintainer
2004-02-18 15:56:10 +01:00
.else
From the submitter: - Don't default to '-O2' when compiling the cdparanoia-lib but respect CFLAGS, this should work around the generation of broken code with GCC and an optimazation-level greater than 1. - Fix a bug in the cdparanoia-lib that can cause problems on some !386. - Remove the unneeded usage of what seems to be an extension of G++, i.e. arguments to the constructor when allocating an array of objects with new, fixes compilation with compilers stricter obeying the standards. - Always symlink ${MACHINE_ARCH}-freebsd-cc.rul to the i386-version on !i386 in the RULES-directory of scglib to be consistent with sysutils/cdrtools, cdrdao also should compile and work on any platform with the fixes above. - hier(7) the location of the global cdrdao.etc to LOCALBASE/etc/cdrdao.conf. - Make the gcdmaster gnome-frontend compile with GCC3, use HAVE_GOME-magic to build it. - Clean up some stuff. NOTE: Gcdmaster has a very obvious bug, if one creates a new audio-CD by "New Audio CD project" -> "Edit" -> "Append Track" (select audio-file) it will get the length of the track wrong, display a garbage waveform and play nothing when hitting the play-button, same for further added tracks. This can be worked around by saving the project and re-opening it, now appending further tracks also works and the burnt CD is fine. This is _not_ a bug of this port but a bug in gcdmaster itself and is totally reproducable on Linux, therefore please don't mail the maintainer of this port about it expect you have a fix, thanks. Submitted by: maintainer
2003-01-02 16:53:38 +01:00
@${INSTALL_PROGRAM} ${WRKSRC}/dao/cdrdao ${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/dao/cdrdao.man ${PREFIX}/man/man1/cdrdao.1
- Update to 1.1.8. Relevant parts from the release notes: <snip> - Improved performance of the new L-EC code by up to a factor 2 depending on the hardware. - 'read-test' runs L-EC encoder over mode 1 or mode 2 form 1 sectors to allow performance testing in conjunction with option --speed. new: - toc2cddb: translates a TOC file into a cddb file. (Giuseppe Corbelli) new: - cue2toc: convert CUE to TOC format for audio CDs. (Matthias Czapla) <snip> Note: The 1.1.8 tarball was re-rolled twice because of missing files and a show-stopper in gcdmaster and some SourceForge mirrors still might need to catch up on it. If you have problems with differing checksums please fetch from ftp://us.dl.sourceforge.net/pub/sourceforge/cdrdao, which is known to carry the latest version. - Use/respect DATADIR and DOCSDIR. - Make PREFIX-clean by respecting PREFIX instead of LOCALBASE. - First part of splitting gcdmaster into a slave port because the conditional compilation via HAVE_GNOME caused problems when gnomelibs where installed afterwards (PR 61840). - Tidy the PORTDOCS a bit, e.g. no longer install the release notes for previous releases, they are easily accessible on the homepage anyway. - On deinstall, remind the user to delete the global config file if existent and permanently removing this port. - In pkg-descr, mention that cdrdao also handles the bin/cue format. Wording taken from the Debian cdrdao package. - Fix some references in the cdrdao manpage to fit FreeBSD. - Remove the WITH_PTHREADS knob, it was never very usefull on FreeBSD. - Remove the WITHOUT_SCGLIB knob, the "native" CAM interface of cdrdao has issues with ATAPICAM and probably will be removed in future version. - Remove "-DBSD_SCSI_SENSE_BUG" from CFLAGS, for an explanation see sysutils/sformat/Makefile revision 1.5. Submitted by: maintainer
2004-02-18 15:56:10 +01:00
@${INSTALL_PROGRAM} ${WRKSRC}/utils/cue2toc ${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/utils/cue2toc.1 ${PREFIX}/man/man1
@${INSTALL_PROGRAM} ${WRKSRC}/utils/toc2cddb ${PREFIX}/bin
From the submitter: - Don't default to '-O2' when compiling the cdparanoia-lib but respect CFLAGS, this should work around the generation of broken code with GCC and an optimazation-level greater than 1. - Fix a bug in the cdparanoia-lib that can cause problems on some !386. - Remove the unneeded usage of what seems to be an extension of G++, i.e. arguments to the constructor when allocating an array of objects with new, fixes compilation with compilers stricter obeying the standards. - Always symlink ${MACHINE_ARCH}-freebsd-cc.rul to the i386-version on !i386 in the RULES-directory of scglib to be consistent with sysutils/cdrtools, cdrdao also should compile and work on any platform with the fixes above. - hier(7) the location of the global cdrdao.etc to LOCALBASE/etc/cdrdao.conf. - Make the gcdmaster gnome-frontend compile with GCC3, use HAVE_GOME-magic to build it. - Clean up some stuff. NOTE: Gcdmaster has a very obvious bug, if one creates a new audio-CD by "New Audio CD project" -> "Edit" -> "Append Track" (select audio-file) it will get the length of the track wrong, display a garbage waveform and play nothing when hitting the play-button, same for further added tracks. This can be worked around by saving the project and re-opening it, now appending further tracks also works and the burnt CD is fine. This is _not_ a bug of this port but a bug in gcdmaster itself and is totally reproducable on Linux, therefore please don't mail the maintainer of this port about it expect you have a fix, thanks. Submitted by: maintainer
2003-01-02 16:53:38 +01:00
@${INSTALL_PROGRAM} ${WRKSRC}/utils/toc2cue ${PREFIX}/bin
- give maintainership from ports to submitter From submitter: - Remove the devel/pccts BUILD_DEPENDS, there's no need to depend on it as cdrdao ships it's own version (but use the pccts-port if it happens to be installed in order to speed up things). - Add a knob to build toc2mp3 (a tool encode an audio cd-image to a set of mp3 files, see Release-1.1.6), makes this port depend on audio/lame. - Use the FreeBSD INSTALL-macros to install the 4 (5 when building toc2mp3) files that are not yet installed by them, much faster than going through the whole makfile-tree. - Don't install extra documentation when NOPORTDOCS is defined (pkg-plist was already correct). - Remove pkg-message, POSIX scheduling is part of the GENERIC kernel since FreeBSD 4.0-RELEASE and it's options are different for 3-stable, 4-stable and 5.0-current. Therefore it's ugly to explain for what options to check on what FreeBSD-version. Don't install README.FreeBSD for the same reason. - Don't copy a getopt.h to ${WRKSRC}/utils, it's neither required nor gets picked up. - Respect PTHREAD_LIBS, respect CC/CFLAGS when compiling Joerg Schiling's SCSI library (the later is recycled sysutils/cdrtools/files/patch-ad). - Don't build librscg and rscsi (remote-scsi) of the SCSI library, they aren't required by cdrdao and the later fails to link anyway because _somewhere_ in the makefile-tree libcam no longer gets passed forward in $SCSILIB. - Fix compilation on 5.0-current. - Add support for FreeBSD/sparc64. Submitted by: marius@alchemy.franken.de
2002-11-13 15:05:31 +01:00
@${MKDIR} ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/dao/cdrdao.drivers ${DATADIR}/drivers
From the submitter: - Don't default to '-O2' when compiling the cdparanoia-lib but respect CFLAGS, this should work around the generation of broken code with GCC and an optimazation-level greater than 1. - Fix a bug in the cdparanoia-lib that can cause problems on some !386. - Remove the unneeded usage of what seems to be an extension of G++, i.e. arguments to the constructor when allocating an array of objects with new, fixes compilation with compilers stricter obeying the standards. - Always symlink ${MACHINE_ARCH}-freebsd-cc.rul to the i386-version on !i386 in the RULES-directory of scglib to be consistent with sysutils/cdrtools, cdrdao also should compile and work on any platform with the fixes above. - hier(7) the location of the global cdrdao.etc to LOCALBASE/etc/cdrdao.conf. - Make the gcdmaster gnome-frontend compile with GCC3, use HAVE_GOME-magic to build it. - Clean up some stuff. NOTE: Gcdmaster has a very obvious bug, if one creates a new audio-CD by "New Audio CD project" -> "Edit" -> "Append Track" (select audio-file) it will get the length of the track wrong, display a garbage waveform and play nothing when hitting the play-button, same for further added tracks. This can be worked around by saving the project and re-opening it, now appending further tracks also works and the burnt CD is fine. This is _not_ a bug of this port but a bug in gcdmaster itself and is totally reproducable on Linux, therefore please don't mail the maintainer of this port about it expect you have a fix, thanks. Submitted by: maintainer
2003-01-02 16:53:38 +01:00
.if defined(WITH_TOC2MP3)
@${INSTALL_PROGRAM} ${WRKSRC}/utils/toc2mp3 ${PREFIX}/bin
.endif
- give maintainership from ports to submitter From submitter: - Remove the devel/pccts BUILD_DEPENDS, there's no need to depend on it as cdrdao ships it's own version (but use the pccts-port if it happens to be installed in order to speed up things). - Add a knob to build toc2mp3 (a tool encode an audio cd-image to a set of mp3 files, see Release-1.1.6), makes this port depend on audio/lame. - Use the FreeBSD INSTALL-macros to install the 4 (5 when building toc2mp3) files that are not yet installed by them, much faster than going through the whole makfile-tree. - Don't install extra documentation when NOPORTDOCS is defined (pkg-plist was already correct). - Remove pkg-message, POSIX scheduling is part of the GENERIC kernel since FreeBSD 4.0-RELEASE and it's options are different for 3-stable, 4-stable and 5.0-current. Therefore it's ugly to explain for what options to check on what FreeBSD-version. Don't install README.FreeBSD for the same reason. - Don't copy a getopt.h to ${WRKSRC}/utils, it's neither required nor gets picked up. - Respect PTHREAD_LIBS, respect CC/CFLAGS when compiling Joerg Schiling's SCSI library (the later is recycled sysutils/cdrtools/files/patch-ad). - Don't build librscg and rscsi (remote-scsi) of the SCSI library, they aren't required by cdrdao and the later fails to link anyway because _somewhere_ in the makefile-tree libcam no longer gets passed forward in $SCSILIB. - Fix compilation on 5.0-current. - Add support for FreeBSD/sparc64. Submitted by: marius@alchemy.franken.de
2002-11-13 15:05:31 +01:00
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- Update to 1.2.0. [1] <snip> Cdrdao changes: o SECURITY FIX: cdrdao now gives up its root privileges after setting up real-time scheduling, as well as before saving settings through the --save option. This fixes a potential local root exploit when cdrdao is installed with the +s chmod flag. Using --save now also forces an early exit after the settings are saved. o Added MP3 and Ogg Vorbis file support (through respectively the libmad and libvorbis libraries). cdrdao will decode the MP3 and Ogg files into temporary WAV files that will be deleted upon exit (unless the new option --keep is used). The directory used to store those temporary WAV files can be specified with the --tmpdir option (default is /tmp). o Improved native CUE file support: replaced old incomplete existing parser with the one from Matthias Czapla's excellent cue2toc. Added support for cutting binary files. o Added --rspeed option to manually set the device reading speed. Be warned not all devices support this. o Packaged scsilib library upgraded from cdrtools 2.01 (previously was from 2.01a31). o Added --no-mode2-mixed option. Don't read a MODE2 disk as MODE2_FORM_MIXED, only read MODE2_FORM1 or MODE2_FORM2 (Matthieu Castet). o Added help for little-known drive-info command. GCDMaster changes: o MP3 and Ogg Vorbis support: you can drag and drop .mp3, .m3u and .ogg files from Nautilus into the sample display window. o Switched to gtkmm24 API. Improved file browsers. o CUE files support. o Sound output now uses libao library. o Added 'Select All' item in menu. o Added 'Eject' button to progress dialog. o Bug fixes (sample selection weirdness, couldn't close window during play, problems with gcdmaster command-line argument, crashes with multiple project windows, drive status not reported correctly). <snip> Note that the FreeBSD ports doesn't install cdrdao setuid root so you are not vulnerable by default. - Fix building on FreeBSD 7. - Turn on the usage of mlockall(2) again as it no longer causes negative side effects on FreeBSD >= 502113. Requested by: will [1] Approved by: portmgr (linimon) Security: http://vuxml.freebsd.org/d51a7e6e-c546-11d9-9aed-000e0c2e438a.html
2005-08-12 18:20:44 +02:00
.for i in CREDITS ChangeLog README README.PlexDAE
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
- give maintainership from ports to submitter From submitter: - Remove the devel/pccts BUILD_DEPENDS, there's no need to depend on it as cdrdao ships it's own version (but use the pccts-port if it happens to be installed in order to speed up things). - Add a knob to build toc2mp3 (a tool encode an audio cd-image to a set of mp3 files, see Release-1.1.6), makes this port depend on audio/lame. - Use the FreeBSD INSTALL-macros to install the 4 (5 when building toc2mp3) files that are not yet installed by them, much faster than going through the whole makfile-tree. - Don't install extra documentation when NOPORTDOCS is defined (pkg-plist was already correct). - Remove pkg-message, POSIX scheduling is part of the GENERIC kernel since FreeBSD 4.0-RELEASE and it's options are different for 3-stable, 4-stable and 5.0-current. Therefore it's ugly to explain for what options to check on what FreeBSD-version. Don't install README.FreeBSD for the same reason. - Don't copy a getopt.h to ${WRKSRC}/utils, it's neither required nor gets picked up. - Respect PTHREAD_LIBS, respect CC/CFLAGS when compiling Joerg Schiling's SCSI library (the later is recycled sysutils/cdrtools/files/patch-ad). - Don't build librscg and rscsi (remote-scsi) of the SCSI library, they aren't required by cdrdao and the later fails to link anyway because _somewhere_ in the makefile-tree libcam no longer gets passed forward in $SCSILIB. - Fix compilation on 5.0-current. - Add support for FreeBSD/sparc64. Submitted by: marius@alchemy.franken.de
2002-11-13 15:05:31 +01:00
.endif
- Update to 1.1.8. Relevant parts from the release notes: <snip> - Improved performance of the new L-EC code by up to a factor 2 depending on the hardware. - 'read-test' runs L-EC encoder over mode 1 or mode 2 form 1 sectors to allow performance testing in conjunction with option --speed. new: - toc2cddb: translates a TOC file into a cddb file. (Giuseppe Corbelli) new: - cue2toc: convert CUE to TOC format for audio CDs. (Matthias Czapla) <snip> Note: The 1.1.8 tarball was re-rolled twice because of missing files and a show-stopper in gcdmaster and some SourceForge mirrors still might need to catch up on it. If you have problems with differing checksums please fetch from ftp://us.dl.sourceforge.net/pub/sourceforge/cdrdao, which is known to carry the latest version. - Use/respect DATADIR and DOCSDIR. - Make PREFIX-clean by respecting PREFIX instead of LOCALBASE. - First part of splitting gcdmaster into a slave port because the conditional compilation via HAVE_GNOME caused problems when gnomelibs where installed afterwards (PR 61840). - Tidy the PORTDOCS a bit, e.g. no longer install the release notes for previous releases, they are easily accessible on the homepage anyway. - On deinstall, remind the user to delete the global config file if existent and permanently removing this port. - In pkg-descr, mention that cdrdao also handles the bin/cue format. Wording taken from the Debian cdrdao package. - Fix some references in the cdrdao manpage to fit FreeBSD. - Remove the WITH_PTHREADS knob, it was never very usefull on FreeBSD. - Remove the WITHOUT_SCGLIB knob, the "native" CAM interface of cdrdao has issues with ATAPICAM and probably will be removed in future version. - Remove "-DBSD_SCSI_SENSE_BUG" from CFLAGS, for an explanation see sysutils/sformat/Makefile revision 1.5. Submitted by: maintainer
2004-02-18 15:56:10 +01:00
.endif
.include <bsd.port.post.mk>