head 1.6; access; symbols pkgsrc-2026Q1:1.6.0.66 pkgsrc-2026Q1-base:1.6 pkgsrc-2025Q4:1.6.0.64 pkgsrc-2025Q4-base:1.6 pkgsrc-2025Q3:1.6.0.62 pkgsrc-2025Q3-base:1.6 pkgsrc-2025Q2:1.6.0.60 pkgsrc-2025Q2-base:1.6 pkgsrc-2025Q1:1.6.0.58 pkgsrc-2025Q1-base:1.6 pkgsrc-2024Q4:1.6.0.56 pkgsrc-2024Q4-base:1.6 pkgsrc-2024Q3:1.6.0.54 pkgsrc-2024Q3-base:1.6 pkgsrc-2024Q2:1.6.0.52 pkgsrc-2024Q2-base:1.6 pkgsrc-2024Q1:1.6.0.50 pkgsrc-2024Q1-base:1.6 pkgsrc-2023Q4:1.6.0.48 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.46 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.44 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.42 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.40 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.6.0.38 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.6.0.36 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.34 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.32 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.30 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.28 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.26 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.6.0.24 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.6.0.22 pkgsrc-2020Q3-base:1.6 pkgsrc-2020Q2:1.6.0.20 pkgsrc-2020Q2-base:1.6 pkgsrc-2020Q1:1.6.0.16 pkgsrc-2020Q1-base:1.6 pkgsrc-2019Q4:1.6.0.18 pkgsrc-2019Q4-base:1.6 pkgsrc-2019Q3:1.6.0.14 pkgsrc-2019Q3-base:1.6 pkgsrc-2019Q2:1.6.0.12 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.6.0.10 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.8 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.6 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.4 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.2 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.5.0.74 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.72 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.68 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.66 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.64 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.62 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.60 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.58 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.56 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.54 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.52 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.50 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.48 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.46 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.44 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.42 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.40 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.38 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.36 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.34 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.32 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.30 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.28 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.26 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.24 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.22 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.20 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.18 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.16 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.14 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.12 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.10 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.8 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.6 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.4 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.2 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.4.0.46 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.44 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.42 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.40 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.38 pkgsrc-2008Q1:1.4.0.36 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.34 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.32 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.30 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.28 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.26 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.24 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.22 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.20 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.18 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.16 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.3.0.2 netbsd-1-6-1-base:1.3 netbsd-1-6:1.1.0.8 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.0.4 pkgviews-base:1.1 buildlink2:1.1.0.2 buildlink2-base:1.1 netbsd-1-5-PATCH003:1.1 netbsd-1-5-PATCH001:1.1; locks; strict; comment @# @; 1.6 date 2018.03.17.09.09.12; author tnn; state Exp; branches; next 1.5; commitid m1C39dSu8lUB4NuA; 1.5 date 2009.02.11.21.48.39; author shattered; state Exp; branches; next 1.4; 1.4 date 2003.06.05.16.15.48; author drochner; state Exp; branches; next 1.3; 1.3 date 2002.12.02.20.29.49; author drochner; state Exp; branches; next 1.2; 1.2 date 2002.09.26.12.29.56; author jlam; state Exp; branches; next 1.1; 1.1 date 2001.03.10.10.31.34; author drochner; state Exp; branches; next ; desc @@ 1.6 log @xcdroast: update to 1.18 23.12.17: * RELEASED X-CD-Roast 1.18 * Bugfix in configure script 22.12.17: * RELEASED X-CD-Roast 1.17 14.12.17: * Update desktop icon 29.10.17: * Fix crash when deleting exactly 50 or a multiple of 50 tracks. 08.10.17: * Change code to use g_io_channels. (Prepare for GTK3) 07.10.17: * More GTK3 migration. * Remove of Mac OS X code since there have been no working cdrtools for more than a decade and thus X-CD-Roast cannot be programmed for OS X. 01.10.17: * Rewrite child processing. 17.09.17: * More GTK3 migration. 03.09.17: * Rewrite dialog window placement. 20.08.17: * Modernize code to display the xcdroast logo (cairo instead of pixbuf). Also improve the logo quality. * Add About-dialog. 23.07.17: by Mathias Büttner: * Disabled the write mode selector for DVD (and BD) media in "Create" and in "Duplicate" menu. * Disabled "Do not fixate" for multisession writes (not just a warning). * Added fixed settings for nofixate and multisession in "Duplicate" menu as they can't be changed there. * Updated write mode settings and write options for cdrecord. * Fixed displaying wrong Disc size if no Audio CD or Mixed Mode CD. * Added notification if CD-Text will not be written. * Placed a small logo on top of the sidespace buttons. * Amended some of the old tooltips. 30.06.17: * All terms talking about a CD (Compact Disc) are changed simply to the word Disc or CD/DVD/BD where meaningful. (by Mathias Büttner) 17.06.17: * Resized Dialog windows 14.06.17: * Removed checks for older cdrecord features 05.06.17: * Replaced all GtkText by GtkTextView (modernize design) 04.06.17: * Convert all translation files to UTF-8 31.05.17: * Replace GtkFileSelection by GtkFileChooser (modernize design) 19.05.17: * Code cleanup/formatting by Mathias Büttner 06.05.17: * rename non-root-mode to user-host-mode, as we now always allow non-root users to start X-CD-Roast. The user-host-mode just allows to configure which user on which host can use X-CD-Roast. (e.g. for computer science labs or server installations) 01.05.17: * detect the suid-bit settings on the cdrtools or the X-CD-Roast wrapper and offer a dialog to fix this automatically 26.04.17: * Changed JEDEC prefixes to decimal and binary prefixes according to IEC 60027-2 (January 1999) to avoid confusion. (by Mathias Büttner) 17.04.17: * Paranoia mode: auto setup of lowest read ahead buffer for each drive when scanning for new devices (by Mathias Büttner) 16.04.17: * wrong cdrtool versions are now reported in a dialog window (not just as a warning in the terminal) * set suid bit on xcdrwrap on 'make install' 15.04.17: * Fix various gdk-assertion failures * Fix resize of Read/Write progress window 09.04.17: * Added new checkbox "audio deemphasis" (by Mathias Büttner) 04.04.17: * Updated gettext to 0.19.7 * Updated to autoconf 2.69 * Update to autmake 1.14.1 * use cddb protocol 6 instead of 1, this fixes also charset problems 03.04.17: * Compile by default without non-root-mode. Currently I rely on that the cdrtools have the suid bit already set. * charset conversion from ISO8859-1 to UTF-8 on Album or Track titles. 02.04.17: * merged in all patches I received and published on my webpage since X-CD-Roast 0.98alpha16. - Many thanks to all contributors! (parse_version.patch, change_norwegian_locale.txt, io_compile.patch, cdda2wav_version.patch, fix_cddb_hidden_tracks.patch, io_progressbar _fix.patch, format-security.patch, suid-perms.patch) * removed --enable-gtk2 option, this is enabled by default now. * Renamed norwegian translation file from "no" to "nb". * Updated galician translation. 01.04.17: * Lots of input and patches and motivation for an updated xcdroast version by Mathias Büttner from southwestern Germany: * updated CD/DVD writer/reader default settings in setup menu. * removed the outdated slider "sectorburst" and added instead "size of read ahead buffer" and "minimum overlap of sectors" for paranoia mode in the setup menu. * added new checkbox "suppress a hidden audio track" * fixed info output and track increment in GTK-window 'Reading audio tracks' for cdda2wav in paranoia mode. * changed cdrtools version check to allow only v3.02a09 or higher because v3.00a01 - v3.02a07 contain a bug and v2.01 is very outdated and may even not compile nowadays. * fixed xcdroast's mkisofs version detection since v3.02a01. * changed german translation to new orthography. @ text @$NetBSD$ --- src/wavplay.c.orig 2017-11-15 17:56:45.000000000 +0000 +++ src/wavplay.c @@@@ -39,6 +39,14 @@@@ #include #include #include +#ifdef __NetBSD__ +#include +# ifdef HAVE_OSS +# include +# else +# include +# endif +#endif #if defined(linux) || defined(__CYGWIN32__) # include #endif @@@@ -82,8 +90,8 @@@@ gint read_line(gint fd, gchar *ptr, gint off_t is_std_wav_file(int f, off_t *offset); -#if defined(linux) || defined(__FreeBSD__) -#define DEFAULT_AUDIO_DEVICE "/dev/dsp" +#if defined(linux) || defined(__FreeBSD__) || (defined(__NetBSD__) && defined(HAVE_OSS)) +#define DEFAULT_AUDIO_DEVICE "@@DEVOSSAUDIO@@" #elif defined (aix) #define DEFAULT_AUDIO_DEVICE "" #elif defined(__sgi) @@@@ -95,7 +103,7 @@@@ off_t is_std_wav_file(int f, off_t *offs #define DEFAULT_BUFFER_SIZE 22050 -#if defined(linux) || defined(__FreeBSD__) +#if defined(linux) || defined(__FreeBSD__) || (defined(__NetBSD__) && defined(HAVE_OSS)) /* * open the sound-device of linux and set cd-quality @@@@ -147,7 +155,8 @@@@ gint flags; #endif -#if defined(sun) || defined(__OpenBSD__) +#if defined(sun) || defined(__OpenBSD__) || (defined(__NetBSD__) && !defined(HAVE_OSS)) + /* * open the sound-device of solaris and set cd-quality @@@@ -175,7 +184,7 @@@@ gint flags; info.play.precision = 16; info.play.encoding = AUDIO_ENCODING_LINEAR; info.play.buffer_size = abuf_size; -#ifndef __OpenBSD__ +#if !defined(__OpenBSD__) && !defined(__NetBSD__) info.output_muted = 0; #endif @@@@ -579,10 +588,10 @@@@ gchar keybuffer[MAXLINE]; /* the open sets also the global abuf_size-variable */ -#if defined(linux) || defined(__FreeBSD__) +#if defined(linux) || defined(__FreeBSD__) || (defined(__NetBSD__) && defined(HAVE_OSS)) audio = open_linux_audio(audio_dev); #endif -#if defined(sun) || defined(__OpenBSD__) +#if defined(sun) || defined(__OpenBSD__) || (defined(__NetBSD__) && !defined(HAVE_OSS)) audio = open_solaris_audio(audio_dev); #endif #ifdef aix @ 1.5 log @Update to 0.98alpha16 (plus parse_version.patch). Changes: * merged in all patches (compile warnings fixes, locale fixes, wav detection fixes, removed pcre dependency from configure, crash fixes and version detection fixes) * merged in several of the patches RedHat created for RPM version. * improved current cdrtools support. * removed extra handling for ProDVD, as this is all now integrated into the current cdrecord without any need for a key. * updated several translations. Fixes PR 38238. OK by wiz@@. @ text @d3 1 a3 1 --- src/wavplay.c.orig 2008-08-20 15:34:02.000000000 +0000 d5 1 a5 1 @@@@ -23,6 +23,14 @@@@ d20 1 a20 1 @@@@ -72,8 +80,8 @@@@ gint read_line(gint fd, gchar *ptr, gint d31 2 a32 2 @@@@ -309,7 +317,7 @@@@ int audio_write( void *buffer, int buf_s #endif d38 3 a40 3 /* open the sound-device of linux and set cd-quality */ @@@@ -360,7 +368,7 @@@@ gint flags; d46 1 d48 3 a50 3 /* open the sound-device of solaris and set cd-quality */ @@@@ -387,7 +395,7 @@@@ gint flags; d59 1 a59 1 @@@@ -787,10 +795,10 @@@@ gchar keybuffer[MAXLINE]; @ 1.4 log @update to 0.98a14 changes: full drag&drop support (rearrange tracks or add files to master from KDE/Gnome). completely new non-root-mode which does not require any group or a change of modes on the cdrtools. complete rewrite of internal device handling. Up to 64 devices can be independently configured and used. Devices are no longer scanned at each startup, support for remote-scsi (networked devices), Linux kernel-2.5.x devices and any other cdrecord supports. improved Mac OS X support with automatic autodiskmount daemon handling. support copy of audio-CDs on-the-fly. save window positions and sizes. display progress of reading/writing in window title. even more integration of cdrecord-ProDVD. Full support of DVD-R/RW and DVD+R/RW with newest ProDVD-versions. added greek and ukrainian translations, updated most others. a helpful HTML-manual in doc/manual (online: http://www.xcdroast.org/manual) numerous usage improvements and bug fixes. @ text @d3 2 a4 2 --- src/wavplay.c.orig 2003-04-22 22:28:05.000000000 +0200 +++ src/wavplay.c 2003-06-04 13:32:27.000000000 +0200 d20 2 a21 2 @@@@ -73,8 +81,8 @@@@ gint is_in_cd_quality(guchar *hdr); d31 1 a31 1 @@@@ -310,7 +318,7 @@@@ d40 1 a40 1 @@@@ -361,7 +369,7 @@@@ d49 1 a49 1 @@@@ -388,7 +396,7 @@@@ d58 1 a58 1 @@@@ -789,10 +797,10 @@@@ @ 1.3 log @update to 0.98alpha11. There is a major restructuring of the sources, more than to be expected from the subminor version change. Still needs some finetuning... Most notable change: multisession support. @ text @d3 3 a5 3 --- src/wavplay.c.orig Mon Dec 2 20:48:24 2002 +++ src/wavplay.c Mon Dec 2 20:52:36 2002 @@@@ -19,6 +19,14 @@@@ d20 3 a22 3 @@@@ -64,8 +72,8 @@@@ gint abuf_size; guchar *audiobuf; d30 2 a31 2 #else @@@@ -299,7 +307,7 @@@@ d40 1 a40 1 @@@@ -350,7 +358,7 @@@@ d49 1 a49 1 @@@@ -377,7 +385,7 @@@@ d58 1 a58 1 @@@@ -678,10 +686,10 @@@@ @ 1.2 log @* Use buildlink2. * Install some documentation. * Honor PKG_SYSCONFDIR (and warn user that the config file directory may have changed). * Allow for compiling with OSS support on NetBSD, though it is currently commented out. @ text @d3 3 a5 3 --- wavplay.c.orig Tue Jul 17 12:39:14 2001 +++ wavplay.c @@@@ -14,6 +14,14 @@@@ d18 1 a18 1 #include d20 1 a20 10 @@@@ -22,7 +30,7 @@@@ #include #include #endif -#ifdef sun +#if defined(sun) || (defined(__NetBSD__) && !defined(HAVE_OSS)) #include #endif #ifdef hpux @@@@ -48,8 +56,8 @@@@ guchar waveHdr[44]; d22 1 a22 1 gchar *audiobuf; d31 2 a32 2 @@@@ -59,7 +67,7 @@@@ gchar *audiobuf; #define DEFAULT_BUFFER_SIZE 32768 d40 1 a40 1 @@@@ -110,7 +118,7 @@@@ gint flags; d44 2 a45 2 -#ifdef sun +#if defined(sun) || (defined(__NetBSD__) && !defined(HAVE_OSS)) d49 1 a49 1 @@@@ -137,7 +145,9 @@@@ gint flags; d53 2 a54 1 +#ifndef __NetBSD__ d56 3 a58 1 +#endif d60 1 a60 4 if (ioctl(audio, AUDIO_SETINFO, &info) == -1) { g_warning("Unable to set audio parameters\n"); @@@@ -332,10 +342,10 @@@@ gchar tmpswap; } a61 1 /* this sets also the global abuf_size-variable */ d66 2 a67 2 -#ifdef sun +#if defined(sun) || (defined(__NetBSD__) && !defined(HAVE_OSS)) d70 1 a70 1 #ifdef hpux @ 1.1 log @make sample playing via /dev/audio work @ text @d3 18 a20 3 --- wavplay.c~ Sat Jul 15 16:47:44 2000 +++ wavplay.c Fri Mar 9 21:11:28 2001 @@@@ -22,7 +22,8 @@@@ d25 1 a25 2 +#if defined(sun) || defined(__NetBSD__) +#include d29 21 a49 1 @@@@ -100,7 +101,7 @@@@ d54 1 a54 1 +#if defined(sun) || defined(__NetBSD__) d58 1 a58 1 @@@@ -127,7 +128,9 @@@@ d68 6 a73 2 @@@@ -251,7 +254,7 @@@@ #if defined(linux) || defined(__FreeBSD__) d77 1 a77 1 +#if defined(sun) || defined(__NetBSD__) @