summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-01-20 21:08:45 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-01-20 21:08:45 +0000
commitb38cf64db25107f6ae8cec0555984a81ae9d7d35 (patch)
treea6b45618d62ff1f510361313218850d446ae1dcd /app-cdr/cdw
parentKeyword ~amd64-linux/~x86-linux (diff)
downloadgentoo-2-b38cf64db25107f6ae8cec0555984a81ae9d7d35.tar.gz
gentoo-2-b38cf64db25107f6ae8cec0555984a81ae9d7d35.tar.bz2
gentoo-2-b38cf64db25107f6ae8cec0555984a81ae9d7d35.zip
version bump
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'app-cdr/cdw')
-rw-r--r--app-cdr/cdw/ChangeLog8
-rw-r--r--app-cdr/cdw/cdw-0.3.95.ebuild36
-rw-r--r--app-cdr/cdw/files/cdw-0.3.95-asneeded.patch56
3 files changed, 99 insertions, 1 deletions
diff --git a/app-cdr/cdw/ChangeLog b/app-cdr/cdw/ChangeLog
index 4ebd2a2b609a..1867c1aee8ce 100644
--- a/app-cdr/cdw/ChangeLog
+++ b/app-cdr/cdw/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-cdr/cdw
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdw/ChangeLog,v 1.31 2010/01/20 20:31:34 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdw/ChangeLog,v 1.32 2010/01/20 21:08:44 mr_bones_ Exp $
+
+*cdw-0.3.95 (20 Jan 2010)
+
+ 20 Jan 2010; Michael Sterrett <mr_bones_@gentoo.org> +cdw-0.3.95.ebuild,
+ +files/cdw-0.3.95-asneeded.patch:
+ version bump
20 Jan 2010; Markus Meier <maekke@gentoo.org> cdw-0.3.94.ebuild:
x86 stable, bug #300004
diff --git a/app-cdr/cdw/cdw-0.3.95.ebuild b/app-cdr/cdw/cdw-0.3.95.ebuild
new file mode 100644
index 000000000000..0cf4716af90e
--- /dev/null
+++ b/app-cdr/cdw/cdw-0.3.95.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdw/cdw-0.3.95.ebuild,v 1.1 2010/01/20 21:08:45 mr_bones_ Exp $
+
+EAPI=2
+inherit autotools eutils
+
+MY_P=${PN}_${PV}
+DESCRIPTION="An ncurses based console frontend for cdrtools and dvd+rw-tools"
+HOMEPAGE="http://cdw.sourceforge.net"
+SRC_URI="mirror://sourceforge/cdw/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+RESTRICT="test" # testing code is broken
+
+DEPEND="virtual/cdrtools
+ app-cdr/dvd+rw-tools
+ dev-libs/libcdio[-minimal]
+ sys-libs/ncurses[unicode]"
+
+S=${WORKDIR}/${MY_P}/cdw
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-asneeded.patch
+ rm -f missing
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc AUTHORS ChangeLog NEWS THANKS \
+ doc/{KNOWN_BUGS,README*,default.conf}
+}
diff --git a/app-cdr/cdw/files/cdw-0.3.95-asneeded.patch b/app-cdr/cdw/files/cdw-0.3.95-asneeded.patch
new file mode 100644
index 000000000000..e2415a24b6b8
--- /dev/null
+++ b/app-cdr/cdw/files/cdw-0.3.95-asneeded.patch
@@ -0,0 +1,56 @@
+diff -ru cdw_0.3.95.orig/cdw/src/Makefile.am cdw_0.3.95/cdw/src/Makefile.am
+--- cdw_0.3.95.orig/cdw/src/Makefile.am 2010-01-17 10:29:33.000000000 -0500
++++ cdw_0.3.95/cdw/src/Makefile.am 2010-01-20 15:48:25.134474953 -0500
+@@ -1,7 +1,6 @@
+ # remove '#' in the line below to supress debug messages printed to stderr
+ AM_CPPFLAGS = -DNDEBUG
+
+-
+ # _FILE_OFFSET_BITS=64 - large file support (>2GB on 32-bit systems);
+ # this is unnecessary on 64-bit systems, but I had to add this
+ # after doing some basic tests on i386 machine; see sourceforge
+@@ -13,7 +12,6 @@
+ # be unable to operate on large files
+ AM_CDW_CPPFLAGS = -D _FILE_OFFSET_BITS=64
+
+-
+ # using C99 standard + gnu extensions; I don't use c99, because
+ # it may trigger problems caused by asm/byteorder.h, which is incuded
+ # by linux/cdrom.h header, which in turn is included by cdw_drive.h
+@@ -27,16 +25,11 @@
+ # strings like that: strcmp(some_string, "some string");
+ AM_CFLAGS_CDW_UNREACHABLE = -Wunreachable-code
+
+-
+-
+ AM_CFLAGS_CDW_RELEASE_BUILD = $(AM_CFLAGS_CDW_STD) -O2 $(AM_CDW_CPPFLAGS)
+ AM_CFLAGS_CDW_DEBUG_BUILD = $(AM_CFLAGS_CDW_STD) -g -O0 $(AM_CFLAGS_CDW_OTHER) $(AM_CFLAGS_CDW_FORMAT) $(AM_CFLAGS_CDW_DEBUG) $(AM_CFLAGS_CDW_PEDANTRY) $(AM_CFLAGS_CDW_UNREACHABLE) $(AM_CDW_CPPFLAGS)
+
+ AM_CFLAGS = $(AM_CFLAGS_CDW_RELEASE_BUILD)
+
+-AM_LDFLAGS = -lmenuw -lformw -lpanelw -lncursesw -lpthread -lcdio
+-
+-
+ # this lists the binaries to produce
+ bin_PROGRAMS = cdw
+ noinst_PROGRAMS = cdw_tests
+@@ -64,9 +57,11 @@
+
+ # this should include all source files except *_tests.c
+ cdw_SOURCES = $(cdw_base_sources) $(cdw_base_main)
++cdw_LDADD = -lmenuw -lformw -lpanelw -lncursesw -lpthread -lcdio -lm
+
+ # this should include all source files except main.c
+ cdw_tests_SOURCES = $(cdw_base_sources) $(cdw_test_sources) $(cdw_test_main)
++cdw_tests_LDADD = -lmenuw -lformw -lpanelw -lncursesw -lpthread -lcdio -lm
+
+ # all header files
+ noinst_HEADERS = blank_wizard.h cdda2wav.h cddb.h cdrecord_interface.h \
+@@ -84,7 +79,6 @@
+ cdw_fs_tests.h cdw_config_ui_internals.h pipe_regexp_tests.h cdw_dll.h \
+ cdw_dll_tests.h cdw_list_display.h cdw_file.h cdw_ncurses.h cdw_fs_browser.h
+
+-
+ # used by flymake
+ check-syntax:
+ $(CC) $(AM_CPPFLAGS) $(AM_CFLAGS) -fsyntax-only $(CHK_SOURCES)