1 |
commit: 99205403817547cd99135ab859d312d8ed631391 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 25 16:16:49 2013 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 25 16:16:49 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=99205403 |
7 |
|
8 |
x11-libs/xview: Version Bump |
9 |
|
10 |
Package-Manager: portage-2.2.0_alpha163 |
11 |
|
12 |
--- |
13 |
x11-libs/xview/ChangeLog | 8 ++- |
14 |
x11-libs/xview/metadata.xml | 10 ++-- |
15 |
x11-libs/xview/xview-3.2-r8.ebuild | 108 ++++++++++++++++++++++++++++++++++++ |
16 |
3 files changed, 120 insertions(+), 6 deletions(-) |
17 |
|
18 |
diff --git a/x11-libs/xview/ChangeLog b/x11-libs/xview/ChangeLog |
19 |
index 5716bc1..9d09fbe 100644 |
20 |
--- a/x11-libs/xview/ChangeLog |
21 |
+++ b/x11-libs/xview/ChangeLog |
22 |
@@ -1,7 +1,13 @@ |
23 |
# ChangeLog for x11-libs/xview |
24 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
25 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
26 |
# $Header: $ |
27 |
|
28 |
+*xview-3.2-r8 (25 Feb 2013) |
29 |
+ |
30 |
+ 25 Feb 2013; Justin Lecher <jlec@g.o> +xview-3.2-r8.ebuild, |
31 |
+ metadata.xml: |
32 |
+ Version Bump |
33 |
+ |
34 |
31 Jul 2012; Justin Lecher <jlec@g.o> xview-3.2-r6.ebuild, |
35 |
xview-3.2-r7.ebuild: |
36 |
Add missing inherit of multilib |
37 |
|
38 |
diff --git a/x11-libs/xview/metadata.xml b/x11-libs/xview/metadata.xml |
39 |
index 04b998a..59d99c3 100644 |
40 |
--- a/x11-libs/xview/metadata.xml |
41 |
+++ b/x11-libs/xview/metadata.xml |
42 |
@@ -1,9 +1,9 @@ |
43 |
<?xml version="1.0" encoding="UTF-8"?> |
44 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
45 |
<pkgmetadata> |
46 |
- <herd>sci</herd> |
47 |
- <maintainer> |
48 |
- <email>jlec@g.o</email> |
49 |
- <name>Justin Lecher</name> |
50 |
- </maintainer> |
51 |
+ <herd>sci</herd> |
52 |
+ <maintainer> |
53 |
+ <email>jlec@g.o</email> |
54 |
+ <name>Justin Lecher</name> |
55 |
+ </maintainer> |
56 |
</pkgmetadata> |
57 |
|
58 |
diff --git a/x11-libs/xview/xview-3.2-r8.ebuild b/x11-libs/xview/xview-3.2-r8.ebuild |
59 |
new file mode 100644 |
60 |
index 0000000..5f86dec |
61 |
--- /dev/null |
62 |
+++ b/x11-libs/xview/xview-3.2-r8.ebuild |
63 |
@@ -0,0 +1,108 @@ |
64 |
+## Copyright 1999-2009 Gentoo Foundation |
65 |
+# Distributed under the terms of the GNU General Public License v2 |
66 |
+# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/x11-libs/xview/Attic/xview-3.2-r6.ebuild,v 1.6 2008/12/21 09:03:33 ssuominen dead $ |
67 |
+ |
68 |
+EAPI=5 |
69 |
+ |
70 |
+inherit eutils toolchain-funcs flag-o-matic multilib |
71 |
+ |
72 |
+MY_PN="${P}p1.4" |
73 |
+ |
74 |
+DESCRIPTION="The X Window-System-based Visual/Integrated Environment for Workstations" |
75 |
+HOMEPAGE="http://physionet.caregroup.harvard.edu/physiotools/xview/" |
76 |
+# We usr the debian tarball so that the debian patches apply |
77 |
+SRC_URI=" |
78 |
+ mirror://debian/pool/main/x/xview/xview_3.2p1.4.orig.tar.gz |
79 |
+ mirror://debian/pool/main/x/xview/xview_3.2p1.4-28.1.debian.tar.gz" |
80 |
+ |
81 |
+LICENSE="XVIEW" |
82 |
+SLOT="0" |
83 |
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux -*" |
84 |
+IUSE="static-libs" |
85 |
+ |
86 |
+RDEPEND=" |
87 |
+ media-fonts/font-bh-75dpi |
88 |
+ media-fonts/font-sun-misc |
89 |
+ x11-libs/libXpm |
90 |
+ x11-misc/xbitmaps |
91 |
+ x11-proto/xextproto" |
92 |
+ |
93 |
+DEPEND="${RDEPEND} |
94 |
+ app-text/rman |
95 |
+ x11-misc/gccmakedep |
96 |
+ x11-misc/imake" |
97 |
+ |
98 |
+S=${WORKDIR}/${MY_PN} |
99 |
+ |
100 |
+src_prepare() { |
101 |
+ append-flags -m32 |
102 |
+ append-ldflags -m32 |
103 |
+ |
104 |
+ EPATCH_OPTS="-p1" |
105 |
+ |
106 |
+ epatch \ |
107 |
+ "${FILESDIR}"/${P}-impl-dec.patch \ |
108 |
+ "${WORKDIR}"/debian/patches/{debian-changes-3.2p1.4-26,display_setting} |
109 |
+ |
110 |
+ # Do not build xgettext and msgfmt since they are provided by the gettext |
111 |
+ # package. Using the programs provided by xview breaks many packages |
112 |
+ # including vim, grep and binutils. |
113 |
+ sed \ |
114 |
+ -e 's/MSG_UTIL = xgettext msgfmt/#MSG_UTIL = xgettext msgfmt/' \ |
115 |
+ -i util/Imakefile || die "gettext sed failed" |
116 |
+ |
117 |
+ # (#120910) Look for imake in the right place |
118 |
+ sed -i -e 's:\/X11::' imake || die "imake sed failed" |
119 |
+ |
120 |
+ sed -i -e 's:/usr/X11R6:/usr:' config/XView.cf Build-LinuxXView.bash || die |
121 |
+ |
122 |
+ # Nasty hacks to force CC and CFLAGS |
123 |
+ sed \ |
124 |
+ -e "s:^\(IMAKEINCLUDE=.*\)\"$:\1 -DCcCmd=$(tc-getCC)\":" \ |
125 |
+ -e "s:usr/lib/X11/config:usr/$(get_libdir)/X11/config:" -i Build-LinuxXView.bash || die |
126 |
+ sed -e "s:\(.*STD_DEFINES =.*\)$:\1 -D_GNU_SOURCE ${CFLAGS}:" -i config/XView.obj || die |
127 |
+ sed -e "s:\(.*define LibXViewDefines .*\)$:\1 -D_GNU_SOURCE ${CFLAGS}:" -i config/XView.cf || die |
128 |
+ sed -e "s:^\(MORECCFLAGS.*\)$:\1 -D_GNU_SOURCE ${CFLAGS}:" -i clients/olvwm-4.1/Imakefile |
129 |
+ sed -e "s:\(-Wl,-soname\):${LDFLAGS} \1:g" -i config/XView.rules || die |
130 |
+} |
131 |
+ |
132 |
+src_compile() { |
133 |
+ export OPENWINHOME="/usr" |
134 |
+ export X11DIR="/usr" |
135 |
+ export MANDIR="/usr/share/man" |
136 |
+ |
137 |
+ # This is crazy and I know it, but wait till you read the code in |
138 |
+ # Build-LinuxXView.bash. |
139 |
+ bash Build-LinuxXView.bash libs \ |
140 |
+ || die "building libs failed" |
141 |
+# bash Build-LinuxXView.bash clients \ |
142 |
+# || die "building clients failed" |
143 |
+# bash Build-LinuxXView.bash contrib \ |
144 |
+# || die "building contrib failed" |
145 |
+# bash Build-LinuxXView.bash olvwm \ |
146 |
+# || die "building olvwm failed" |
147 |
+} |
148 |
+ |
149 |
+src_install() { |
150 |
+ export OPENWINHOME="/usr" |
151 |
+ export X11DIR="/usr" |
152 |
+ export MANDIR="/usr/share/man" |
153 |
+ export DESTDIR="${ED}" |
154 |
+ |
155 |
+ bash Build-LinuxXView.bash instlibs \ |
156 |
+ || die "installing libs failed" |
157 |
+# bash Build-LinuxXView.bash instclients \ |
158 |
+# || die "installing clients failed" |
159 |
+# bash Build-LinuxXView.bash instcontrib \ |
160 |
+# || die "installing contrib failed" |
161 |
+# bash Build-LinuxXView.bash instolvwm \ |
162 |
+# || die "installing olvwm failed" |
163 |
+# cd "${ED}"/usr |
164 |
+ |
165 |
+ use static-libs || \ |
166 |
+ find "${ED}" -type f -name "*.a" -delete |
167 |
+ |
168 |
+ cd "${S}"/doc |
169 |
+ dodoc README xview-info olgx_api.txt olgx_api.ps sel_api.txt dnd_api.txt whats_new.ps |
170 |
+ rm -rf "${ED}"/usr/X11R6/share/doc/xview "${ED}"/usr/X11R6/share/doc "${ED}"/usr/bin || die |
171 |
+} |