Version bump #173120 by Dennis Schridde.
authorMike Frysinger <vapier@gentoo.org>
Sat, 7 Apr 2007 11:35:17 +0000 (11:35 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 7 Apr 2007 11:35:17 +0000 (11:35 +0000)
Package-Manager: portage-2.1.2.3

dev-util/mingw-runtime/ChangeLog
dev-util/mingw-runtime/Manifest
dev-util/mingw-runtime/files/digest-mingw-runtime-3.12 [new file with mode: 0644]
dev-util/mingw-runtime/files/mingw-runtime-3.12-DESTDIR.patch [new file with mode: 0644]
dev-util/mingw-runtime/mingw-runtime-3.12.ebuild [new file with mode: 0644]

index 647d83a6d246a46331b600d148114e2a1cf4174c..8b5f398eea78c49119544f9cf4d0a194acd8456d 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-util/mingw-runtime
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw-runtime/ChangeLog,v 1.6 2007/03/19 13:43:04 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw-runtime/ChangeLog,v 1.7 2007/04/07 11:35:17 vapier Exp $
+
+*mingw-runtime-3.12 (07 Apr 2007)
+
+  07 Apr 2007; Mike Frysinger <vapier@gentoo.org>
+  +files/mingw-runtime-3.12-DESTDIR.patch, +mingw-runtime-3.12.ebuild:
+  Version bump #173120 by Dennis Schridde.
 
   19 Mar 2007; Bryan Ã˜stergaard <kloeri@gentoo.org> metadata.xml:
   Remove cretin from metadata.xml due to retirement.
index 139fe7554779d05ee790854fa06d1620344c4078..4f96d130d7c0f08c05367ec97d8bb3c226a85ac1 100644 (file)
@@ -5,6 +5,10 @@ AUX mingw-runtime-3.11-include.patch 1276 RMD160 9f209a7718b4d1ae6fa39dd762b1e71
 MD5 b721e309fffb8e384f0d912c84b5553a files/mingw-runtime-3.11-include.patch 1276
 RMD160 9f209a7718b4d1ae6fa39dd762b1e7187b074879 files/mingw-runtime-3.11-include.patch 1276
 SHA256 c927c8c703c2d1a20409bea5ad30d7726d1f6143ca8552f9d40576bd0610be08 files/mingw-runtime-3.11-include.patch 1276
+AUX mingw-runtime-3.12-DESTDIR.patch 609 RMD160 d64942d6ba3bb2fe378d762c7683b6b7e0373c65 SHA1 6c356b6d0920025b27ac92bc9336588f12b03030 SHA256 c61186b9d87087bd91d591aae84497b1a640df799b6b7cca2e858f8617a51ff6
+MD5 b407b10e303e8b2e34121640a6bf5787 files/mingw-runtime-3.12-DESTDIR.patch 609
+RMD160 d64942d6ba3bb2fe378d762c7683b6b7e0373c65 files/mingw-runtime-3.12-DESTDIR.patch 609
+SHA256 c61186b9d87087bd91d591aae84497b1a640df799b6b7cca2e858f8617a51ff6 files/mingw-runtime-3.12-DESTDIR.patch 609
 AUX mingw-runtime-3.9-DESTDIR.patch 1004 RMD160 35dbaf28bccb18d6472e2af73ccc8925091751dc SHA1 ba5a6d82aed1c72cf8ce0a0a2b216405a697d20f SHA256 0bb79aaff724272a3642ae83a1c42da95226e63f502f6de9a629d9330a06cd48
 MD5 d9c9d95f6e4735b1210b17a59ffc453d files/mingw-runtime-3.9-DESTDIR.patch 1004
 RMD160 35dbaf28bccb18d6472e2af73ccc8925091751dc files/mingw-runtime-3.9-DESTDIR.patch 1004
@@ -12,6 +16,7 @@ SHA256 0bb79aaff724272a3642ae83a1c42da95226e63f502f6de9a629d9330a06cd48 files/mi
 DIST mingw-runtime-3.10-src.tar.gz 338373 RMD160 b8c20dfec6f188a50a51a7fd2c4c3a1228554daa SHA1 c01496252895fa3e37e93ac4fc7b5332fa6e2245 SHA256 eefa03102b49a529c7fa30a531487ded69ac57384ae3a0f07fd0a24af5c9ea2d
 DIST mingw-runtime-3.11-20061202-1-src.tar.gz 378049 RMD160 b38d4301f7a590d45e38c1cb78000bfca9d25fea SHA1 3e4386eede55ecccfc1644a084b5d221244ef859 SHA256 19471fe1f8a54db8bbf4ae8aa0ba8822d80d9f77a125abac1410670532cba461
 DIST mingw-runtime-3.11-src.tar.gz 363078 RMD160 808672cd11daadd408d90b3e3ad337329b57ca9e SHA1 bc0be2721986778fd43e572b8fe6dcffbf87bbc1 SHA256 77457528f0682a3e22c02375dd1ff80042288e75653f66995001a5b94811c3c8
+DIST mingw-runtime-3.12-src.tar.gz 386213 RMD160 c9079d8cf5cb17e551aec0109cf6c57b22e0f5b7 SHA1 2bf698ca17243b08c3432bd88852d8f6bad677ec SHA256 f366a1fdd2cde7b1ba2a624b0557bf24bab695d0e322823d28e393e7f7b43cc4
 DIST mingw-runtime-3.9-src.tar.gz 301241 RMD160 b50c14fb566f94a9eee40cc2e716c67aa8bece29 SHA1 e324d7afa3bdff5069eb44ad09051a8fda5f54b0 SHA256 e3b1aaa2405a8aa5dbbd2eb0e286c03dcb6e0b9ad6c0f8b64ea02dc3bd3470fc
 EBUILD mingw-runtime-3.10.ebuild 2066 RMD160 3f33548440c59f8f902d4cdeab2cc0088a9cb630 SHA1 3a8e751a25e1b427c1ffd91787efbf1741805feb SHA256 50d3387ba13d93beba9a5f45dea231b2a7c9338249db4184b7b00c0e235b49fe
 MD5 a66df8cb25055f631fb2dcceb66f6368 mingw-runtime-3.10.ebuild 2066
@@ -25,14 +30,18 @@ EBUILD mingw-runtime-3.11_p20061202.ebuild 2175 RMD160 0a07fa309fe0865db25a9a453
 MD5 602ad5992adce162843af691adb33492 mingw-runtime-3.11_p20061202.ebuild 2175
 RMD160 0a07fa309fe0865db25a9a45311606afa23e244b mingw-runtime-3.11_p20061202.ebuild 2175
 SHA256 b1ac2771cf57fe076c5bb3ccc429efb41c77cc5f73f89f09a60df0cf9e8c0469 mingw-runtime-3.11_p20061202.ebuild 2175
+EBUILD mingw-runtime-3.12.ebuild 2130 RMD160 b29d884de2353ab6cf07c7b46d6a25f7908100e8 SHA1 d51dcac5a3516fca04cf22c9225457bac416ec01 SHA256 b934c79083af2fda91aae9c021311735c8e6a052f58f4e05ae2066f14739b295
+MD5 c4e18cb5db0df5a46f9a3a021bbf8cce mingw-runtime-3.12.ebuild 2130
+RMD160 b29d884de2353ab6cf07c7b46d6a25f7908100e8 mingw-runtime-3.12.ebuild 2130
+SHA256 b934c79083af2fda91aae9c021311735c8e6a052f58f4e05ae2066f14739b295 mingw-runtime-3.12.ebuild 2130
 EBUILD mingw-runtime-3.9.ebuild 1815 RMD160 63bf1926510613b6701338af30575b201bc86860 SHA1 590f2d3e7ec9932bb2bb1f45c87c06eb736ffcb9 SHA256 a92ed6b2f8532f7f17f4d3368f385ee42670dc575116a6820b86cf7ae2cb6359
 MD5 f438a9dab025119c5c81b137fae29da2 mingw-runtime-3.9.ebuild 1815
 RMD160 63bf1926510613b6701338af30575b201bc86860 mingw-runtime-3.9.ebuild 1815
 SHA256 a92ed6b2f8532f7f17f4d3368f385ee42670dc575116a6820b86cf7ae2cb6359 mingw-runtime-3.9.ebuild 1815
-MISC ChangeLog 1153 RMD160 c59cead780d037b4d8df40f978652a735f791fb2 SHA1 4e84eeac8cce49944627d995ba23b421aad03740 SHA256 9d08a254ffdc615cf1d75932c10e9abb4452f154197e095117fc7b694feccd70
-MD5 10ba602bbdee85485ffd5e67d4277181 ChangeLog 1153
-RMD160 c59cead780d037b4d8df40f978652a735f791fb2 ChangeLog 1153
-SHA256 9d08a254ffdc615cf1d75932c10e9abb4452f154197e095117fc7b694feccd70 ChangeLog 1153
+MISC ChangeLog 1353 RMD160 ee588304162c99fa8c674c0c2451e8f84ed40f8e SHA1 c4fffa8f155db67d12bd2f8c6a9b62a90a62ac83 SHA256 3084934172d50e7b896e6630e8891e2ebe592662a7c51aac2947ea256beb97c1
+MD5 0f14f25cd1241c7f741b6364a6589a91 ChangeLog 1353
+RMD160 ee588304162c99fa8c674c0c2451e8f84ed40f8e ChangeLog 1353
+SHA256 3084934172d50e7b896e6630e8891e2ebe592662a7c51aac2947ea256beb97c1 ChangeLog 1353
 MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
 MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 metadata.xml 162
@@ -46,13 +55,16 @@ SHA256 aa39f004244193c84e9a263acda67242fcf285c9b60b4f99d13bb1da2136c44a files/di
 MD5 fa1937b2d08719dfdd3148bad9635783 files/digest-mingw-runtime-3.11_p20061202 301
 RMD160 2ce849fd3b74af1dd0c42bee6c704cc7c311f0e2 files/digest-mingw-runtime-3.11_p20061202 301
 SHA256 459688cc7476329add9717765e467460bbe33ea29ed915b080f52c6590667036 files/digest-mingw-runtime-3.11_p20061202 301
+MD5 4bed99fd27acc090ef86158b3ca50d34 files/digest-mingw-runtime-3.12 268
+RMD160 1e6e98dba255efe375c826d0ccc1d5b806b66b0a files/digest-mingw-runtime-3.12 268
+SHA256 44a5626b31c0745b81ad8d86eea10f5aba01b2a89a5a8aeb21a280b3366be938 files/digest-mingw-runtime-3.12 268
 MD5 04e91ddce8a3d6d49718a360d094f88d files/digest-mingw-runtime-3.9 265
 RMD160 b22798b7f18ee32d2789c297f9154d8e2fea5891 files/digest-mingw-runtime-3.9 265
 SHA256 cfd69ae054434425d59eed64b731441c2c4aeea16d8a5eca4b3b26bc1717afcc files/digest-mingw-runtime-3.9 265
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.3 (GNU/Linux)
 
-iD8DBQFF/pMuugEuf3OQ0akRAujTAJoDpjPDWKjk7TG8bbC2zbGgvy5uUACeI9zx
-RolILI6HyRGDasC5uIbsdcs=
-=xCIB
+iD8DBQFGF4IO8bi6rjpTunYRAlIbAJ4mysbn4oay6wT84UAEynMXgO7C5QCdHdU6
+34ZE1XiY8Hn3s/FGss1oW2U=
+=FmXl
 -----END PGP SIGNATURE-----
diff --git a/dev-util/mingw-runtime/files/digest-mingw-runtime-3.12 b/dev-util/mingw-runtime/files/digest-mingw-runtime-3.12
new file mode 100644 (file)
index 0000000..7878afd
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 a9fdbd5162aa1ae0171c47f929adf938 mingw-runtime-3.12-src.tar.gz 386213
+RMD160 c9079d8cf5cb17e551aec0109cf6c57b22e0f5b7 mingw-runtime-3.12-src.tar.gz 386213
+SHA256 f366a1fdd2cde7b1ba2a624b0557bf24bab695d0e322823d28e393e7f7b43cc4 mingw-runtime-3.12-src.tar.gz 386213
diff --git a/dev-util/mingw-runtime/files/mingw-runtime-3.12-DESTDIR.patch b/dev-util/mingw-runtime/files/mingw-runtime-3.12-DESTDIR.patch
new file mode 100644 (file)
index 0000000..bf31c9c
--- /dev/null
@@ -0,0 +1,22 @@
+--- Makefile.in
++++ Makefile.in
+@@ -58,6 +58,11 @@
+ inst_libdir:=$(libdir)
+ inst_docdir:=$(prefix)/doc/mingw-runtime
+ endif
++inst_bindir:=$(DESTDIR)$(inst_bindir)
++inst_includedir:=$(DESTDIR)$(inst_includedir)
++inst_libdir:=$(DESTDIR)$(inst_libdir)
++inst_docdir:=$(DESTDIR)$(inst_docdir)
++mandir:=$(DESTDIR)$(mandir)
+ # The Mingw headers are installed under a subdirectory of 
+ # $(tooldir)/include when configuring in Cygwin.
+@@ -199,6 +199,6 @@
+ all_dlls_host: $(DLLS)
+-install_dlls_host:
++install_dlls_host: install-dirs
+       for i in $(DLLS); do \
+               $(INSTALL_PROGRAM) $$i $(inst_bindir)/$$i ; \
+       done
diff --git a/dev-util/mingw-runtime/mingw-runtime-3.12.ebuild b/dev-util/mingw-runtime/mingw-runtime-3.12.ebuild
new file mode 100644 (file)
index 0000000..ddb89ae
--- /dev/null
@@ -0,0 +1,80 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw-runtime/mingw-runtime-3.12.ebuild,v 1.1 2007/04/07 11:35:17 vapier Exp $
+
+# This version does not work as the configure script expects the installed
+# cross-compiler to be able to link binaries ... except we haven't provided
+# any of the crt objects yet so it is impossible to link binaries.
+# Older mingw-runtime packages hacked around the issue, but this version seems
+# to have dropped said hack thus breaking the package.
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+       if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
+               export CTARGET=${CATEGORY/cross-}
+       fi
+fi
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="Free Win32 runtime and import library definitions"
+HOMEPAGE="http://www.mingw.org/"
+SRC_URI="mirror://sourceforge/mingw/${PN}-${PV/_p/-}-src.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+RESTRICT="strip"
+
+DEPEND=""
+
+S=${WORKDIR}/${PN}-${PV%_p*}
+
+is_crosscompile() {
+       [[ ${CHOST} != ${CTARGET} ]]
+}
+just_headers() {
+       use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
+}
+
+pkg_setup() {
+       if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then
+               die "Invalid configuration"
+       fi
+}
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       sed -i \
+               -e "/W32API_INCLUDE/s:=.*:='-I /usr/${CTARGET}/usr/include':" \
+               $(find -name configure) || die
+       epatch "${FILESDIR}"/${PN}-3.12-DESTDIR.patch
+}
+
+src_compile() {
+       just_headers && return 0
+
+       CHOST=${CTARGET} strip-unsupported-flags
+       econf --host=${CTARGET} || die
+       emake || die
+}
+
+src_install() {
+       if just_headers ; then
+               insinto /usr/${CTARGET}/usr/include
+               doins -r include/* || die
+       else
+               local insdir
+               is_crosscompile \
+                       && insdir=${D}/usr/${CTARGET} \
+                       || insdir=${D}
+               emake install DESTDIR="${insdir}" || die
+               env -uRESTRICT CHOST=${CTARGET} prepallstrip
+               rm -rf "${insdir}"/usr/doc
+               dodoc CONTRIBUTORS ChangeLog README TODO readme.txt
+       fi
+       is_crosscompile && dosym usr /usr/${CTARGET}/mingw
+}