Verified Commit 2f6caac6 authored by A. Wilcox's avatar A. Wilcox

The New Plan

ebuild branch has old ebuilds.  profiles dir still has CFLAGS.

Everything else is removed or modified for changing of upstream to
Alpine.
parent a37f6bfc
......@@ -6,7 +6,7 @@
:Status:
Draft
:Copyright:
© 2016 Adélie Linux Team. NCSA open source licence.
© 2017 Adélie Linux Team. NCSA open source licence.
......@@ -14,9 +14,9 @@
Introduction
============
This repository contains the Adélie Linux package set. It is used as an
overlay in the Portage system for package building to create the repository
used by Adélie's APK package manager.
This repository contains the Adélie Linux package set. It is used by the
Adélie Linux build system for package building to create the repository used
by Adélie's APK package manager.
Licenses
......@@ -39,26 +39,20 @@ sec-bugs@adelielinux.org.
Ebuild Format
=============
Package Format
==============
This section describes the Ebuild format required for packages in this
repository.
EAPI
````
Any Ebuild present in this repository **must** use EAPI 5. As EAPI 6 is not
yet supported by any publicly released version of the Portage toolkit, it is
not yet acceptable for use in this repository.
This section describes the APKBUILD format and patch format required for
packages in this repository.
Source URIs
```````````
It is recommended that any Ebuild present in this repository use an official
Adélie Linux mirror for any files downloaded (``mirror://adelie/``).
It is recommended that any package present in this repository use an official
Adélie Linux mirror for any files downloaded (``mirror://adelie/``), unless
the file resides on the package's official package mirror.
Exceptions will be granted on a case-by-case basis for issues such as file
size or rapid version change.
......@@ -66,23 +60,9 @@ size or rapid version change.
Comments
````````
It is highly encouraged that you use comments in your Ebuild. This grants
It is highly encouraged that you use comments in your package. This grants
other developers and the Adélie Linux team the same level of understanding
that you have over the package. Any issues found that cause behaviour
deviant from the eclass defaults should have an explanation and/or link to
a problem report (either upstream or on http://bts.adelielinux.org/).
Custom Eclasses
```````````````
If you require a custom Eclass not already present in the base Portage tree
or this repository, please file a problem report on http://bts.adelielinux.org/
with an explanation of what your Eclass will provide. A test suite in the
form of various Ebuilds demonstrating proper behaviour and failure modes will
be greatly appreciated and raise the likelihood of a speedy addition to the
tree. Please do **not** file a pull request containing a new Eclass without
filing a problem report first.
that you have over the package.
......
Copyright (c) 2016 Wilcox Technologies LLC.
Copyright (c) 2016-2017 Adélie Linux Team and Contributors.
All rights reserved.
Developed by: Adélie Linux Team
Wilcox Technologies LLC
http://adelielinux.org/
Permission is hereby granted, free of charge, to any person obtaining
......
......@@ -3,12 +3,11 @@
=====================================
:Authors:
* **A. Wilcox**, primary maintainer
* **Elizabeth Myers**, maintainer
* **Adélie Linux Developers and Users**, contributions
:Status:
Production
:Copyright:
© 2016 Adélie Linux Team. NCSA open source licence.
© 2017 Adélie Linux Team. NCSA open source licence.
......@@ -16,9 +15,9 @@
Introduction
============
This repository contains the Adélie Linux package set. It is used as an
overlay in the Portage system for package building to create the repository
used by Adélie's APK package manager.
This repository contains the Adélie Linux package set. It is used by the
Adélie Linux build system for package building to create the repository used
by Adélie's APK package manager.
Licenses
......@@ -49,16 +48,30 @@ It does not list every package available; it is merely a guide to help you
find what you need.
``profiles``: Configuration
```````````````````````````
The ``profiles`` directory contains special instructions to the Portage++
system to ensure proper build and runtime configuration for packages.
``system``: System-level packages
`````````````````````````````````
The ``system`` directory contains special packages used by Adélie for core
system functionality. This directory is kept separate from ``user`` to
facilitate sharing of user packages with other APK-based distributions.
``sys-apps``: System Applications
`````````````````````````````````
Packages in the ``sys-apps`` category provide core system functionality, such
as ``apk-tools`` or ``portage++``.
``user``: User packages
```````````````````````
The ``user`` directory contains packages that a user would typically be
interested in installing. Desktop applications, server software (also known as
*daemons*), and other useful packages can be found here.
``nonfree``: Bad packages
`````````````````````````
The ``nonfree`` directory contains packages that are under a restrictive or
commercial license. You need to read the license agreements to these packages
before installing them. Binary drivers for devices like high-end graphics
devices and wireless network controllers can be found here, as well as some
limited commercial software where it is legal for us to provide them.
Where it is not legal for us to redistribute a non-free package, you will need
to build it yourself and install it on your system manually.
......@@ -72,31 +85,39 @@ This section contains usage information for this repository.
As an overlay
`````````````
This repository can be added as an overlay to any system running Portage or
Portage++. However, please do not add it to a Gentoo computer unless you
intend to use it for developing Adélie. None of the packages here are useful
for a Gentoo computer, and some packages (such as ``baselayout``) may in fact
damage your Gentoo installation if installed from this repository. Please be
careful.
This repository can be added as an overlay to any system running APK, which
at the time of this writing includes Alpine Linux, postmarketOS, and a few
others. However, please do not add ``system`` or ``nonfree`` to a computer
running a different distribution unless you are fully aware of the concerns
surrounding mixing packages in such a manner. None of the packages in the
``system`` repository are useful for an Alpine computer, and some packages
(such as ``baselayout`` or ``adelie-base``) may in fact damage your Alpine
installation if installed. Please be careful.
Create a file named ``adelie.conf`` to ``/etc/portage/repos.conf``, and enter
the following text:
The domain ``distfiles.adelielinux.org`` is a round-robin for all available
Adélie mirrors. You may add a repository named above to
``/etc/apk/repositories``:
::
[adelie]
location = /usr/local/portage-adelie
sync-type = git
sync-uri = https://code.foxkit.us/adelie/packages.git
auto-sync = yes
https://distfiles.adelielinux.org/adelie/$version/$repo
Where ``$version`` is the version of Adélie Linux you are running, or
``current`` for automatic upgrades, or ``dev`` for a rolling-release
style distribution (which may be unstable - you have been warned!).
``$repo`` should be replaced with the name of the repository you are wanting
to use, such as ``user``.
Run ``emerge --sync`` or ``eix-sync`` to update the package index on your
local system. The packages will then be available to you.
Run ``apk update`` to update the package index on your local system. The
packages will then be available to you.
As a repository
```````````````
The Adélie Linux system is preconfigured to use packages in this repository
for APK. No configuration is required.
The Adélie Linux system is preconfigured to use packages in ``system`` and
``user`` for APK. No configuration is required. If you wish to add
``nonfree``, see the instructions above, noting that ``$repo`` should be
``nonfree`` in this case.
# Copyright 2017 Adélie Linux Team
# Distributed under the terms of the NCSA License
EAPI=6
S="${WORKDIR}/${PN}/src/Unix"
AT_M4DIR="${S}/m4"
inherit autotools
DESCRIPTION="A cross-platform 68k Macintosh emulator"
HOMEPAGE="http://basilisk.cebix.net/"
SRC_URI="mirror://foxkit/${P}.tar.xz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 m68k ppc ppc64 sparc64 x86 x86_64"
IUSE="bincue gtk +jit +sdl"
REQUIRED_USE="bincue? ( sdl )"
DEPEND="
gtk? ( x11-libs/gtk+:2 )
sdl? ( media-libs/libsdl[sound,video] )
!sdl? (
x11-libs/libXext
x11-libs/libX11
)
"
RDEPEND="${DEPEND}"
src_prepare () {
default
eautoreconf
}
src_configure () {
econf \
$(use_enable jit jit-compiler) \
$(use_enable sdl sdl-video) \
$(use_enable sdl sdl-audio) \
--enable-addressing=direct \
$(use_with gtk) \
$(use_with bincue)
}
DIST BasiliskII-1.0_p20161217.tar.xz 824416 SHA256 5a68e0733d0c5cd860999baf4c00d19821b60dbdfc4f996468799f53c425701f SHA512 dec5e9bbebfc24ae10a36805d9fd72ab03532466b06870e8eb0fdb771b775d6024634a3a8a693d0edeefa86b4fe3b69ef9596f074bd8b195a2db5f544f6f967a WHIRLPOOL f9038ec6d18596c6c6af65cebb532de72f8c5629ca5b40d9127a02c2653367000bb9ba83d6883e37a9b24fb7160d0d88596496dbb8c6738c02f89d337bf97ed2
DIST ghostscript-9.06.tar.bz2 29246039 SHA256 05acd1b576899572ef8ecbc25637cf73cbd0be267e651732db3012db33088e04 SHA512 99f7a56316bf96d55c0cd7b07c0791ad4e6ee0d3a8f3bfa04ea28890ea9ed822ebcd7084cc8118cc38dc5def27c91c24eebc08a20a630463a9bf9d0193d0923b WHIRLPOOL a44e19c15440b3fa43233f05b3236ea6834a9f6ac2e7be5174685e6a377ad4a4e7a7cc58fa3df7072ed893d0d76e4bb83b0e890a2d8c45f496c753cb958c7b32
DIST ghostscript_9.06~dfsg-2+deb8u4.debian.tar.xz 97044 SHA256 63ffe4addaba5429fcb85dd2a806cad87261d9b509962377f880214ad840968e SHA512 ac783d3f19be8814df7695e0edf72c5a68afee604fae83b058d2b822cfe195d3243385d0f8ffdbcf345225bf8f9aa54c57554b68a812ca9e6ef5983b9646f607 WHIRLPOOL a1dc28a6b0b0718cefcbdc3c8c6b07a650d155e1e1c5e262769514301db9902a98724468dae16210a64d753f9bba374f880a1e52d80376734eb63084f88ebbef
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-gpl/Attic/ghostscript-gpl-9.06.ebuild,v 1.5 2013/08/27 14:58:36 kensington Exp $
EAPI=4
inherit autotools eutils multilib versionator flag-o-matic
DESCRIPTION="Ghostscript is an interpreter for the PostScript language and for PDF"
HOMEPAGE="http://ghostscript.com/"
MY_P=${P/-gpl}
GSDJVU_PV=1.5
PVM=$(get_version_component_range 1-2)
SRC_URI="
mirror://sourceforge/ghostscript/${MY_P}.tar.bz2
http://security.debian.org/debian-security/pool/updates/main/g/ghostscript/ghostscript_${PV}~dfsg-2+deb8u4.debian.tar.xz"
LICENSE="GPL-3 CPL-1.0"
SLOT="0"
KEYWORDS="alpha arm ~mips ppc ppc64 sparc64 x86 x86_64"
IUSE="+cups +dbus gtk idn +jpeg2k linguas_de static-libs +X"
COMMON_DEPEND="
!app-text/ijs
app-text/libpaper
media-libs/fontconfig
>=media-libs/freetype-2.4.2:2
media-libs/jbig2dec
media-libs/lcms:2
media-libs/libpng:0
media-libs/tiff:0
>=sys-libs/zlib-1.2.3
virtual/jpeg:0
cups? ( >=net-print/cups-1.3.8 )
dbus? ( sys-apps/dbus )
gtk? ( || ( x11-libs/gtk+:3 x11-libs/gtk+:2 ) )
idn? ( net-dns/libidn )
jpeg2k? ( >=media-libs/openjpeg-1.5.0:0 )
X? ( x11-libs/libXt x11-libs/libXext )"
DEPEND="${COMMON_DEPEND}
virtual/pkgconfig"
RDEPEND="${COMMON_DEPEND}
>=app-text/poppler-data-0.4.5-r1
>=media-fonts/urw-fonts-2.4.9
linguas_ja? ( media-fonts/kochi-substitute )
linguas_ko? ( media-fonts/baekmuk-fonts )
linguas_zh_CN? ( media-fonts/arphicfonts )
linguas_zh_TW? ( media-fonts/arphicfonts )
!!media-fonts/gnu-gs-fonts-std
!!media-fonts/gnu-gs-fonts-other
"
S="${WORKDIR}/${MY_P}"
LANGS="ja ko zh_CN zh_TW"
for X in ${LANGS} ; do
IUSE="${IUSE} linguas_${X}"
done
src_prepare() {
# remove internal copies of various libraries
rm -rf "${S}"/expat
rm -rf "${S}"/freetype
rm -rf "${S}"/jasper
rm -rf "${S}"/jbig2dec
rm -rf "${S}"/jpeg
rm -rf "${S}"/lcms{,2}
rm -rf "${S}"/libpng
rm -rf "${S}"/openjpeg
rm -rf "${S}"/tiff
rm -rf "${S}"/zlib
# remove internal urw-fonts
rm -rf "${S}"/Resource/Font
# remove internal CMaps (CMaps from poppler-data are used instead)
rm -rf "${S}"/Resource/CMap
# remove unnecessary multiarch support patch
rm -rf "${WORKDIR}"/debian/patches/2003_support_multiarch.patch
# remove reference to subpkg that we include in base
rm -rf "${WORKDIR}"/debian/patches/2008_mention_ghostscript-x_in_docs.patch
# this depends on CVE-2013-5653.patch being applied first; since Portage
# applies patches in alphabetical order, this is close enough
mv "${WORKDIR}"/debian/patches/840691-Fix-.locksafe.patch "${WORKDIR}"/debian/patches/Debian-840691-Fix-.locksafe.patch
# apply various patches from Debian Security
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes"
EPATCH_SOURCE="${WORKDIR}/debian/patches/"