diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /gnustep-base | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'gnustep-base')
60 files changed, 2588 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..f534eb806dcb --- /dev/null +++ b/gnustep-base/gnustep-back-art/Manifest @@ -0,0 +1,5 @@ +DIST gnustep-back-0.25.0.tar.gz 974762 BLAKE2B ef3ef5bf822b2cd96ac8f6256708c275193db9ba2bfe3d669c3a50e1f4ff9bfb1560a0a2ee1c38e58a13e0e3e081548102dd83a06bdf880fe857046d3d7940ef SHA512 38a098e7fe207c902428c05f01ebf0336b33fb9213368038c2513236255723b642fd9576524ad119ee9511c708be21c155eeaaf297e05c6ebdab8e59efe05770 +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 diff --git a/gnustep-base/gnustep-back-art/gnustep-back-art-0.25.0.ebuild b/gnustep-base/gnustep-back-art/gnustep-back-art-0.25.0.ebuild new file mode 100644 index 000000000000..40454b1087e6 --- /dev/null +++ b/gnustep-base/gnustep-back-art/gnustep-back-art-0.25.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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%.*}* + 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.25.1.ebuild b/gnustep-base/gnustep-back-art/gnustep-back-art-0.25.1.ebuild new file mode 100644 index 000000000000..7e99c2440f4e --- /dev/null +++ b/gnustep-base/gnustep-back-art/gnustep-back-art-0.25.1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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%.*}* + 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.26.2.ebuild b/gnustep-base/gnustep-back-art/gnustep-back-art-0.26.2.ebuild new file mode 100644 index 000000000000..d178338f8d18 --- /dev/null +++ b/gnustep-base/gnustep-back-art/gnustep-back-art-0.26.2.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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%.*}* + 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.27.0.ebuild b/gnustep-base/gnustep-back-art/gnustep-back-art-0.27.0.ebuild new file mode 100644 index 000000000000..cc8e689b3cec --- /dev/null +++ b/gnustep-base/gnustep-back-art/gnustep-back-art-0.27.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2019 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%.*}* + 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.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-art/metadata.xml b/gnustep-base/gnustep-back-art/metadata.xml new file mode 100644 index 000000000000..913ddc27cbd7 --- /dev/null +++ b/gnustep-base/gnustep-back-art/metadata.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnustep@gentoo.org</email> + <name>Gentoo GNUstep Project</name> +</maintainer> +<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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/gnustep-base/gnustep-back-cairo/Manifest b/gnustep-base/gnustep-back-cairo/Manifest new file mode 100644 index 000000000000..f534eb806dcb --- /dev/null +++ b/gnustep-base/gnustep-back-cairo/Manifest @@ -0,0 +1,5 @@ +DIST gnustep-back-0.25.0.tar.gz 974762 BLAKE2B ef3ef5bf822b2cd96ac8f6256708c275193db9ba2bfe3d669c3a50e1f4ff9bfb1560a0a2ee1c38e58a13e0e3e081548102dd83a06bdf880fe857046d3d7940ef SHA512 38a098e7fe207c902428c05f01ebf0336b33fb9213368038c2513236255723b642fd9576524ad119ee9511c708be21c155eeaaf297e05c6ebdab8e59efe05770 +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 diff --git a/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.25.0.ebuild b/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.25.0.ebuild new file mode 100644 index 000000000000..35666cd92808 --- /dev/null +++ b/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.25.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +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/gnustep-back-cairo-0.25.1.ebuild b/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.25.1.ebuild new file mode 100644 index 000000000000..3f1e6ec37e06 --- /dev/null +++ b/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.25.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +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/gnustep-back-cairo-0.26.2.ebuild b/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.26.2.ebuild new file mode 100644 index 000000000000..bce99c6bd9d1 --- /dev/null +++ b/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.26.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +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/gnustep-back-cairo-0.27.0.ebuild b/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.27.0.ebuild new file mode 100644 index 000000000000..ff5ef5e818a6 --- /dev/null +++ b/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.27.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 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-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-cairo/metadata.xml b/gnustep-base/gnustep-back-cairo/metadata.xml new file mode 100644 index 000000000000..fee38bc4ca80 --- /dev/null +++ b/gnustep-base/gnustep-back-cairo/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnustep@gentoo.org</email> + <name>Gentoo GNUstep Project</name> +</maintainer> +<longdescription> + Cairo back-end component for the GNUstep GUI Library. +</longdescription> +<use> + <flag name="xim">Enable X11 XiM input method</flag> +</use> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/gnustep-base/gnustep-back-xlib/Manifest b/gnustep-base/gnustep-back-xlib/Manifest new file mode 100644 index 000000000000..f534eb806dcb --- /dev/null +++ b/gnustep-base/gnustep-back-xlib/Manifest @@ -0,0 +1,5 @@ +DIST gnustep-back-0.25.0.tar.gz 974762 BLAKE2B ef3ef5bf822b2cd96ac8f6256708c275193db9ba2bfe3d669c3a50e1f4ff9bfb1560a0a2ee1c38e58a13e0e3e081548102dd83a06bdf880fe857046d3d7940ef SHA512 38a098e7fe207c902428c05f01ebf0336b33fb9213368038c2513236255723b642fd9576524ad119ee9511c708be21c155eeaaf297e05c6ebdab8e59efe05770 +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 diff --git a/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.25.0.ebuild b/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.25.0.ebuild new file mode 100644 index 000000000000..d56bea47724f --- /dev/null +++ b/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.25.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +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%.*}* + 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.25.1.ebuild b/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.25.1.ebuild new file mode 100644 index 000000000000..dde2487e2c45 --- /dev/null +++ b/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.25.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +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%.*}* + 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.26.2.ebuild b/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.26.2.ebuild new file mode 100644 index 000000000000..d07a402bfa09 --- /dev/null +++ b/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.26.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +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%.*}* + 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.27.0.ebuild b/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.27.0.ebuild new file mode 100644 index 000000000000..29932627c821 --- /dev/null +++ b/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.27.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 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%.*}* + 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.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-back-xlib/metadata.xml b/gnustep-base/gnustep-back-xlib/metadata.xml new file mode 100644 index 000000000000..79eb5297366a --- /dev/null +++ b/gnustep-base/gnustep-back-xlib/metadata.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnustep@gentoo.org</email> + <name>Gentoo GNUstep Project</name> +</maintainer> +<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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/gnustep-base/gnustep-base/Manifest b/gnustep-base/gnustep-base/Manifest new file mode 100644 index 000000000000..d3b05a5f75ac --- /dev/null +++ b/gnustep-base/gnustep-base/Manifest @@ -0,0 +1,5 @@ +DIST gnustep-base-1.24.9.tar.gz 3561094 BLAKE2B a50e92ae774826082e743581425cfaab6bcbcdbf65a88df4d58988d3c6723e5d3d76d09cf57b4f9278c489e2ff0d178257e2be1c7147a284d8624f3629aaf4f4 SHA512 baaa3541edf48a5d902f706f9dad261378bf65e5d89f7308ece6a1fe55c348506df4b6d474ae17cdf0072f1e8dec1b2050d59413abe28bd001d5717c54a3ab96 +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 diff --git a/gnustep-base/gnustep-base/files/gnustep-base-1.26.0-no_compress_man.patch b/gnustep-base/gnustep-base/files/gnustep-base-1.26.0-no_compress_man.patch new file mode 100644 index 000000000000..14b4f7007ad2 --- /dev/null +++ b/gnustep-base/gnustep-base/files/gnustep-base-1.26.0-no_compress_man.patch @@ -0,0 +1,33 @@ +diff -Naur gnustep-base-1.26.0.orig/Tools/Makefile.postamble gnustep-base-1.26.0/Tools/Makefile.postamble +--- gnustep-base-1.26.0.orig/Tools/Makefile.postamble 2019-01-06 23:33:45.000000000 +0100 ++++ gnustep-base-1.26.0/Tools/Makefile.postamble 2019-04-16 11:20:16.972915636 +0200 +@@ -50,8 +50,6 @@ + for file in $(MAN1_PAGES) __done; do \ + if [ $$file != __done ]; then \ + $(INSTALL_DATA) $$file $(GNUSTEP_DOC_MAN)/man1/$$file; \ +- which gzip && rm -f $(GNUSTEP_DOC_MAN)/man1/$$file.gz \ +- && gzip -9 $(GNUSTEP_DOC_MAN)/man1/$$file; \ + fi; \ + done; \ + if [ ! -f $(GNUSTEP_DOC_MAN)/man8 ]; then \ +@@ -59,8 +57,6 @@ + fi; \ + for file in $(MAN8_PAGES); do \ + $(INSTALL_DATA) $$file $(GNUSTEP_DOC_MAN)/man8/$$file; \ +- which gzip && rm -f $(GNUSTEP_DOC_MAN)/man8/$$file.gz \ +- && gzip -9 $(GNUSTEP_DOC_MAN)/man8/$$file; \ + done$(END_ECHO) + ifeq ($(GNUSTEP_GDOMAP_PORT_OVERRIDE),no) + ifeq ($(GNUSTEP_INSTALL_GDOMAP_AS_SETUID),no) +diff -Naur gnustep-base-1.26.0.orig/Tools/make_strings/GNUmakefile.postamble gnustep-base-1.26.0/Tools/make_strings/GNUmakefile.postamble +--- gnustep-base-1.26.0.orig/Tools/make_strings/GNUmakefile.postamble 2019-01-06 23:33:45.000000000 +0100 ++++ gnustep-base-1.26.0/Tools/make_strings/GNUmakefile.postamble 2019-04-16 11:20:20.756920017 +0200 +@@ -44,8 +44,6 @@ + for file in $(MAN1_PAGES) __done; do \ + if [ $$file != __done ]; then \ + $(INSTALL_DATA) $$file $(GNUSTEP_DOC_MAN)/man1/$$file; \ +- which gzip && rm -f $(GNUSTEP_DOC_MAN)/man1/$$file.gz \ +- && gzip -9 $(GNUSTEP_DOC_MAN)/man1/$$file; \ + fi; \ + done; \ + diff --git a/gnustep-base/gnustep-base/gnustep-base-1.24.9-r1.ebuild b/gnustep-base/gnustep-base/gnustep-base-1.24.9-r1.ebuild new file mode 100644 index 000000000000..b9f6214e6c05 --- /dev/null +++ b/gnustep-base/gnustep-base/gnustep-base-1.24.9-r1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils gnustep-base versionator + +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/$(get_version_component_range 1-2)" +KEYWORDS="~alpha amd64 ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" +IUSE="+gnutls +icu +libffi libressl +ssl zeroconf" + +RDEPEND="${GNUSTEP_CORE_DEPEND} + >=gnustep-base/gnustep-make-2.6.0 + ssl? ( + gnutls? ( net-libs/gnutls ) + !gnutls? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:= ) + ) + ) + icu? ( >=dev-libs/icu-4.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" + +pkg_pretend() { + if use ssl && use gnutls && use libressl ; then + ewarn "You have enabled both gnutls and libressl, but only" + ewarn "one provider can be active. Using gnutls!" + fi +} + +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 + + if use ssl ; then + if use gnutls ; then + myconf="$myconf --enable-tls --disable-openssl" + else + myconf="$myconf --disable-tls --enable-openssl" + fi + else + myconf="$myconf --disable-tls --disable-openssl" + fi + 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-base/gnustep-base-1.25.0.ebuild b/gnustep-base/gnustep-base/gnustep-base-1.25.0.ebuild new file mode 100644 index 000000000000..1b078a49f22c --- /dev/null +++ b/gnustep-base/gnustep-base/gnustep-base-1.25.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils gnustep-base versionator + +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/$(get_version_component_range 1-2)" +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-4.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" + +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-base/gnustep-base-1.25.1.ebuild b/gnustep-base/gnustep-base/gnustep-base-1.25.1.ebuild new file mode 100644 index 000000000000..1b078a49f22c --- /dev/null +++ b/gnustep-base/gnustep-base/gnustep-base-1.25.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils gnustep-base versionator + +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/$(get_version_component_range 1-2)" +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-4.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" + +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-base/gnustep-base-1.26.0-r1.ebuild b/gnustep-base/gnustep-base/gnustep-base-1.26.0-r1.ebuild new file mode 100644 index 000000000000..5d1283bbe06b --- /dev/null +++ b/gnustep-base/gnustep-base/gnustep-base-1.26.0-r1.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/$(ver_cut 1-2)" +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-50.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}"/${P}-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-base/gnustep-base-1.26.0.ebuild b/gnustep-base/gnustep-base/gnustep-base-1.26.0.ebuild new file mode 100644 index 000000000000..d138bdad36d1 --- /dev/null +++ b/gnustep-base/gnustep-base/gnustep-base-1.26.0.ebuild @@ -0,0 +1,65 @@ +# 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/$(ver_cut 1-2)" +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-50.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" + +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-base/gnustep-base-1.27.0.ebuild b/gnustep-base/gnustep-base/gnustep-base-1.27.0.ebuild new file mode 100644 index 000000000000..5c08a364b2a7 --- /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/$(ver_cut 1-2)" +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-base/metadata.xml b/gnustep-base/gnustep-base/metadata.xml new file mode 100644 index 000000000000..cce47012334e --- /dev/null +++ b/gnustep-base/gnustep-base/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnustep@gentoo.org</email> + <name>Gentoo GNUstep Project</name> +</maintainer> +<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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/gnustep-base/gnustep-gui/Manifest b/gnustep-base/gnustep-gui/Manifest new file mode 100644 index 000000000000..fa0fbbffabaa --- /dev/null +++ b/gnustep-base/gnustep-gui/Manifest @@ -0,0 +1,5 @@ +DIST gnustep-gui-0.25.0.tar.gz 2882556 BLAKE2B 65ac762c5dcc0419d275f2418de695131f87df804350c93dfbcde3a33d7ddd3038b1a4a1fdef2a4b0bfce2a75d21b5b5b46b6837830d701884324ae3bd394b7d SHA512 568c0c9160febbd9bc563bfc7fbec024bc583a2d6ccfb54e527630f1e761a51f57f984a8b83f06cab97f85e3eec183386057fed2d551a383a16cecb60f102dc2 +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 diff --git a/gnustep-base/gnustep-gui/gnustep-gui-0.25.0.ebuild b/gnustep-base/gnustep-gui/gnustep-gui-0.25.0.ebuild new file mode 100644 index 000000000000..762d11fb6c7d --- /dev/null +++ b/gnustep-base/gnustep-gui/gnustep-gui-0.25.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +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.24.9:=[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/gnustep-gui-0.25.1.ebuild b/gnustep-base/gnustep-gui/gnustep-gui-0.25.1.ebuild new file mode 100644 index 000000000000..186123480e14 --- /dev/null +++ b/gnustep-base/gnustep-gui/gnustep-gui-0.25.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +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.24.9:=[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/gnustep-gui-0.26.2.ebuild b/gnustep-base/gnustep-gui/gnustep-gui-0.26.2.ebuild new file mode 100644 index 000000000000..c8f721002ea0 --- /dev/null +++ b/gnustep-base/gnustep-gui/gnustep-gui-0.26.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +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.25.1:=[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/gnustep-gui-0.27.0.ebuild b/gnustep-base/gnustep-gui/gnustep-gui-0.27.0.ebuild new file mode 100644 index 000000000000..44af3e6cb2c5 --- /dev/null +++ b/gnustep-base/gnustep-gui/gnustep-gui-0.27.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.26.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-gui/gnustep-gui-0.28.0.ebuild b/gnustep-base/gnustep-gui/gnustep-gui-0.28.0.ebuild new file mode 100644 index 000000000000..9671dea99284 --- /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-gui/metadata.xml b/gnustep-base/gnustep-gui/metadata.xml new file mode 100644 index 000000000000..24f9466ddb3c --- /dev/null +++ b/gnustep-base/gnustep-gui/metadata.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnustep@gentoo.org</email> + <name>Gentoo GNUstep Project</name> +</maintainer> +<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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/gnustep-base/gnustep-make/Manifest b/gnustep-base/gnustep-make/Manifest new file mode 100644 index 000000000000..77bb8cfab23e --- /dev/null +++ b/gnustep-base/gnustep-make/Manifest @@ -0,0 +1,3 @@ +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 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..4b7102094187 --- /dev/null +++ b/gnustep-base/gnustep-make/files/gnustep-5.csh @@ -0,0 +1,12 @@ +#!/usr/bin/env csh +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# 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..f5e07549cff8 --- /dev/null +++ b/gnustep-base/gnustep-make/files/gnustep-5.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env sh +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# 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/gnustep-make-2.6.8.ebuild b/gnustep-base/gnustep-make/gnustep-make-2.6.8.ebuild new file mode 100644 index 000000000000..d6e37e2f587f --- /dev/null +++ b/gnustep-base/gnustep-make/gnustep-make-2.6.8.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +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() { + #--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 + 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 +} diff --git a/gnustep-base/gnustep-make/gnustep-make-2.7.0.ebuild b/gnustep-base/gnustep-make/gnustep-make-2.7.0.ebuild new file mode 100644 index 000000000000..9522bebd80c6 --- /dev/null +++ b/gnustep-base/gnustep-make/gnustep-make-2.7.0.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +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() { + #--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 + 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 +} 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 +} diff --git a/gnustep-base/gnustep-make/metadata.xml b/gnustep-base/gnustep-make/metadata.xml new file mode 100644 index 000000000000..5a4923692c52 --- /dev/null +++ b/gnustep-base/gnustep-make/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnustep@gentoo.org</email> + <name>Gentoo GNUstep Project</name> +</maintainer> +<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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/gnustep-base/gnustep-updater/Manifest b/gnustep-base/gnustep-updater/Manifest new file mode 100644 index 000000000000..8277030e6d43 --- /dev/null +++ b/gnustep-base/gnustep-updater/Manifest @@ -0,0 +1 @@ +DIST gnustep-updater-0.3.tar.bz2 3685 BLAKE2B df4d4e54243e0ffaa2ba28c71eefb7107b1cec59574f69ba4587a76a759d33d68c4d06250160b97814ef2c00e6e628664c30c760ad1fc3c9ac0c035451b5520a SHA512 079b51c54a7860c4eea65ffc63172ea69e88de4a34f2ca0d0c5ad3a1342ea37ee69edb107f287f04d33c3ee03658edd5386d1323f47e9bc201bc70d68d0c9c4b diff --git a/gnustep-base/gnustep-updater/gnustep-updater-0.3-r1.ebuild b/gnustep-base/gnustep-updater/gnustep-updater-0.3-r1.ebuild new file mode 100644 index 000000000000..c03c159ce0b4 --- /dev/null +++ b/gnustep-base/gnustep-updater/gnustep-updater-0.3-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Helper tool to upgrade Gentoo GNUstep installations" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:GNUstep" +SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" +IUSE="" + +RDEPEND="app-misc/pax-utils + >=gnustep-base/gnustep-make-2.6.0" +DEPEND="${RDEPEND}" + +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..3807821594f7 --- /dev/null +++ b/gnustep-base/gnustep-updater/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>gnustep@gentoo.org</email> + <name>Gentoo GNUstep Project</name> + </maintainer> + <longdescription>Helper tool to upgrade Gentoo GNUstep installations, after + the switch to FHS layout for example</longdescription> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/gnustep-base/libobjc2/Manifest b/gnustep-base/libobjc2/Manifest new file mode 100644 index 000000000000..8de99af580c5 --- /dev/null +++ b/gnustep-base/libobjc2/Manifest @@ -0,0 +1,3 @@ +DIST libobjc2-1.8.1.tar.gz 173635 BLAKE2B 1ed9df6ee934a56dd8565904f9a402f5687bac6f876bcef538fed60c4ebd34af8f35921bdabbdf1ad97fb371e591aea3e47170afaffe65056af07c88e01f0b37 SHA512 518f36e96a82a076fc67fe384226bd97310cd10a53c7b0951db9f3658aa534582b245d5cb97956fe91c38338c3fc8f1e569dd8af36f6d12e32bf1460251d02eb +DIST libobjc2-1.8.tar.gz 173512 BLAKE2B ba494dd2db2bfdcc2cfce906014d75146368f049ebe4ea6b83024705af2b78f916252a084b95be43c245c5fd6574d00db75853d291193ea70cc48a6b5dbeab93 SHA512 1562e42dc43a24c1655d02db7aa101a48a7b026bec23252c8eec3893fbac0d67368685291df0954ee79f07b92ecc13c68ee7c7b0f351428a31e99ed05ed2230d +DIST libobjc2-2.0.tar.gz 191800 BLAKE2B 71f54b1410e20bb638dce4cae8c2cc48ea07acf31a97f1994587a9f6401b725ac393abaef355e9476ef6a0622d80fb6fbe4b3c7f39294e7bedbba17cd4108278 SHA512 2b72506204b8fea6a76688ee96611613c4b7cf98942acc89905c531f4dc997ae0482ff10fa819c2471df6c06d5ebcd251167d8903a4f18d47507cd42baec3748 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.8.1.ebuild b/gnustep-base/libobjc2/libobjc2-1.8.1.ebuild new file mode 100644 index 000000000000..5f701cd27c0f --- /dev/null +++ b/gnustep-base/libobjc2/libobjc2-1.8.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +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" +RESTRICT="!test? ( test )" + +RDEPEND="boehm-gc? ( dev-libs/boehm-gc ) + cxx? ( sys-libs/libcxx )" +DEPEND="${DEPEND} + >=sys-devel/clang-2.9" + +PATCHES=( "${FILESDIR}"/${PN}-1.7-fix_soname.patch ) + +src_prepare() { + cmake-utils_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++ + + 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..5f701cd27c0f --- /dev/null +++ b/gnustep-base/libobjc2/libobjc2-1.8.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +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" +RESTRICT="!test? ( test )" + +RDEPEND="boehm-gc? ( dev-libs/boehm-gc ) + cxx? ( sys-libs/libcxx )" +DEPEND="${DEPEND} + >=sys-devel/clang-2.9" + +PATCHES=( "${FILESDIR}"/${PN}-1.7-fix_soname.patch ) + +src_prepare() { + cmake-utils_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++ + + 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-2.0.ebuild b/gnustep-base/libobjc2/libobjc2-2.0.ebuild new file mode 100644 index 000000000000..68cf5e40dbaa --- /dev/null +++ b/gnustep-base/libobjc2/libobjc2-2.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +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 test" +RESTRICT="!test? ( test )" + +RDEPEND="boehm-gc? ( dev-libs/boehm-gc ) + sys-libs/libcxx" +BDEPEND="${RDEPEND} + sys-devel/clang" + +src_configure() { + export CC="clang" + export CXX="clang++" + local mycmakeargs=( + -DGNUSTEP_CONFIG=GNUSTEP_CONFIG-NOTFOUND + -DBOEHM_GC="$(usex boehm-gc)" + -DTESTS="$(usex test)" + ) + cmake-utils_src_configure +} diff --git a/gnustep-base/libobjc2/metadata.xml b/gnustep-base/libobjc2/metadata.xml new file mode 100644 index 000000000000..f3679caaaa62 --- /dev/null +++ b/gnustep-base/libobjc2/metadata.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>gnustep@gentoo.org</email> + <name>Gentoo GNUstep Project</name> + </maintainer> + <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> + <origin>gentoo-staging</origin> +</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..9ea7b391c1b1 --- /dev/null +++ b/gnustep-base/mknfonts/Manifest @@ -0,0 +1 @@ +DIST mknfonts.tool_0.5.orig.tar.gz 2890 BLAKE2B 584989b90c0fb44d62f69174e0dca706a8bcfab942442228ae4e5c98dfb8221e9bfc43cb32b4f48609b51ff7217f591f2d7acaccf219a2ed34b99fb9f5ea2f4e SHA512 a6ad5810576285f16a8dc3596205b64bc6b183a6b9377df1c9e40d28cdba7ce2ae6e6b883478429f8c931bdd3f9f23396c6f5cd3fa1d155025638bb77ccd86ed diff --git a/gnustep-base/mknfonts/files/mknfonts-0.5-pkgconfig.patch b/gnustep-base/mknfonts/files/mknfonts-0.5-pkgconfig.patch new file mode 100644 index 000000000000..e73bac5c1ddf --- /dev/null +++ b/gnustep-base/mknfonts/files/mknfonts-0.5-pkgconfig.patch @@ -0,0 +1,14 @@ +diff -Naur mknfonts-0.5.orig/GNUmakefile mknfonts-0.5/GNUmakefile +--- mknfonts-0.5.orig/GNUmakefile 2002-09-28 12:27:26.000000000 +0200 ++++ mknfonts-0.5/GNUmakefile 2018-06-29 11:27:01.871588321 +0200 +@@ -9,8 +9,8 @@ + + ADDITIONAL_OBJCFLAGS += -Wall -O2 + +-ADDITIONAL_INCLUDE_DIRS += `freetype-config --cflags` +-ADDITIONAL_LDFLAGS += `freetype-config --libs` ++ADDITIONAL_INCLUDE_DIRS += `pkg-config --cflags freetype2` ++ADDITIONAL_LDFLAGS += `pkg-config --libs freetype2` + + mknfonts_OBJC_FILES = mknfonts.m + diff --git a/gnustep-base/mknfonts/files/mknfonts-rename.patch b/gnustep-base/mknfonts/files/mknfonts-rename.patch new file mode 100644 index 000000000000..e62618b7844c --- /dev/null +++ b/gnustep-base/mknfonts/files/mknfonts-rename.patch @@ -0,0 +1,15 @@ +--- mknfonts-0.5/mknfonts.m.orig 2007-05-03 11:46:27.000000000 +0200 ++++ mknfonts-0.5/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..d604efacf422 --- /dev/null +++ b/gnustep-base/mknfonts/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnustep@gentoo.org</email> + <name>Gentoo GNUstep Project</name> +</maintainer> +<longdescription> +mknfonts is a tool that offers ease of creating new font sets for the gnustep-back-art package. +</longdescription> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/gnustep-base/mknfonts/mknfonts-0.5-r2.ebuild b/gnustep-base/mknfonts/mknfonts-0.5-r2.ebuild new file mode 100644 index 000000000000..b4e3d0b21090 --- /dev/null +++ b/gnustep-base/mknfonts/mknfonts-0.5-r2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnustep-base + +DESCRIPTION="A tool to create .nfont packages for use with gnustep-back-art" +HOMEPAGE="https://packages.debian.org/mknfonts.tool" +SRC_URI="mirror://debian/pool/main/m/${PN}.tool/${PN}.tool_${PV}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="" + +DEPEND="gnustep-base/gnustep-gui + >=media-libs/freetype-2.1" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/${PN}-rename.patch ) + +src_prepare() { + # Correct link command for --as-needed + sed -i -e "s/ADDITIONAL_LDFLAGS/ADDITIONAL_TOOL_LIBS/" GNUmakefile || die "sed failed" + + default +} diff --git a/gnustep-base/mknfonts/mknfonts-0.5-r3.ebuild b/gnustep-base/mknfonts/mknfonts-0.5-r3.ebuild new file mode 100644 index 000000000000..af4957771143 --- /dev/null +++ b/gnustep-base/mknfonts/mknfonts-0.5-r3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit gnustep-base + +DESCRIPTION="A tool to create .nfont packages for use with gnustep-back-art" +HOMEPAGE="https://packages.debian.org/mknfonts.tool" +SRC_URI="mirror://debian/pool/main/m/${PN}.tool/${PN}.tool_${PV}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="" + +RDEPEND="gnustep-base/gnustep-gui + >=media-libs/freetype-2.1" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-rename.patch + "${FILESDIR}"/${P}-pkgconfig.patch +) + +src_prepare() { + default + + # Correct link command for --as-needed + sed -i -e "s/ADDITIONAL_LDFLAGS/ADDITIONAL_TOOL_LIBS/" GNUmakefile || die +} |
