summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /gnustep-base
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'gnustep-base')
-rw-r--r--gnustep-base/gnustep-back-art/Manifest4
-rw-r--r--gnustep-base/gnustep-back-art/gnustep-back-art-0.22.0.ebuild84
-rw-r--r--gnustep-base/gnustep-back-art/gnustep-back-art-0.23.0.ebuild84
-rw-r--r--gnustep-base/gnustep-back-art/gnustep-back-art-0.24.0.ebuild84
-rw-r--r--gnustep-base/gnustep-back-art/gnustep-back-art-0.24.1.ebuild84
-rw-r--r--gnustep-base/gnustep-back-art/metadata.xml25
-rw-r--r--gnustep-base/gnustep-back-cairo/Manifest4
-rw-r--r--gnustep-base/gnustep-back-cairo/files/gnustep-back-cairo-0.24.0-cairo-scrolling.patch21
-rw-r--r--gnustep-base/gnustep-back-cairo/files/gnustep-back-cairo-0.24.0-format-security.patch15
-rw-r--r--gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.22.0.ebuild49
-rw-r--r--gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.23.0.ebuild49
-rw-r--r--gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.24.0-r1.ebuild55
-rw-r--r--gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.24.0.ebuild49
-rw-r--r--gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.24.1.ebuild49
-rw-r--r--gnustep-base/gnustep-back-cairo/metadata.xml11
-rw-r--r--gnustep-base/gnustep-back-xlib/Manifest4
-rw-r--r--gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.22.0.ebuild46
-rw-r--r--gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.23.0.ebuild46
-rw-r--r--gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.24.0.ebuild46
-rw-r--r--gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.24.1.ebuild46
-rw-r--r--gnustep-base/gnustep-back-xlib/metadata.xml25
-rw-r--r--gnustep-base/gnustep-base/Manifest3
-rw-r--r--gnustep-base/gnustep-base/files/gnustep-base-1.24.6-gdomap_dos.patch65
-rw-r--r--gnustep-base/gnustep-base/gnustep-base-1.24.6-r1.ebuild72
-rw-r--r--gnustep-base/gnustep-base/gnustep-base-1.24.7.ebuild68
-rw-r--r--gnustep-base/gnustep-base/gnustep-base-1.24.8.ebuild68
-rw-r--r--gnustep-base/gnustep-base/metadata.xml15
-rw-r--r--gnustep-base/gnustep-gui/Manifest5
-rw-r--r--gnustep-base/gnustep-gui/gnustep-gui-0.22.0.ebuild60
-rw-r--r--gnustep-base/gnustep-gui/gnustep-gui-0.23.0.ebuild60
-rw-r--r--gnustep-base/gnustep-gui/gnustep-gui-0.23.1.ebuild60
-rw-r--r--gnustep-base/gnustep-gui/gnustep-gui-0.24.0.ebuild54
-rw-r--r--gnustep-base/gnustep-gui/gnustep-gui-0.24.1.ebuild56
-rw-r--r--gnustep-base/gnustep-gui/metadata.xml30
-rw-r--r--gnustep-base/gnustep-make/Manifest3
-rw-r--r--gnustep-base/gnustep-make/files/gnustep-4.csh19
-rw-r--r--gnustep-base/gnustep-make/files/gnustep-4.sh23
-rw-r--r--gnustep-base/gnustep-make/files/gnustep-5.csh13
-rw-r--r--gnustep-base/gnustep-make/files/gnustep-5.sh19
-rw-r--r--gnustep-base/gnustep-make/files/gnustep-make-2.0.1-destdir.patch21
-rw-r--r--gnustep-base/gnustep-make/files/testlibobjc.m10
-rw-r--r--gnustep-base/gnustep-make/gnustep-make-2.6.2.ebuild129
-rw-r--r--gnustep-base/gnustep-make/gnustep-make-2.6.6.ebuild131
-rw-r--r--gnustep-base/gnustep-make/gnustep-make-2.6.7.ebuild131
-rw-r--r--gnustep-base/gnustep-make/metadata.xml17
-rw-r--r--gnustep-base/gnustep-updater/Manifest2
-rw-r--r--gnustep-base/gnustep-updater/gnustep-updater-0.2.ebuild24
-rw-r--r--gnustep-base/gnustep-updater/gnustep-updater-0.3.ebuild24
-rw-r--r--gnustep-base/gnustep-updater/metadata.xml7
-rw-r--r--gnustep-base/libobjc2/Manifest4
-rw-r--r--gnustep-base/libobjc2/files/libobjc2-1.7-fix_soname.patch58
-rw-r--r--gnustep-base/libobjc2/libobjc2-1.6.1.ebuild57
-rw-r--r--gnustep-base/libobjc2/libobjc2-1.7-r1.ebuild44
-rw-r--r--gnustep-base/libobjc2/libobjc2-1.7.ebuild42
-rw-r--r--gnustep-base/libobjc2/libobjc2-1.8.ebuild44
-rw-r--r--gnustep-base/libobjc2/metadata.xml35
-rw-r--r--gnustep-base/metadata.xml33
-rw-r--r--gnustep-base/mknfonts/Manifest1
-rw-r--r--gnustep-base/mknfonts/files/mknfonts-rename.patch15
-rw-r--r--gnustep-base/mknfonts/metadata.xml8
-rw-r--r--gnustep-base/mknfonts/mknfonts-0.5-r1.ebuild27
61 files changed, 2437 insertions, 0 deletions
diff --git a/gnustep-base/gnustep-back-art/Manifest b/gnustep-base/gnustep-back-art/Manifest
new file mode 100644
index 000000000000..fae3e0e79c93
--- /dev/null
+++ b/gnustep-base/gnustep-back-art/Manifest
@@ -0,0 +1,4 @@
+DIST gnustep-back-0.22.0.tar.gz 935034 SHA256 b9bf26346737d87160af669c3073b4eb511c743056af90aedb631e1537513608 SHA512 849078bd6c93df7177569d8d4d9b6ecf02e5aac6b60e51c8ae60f08bf45b30fe5abcc2c519d80c593c051d7eead31c219d32d24d95e2db8021fadea638d98478 WHIRLPOOL b21ebccb1afe84a144896312a6f7fc8403da2b39b92952ac9e5f1de02b7dfa218de0289c9333d4f9a21746739ac46ee22d1139d6df98e6d3c09063667d9ee6d6
+DIST gnustep-back-0.23.0.tar.gz 942380 SHA256 7e897849bf0359d2401a426c75bda89117b5506910892b4eb15262edfb26bbdc SHA512 8789e738b18e4eb1996024c449c4550a392404eb71693569a4b561df22652840a06ca4681b3ec7d47ff3d3d36755a065e956de9203f380c0cc60c76bb412b99c WHIRLPOOL 7b46d1a066889f40c00aa949b65d113027b6e0689349d686db83fd68a7c3a25d03a15c6b04f6c2b4d04ab7b61454bba428d2a3cbdea87541898ce68ec41e7017
+DIST gnustep-back-0.24.0.tar.gz 966735 SHA256 5fc2ed70076d1cd9d51bf3ad85c71a42bfd29e3fd7c22421cc1de739695c3d62 SHA512 d27ae170ad23ee18a5471f41ee67bcde6ee4ba3e7fa522dac72a1f7fdb363d64a15432e6abbf972089483b356959d060df91d797ab820a01ca4bd85af700bf57 WHIRLPOOL ef713f8ef84db12a75a2c1d1a56666c64edbf11ea302b1ed1f55a556eaecdbad74853ef736e665c5a2849210d7c273277c9a3d47ef5f7ca4a7544525367589e9
+DIST gnustep-back-0.24.1.tar.gz 966529 SHA256 e255628e0f9be9b10359bb1be6690c50a0929bc383e6996966076492af02457e SHA512 7de422b6743d9f8c20bdc1a9a1dda06cbd7bde31eca87a41a457640ec18ca2640797071def5c111383de379537350e57917ca10a156744c7b9db421cdb2db313 WHIRLPOOL 28bd8a4c4e5ceffb06260f5ef58d5500a167825fce876bb0d0465db7926492685f45ffdb4b2d8270553acb513b866592fc333a775ca37dad7021866dd72419ea
diff --git a/gnustep-base/gnustep-back-art/gnustep-back-art-0.22.0.ebuild b/gnustep-base/gnustep-back-art/gnustep-back-art-0.22.0.ebuild
new file mode 100644
index 000000000000..1c5655de58ed
--- /dev/null
+++ b/gnustep-base/gnustep-back-art/gnustep-back-art-0.22.0.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit gnustep-base
+
+DESCRIPTION="libart_lgpl back-end component for the GNUstep GUI Library"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="opengl xim"
+
+RDEPEND="${GNUSTEP_CORE_DEPEND}
+ =gnustep-base/gnustep-gui-${PV%.*}*
+ opengl? ( virtual/opengl virtual/glu )
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXft
+ x11-libs/libXrender
+ >=media-libs/freetype-2.1.9
+
+ >=media-libs/libart_lgpl-2.3
+ >=gnustep-base/mknfonts-0.5-r1
+ media-fonts/dejavu
+
+ !gnustep-base/gnustep-back-cairo
+ !gnustep-base/gnustep-back-xlib"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/gnustep-back-${PV}
+
+src_configure() {
+ egnustep_env
+
+ myconf="$(use_enable opengl glx)"
+ myconf="$myconf $(use_enable xim)"
+ myconf="$myconf --enable-server=x11"
+ myconf="$myconf --enable-graphics=art"
+
+ econf $myconf
+}
+
+src_compile() {
+ gnustep-base_src_compile
+
+ # Create font lists for DejaVu
+ einfo "Generating nfonts support files"
+ (
+ cd Fonts
+ export "${GS_ENV[@]}"
+ ${GNUSTEP_SYSTEM_TOOLS}/mknfonts \
+ $(fc-list : file|grep -v '\.gz'|cut -d: -f1) \
+ || die "nfonts support files creation failed"
+ # Trim whitepsaces
+ for fdir in *\ */; do
+ mv "$fdir" `echo $fdir | tr -d [:space:]`
+ done
+ )
+}
+
+src_install() {
+ gnustep-base_src_install
+
+ mkdir -p "${D}/${GNUSTEP_SYSTEM_LIBRARY}/Fonts"
+ cp -pPR Fonts/*.nfont "${D}/${GNUSTEP_SYSTEM_LIBRARY}/Fonts"
+}
+
+gnustep_config_script() {
+ echo "echo ' * setting normal font to DejaVuSans'"
+ echo "defaults write NSGlobalDomain NSFont DejaVuSans"
+ echo "echo ' * setting bold font to DejaVuSans-Bold'"
+ echo "defaults write NSGlobalDomain NSBoldFont DejaVuSans-Bold"
+ echo "echo ' * setting fixed font to DejaVuSansMono'"
+ echo "defaults write NSGlobalDomain NSUserFixedPitchFont DejaVuSansMono"
+}
diff --git a/gnustep-base/gnustep-back-art/gnustep-back-art-0.23.0.ebuild b/gnustep-base/gnustep-back-art/gnustep-back-art-0.23.0.ebuild
new file mode 100644
index 000000000000..3bbbd3b8d807
--- /dev/null
+++ b/gnustep-base/gnustep-back-art/gnustep-back-art-0.23.0.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit gnustep-base
+
+DESCRIPTION="libart_lgpl back-end component for the GNUstep GUI Library"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="opengl xim"
+
+RDEPEND="${GNUSTEP_CORE_DEPEND}
+ =gnustep-base/gnustep-gui-${PV%.*}*
+ opengl? ( virtual/opengl virtual/glu )
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXft
+ x11-libs/libXrender
+ >=media-libs/freetype-2.1.9
+
+ >=media-libs/libart_lgpl-2.3
+ >=gnustep-base/mknfonts-0.5-r1
+ media-fonts/dejavu
+
+ !gnustep-base/gnustep-back-cairo
+ !gnustep-base/gnustep-back-xlib"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/gnustep-back-${PV}
+
+src_configure() {
+ egnustep_env
+
+ myconf="$(use_enable opengl glx)"
+ myconf="$myconf $(use_enable xim)"
+ myconf="$myconf --enable-server=x11"
+ myconf="$myconf --enable-graphics=art"
+
+ econf $myconf
+}
+
+src_compile() {
+ gnustep-base_src_compile
+
+ # Create font lists for DejaVu
+ einfo "Generating nfonts support files"
+ (
+ cd Fonts
+ export "${GS_ENV[@]}"
+ ${GNUSTEP_SYSTEM_TOOLS}/mknfonts \
+ $(fc-list : file|grep -v '\.gz'|cut -d: -f1) \
+ || die "nfonts support files creation failed"
+ # Trim whitepsaces
+ for fdir in *\ */; do
+ mv "$fdir" `echo $fdir | tr -d [:space:]`
+ done
+ )
+}
+
+src_install() {
+ gnustep-base_src_install
+
+ mkdir -p "${D}/${GNUSTEP_SYSTEM_LIBRARY}/Fonts"
+ cp -pPR Fonts/*.nfont "${D}/${GNUSTEP_SYSTEM_LIBRARY}/Fonts"
+}
+
+gnustep_config_script() {
+ echo "echo ' * setting normal font to DejaVuSans'"
+ echo "defaults write NSGlobalDomain NSFont DejaVuSans"
+ echo "echo ' * setting bold font to DejaVuSans-Bold'"
+ echo "defaults write NSGlobalDomain NSBoldFont DejaVuSans-Bold"
+ echo "echo ' * setting fixed font to DejaVuSansMono'"
+ echo "defaults write NSGlobalDomain NSUserFixedPitchFont DejaVuSansMono"
+}
diff --git a/gnustep-base/gnustep-back-art/gnustep-back-art-0.24.0.ebuild b/gnustep-base/gnustep-back-art/gnustep-back-art-0.24.0.ebuild
new file mode 100644
index 000000000000..0936e294d479
--- /dev/null
+++ b/gnustep-base/gnustep-back-art/gnustep-back-art-0.24.0.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit gnustep-base
+
+DESCRIPTION="libart_lgpl back-end component for the GNUstep GUI Library"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="opengl xim"
+
+RDEPEND="${GNUSTEP_CORE_DEPEND}
+ =gnustep-base/gnustep-gui-${PV%.*}*
+ opengl? ( virtual/opengl virtual/glu )
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXft
+ x11-libs/libXrender
+ >=media-libs/freetype-2.1.9
+
+ >=media-libs/libart_lgpl-2.3
+ >=gnustep-base/mknfonts-0.5-r1
+ media-fonts/dejavu
+
+ !gnustep-base/gnustep-back-cairo
+ !gnustep-base/gnustep-back-xlib"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/gnustep-back-${PV}
+
+src_configure() {
+ egnustep_env
+
+ myconf="$(use_enable opengl glx)"
+ myconf="$myconf $(use_enable xim)"
+ myconf="$myconf --enable-server=x11"
+ myconf="$myconf --enable-graphics=art"
+
+ econf $myconf
+}
+
+src_compile() {
+ gnustep-base_src_compile
+
+ # Create font lists for DejaVu
+ einfo "Generating nfonts support files"
+ (
+ cd Fonts
+ export "${GS_ENV[@]}"
+ ${GNUSTEP_SYSTEM_TOOLS}/mknfonts \
+ $(fc-list : file|grep -v '\.gz'|cut -d: -f1) \
+ || die "nfonts support files creation failed"
+ # Trim whitepsaces
+ for fdir in *\ */; do
+ mv "$fdir" `echo $fdir | tr -d [:space:]`
+ done
+ )
+}
+
+src_install() {
+ gnustep-base_src_install
+
+ mkdir -p "${D}/${GNUSTEP_SYSTEM_LIBRARY}/Fonts"
+ cp -pPR Fonts/*.nfont "${D}/${GNUSTEP_SYSTEM_LIBRARY}/Fonts"
+}
+
+gnustep_config_script() {
+ echo "echo ' * setting normal font to DejaVuSans'"
+ echo "defaults write NSGlobalDomain NSFont DejaVuSans"
+ echo "echo ' * setting bold font to DejaVuSans-Bold'"
+ echo "defaults write NSGlobalDomain NSBoldFont DejaVuSans-Bold"
+ echo "echo ' * setting fixed font to DejaVuSansMono'"
+ echo "defaults write NSGlobalDomain NSUserFixedPitchFont DejaVuSansMono"
+}
diff --git a/gnustep-base/gnustep-back-art/gnustep-back-art-0.24.1.ebuild b/gnustep-base/gnustep-back-art/gnustep-back-art-0.24.1.ebuild
new file mode 100644
index 000000000000..6316f74c355c
--- /dev/null
+++ b/gnustep-base/gnustep-back-art/gnustep-back-art-0.24.1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit gnustep-base
+
+DESCRIPTION="libart_lgpl back-end component for the GNUstep GUI Library"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="opengl xim"
+
+RDEPEND="${GNUSTEP_CORE_DEPEND}
+ =gnustep-base/gnustep-gui-${PV%.*}*
+ opengl? ( virtual/opengl virtual/glu )
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXft
+ x11-libs/libXrender
+ >=media-libs/freetype-2.1.9
+
+ >=media-libs/libart_lgpl-2.3
+ >=gnustep-base/mknfonts-0.5-r1
+ media-fonts/dejavu
+
+ !gnustep-base/gnustep-back-cairo
+ !gnustep-base/gnustep-back-xlib"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/gnustep-back-${PV}
+
+src_configure() {
+ egnustep_env
+
+ myconf="$(use_enable opengl glx)"
+ myconf="$myconf $(use_enable xim)"
+ myconf="$myconf --enable-server=x11"
+ myconf="$myconf --enable-graphics=art"
+
+ econf $myconf
+}
+
+src_compile() {
+ gnustep-base_src_compile
+
+ # Create font lists for DejaVu
+ einfo "Generating nfonts support files"
+ (
+ cd Fonts
+ export "${GS_ENV[@]}"
+ ${GNUSTEP_SYSTEM_TOOLS}/mknfonts \
+ $(fc-list : file|grep -v '\.gz'|cut -d: -f1) \
+ || die "nfonts support files creation failed"
+ # Trim whitepsaces
+ for fdir in *\ */; do
+ mv "$fdir" `echo $fdir | tr -d [:space:]`
+ done
+ )
+}
+
+src_install() {
+ gnustep-base_src_install
+
+ mkdir -p "${D}/${GNUSTEP_SYSTEM_LIBRARY}/Fonts"
+ cp -pPR Fonts/*.nfont "${D}/${GNUSTEP_SYSTEM_LIBRARY}/Fonts"
+}
+
+gnustep_config_script() {
+ echo "echo ' * setting normal font to DejaVuSans'"
+ echo "defaults write NSGlobalDomain NSFont DejaVuSans"
+ echo "echo ' * setting bold font to DejaVuSans-Bold'"
+ echo "defaults write NSGlobalDomain NSBoldFont DejaVuSans-Bold"
+ echo "echo ' * setting fixed font to DejaVuSansMono'"
+ echo "defaults write NSGlobalDomain NSUserFixedPitchFont DejaVuSansMono"
+}
diff --git a/gnustep-base/gnustep-back-art/metadata.xml b/gnustep-base/gnustep-back-art/metadata.xml
new file mode 100644
index 000000000000..08d2c4dceedf
--- /dev/null
+++ b/gnustep-base/gnustep-back-art/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gnustep</herd>
+<longdescription>
+It is a back-end component for the GNUstep GUI Library. The
+implementation of the GNUstep GUI Library is designed in two parts. The
+first part is the front-end component which is independent of platform
+and display system. This front-end is combined with a back-end
+component which handles all of the display system dependent such as
+specific calls to the X Window System. This design allows the GNUstep
+applications to have the "look and feel" of the underlying display
+system without any changes to the application, and the library can be
+easily ported to other display systems.
+
+The GNUstep GUI Backend is for platforms using the X-Window System or
+Window's Systems. It works via a DPS emulation engine to emulate the
+DPS functions required by the front-end system.
+
+This package installs a backend that supports libart_lgpl.
+</longdescription>
+<use>
+ <flag name='xim'>Enable X11 XiM input method</flag>
+</use>
+</pkgmetadata>
diff --git a/gnustep-base/gnustep-back-cairo/Manifest b/gnustep-base/gnustep-back-cairo/Manifest
new file mode 100644
index 000000000000..fae3e0e79c93
--- /dev/null
+++ b/gnustep-base/gnustep-back-cairo/Manifest
@@ -0,0 +1,4 @@
+DIST gnustep-back-0.22.0.tar.gz 935034 SHA256 b9bf26346737d87160af669c3073b4eb511c743056af90aedb631e1537513608 SHA512 849078bd6c93df7177569d8d4d9b6ecf02e5aac6b60e51c8ae60f08bf45b30fe5abcc2c519d80c593c051d7eead31c219d32d24d95e2db8021fadea638d98478 WHIRLPOOL b21ebccb1afe84a144896312a6f7fc8403da2b39b92952ac9e5f1de02b7dfa218de0289c9333d4f9a21746739ac46ee22d1139d6df98e6d3c09063667d9ee6d6
+DIST gnustep-back-0.23.0.tar.gz 942380 SHA256 7e897849bf0359d2401a426c75bda89117b5506910892b4eb15262edfb26bbdc SHA512 8789e738b18e4eb1996024c449c4550a392404eb71693569a4b561df22652840a06ca4681b3ec7d47ff3d3d36755a065e956de9203f380c0cc60c76bb412b99c WHIRLPOOL 7b46d1a066889f40c00aa949b65d113027b6e0689349d686db83fd68a7c3a25d03a15c6b04f6c2b4d04ab7b61454bba428d2a3cbdea87541898ce68ec41e7017
+DIST gnustep-back-0.24.0.tar.gz 966735 SHA256 5fc2ed70076d1cd9d51bf3ad85c71a42bfd29e3fd7c22421cc1de739695c3d62 SHA512 d27ae170ad23ee18a5471f41ee67bcde6ee4ba3e7fa522dac72a1f7fdb363d64a15432e6abbf972089483b356959d060df91d797ab820a01ca4bd85af700bf57 WHIRLPOOL ef713f8ef84db12a75a2c1d1a56666c64edbf11ea302b1ed1f55a556eaecdbad74853ef736e665c5a2849210d7c273277c9a3d47ef5f7ca4a7544525367589e9
+DIST gnustep-back-0.24.1.tar.gz 966529 SHA256 e255628e0f9be9b10359bb1be6690c50a0929bc383e6996966076492af02457e SHA512 7de422b6743d9f8c20bdc1a9a1dda06cbd7bde31eca87a41a457640ec18ca2640797071def5c111383de379537350e57917ca10a156744c7b9db421cdb2db313 WHIRLPOOL 28bd8a4c4e5ceffb06260f5ef58d5500a167825fce876bb0d0465db7926492685f45ffdb4b2d8270553acb513b866592fc333a775ca37dad7021866dd72419ea
diff --git a/gnustep-base/gnustep-back-cairo/files/gnustep-back-cairo-0.24.0-cairo-scrolling.patch b/gnustep-base/gnustep-back-cairo/files/gnustep-back-cairo-0.24.0-cairo-scrolling.patch
new file mode 100644
index 000000000000..055fbab8db11
--- /dev/null
+++ b/gnustep-base/gnustep-back-cairo/files/gnustep-back-cairo-0.24.0-cairo-scrolling.patch
@@ -0,0 +1,21 @@
+Description: Disable workaround for a cairo bug fixed in 1.14.0.
+Bug-Debian: http://bugs.debian.org/770141
+Origin: upstream, commit: r38135
+Last-Update: 2014-11-19
+---
+
+--- gnustep-back-0.24.0.orig/Source/cairo/CairoGState.m
++++ gnustep-back-0.24.0/Source/cairo/CairoGState.m
+@@ -1316,9 +1316,10 @@
+ ssize = [source->_surface size];
+ }
+
+- if (cairo_version() >= CAIRO_VERSION_ENCODE(1, 8, 0))
++ if ((cairo_version() >= CAIRO_VERSION_ENCODE(1, 8, 0))
++ && (cairo_version() <= CAIRO_VERSION_ENCODE(1, 13, 0)))
+ {
+- // For cairo > 1.8 we seem to need this adjustment
++ // For cairo > 1.8 and < 1.13 we seem to need this adjustment
+ srcRectInBase.origin.y -= 2 * (source->offset.y - ssize.height);
+ }
+
diff --git a/gnustep-base/gnustep-back-cairo/files/gnustep-back-cairo-0.24.0-format-security.patch b/gnustep-base/gnustep-back-cairo/files/gnustep-back-cairo-0.24.0-format-security.patch
new file mode 100644
index 000000000000..c773b734af75
--- /dev/null
+++ b/gnustep-base/gnustep-back-cairo/files/gnustep-back-cairo-0.24.0-format-security.patch
@@ -0,0 +1,15 @@
+From: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
+Subject: Pass a proper format string to syslog()
+Last-Update: 2011-11-17
+
+--- gnustep-back.orig/Tools/gpbs.m
++++ gnustep-back/Tools/gpbs.m
+@@ -64,7 +64,7 @@
+ {
+ if (is_daemon)
+ {
+- syslog (log_priority | prio, ebuf);
++ syslog (log_priority | prio, "%s", ebuf);
+ }
+ else if (prio == LOG_INFO)
+ {
diff --git a/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.22.0.ebuild b/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.22.0.ebuild
new file mode 100644
index 000000000000..7a6de9e1bc87
--- /dev/null
+++ b/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.22.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit gnustep-base
+
+DESCRIPTION="Cairo back-end component for the GNUstep GUI Library"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="opengl xim"
+
+RDEPEND="${GNUSTEP_CORE_DEPEND}
+ =gnustep-base/gnustep-gui-${PV%.*}*
+ opengl? ( virtual/opengl virtual/glu )
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXft
+ x11-libs/libXrender
+ >=media-libs/freetype-2.1.9
+
+ >=x11-libs/cairo-1.2.0[X]
+
+ !gnustep-base/gnustep-back-art
+ !gnustep-base/gnustep-back-xlib"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/gnustep-back-${PV}
+
+src_configure() {
+ egnustep_env
+
+ myconf="$(use_enable opengl glx)"
+ myconf="$myconf $(use_enable xim)"
+ myconf="$myconf --enable-server=x11"
+ myconf="$myconf --enable-graphics=cairo"
+
+ econf $myconf
+}
diff --git a/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.23.0.ebuild b/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.23.0.ebuild
new file mode 100644
index 000000000000..2f4d9488cc1c
--- /dev/null
+++ b/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.23.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit gnustep-base
+
+DESCRIPTION="Cairo back-end component for the GNUstep GUI Library"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="opengl xim"
+
+RDEPEND="${GNUSTEP_CORE_DEPEND}
+ =gnustep-base/gnustep-gui-${PV%.*}*
+ opengl? ( virtual/opengl virtual/glu )
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXft
+ x11-libs/libXrender
+ >=media-libs/freetype-2.1.9
+
+ >=x11-libs/cairo-1.2.0[X]
+
+ !gnustep-base/gnustep-back-art
+ !gnustep-base/gnustep-back-xlib"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/gnustep-back-${PV}
+
+src_configure() {
+ egnustep_env
+
+ myconf="$(use_enable opengl glx)"
+ myconf="$myconf $(use_enable xim)"
+ myconf="$myconf --enable-server=x11"
+ myconf="$myconf --enable-graphics=cairo"
+
+ econf $myconf
+}
diff --git a/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.24.0-r1.ebuild b/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.24.0-r1.ebuild
new file mode 100644
index 000000000000..e2cfd23c3a45
--- /dev/null
+++ b/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.24.0-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils gnustep-base
+
+DESCRIPTION="Cairo back-end component for the GNUstep GUI Library"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="opengl xim"
+
+RDEPEND="${GNUSTEP_CORE_DEPEND}
+ =gnustep-base/gnustep-gui-${PV%.*}*
+ opengl? ( virtual/opengl virtual/glu )
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXft
+ x11-libs/libXrender
+ >=media-libs/freetype-2.1.9
+
+ >=x11-libs/cairo-1.2.0[X]
+
+ !gnustep-base/gnustep-back-art
+ !gnustep-base/gnustep-back-xlib"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/gnustep-back-${PV}
+
+src_prepare() {
+ gnustep-base_src_prepare
+ epatch "${FILESDIR}"/${P}-cairo-scrolling.patch
+ epatch "${FILESDIR}"/${P}-format-security.patch
+}
+
+src_configure() {
+ egnustep_env
+
+ myconf="$(use_enable opengl glx)"
+ myconf="$myconf $(use_enable xim)"
+ myconf="$myconf --enable-server=x11"
+ myconf="$myconf --enable-graphics=cairo"
+
+ econf $myconf
+}
diff --git a/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.24.0.ebuild b/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.24.0.ebuild
new file mode 100644
index 000000000000..3b4dbd8518c8
--- /dev/null
+++ b/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.24.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit gnustep-base
+
+DESCRIPTION="Cairo back-end component for the GNUstep GUI Library"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="opengl xim"
+
+RDEPEND="${GNUSTEP_CORE_DEPEND}
+ =gnustep-base/gnustep-gui-${PV%.*}*
+ opengl? ( virtual/opengl virtual/glu )
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXft
+ x11-libs/libXrender
+ >=media-libs/freetype-2.1.9
+
+ >=x11-libs/cairo-1.2.0[X]
+
+ !gnustep-base/gnustep-back-art
+ !gnustep-base/gnustep-back-xlib"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/gnustep-back-${PV}
+
+src_configure() {
+ egnustep_env
+
+ myconf="$(use_enable opengl glx)"
+ myconf="$myconf $(use_enable xim)"
+ myconf="$myconf --enable-server=x11"
+ myconf="$myconf --enable-graphics=cairo"
+
+ econf $myconf
+}
diff --git a/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.24.1.ebuild b/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.24.1.ebuild
new file mode 100644
index 000000000000..84fff819a1a7
--- /dev/null
+++ b/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.24.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils gnustep-base
+
+DESCRIPTION="Cairo back-end component for the GNUstep GUI Library"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="opengl xim"
+
+RDEPEND="${GNUSTEP_CORE_DEPEND}
+ =gnustep-base/gnustep-gui-${PV%.*}*
+ opengl? ( virtual/opengl virtual/glu )
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXft
+ x11-libs/libXrender
+ >=media-libs/freetype-2.1.9
+
+ >=x11-libs/cairo-1.2.0[X]
+
+ !gnustep-base/gnustep-back-art
+ !gnustep-base/gnustep-back-xlib"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/gnustep-back-${PV}
+
+src_configure() {
+ egnustep_env
+
+ myconf="$(use_enable opengl glx)"
+ myconf="$myconf $(use_enable xim)"
+ myconf="$myconf --enable-server=x11"
+ myconf="$myconf --enable-graphics=cairo"
+
+ econf $myconf
+}
diff --git a/gnustep-base/gnustep-back-cairo/metadata.xml b/gnustep-base/gnustep-back-cairo/metadata.xml
new file mode 100644
index 000000000000..9094147f6f66
--- /dev/null
+++ b/gnustep-base/gnustep-back-cairo/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gnustep</herd>
+<longdescription>
+ Cairo back-end component for the GNUstep GUI Library.
+</longdescription>
+<use>
+ <flag name='xim'>Enable X11 XiM input method</flag>
+</use>
+</pkgmetadata>
diff --git a/gnustep-base/gnustep-back-xlib/Manifest b/gnustep-base/gnustep-back-xlib/Manifest
new file mode 100644
index 000000000000..fae3e0e79c93
--- /dev/null
+++ b/gnustep-base/gnustep-back-xlib/Manifest
@@ -0,0 +1,4 @@
+DIST gnustep-back-0.22.0.tar.gz 935034 SHA256 b9bf26346737d87160af669c3073b4eb511c743056af90aedb631e1537513608 SHA512 849078bd6c93df7177569d8d4d9b6ecf02e5aac6b60e51c8ae60f08bf45b30fe5abcc2c519d80c593c051d7eead31c219d32d24d95e2db8021fadea638d98478 WHIRLPOOL b21ebccb1afe84a144896312a6f7fc8403da2b39b92952ac9e5f1de02b7dfa218de0289c9333d4f9a21746739ac46ee22d1139d6df98e6d3c09063667d9ee6d6
+DIST gnustep-back-0.23.0.tar.gz 942380 SHA256 7e897849bf0359d2401a426c75bda89117b5506910892b4eb15262edfb26bbdc SHA512 8789e738b18e4eb1996024c449c4550a392404eb71693569a4b561df22652840a06ca4681b3ec7d47ff3d3d36755a065e956de9203f380c0cc60c76bb412b99c WHIRLPOOL 7b46d1a066889f40c00aa949b65d113027b6e0689349d686db83fd68a7c3a25d03a15c6b04f6c2b4d04ab7b61454bba428d2a3cbdea87541898ce68ec41e7017
+DIST gnustep-back-0.24.0.tar.gz 966735 SHA256 5fc2ed70076d1cd9d51bf3ad85c71a42bfd29e3fd7c22421cc1de739695c3d62 SHA512 d27ae170ad23ee18a5471f41ee67bcde6ee4ba3e7fa522dac72a1f7fdb363d64a15432e6abbf972089483b356959d060df91d797ab820a01ca4bd85af700bf57 WHIRLPOOL ef713f8ef84db12a75a2c1d1a56666c64edbf11ea302b1ed1f55a556eaecdbad74853ef736e665c5a2849210d7c273277c9a3d47ef5f7ca4a7544525367589e9
+DIST gnustep-back-0.24.1.tar.gz 966529 SHA256 e255628e0f9be9b10359bb1be6690c50a0929bc383e6996966076492af02457e SHA512 7de422b6743d9f8c20bdc1a9a1dda06cbd7bde31eca87a41a457640ec18ca2640797071def5c111383de379537350e57917ca10a156744c7b9db421cdb2db313 WHIRLPOOL 28bd8a4c4e5ceffb06260f5ef58d5500a167825fce876bb0d0465db7926492685f45ffdb4b2d8270553acb513b866592fc333a775ca37dad7021866dd72419ea
diff --git a/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.22.0.ebuild b/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.22.0.ebuild
new file mode 100644
index 000000000000..068c45282e49
--- /dev/null
+++ b/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.22.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit gnustep-base
+
+DESCRIPTION="Default X11 back-end component for the GNUstep GUI Library"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="opengl xim"
+
+RDEPEND="${GNUSTEP_CORE_DEPEND}
+ =gnustep-base/gnustep-gui-${PV%.*}*
+ opengl? ( virtual/opengl virtual/glu )
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXft
+ x11-libs/libXrender
+ >=media-libs/freetype-2.1.9
+
+ !gnustep-base/gnustep-back-art
+ !gnustep-base/gnustep-back-cairo"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/gnustep-back-${PV}
+
+src_configure() {
+ egnustep_env
+
+ myconf="$(use_enable opengl glx)"
+ myconf="$myconf $(use_enable xim)"
+ myconf="$myconf --enable-server=x11"
+ myconf="$myconf --enable-graphics=xlib"
+
+ econf $myconf
+}
diff --git a/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.23.0.ebuild b/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.23.0.ebuild
new file mode 100644
index 000000000000..270a75abfeae
--- /dev/null
+++ b/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.23.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit gnustep-base
+
+DESCRIPTION="Default X11 back-end component for the GNUstep GUI Library"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="opengl xim"
+
+RDEPEND="${GNUSTEP_CORE_DEPEND}
+ =gnustep-base/gnustep-gui-${PV%.*}*
+ opengl? ( virtual/opengl virtual/glu )
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXft
+ x11-libs/libXrender
+ >=media-libs/freetype-2.1.9
+
+ !gnustep-base/gnustep-back-art
+ !gnustep-base/gnustep-back-cairo"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/gnustep-back-${PV}
+
+src_configure() {
+ egnustep_env
+
+ myconf="$(use_enable opengl glx)"
+ myconf="$myconf $(use_enable xim)"
+ myconf="$myconf --enable-server=x11"
+ myconf="$myconf --enable-graphics=xlib"
+
+ econf $myconf
+}
diff --git a/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.24.0.ebuild b/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.24.0.ebuild
new file mode 100644
index 000000000000..42a32d51f2fb
--- /dev/null
+++ b/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.24.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit gnustep-base
+
+DESCRIPTION="Default X11 back-end component for the GNUstep GUI Library"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="opengl xim"
+
+RDEPEND="${GNUSTEP_CORE_DEPEND}
+ =gnustep-base/gnustep-gui-${PV%.*}*
+ opengl? ( virtual/opengl virtual/glu )
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXft
+ x11-libs/libXrender
+ >=media-libs/freetype-2.1.9
+
+ !gnustep-base/gnustep-back-art
+ !gnustep-base/gnustep-back-cairo"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/gnustep-back-${PV}
+
+src_configure() {
+ egnustep_env
+
+ myconf="$(use_enable opengl glx)"
+ myconf="$myconf $(use_enable xim)"
+ myconf="$myconf --enable-server=x11"
+ myconf="$myconf --enable-graphics=xlib"
+
+ econf $myconf
+}
diff --git a/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.24.1.ebuild b/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.24.1.ebuild
new file mode 100644
index 000000000000..2d3e8e3b9802
--- /dev/null
+++ b/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.24.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit gnustep-base
+
+DESCRIPTION="Default X11 back-end component for the GNUstep GUI Library"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="opengl xim"
+
+RDEPEND="${GNUSTEP_CORE_DEPEND}
+ =gnustep-base/gnustep-gui-${PV%.*}*
+ opengl? ( virtual/opengl virtual/glu )
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXft
+ x11-libs/libXrender
+ >=media-libs/freetype-2.1.9
+
+ !gnustep-base/gnustep-back-art
+ !gnustep-base/gnustep-back-cairo"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/gnustep-back-${PV}
+
+src_configure() {
+ egnustep_env
+
+ myconf="$(use_enable opengl glx)"
+ myconf="$myconf $(use_enable xim)"
+ myconf="$myconf --enable-server=x11"
+ myconf="$myconf --enable-graphics=xlib"
+
+ econf $myconf
+}
diff --git a/gnustep-base/gnustep-back-xlib/metadata.xml b/gnustep-base/gnustep-back-xlib/metadata.xml
new file mode 100644
index 000000000000..395546fb789d
--- /dev/null
+++ b/gnustep-base/gnustep-back-xlib/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gnustep</herd>
+<longdescription>
+It is a back-end component for the GNUstep GUI Library. The
+implementation of the GNUstep GUI Library is designed in two parts. The
+first part is the front-end component which is independent of platform
+and display system. This front-end is combined with a back-end
+component which handles all of the display system dependent such as
+specific calls to the X Window System. This design allows the GNUstep
+applications to have the "look and feel" of the underlying display
+system without any changes to the application, and the library can be
+easily ported to other display systems.
+
+The GNUstep GUI Backend is for platforms using the X-Window System or
+Window's Systems. It works via a DPS emulation engine to emulate the
+DPS functions required by the front-end system.
+
+This package installs a backend that supports X11.
+</longdescription>
+<use>
+ <flag name='xim'>Enable X11 XiM input method</flag>
+</use>
+</pkgmetadata>
diff --git a/gnustep-base/gnustep-base/Manifest b/gnustep-base/gnustep-base/Manifest
new file mode 100644
index 000000000000..818976494a77
--- /dev/null
+++ b/gnustep-base/gnustep-base/Manifest
@@ -0,0 +1,3 @@
+DIST gnustep-base-1.24.6.tar.gz 3502981 SHA256 b6d7bed40c52330928a1e27f8c7b5f8fcf24ede2113542546dcf157a9366d72a SHA512 998b39039cf199d7cd2e8ffded4fa320af1484db80971def0024d1bd6915456d10e30206ffcf1a9d249973e987570bc22dd297068296deab3d3d40a86c7e72e0 WHIRLPOOL 97264750420d9f02c0bbc12cea1218287519745f058dbeb6b532d89d32e6d5a6433e97b562774abe072f1a4ad33094afb23bdae4ec6aa9f267fb495173c9e601
+DIST gnustep-base-1.24.7.tar.gz 3471931 SHA256 3a907dd955abc41a148da88bd48ce654010050dff52aa20870dfeb190c871762 SHA512 a623b6e5884d8e9bcf04b92bc4c873528abb58d8b831cab91b00d8af393ea07cda0672d98c2dfd2b91fe3f5922ed387518321412151d2e8c1296d7ac30608e5b WHIRLPOOL 0c76467725e694acbf75768f0913f3a95cccb1c7b171fff4323612aa5cdad091e8fe93c46e15289414e505f96804ec22e05623d858d235859a0d392f9b8e6971
+DIST gnustep-base-1.24.8.tar.gz 3515290 SHA256 5b2a7042bc5001e97ac090143244a4344a6cba72cee53f3840e2492d3db443cb SHA512 ab783b2ab69f4d845d81c51db54686a4064b7ecec45e039d6e17ab8492d16304cfa67ee46a7e80219cbe9b7293b6b203342df0fab5020fd5ba6190d71c9b10df WHIRLPOOL 7f98c200fb8542d18206ad3a73423d7c9910665add63cf5495e31065ac07219ac08e6ca740a508484f6d0c561870e5738273079ccbfddf9fe69a3893ae17f182
diff --git a/gnustep-base/gnustep-base/files/gnustep-base-1.24.6-gdomap_dos.patch b/gnustep-base/gnustep-base/files/gnustep-base-1.24.6-gdomap_dos.patch
new file mode 100644
index 000000000000..ed348f9867a7
--- /dev/null
+++ b/gnustep-base/gnustep-base/files/gnustep-base-1.24.6-gdomap_dos.patch
@@ -0,0 +1,65 @@
+--- libs/base/trunk/Tools/gdomap.c 2014/03/19 08:07:41 37755
++++ libs/base/trunk/Tools/gdomap.c 2014/03/19 08:18:09 37756
+@@ -296,7 +296,7 @@
+ # define syslog(prio, msg,...) slogf(_SLOG_SETCODE(_SLOG_SYSLOG, 0), prio, msg, __VA_ARGS__)
+ # endif
+
+-static int log_priority;
++static int log_priority = 0;
+
+ static void
+ gdomap_log (int prio)
+@@ -4481,16 +4481,7 @@
+ const char *machine = 0;
+ const char *lookupf = 0;
+ int donamesf = 0;
+-
+-#if defined(HAVE_SYSLOG)
+- /* Initially, gdomap_log errors to stderr as well as to syslogd. */
+-#if defined(SYSLOG_4_2)
+- openlog ("gdomap", LOG_NDELAY);
+- log_priority = LOG_DAEMON;
+-#elif !defined(HAVE_SLOGF)
+- openlog ("gdomap", LOG_NDELAY, LOG_DAEMON);
+-#endif
+-#endif
++ int forked = 0;
+
+ #if defined(__MINGW__)
+ WORD wVersionRequested;
+@@ -4851,7 +4842,6 @@
+ #else
+ if (nofork == 0)
+ {
+- is_daemon = 1;
+ /*
+ * Now fork off child process to run in background.
+ */
+@@ -4865,6 +4855,7 @@
+ /*
+ * Try to run in background.
+ */
++ forked = 1;
+ #if defined(NeXT)
+ setpgrp(0, getpid());
+ #else
+@@ -4924,6 +4915,19 @@
+
+ #endif /* !__MINGW__ */
+
++ if (forked)
++ {
++ is_daemon = 1;
++#if defined(HAVE_SYSLOG)
++#if defined(SYSLOG_4_2)
++ openlog ("gdomap", LOG_NDELAY);
++ log_priority = LOG_DAEMON;
++#elif !defined(HAVE_SLOGF)
++ openlog ("gdomap", LOG_NDELAY, LOG_DAEMON);
++#endif
++#endif
++ }
++
+ init_my_port(); /* Determine port to listen on. */
+ init_ports(); /* Create ports to handle requests. */
+
diff --git a/gnustep-base/gnustep-base/gnustep-base-1.24.6-r1.ebuild b/gnustep-base/gnustep-base/gnustep-base-1.24.6-r1.ebuild
new file mode 100644
index 000000000000..d7f4327c3235
--- /dev/null
+++ b/gnustep-base/gnustep-base/gnustep-base-1.24.6-r1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils gnustep-base
+
+DESCRIPTION="A library of general-purpose, non-graphical Objective C objects"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha amd64 ppc ~ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+IUSE="+icu +libffi ssl zeroconf"
+
+RDEPEND="${GNUSTEP_CORE_DEPEND}
+ >=gnustep-base/gnustep-make-2.6.0
+ icu? ( >=dev-libs/icu-4.0:= )
+ !libffi? ( dev-libs/ffcall
+ gnustep-base/gnustep-make[-native-exceptions] )
+ libffi? ( virtual/libffi )
+ ssl? ( net-libs/gnutls )
+ >=dev-libs/libxml2-2.6
+ >=dev-libs/libxslt-1.1
+ >=dev-libs/gmp-4.1
+ >=dev-libs/openssl-0.9.7
+ >=sys-libs/zlib-1.2
+ zeroconf? ( net-dns/avahi )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gdomap_dos.patch
+}
+
+src_configure() {
+ egnustep_env
+
+ local myconf
+ if use libffi;
+ then
+ myconf="--enable-libffi --disable-ffcall --with-ffi-include=$(pkg-config --variable=includedir libffi)"
+ else
+ myconf="--disable-libffi --enable-ffcall"
+ fi
+
+ myconf="$myconf $(use_enable icu)"
+ myconf="$myconf $(use_enable ssl tls)"
+ myconf="$myconf $(use_enable zeroconf)"
+ myconf="$myconf --with-xml-prefix=${EPREFIX}/usr"
+ myconf="$myconf --with-gmp-include=${EPREFIX}/usr/include --with-gmp-library=${EPREFIX}/usr/lib"
+ myconf="$myconf --with-default-config=${EPREFIX}/etc/GNUstep/GNUstep.conf"
+
+ econf $myconf
+}
+
+src_install() {
+ # We need to set LD_LIBRARY_PATH because the doc generation program
+ # uses the gnustep-base libraries. Since egnustep_env "cleans the
+ # environment" including our LD_LIBRARY_PATH, we're left no choice
+ # but doing it like this.
+
+ egnustep_env
+ egnustep_install
+
+ if use doc ; then
+ export LD_LIBRARY_PATH="${S}/Source/obj:${LD_LIBRARY_PATH}"
+ egnustep_doc
+ fi
+ egnustep_install_config
+}
diff --git a/gnustep-base/gnustep-base/gnustep-base-1.24.7.ebuild b/gnustep-base/gnustep-base/gnustep-base-1.24.7.ebuild
new file mode 100644
index 000000000000..42529b9b21c5
--- /dev/null
+++ b/gnustep-base/gnustep-base/gnustep-base-1.24.7.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils gnustep-base
+
+DESCRIPTION="A library of general-purpose, non-graphical Objective C objects"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+IUSE="+icu +libffi ssl zeroconf"
+
+RDEPEND="${GNUSTEP_CORE_DEPEND}
+ >=gnustep-base/gnustep-make-2.6.0
+ icu? ( >=dev-libs/icu-4.0:= )
+ !libffi? ( dev-libs/ffcall
+ gnustep-base/gnustep-make[-native-exceptions] )
+ libffi? ( virtual/libffi )
+ ssl? ( net-libs/gnutls )
+ >=dev-libs/libxml2-2.6
+ >=dev-libs/libxslt-1.1
+ >=dev-libs/gmp-4.1
+ >=dev-libs/openssl-0.9.7
+ >=sys-libs/zlib-1.2
+ zeroconf? ( net-dns/avahi )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ egnustep_env
+
+ local myconf
+ if use libffi;
+ then
+ myconf="--enable-libffi --disable-ffcall --with-ffi-include=$(pkg-config --variable=includedir libffi)"
+ else
+ myconf="--disable-libffi --enable-ffcall"
+ fi
+
+ myconf="$myconf $(use_enable icu)"
+ myconf="$myconf $(use_enable ssl tls)"
+ myconf="$myconf $(use_enable zeroconf)"
+ myconf="$myconf --with-xml-prefix=${EPREFIX}/usr"
+ myconf="$myconf --with-gmp-include=${EPREFIX}/usr/include --with-gmp-library=${EPREFIX}/usr/lib"
+ myconf="$myconf --with-default-config=${EPREFIX}/etc/GNUstep/GNUstep.conf"
+
+ econf $myconf
+}
+
+src_install() {
+ # We need to set LD_LIBRARY_PATH because the doc generation program
+ # uses the gnustep-base libraries. Since egnustep_env "cleans the
+ # environment" including our LD_LIBRARY_PATH, we're left no choice
+ # but doing it like this.
+
+ egnustep_env
+ egnustep_install
+
+ if use doc ; then
+ export LD_LIBRARY_PATH="${S}/Source/obj:${LD_LIBRARY_PATH}"
+ egnustep_doc
+ fi
+ egnustep_install_config
+}
diff --git a/gnustep-base/gnustep-base/gnustep-base-1.24.8.ebuild b/gnustep-base/gnustep-base/gnustep-base-1.24.8.ebuild
new file mode 100644
index 000000000000..2ccde491aad9
--- /dev/null
+++ b/gnustep-base/gnustep-base/gnustep-base-1.24.8.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils gnustep-base
+
+DESCRIPTION="A library of general-purpose, non-graphical Objective C objects"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+IUSE="+icu +libffi ssl zeroconf"
+
+RDEPEND="${GNUSTEP_CORE_DEPEND}
+ >=gnustep-base/gnustep-make-2.6.0
+ icu? ( >=dev-libs/icu-4.0:= )
+ !libffi? ( dev-libs/ffcall
+ gnustep-base/gnustep-make[-native-exceptions] )
+ libffi? ( virtual/libffi )
+ ssl? ( net-libs/gnutls )
+ >=dev-libs/libxml2-2.6
+ >=dev-libs/libxslt-1.1
+ >=dev-libs/gmp-4.1:=
+ >=dev-libs/openssl-0.9.7:=
+ >=sys-libs/zlib-1.2
+ zeroconf? ( net-dns/avahi )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ egnustep_env
+
+ local myconf
+ if use libffi;
+ then
+ myconf="--enable-libffi --disable-ffcall --with-ffi-include=$(pkg-config --variable=includedir libffi)"
+ else
+ myconf="--disable-libffi --enable-ffcall"
+ fi
+
+ myconf="$myconf $(use_enable icu)"
+ myconf="$myconf $(use_enable ssl tls)"
+ myconf="$myconf $(use_enable zeroconf)"
+ myconf="$myconf --with-xml-prefix=${EPREFIX}/usr"
+ myconf="$myconf --with-gmp-include=${EPREFIX}/usr/include --with-gmp-library=${EPREFIX}/usr/lib"
+ myconf="$myconf --with-default-config=${EPREFIX}/etc/GNUstep/GNUstep.conf"
+
+ econf $myconf
+}
+
+src_install() {
+ # We need to set LD_LIBRARY_PATH because the doc generation program
+ # uses the gnustep-base libraries. Since egnustep_env "cleans the
+ # environment" including our LD_LIBRARY_PATH, we're left no choice
+ # but doing it like this.
+
+ egnustep_env
+ egnustep_install
+
+ if use doc ; then
+ export LD_LIBRARY_PATH="${S}/Source/obj:${LD_LIBRARY_PATH}"
+ egnustep_doc
+ fi
+ egnustep_install_config
+}
diff --git a/gnustep-base/gnustep-base/metadata.xml b/gnustep-base/gnustep-base/metadata.xml
new file mode 100644
index 000000000000..7c59c8111c68
--- /dev/null
+++ b/gnustep-base/gnustep-base/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gnustep</herd>
+<longdescription>
+The GNUstep Base Library is a library of general-purpose, non-graphical
+Objective C objects. For example, it includes classes for strings,
+object collections, byte streams, typed coders, invocations,
+notifications, notification dispatchers, moments in time, network ports,
+remote object messaging support (distributed objects), and event loops.
+
+It provides functionality that aims to implement the non-graphical
+portion of the OpenStep standard (the Foundation library).
+</longdescription>
+</pkgmetadata>
diff --git a/gnustep-base/gnustep-gui/Manifest b/gnustep-base/gnustep-gui/Manifest
new file mode 100644
index 000000000000..7b1087120dd4
--- /dev/null
+++ b/gnustep-base/gnustep-gui/Manifest
@@ -0,0 +1,5 @@
+DIST gnustep-gui-0.22.0.tar.gz 2734733 SHA256 201a02da45a3ad2285fee6a6fcc7c8a463632e27d3175d7293e2290e573fca5d SHA512 b9704ac2147f9154acf4077fa8fe691180966535789d2495409d8688738597af1e025eebb5397180a680d3aeb285233608de05b5ec89cb2f7ef2b152865a7afb WHIRLPOOL 6929a40ff6bcbe60bcda79783549127483aa1384bc54dafcd0a14089dcae70d0815afaa1b6ea0e83c77b90595c7fbffcbb696890e69676b30a6e7894113b1c7f
+DIST gnustep-gui-0.23.0.tar.gz 2771544 SHA256 222886988dd4a94852d7c2d71bce4ef575c7c4a13cdaa4b4588ffb45a9f1a62e SHA512 76c1e37e06cd052c046a512217448c32c100b9823764a7ddb93a2f15537424f9db981675f73c3efda5296c4d77497fedc89216fb8f537bef96516b0424af30f5 WHIRLPOOL 65dd47c11dd9dff48fcfee17fcfc7763e7bf7ad4f721839f48a5daed9fc2c4ac055d6d60ec8a9b32492de626cb5c492fc8e98deaf69fc4373557c8e80d12af52
+DIST gnustep-gui-0.23.1.tar.gz 2776304 SHA256 417df23ac58e57d6b447e42849106f60c556bce13000e868d0713a7979817cab SHA512 ece579f134f21d8cca5645b026bb8bf260c397e7e5a8481c3a6e518fe5d0a6a449b7ddf80a4a9259451cfbb4df4e68eb6055d454237065d7076db4b56d9619f4 WHIRLPOOL 7d251adfcc615532b17a69fbc3d28a6f550df12dce6c2194bb254774807abfbb59466c3b47f4ae1545ad1b277f00f1908c8ada3ea4e99eee08c88cffdb3bd2e2
+DIST gnustep-gui-0.24.0.tar.gz 2816889 SHA256 afcbe6633d24a9ee56efdf3d5b990b7baaa0b7f6288d2b72feb233e599fbd234 SHA512 290087c1c985e3542515b2dc48db420ebcf2b37833daad213bb976927b8fc4c5a693e00306ba901031cec90cef29b3d818d26131d72fe86c1c52d9a08b768306 WHIRLPOOL 98b773005b7882111406f59e0e2404e4ba0e16be88eb02bd262899fda2dbcf8f992eb8ac9ae5a1e5b1b7e903c3b00ba5115c94a365b51ae44dc098482c487de8
+DIST gnustep-gui-0.24.1.tar.gz 2837611 SHA256 a749573c99d668b83230cc40b8b215b13d62e795615799a873981406cf2bb728 SHA512 b78865a10b8fbe51f50a88f0d8a79515662bb983c84e249380a8fd72059a18a7c6d90050bc2edf81eea57893d81ad63cf0d7f594c5beb15ad8633944fa2229ce WHIRLPOOL 541dcb758c48010f00e76056d3423b3ca90b5003b4d2bcc6c86d7efe1fc1e003f1005ec37a35dce9edc76e86f1f130ab234576cb5b204808e4af574c939afe98
diff --git a/gnustep-base/gnustep-gui/gnustep-gui-0.22.0.ebuild b/gnustep-base/gnustep-gui/gnustep-gui-0.22.0.ebuild
new file mode 100644
index 000000000000..c215df1c82a2
--- /dev/null
+++ b/gnustep-base/gnustep-gui/gnustep-gui-0.22.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit gnustep-base multilib
+
+DESCRIPTION="Library of GUI classes written in Obj-C"
+HOMEPAGE="http://www.gnustep.org/"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha amd64 ppc sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="cups gif jpeg png speech"
+
+DEPEND="${GNUSTEP_CORE_DEPEND}
+ app-text/aspell
+ >=gnustep-base/gnustep-base-1.24.0
+ media-libs/audiofile
+ >=media-libs/tiff-3
+ x11-libs/libXt
+ cups? ( >=net-print/cups-1.1 )
+ gif? ( >=media-libs/giflib-4.1 )
+ jpeg? ( virtual/jpeg )
+ png? ( >=media-libs/libpng-1.2 )
+ speech? ( app-accessibility/flite )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ gnustep-base_src_prepare
+
+ # remove hardcoded -g -Werror, bug #378179
+ sed -i -e 's/-g -Werror//' \
+ Tools/say/GNUmakefile \
+ Tools/speech/GNUmakefile \
+ || die
+}
+
+src_configure() {
+ egnustep_env
+
+ local myconf=
+ use gif && myconf="--disable-ungif --enable-libgif"
+
+ econf \
+ $(use_enable cups) \
+ $(use_enable jpeg) \
+ $(use_enable png) \
+ $(use_enable speech) \
+ --with-tiff-include="${EPREFIX}"/usr/include \
+ --with-tiff-library="${EPREFIX}"/usr/$(get_libdir) \
+ ${myconf}
+}
+
+pkg_postinst() {
+ ewarn "The shared library version has changed in this release."
+ ewarn "You will need to recompile all Applications/Tools/etc in order"
+ ewarn "to use this library. Please run revdep-rebuild to do so"
+}
diff --git a/gnustep-base/gnustep-gui/gnustep-gui-0.23.0.ebuild b/gnustep-base/gnustep-gui/gnustep-gui-0.23.0.ebuild
new file mode 100644
index 000000000000..1c8b9705efdf
--- /dev/null
+++ b/gnustep-base/gnustep-gui/gnustep-gui-0.23.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit gnustep-base multilib
+
+DESCRIPTION="Library of GUI classes written in Obj-C"
+HOMEPAGE="http://www.gnustep.org/"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="cups gif jpeg png speech"
+
+DEPEND="${GNUSTEP_CORE_DEPEND}
+ app-text/aspell
+ >=gnustep-base/gnustep-base-1.24.0
+ media-libs/audiofile
+ >=media-libs/tiff-3
+ x11-libs/libXt
+ cups? ( >=net-print/cups-1.1 )
+ gif? ( >=media-libs/giflib-4.1 )
+ jpeg? ( virtual/jpeg )
+ png? ( >=media-libs/libpng-1.2 )
+ speech? ( app-accessibility/flite )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ gnustep-base_src_prepare
+
+ # remove hardcoded -g -Werror, bug #378179
+ sed -i -e 's/-g -Werror//' \
+ Tools/say/GNUmakefile \
+ Tools/speech/GNUmakefile \
+ || die
+}
+
+src_configure() {
+ egnustep_env
+
+ local myconf=
+ use gif && myconf="--disable-ungif --enable-libgif"
+
+ econf \
+ $(use_enable cups) \
+ $(use_enable jpeg) \
+ $(use_enable png) \
+ $(use_enable speech) \
+ --with-tiff-include="${EPREFIX}"/usr/include \
+ --with-tiff-library="${EPREFIX}"/usr/$(get_libdir) \
+ ${myconf}
+}
+
+pkg_postinst() {
+ ewarn "The shared library version has changed in this release."
+ ewarn "You will need to recompile all Applications/Tools/etc in order"
+ ewarn "to use this library. Please run revdep-rebuild to do so"
+}
diff --git a/gnustep-base/gnustep-gui/gnustep-gui-0.23.1.ebuild b/gnustep-base/gnustep-gui/gnustep-gui-0.23.1.ebuild
new file mode 100644
index 000000000000..1c8b9705efdf
--- /dev/null
+++ b/gnustep-base/gnustep-gui/gnustep-gui-0.23.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit gnustep-base multilib
+
+DESCRIPTION="Library of GUI classes written in Obj-C"
+HOMEPAGE="http://www.gnustep.org/"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="cups gif jpeg png speech"
+
+DEPEND="${GNUSTEP_CORE_DEPEND}
+ app-text/aspell
+ >=gnustep-base/gnustep-base-1.24.0
+ media-libs/audiofile
+ >=media-libs/tiff-3
+ x11-libs/libXt
+ cups? ( >=net-print/cups-1.1 )
+ gif? ( >=media-libs/giflib-4.1 )
+ jpeg? ( virtual/jpeg )
+ png? ( >=media-libs/libpng-1.2 )
+ speech? ( app-accessibility/flite )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ gnustep-base_src_prepare
+
+ # remove hardcoded -g -Werror, bug #378179
+ sed -i -e 's/-g -Werror//' \
+ Tools/say/GNUmakefile \
+ Tools/speech/GNUmakefile \
+ || die
+}
+
+src_configure() {
+ egnustep_env
+
+ local myconf=
+ use gif && myconf="--disable-ungif --enable-libgif"
+
+ econf \
+ $(use_enable cups) \
+ $(use_enable jpeg) \
+ $(use_enable png) \
+ $(use_enable speech) \
+ --with-tiff-include="${EPREFIX}"/usr/include \
+ --with-tiff-library="${EPREFIX}"/usr/$(get_libdir) \
+ ${myconf}
+}
+
+pkg_postinst() {
+ ewarn "The shared library version has changed in this release."
+ ewarn "You will need to recompile all Applications/Tools/etc in order"
+ ewarn "to use this library. Please run revdep-rebuild to do so"
+}
diff --git a/gnustep-base/gnustep-gui/gnustep-gui-0.24.0.ebuild b/gnustep-base/gnustep-gui/gnustep-gui-0.24.0.ebuild
new file mode 100644
index 000000000000..7f99276889ca
--- /dev/null
+++ b/gnustep-base/gnustep-gui/gnustep-gui-0.24.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit gnustep-base multilib
+
+DESCRIPTION="Library of GUI classes written in Obj-C"
+HOMEPAGE="http://www.gnustep.org/"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha amd64 ppc sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="cups gif jpeg png speech"
+
+DEPEND="${GNUSTEP_CORE_DEPEND}
+ app-text/aspell
+ >=gnustep-base/gnustep-base-1.24.6
+ media-libs/audiofile
+ >=media-libs/tiff-3
+ x11-libs/libXt
+ cups? ( >=net-print/cups-1.7.4 )
+ gif? ( >=media-libs/giflib-4.1 )
+ jpeg? ( virtual/jpeg )
+ png? ( >=media-libs/libpng-1.2 )
+ speech? ( app-accessibility/flite )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ gnustep-base_src_prepare
+
+ # remove hardcoded -g -Werror, bug #378179
+ sed -i -e 's/-g -Werror//' \
+ Tools/say/GNUmakefile \
+ Tools/speech/GNUmakefile \
+ || die
+}
+
+src_configure() {
+ egnustep_env
+
+ local myconf=
+ use gif && myconf="--disable-ungif --enable-libgif"
+
+ econf \
+ $(use_enable cups) \
+ $(use_enable jpeg) \
+ $(use_enable png) \
+ $(use_enable speech) \
+ --with-tiff-include="${EPREFIX}"/usr/include \
+ --with-tiff-library="${EPREFIX}"/usr/$(get_libdir) \
+ ${myconf}
+}
diff --git a/gnustep-base/gnustep-gui/gnustep-gui-0.24.1.ebuild b/gnustep-base/gnustep-gui/gnustep-gui-0.24.1.ebuild
new file mode 100644
index 000000000000..d32a70b8602a
--- /dev/null
+++ b/gnustep-base/gnustep-gui/gnustep-gui-0.24.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit gnustep-base multilib
+
+DESCRIPTION="Library of GUI classes written in Obj-C"
+HOMEPAGE="http://www.gnustep.org/"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="cups gif icu jpeg png speech"
+
+DEPEND="${GNUSTEP_CORE_DEPEND}
+ app-text/aspell
+ >=gnustep-base/gnustep-base-1.24.6[icu?]
+ media-libs/audiofile
+ >=media-libs/tiff-3:=
+ x11-libs/libXt
+ cups? ( >=net-print/cups-1.7.4:= )
+ gif? ( >=media-libs/giflib-4.1:= )
+ icu? ( dev-libs/icu:= )
+ jpeg? ( virtual/jpeg:= )
+ png? ( >=media-libs/libpng-1.2:= )
+ speech? ( app-accessibility/flite )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ gnustep-base_src_prepare
+
+ # remove hardcoded -g -Werror, bug #378179
+ sed -i -e 's/-g -Werror//' \
+ Tools/say/GNUmakefile \
+ Tools/speech/GNUmakefile \
+ || die
+}
+
+src_configure() {
+ egnustep_env
+
+ local myconf=
+ use gif && myconf="--disable-ungif --enable-libgif"
+
+ econf \
+ $(use_enable cups) \
+ $(use_enable icu) \
+ $(use_enable jpeg) \
+ $(use_enable png) \
+ $(use_enable speech) \
+ --with-tiff-include="${EPREFIX}"/usr/include \
+ --with-tiff-library="${EPREFIX}"/usr/$(get_libdir) \
+ ${myconf}
+}
diff --git a/gnustep-base/gnustep-gui/metadata.xml b/gnustep-base/gnustep-gui/metadata.xml
new file mode 100644
index 000000000000..90eca9e75e77
--- /dev/null
+++ b/gnustep-base/gnustep-gui/metadata.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gnustep</herd>
+<use>
+ <flag name="speech">Audio support using <pkg>app-accessibility/flite</pkg></flag>
+</use>
+<longdescription>
+It is a library of graphical user interface classes written completely
+in the Objective-C language; the classes are based upon the OpenStep
+specification as release by NeXT Software, Inc. The library has been
+enhanced in a number of ways to take advantage of the GNU system.
+These classes include graphical objects such as buttons, text fields,
+popup lists, browser lists, and windows; there are also many associated
+classes for handling events, colors, fonts, pasteboards and images.
+
+The GNUstep GUI Library is designed in two parts. The first part is
+the front-end component which is independent of platform and display
+system. This front-end is combined with a back-end component which
+handles all of the display system dependent such as specific calls to
+X/Windows. This design allows the GNUstep applications to have the
+"look and feel" of the underlying display system without any changes to
+the application, and the library can be easily ported to other display
+systems.
+
+The GNUstep GUI Library requires the GNU Objective-C compiler, the
+GNUstep Base Library, the TIFF Graphics library, and a back-end
+component like the GNUstep 'Back' Backend.
+</longdescription>
+</pkgmetadata>
diff --git a/gnustep-base/gnustep-make/Manifest b/gnustep-base/gnustep-make/Manifest
new file mode 100644
index 000000000000..8fee46901d26
--- /dev/null
+++ b/gnustep-base/gnustep-make/Manifest
@@ -0,0 +1,3 @@
+DIST gnustep-make-2.6.2.tar.gz 562770 SHA256 7a95b3fc5bf14f6b06c4f1f716b48e9de13a11c1fa972aa3cc87736cd98f3e3a SHA512 5ef7889418e7e5acc40cd045772b08d178333dd7cb396b46bfcc117b8953c868cffff5ad41153f6cf2029f1d78d7213516cf1c2cfc88f028ffb883d0e83ea6a4 WHIRLPOOL 73f0953ba044323349a60393ca644031bac13ea48dab6ccbbf533ee5e52daa8411f6b7bdc4fc8928536c37c5edcaf3a6ef40c3c2ee335c0608b5c8d3a6d890d5
+DIST gnustep-make-2.6.6.tar.gz 576589 SHA256 bcef14d875ff70b26dfc9e892f33bd3665e3d5d9b12eca0c4f2aae133aca981d SHA512 bfabcca446e37a167a5ee2da5230023387ed6edec3ca9f7067131f0f1296eb32754f35db13e7fb4670ac9bb9fa2ccfeb728adb63b692ed7f3f8f30ba39276224 WHIRLPOOL 0872046506300e23c40d23a01f29641d299bdc87d4c35d9c189064ed9110fbb7c6aaaf67626282eaa0a1a4a7bc3920617654a412222c19b98571a115020fa033
+DIST gnustep-make-2.6.7.tar.gz 583730 SHA256 112b57737c3dcc66c78a5c88925ae1d672673d256d9935598e98bcd687d051e4 SHA512 4470844ec50d51ce4609b0ec8031e5dcb8422e46fbcfb6b3d6d2fee11f3b8140f6b07edcc3b8462177acb65d81cd4bc29a4fd86793ae52d6106e698170b0dad0 WHIRLPOOL da525cc4502e082ab1cce5f75c05472a1029041cf327104e714a2641f79961c4ecb9deb2afb707ae83af2fea1e50b0c064b27dd20e84d17d137a75226936d64f
diff --git a/gnustep-base/gnustep-make/files/gnustep-4.csh b/gnustep-base/gnustep-make/files/gnustep-4.csh
new file mode 100644
index 000000000000..e784f842e27f
--- /dev/null
+++ b/gnustep-base/gnustep-make/files/gnustep-4.csh
@@ -0,0 +1,19 @@
+#!/usr/bin/env csh
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Test for an interactive shell
+if ( $?prompt ) then
+
+ setenv GNUSTEP_SYSTEM_TOOLS "@GENTOO_PORTAGE_EPREFIX@"/usr/bin
+
+ if ( -x $GNUSTEP_SYSTEM_TOOLS/make_services ) then
+ $GNUSTEP_SYSTEM_TOOLS/make_services
+ endif
+
+ if ( -x $GNUSTEP_SYSTEM_TOOLS/gdnc ) then
+ $GNUSTEP_SYSTEM_TOOLS/gdnc
+ endif
+
+endif
diff --git a/gnustep-base/gnustep-make/files/gnustep-4.sh b/gnustep-base/gnustep-make/files/gnustep-4.sh
new file mode 100644
index 000000000000..c5d2ff89dc8e
--- /dev/null
+++ b/gnustep-base/gnustep-make/files/gnustep-4.sh
@@ -0,0 +1,23 @@
+#!/usr/bin/env sh
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Test for an interactive shell
+case $- in
+ *i*)
+ ;;
+ *)
+ return
+ ;;
+esac
+
+GNUSTEP_SYSTEM_TOOLS="@GENTOO_PORTAGE_EPREFIX@"/usr/bin
+
+if [ -x ${GNUSTEP_SYSTEM_TOOLS}/make_services ]; then
+ ${GNUSTEP_SYSTEM_TOOLS}/make_services
+fi
+
+if [ -x ${GNUSTEP_SYSTEM_TOOLS}/gdnc ]; then
+ ${GNUSTEP_SYSTEM_TOOLS}/gdnc
+fi
diff --git a/gnustep-base/gnustep-make/files/gnustep-5.csh b/gnustep-base/gnustep-make/files/gnustep-5.csh
new file mode 100644
index 000000000000..c2afa910c9a7
--- /dev/null
+++ b/gnustep-base/gnustep-make/files/gnustep-5.csh
@@ -0,0 +1,13 @@
+#!/usr/bin/env csh
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Test for an interactive shell
+if ( $?prompt ) then
+ setenv GNUSTEP_SYSTEM_TOOLS "@GENTOO_PORTAGE_EPREFIX@"/usr/bin
+
+ if ( -x $GNUSTEP_SYSTEM_TOOLS/make_services ) then
+ $GNUSTEP_SYSTEM_TOOLS/make_services
+ endif
+endif
diff --git a/gnustep-base/gnustep-make/files/gnustep-5.sh b/gnustep-base/gnustep-make/files/gnustep-5.sh
new file mode 100644
index 000000000000..7fa5e105d5ff
--- /dev/null
+++ b/gnustep-base/gnustep-make/files/gnustep-5.sh
@@ -0,0 +1,19 @@
+#!/usr/bin/env sh
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Test for an interactive shell
+case $- in
+ *i*)
+ ;;
+ *)
+ return
+ ;;
+esac
+
+GNUSTEP_SYSTEM_TOOLS="@GENTOO_PORTAGE_EPREFIX@"/usr/bin
+
+if [ -x ${GNUSTEP_SYSTEM_TOOLS}/make_services ]; then
+ ${GNUSTEP_SYSTEM_TOOLS}/make_services
+fi
diff --git a/gnustep-base/gnustep-make/files/gnustep-make-2.0.1-destdir.patch b/gnustep-base/gnustep-make/files/gnustep-make-2.0.1-destdir.patch
new file mode 100644
index 000000000000..407a5145724e
--- /dev/null
+++ b/gnustep-base/gnustep-make/files/gnustep-make-2.0.1-destdir.patch
@@ -0,0 +1,21 @@
+* grobian@gentoo.org: because we use sandbox this check fails (cannot
+ write outside the DESTDIR. Allowing to write in the
+ GNUSTEP_INSTALLATION_DIR means our sandbox is useless, since then
+ everything can be written, so prefer to just check the DESTDIR
+ location instead.
+
+--- Master/rules.make
++++ Master/rules.make
+@@ -107,9 +107,9 @@
+
+ ifneq ($(GNUSTEP_INSTALLATION_DIR),)
+ internal-check-install-permissions:
+- @if [ -d "$(GNUSTEP_INSTALLATION_DIR)" \
+- -a ! -w "$(GNUSTEP_INSTALLATION_DIR)" ]; then \
+- echo "*ERROR*: the software is configured to install itself into $(GNUSTEP_INSTALLATION_DIR)"; \
++ @if [ -d "$(DESTDIR)$(GNUSTEP_INSTALLATION_DIR)" \
++ -a ! -w "$(DESTDIR)$(GNUSTEP_INSTALLATION_DIR)" ]; then \
++ echo "*ERROR*: the software is configured to install itself into $(DESTDIR)$(GNUSTEP_INSTALLATION_DIR)"; \
+ echo "but you do not have permissions to write in that directory:";\
+ echo "Aborting installation."; \
+ echo ""; \
diff --git a/gnustep-base/gnustep-make/files/testlibobjc.m b/gnustep-base/gnustep-make/files/testlibobjc.m
new file mode 100644
index 000000000000..225113c24d7e
--- /dev/null
+++ b/gnustep-base/gnustep-make/files/testlibobjc.m
@@ -0,0 +1,10 @@
+/**
+ * Use "gcc -Werror -Wl,-l:libobjc.so.x testlibobjc.m -o /dev/null"
+ * #import generates a warning with non-objc
+ */
+#import <stdio.h>
+
+int main( int argc, const char *argv[] ) {
+ printf("Linker test\n");
+ return 0;
+}
diff --git a/gnustep-base/gnustep-make/gnustep-make-2.6.2.ebuild b/gnustep-base/gnustep-make/gnustep-make-2.6.2.ebuild
new file mode 100644
index 000000000000..ac3226808d23
--- /dev/null
+++ b/gnustep-base/gnustep-make/gnustep-make-2.6.2.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit gnustep-base eutils prefix toolchain-funcs
+
+DESCRIPTION="GNUstep Makefile Package"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+IUSE="native-exceptions"
+
+DEPEND="${GNUSTEP_CORE_DEPEND}
+ >=sys-devel/make-3.75
+ >=sys-devel/gcc-3.3[objc]
+ !!gnustep-base/libobjc2"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ # Determine libobjc.so to use
+ if use libobjc2; then
+ libobjc_version=libobjc.so.4
+ else
+ # Find version in active gcc
+ for ver in {2..5};
+ do
+ if $(tc-getCC) -Werror -Wl,-l:libobjc.so.${ver} \
+ "${FILESDIR}"/testlibobjc.m -o /dev/null 2> /dev/null;
+ then
+ libobjc_version=libobjc.so.${ver}
+ fi
+ done
+ fi
+
+ # Stop if we could not get libobjc.so
+ if [[ -z ${libobjc_version} ]]; then
+ die "Could not find Objective-C runtime"
+ fi
+
+ # For existing installations, determine if we will use another libobjc.so
+ if has_version gnustep-base/gnustep-make; then
+ local current_libobjc="$(awk -F: '/^OBJC_LIB_FLAG/ {print $2}' ${EPREFIX}/usr/share/GNUstep/Makefiles/config.make)"
+ # Old installations did not set this explicitely
+ : ${current_libobjc:=libobjc.so.2}
+
+ if [[ ${current_libobjc} != ${libobjc_version} ]]; then
+ ewarn "Warning: changed libobjc.so version!!"
+ ewarn "The libobjc.so version used for gnustep-make has changed"
+ ewarn "(either by the libojbc2 use-flag or a GCC upgrade)"
+ ewarn "You must rebuild all gnustep packages installed."
+ ewarn ""
+ ewarn "To do so, please emerge gnustep-base/gnustep-updater and run:"
+ ewarn "# gnustep-updater -l"
+ fi
+ fi
+
+ if use libobjc2; then
+ export CC=clang
+ fi
+}
+
+src_prepare() {
+ # Multilib-strict
+ sed -e "s#/lib#/$(get_libdir)#" -i FilesystemLayouts/fhs-system || die "sed failed"
+ epatch "${FILESDIR}"/${PN}-2.0.1-destdir.patch
+ cp "${FILESDIR}"/gnustep-4.{csh,sh} "${T}"/
+ eprefixify "${T}"/gnustep-4.{csh,sh}
+}
+
+src_configure() {
+ #--enable-objc-nonfragile-abi: only working in clang for now
+ econf \
+ --with-layout=fhs-system \
+ --with-config-file="${EPREFIX}"/etc/GNUstep/GNUstep.conf \
+ --with-objc-lib-flag=-l:${libobjc_version} \
+ $(use_enable libobjc2 objc-nonfragile-abi) \
+ $(use_enable native-exceptions native-objc-exceptions)
+}
+
+src_compile() {
+ emake
+ # Prepare doc here (needed when no gnustep-make is already installed)
+ if use doc ; then
+ # If a gnustep-1 environment is set
+ unset GNUSTEP_MAKEFILES
+ pushd Documentation &> /dev/null
+ emake all install
+ popd &> /dev/null
+ fi
+}
+
+src_install() {
+ # Get GNUSTEP_* variables
+ . ./GNUstep.conf
+
+ local make_eval
+ use debug || make_eval="${make_eval} debug=no"
+ make_eval="${make_eval} verbose=yes"
+
+ emake ${make_eval} DESTDIR="${D}" install
+
+ # Copy the documentation
+ if use doc ; then
+ dodir ${GNUSTEP_SYSTEM_DOC}
+ cp -r Documentation/tmp-installation/System/Library/Documentation/* \
+ "${ED}"${GNUSTEP_SYSTEM_DOC=}
+ fi
+
+ dodoc FAQ README RELEASENOTES
+
+ exeinto /etc/profile.d
+ doexe "${T}"/gnustep-4.sh
+ doexe "${T}"/gnustep-4.csh
+}
+
+pkg_postinst() {
+ # Warn about new layout if old GNUstep directory is still here
+ if [ -e /usr/GNUstep/System ]; then
+ ewarn "Old layout directory detected (/usr/GNUstep/System)"
+ ewarn "Gentoo has switched to FHS layout for GNUstep packages"
+ ewarn "You must first update the configuration files from this package,"
+ ewarn "then remerge all packages still installed with the old layout"
+ ewarn "You can use gnustep-base/gnustep-updater for this task"
+ fi
+}
diff --git a/gnustep-base/gnustep-make/gnustep-make-2.6.6.ebuild b/gnustep-base/gnustep-make/gnustep-make-2.6.6.ebuild
new file mode 100644
index 000000000000..cff40af6a0ff
--- /dev/null
+++ b/gnustep-base/gnustep-make/gnustep-make-2.6.6.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit gnustep-base eutils prefix toolchain-funcs
+
+DESCRIPTION="GNUstep Makefile Package"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+IUSE="libobjc2 native-exceptions"
+
+DEPEND="${GNUSTEP_CORE_DEPEND}
+ >=sys-devel/make-3.75
+ libobjc2? ( gnustep-base/libobjc2
+ >=sys-devel/clang-2.9 )
+ !libobjc2? ( >=sys-devel/gcc-3.3:=[objc]
+ !!gnustep-base/libobjc2 )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ # Determine libobjc.so to use
+ if use libobjc2; then
+ libobjc_version=libobjc.so.4
+ else
+ # Find version in active gcc
+ for ver in {2..5};
+ do
+ if $(tc-getCC) -Werror -Wl,-l:libobjc.so.${ver} \
+ "${FILESDIR}"/testlibobjc.m -o /dev/null 2> /dev/null;
+ then
+ libobjc_version=libobjc.so.${ver}
+ fi
+ done
+ fi
+
+ # Stop if we could not get libobjc.so
+ if [[ -z ${libobjc_version} ]]; then
+ die "Could not find Objective-C runtime"
+ fi
+
+ # For existing installations, determine if we will use another libobjc.so
+ if has_version gnustep-base/gnustep-make; then
+ local current_libobjc="$(awk -F: '/^OBJC_LIB_FLAG/ {print $2}' ${EPREFIX}/usr/share/GNUstep/Makefiles/config.make)"
+ # Old installations did not set this explicitely
+ : ${current_libobjc:=libobjc.so.2}
+
+ if [[ ${current_libobjc} != ${libobjc_version} ]]; then
+ ewarn "Warning: changed libobjc.so version!!"
+ ewarn "The libobjc.so version used for gnustep-make has changed"
+ ewarn "(either by the libojbc2 use-flag or a GCC upgrade)"
+ ewarn "You must rebuild all gnustep packages installed."
+ ewarn ""
+ ewarn "To do so, please emerge gnustep-base/gnustep-updater and run:"
+ ewarn "# gnustep-updater -l"
+ fi
+ fi
+
+ if use libobjc2; then
+ export CC=clang
+ fi
+}
+
+src_prepare() {
+ # Multilib-strict
+ sed -e "s#/lib#/$(get_libdir)#" -i FilesystemLayouts/fhs-system || die "sed failed"
+ cp "${FILESDIR}"/gnustep-5.{csh,sh} "${T}"/
+ eprefixify "${T}"/gnustep-5.{csh,sh}
+}
+
+src_configure() {
+ #--enable-objc-nonfragile-abi: only working in clang for now
+ econf \
+ INSTALL="${EPREFIX}"/usr/bin/install \
+ --with-layout=fhs-system \
+ --with-config-file="${EPREFIX}"/etc/GNUstep/GNUstep.conf \
+ --with-objc-lib-flag=-l:${libobjc_version} \
+ $(use_enable libobjc2 objc-nonfragile-abi) \
+ $(use_enable native-exceptions native-objc-exceptions)
+}
+
+src_compile() {
+ emake
+ # Prepare doc here (needed when no gnustep-make is already installed)
+ if use doc ; then
+ # If a gnustep-1 environment is set
+ unset GNUSTEP_MAKEFILES
+ pushd Documentation &> /dev/null
+ emake -j1 all install
+ popd &> /dev/null
+ fi
+}
+
+src_install() {
+ # Get GNUSTEP_* variables
+ . ./GNUstep.conf
+
+ local make_eval
+ use debug || make_eval="${make_eval} debug=no"
+ make_eval="${make_eval} verbose=yes"
+
+ emake ${make_eval} DESTDIR="${D}" install
+
+ # Copy the documentation
+ if use doc ; then
+ dodir ${GNUSTEP_SYSTEM_DOC}
+ cp -r Documentation/tmp-installation/System/Library/Documentation/* \
+ "${ED}"${GNUSTEP_SYSTEM_DOC=}
+ fi
+
+ dodoc FAQ README RELEASENOTES
+
+ exeinto /etc/profile.d
+ doexe "${T}"/gnustep-?.sh
+ doexe "${T}"/gnustep-?.csh
+}
+
+pkg_postinst() {
+ # Warn about new layout if old GNUstep directory is still here
+ if [ -e /usr/GNUstep/System ]; then
+ ewarn "Old layout directory detected (/usr/GNUstep/System)"
+ ewarn "Gentoo has switched to FHS layout for GNUstep packages"
+ ewarn "You must first update the configuration files from this package,"
+ ewarn "then remerge all packages still installed with the old layout"
+ ewarn "You can use gnustep-base/gnustep-updater for this task"
+ fi
+}
diff --git a/gnustep-base/gnustep-make/gnustep-make-2.6.7.ebuild b/gnustep-base/gnustep-make/gnustep-make-2.6.7.ebuild
new file mode 100644
index 000000000000..cff40af6a0ff
--- /dev/null
+++ b/gnustep-base/gnustep-make/gnustep-make-2.6.7.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit gnustep-base eutils prefix toolchain-funcs
+
+DESCRIPTION="GNUstep Makefile Package"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+IUSE="libobjc2 native-exceptions"
+
+DEPEND="${GNUSTEP_CORE_DEPEND}
+ >=sys-devel/make-3.75
+ libobjc2? ( gnustep-base/libobjc2
+ >=sys-devel/clang-2.9 )
+ !libobjc2? ( >=sys-devel/gcc-3.3:=[objc]
+ !!gnustep-base/libobjc2 )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ # Determine libobjc.so to use
+ if use libobjc2; then
+ libobjc_version=libobjc.so.4
+ else
+ # Find version in active gcc
+ for ver in {2..5};
+ do
+ if $(tc-getCC) -Werror -Wl,-l:libobjc.so.${ver} \
+ "${FILESDIR}"/testlibobjc.m -o /dev/null 2> /dev/null;
+ then
+ libobjc_version=libobjc.so.${ver}
+ fi
+ done
+ fi
+
+ # Stop if we could not get libobjc.so
+ if [[ -z ${libobjc_version} ]]; then
+ die "Could not find Objective-C runtime"
+ fi
+
+ # For existing installations, determine if we will use another libobjc.so
+ if has_version gnustep-base/gnustep-make; then
+ local current_libobjc="$(awk -F: '/^OBJC_LIB_FLAG/ {print $2}' ${EPREFIX}/usr/share/GNUstep/Makefiles/config.make)"
+ # Old installations did not set this explicitely
+ : ${current_libobjc:=libobjc.so.2}
+
+ if [[ ${current_libobjc} != ${libobjc_version} ]]; then
+ ewarn "Warning: changed libobjc.so version!!"
+ ewarn "The libobjc.so version used for gnustep-make has changed"
+ ewarn "(either by the libojbc2 use-flag or a GCC upgrade)"
+ ewarn "You must rebuild all gnustep packages installed."
+ ewarn ""
+ ewarn "To do so, please emerge gnustep-base/gnustep-updater and run:"
+ ewarn "# gnustep-updater -l"
+ fi
+ fi
+
+ if use libobjc2; then
+ export CC=clang
+ fi
+}
+
+src_prepare() {
+ # Multilib-strict
+ sed -e "s#/lib#/$(get_libdir)#" -i FilesystemLayouts/fhs-system || die "sed failed"
+ cp "${FILESDIR}"/gnustep-5.{csh,sh} "${T}"/
+ eprefixify "${T}"/gnustep-5.{csh,sh}
+}
+
+src_configure() {
+ #--enable-objc-nonfragile-abi: only working in clang for now
+ econf \
+ INSTALL="${EPREFIX}"/usr/bin/install \
+ --with-layout=fhs-system \
+ --with-config-file="${EPREFIX}"/etc/GNUstep/GNUstep.conf \
+ --with-objc-lib-flag=-l:${libobjc_version} \
+ $(use_enable libobjc2 objc-nonfragile-abi) \
+ $(use_enable native-exceptions native-objc-exceptions)
+}
+
+src_compile() {
+ emake
+ # Prepare doc here (needed when no gnustep-make is already installed)
+ if use doc ; then
+ # If a gnustep-1 environment is set
+ unset GNUSTEP_MAKEFILES
+ pushd Documentation &> /dev/null
+ emake -j1 all install
+ popd &> /dev/null
+ fi
+}
+
+src_install() {
+ # Get GNUSTEP_* variables
+ . ./GNUstep.conf
+
+ local make_eval
+ use debug || make_eval="${make_eval} debug=no"
+ make_eval="${make_eval} verbose=yes"
+
+ emake ${make_eval} DESTDIR="${D}" install
+
+ # Copy the documentation
+ if use doc ; then
+ dodir ${GNUSTEP_SYSTEM_DOC}
+ cp -r Documentation/tmp-installation/System/Library/Documentation/* \
+ "${ED}"${GNUSTEP_SYSTEM_DOC=}
+ fi
+
+ dodoc FAQ README RELEASENOTES
+
+ exeinto /etc/profile.d
+ doexe "${T}"/gnustep-?.sh
+ doexe "${T}"/gnustep-?.csh
+}
+
+pkg_postinst() {
+ # Warn about new layout if old GNUstep directory is still here
+ if [ -e /usr/GNUstep/System ]; then
+ ewarn "Old layout directory detected (/usr/GNUstep/System)"
+ ewarn "Gentoo has switched to FHS layout for GNUstep packages"
+ ewarn "You must first update the configuration files from this package,"
+ ewarn "then remerge all packages still installed with the old layout"
+ ewarn "You can use gnustep-base/gnustep-updater for this task"
+ fi
+}
diff --git a/gnustep-base/gnustep-make/metadata.xml b/gnustep-base/gnustep-make/metadata.xml
new file mode 100644
index 000000000000..3a2f3184686c
--- /dev/null
+++ b/gnustep-base/gnustep-make/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gnustep</herd>
+<herd>proxy-maintainers</herd>
+<longdescription>
+The makefile package is a simple, powerful and extensible way to write
+makefiles for a GNUstep-based project. It allows the user to write a
+project without having to deal with the complex issues associated with
+configuration, building, installation, and packaging. It also allows
+the user to easily create cross-compiled binaries.
+</longdescription>
+<use>
+ <flag name='libobjc2'>Enables use of the GNUstep Objective-C runtime (<pkg>gnustep-base/libobjc2</pkg>) with non-fragile ABI and <pkg>sys-devel/clang</pkg> compiler</flag>
+ <flag name='native-exceptions'>Enables use of the native Objective-C exception support (@try/@catch/@finally) built-in objective-c exceptions with compilers that support it </flag>
+</use>
+</pkgmetadata>
diff --git a/gnustep-base/gnustep-updater/Manifest b/gnustep-base/gnustep-updater/Manifest
new file mode 100644
index 000000000000..1b368a780ca2
--- /dev/null
+++ b/gnustep-base/gnustep-updater/Manifest
@@ -0,0 +1,2 @@
+DIST gnustep-updater-0.2.tar.bz2 3523 SHA256 9bd5cb66ff8a4365e365d630691a79349b642e3af720fdaeef5ed25589ca7953
+DIST gnustep-updater-0.3.tar.bz2 3685 SHA256 001fcd21cf76f511af3cc734400dee009cfc61a9cc95e233ed9cdc6a42a4041a SHA512 079b51c54a7860c4eea65ffc63172ea69e88de4a34f2ca0d0c5ad3a1342ea37ee69edb107f287f04d33c3ee03658edd5386d1323f47e9bc201bc70d68d0c9c4b WHIRLPOOL 7bc5df801d94fbee8cb4a644c93157f5ab047cb2d417f2dd77afbb67129242f40d5d94ca77a93eb9b0d1254814a0095b8691b7663cbfd196ea7b8721fb40ab15
diff --git a/gnustep-base/gnustep-updater/gnustep-updater-0.2.ebuild b/gnustep-base/gnustep-updater/gnustep-updater-0.2.ebuild
new file mode 100644
index 000000000000..22d3c674e6e4
--- /dev/null
+++ b/gnustep-base/gnustep-updater/gnustep-updater-0.2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+DESCRIPTION="Helper tool to upgrade Gentoo GNUstep installations"
+HOMEPAGE="http://www.gentoo.org"
+SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+IUSE=""
+
+DEPEND="app-shells/bash"
+RDEPEND="${DEPEND}
+ app-misc/pax-utils
+ >=gnustep-base/gnustep-make-2.6.0"
+
+src_install() {
+ dosbin gnustep-updater
+ doman gnustep-updater.1
+}
diff --git a/gnustep-base/gnustep-updater/gnustep-updater-0.3.ebuild b/gnustep-base/gnustep-updater/gnustep-updater-0.3.ebuild
new file mode 100644
index 000000000000..538c3cb0d795
--- /dev/null
+++ b/gnustep-base/gnustep-updater/gnustep-updater-0.3.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+DESCRIPTION="Helper tool to upgrade Gentoo GNUstep installations"
+HOMEPAGE="http://www.gentoo.org"
+SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ppc ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+IUSE=""
+
+DEPEND="app-shells/bash"
+RDEPEND="${DEPEND}
+ app-misc/pax-utils
+ >=gnustep-base/gnustep-make-2.6.0"
+
+src_install() {
+ dosbin gnustep-updater
+ doman gnustep-updater.1
+}
diff --git a/gnustep-base/gnustep-updater/metadata.xml b/gnustep-base/gnustep-updater/metadata.xml
new file mode 100644
index 000000000000..5dad78fef623
--- /dev/null
+++ b/gnustep-base/gnustep-updater/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>gnustep</herd>
+ <longdescription>Helper tool to upgrade Gentoo GNUstep installations, after
+ the switch to FHS layout for example</longdescription>
+</pkgmetadata>
diff --git a/gnustep-base/libobjc2/Manifest b/gnustep-base/libobjc2/Manifest
new file mode 100644
index 000000000000..bd1867ff5dca
--- /dev/null
+++ b/gnustep-base/libobjc2/Manifest
@@ -0,0 +1,4 @@
+DIST gnustep-make-2.6.2.tar.gz 562770 SHA256 7a95b3fc5bf14f6b06c4f1f716b48e9de13a11c1fa972aa3cc87736cd98f3e3a SHA512 5ef7889418e7e5acc40cd045772b08d178333dd7cb396b46bfcc117b8953c868cffff5ad41153f6cf2029f1d78d7213516cf1c2cfc88f028ffb883d0e83ea6a4 WHIRLPOOL 73f0953ba044323349a60393ca644031bac13ea48dab6ccbbf533ee5e52daa8411f6b7bdc4fc8928536c37c5edcaf3a6ef40c3c2ee335c0608b5c8d3a6d890d5
+DIST libobjc2-1.6.1.tar.bz2 116263 SHA256 941764684e764f25864d3f318d5cac80b5b899df40d485c521742431fc13e2f9 SHA512 e43bf867ca734e76274826a222a10e9b603e085a9dd245912ee16603bb61e276fcd9388918f61aba7d0bded0c045bc9799f7e24b309d670d144175707662f9c8 WHIRLPOOL e3c259ffdbc6978d531f0e91ccc522fcc9832f95f173dfe0be67650654b1e048ea14b49c2ac0b81df916aafd712b084a004fd13e970bbbc0c03e8a6d7a206d3e
+DIST libobjc2-1.7.tar.bz2 132662 SHA256 3a1b4af6ff6f3d8e57bfb27401d1b249670ac2e92ba54ad5683ff3d4439d3cc1 SHA512 d44631ec39533128d4d4a1138cfb3c00c9383cd1b722c3dcb8ed679832c00b559516072af6fdd5e464aa1de493358127a37c295994244a1573f4ff86056c24a9 WHIRLPOOL 1dabe89e48cc446c56a509b07c5b3fba84686116bf57d456ed29fd583b8ab6cd035712c24f9c584a8433b72347fa3f4e412bc22ea2ce6985793f7d93cf6758eb
+DIST libobjc2-1.8.tar.gz 173512 SHA256 b11957c58a08b97f314b410bcafaa4eacabdc417e8e865e5b802a621c3147bbe SHA512 1562e42dc43a24c1655d02db7aa101a48a7b026bec23252c8eec3893fbac0d67368685291df0954ee79f07b92ecc13c68ee7c7b0f351428a31e99ed05ed2230d WHIRLPOOL 7bbbfee09b1c4e24cc08a6d2b70449343d1245677e68023a374490e6bd2548fe39600a5c61c3e0534aacd338e775a200f37160f177f2fee197f5fd36ba0eaaa4
diff --git a/gnustep-base/libobjc2/files/libobjc2-1.7-fix_soname.patch b/gnustep-base/libobjc2/files/libobjc2-1.7-fix_soname.patch
new file mode 100644
index 000000000000..ba1aa8ecea91
--- /dev/null
+++ b/gnustep-base/libobjc2/files/libobjc2-1.7-fix_soname.patch
@@ -0,0 +1,58 @@
+diff -Naur libobjc2-1.7.orig/CMakeLists.txt libobjc2-1.7/CMakeLists.txt
+--- libobjc2-1.7.orig/CMakeLists.txt 2013-06-27 13:30:41.000000000 +0200
++++ libobjc2-1.7/CMakeLists.txt 2015-05-20 13:20:55.214244088 +0200
+@@ -8,7 +8,8 @@
+ set(CMAKE_C_FLAGS_RELEASE "-O3 ${CMAKE_C_FLAGS_RELEASE}")
+ set(CMAKE_C_FLAGS "-std=gnu99 ${CMAKE_C_FLAGS}")
+
+-set(libobjc_VERSION 4.6)
++set(libobjc_SOVERSION 4)
++set(libobjc_VERSION 4.6.0)
+
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fexceptions")
+ # Build configuration
+@@ -204,7 +205,8 @@
+ add_library(objcxx SHARED ${libobjcxx_CXX_SRCS})
+ set_target_properties(objcxx PROPERTIES
+ LINKER_LANGUAGE C
+- SOVERSION ${libobjc_VERSION}
++ SOVERSION ${libobjc_SOVERSION}
++ VERSION ${libobjc_VERSION}
+ )
+ target_link_libraries(objcxx ${CXX_RUNTIME})
+ set(CXX_RUNTIME "")
+@@ -220,7 +222,8 @@
+ add_library(objcxx SHARED ${libobjcxx_CXX_SRCS})
+ set_target_properties(objcxx PROPERTIES
+ LINKER_LANGUAGE C
+- SOVERSION ${libobjc_VERSION}
++ SOVERSION ${libobjc_SOVERSION}
++ VERSION ${libobjc_VERSION}
+ )
+ set(CXX_RUNTIME "")
+ list(APPEND INSTALL_TARGETS objcxx)
+@@ -241,7 +244,8 @@
+
+ set_target_properties(objc PROPERTIES
+ LINKER_LANGUAGE C
+- SOVERSION ${libobjc_VERSION}
++ SOVERSION ${libobjc_SOVERSION}
++ VERSION ${libobjc_VERSION}
+ OUTPUT_NAME ${LIBOBJC_NAME}
+ LINK_FLAGS "${objc_LINK_FLAGS}"
+ )
+@@ -349,3 +353,14 @@
+ add_subdirectory(Test)
+ endif (TESTS)
+
++
++MESSAGE(STATUS "<<< Gentoo configuration >>>
++Build type ${CMAKE_BUILD_TYPE}
++Install path ${CMAKE_INSTALL_PREFIX}
++Compiler flags:
++C ${CMAKE_C_FLAGS}
++C++ ${CMAKE_CXX_FLAGS}
++Linker flags:
++Executable ${CMAKE_EXE_LINKER_FLAGS}
++Module ${CMAKE_MODULE_LINKER_FLAGS}
++Shared ${CMAKE_SHARED_LINKER_FLAGS}\n")
diff --git a/gnustep-base/libobjc2/libobjc2-1.6.1.ebuild b/gnustep-base/libobjc2/libobjc2-1.6.1.ebuild
new file mode 100644
index 000000000000..b090c2bac13c
--- /dev/null
+++ b/gnustep-base/libobjc2/libobjc2-1.6.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit multilib
+
+# We need gnustep-make, but gnustep-make can depend on libobjc
+# Use a temporary setup to install in /usr/
+GSMAKE=gnustep-make-2.6.2
+DESCRIPTION="GNUstep Objective-C runtime"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="http://download.gna.org/gnustep/${P}.tar.bz2
+ ftp://ftp.gnustep.org/pub/gnustep/core/${GSMAKE}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+boehm-gc"
+
+RDEPEND="boehm-gc? ( dev-libs/boehm-gc )"
+DEPEND="${DEPEND}
+ >=sys-devel/clang-2.9"
+
+GSMAKE_S=${WORKDIR}/${GSMAKE}
+
+src_prepare() {
+ # Remove CFLAGS from assembly calls
+ sed -e "s/\$(ALL_CFLAGS)//" -i GNUmakefile || die "Assembly sed failed"
+ # Multilib-strict
+ cd "${GSMAKE_S}"
+ sed -e "s/lib/$(get_libdir)/g" \
+ -i FilesystemLayouts/fhs-system || die "multilib path sed failed"
+}
+
+src_configure() {
+ export CC=clang
+
+ cd "${GSMAKE_S}"
+ econf --with-layout=fhs-system
+}
+
+src_compile() {
+ local gb
+ use boehm-gc \
+ && gb="boehm_gc=yes" \
+ || gb="boehm_gc=no"
+ emake GNUSTEP_MAKEFILES="${GSMAKE_S}" messages=yes ${gb}
+}
+
+src_install() {
+ emake GNUSTEP_MAKEFILES="${GSMAKE_S}" \
+ GNUSTEP_CONFIG_FILE="${GSMAKE_S}"/GNUstep.conf \
+ GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \
+ messages=yes \
+ DESTDIR="${D}" install
+}
diff --git a/gnustep-base/libobjc2/libobjc2-1.7-r1.ebuild b/gnustep-base/libobjc2/libobjc2-1.7-r1.ebuild
new file mode 100644
index 000000000000..258d25c01a1b
--- /dev/null
+++ b/gnustep-base/libobjc2/libobjc2-1.7-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils eutils
+
+DESCRIPTION="GNUstep Objective-C runtime"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="http://download.gna.org/gnustep/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="boehm-gc cxx test"
+
+RDEPEND="boehm-gc? ( dev-libs/boehm-gc )
+ cxx? ( sys-libs/libcxx )"
+DEPEND="${DEPEND}
+ >=sys-devel/clang-2.9"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-fix_soname.patch
+
+ if ! use cxx;
+ then
+ sed -e 's/addtest_flags(CXXExceptions.*//' \
+ -i Test/CMakeLists.txt || die "test sed failed"
+ fi
+}
+
+src_configure() {
+ export CC=clang
+ export CXX=clang++
+
+ export PREFIX=/usr
+ local mycmakeargs=(
+ -DGNUSTEP_CONFIG=GNUSTEP_CONFIG-NOTFOUND
+ $(cmake-utils_use boehm-gc BOEHM_GC)
+ $(cmake-utils_use_enable cxx OBJCXX)
+ $(cmake-utils_use test TESTS)
+ )
+ cmake-utils_src_configure
+}
diff --git a/gnustep-base/libobjc2/libobjc2-1.7.ebuild b/gnustep-base/libobjc2/libobjc2-1.7.ebuild
new file mode 100644
index 000000000000..79c34fa2b438
--- /dev/null
+++ b/gnustep-base/libobjc2/libobjc2-1.7.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils
+
+DESCRIPTION="GNUstep Objective-C runtime"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="http://download.gna.org/gnustep/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="boehm-gc cxx test"
+
+RDEPEND="boehm-gc? ( dev-libs/boehm-gc )
+ cxx? ( sys-libs/libcxx )"
+DEPEND="${DEPEND}
+ >=sys-devel/clang-2.9"
+
+src_prepare() {
+ if ! use cxx;
+ then
+ sed -e 's/addtest_flags(CXXExceptions.*//' \
+ -i Test/CMakeLists.txt || die "test sed failed"
+ fi
+}
+
+src_configure() {
+ export CC=clang
+ export CXX=clang++
+
+ export PREFIX=/usr
+ local mycmakeargs=(
+ -DGNUSTEP_CONFIG=GNUSTEP_CONFIG-NOTFOUND
+ $(cmake-utils_use boehm-gc BOEHM_GC)
+ $(cmake-utils_use_enable cxx OBJCXX)
+ $(cmake-utils_use test TESTS)
+ )
+ cmake-utils_src_configure
+}
diff --git a/gnustep-base/libobjc2/libobjc2-1.8.ebuild b/gnustep-base/libobjc2/libobjc2-1.8.ebuild
new file mode 100644
index 000000000000..a04f02b04a8d
--- /dev/null
+++ b/gnustep-base/libobjc2/libobjc2-1.8.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils eutils
+
+DESCRIPTION="GNUstep Objective-C runtime"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="https://github.com/gnustep/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="boehm-gc cxx test"
+
+RDEPEND="boehm-gc? ( dev-libs/boehm-gc )
+ cxx? ( sys-libs/libcxx )"
+DEPEND="${DEPEND}
+ >=sys-devel/clang-2.9"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.7-fix_soname.patch
+
+ if ! use cxx;
+ then
+ sed -e 's/addtest_flags(CXXExceptions.*//' \
+ -i Test/CMakeLists.txt || die "test sed failed"
+ fi
+}
+
+src_configure() {
+ export CC=clang
+ export CXX=clang++
+
+ export PREFIX=/usr
+ local mycmakeargs=(
+ -DGNUSTEP_CONFIG=GNUSTEP_CONFIG-NOTFOUND
+ $(cmake-utils_use boehm-gc BOEHM_GC)
+ $(cmake-utils_use_enable cxx OBJCXX)
+ $(cmake-utils_use test TESTS)
+ )
+ cmake-utils_src_configure
+}
diff --git a/gnustep-base/libobjc2/metadata.xml b/gnustep-base/libobjc2/metadata.xml
new file mode 100644
index 000000000000..d04df648ed16
--- /dev/null
+++ b/gnustep-base/libobjc2/metadata.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>gnustep</herd>
+ <herd>proxy-maintainers</herd>
+ <longdescription>
+The GNUstep Objective-C runtime is designed as a drop-in replacement for the
+GCC runtime. It supports both a legacy and a modern ABI, allowing code
+compiled with old versions of GCC to be supported without requiring
+recompilation. The modern ABI adds the following features:
+
+- Non-fragile instance variables.
+- Protocol uniquing.
+- Object planes support.
+- Declared property introspection.
+
+Both ABIs support the following feature above and beyond the GCC runtime:
+
+- The modern Objective-C runtime APIs, introduced with OS X 10.5.
+- Blocks (closures).
+- Low memory profile for platforms where memory usage is more important than
+ speed.
+- Synthesised property accessors.
+- Efficient support for @synchronized()
+- Type-dependent dispatch, eliminating stack corruption from mismatched
+ selectors.
+</longdescription>
+ <use>
+ <flag name="boehm-gc">Enable Hans Boehm's garbage collector
+ (<pkg>dev-libs/boehm-gc</pkg>). Not recommended by upstream</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">gnustep/libobjc2</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/gnustep-base/metadata.xml b/gnustep-base/metadata.xml
new file mode 100644
index 000000000000..cdf763f14e4c
--- /dev/null
+++ b/gnustep-base/metadata.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<catmetadata>
+ <longdescription lang="en">
+ The gnustep-base category contains GNUstep base packages.
+ </longdescription>
+ <longdescription lang="de">
+ Die Kategorie gnustep-base enthält die Basispakete der
+ GNUstep-Umgebung.
+ </longdescription>
+ <longdescription lang="es">
+ La categoría gnustep-base contiene los paquetes base de GNUstep.
+ </longdescription>
+ <longdescription lang="ja">
+ gnustep-baseカテゴリーにはGNUstepのベース・パッケージが含まれています。
+ </longdescription>
+ <longdescription lang="nl">
+ De gnustep-base categorie bevat de basispakketten van GNUstep.
+ </longdescription>
+ <longdescription lang="vi">
+ Nhóm gnustep-base chứa các ứng dụng GNUstep cơ bản.
+ </longdescription>
+ <longdescription lang="it">
+ La categoria gnustep-base contiene i pacchetti base di GNUstep.
+ </longdescription>
+ <longdescription lang="pt">
+ A categoria gnustep-base contém os pacotes de base de GNUstep.
+ </longdescription>
+ <longdescription lang="pl">
+ Kategoria gnustep-base zawiera podstawowe pakiety GNUstep.
+ </longdescription>
+</catmetadata>
+
diff --git a/gnustep-base/mknfonts/Manifest b/gnustep-base/mknfonts/Manifest
new file mode 100644
index 000000000000..a9b9eae879f3
--- /dev/null
+++ b/gnustep-base/mknfonts/Manifest
@@ -0,0 +1 @@
+DIST mknfonts.tool_0.5.orig.tar.gz 2890 SHA256 5afc97d63c918f14026239bcc97104c3f990ed144c50f639fd04e03bac207f30
diff --git a/gnustep-base/mknfonts/files/mknfonts-rename.patch b/gnustep-base/mknfonts/files/mknfonts-rename.patch
new file mode 100644
index 000000000000..ffd49997177c
--- /dev/null
+++ b/gnustep-base/mknfonts/files/mknfonts-rename.patch
@@ -0,0 +1,15 @@
+--- mknfonts.m.orig 2007-05-03 11:46:27.000000000 +0200
++++ mknfonts.m 2007-05-03 11:47:34.000000000 +0200
+@@ -310,12 +310,6 @@
+ {
+ fi=[faceinfos objectAtIndex: i];
+ [faces addObject: [fi faceInfoDictionary]];
+- for (j=0;j<[fi->files count];j++)
+- {
+- [fm movePath: [fi->files objectAtIndex: j]
+- toPath: [path stringByAppendingPathComponent: [[fi->files objectAtIndex: j] lastPathComponent]]
+- handler: nil];
+- }
+ }
+
+ [family_info
diff --git a/gnustep-base/mknfonts/metadata.xml b/gnustep-base/mknfonts/metadata.xml
new file mode 100644
index 000000000000..048bebbcbc72
--- /dev/null
+++ b/gnustep-base/mknfonts/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gnustep</herd>
+<longdescription>
+mknfonts is a tool that offers ease of creating new font sets for the gnustep-back-art package.
+</longdescription>
+</pkgmetadata>
diff --git a/gnustep-base/mknfonts/mknfonts-0.5-r1.ebuild b/gnustep-base/mknfonts/mknfonts-0.5-r1.ebuild
new file mode 100644
index 000000000000..d7d3dc482c62
--- /dev/null
+++ b/gnustep-base/mknfonts/mknfonts-0.5-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils gnustep-base
+
+DESCRIPTION="A tool to create .nfont packages for use with gnustep-back-art"
+
+HOMEPAGE="http://packages.debian.org/mknfonts.tool"
+SRC_URI="mirror://debian/pool/main/m/${PN}.tool/${PN}.tool_${PV}.orig.tar.gz"
+KEYWORDS="~alpha amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND="gnustep-base/gnustep-gui
+ >=media-libs/freetype-2.1"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Correct link command for --as-needed
+ sed -i -e "s/ADDITIONAL_LDFLAGS/ADDITIONAL_TOOL_LIBS/" GNUmakefile || die "sed failed"
+ epatch "${FILESDIR}"/${PN}-rename.patch
+}