summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-04-05 16:41:06 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-04-05 16:41:06 +0000
commitb8c939765dfb661a274a47f160183c63de189680 (patch)
tree66fd86a0e03f107670f40ecdac3833adcdfbeece /app-cdr/cdw
parentVersion bump (#312559) and clean up. (diff)
downloadgentoo-2-b8c939765dfb661a274a47f160183c63de189680.tar.gz
gentoo-2-b8c939765dfb661a274a47f160183c63de189680.tar.bz2
gentoo-2-b8c939765dfb661a274a47f160183c63de189680.zip
version bump (bug #313223)
(Portage version: 2.1.7.17/cvs/Linux i686)
Diffstat (limited to 'app-cdr/cdw')
-rw-r--r--app-cdr/cdw/ChangeLog8
-rw-r--r--app-cdr/cdw/cdw-0.4.0.ebuild35
-rw-r--r--app-cdr/cdw/files/cdw-0.4.0-asneeded.patch56
3 files changed, 98 insertions, 1 deletions
diff --git a/app-cdr/cdw/ChangeLog b/app-cdr/cdw/ChangeLog
index dcdc123095ee..8fd4f18c685d 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.34 2010/02/16 15:30:09 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdw/ChangeLog,v 1.35 2010/04/05 16:41:06 mr_bones_ Exp $
+
+*cdw-0.4.0 (05 Apr 2010)
+
+ 05 Apr 2010; Michael Sterrett <mr_bones_@gentoo.org> +cdw-0.4.0.ebuild,
+ +files/cdw-0.4.0-asneeded.patch:
+ version bump (bug #313223)
16 Feb 2010; Steve Dibb <beandog@gentoo.org> cdw-0.3.94.ebuild:
amd64 stable, bug 300004
diff --git a/app-cdr/cdw/cdw-0.4.0.ebuild b/app-cdr/cdw/cdw-0.4.0.ebuild
new file mode 100644
index 000000000000..c91449d7a1ba
--- /dev/null
+++ b/app-cdr/cdw/cdw-0.4.0.ebuild
@@ -0,0 +1,35 @@
+# 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.4.0.ebuild,v 1.1 2010/04/05 16:41:06 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=""
+
+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.4.0-asneeded.patch b/app-cdr/cdw/files/cdw-0.4.0-asneeded.patch
new file mode 100644
index 000000000000..e2415a24b6b8
--- /dev/null
+++ b/app-cdr/cdw/files/cdw-0.4.0-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)