diff options
author | Richard Freeman <rich0@gentoo.org> | 2012-04-11 18:20:32 +0000 |
---|---|---|
committer | Richard Freeman <rich0@gentoo.org> | 2012-04-11 18:20:32 +0000 |
commit | 4e22fc076d3b5cd028f0413b97e6bdfffd26051c (patch) | |
tree | 212f2ea2ad91215d6f018fb43e3b066719ef9bc9 | |
parent | Remove unused patch. (diff) | |
download | historical-4e22fc076d3b5cd028f0413b97e6bdfffd26051c.tar.gz historical-4e22fc076d3b5cd028f0413b97e6bdfffd26051c.tar.bz2 historical-4e22fc076d3b5cd028f0413b97e6bdfffd26051c.zip |
add fix for prs1 loader
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
-rw-r--r-- | app-misc/sleepyhead/ChangeLog | 8 | ||||
-rw-r--r-- | app-misc/sleepyhead/Manifest | 10 | ||||
-rw-r--r-- | app-misc/sleepyhead/files/prs1-code8fix.patch | 12 | ||||
-rw-r--r-- | app-misc/sleepyhead/sleepyhead-0.9.2.2-r1.ebuild | 52 |
4 files changed, 77 insertions, 5 deletions
diff --git a/app-misc/sleepyhead/ChangeLog b/app-misc/sleepyhead/ChangeLog index 27d404ddc60b..9199e9221252 100644 --- a/app-misc/sleepyhead/ChangeLog +++ b/app-misc/sleepyhead/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/sleepyhead # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/sleepyhead/ChangeLog,v 1.3 2012/03/23 20:28:24 rich0 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/sleepyhead/ChangeLog,v 1.4 2012/04/11 18:20:32 rich0 Exp $ + +*sleepyhead-0.9.2.2-r1 (11 Apr 2012) + + 11 Apr 2012; Richard Freeman <rich0@gentoo.org> +files/prs1-code8fix.patch, + +sleepyhead-0.9.2.2-r1.ebuild: + add fix for prs1 loader 23 Mar 2012; Richard Freeman <rich0@gentoo.org> sleepyhead-0.9.2.2.ebuild, -files/zlib-of.patch: diff --git a/app-misc/sleepyhead/Manifest b/app-misc/sleepyhead/Manifest index 6f6b940ce415..93d969dd50d1 100644 --- a/app-misc/sleepyhead/Manifest +++ b/app-misc/sleepyhead/Manifest @@ -3,14 +3,16 @@ Hash: SHA256 AUX gitfix.patch 602 RMD160 219d379c44f005a361a24b0ac6c16f9ffcdf6ab7 SHA1 65ee5f99f99dfb708f3c14985539597db33b20ed SHA256 37aa5bbf7c6710f4a73ce1c2b51b7262ef7eb872bb035d014678c71d1392a74a AUX prs1-64fix.patch 497 RMD160 75c9dca36837b29c1f23b34f796b1e62357bf1fe SHA1 244398fd9ba7df35dc33e76b1cb11370e142d514 SHA256 ff6c5ea462f2dfbe1b6d16bdcd6f3639c788830498ebca0718be9b744ba6daf5 +AUX prs1-code8fix.patch 570 RMD160 662f832c54a47c940bc96c94bf2480ac9df39dbe SHA1 facba4987e859744a3471b61da6c563c13207924 SHA256 9e31538b50afef77feed1112330d11274536a38ea6bd4f8bd0814a08c3cf0f98 DIST sleepyhead-0.9.2.2.tgz 1399077 RMD160 eb1520706d16602ad917693cdcef89af61cb276b SHA1 15376f0c3e7855f561a156d3928c9f655e25d8da SHA256 49bcc7cf2b8351026a1f30b44d71a8500b9c74c6f6ac1aeeb14ca3b039ee7123 +EBUILD sleepyhead-0.9.2.2-r1.ebuild 1266 RMD160 b15695bfaa8443076b85c574e4fd68bf90e940ac SHA1 1a3ad616d56e686fb67b7dbd911412cfaad94dde SHA256 aee4338571b62a7459741e4110ced43c9d35a17a78fd56aab92aecac181cba86 EBUILD sleepyhead-0.9.2.2.ebuild 1220 RMD160 6354e798f7ad5812db21e4188880464678cb4ca2 SHA1 7551cc11dbaa6ed5761f7b4e8e7cac21495d5152 SHA256 9ee4d807b38a352e1fb91e6d024d9713e4105656850541841fac751c86ee6908 -MISC ChangeLog 694 RMD160 cdfd28d499773b40052dfee9baae6082d2cb9d30 SHA1 f1dfa2353d720c180dc2724de160b056ccd6af1f SHA256 5dad5289f0ee073fd9e88845600e6a3ea040dae497999385e737d8b798357599 +MISC ChangeLog 870 RMD160 0bbd77d0fd970ea14ef6e89297a7c133c3f045ac SHA1 a87feed7ef8b18ba620a0ee46dd0400b0853bd12 SHA256 96e9829cb963b9ce58700c2be5b0ae4c9534b23f82061fc94bf5bd76abc48363 MISC metadata.xml 304 RMD160 fe32926664d515ebd947a9c735109e4d60d533d1 SHA1 6d1749d1b90b271fe5d64d06e9eeb5e248a4034f SHA256 1b7ceae99e0186803b6a20fe8f9ee62eddb24cb13091634ea6ad2b63bf7eabee -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iF4EAREIAAYFAk9s3PMACgkQCMFw3lXsEjr6lwD/dv3yJp1CkDiSHrY9OaE9P3S4 -jPlAFvrzlIo0h8XRiYcA/A9v6LE/33BYtPRV0b9hc4rsS9Ejy3ifthqe3utO6u1D -=Rjuo +iF4EAREIAAYFAk+Fy+AACgkQCMFw3lXsEjo6oQD/RvGz5pyQtCttb3bSj9lgLSIF +r+wb5h0AVVr6r1m2uVQBAJqGd1PtVVVobjn76RwP6ndyl35gZSv2Zz62W+oHpQPp +=qhKV -----END PGP SIGNATURE----- diff --git a/app-misc/sleepyhead/files/prs1-code8fix.patch b/app-misc/sleepyhead/files/prs1-code8fix.patch new file mode 100644 index 000000000000..ec7a121674be --- /dev/null +++ b/app-misc/sleepyhead/files/prs1-code8fix.patch @@ -0,0 +1,12 @@ +diff --git a/SleepLib/loader_plugins/prs1_loader.cpp b/SleepLib/loader_plugins/prs1_loader.cpp +index d7f102c..95de13b 100644 +--- a/SleepLib/loader_plugins/prs1_loader.cpp ++++ b/SleepLib/loader_plugins/prs1_loader.cpp +@@ -722,6 +722,7 @@ bool PRS1Loader::Parse002v5(qint32 sequence, quint32 timestamp, unsigned char *b + if (!(Code[10]=session->AddEventList(cpapcode,EVL_Event))) return false; + } + Code[10]->AddEvent(tt,data[0]); ++ pos++; + break; + case 0x09: // ASV Codes + //code=CPAP_FlowLimit; diff --git a/app-misc/sleepyhead/sleepyhead-0.9.2.2-r1.ebuild b/app-misc/sleepyhead/sleepyhead-0.9.2.2-r1.ebuild new file mode 100644 index 000000000000..4e3dff262701 --- /dev/null +++ b/app-misc/sleepyhead/sleepyhead-0.9.2.2-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/sleepyhead/sleepyhead-0.9.2.2-r1.ebuild,v 1.1 2012/04/11 18:20:32 rich0 Exp $ + +EAPI=4 +inherit eutils qt4-r2 +DESCRIPTION="Software used to analyze data from CPAP machines." +HOMEPAGE="https://sourceforge.net/apps/mediawiki/sleepyhead/index.php?title=Main_Page" + +# Point to any required sources; these will be automatically downloaded by +# Portage. +SRC_URI="https://github.com/rich0/rich0-sleepyhead/tarball/${PV} -> ${P}.tgz" +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~amd64" + +IUSE="" + +DEPEND="virtual/opengl + x11-libs/libX11 + x11-libs/qt-core + x11-libs/qt-gui + x11-libs/qt-opengl + x11-libs/qt-webkit" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/rich0-rich0-sleepyhead-86250b9" + +src_unpack() { + unpack ${A} + cd "${S}" +} + +src_prepare() { +# qt4_src_prepare + cd "{$S}" + epatch "${FILESDIR}/gitfix.patch" + epatch "${FILESDIR}/prs1-64fix.patch" + epatch "${FILESDIR}/prs1-code8fix.patch" + + sed -i '1i#define OF(x) x' quazip/ioapi.h quazip/unzip.c quazip/unzip.h \ + quazip/zip.c quazip/zip.h quazip/zlib.h + eqmake4 SleepyHeadQT.pro +} + +src_install() { + cd "{$S}" + dobin SleepyHead || die + dodoc README || die + dodoc docs/* || die +} |