summaryrefslogtreecommitdiff
path: root/gnustep-base
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-05-14 11:09:11 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-05-14 11:09:11 +0100
commitdeba8115d2c2af26df42966b91ef04ff4dd79cde (patch)
tree9a48f42594e1a9e6b2020d5535a784314434d7a7 /gnustep-base
parent38423c67c8a23f6a1bc42038193182e2da3116eb (diff)
gentoo resync : 14.05.2020
Diffstat (limited to 'gnustep-base')
-rw-r--r--gnustep-base/Manifest.gzbin1721 -> 1721 bytes
-rw-r--r--gnustep-base/gnustep-back-art/Manifest2
-rw-r--r--gnustep-base/gnustep-back-art/gnustep-back-art-0.28.0.ebuild82
-rw-r--r--gnustep-base/gnustep-back-cairo/Manifest2
-rw-r--r--gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.28.0.ebuild47
-rw-r--r--gnustep-base/gnustep-back-xlib/Manifest2
-rw-r--r--gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.28.0.ebuild45
-rw-r--r--gnustep-base/gnustep-base/Manifest2
-rw-r--r--gnustep-base/gnustep-base/gnustep-base-1.27.0.ebuild67
-rw-r--r--gnustep-base/gnustep-gui/Manifest2
-rw-r--r--gnustep-base/gnustep-gui/gnustep-gui-0.28.0.ebuild55
-rw-r--r--gnustep-base/gnustep-make/Manifest2
-rw-r--r--gnustep-base/gnustep-make/gnustep-make-2.8.0.ebuild132
13 files changed, 440 insertions, 0 deletions
diff --git a/gnustep-base/Manifest.gz b/gnustep-base/Manifest.gz
index fc2cdecdcf9b..a27d6bb8e996 100644
--- a/gnustep-base/Manifest.gz
+++ b/gnustep-base/Manifest.gz
Binary files differ
diff --git a/gnustep-base/gnustep-back-art/Manifest b/gnustep-base/gnustep-back-art/Manifest
index 7ddc97d9f136..683e25894cd5 100644
--- a/gnustep-base/gnustep-back-art/Manifest
+++ b/gnustep-base/gnustep-back-art/Manifest
@@ -2,8 +2,10 @@ DIST gnustep-back-0.25.0.tar.gz 974762 BLAKE2B ef3ef5bf822b2cd96ac8f6256708c2751
DIST gnustep-back-0.25.1.tar.gz 974775 BLAKE2B 8050c20f405da340a0f42655ca2b0f43761d60b8ee6eab7ce4bbd5f323f7ab8b59506b0b8c5c057eb8303c0b7efe4d80ab428ca100b319a9b927d74bdb37ddd4 SHA512 0515672c38265499dc3f0be5127053bc7b2478130cac69cb70c29e5887832472dfdcf90b756ab0926ba5967c0be93e041a1f820dc58f973e41b648e08a569656
DIST gnustep-back-0.26.2.tar.gz 969473 BLAKE2B a16b8663492ca1d59ac1267b3e5421cc14672251c273624e4bcc5e587783968baebfcca020c3f0ccaf73de9c0c43f872a303be4c1ef83c78e1bf102d47f2feea SHA512 99912430425e36b386b3f7bb3a49989c92edd20e3166292e6697c532a7f8ae17682c80bb39fa6177c67bb75bcd9befc44f53874eb5ca1406f51af44b15c9685e
DIST gnustep-back-0.27.0.tar.gz 972099 BLAKE2B ca3090d743a3bcc0995e7b2bfbb39dd72aac6d3b8b62036a17860306728e58d432d3075918b7d49e7e1930974e5a5ae5e0c2ae3c2c7ebb383e859106cfc1c072 SHA512 0823a50b6719af1a48139fb7d85eb70d7c1ae367d0c0d00007568131b56372063437ae7b464f0314fc1e7f8d25b87e87b58bcc914c27d2d000ff31deea948ab3
+DIST gnustep-back-0.28.0.tar.gz 973776 BLAKE2B c82792d9c2af45a3a81e1e40c9b0afe7b4dde7846cf4e593ec2f3e816196a321efba2d0d40d14795eed01681845bc6b5d75e8828c689961b6ba2db6de5231568 SHA512 9befc654ec431fe2a23baff2bfe848d7e4f32c58ecee877ca9606ba318ba470493469e28a5b3e37ca132f0f1262219ebd2755c3da7b26fbd1b66dddb1514d25c
EBUILD gnustep-back-art-0.25.0.ebuild 2077 BLAKE2B b797b4e6a40a1207115c153276c45fcc7ba1f067e1b0477a94bf6467d636ef6a1bc4e53420480b035b4891bde1710014e0f2f9b18b8accd5a43440b7d6d3466b SHA512 8d129e05455d8039cea12ac7f085b50a17e12f0c1da0de560fcdb2b440181764a601d71fc6ced662867f6ba4ba98e8b133af9f8fb935e00e024be2df36058d7e
EBUILD gnustep-back-art-0.25.1.ebuild 2081 BLAKE2B 246c59e1a549a8944bf3f02b7c0452eb61fe3e02aa77dc707b3f8e578bd16372c9775d27d78154b5a46945415ddfb6bf626a5c47b45cf9bcc8c2ff0ffa9456c4 SHA512 21f1a96b3c3c4ffd92754149a192511003e23d131092dc53bf3fffa512ae92cb8a84d352cbde60cae2ef08cf5eb6ebb982e108dc38f54325a50ea7b161c5f552
EBUILD gnustep-back-art-0.26.2.ebuild 2081 BLAKE2B e0297415c6e046aab06fa5149dc87b7b3c77b51fbc5cc87381282bda73665e69c4a4bc229dc2500135c2c67795257f0620f85773bdf536c7d40698949337a484 SHA512 0c558edbf5d870010b35b67515fbca9b9f97ccb7bc642a055e1b14af8c6f6a96f38b63b9d2d83882a438b7faa4ca2e5a0813b5d7a7238d5e06123a1268de83d3
EBUILD gnustep-back-art-0.27.0.ebuild 2078 BLAKE2B fd5015f7c006f79892da1e5abdf9c6c9d49c4e53f75a1df5a528132d3613ce99ecc63b828753bc73e8c06078431ee16472e3fcd2ae2c926e04165cec6314481d SHA512 b5886939f309dfed6e623039d986e792e2ca9f36c819b75944fa4dc7bd8a73e9410d37518836d1b5439f0224b5523d13a58a2dee7f3a2766215f6284cd5a3048
+EBUILD gnustep-back-art-0.28.0.ebuild 2077 BLAKE2B 34ec8ee7850c79d65e78ca977bd822e5686e96012fb434f22548edfc6a079ffb59c32deda618d89b58d079be752f268e6f71584e8b798dd4b1ec0cd1d8780932 SHA512 55fe34a11f0f7a77a90471cb5dbc6871ec70d8d641f40dcfb9defe82b70ab7110f57ee03130cc47c0ddb09f3bbddcde75d17d2170238725f4fdacb75b2749450
MISC metadata.xml 1189 BLAKE2B 10dfa03030e2aa7412a4432eaa2c89727873fb6d567b30b112ebdc37099d14c120712b8632f50c692bd7079577b7dc43ecd0dfc9bc2c0b5bf491d32cbafb1360 SHA512 ab320e4962fcd3abcf36b6082cdf81e3e9cbd94408fa949569589a2880737e725a002b816c455cb61136f8a54e3f45b20fbfc59a52d7707f7fc443b11bbdddbc
diff --git a/gnustep-base/gnustep-back-art/gnustep-back-art-0.28.0.ebuild b/gnustep-base/gnustep-back-art/gnustep-back-art-0.28.0.ebuild
new file mode 100644
index 000000000000..8f304a0a86dc
--- /dev/null
+++ b/gnustep-base/gnustep-back-art/gnustep-back-art-0.28.0.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+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%.*}*
+ >=gnustep-base/mknfonts-0.5-r1
+ 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-fonts/dejavu
+ >=media-libs/freetype-2.1.9
+ >=media-libs/libart_lgpl-2.3
+ opengl? ( virtual/opengl virtual/glu )
+
+ !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-cairo/Manifest b/gnustep-base/gnustep-back-cairo/Manifest
index 6ee51d982187..a3a889ad3eb5 100644
--- a/gnustep-base/gnustep-back-cairo/Manifest
+++ b/gnustep-base/gnustep-back-cairo/Manifest
@@ -2,8 +2,10 @@ DIST gnustep-back-0.25.0.tar.gz 974762 BLAKE2B ef3ef5bf822b2cd96ac8f6256708c2751
DIST gnustep-back-0.25.1.tar.gz 974775 BLAKE2B 8050c20f405da340a0f42655ca2b0f43761d60b8ee6eab7ce4bbd5f323f7ab8b59506b0b8c5c057eb8303c0b7efe4d80ab428ca100b319a9b927d74bdb37ddd4 SHA512 0515672c38265499dc3f0be5127053bc7b2478130cac69cb70c29e5887832472dfdcf90b756ab0926ba5967c0be93e041a1f820dc58f973e41b648e08a569656
DIST gnustep-back-0.26.2.tar.gz 969473 BLAKE2B a16b8663492ca1d59ac1267b3e5421cc14672251c273624e4bcc5e587783968baebfcca020c3f0ccaf73de9c0c43f872a303be4c1ef83c78e1bf102d47f2feea SHA512 99912430425e36b386b3f7bb3a49989c92edd20e3166292e6697c532a7f8ae17682c80bb39fa6177c67bb75bcd9befc44f53874eb5ca1406f51af44b15c9685e
DIST gnustep-back-0.27.0.tar.gz 972099 BLAKE2B ca3090d743a3bcc0995e7b2bfbb39dd72aac6d3b8b62036a17860306728e58d432d3075918b7d49e7e1930974e5a5ae5e0c2ae3c2c7ebb383e859106cfc1c072 SHA512 0823a50b6719af1a48139fb7d85eb70d7c1ae367d0c0d00007568131b56372063437ae7b464f0314fc1e7f8d25b87e87b58bcc914c27d2d000ff31deea948ab3
+DIST gnustep-back-0.28.0.tar.gz 973776 BLAKE2B c82792d9c2af45a3a81e1e40c9b0afe7b4dde7846cf4e593ec2f3e816196a321efba2d0d40d14795eed01681845bc6b5d75e8828c689961b6ba2db6de5231568 SHA512 9befc654ec431fe2a23baff2bfe848d7e4f32c58ecee877ca9606ba318ba470493469e28a5b3e37ca132f0f1262219ebd2755c3da7b26fbd1b66dddb1514d25c
EBUILD gnustep-back-cairo-0.25.0.ebuild 1099 BLAKE2B f3aba11eeacff699addea5d6bc6e59b3cb9a38c86aaebbbd3d408bd28fea66aa259fc8d09bf16e2cc46ac018e2a7c4fe61cda7a0dd2923a1f22ec4e9d918e149 SHA512 640c5e203e8a5082b71d9f5099d12d78c1967ad7540ae0785bd8283192a9d33dee80bc82cf395b533d6806512f3732a97c3964f847b9e4c7244bef2a888428c2
EBUILD gnustep-back-cairo-0.25.1.ebuild 1103 BLAKE2B 2d0e827f9305d299c7c87378680334f2e1635be8aa49562259d4038cd79eff8dcce61aed69231be10290963728d51db878edeef55418ea74516ae1dcb4b450ed SHA512 ae85a55826f01ce0ccffad8a5a2d78a74f8128d62f828e9c8c633704e95aa8883cb8259c4948a3df257a693b4e5f4fd6b637e097242896c011291b2eaa63ae94
EBUILD gnustep-back-cairo-0.26.2.ebuild 1103 BLAKE2B 0512bfebe347f6534378312be4fec325e723734f543a6d39525f778e17b4839a57c769d67d34aab486d1e3947b06f4b9f8185f2271f8a2265ce7486472be68ed SHA512 28725d1bdbb5958069792d69137e252d1bd73955279178bc302f2940197c93db11def75940d51308ad4291925700c5626d142ed2b177f561fbc752cc90e1acff
EBUILD gnustep-back-cairo-0.27.0.ebuild 1100 BLAKE2B efb76f3a7393dbfcf5662f8076315e2805cef3ab237539f306698c250eac446b419179ea645982ebd47d9e9253f466953202dbf3bdc29e8274ed7b0115058c80 SHA512 fe5b8598f5c4e04424caceeedac568d3698b989c29bd9425cfaf7e54329c250c35f4fe14da7cea8b9943167d2d2954ed9e77fe3d05def0a9c01fdf0d36406024
+EBUILD gnustep-back-cairo-0.28.0.ebuild 1099 BLAKE2B 622afd7df93f5cd7c32974724d13b2fc11c3d1fa4c6040fb4338601156ff80ab263bd5237a0ea04535e7b72d5bfd7581e326f5dcfcaaf065e7b0ef7388c2d91e SHA512 7b70f0985de2e17c51ca5c959cc7c9b5c46b4dc6affca8fcbf0c6ed753caa073159bb370ff6a62907d448dcd9f628d32510a824558f8feabbad95bd8a615e56c
MISC metadata.xml 411 BLAKE2B 77e073c47fbb179efafabc609b3975c85ed445e2c4c88726c75ac17adbbc285178e972d1e9a594a5597530115bd0d077d41438cd3c0d5d3939eab5742e5d4f6a SHA512 34914c27b9630177e6686a9a67f2a864c5130b41b4835c9fae12a3df6c6f81a04a15c41ee4e9d9e707dfeedb546b41caf0460c3a2f180375f8e244553e6b699c
diff --git a/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.28.0.ebuild b/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.28.0.ebuild
new file mode 100644
index 000000000000..41f272157a53
--- /dev/null
+++ b/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.28.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+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-xlib/Manifest b/gnustep-base/gnustep-back-xlib/Manifest
index a015d28394f5..7b5724b0ca9d 100644
--- a/gnustep-base/gnustep-back-xlib/Manifest
+++ b/gnustep-base/gnustep-back-xlib/Manifest
@@ -2,8 +2,10 @@ DIST gnustep-back-0.25.0.tar.gz 974762 BLAKE2B ef3ef5bf822b2cd96ac8f6256708c2751
DIST gnustep-back-0.25.1.tar.gz 974775 BLAKE2B 8050c20f405da340a0f42655ca2b0f43761d60b8ee6eab7ce4bbd5f323f7ab8b59506b0b8c5c057eb8303c0b7efe4d80ab428ca100b319a9b927d74bdb37ddd4 SHA512 0515672c38265499dc3f0be5127053bc7b2478130cac69cb70c29e5887832472dfdcf90b756ab0926ba5967c0be93e041a1f820dc58f973e41b648e08a569656
DIST gnustep-back-0.26.2.tar.gz 969473 BLAKE2B a16b8663492ca1d59ac1267b3e5421cc14672251c273624e4bcc5e587783968baebfcca020c3f0ccaf73de9c0c43f872a303be4c1ef83c78e1bf102d47f2feea SHA512 99912430425e36b386b3f7bb3a49989c92edd20e3166292e6697c532a7f8ae17682c80bb39fa6177c67bb75bcd9befc44f53874eb5ca1406f51af44b15c9685e
DIST gnustep-back-0.27.0.tar.gz 972099 BLAKE2B ca3090d743a3bcc0995e7b2bfbb39dd72aac6d3b8b62036a17860306728e58d432d3075918b7d49e7e1930974e5a5ae5e0c2ae3c2c7ebb383e859106cfc1c072 SHA512 0823a50b6719af1a48139fb7d85eb70d7c1ae367d0c0d00007568131b56372063437ae7b464f0314fc1e7f8d25b87e87b58bcc914c27d2d000ff31deea948ab3
+DIST gnustep-back-0.28.0.tar.gz 973776 BLAKE2B c82792d9c2af45a3a81e1e40c9b0afe7b4dde7846cf4e593ec2f3e816196a321efba2d0d40d14795eed01681845bc6b5d75e8828c689961b6ba2db6de5231568 SHA512 9befc654ec431fe2a23baff2bfe848d7e4f32c58ecee877ca9606ba318ba470493469e28a5b3e37ca132f0f1262219ebd2755c3da7b26fbd1b66dddb1514d25c
EBUILD gnustep-back-xlib-0.25.0.ebuild 1051 BLAKE2B 2045d18aaee38c54039afd1c9460cd0c9d089ba8e78b9c608aa32128afeba25a8113f6dea2498024bfbcafb64ab4bea5375d730c30d8f9a7f534baddd60d7a09 SHA512 9ec9b31a1588f32043a5e525ae8cffec9f7e61d7760c75c72f4713b8a39ae7f03a6660b7f8abbcd76adb4d839e5d39aeb43beccf093cda8a5f005c06424a24c1
EBUILD gnustep-back-xlib-0.25.1.ebuild 1055 BLAKE2B 252de4b775cf451631b33a23723157f193411046f5287e91b4a21147c515ddf7fa2244ea15af69bede4d44f0295dd6c97f09df302b3f8b8052ef4599284981ab SHA512 a50e06d399d2e50fe5735071cbe2abd5d532a3d9cf5ea15d519ff59b637fd4cc1c2b33c6dc40c544525af550d72b73db0a6f8711dc4698c1fbc308a34cddbf21
EBUILD gnustep-back-xlib-0.26.2.ebuild 1055 BLAKE2B baa5c7e267e100a84ed046434033f14e4c15e64b5d7e725217907445239441aa9b0d39cbf45e03b26ae6dd45a46edcce752127d512a7dabb86de43cf563e9fec SHA512 d2f899dca1a175cafdff54df72427e771b842dc397ed475a52022afa6ce43dacf771f99417a086320ca91b59487648a26cafc8b57f99933f5600cf72eaa582a9
EBUILD gnustep-back-xlib-0.27.0.ebuild 1052 BLAKE2B c7fdf31bdda1f2653e4d187c16773a9e2d0fc724db5329cdc79efb95074cb41ac52da7e233e0b7cd156ae1e9ac52915993a8a5d1afb17540a9493e1dbb548010 SHA512 faa813ec8b714630cf92db5b171a516d2cf9457719a4faa13dd6cbf81c90010e7ec02858512e53ea09c68f155495f28e22022101db92b8952c324438b9747ad0
+EBUILD gnustep-back-xlib-0.28.0.ebuild 1052 BLAKE2B 92583562ac3bdcf1a637adb6031ef631b4ca674e67cf01f86ac0da44604ab1a20e34b0165c552070a39b808d71a313f9e300914317b138ca156b59b47a0e8219 SHA512 cdf8f0c20fd7e577e2d3d3e11c206adfa9b4155bfc7d103b8ce4363caecdd777bc378e374d06e9bca36489379fabff024898c6202510bc985a05db1c100d65f0
MISC metadata.xml 1181 BLAKE2B ee1be4fedf7a4798dd49867781e58c5c068311c1ab5ef52c08d4f5af889b1c78803d68985dfeab54bb821ba80ae88bdf7918f197e21c113e5bf25355f0006115 SHA512 8c98ddaf7050dbe9f511dd053310911f64a2e3b3f2a07822617e7e292c43a5a4ace6126d65e3e4c43bd439111842bf56761bd19baaf33ff2555e64c4882a00d2
diff --git a/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.28.0.ebuild b/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.28.0.ebuild
new file mode 100644
index 000000000000..62ace4a8251d
--- /dev/null
+++ b/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.28.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+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 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="opengl xim"
+
+RDEPEND="${GNUSTEP_CORE_DEPEND}
+ =gnustep-base/gnustep-gui-${PV%.*}*
+ >=media-libs/freetype-2.1.9
+ 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
+ opengl? ( virtual/opengl virtual/glu )
+
+ !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-base/Manifest b/gnustep-base/gnustep-base/Manifest
index 12609ae138f9..8a9dd777dab6 100644
--- a/gnustep-base/gnustep-base/Manifest
+++ b/gnustep-base/gnustep-base/Manifest
@@ -3,9 +3,11 @@ DIST gnustep-base-1.24.9.tar.gz 3561094 BLAKE2B a50e92ae774826082e743581425cfaab
DIST gnustep-base-1.25.0.tar.gz 3528599 BLAKE2B aa86de9dc26fb48f49bdd796fc25863e8b1baa48a7c8a1536cc39497843b8d37f02e1cc72ea343795d1be6392a6679a4810ae62e6f9c5ec6c34f9ee099f32746 SHA512 0c38baa439a87557e054e37ed7b337e9f90f349fd6683551cf6482a0a53c247e2ca23b7df9ab369e8819a7d0f9f29e8a8dc639b148ec1c0223764796dbbd3608
DIST gnustep-base-1.25.1.tar.gz 3475169 BLAKE2B 4e2d26ad5782e117f778d298add4c92d40f7c6c73d5aff9692d8eaf7cf06d6ccf6487282e03d4f86bb434d0c7c327b3d80187ca43fdc1c0ff282a246958448fc SHA512 a93c3b4c0fb7df4946ed52dc62c11dfa58f8606fc9666cc7ec7ff5e1c088b67608410b715680e801636bf5ce2caa08e172372f6cab94933459c5e870f962ab11
DIST gnustep-base-1.26.0.tar.gz 4000708 BLAKE2B 87a5761f3e4db484c5ea934fbc4cf2949a993aec19b673134cd29626e25fca5efba161ef15d81816796e03aa929d3bd497afd528fea259c84f1a38d860aa0ee2 SHA512 454943d44668817589e0d2c0aa731a1ea7c886946ad3f1188e1e1149a40d8b97bb55e3bfe02de0385f03065326149fb0a60ac181cf3f72e1ee7f55c56863745f
+DIST gnustep-base-1.27.0.tar.gz 4141163 BLAKE2B b27f7086949bcd5e43b8d6337c4f03eb87447baacb23de75b7df0d2ba769ff3e8cadd7035e78b35c91ccca83151cbe4b61b339aa265dcb53847089849b615f8b SHA512 bbdf45379dbb684f6bdb507b645e0f611cefb05caadff1bf620c2e85f104396cf91782bcce05ff2173078603b76b8a0ba2ea3b71bc56a84c220310910dbcb705
EBUILD gnustep-base-1.24.9-r1.ebuild 2362 BLAKE2B 76b18b0981718d0b9ac7a67dc5f1026c2854b9d5603fb04bc0de96125ab547591c9906e2e5c15367d54a63771a9c07d53ee3507383a51ca1a028e39470ef14fc SHA512 ba4aaa7c1532af4e10e1008d9a4ae154a64a658e21a52dde4a6cd1a55915be3e0926286ebc63841a7f7fa3452ca115c8a4ca76d8ddc905427907a6f6a220495a
EBUILD gnustep-base-1.25.0.ebuild 1888 BLAKE2B 7d101b29637dd9720588f665c98c67562af7d4c30e16977ba81e2c42132da3c8b920c7c2e39f12c8c7d50d2958f6b0e2ab97d452e2bdfb7bde2b965c38e764ba SHA512 3b83f0c679bb549202fd3de9aaa87f199ca8353602ceaf2dc6c160c6648a842d6ac946191967a2b02cb8dd17bcd0cce65c5cb1343e9f59eb6689996f656ac2f5
EBUILD gnustep-base-1.25.1.ebuild 1888 BLAKE2B 1cbc93a1ccd0bf960a1b64675553c6515ec1e415f8e9140d5024545679b36dbb087faa5ff869c63ebe897e998d2444583b146be6a00d92fbea034f8eed5018bf SHA512 3d15aa91b0633752ab0b325f9b98dbf8c0dc2fbeb71b04d61b496d95decfe4abe82c6fe533eb0f3d25fc17f81fa75195ca67fdfe21c0b3a44b3908d2e78fffea
EBUILD gnustep-base-1.26.0-r1.ebuild 1940 BLAKE2B 587ebbd13f26c2e17224ade7ab2f621455645962b77b8841bfc54c8c90c828deb5afec30dc564a2948f29bc565ad3b3b24ee3157dc1d172ef57e26ab8f643dde SHA512 ae0ce950814a090e52aa3805f845db5e27a91614f5e6c70c65696dbcbdf56b79b912c8f770af95f98f61dedf1e24baba1ee2b8a7c9d66892187aa698e4ddf78d
EBUILD gnustep-base-1.26.0.ebuild 1886 BLAKE2B ad42c184cffa41aaeadcd875a084b200dcd58d7da48e9bd062e18bba5a4ad8842035888977a3a0a0a3334642281a8a9241d4655452966de2e8b40b435b1d1c7b SHA512 6eefacbac31a5cd5559b778c808d6e43189ba9f862a1d7408f384bc2d63943ae8ac5d976f1de05be55413566046b91336183e6b8347713029a118f6969a2519d
+EBUILD gnustep-base-1.27.0.ebuild 1949 BLAKE2B 052ef7782c77b64dffaceb37bbc350fe04819bfbaa7ee8039fdb497dfb5e72d3624ec34990646f6458991ded46dbdefc2ca4984e188e81fefbf07c1fd9216395 SHA512 188c10c393d0b55169b0bc7830cf742d5db06f7f8ea11923d52d0b94a75b6336ae7f855e92c5873d24d5298de95950beacf055675cb9b3aafb7db98fb441fd89
MISC metadata.xml 763 BLAKE2B 471a69f26f594d1081fcd22568ca563d6a8a3fb37c6aeead77e91805de28d2c652d0ebc7a4d9364440008ed563a083eefd1e2c9311ef9f0e95152f8ff8a7c93e SHA512 1adb2cc47580c492a91b7593731b7cd8763cd3d2e45945229346afebc2840be93855e8f62158d59663a49c775e3482bf142a3ef52e087696f7bbc8bc429178b3
diff --git a/gnustep-base/gnustep-base/gnustep-base-1.27.0.ebuild b/gnustep-base/gnustep-base/gnustep-base-1.27.0.ebuild
new file mode 100644
index 000000000000..30952eaabab5
--- /dev/null
+++ b/gnustep-base/gnustep-base/gnustep-base-1.27.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+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 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+IUSE="+gnutls +icu +libffi zeroconf"
+
+RDEPEND="${GNUSTEP_CORE_DEPEND}
+ >=gnustep-base/gnustep-make-2.6.0
+ gnutls? ( net-libs/gnutls )
+ icu? ( >=dev-libs/icu-49.0:= )
+ !libffi? ( dev-libs/ffcall
+ gnustep-base/gnustep-make[-native-exceptions] )
+ libffi? ( dev-libs/libffi )
+ >=dev-libs/libxml2-2.6
+ >=dev-libs/libxslt-1.1
+ >=dev-libs/gmp-4.1:=
+ >=sys-libs/zlib-1.2
+ zeroconf? ( net-dns/avahi )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.26.0-no_compress_man.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 gnutls tls)"
+ myconf="$myconf $(use_enable icu)"
+ 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-gui/Manifest b/gnustep-base/gnustep-gui/Manifest
index 8e7f5322682f..8cae49fc4fb0 100644
--- a/gnustep-base/gnustep-gui/Manifest
+++ b/gnustep-base/gnustep-gui/Manifest
@@ -2,8 +2,10 @@ DIST gnustep-gui-0.25.0.tar.gz 2882556 BLAKE2B 65ac762c5dcc0419d275f2418de695131
DIST gnustep-gui-0.25.1.tar.gz 2888779 BLAKE2B 4d11442660b746e4667d3472dadebff93768254efbd8b7548230c5c0df6d4727d582e720ffbd61a5e79ca89735eb104ff7a88dede5932569b2c1d111a30540db SHA512 d69416c471d4f2fc9971e4aaddc5471b13854d00be6e03b78c3e89f9e7f90285c9024fc6992811296434d5dadf8ac02bcb69a1ceaa1c651461f83778165328e8
DIST gnustep-gui-0.26.2.tar.gz 2860931 BLAKE2B f597901e3a8d3f2d9a334cdcb7f1c89d15555761dc6f99d80ae56bca3b2be553abbadc6f3616f98d45f50efe4accb7f8cd119aad1a5a7ad019572fbf0c65d9df SHA512 165106d96e933b101ca13cc8643c13626165cb2a49794b34a0e898b288c24b9c7e68115362bd363518f0abf2b21341a0746e2d331f320ab0a0685209f3406800
DIST gnustep-gui-0.27.0.tar.gz 2868892 BLAKE2B a4d60f76355ab5ab3c9c7d810106eef8c0d68f53ddefc14948aab4bc3181b72f6df678f53f902627923d250cfeed98ba9c430a70412966a37251d0614df4882c SHA512 b8c708a249a2103c60e9b75e464fc9ffd6ac658b1f7c5c75997894879969d332ede3c8d5806489cd1b58bdd6e3ad47fb6ae8c2512bb00b69c27d70d42d6c2375
+DIST gnustep-gui-0.28.0.tar.gz 2933013 BLAKE2B d6076fde3d90625059907d3fb7a3a8edc9ed37a02f31b249f7d8e84a0f1a11ade6aa5e7aa6ac6bf394f561c98259500b342bb828fb583ce847e402101bb7d0f9 SHA512 9c5b979c908f63c99a6d050c2f2b9f50aedad440645c6e9045e78f631335ab3290ae09f69128d57b8b88ffb063d118d3f62f45ccecde99bb135de6c60b46586f
EBUILD gnustep-gui-0.25.0.ebuild 1334 BLAKE2B 90124aadcf10c2bc64a8b5feacd4353d7a0024a2a777e253a1837f88e743b0f542220039e25c305dc8ee66ab68ce7a6a5d65364ccddb301f7b3e4e2ecc3722c2 SHA512 de2f99fe4184a017c9a824d771284595039705a04c1a3ed5f97a13d8a9f94d49b2342c618214c7ff1d56a74de314bf9b8c357cc3f94735657c923cf23935da70
EBUILD gnustep-gui-0.25.1.ebuild 1338 BLAKE2B c5f2d89d6fd01abcfa96bda361968d2a74a3e825010412fa51dc2ab6f53d7384d0327f1fc54d8bdf9eb1919e70e55065f66395375c6d4133cf7a728f0d76bccf SHA512 59f6fb18eb7f5207f9f5d5a8a4019f60d9c6090e209a4e9d2f8398c08ff694863fe789a9bd118d04b32d649ef1259b7b03c6032286217498e3f974670e8c9edf
EBUILD gnustep-gui-0.26.2.ebuild 1338 BLAKE2B 9774d558aad9392236cb4517be337336bddd663bcec97cc4aaa2e512a7fd4d0c68ddddb5b1f8fec48eca4ac50b8712308d77bbd6c1b8625dc70c8359e9c7c118 SHA512 67f786ff7e9722ff5409e96a751b9ad1638f6e1e8d0e6f07f8c847b0a622c49a0501aa44bf94ad7277826af921085b5ec91460346c13ed136916af4db480a51e
EBUILD gnustep-gui-0.27.0.ebuild 1335 BLAKE2B aa46a27f807646a55e4d05a1468afbabfb7879052b05d09eec45bc0c3f32075451ba951eefbbd034db2e901aa902208aead0ad75e64b4901a121aee814419f53 SHA512 33dce51e47d1eafeb7bdf8463d9c095cd75d466eeab2f99517e22cc48b59f337c7b711638afc1b2b194f3823f9f55374dcc93bb77e7aae74b9234dc152243e75
+EBUILD gnustep-gui-0.28.0.ebuild 1335 BLAKE2B d29c55668273dfdb98870056b8854a3fb3e1892478f9cd2cf63042c2fba1dd6f86829162175803902d972cbb7484f9a9626a1a2ad2f17768676c7291fbe0c41a SHA512 22f78adffe8b7daf167d85de106b2c46a0045f645aa4ed8adc55a6cd88490e9f9ad35e3d8131d097c1fd9c9b3c5dade1ba0db74036f5dfa0e7587b83570c1937
MISC metadata.xml 1544 BLAKE2B 1a590eccc9a65316966873ab9517de3798d31ffbcc19ac864665a6f96289e8483e9b05cd38d32a611de6bcafedc205ef8616214632368ba7a15e2a7793f461d6 SHA512 1c7a16c090c18044752d1033f1884b4ac49ced4f0cc97903b9c3a0b037f06072e291a9d02fd4855682233196b120b60344fedf978049a29ef9c44f0546beea4e
diff --git a/gnustep-base/gnustep-gui/gnustep-gui-0.28.0.ebuild b/gnustep-base/gnustep-gui/gnustep-gui-0.28.0.ebuild
new file mode 100644
index 000000000000..42cbd8d535a0
--- /dev/null
+++ b/gnustep-base/gnustep-gui/gnustep-gui-0.28.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+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 ~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.27.0[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-make/Manifest b/gnustep-base/gnustep-make/Manifest
index be292323e57e..d58773f8c3aa 100644
--- a/gnustep-base/gnustep-make/Manifest
+++ b/gnustep-base/gnustep-make/Manifest
@@ -2,6 +2,8 @@ AUX gnustep-5.csh 348 BLAKE2B 5a53bd83fffbba5db434c90c1b527cf32697b87ad51bf4abda
AUX gnustep-5.sh 359 BLAKE2B 2df675c570e6343b3303cb3c82e0eb6c6fe60f842fe61297b147acca485df93b8a5a5ecc235b0e3a9854c0fb25cb06c2fcac34ee75933157fc8c230ac94ca843 SHA512 ceb39b583e7583bc6715723878eff1c06685b4786c9607f3ef581ef230a755efd80c7b18202458d4af54bac01c0ff2f5cec443d8c87639c6cdffc7604bb07700
DIST gnustep-make-2.6.8.tar.gz 592266 BLAKE2B 12ad6d1b27f3280f99c55d78a899983527620fbb6ec9a7d70bd71917e0d615e62d4930ceb39c3ea3d340749896226a528d18d322629e05cba3a6f636be4b0a47 SHA512 1df6757cd1e0dbca3eb6e4ad4346406799ebb2782f5853014cc3b1e8ae47056026e6c5cd43e5671c8802232444602fde164dde352c15b4e0d64bdfdea06bd8a0
DIST gnustep-make-2.7.0.tar.gz 596399 BLAKE2B 85c23795bbaaa7ca3a2166d96a1bc6be3506501721ee5bee4fa8513c490affabce7d4f60a13ba3b33f642c73f08afb4e30ba48da4d1b3bcfd17df3ec9b85b8b6 SHA512 7a39c2c79f01c3a93607bba71ef8c482d0610541ebcb3d0ffce6c1a104a74646329d18255a8bd183ccf54f37018e4d6b4a9d8adf419e2cdea29b35c89e81d9a2
+DIST gnustep-make-2.8.0.tar.gz 606337 BLAKE2B b4defb8fdd8fc17ce2ac14c7d3d63b85e817bb639b7c1ae6a150baf74cda222ac046d890e677b50398bb9953e1496a98e9eb542809c961243f4f620276ab13fb SHA512 e9e57ed7a1c360c2dbf17f70d38e5107a1a9613842dcc645f10ed7a01eb9f9ee71bd2d0cacbe00439ce73f194a3eb3ed2e71409241ac96ee3bba704dcf6dfd7b
EBUILD gnustep-make-2.6.8.ebuild 3781 BLAKE2B 0f8fe153d5c6cd94919c91b747d4380ba11a489ebdb63263f873176f460d3bd29b5116d467a56931d45f1c5fdb2a6484d5d1c1d404e4981f37625d949619aa73 SHA512 7ceef2dd147bc2b7a955fd22547a8bcf41fd3492e25beec7c33ab5ae52a4d877233237a76edc542dee0a69bcebd04b5e82e106da6476e0b046bfc4f29b831bac
EBUILD gnustep-make-2.7.0.ebuild 3786 BLAKE2B ee557cf5100a398e87b3423c60b712b26af4fadbeb2aeb9d74d6bc4a34481014b26a30f74e8266b19e28dbbc39c10e298b0414d92682140f52169553975cf676 SHA512 f96dccaf80758f833f4f4ee656b33dcc50c382050594aad759bf625cc473b45684bc7d8198bbf313b47aadc5083ba8b5424fc3d6f9c664c768b7245a859ebfc4
+EBUILD gnustep-make-2.8.0.ebuild 3674 BLAKE2B 8a3570236721ae04b335c5f90a9af5592e1bc76ee7c87ac422da131ccd386daa3048f9d122323627803552b9815c151313fcf34a10363b0d4b658ca1f792e6f4 SHA512 3c55ef6f492458607ad49d6277a55d1377fd9c50c2bf3a3ac38de7bcee3b9fb4735aa8e17739ff067ea9ce1a712dc43ee1f8d7d8562d9fc90ba5d4c548388277
MISC metadata.xml 991 BLAKE2B 757d5e30738a28bb29dad429845961458f9c66fc4f081504ae72a4e32da2f7a776bdd55e166a3346a4ae7d74cdb452e31dafd74ac466dfc3d7226978b0a7ca6c SHA512 3167eb855a813fa42c61c74fdd4aab284a1273b97d20783afcebd952df53577c4f644917ef0182f1fe436c1aa6e81461fcde315b2b5a45f1dc26110fa411fe27
diff --git a/gnustep-base/gnustep-make/gnustep-make-2.8.0.ebuild b/gnustep-base/gnustep-make/gnustep-make-2.8.0.ebuild
new file mode 100644
index 000000000000..2fdb43398486
--- /dev/null
+++ b/gnustep-base/gnustep-make/gnustep-make-2.8.0.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit gnustep-base 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 ~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 )
+ !libobjc2? ( !!gnustep-base/libobjc2
+ || (
+ >=sys-devel/gcc-3.3[objc]
+ sys-devel/clang
+ ) )"
+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} -x objective-c \
+ - <<<$'int main() {}' -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
+ eerror "${P} requires a working Objective-C runtime and a compiler with"
+ eerror "Objective-C support. Your current settings lack these requirements"
+ if ! use libobjc2;
+ then
+ eerror "Please switch your active compiler to gcc with USE=objc, or clang"
+ fi
+ 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}
+
+ default
+}
+
+src_configure() {
+ 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 native-exceptions native-objc-exceptions)
+}
+
+src_compile() {
+ emake
+ if use doc ; then
+ emake -C Documentation
+ 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
+ emake -C Documentation ${make_eval} DESTDIR="${D}" install
+ 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
+}