1 |
loki_val 08/09/30 23:03:14 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cdrtools-2.01.01_alpha50-r2.ebuild |
5 |
Removed: cdrtools-2.01.01_alpha50-r1.ebuild |
6 |
Log: |
7 |
A last bug, discovered by daniel pielmeyer (again :-)). Fix to make cdrtools install its configuration files in /etc, not /usr/etc. |
8 |
(Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc8 x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.210 app-cdr/cdrtools/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdrtools/ChangeLog?rev=1.210&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdrtools/ChangeLog?rev=1.210&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdrtools/ChangeLog?r1=1.209&r2=1.210 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v |
20 |
retrieving revision 1.209 |
21 |
retrieving revision 1.210 |
22 |
diff -u -r1.209 -r1.210 |
23 |
--- ChangeLog 28 Sep 2008 13:47:01 -0000 1.209 |
24 |
+++ ChangeLog 30 Sep 2008 23:03:13 -0000 1.210 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for app-cdr/cdrtools |
27 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v 1.209 2008/09/28 13:47:01 loki_val Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/ChangeLog,v 1.210 2008/09/30 23:03:13 loki_val Exp $ |
30 |
+ |
31 |
+*cdrtools-2.01.01_alpha50-r2 (30 Sep 2008) |
32 |
+ |
33 |
+ 30 Sep 2008; Peter Alfredsen <loki_val@g.o> |
34 |
+ -cdrtools-2.01.01_alpha50-r1.ebuild, +cdrtools-2.01.01_alpha50-r2.ebuild: |
35 |
+ A last bug, discovered by daniel pielmeyer (again :-)). Fix to make |
36 |
+ cdrtools install its configuration files in /etc, not /usr/etc. |
37 |
|
38 |
*cdrtools-2.01.01_alpha50-r1 (28 Sep 2008) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 app-cdr/cdrtools/cdrtools-2.01.01_alpha50-r2.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01.01_alpha50-r2.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01.01_alpha50-r2.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: cdrtools-2.01.01_alpha50-r2.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2008 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-2.01.01_alpha50-r2.ebuild,v 1.1 2008/09/30 23:03:13 loki_val Exp $ |
53 |
|
54 |
inherit multilib eutils toolchain-funcs flag-o-matic |
55 |
|
56 |
DESCRIPTION="A set of tools for CD/DVD reading and recording, including cdrecord" |
57 |
HOMEPAGE="http://cdrecord.berlios.de/" |
58 |
SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/alpha/${P/_alpha/a}.tar.bz2" |
59 |
|
60 |
LICENSE="GPL-2 LGPL-2.1 CDDL-Schily" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
63 |
IUSE="unicode" |
64 |
|
65 |
DEPEND="virtual/libc |
66 |
sys-apps/acl |
67 |
!app-cdr/dvdrtools |
68 |
!app-cdr/cdrkit" |
69 |
|
70 |
PROVIDE="virtual/cdrtools" |
71 |
|
72 |
S="${WORKDIR}/${PN}-2.01.01" |
73 |
|
74 |
src_unpack() { |
75 |
unpack ${A} |
76 |
cd "${S}" |
77 |
|
78 |
#Adjust paths |
79 |
|
80 |
sed -i -e 's:opt/schily:usr:' \ |
81 |
$(grep -l --include='*.1' --include='*.8' -r 'opt/schily' .) \ |
82 |
$(grep -l --include='*.c' --include='*.h' -r 'opt/schily' .) \ |
83 |
|| die "404 on opt-schily sed" |
84 |
|
85 |
sed -i -e "s:\(^INSDIR=\t\tshare/doc/\):\1${PF}/:" \ |
86 |
$(grep -l -r 'INSDIR.\+doc' .) \ |
87 |
|| die "404 on doc sed" |
88 |
|
89 |
sed -i -e "s:\(^INSDIR=\t\t\)lib:\1$(get_libdir):" \ |
90 |
$(grep -l -r '^INSDIR.\+lib\(/siconv\)\?$' .) \ |
91 |
|| die "404 on multilib-sed" |
92 |
|
93 |
sed -i -e "s:\(^INSDIR=\t\t\)\(etc/default\):\1../\2:" \ |
94 |
$(grep -l -r '^INSDIR.\+default' .) \ |
95 |
|| die "404 on etc sed" |
96 |
|
97 |
#Remove profiled make files |
98 |
rm -f $(find . -name '*_p.mk') |
99 |
|
100 |
epatch "${FILESDIR}"/${PN}-2.01.01a03-warnings.patch |
101 |
epatch "${FILESDIR}"/${PN}-2.01.01_alpha50-asneeded.patch |
102 |
|
103 |
#Schily make setup |
104 |
cd "${S}"/DEFAULTS |
105 |
local MYARCH="linux" |
106 |
|
107 |
sed -i "s:/opt/schily:/usr:g" Defaults.${MYARCH} |
108 |
sed -i "s:/usr/src/linux/include::g" Defaults.${MYARCH} |
109 |
|
110 |
# For dynamic linking: |
111 |
sed -i "s:static:dynamic:" Defaults.${MYARCH} |
112 |
|
113 |
# lame symlinks that all point to the same thing |
114 |
cd "${S}"/RULES |
115 |
local t |
116 |
for t in ppc64 sh4 s390x ; do |
117 |
ln -s i586-linux-cc.rul ${t}-linux-cc.rul || die |
118 |
ln -s i586-linux-gcc.rul ${t}-linux-gcc.rul || die |
119 |
done |
120 |
|
121 |
} |
122 |
|
123 |
src_compile() { |
124 |
if use unicode; then |
125 |
local flags="$(test-flags -finput-charset=ISO-8859-1 -fexec-charset=UTF-8)" |
126 |
if [[ -n ${flags} ]]; then |
127 |
append-flags ${flags} |
128 |
else |
129 |
ewarn "Your compiler does not support the options required to build" |
130 |
ewarn "cdrtools with unicode in USE. unicode flag will be ignored." |
131 |
fi |
132 |
fi |
133 |
|
134 |
#Watch out for an elusive parallel make bug, that may yet occur. |
135 |
|
136 |
emake CC="$(tc-getCC) -D__attribute_const__=const" COPTX="${CFLAGS}" CPPOPTX="${CPPFLAGS}" LDOPTX="${LDFLAGS}" || die |
137 |
} |
138 |
|
139 |
src_install() { |
140 |
emake MANDIR="share/man" INS_BASE="${D}/usr/" install |
141 |
|
142 |
#These symlinks are for compat with cdrkit. |
143 |
dosym schily /usr/include/scsilib |
144 |
dosym ../scg /usr/include/schily/scg |
145 |
|
146 |
dodoc ABOUT Changelog README README.linux-shm START READMEs/README.linux || die "dodoc cdrtools" |
147 |
|
148 |
cd "${S}"/cdda2wav |
149 |
docinto cdda2wav |
150 |
dodoc FAQ Frontends HOWTOUSE TODO || die "dodoc cdda2wav" |
151 |
|
152 |
} |
153 |
|
154 |
pkg_postinst() { |
155 |
echo |
156 |
einfo "The command line option 'dev=/dev/hdX' (X is the name of your drive)" |
157 |
einfo "should be used for IDE CD writers. And make sure that the permissions" |
158 |
einfo "on this device are set properly and your user is in the correct group." |
159 |
} |