ChangeLog

# ChangeLog for app-emulation/uae
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/uae/ChangeLog,v 1.34 2007/12/26 14:55:46 pva Exp $

26 Dec 2007; metadata.xml:
Added myself into metadata.

25 Dec 2007; Christian Heim metadata.xml:
Removing dholm from metadata.xml as per #24623. Assigning to maintainer-needed.

17 Nov 2007;
-files/uae-0.8.25-fix_static_declatarions.diff:
Clean unused patch.

*uae-0.8.26-r1 (13 Aug 2007)

13 Aug 2007;
-files/uae-0.8.25-preserve_home_in_writing_optionsfile.diff,
-uae-0.8.26.ebuild, +uae-0.8.26-r1.ebuild:
preserve_home_in_writing_optionsfile clobbers random memory. Removed by
Bernd request.

13 Aug 2007; -files/uae-0.8.25-gtk-ui-cleanup.patch,
-files/uae-0.8.25-uae_reset_args.diff, +files/sdlgfx.h,
-uae-0.8.25.ebuild, -uae-0.8.25-r1.ebuild, uae-0.8.26.ebuild:
Fix missing sdlgfx.h. Adding OSS. Cleaning old.

*uae-0.8.26 (12 Aug 2007)

12 Aug 2007; +files/uae-0.8.26-gtk-ui-cleanup.patch,
+files/uae-0.8.26-uae_reset_args.diff, +uae-0.8.26.ebuild:
Version bump. New version, ebuild cleaner, but it still fails to compile
with sdl.

*uae-0.8.25-r1 (16 Feb 2007)

16 Feb 2007;
+files/uae-0.8.25-allow_spaces_in_zip_filenames.diff,
+files/uae-0.8.25-close_window_hack.diff,
+files/uae-0.8.25-fix_save_config.diff,
+files/uae-0.8.25-fix_static_declatarions.diff,
+files/uae-0.8.25-gtk-ui-cleanup.patch,
+files/uae-0.8.25-makefile_more_cleaning.diff,
+files/uae-0.8.25-memory_leaks_in_gui.diff,
+files/uae-0.8.25-preserve_home_in_writing_optionsfile.diff,
+files/uae-0.8.25-struct_uae_wrong_fields_name.diff,
+files/uae-0.8.25-uae_reset_args.diff, uae-0.8.25.ebuild,
+uae-0.8.25-r1.ebuild:
Added debian patchset. It fix some small issues and allows compilation with
gcc-4.x but compilation with sdl is still broken.

*uae-0.8.25 (14 Dec 2006)

14 Dec 2006; Peter Volkov
-files/uae-0.8.22-alsa-support.diff, -files/uae-patch.diff,
-uae-0.8.22.ebuild, -uae-0.8.22-r1.ebuild, -uae-0.8.24.ebuild,
+uae-0.8.25.ebuild:
Bumping version in hope that somebody take a look at this package and attach
patches at b.g.o. Cleaning out old versions.

16 Sep 2005; Ciaran McCreesh ChangeLog:
Converted to UTF-8, fixed encoding screwups

*uae-0.8.24 (09 Jul 2005)

09 Jul 2005; David Holm +uae-0.8.24.ebuild:
Version bumped (Bug #71937)

*uae-0.8.22-r1 (22 Oct 2004)

22 Oct 2004; David Holm
+files/uae-0.8.22-alsa-support.diff,
-files/uae-0.8.27_pre20040720-ppc-asm-fix.patch, +uae-0.8.22-r1.ebuild,
uae-0.8.22.ebuild, -uae-0.8.25_pre20040302.ebuild,
-uae-0.8.27_pre20040720.ebuild:
Added patch from bug #62957.
Moved e-uae out of the uae dir.

23 Jul 2004; David Holm uae-0.8.27_pre20040720.ebuild:
Reverted to old bsdsocket code.

21 Jul 2004; David Holm :
Uploaded correct snapshot in order to fix bug #57809.

*uae-0.8.27_pre20040720 (20 Jul 2004)

20 Jul 2004; David Holm
+files/uae-0.8.27_pre20040720-ppc-asm-fix.patch,
-uae-0.8.23_pre20040129.ebuild, +uae-0.8.27_pre20040720.ebuild:
Version bumped using CVS snapshot.
Removed version 0.8.23 from portage.

16 Jul 2004; David Holm uae-0.8.25_pre20040302.ebuild:
Strip -msse and -msse2 as they break compilation on x86.

24 Mar 2004; Michael Sterrett uae-0.8.22.ebuild,
uae-0.8.23_pre20040129.ebuild, uae-0.8.25_pre20040302.ebuild:
don't use deprecated ?: use syntax

07 Mar 2004; David Holm uae-0.8.25_pre20040302.ebuild:
Replace -O3 with -O2 (again). Splitting cpuemu_6.c was not enough.

05 Mar 2004; David Holm uae-0.8.25_pre20040302.ebuild,
files/split_cpuemu.pl:
Added split script from Michal Januszewski which reduces the amount of time
and memory needed to compile the CPU-core.

04 Mar 2004; David Holm uae-0.8.25_pre20040302.ebuild,
files/install_libscg_gentoo:
Cleanup submitted by Jonathan Heaney.

*uae-0.8.25_pre20040302 (04 Mar 2004)

04 Mar 2004; David Holm metadata.xml,
uae-0.8.25_pre20040302.ebuild, files/install_libscg_gentoo:
Version bump. Thanks goes to Jonathan Heaney for helping me with scsi support
and CAPS.

11 Feb 2004; David Holm uae-0.8.23_pre20040129.ebuild:
Added SDL configure flags as suggested by Jonathan Heaney and compilation fix
suggested by Lars Schünzel.

*uae-0.8.23_pre20040129 (09 Feb 2004)

09 Feb 2004; David Holm uae-0.8.23_pre20040129.ebuild:
Added the new and much improved 0.8.23 prerelease from Richard Drummond.

28 Jan 2004; Brad House uae-0.8.22.ebuild:
mark stable on amd64

02 Sep 2003; Michael Sterrett uae-0.8.22.ebuild:
use emake -j1 so I know the makefiles are buggy.

*uae-0.8.22 (9 Oct 2002)

02 Sep 2003; Mike Frysinger :
Changed emake to make #27797.

26 Aug 2003; Michael Sterrett uae-0.8.22.ebuild:
tidy; add error messages

02 Nov 2002; Mark Guertin uae-0.8.22.ebuild :
added ~ppc to keywords

17 Oct 2002; Seemant Kulleen uae-0.8.22.ebuild :

emake->make. Closes bug #8968 by klausman-usenet@tuts.net (Tobias
Klausmann)

17 Oct 2002; Daniel Ahlberg uae-0.8.22.ebuild :
Added IUSE.

16 Oct 2002; Mike Frysinger :
Changed the references to the USE variable 'svgalib' to 'svga'

09 Oct 2002; Ryan Phillips ChangeLog :
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

Manifest

AUX sdlgfx.h 974 RMD160 c54d5d4d0d3007233e2e86efd19409e820fa4cae SHA1 65441e1627c9969603de7ca06c4bd3c848ba5a44 SHA256 dcbbcc57ffa9ee951963be49aa454ff6078b6e18d5bbe7b773b4bf8d37f5deea
AUX split_cpuemu.pl 498 RMD160 90013cfcd99bdc4841e3dcf80140294b5f4be19a SHA1 a810ff551a79d272979941b7702efd9dc70d49da SHA256 90e12bb45cc2fdb481da2fa69b23083bcccad65bed772c9d983fb768e9917ee5
AUX uae-0.8.25-allow_spaces_in_zip_filenames.diff 651 RMD160 a65a39be66190e59b51645d3fd3defdb06408f13 SHA1 c22bfcd9a9d3b959e02f7ab07b9be131c5b95c97 SHA256 13f4377de98fba7758bff128830f4f16a97db83fd4d2e5c1161a71d8423bd80e
AUX uae-0.8.25-close_window_hack.diff 971 RMD160 bea8c1436647af1cec5a0e3ecb8610c047632743 SHA1 62e9b997b84e7cb68df0af4edc064b9451beafc5 SHA256 086434f42fde0a0618ffa46c6bd771c42a9d1b709238aafc03c8b19ae540c880
AUX uae-0.8.25-fix_save_config.diff 527 RMD160 bf5b59b30e63039310221d0eec70d74b5582fc97 SHA1 1a6249833808a4a1f20ba77a9d060c4d24b00ef3 SHA256 cf1f59942d9418df5275c3db2bff2765ffb83de28079e9e2f6bf174c85c1d19c
AUX uae-0.8.25-makefile_more_cleaning.diff 626 RMD160 5d6f3f57bf28429abbf61c72aed2898555139ed2 SHA1 9312d8571310576c7a52f60cff45a5e6a19d6c37 SHA256 7f2577bef8a20db494a1793a883f5504c722dba36a7b0bcc638e4ccd0fbcf3f4
AUX uae-0.8.25-memory_leaks_in_gui.diff 1213 RMD160 15f15bf0d47d846c848569116aa0ffe3cfa14c41 SHA1 4de6f22c988c6a1d4a63e4ed360368c9400d4668 SHA256 e744f79882a7679ec09e63c8bef4ae8095660d9582d74a73a91fc304424cef3c
AUX uae-0.8.25-struct_uae_wrong_fields_name.diff 613 RMD160 21d0e159961c5e7b5a527db59dd787fdb481171f SHA1 cc2c22c508fa4b316061e2133b364629a16e099e SHA256 ac020eacef32f92b82740022c0383fb5746c6a6d205a96c2564805063ad9035a
AUX uae-0.8.26-gtk-ui-cleanup.patch 1472 RMD160 bd73022a5161c0ebe0164ac9b8d8fc78063117c3 SHA1 0b9e125cdfec3d6fb4362546fdd62371498b0ef7 SHA256 c87f354a4afe35aeec1eb02509e8f0716818fb534e9ed829f8d6613405e942a5
AUX uae-0.8.26-uae_reset_args.diff 3216 RMD160 a4c87ae59a5c0e12683600d4eaf4b14ffdaae35f SHA1 092f4cc261783b81da0ca6a48c291403b3a7eaa2 SHA256 c7223329a49a6fc4545fcc9606fc66f1b9c0e011cfad2f75a6198c146bc8d536
DIST uae-0.8.26.tar.gz 1013196 RMD160 8394b85b4ea2c74a758984e89b2793157c585da1 SHA1 3e705798f3a9089578902a853b41c991b9d4b2f7 SHA256 9da8f71f9fe1bfaf18f6ea227f31baadb89d12ba78cb7ac9ce6132f35055f868
EBUILD uae-0.8.26-r1.ebuild 5933 RMD160 bbd6852ecee0ad39242fd697f55f9731df599cb4 SHA1 38c431048a07ffd762cfcd31eef33fa9aad806eb SHA256 02047a5f23c34eca49d911c67e69db75eae0e2e3575bd55cb7b44ac1aea9c26c
MISC ChangeLog 6210 RMD160 a49f90db09667cfdeeaafb8388489850916b46af SHA1 165cac9070f364452aa8b6dc0c787d60cc10aa8d SHA256 7599e985271b310c08abbd2c80f63c9cc602ad0e49dc1d288a0c806daf2548e6
MISC metadata.xml 660 RMD160 3207c7786abaa015574f221ecedf77dde37e4f65 SHA1 5e5beefe52dfdda09facc302d3ed5692c7049298 SHA256 748a03a559fffa735e984fa5a11593fa799b5f1b37e2b1164fbe86dd99127dfe

files

metadata.xml




no-herd

pva@gentoo.org


UAE is a mostly complete software emulation of the hardware of the
Commodore Amiga 500/1000/2000. A Commodore Amiga is a 16/32 bit computer
system based on the Motorola 680x0 CPU and a few specially designed
custom chips that provide very good graphics and sound capabilities. It's
first incarnation, the A1000, appeared in 1985, followed by the highly
successful A500 and A2000 models.

uae-0.8.26-r1.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/uae/uae-0.8.26-r1.ebuild,v 1.1 2007/08/13 14:00:19 pva Exp $

inherit eutils

DESCRIPTION="The Umiquious Amiga Emulator"
HOMEPAGE="http://www.freiburg.linux.de/~uae/"
SRC_URI="ftp://ftp.coresystems.de/pub/uae/sources/develop/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE="sdl X dga svga aalib oss alsa sdl-sound scsi ui"

DEPEND="sdl? ( media-libs/libsdl
media-libs/sdl-gfx
ui? ( x11-libs/gtk+ )
alsa? ( media-libs/alsa-lib )
)
!sdl? ( X? ( x11-libs/libXext
dga? ( x11-libs/libXxf86dga
x11-libs/libXxf86vm )
ui? ( x11-libs/gtk+ )
)
!X? ( svga? ( media-libs/svgalib
ui? ( sys-libs/ncurses ) )
!svga? ( aalib? ( media-libs/aalib
ui? ( sys-libs/ncurses ) ) )
!aalib? ( media-libs/libsdl
ui? ( x11-libs/gtk+ ) ) )
alsa? ( media-libs/alsa-lib )
)
scsi? ( app-cdr/cdrtools )"

src_unpack() {
unpack ${A}
cd "${S}"

epatch "${FILESDIR}"/uae-0.8.25-allow_spaces_in_zip_filenames.diff
epatch "${FILESDIR}"/uae-0.8.25-close_window_hack.diff
epatch "${FILESDIR}"/uae-0.8.25-fix_save_config.diff
epatch "${FILESDIR}"/${P}-gtk-ui-cleanup.patch
epatch "${FILESDIR}"/uae-0.8.25-makefile_more_cleaning.diff
epatch "${FILESDIR}"/uae-0.8.25-memory_leaks_in_gui.diff
epatch "${FILESDIR}"/uae-0.8.25-struct_uae_wrong_fields_name.diff
epatch "${FILESDIR}"/${P}-uae_reset_args.diff
cp "${FILESDIR}"/sdlgfx.h "${S}"/src
}

pkg_setup() {
# See configure.in for possible pathes of logic...
echo
elog "It was told by upstream developer Bernd Schmidt that sdl-sound is"
elog "broken now and alsa driver seems to be not in best shape. So OSS"
elog "(don't forget alsa emulation of OSS) is prefered, but it'll be"
elog "autodetected and thus it's possible that uae misses it and you'll"
elog "have no error but no sound too. Be carful and report this cases."
echo
if use sdl ; then
elog "Enabling sdl for video output."
my_config="$(use_with sdl) $(use_with sdl sdl-gfx)"
# SELECT UI
if use ui ; then
elog "Using GTK+ for UI."
my_config="${my_config} $(use_enable ui)"
else
elog "You do not have ui in USE. Disabling UI"
my_config="${my_config} --disable-ui"
fi
if use oss ; then
elog "Disabling alsa and sdl-sound and falling back on oss autodetection."
elog "You'll have to be carefull: if that fails you'll have no audio."
my_config="${my_config} --without-sdl-sound --without-alsa"
elif use sdl-sound ; then
elog "Enabling sdl-sound for sound output."
my_config="${my_config} $(use_with sdl-sound)"
elif use alsa ; then
elog "Enabling alsa for sound output."
my_config="${my_config} --without-sdl-sound $(use_with alsa)"
else
elog "You have not enabled alsa or sdl-sound in USE."
elog "Using sound output to file."
my_config="${my_config} --enable-file-sound"
fi
else
elog "Disabling sdl for all (video and sound)."
my_config="--without-sdl"
if use X ; then
elog "Enabling X11 for video output."
# Disabling all other GFX to be sure that we'll have what we want.
my_config="${my_config} --without-svgalib --without-asciiart $(use_with X x)"
use dga && my_config="${my_config} $(use_enable dga) $(use_enable X vidmode)"
# SELECT UI
if use ui ; then
elog "Using GTK+ for UI."
my_config="${my_config} $(use_enable ui)"
else
elog "You do not have ui in USE. Disabling UI"
my_config="${my_config} --disable-ui"
fi
else
my_config="${my_config} --without-x"
if use svga ; then
elog "Enabling svga for video output."
my_config="${my_config} $(use_with svga svgalib)"
if use ui ; then
elog "Using ncurses for UI."
my_config="${my_config} $(use_enable ui)"
else
elog "You do not have ui in USE. Disabling UI"
my_config="${my_config} --disable-ui"
fi
elif use aalib ; then
elog "Enabling ASCII art for video output."
my_config="${my_config} $(use_with aalib svgalib)"
if use ui ; then
einfo "Using ncurses for UI."
my_config="${my_config} $(use_enable ui)"
else
elog "You do not have ui in USE. Disabling UI"
my_config="${my_config} --disable-ui"
fi
else
elog "You have not enabled sdl or X or svga or ncruses in USE!"
elog "Video output is not selected. Falling back on sdl..."
my_config="$(use_with sdl) $(use_with sdl sdl-gfx) $(use with sdl-sound)"
# SELECT UI
if use ui ; then
elog "Using GTK+ for UI."
my_config="${my_config} $(use_enable ui)"
else
elog "You do not have ui in USE. Disabling UI"
my_config="${my_config} --disable-ui"
fi
fi
fi
if use oss ; then
elog "Disabling alsa and sdl-sound and falling back on oss autodetection."
elog "You'll have to be carefull: if that fails you'll have no audio."
my_config="${my_config} --without-sdl-sound --without-alsa"
elif use alsa ; then
elog "Enabling alsa for sound output."
my_config="${my_config} $(use_with alsa)"
else
use sdl-sound && ewarn "You can not have sdl-sound without sdl."
elog "You have not enabled alsa in USE."
elog "Using sound output to file."
my_config="${my_config} --enable-file-sound"
fi
fi
echo
my_config="${my_config} $(use_enable scsi scsi-device)"
my_config="${my_config} --enable-threads"
}

src_compile() {
econf ${my_config} || die "configure failed"
emake -j1 || die "emake failed"
}

src_install() {
dobin uae readdisk || die
cp docs/unix/README docs/README.unix
rm -r docs/{AmigaOS,BeOS,pOS,translated,unix}
dodoc docs/*

insinto /usr/share/uae/amiga-tools
doins amiga/{*hack,trans*,uae*}
}

pkg_postinst() {
elog
elog "Upstream recomends using SDL graphics (with an environment variable"
elog "SDL_VIDEO_X11_XRANDR=1 for fullscreen support."
echo
}