Add patch to respect LDFLAGS from bug #153160, install profiles and README.
authorMichael Hanselmann <hansmi@gentoo.org>
Sat, 28 Apr 2007 12:31:03 +0000 (12:31 +0000)
committerMichael Hanselmann <hansmi@gentoo.org>
Sat, 28 Apr 2007 12:31:03 +0000 (12:31 +0000)
Package-Manager: portage-2.1.2.5

x11-misc/xcalib/ChangeLog
x11-misc/xcalib/Manifest
x11-misc/xcalib/files/0.6-Makefile-ldflags.diff [new file with mode: 0644]
x11-misc/xcalib/files/digest-xcalib-0.6-r1 [new file with mode: 0644]
x11-misc/xcalib/xcalib-0.6-r1.ebuild [new file with mode: 0644]

index 930a1a58cfa0acc7f39c7355f2210689724fe04d..477086841064c718086c6444cdb0794932511835 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for x11-misc/xcalib
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xcalib/ChangeLog,v 1.3 2006/12/17 21:07:56 hansmi Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xcalib/ChangeLog,v 1.4 2007/04/28 12:31:03 hansmi Exp $
+
+*xcalib-0.6-r1 (28 Apr 2007)
+
+  28 Apr 2007; Michael Hanselmann <hansmi@gentoo.org>
+  +files/0.6-Makefile-ldflags.diff, +xcalib-0.6-r1.ebuild:
+  Add patch to respect LDFLAGS from bug #153160, install profiles and README.
 
   17 Dec 2006; Michael Hanselmann <hansmi@gentoo.org> xcalib-0.6.ebuild:
   Stable on ppc.
index e7987f714cbbf1a2a7d8caf66f73bb580f423577..7df52c3b7ae5d991c37d64ee9583357fbd5263ab 100644 (file)
@@ -1,12 +1,20 @@
+AUX 0.6-Makefile-ldflags.diff 575 RMD160 c60173c774e57e9cf36a127c9d101da76f41435a SHA1 8db1486c0ff82bc143325ba14e4a5361c6b899bf SHA256 12ca5601924ad2979beeceb7e4949e5a424f956dab042b341c91392517a9071c
+MD5 21f312c507b521e983814b19f29ac587 files/0.6-Makefile-ldflags.diff 575
+RMD160 c60173c774e57e9cf36a127c9d101da76f41435a files/0.6-Makefile-ldflags.diff 575
+SHA256 12ca5601924ad2979beeceb7e4949e5a424f956dab042b341c91392517a9071c files/0.6-Makefile-ldflags.diff 575
 DIST xcalib-source-0.6.tar.gz 150354 RMD160 58f66a9d44039e6dcab588440611360788e63d08 SHA1 2f3eb5900b793c2d6f1792e27c423a212f220b18 SHA256 f942a39021d55cde9c25ee0e80e015d1b6ca48e60868382f903085aa2d747c2d
+EBUILD xcalib-0.6-r1.ebuild 917 RMD160 0591c698fdc23da1d463507f05446b1f74bc657c SHA1 a1a5faef2d074bb92e120badb003e858e481d439 SHA256 7416effdf91e79e7c6423cce2822e5c5dfe6ddd076c68bc5d32638e5c1b7a1b7
+MD5 f0283ee73e3fe675f7fdf7b7726a4734 xcalib-0.6-r1.ebuild 917
+RMD160 0591c698fdc23da1d463507f05446b1f74bc657c xcalib-0.6-r1.ebuild 917
+SHA256 7416effdf91e79e7c6423cce2822e5c5dfe6ddd076c68bc5d32638e5c1b7a1b7 xcalib-0.6-r1.ebuild 917
 EBUILD xcalib-0.6.ebuild 688 RMD160 753b97deb538444c0cd3f9bd18ea99f058de4733 SHA1 18e7e375d8784cc655e2c66545cfff7506c0f5d1 SHA256 fbba1b75acd0aa5a4b062587a77217458c137626d68a266fa94452a75c2107cd
 MD5 8e476c2f00536dfd2fef19325059b1b8 xcalib-0.6.ebuild 688
 RMD160 753b97deb538444c0cd3f9bd18ea99f058de4733 xcalib-0.6.ebuild 688
 SHA256 fbba1b75acd0aa5a4b062587a77217458c137626d68a266fa94452a75c2107cd xcalib-0.6.ebuild 688
-MISC ChangeLog 527 RMD160 2179587a244ec8c80627cbc1c643f5a5fd9a9b1e SHA1 43d9b79dbb65b02209bf8af7eb57f9b8e57cdaf6 SHA256 31b36c2548aa9c2f9c1ba025dd3ca0d94dbf7ec8df4e54ba431d06fa95496911
-MD5 115527972d29787b1ec0eb37555229d0 ChangeLog 527
-RMD160 2179587a244ec8c80627cbc1c643f5a5fd9a9b1e ChangeLog 527
-SHA256 31b36c2548aa9c2f9c1ba025dd3ca0d94dbf7ec8df4e54ba431d06fa95496911 ChangeLog 527
+MISC ChangeLog 749 RMD160 238a9a6dc259e928bca97c4e90523e60aa1c0181 SHA1 e67c00b11d30920f300c57566612fcc23ecd3164 SHA256 648a73aee7fd7f899d09c7a6098262dfea19510e85363441720a4cf4b548b88a
+MD5 7edc802da8a804f5d91ef9195b93e512 ChangeLog 749
+RMD160 238a9a6dc259e928bca97c4e90523e60aa1c0181 ChangeLog 749
+SHA256 648a73aee7fd7f899d09c7a6098262dfea19510e85363441720a4cf4b548b88a ChangeLog 749
 MISC metadata.xml 280 RMD160 edf2ae3ef6864eca83391dc181d864f073aa0b24 SHA1 a4d9e66029dc12053dc2bac44a2fd30f4c815198 SHA256 fd1589b7cceea348819f33058007397ef61e4405d1c44582b9211422de7aef54
 MD5 cadd4d390d7d754344aa7c7e481f7c2d metadata.xml 280
 RMD160 edf2ae3ef6864eca83391dc181d864f073aa0b24 metadata.xml 280
@@ -14,3 +22,6 @@ SHA256 fd1589b7cceea348819f33058007397ef61e4405d1c44582b9211422de7aef54 metadata
 MD5 fb492aa1aa981431d991d5788be71086 files/digest-xcalib-0.6 253
 RMD160 1e839c12119ba612a0761b898391bb92d6cf5f8d files/digest-xcalib-0.6 253
 SHA256 9937839ec10d517f962105d97f28ed44062fc58495048b76cece1450325f3b01 files/digest-xcalib-0.6 253
+MD5 fb492aa1aa981431d991d5788be71086 files/digest-xcalib-0.6-r1 253
+RMD160 1e839c12119ba612a0761b898391bb92d6cf5f8d files/digest-xcalib-0.6-r1 253
+SHA256 9937839ec10d517f962105d97f28ed44062fc58495048b76cece1450325f3b01 files/digest-xcalib-0.6-r1 253
diff --git a/x11-misc/xcalib/files/0.6-Makefile-ldflags.diff b/x11-misc/xcalib/files/0.6-Makefile-ldflags.diff
new file mode 100644 (file)
index 0000000..31076e3
--- /dev/null
@@ -0,0 +1,11 @@
+--- Makefile.old       2006-10-29 15:32:22.000000000 +0100
++++ Makefile   2006-10-29 15:36:27.000000000 +0100
+@@ -58,7 +58,7 @@
+ # low overhead version (internal parser)
+ lo_xcalib: xcalib.c
+       $(CC) $(CFLAGS) -c xcalib.c -I$(XINCLUDEDIR) -DXCALIB_VERSION=\"$(XCALIB_VERSION)\"
+-      $(CC) $(CFLAGS) -L$(XLIBDIR) -lm -o xcalib xcalib.o -lX11 -lXxf86vm -lXext
++      $(CC) $(CFLAGS) $(LDFLAGS) -L$(XLIBDIR) -o xcalib xcalib.o -lm -lX11 -lXxf86vm -lXext
+ fglrx_xcalib: xcalib.c
+       $(CC) $(CFLAGS) -c xcalib.c -I$(XINCLUDEDIR) -DXCALIB_VERSION=\"$(XCALIB_VERSION)\" -I$(FGLRXINCLUDEDIR) -DFGLRX
diff --git a/x11-misc/xcalib/files/digest-xcalib-0.6-r1 b/x11-misc/xcalib/files/digest-xcalib-0.6-r1
new file mode 100644 (file)
index 0000000..eaa812f
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 076f9c28c2d1766d36c424dd1609cdbf xcalib-source-0.6.tar.gz 150354
+RMD160 58f66a9d44039e6dcab588440611360788e63d08 xcalib-source-0.6.tar.gz 150354
+SHA256 f942a39021d55cde9c25ee0e80e015d1b6ca48e60868382f903085aa2d747c2d xcalib-source-0.6.tar.gz 150354
diff --git a/x11-misc/xcalib/xcalib-0.6-r1.ebuild b/x11-misc/xcalib/xcalib-0.6-r1.ebuild
new file mode 100644 (file)
index 0000000..8a4cf3b
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xcalib/xcalib-0.6-r1.ebuild,v 1.1 2007/04/28 12:31:03 hansmi Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="xcalib is a tiny monitor calibration loader for X.org"
+HOMEPAGE="http://www.etg.e-technik.uni-erlangen.de/web/doe/xcalib/"
+SRC_URI="http://www.etg.e-technik.uni-erlangen.de/web/doe/xcalib/xcalib-source-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc"
+IUSE=""
+
+DEPEND="
+       x11-libs/libX11
+       x11-libs/libXext
+       x11-libs/libXxf86vm
+       x11-proto/xf86vidmodeproto
+"
+RDEPEND=""
+
+src_unpack() {
+       unpack "${A}"
+       cd "${S}"
+
+       epatch "${FILESDIR}/0.6-Makefile-ldflags.diff"
+}
+
+src_compile() {
+       emake \
+               CC="$(tc-getCC)" \
+               CFLAGS="${CFLAGS}" \
+               || die 'make failed'
+}
+
+src_install() {
+       dobin xcalib
+       dodoc README
+
+       docinto profiles
+       dodoc *.icm *.icc
+}