diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..075eb0e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +emile (0.10-1) unstable; urgency=low + + * Initial upload. Closes: #312269 + + -- Wouter Verhelst Wed, 05 Jul 2005 23:35:17 +0300 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..3eb155d --- /dev/null +++ b/debian/control @@ -0,0 +1,35 @@ +Source: emile +Section: admin +Priority: optional +Maintainer: Wouter Verhelst +Uploaders: Wouter Verhelst , Stephen R. Marenka +Build-Depends: debhelper (>> 4.1.16), docbook-to-man, gcc-3.3 +Build-Depends-Indep: m68k-linux-gcc [!m68k] +Standards-Version: 3.6.2 + +Package: emile-bootblocks +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Boot blocks for EMILE, the Early Mac Image LoadEr + EMILE provides a way to natively boot Macintosh computers who normally + require Penguin to boot. + . + It is however still in an unfinished state; users unfamiliar with Linux + should note that Penguin currently is a more safe option. + . + This package contains the boot blocks which are written to disk by + EMILE; to install and manage the boot blocks, please install the emile + package. + +Package: emile +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, emile-bootblocks +Description: the Early Mac Image LoadEr + EMILE provides a way to natively boot Macintosh computers who normally + require Penguin to boot. + . + It is however still in an unfinished state; users unfamiliar with Linux + should note that Penguin currently is a more safe option. + . + A list of machines that are supported by EMILE is maintained at + http://wiki.debian.org/EmileSupportedHardware diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..415d612 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,103 @@ +This is the Debian GNU/Linux packaged version of EMILE, the Early Mac Image +LoadEr. It was written by and is Copyright(C) 2004-2006 Laurent Vivier +. The home page is at http://emile.sf.net/ + +It was debianized by Wouter Verhelst and Stephen Marenka +. + +License: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +On Debian GNU/Linux systems, the full text of the GPL can be found in +/usr/share/common-licenses/GPL-2. + +The package also contains some code from various other sources. + +The files in the directory libgzip, and the files libstream/gzio.c and +tools/minigzip.c have the following license and copyright: + + Copyright (C) 1995-2005 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + + The data format used by the zlib library is described by RFCs (Request for + Comments) 1950 to 1952 in the files http://www.ietf.org/rfc/rfc1950.txt + (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format). + +The file libunix/vsprintf.c is available under the following license: + + Copyright (c) 1986, 1988, 1991, 1993 + The Regents of the University of California. All rights reserved. + (c) UNIX System Laboratories, Inc. + All or some portions of this file are derived from material licensed + to the University of California by American Telephone and Telegraph + Co. or Unix System Laboratories, Inc. and are reproduced herein with + the permission of UNIX System Laboratories, Inc. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + + @(#)subr_prf.c 8.3 (Berkeley) 1/21/94 + + + Extracted vsprinf & adapted by BenH for MountX, Wed, June 3 1998. + Added support for pascal strings. + +The file libunix/divsi3.S contains some parts from the libgcc routines +for 68000, which is Copyright(C) 1994, 1996, 1997, 1998 Free Software +Foundation, Inc. diff --git a/debian/emile-bootblocks.dirs b/debian/emile-bootblocks.dirs new file mode 100644 index 0000000..a2f77c2 --- /dev/null +++ b/debian/emile-bootblocks.dirs @@ -0,0 +1,2 @@ +lib/emile +boot/emile diff --git a/debian/emile-bootblocks.install b/debian/emile-bootblocks.install new file mode 100644 index 0000000..3c23718 --- /dev/null +++ b/debian/emile-bootblocks.install @@ -0,0 +1,4 @@ +boot/emile/first_scsi +boot/emile/m68k-second_scsi +lib/emile/first_floppy +lib/emile/m68k-second_floppy diff --git a/debian/emile-bootblocks.postinst b/debian/emile-bootblocks.postinst new file mode 100644 index 0000000..e490110 --- /dev/null +++ b/debian/emile-bootblocks.postinst @@ -0,0 +1,5 @@ +#!/bin/bash + +ln -sf /boot/emile/m68k-second_scsi /boot/emile/second_scsi +ln -sf /lib/emile/m68k-second_floppy /lib/emile/second_floppy +#DEBHELPER# diff --git a/debian/emile.install b/debian/emile.install new file mode 100644 index 0000000..45ad422 --- /dev/null +++ b/debian/emile.install @@ -0,0 +1,12 @@ +sbin/emile-set-cmdline +sbin/emile-first-tune +sbin/emile-install +sbin/emile-set-output +sbin/emile +sbin/emile-map-set +usr/share/man/man8/emile-first-tune.8.gz +usr/share/man/man8/emile-install.8.gz +usr/share/man/man8/emile-map-set.8.gz +usr/share/man/man8/emile-set-cmdline.8.gz +usr/share/man/man8/emile-set-output.8.gz +usr/share/man/man8/emile.8.gz diff --git a/debian/rules b/debian/rules new file mode 100644 index 0000000..26714c7 --- /dev/null +++ b/debian/rules @@ -0,0 +1,90 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# This file is public domain software, originally written by Joey Hess. + +# Uncomment this to turn on verbose mode. + +DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) +ifeq ($(DEB_BUILD_ARCH),m68k) +M68K_CC=m68k-linux-gnu-gcc-3.3 +else +M68K_CC=m68k-linux-gcc +endif + +build: build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. +ifeq ($(DEB_BUILD_ARCH),m68k) + $(MAKE) CC=gcc-3.3 M68K_CC=$(M68K_CC) +else + $(MAKE) CC=gcc-3.3 tools docs +endif + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/ +ifeq ($(DEB_BUILD_ARCH),m68k) + $(MAKE) DESTDIR=`pwd`/debian/tmp install + chmod -x `pwd`/debian/tmp/boot/emile/* + chmod -x `pwd`/debian/tmp/lib/emile/* +else + $(MAKE) DESTDIR=`pwd`/debian/tmp tools-install docs-install +endif + +# Build architecture-independent files here. +binary-indep: build install + dh_testroot -i + dh_installchangelogs -i + dh_installdocs -i + dh_installexamples -i + dh_install --sourcedir=debian/tmp -i + dh_installman -i + dh_link -i + dh_strip -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_shlibdeps -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installchangelogs -a + dh_installdocs -a + dh_installexamples -a + dh_install --sourcedir=debian/tmp -a + dh_installman -a + dh_link -a + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install