diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2004-10-07 08:50:57 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2004-10-07 08:50:57 +0000 |
commit | ed3244f15ce317a6cd9dd48d58020fc1016c221f (patch) | |
tree | 2e910e0023f4c0071c98acbc33daa7904c301fca /media-video | |
parent | Added python to RDEPEND. (diff) | |
download | historical-ed3244f15ce317a6cd9dd48d58020fc1016c221f.tar.gz historical-ed3244f15ce317a6cd9dd48d58020fc1016c221f.tar.bz2 historical-ed3244f15ce317a6cd9dd48d58020fc1016c221f.zip |
Closing bugs #64893 and #56973
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/avifile/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/avifile/Manifest | 38 | ||||
-rw-r--r-- | media-video/avifile/avifile-0.7.41.20041001.ebuild | 12 | ||||
-rw-r--r-- | media-video/avifile/files/throw.patch | 59 |
4 files changed, 62 insertions, 54 deletions
diff --git a/media-video/avifile/ChangeLog b/media-video/avifile/ChangeLog index 57dbd2046c68..e7e857876df0 100644 --- a/media-video/avifile/ChangeLog +++ b/media-video/avifile/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/avifile # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/avifile/ChangeLog,v 1.78 2004/10/07 02:54:30 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/avifile/ChangeLog,v 1.79 2004/10/07 08:50:57 phosphan Exp $ + + 07 Oct 2004; Patrick Kursawe <phosphan@gentoo.org> files/throw.patch: + throw.patch finally works with latest glibc versions - closing bug #64893. + Modifying postinst to only show the message if the file it refers to was + actually built. (closing bug #56973) 06 Oct 2004; Jeremy Huddleston <eradicator@gentoo.org> avifile-0.7.41.20041001.ebuild: diff --git a/media-video/avifile/Manifest b/media-video/avifile/Manifest index f922e5b83f33..7979bf852a08 100644 --- a/media-video/avifile/Manifest +++ b/media-video/avifile/Manifest @@ -1,31 +1,21 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 4eca3602ab94eeb9a0f567a30d62753b ChangeLog 13434 -MD5 ab24ec7446ec73e983a093e98b7f99df avifile-0.7.32.20030219.ebuild 4062 -MD5 f003a1fc700f9a79cf12c06d2ac3bedd avifile-0.7.37.20030522-r2.ebuild 4432 MD5 6d85afc659f23bb2adcebd144400833d avifile-0.7.38.20030710.ebuild 4488 -MD5 76b95bd390c69f39e5e7b028b3ff69a5 metadata.xml 272 MD5 b80546f1e5f52f38abec15e91478e999 avifile-0.7.38.20030710-r1.ebuild 4008 -MD5 503ce4ee023d0e7ef83d299748385939 avifile-0.7.41.20041001.ebuild 3844 +MD5 ab24ec7446ec73e983a093e98b7f99df avifile-0.7.32.20030219.ebuild 4062 +MD5 542809be7e4fe97811ff3a90238cd1b3 avifile-0.7.41.20041001.ebuild 3891 +MD5 655f0c90ba67ae496e0324dc332e09ea ChangeLog 13696 +MD5 76b95bd390c69f39e5e7b028b3ff69a5 metadata.xml 272 +MD5 f003a1fc700f9a79cf12c06d2ac3bedd avifile-0.7.37.20030522-r2.ebuild 4432 MD5 8390bf9de24635d667a5724c2cc0cbe9 files/avifile-0.7.37.20030522-divx.patch 11943 +MD5 c1a25bfd2234206e97e7b744c39c0d06 files/digest-avifile-0.7.37.20030522-r2 73 +MD5 88eda2a3289907201d524c557bd8a753 files/digest-avifile-0.7.32.20030219 73 MD5 7a55e6cb72df715c9b822505d5b4b8b0 files/avifile-0.7.38.20030710-2.6.patch 2038 MD5 624ac61f6a4fb9ed9700a7496f2827cb files/avifile-0.7.38.20030710-amd64.patch 466 -MD5 769b5c63369a3c1bc5b74abe591731fd files/avifile-0.7.38.20030710-sparc.patch 998 -MD5 69d7c84947a5ea083f25e43fdacc126e files/avifile-gcc34.patch 5795 -MD5 f2e5938361909893d37d1ce0b80fdbfc files/avifile-x86-gcc34.patch 5247 -MD5 88eda2a3289907201d524c557bd8a753 files/digest-avifile-0.7.32.20030219 73 -MD5 c1a25bfd2234206e97e7b744c39c0d06 files/digest-avifile-0.7.37.20030522-r2 73 -MD5 21e60c1838b04fa1990fe5538569ac4b files/digest-avifile-0.7.38.20030710 71 -MD5 5c7a3ea4957036aa1da3db9880a3ed34 files/flvenc-patch 558 MD5 21e60c1838b04fa1990fe5538569ac4b files/digest-avifile-0.7.38.20030710-r1 71 -MD5 f19f862b147fa314ed83d4b78e661a5d files/digest-avifile-0.7.41.20041001 71 -MD5 cfc5acc6aea0cf9e0572338125204b1f files/throw.patch 6925 +MD5 c5840e80e1a70f6b5ce25679e53f2dcb files/throw.patch 7396 +MD5 5c7a3ea4957036aa1da3db9880a3ed34 files/flvenc-patch 558 +MD5 f2e5938361909893d37d1ce0b80fdbfc files/avifile-x86-gcc34.patch 5247 MD5 d0f665d4394d9d9a59c9a5dadeb09882 files/avifile-0.7.41.20041001-sparc.patch 1262 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFBZLAqArHZZzCEUG0RAl86AJwPwFFpROjWNnbqtrnhxehBY1owFQCdFz7K -QGsed79SojucxXteeAkkYWU= -=yce5 ------END PGP SIGNATURE----- +MD5 769b5c63369a3c1bc5b74abe591731fd files/avifile-0.7.38.20030710-sparc.patch 998 +MD5 f19f862b147fa314ed83d4b78e661a5d files/digest-avifile-0.7.41.20041001 71 +MD5 21e60c1838b04fa1990fe5538569ac4b files/digest-avifile-0.7.38.20030710 71 +MD5 69d7c84947a5ea083f25e43fdacc126e files/avifile-gcc34.patch 5795 diff --git a/media-video/avifile/avifile-0.7.41.20041001.ebuild b/media-video/avifile/avifile-0.7.41.20041001.ebuild index d369c0ca42fe..1fd65b90ad33 100644 --- a/media-video/avifile/avifile-0.7.41.20041001.ebuild +++ b/media-video/avifile/avifile-0.7.41.20041001.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/avifile/avifile-0.7.41.20041001.ebuild,v 1.6 2004/10/07 02:54:30 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/avifile/avifile-0.7.41.20041001.ebuild,v 1.7 2004/10/07 08:50:57 phosphan Exp $ inherit eutils flag-o-matic @@ -136,8 +136,10 @@ src_install() { } pkg_postinst() { - einfo "In order to use certain video modes, you must be root" - einfo "chmod +s /usr/bin/aviplay to suid root" - einfo "As this is considered a security risk on multiuser" - einfo "systems, this is not done by default" + if use qt; then # else no aviplay built + einfo "In order to use certain video modes, you must be root" + einfo "chmod +s /usr/bin/aviplay to suid root" + einfo "As this is considered a security risk on multiuser" + einfo "systems, this is not done by default" + fi } diff --git a/media-video/avifile/files/throw.patch b/media-video/avifile/files/throw.patch index 6b80bcaa5e1e..cec741b95f15 100644 --- a/media-video/avifile/files/throw.patch +++ b/media-video/avifile/files/throw.patch @@ -6,7 +6,7 @@ diff -ru avifile-0.7-0.7.41/include/avm_cpuinfo.h avifile-0.7-0.7.41.new/include #endif /* __cplusplus */ -static inline int avm_is_mmx_state() __THROW -+ static inline int avm_is_mmx_state() ++ __NTH(static inline int avm_is_mmx_state()) { #ifdef ARCH_X86 if (freq.HaveMMX()) @@ -15,7 +15,7 @@ diff -ru avifile-0.7-0.7.41/include/avm_cpuinfo.h avifile-0.7-0.7.41.new/include * with longcount(). */ -static inline float to_float(int64_t tend, int64_t tbegin) __THROW -+ static inline float to_float(int64_t tend, int64_t tbegin) ++ __NTH(static inline float to_float(int64_t tend, int64_t tbegin)) { return float((tend - tbegin) / (double)freq / 1000.); } @@ -27,7 +27,7 @@ diff -ru avifile-0.7-0.7.41/include/utils.h avifile-0.7-0.7.41.new/include/utils * - right now dump implementation - as we could check functionality */ -static inline uint16_t avm_get_le16(const void* p) __THROW { -+ static inline uint16_t avm_get_le16(const void* p) { ++ __NTH(static inline uint16_t avm_get_le16(const void* p) ) { #ifdef WORDS_BIGENDIAN const uint8_t* c = (const uint8_t*) p; return c[0] | c[1] << 8; @@ -36,7 +36,7 @@ diff -ru avifile-0.7-0.7.41/include/utils.h avifile-0.7-0.7.41.new/include/utils } -static inline uint8_t* avm_set_le16(void* p, uint16_t v) __THROW { -+ static inline uint8_t* avm_set_le16(void* p, uint16_t v) { ++ __NTH(static inline uint8_t* avm_set_le16(void* p, uint16_t v) ) { uint8_t* b = (uint8_t*) p; #ifdef WORDS_BIGENDIAN b[0] = v & 0xff; @@ -45,7 +45,7 @@ diff -ru avifile-0.7-0.7.41/include/utils.h avifile-0.7-0.7.41.new/include/utils } -static inline uint32_t avm_get_le32(const void* p) __THROW { -+ static inline uint32_t avm_get_le32(const void* p) { ++ __NTH(static inline uint32_t avm_get_le32(const void* p) ) { #ifdef WORDS_BIGENDIAN const uint8_t* c = (const uint8_t*) p; return c[0] | c[1] << 8 | c[2] << 16 | c[3] << 24; @@ -54,7 +54,7 @@ diff -ru avifile-0.7-0.7.41/include/utils.h avifile-0.7-0.7.41.new/include/utils } -static inline uint8_t* avm_set_le32(void* p, uint32_t v) __THROW { -+ static inline uint8_t* avm_set_le32(void* p, uint32_t v) { ++ __NTH(static inline uint8_t* avm_set_le32(void* p, uint32_t v) ) { uint8_t* b = (uint8_t*) p; #ifdef WORDS_BIGENDIAN b[0] = v & 0xff; @@ -63,7 +63,7 @@ diff -ru avifile-0.7-0.7.41/include/utils.h avifile-0.7-0.7.41.new/include/utils } -static inline uint64_t avm_get_le64(const void* p) __THROW { -+ static inline uint64_t avm_get_le64(const void* p) { ++ __NTH(static inline uint64_t avm_get_le64(const void* p) ) { #ifdef WORDS_BIGENDIAN const uint8_t* c = (const uint8_t*) p; return avm_get_le32(c) | (((uint64_t)avm_get_le32(c + 4)) << 32); @@ -72,7 +72,7 @@ diff -ru avifile-0.7-0.7.41/include/utils.h avifile-0.7-0.7.41.new/include/utils } -static inline uint16_t avm_get_be16(const void* p) __THROW { -+ static inline uint16_t avm_get_be16(const void* p) { ++ __NTH(static inline uint16_t avm_get_be16(const void* p) ) { #ifdef WORDS_BIGENDIAN return *(const uint16_t*)p; #else @@ -81,7 +81,7 @@ diff -ru avifile-0.7-0.7.41/include/utils.h avifile-0.7-0.7.41.new/include/utils } -static inline uint8_t* avm_set_be16(void* p, uint16_t v) __THROW { -+ static inline uint8_t* avm_set_be16(void* p, uint16_t v) { ++ __NTH(static inline uint8_t* avm_set_be16(void* p, uint16_t v) ) { uint8_t* b = (uint8_t*) p; b[0] = (v >> 8) & 0xff; b[1] = v & 0xff; @@ -89,7 +89,7 @@ diff -ru avifile-0.7-0.7.41/include/utils.h avifile-0.7-0.7.41.new/include/utils } -static inline uint32_t avm_get_be32(const void* p) __THROW { -+ static inline uint32_t avm_get_be32(const void* p) { ++ __NTH(static inline uint32_t avm_get_be32(const void* p) ) { #ifdef WORDS_BIGENDIAN return *(const uint32_t*)p; #else @@ -98,7 +98,7 @@ diff -ru avifile-0.7-0.7.41/include/utils.h avifile-0.7-0.7.41.new/include/utils } -static inline uint8_t* avm_set_be32(void* p, uint32_t v) __THROW { -+ static inline uint8_t* avm_set_be32(void* p, uint32_t v) { ++ __NTH(static inline uint8_t* avm_set_be32(void* p, uint32_t v) ) { uint8_t* b = (uint8_t*) p; b[0] = (v >> 24) & 0xff; b[1] = (v >> 16) & 0xff; @@ -107,7 +107,7 @@ diff -ru avifile-0.7-0.7.41/include/utils.h avifile-0.7-0.7.41.new/include/utils } -static inline uint64_t avm_get_be64(const void* p) __THROW { -+ static inline uint64_t avm_get_be64(const void* p) { ++ __NTH(static inline uint64_t avm_get_be64(const void* p) ) { #ifdef WORDS_BIGENDIAN return *(const uint64_t*)p; #else @@ -116,17 +116,17 @@ diff -ru avifile-0.7-0.7.41/include/utils.h avifile-0.7-0.7.41.new/include/utils } -static inline int avm_img_is_rgb(fourcc_t fmt) __THROW -+ static inline int avm_img_is_rgb(fourcc_t fmt) ++ __NTH(static inline int avm_img_is_rgb(fourcc_t fmt)) { return ((fmt & 0xffffff00) == IMG_FMT_RGB); } -static inline int avm_img_is_bgr(fourcc_t fmt) __THROW -+ static inline int avm_img_is_bgr(fourcc_t fmt) ++ __NTH(static inline int avm_img_is_bgr(fourcc_t fmt)) { return ((fmt & 0xffffff00) == IMG_FMT_BGR); } -static inline int avm_img_get_depth(fourcc_t fmt) __THROW -+ static inline int avm_img_get_depth(fourcc_t fmt) ++ __NTH(static inline int avm_img_get_depth(fourcc_t fmt)) { return fmt & 0xff; } @@ -138,7 +138,7 @@ diff -ru avifile-0.7-0.7.41/lib/common/fcc_type.c avifile-0.7-0.7.41.new/lib/com //#include <stdio.h> -const char* avm_fcc_name(fourcc_t fcc) __THROW -+ const char* avm_fcc_name(fourcc_t fcc) ++ __NTH(const char* avm_fcc_name(fourcc_t fcc)) { switch (fcc) { @@ -147,7 +147,7 @@ diff -ru avifile-0.7-0.7.41/lib/common/fcc_type.c avifile-0.7-0.7.41.new/lib/com }; -const char *avm_img_format_name(fourcc_t fmt) __THROW -+ const char *avm_img_format_name(fourcc_t fmt) ++ __NTH(const char *avm_img_format_name(fourcc_t fmt)) { const struct dts* t = data; @@ -159,7 +159,7 @@ diff -ru avifile-0.7-0.7.41/lib/common/utils.c avifile-0.7-0.7.41.new/lib/common int64_t (*longcount)(void); -WAVEFORMATEX* avm_get_leWAVEFORMATEX(WAVEFORMATEX* wf) __THROW -+ WAVEFORMATEX* avm_get_leWAVEFORMATEX(WAVEFORMATEX* wf) ++ __NTH(WAVEFORMATEX* avm_get_leWAVEFORMATEX(WAVEFORMATEX* wf)) { wf->wFormatTag = avm_get_le16(&wf->wFormatTag); wf->nChannels = avm_get_le16(&wf->nChannels); @@ -168,7 +168,7 @@ diff -ru avifile-0.7-0.7.41/lib/common/utils.c avifile-0.7-0.7.41.new/lib/common } -BITMAPINFOHEADER* avm_get_leBITMAPINFOHEADER(BITMAPINFOHEADER* bi) __THROW -+ BITMAPINFOHEADER* avm_get_leBITMAPINFOHEADER(BITMAPINFOHEADER* bi) ++ __NTH(BITMAPINFOHEADER* avm_get_leBITMAPINFOHEADER(BITMAPINFOHEADER* bi)) { bi->biSize = avm_get_le32(&bi->biSize); bi->biWidth = avm_get_le32(&bi->biWidth); @@ -177,7 +177,7 @@ diff -ru avifile-0.7-0.7.41/lib/common/utils.c avifile-0.7-0.7.41.new/lib/common */ #ifndef WIN32 -int avm_usleep(unsigned long delay) __THROW -+ int avm_usleep(unsigned long delay) ++ __NTH(int avm_usleep(unsigned long delay)) { #if HAVE_NANOSLEEP struct timespec tsp; @@ -186,7 +186,7 @@ diff -ru avifile-0.7-0.7.41/lib/common/utils.c avifile-0.7-0.7.41.new/lib/common * and avm_unsetenv() in libc, provide our own implementation. */ -int avm_setenv(const char *name, const char *value, int overwrite) __THROW -+ int avm_setenv(const char *name, const char *value, int overwrite) ++ __NTH(int avm_setenv(const char *name, const char *value, int overwrite)) { #if HAVE_SETENV return setenv(name, value, overwrite); @@ -195,7 +195,7 @@ diff -ru avifile-0.7-0.7.41/lib/common/utils.c avifile-0.7-0.7.41.new/lib/common } -void avm_unsetenv(const char *name) __THROW -+ void avm_unsetenv(const char *name) ++ __NTH(void avm_unsetenv(const char *name) ) { #if HAVE_UNSETENV unsetenv(name); @@ -207,7 +207,7 @@ diff -ru avifile-0.7-0.7.41/lib/common/wave_type.c avifile-0.7-0.7.41.new/lib/co #include <stdio.h> -const char* avm_wave_format_name(short fmt) __THROW -+ const char* avm_wave_format_name(short fmt) ++ __NTH(const char* avm_wave_format_name(short fmt) ) { switch ((unsigned short)fmt) { @@ -216,7 +216,18 @@ diff -ru avifile-0.7-0.7.41/lib/common/wave_type.c avifile-0.7-0.7.41.new/lib/co } -char* avm_wave_format(char* buf, uint_t s, const WAVEFORMATEX* wf) __THROW -+ char* avm_wave_format(char* buf, uint_t s, const WAVEFORMATEX* wf) ++ __NTH(char* avm_wave_format(char* buf, uint_t s, const WAVEFORMATEX* wf)) { if (buf) { +--- avifile-0.7-0.7.41/include/avm_default.h 2004-03-10 10:58:24.000000000 +0100 ++++ avifile-0.7-0.7.41/include/avm_default.h.new 2004-10-07 09:26:27.571849713 +0200 +@@ -76,4 +76,8 @@ + #define __THROW + #endif + ++#ifndef __NTH ++#define __NTH(func) func ++#endif ++ + #endif /* AVIFILE_DEFAULT_H */ |