diff options
author | Fabian Groffen <grobian@gentoo.org> | 2007-05-12 10:13:17 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2007-05-12 10:13:17 +0000 |
commit | f268d36bd1cacd0ec49af91df4705a0199820b94 (patch) | |
tree | 9627401948a71a474ac86a9e5845740da8077290 | |
download | prefix-f268d36bd1cacd0ec49af91df4705a0199820b94.tar.gz prefix-f268d36bd1cacd0ec49af91df4705a0199820b94.tar.bz2 prefix-f268d36bd1cacd0ec49af91df4705a0199820b94.zip |
Add prefix-overlay. This should not be used by mortal souls, and is
here solely to allow me to contribute a little bit to the great GNUstep
revival.
svn path=/prefix-overlay/; revision=11
36 files changed, 1237 insertions, 0 deletions
diff --git a/eclass/gnustep-2.eclass b/eclass/gnustep-2.eclass new file mode 100644 index 0000000..00b6442 --- /dev/null +++ b/eclass/gnustep-2.eclass @@ -0,0 +1,250 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils flag-o-matic + +DESCRIPTION="eclass for GNUstep Apps, Frameworks, and Bundles build" + +# IUSE variables across all GNUstep packages +# "debug" - enable code for debugging; also nostrip +# "profile" - enable code for profiling; also nostrip +# "doc" - build and install documentation, if available +IUSE="debug profile doc" +if use debug || use profile; then + RESTRICT="nostrip" +fi + +# Dependencies +# Most .app should be set up this way: +# + DEPEND="${GS_DEPEND} other/depend ..." +# + RDEPEND="${GS_RDEPEND} other/rdepend ..." + +# packages needed to build docs +DOC_DEPEND="doc? ( virtual/tetex + =dev-tex/latex2html-2002* + >=app-text/texi2html-1.64 )" +# packages needed to view docs +DOC_RDEPEND="doc? ( virtual/man + >=sys-apps/texinfo-4.6 )" +# packages needed to build any gnustep package +GNUSTEP_CORE_DEPEND="virtual/libc + >=sys-devel/gcc-3.3.5 + ${DOC_DEPEND}" +# packages needed to utilize .debug apps +DEBUG_DEPEND="debug? ( >=sys-devel/gdb-6.0 )" + +GS_DEPEND=">=gnustep-base/gnustep-env-0.2" +GS_RDEPEND="${GS_DEPEND} + ${DEBUG_DEPEND} + ${DOC_RDEPEND}" + +# Ebuild function overrides +gnustep-2_pkg_setup() { + if test_version_info 3.3 + then + strip-unsupported-flags + elif test_version_info 3.4 + then + # strict-aliasing is known to break obj-c stuff in gcc-3.4* + filter-flags -fstrict-aliasing + fi + + # known to break ObjC (bug 86089) + filter-flags -fomit-frame-pointer +} + +gnustep-2_src_compile() { + #TODO + # Should handle configure + # http://devmanual.gentoo.org/ebuild-writing/functions/src_compile/index.html + # gnustep-libs/netclasses for example + egnustep_env + egnustep_make || die +} + +gnustep-2_src_install() { + egnustep_env + egnustep_install || die + if use doc ; then + egnustep_env + egnustep_doc || die + fi + # Copies "convenience scripts" + if [ -f ${FILESDIR}/config-${PN}.sh ]; then + dodir `egnustep_install_path`/Tools/Gentoo + exeinto `egnustep_install_path`/Tools/Gentoo + doexe ${FILESDIR}/config-${PN}.sh + fi +} + +gnustep-2_pkg_postinst() { + # Informs user about existence of "convenience script" + if [ -f ${FILESDIR}/config-${PN}.sh ]; then + einfo "Make sure to set happy defaults for this package by executing:" + einfo " `egnustep_install_path`/Tools/Gentoo/config-${PN}.sh" + einfo "as the user you will run the package as." + fi +} + + +###################################################################################### +#TODO finish merge +###################################################################################### + +# Prints out the dirname of GNUSTEP_SYSTEM_ROOT, i.e., "System" is installed +# in egnustep_prefix +egnustep_prefix() { + # Generally, only gnustep-make should be the one setting this value + if [ "$1" ]; then + __GS_PREFIX="$(dirname $1/prune)" + return 0 + fi + + if [ -f /etc/conf.d/gnustep.env ]; then + . /etc/conf.d/gnustep.env + if [ -z "${GNUSTEP_SYSTEM_ROOT}" ] || [ "/" != "${GNUSTEP_SYSTEM_ROOT:0:1}" ]; then + die "Please check /etc/conf.d/gnustep.env for consistency or remove it." + fi + __GS_PREFIX=$(dirname ${GNUSTEP_SYSTEM_ROOT}) + elif [ -z "${__GS_PREFIX}" ]; then + __GS_PREFIX="/usr/GNUstep" + __GS_SYSTEM_ROOT="/usr/GNUstep/System" + fi + + echo "${__GS_PREFIX}" +} + +# Prints/sets the GNUstep install domain; Generally, this will only be +# "System" or "Local" +egnustep_install_domain() { + if [ -z "$1" ]; then + echo ${__GS_INSTALL_DOMAIN} + return 0 + fi + + if [ "$1" == "System" ]; then + __GS_INSTALL_DOMAIN="SYSTEM" + elif [ "$1" == "Local" ]; then + __GS_INSTALL_DOMAIN="LOCAL" + else + die "An invalid parameter has been passed to ${FUNCNAME}" + fi +} + +# Prints the GNUstep install path +egnustep_install_path() { + if [ "$__GS_INSTALL_DOMAIN" == "SYSTEM" ]; then + echo "${__GS_SYSTEM_ROOT}" + elif [ "$__GS_INSTALL_DOMAIN" == "LOCAL" ]; then + echo "${__GS_LOCAL_ROOT}" + fi +} + +# Clean/reset an ebuild to the installed GNUstep environment +egnustep_env() { + GNUSTEP_SYSTEM_ROOT="$(egnustep_prefix)/System" + if [ -f ${GNUSTEP_SYSTEM_ROOT}/Library/Makefiles/GNUstep.sh ] ; then + . ${GNUSTEP_SYSTEM_ROOT}/Library/Makefiles/GNUstep-reset.sh + if [ -f /etc/conf.d/gnustep.env ]; then + . /etc/conf.d/gnustep.env + else + GNUSTEP_SYSTEM_ROOT="/usr/GNUstep/System" + fi + . ${GNUSTEP_SYSTEM_ROOT}/Library/Makefiles/GNUstep.sh + + __GS_SYSTEM_ROOT=${GNUSTEP_SYSTEM_ROOT} + __GS_LOCAL_ROOT=${GNUSTEP_LOCAL_ROOT} + __GS_NETWORK_ROOT=${GNUSTEP_NETWORK_ROOT} + __GS_USER_DIR=${GNUSTEP_USER_DIR} + __GS_USER_DEFAULTS_DIR=${GNUSTEP_USER_DEFAULTS_DIR} + + # Set up common env vars for make operations + __GS_MAKE_EVAL=" \ + HOME=\"\${T}\" \ + GNUSTEP_USER_DIR=\"\${T}\" \ + GNUSTEP_USER_DEFAULTS_DIR=\"\${T}\"/Defaults \ + DESTDIR=\"\${D}\" \ + GNUSTEP_INSTALLATION_DOMAIN=\"$(egnustep_install_domain)\" \ + GNUSTEP_MAKEFILES=\"\${GNUSTEP_SYSTEM_ROOT}\"/Library/Makefiles \ + TAR_OPTIONS=\"\${TAR_OPTIONS} --no-same-owner\" \ + messages=yes -j1" + if ! use debug ; then + __GS_MAKE_EVAL="${__GS_MAKE_EVAL} debug=no" + fi + if use profile; then + __GS_MAKE_EVAL="${__GS_MAKE_EVAL} profile=yes" + fi + else + die "gnustep-make not installed!" + fi +} + +# Get/Set the GNUstep system root +egnustep_system_root() { + if [ "$1" ]; then + __GS_SYSTEM_ROOT="$(dirname $1/prune)" + else + echo ${__GS_SYSTEM_ROOT} + fi +} + +# Get/Set the GNUstep local root +egnustep_local_root() { + if [ "$1" ]; then + __GS_LOCAL_ROOT="$(dirname $1/prune)" + else + echo ${__GS_LOCAL_ROOT} + fi +} + +# Get/Set the GNUstep network root +egnustep_network_root() { + if [ "$1" ]; then + __GS_NETWORK_ROOT="$(dirname $1/prune)" + else + echo ${__GS_NETWORK_ROOT} + fi +} + +# Get/Set the GNUstep user dir +egnustep_user_dir() { + if [ "$1" ]; then + __GS_USER_DIR="$(dirname $1/prune)" + else + echo ${__GS_USER_DIR} + fi +} + +# Make utilizing GNUstep Makefiles +egnustep_make() { + if [ -f ./[mM]akefile -o -f ./GNUmakefile ] ; then + eval emake ${__GS_MAKE_EVAL} all || die "package make failed" + else + die "no Makefile found" + fi + return 0 +} + +# Make-install utilizing GNUstep Makefiles +egnustep_install() { + if [ -f ./[mM]akefile -o -f ./GNUmakefile ] ; then + eval emake ${__GS_MAKE_EVAL} install || die "package install failed" + else + die "no Makefile found" + fi + return 0 +} + +# Make and install docs using GNUstep Makefiles +egnustep_doc() { + cd ${S}/Documentation + if [ -f ./[mM]akefile -o -f ./GNUmakefile ] ; then + eval emake ${__GS_MAKE_EVAL} all || die "doc make failed" + eval emake ${__GS_MAKE_EVAL} install || die "doc install failed" + fi + cd .. + return 0 +} + +EXPORT_FUNCTIONS pkg_setup src_compile src_install pkg_postinst diff --git a/gnustep-apps/gorm/Manifest b/gnustep-apps/gorm/Manifest new file mode 100644 index 0000000..959f6a2 --- /dev/null +++ b/gnustep-apps/gorm/Manifest @@ -0,0 +1,2 @@ +DIST gorm-1.2.1.tar.gz 620438 RMD160 fb6db48dfd42a9c98137e9ed7cb48466dfeb6241 SHA1 42d27bfb0ce7862fec2e006db71be57d8de2ea09 SHA256 b127fdb566bf9e8e8cda9423730a2d9c5c295a3b9895f5d9bdcbcb41ec041f09 +EBUILD gorm-1.2.1.ebuild 1101 RMD160 0a0dd423ea15bf5bbdceb0ae5243e14e9a1af98d SHA1 8ddeff08ba5fe5292a28e1873d4509658e429d65 SHA256 e10fa3cad1ff923f9243e4ba767febc5e6a546d1581140b904295cd4eab2b638 diff --git a/gnustep-apps/gorm/gorm-1.2.1.ebuild b/gnustep-apps/gorm/gorm-1.2.1.ebuild new file mode 100644 index 0000000..b79c619 --- /dev/null +++ b/gnustep-apps/gorm/gorm-1.2.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/gorm/gorm-1.1.0.ebuild,v 1.1 2006/12/05 21:30:38 grobian Exp $ + +inherit gnustep-2 + +IUSE="doc" +DESCRIPTION="A clone of the NeXTstep Interface Builder application for GNUstep" +HOMEPAGE="http://www.gnustep.org/experience/Gorm.html" +SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/dev-apps/${P}.tar.gz" + +KEYWORDS="~amd64 ~x86 ~ppc" +LICENSE="GPL-2" +SLOT="0" + +DEPEND="${GS_DEPEND} + doc? ( sys-apps/sed )" +RDEPEND="${GS_RDEPEND}" + +egnustep_install_domain "Local" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i -e "/DOCUMENT_NAME =.*/a \Gorm_DOC_INSTALL_DIR=Developer/Gorm" \ + -e "/DOCUMENT_TEXT_NAME =.*/a \ANNOUNCE_DOC_INSTALL_DIR=Developer/Gorm/ReleaseNotes" \ + -e "/DOCUMENT_TEXT_NAME =.*/a \README_DOC_INSTALL_DIR=Developer/Gorm/ReleaseNotes" \ + -e "/DOCUMENT_TEXT_NAME =.*/a \NEWS_DOC_INSTALL_DIR=Developer/Gorm/ReleaseNotes" \ + -e "/DOCUMENT_TEXT_NAME =.*/a \INSTALL_DOC_INSTALL_DIR=Developer/Gorm/ReleaseNotes" \ + ${S}/Documentation/GNUmakefile +} diff --git a/gnustep-apps/gworkspace/Manifest b/gnustep-apps/gworkspace/Manifest new file mode 100644 index 0000000..cd18aa8 --- /dev/null +++ b/gnustep-apps/gworkspace/Manifest @@ -0,0 +1,2 @@ +DIST gworkspace-0.8.5.tar.gz 2398566 RMD160 36857b2982c705219ab993ea4d92f46d3f72e4df SHA1 be26797188a2a804f9b1359546b9de1617981222 SHA256 839c2ce59301211d68e0391862a05eec48c38158cabd840f2f9e8a4d6cabdeea +EBUILD gworkspace-0.8.5.ebuild 2123 RMD160 c876ce77e899856f7e76af4684e725b7895dc0f0 SHA1 c774b201a3cc6da0c1d26e3c9a22554a3707aab5 SHA256 e01708b555341adb74b4b9beed1a2d000f760e8dfe7a1a1fca0f4141ee3ccb9d diff --git a/gnustep-apps/gworkspace/gworkspace-0.8.5.ebuild b/gnustep-apps/gworkspace/gworkspace-0.8.5.ebuild new file mode 100644 index 0000000..77eafd9 --- /dev/null +++ b/gnustep-apps/gworkspace/gworkspace-0.8.5.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/gworkspace/gworkspace-0.8.3.ebuild,v 1.2 2007/01/05 07:07:47 flameeyes Exp $ + +inherit gnustep-2 + +S=${WORKDIR}/${P/gw/GW} + +DESCRIPTION="A workspace manager for GNUstep" +HOMEPAGE="http://www.gnustep.it/enrico/gworkspace/" +SRC_URI="http://www.gnustep.it/enrico/gworkspace/${P}.tar.gz" + +KEYWORDS="~amd64 ~ppc ~x86" +LICENSE="GPL-2" +SLOT="0" + +IUSE="${IUSE} pdfkit doc" +DEPEND="${GS_DEPEND} + pdfkit? ( =gnustep-libs/pdfkit-0.9* ) + gnustep-apps/systempreferences + >=dev-db/sqlite-3.2.8 + !gnustep-apps/desktop + !gnustep-apps/recycler" +RDEPEND="${GS_RDEPEND} + pdfkit? ( =gnustep-libs/pdfkit-0.9* ) + gnustep-apps/systempreferences + >=dev-db/sqlite-3.2.8 + !gnustep-apps/desktop + !gnustep-apps/recycler" + +egnustep_install_domain "System" + +src_compile() { + egnustep_env + + # Non-flattened env + export CPPFLAGS="$CPPFLAGS -I$GNUSTEP_SYSTEM_ROOT/Library/Headers -I$GNUSTEP_LOCAL_ROOT/Library/Headers -I$GNUSTEP_SYSTEM_ROOT/Library/Headers/$LIBRARY_COMBO -I$GNUSTEP_LOCAL_ROOT/Library/Headers/$LIBRARY_COMBO -I$GNUSTEP_SYSTEM_ROOT/Library/Headers/$LIBRARY_COMBO/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS -I$GNUSTEP_LOCAL_ROOT/Library/Headers/$LIBRARY_COMBO/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS" + export LDFLAGS="$LDFLAGS -L$GNUSTEP_SYSTEM_ROOT/Library/Libraries -L$GNUSTEP_LOCAL_ROOT/Library/Libraries -L$GNUSTEP_SYSTEM_ROOT/Library/Libraries/$LIBRARY_COMBO -L$GNUSTEP_LOCAL_ROOT/Library/Libraries/$LIBRARY_COMBO -L$GNUSTEP_SYSTEM_ROOT/Library/Libraries/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/$LIBRARY_COMBO -L$GNUSTEP_LOCAL_ROOT/Library/Libraries/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/$LIBRARY_COMBO" + + econf || die "configure failed" + egnustep_make || die "make failed" + + cd ${S}/GWMetadata + ln -s ../DBKit + econf || die "GWMetadata configure failed" + egnustep_make || die "GWMetadata make failed" +} + +src_install() { + egnustep_env + + egnustep_install + + cd ${S}/GWMetadata + egnustep_install + + if use doc; + then + dodir /usr/share/doc/${PF} + cp ${S}/Documentation/*.pdf ${D}/usr/share/doc/${PF} + fi +} + diff --git a/gnustep-base/gnustep-back-art/Manifest b/gnustep-base/gnustep-back-art/Manifest new file mode 100644 index 0000000..8eb2260 --- /dev/null +++ b/gnustep-base/gnustep-back-art/Manifest @@ -0,0 +1,3 @@ +AUX config-gnustep-back-art.sh 382 RMD160 f0b2864e67a56673e48ca53dfc2aad6b29fc09a5 SHA1 ececa255316ad50a8e7e8b880a06914a824ebfa2 SHA256 6d14ed72696c65ad30bdce39aa12b11972d60dc4245f3186087f4015e984ad23 +DIST gnustep-back-0.12.0.tar.gz 853996 RMD160 ad19420127bb0e2e5f7dc9c3cf9974ea06255565 SHA1 859aef314eb9ef5cbedad9dc53a818542baa17ec SHA256 59b000aa069e2a50398b31296ce5d663f98fc8d131bfd8f3d10e29b0a5379a45 +EBUILD gnustep-back-art-0.12.0.ebuild 2176 RMD160 6a1c24e951f5db09438d21760ec56f75e509d417 SHA1 096920b7851e8203d02b6288e1cf8e2dbc1f705e SHA256 7312d3b1826b5f08822eb3cb6e145a96ce707ddd9ab71e0e891f6b7f50c036dc diff --git a/gnustep-base/gnustep-back-art/files/config-gnustep-back-art.sh b/gnustep-base/gnustep-back-art/files/config-gnustep-back-art.sh new file mode 100644 index 0000000..f1f02ce --- /dev/null +++ b/gnustep-base/gnustep-back-art/files/config-gnustep-back-art.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +echo "Switching to libgnustep-art backend ..." +echo "defaults write NSGlobalDomain GSBackend libgnustep-art" +defaults write NSGlobalDomain GSBackend libgnustep-art + +echo "Setting default fonts..." +defaults write NSGlobalDomain NSFont DejaVuSans +defaults write NSGlobalDomain NSBoldFont DejaVuSans-Bold +defaults write NSGlobalDomain NSUserFixedPitchFont DejaVuSansMono + diff --git a/gnustep-base/gnustep-back-art/gnustep-back-art-0.12.0.ebuild b/gnustep-base/gnustep-back-art/gnustep-back-art-0.12.0.ebuild new file mode 100644 index 0000000..540a8ca --- /dev/null +++ b/gnustep-base/gnustep-back-art/gnustep-back-art-0.12.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-back-art/gnustep-back-art-0.11.0.ebuild,v 1.1 2006/09/03 21:17:12 grobian Exp $ + +inherit gnustep-2 + +S=${WORKDIR}/gnustep-back-${PV} + +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" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +SLOT="0" +LICENSE="LGPL-2.1" + +PROVIDE="virtual/gnustep-back" + +IUSE="${IUSE} opengl xim doc" +# from http://gnustep.made-it.com/BuildGuide/index.html#BUILDING.GNUSTEP +# gnustep-gui, libICE, libSM, libX11, libXext, libXi, libXmu, libXt, +# libGL, libXft, libXrender, libexpat, libfontconfig, libfreetype, +# libart +DEPEND="${GNUSTEP_CORE_DEPEND} + >=gnustep-base/gnustep-gui-0.12 + 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 + dev-libs/expat + media-libs/fontconfig + >=media-libs/freetype-2.1.9 + >=media-libs/libart_lgpl-2.3 + gnustep-base/mknfonts + media-fonts/dejavu + !virtual/gnustep-back" +RDEPEND="${DEPEND} + ${DEBUG_DEPEND} + ${DOC_RDEPEND}" + +egnustep_install_domain "System" + +src_compile() { + egnustep_env + + use opengl && myconf="--enable-glx" + myconf="$myconf `use_enable xim`" + myconf="$myconf --enable-server=x11" + myconf="$myconf --enable-graphics=art --with-name=art" + econf $myconf || die "configure failed" + + egnustep_make + + # Create font lists for DejaVu + einfo "Installing DejaVu fonts in GNUstep" + cd Fonts + mknfonts /usr/share/fonts/dejavu/*.ttf + for fdir in DejaVu*; do + mv -v $fdir `echo $fdir | tr -d [:space:]` + done +} + +src_install() { + egnustep_env + + gnustep-2_src_install + cd ${S} + mkdir -p "${D}/$(egnustep_system_root)/Library/Fonts" + cp -pPR Fonts/*.nfont "${D}/$(egnustep_system_root)/Library/Fonts" + + rm -rf "${D}/$(egnustep_system_root)/var" + + dosym \ + "$(egnustep_system_root)/Library/Bundles/libgnustep-art-012.bundle" \ + "$(egnustep_system_root)/Library/Bundles/libgnustep-art.bundle" +} + diff --git a/gnustep-base/gnustep-back-cairo/Manifest b/gnustep-base/gnustep-back-cairo/Manifest new file mode 100644 index 0000000..49b5a68 --- /dev/null +++ b/gnustep-base/gnustep-back-cairo/Manifest @@ -0,0 +1,3 @@ +AUX config-gnustep-back-cairo.sh 184 RMD160 b0f078511aadce2746e8cc9fc504c41f0f55ccd7 SHA1 eed07fee2fd3f8fd3555ee4974e0f9f6f367060f SHA256 2dd55a88f04dd99cf36e8162cd8d967bd21a72681ace85fada3eb106e3615bac +DIST gnustep-back-0.12.0.tar.gz 853996 RMD160 ad19420127bb0e2e5f7dc9c3cf9974ea06255565 SHA1 859aef314eb9ef5cbedad9dc53a818542baa17ec SHA256 59b000aa069e2a50398b31296ce5d663f98fc8d131bfd8f3d10e29b0a5379a45 +EBUILD gnustep-back-cairo-0.12.0.ebuild 1454 RMD160 a535ad153a494d6ba5ac588b89cc2bbc7703a7cf SHA1 67d795784a25507851cae8e971daf2ee07eb00ec SHA256 516f47478cedc311b6386933f40fead85c9a670eb7c2ddaf539de4ead81396de diff --git a/gnustep-base/gnustep-back-cairo/files/config-gnustep-back-cairo.sh b/gnustep-base/gnustep-back-cairo/files/config-gnustep-back-cairo.sh new file mode 100644 index 0000000..cde9ce8 --- /dev/null +++ b/gnustep-base/gnustep-back-cairo/files/config-gnustep-back-cairo.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +echo "Switching to libgnustep-cairo backend ..." +echo "defaults write NSGlobalDomain GSBackend libgnustep-cairo" +defaults write NSGlobalDomain GSBackend libgnustep-cairo + diff --git a/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.12.0.ebuild b/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.12.0.ebuild new file mode 100644 index 0000000..7fce2c0 --- /dev/null +++ b/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.12.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit gnustep-2 + +S=${WORKDIR}/gnustep-back-${PV} + +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" +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="LGPL-2.1" + +PROVIDE="virtual/gnustep-back" + +IUSE="${IUSE} opengl xim doc glitz" +DEPEND="${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 + gnustep-base/mknfonts + !virtual/gnustep-back" +RDEPEND="${DEPEND} + ${DEBUG_DEPEND} + ${DOC_RDEPEND}" + +egnustep_install_domain "System" + +src_compile() { + egnustep_env + + use opengl && myconf="--enable-glx" + myconf="$myconf `use_enable xim`" + myconf="$myconf --enable-server=x11" + myconf="$myconf --enable-graphics=cairo --with-name=cairo" + # Seems broken for now + #myconf="$myconf `use_enable glitz`" + + econf $myconf || die "configure failed" + + egnustep_make + +} + +src_install() { + egnustep_env + + gnustep-2_src_install + + dosym \ + "$(egnustep_system_root)/Library/Bundles/libgnustep-cairo-012.bundle" \ + "$(egnustep_system_root)/Library/Bundles/libgnustep-cairo.bundle" +} + diff --git a/gnustep-base/gnustep-back-xlib/Manifest b/gnustep-base/gnustep-back-xlib/Manifest new file mode 100644 index 0000000..c302c10 --- /dev/null +++ b/gnustep-base/gnustep-back-xlib/Manifest @@ -0,0 +1,3 @@ +AUX config-gnustep-back-xlib.sh 181 RMD160 86c68bda088d52313c3a8f5af166edb7ba84298a SHA1 263efdd48e258a5f435fa2601804d8c62a3228cd SHA256 67ff4a0404740dbc2ffc455f8c93b9f930e48ce83856e1f26e3cdcd3901fef85 +DIST gnustep-back-0.12.0.tar.gz 853996 RMD160 ad19420127bb0e2e5f7dc9c3cf9974ea06255565 SHA1 859aef314eb9ef5cbedad9dc53a818542baa17ec SHA256 59b000aa069e2a50398b31296ce5d663f98fc8d131bfd8f3d10e29b0a5379a45 +EBUILD gnustep-back-xlib-0.12.0.ebuild 1495 RMD160 f723034494a32bf12ea757d160bd22b262b87d94 SHA1 167d0d513c46bf77b724a03b95371b0df08381d5 SHA256 747c61c8ea14b3d3f16cf2afc068548a0ba2ac203fd33f8df51b971f08378f55 diff --git a/gnustep-base/gnustep-back-xlib/files/config-gnustep-back-xlib.sh b/gnustep-base/gnustep-back-xlib/files/config-gnustep-back-xlib.sh new file mode 100644 index 0000000..f81b377 --- /dev/null +++ b/gnustep-base/gnustep-back-xlib/files/config-gnustep-back-xlib.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +echo "Switching to libgnustep-xlib backend ..." +echo "defaults write NSGlobalDomain GSBackend libgnustep-xlib" +defaults write NSGlobalDomain GSBackend libgnustep-xlib + diff --git a/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.12.0.ebuild b/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.12.0.ebuild new file mode 100644 index 0000000..b5c773e --- /dev/null +++ b/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.12.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-back-xlib/gnustep-back-xlib-0.11.0.ebuild,v 1.1 2007/03/26 18:44:07 grobian Exp $ + +inherit gnustep-2 + +S=${WORKDIR}/gnustep-back-${PV} + +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" +KEYWORDS="~ppc ~sparc ~x86" +SLOT="0" +LICENSE="LGPL-2.1" + +PROVIDE="virtual/gnustep-back" + +IUSE="opengl xim" +DEPEND="${GNUSTEP_CORE_DEPEND} + >=gnustep-base/gnustep-gui-0.11.0 + 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 + dev-libs/expat + media-libs/fontconfig + >=media-libs/freetype-2.1.9 + !virtual/gnustep-back" +RDEPEND="${DEPEND} + ${DEBUG_DEPEND} + ${DOC_RDEPEND}" + +egnustep_install_domain "System" + +src_compile() { + egnustep_env + + use opengl && myconf="--enable-glx" + myconf="$myconf `use_enable xim`" + myconf="$myconf --enable-server=x11" + myconf="$myconf --enable-graphics=xlib --with-name=xlib" + econf $myconf || die "configure failed" + + egnustep_make +} + +src_install() { + egnustep_env + + gnustep-2_src_install + + dosym \ + "$(egnustep_system_root)/Library/Bundles/libgnustep-xlib-012.bundle" \ + "$(egnustep_system_root)/Library/Bundles/libgnustep-xlib.bundle" + +} diff --git a/gnustep-base/gnustep-base/Manifest b/gnustep-base/gnustep-base/Manifest new file mode 100644 index 0000000..f7e53be --- /dev/null +++ b/gnustep-base/gnustep-base/Manifest @@ -0,0 +1,3 @@ +AUX 50-gnustep-revdep 35 RMD160 f9508891da2de58ef884baabf9206577653a409b SHA1 40e21ae24078afb92067f51ca82722f20b742512 SHA256 e0bde19a964f2ae01855b4353c3d2af7b0b0ca25231827798ebfea16e435d3a2 +DIST gnustep-base-1.14.0.tar.gz 2375895 RMD160 11eec8f70a219d747424fab4549ec20519d0f098 SHA1 114e3ac88cedec62d68a3bfb9993a50900cc827a SHA256 ccd55e5f3b473348661fe8e00491b21b1e1f481fab394df81a542cc3903ab65a +EBUILD gnustep-base-1.14.0.ebuild 3576 RMD160 1421925eb407485c99016facc0929e9495fe2506 SHA1 2f46c165f3dd76d077775bfd97320e656e6cff4e SHA256 454ace4e1da1df9d5a782476fc91180a7f0f716f0fd16988f2eb09a18219dac3 diff --git a/gnustep-base/gnustep-base/files/50-gnustep-revdep b/gnustep-base/gnustep-base/files/50-gnustep-revdep new file mode 100644 index 0000000..f055693 --- /dev/null +++ b/gnustep-base/gnustep-base/files/50-gnustep-revdep @@ -0,0 +1 @@ +SEARCH_DIRS="$GNUSTEP_SEARCH_DIRS" diff --git a/gnustep-base/gnustep-base/gnustep-base-1.14.0.ebuild b/gnustep-base/gnustep-base/gnustep-base-1.14.0.ebuild new file mode 100644 index 0000000..e3e1826 --- /dev/null +++ b/gnustep-base/gnustep-base/gnustep-base-1.14.0.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-base/gnustep-base-1.13.0-r1.ebuild,v 1.2 2007/03/15 17:33:32 grobian Exp $ + +inherit gnustep-2 autotools + +DESCRIPTION="The GNUstep Base Library is 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" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +SLOT="0" +LICENSE="GPL-2 LGPL-2.1" + +IUSE="${IUSE} doc gcc-libffi" + +DEPEND="${GNUSTEP_CORE_DEPEND} + >=gnustep-base/gnustep-make-2.0.0 + gcc-libffi? ( >=sys-devel/gcc-3.3.5 ) + !gcc-libffi? ( dev-libs/ffcall ) + >=dev-libs/libxml2-2.6 + >=dev-libs/libxslt-1.1 + >=dev-libs/gmp-4.1 + >=dev-libs/openssl-0.9.7 + >=sys-libs/zlib-1.2 + sys-apps/sed + ${DOC_DEPEND}" +RDEPEND="${DEPEND} + ${DEBUG_DEPEND} + ${DOC_RDEPEND}" + +egnustep_install_domain "System" + +src_unpack() { + egnustep_env + unpack ${A} + # TODO: need for obey-homedir patch? + + cd ${S} + + # FIX non-flattened + if [ -z $GNUSTEP_FLATTENED ]; + then + sed -i -e 's:$GNUSTEP_MAKEFILES/config.make:$GNUSTEP_MAKEFILES/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/$LIBRARY_COMBO/config.make:' \ + -e 's:$GNUSTEP_MAKEFILES/$obj_dir/config.make:$GNUSTEP_MAKEFILES/$obj_dir/$LIBRARY_COMBO/config.make:' \ + configure.ac + eautoreconf + fi +} + +src_compile() { + egnustep_env + + local myconf + if use gcc-libffi; + then + myconf="--enable-libffi --disable-ffcall" + myconf="${myconf} --with-ffi-library=$(gcc-config -L) --with-ffi-include=$(gcc-config -L | sed 's/:.*//')/include/libffi" + else + myconf="--disable-libffi --enable-ffcall" + fi + + myconf="$myconf --with-xml-prefix=/usr" + myconf="$myconf --with-gmp-include=/usr/include --with-gmp-library=/usr/lib" + myconf="$myconf --with-default-config=/etc/GNUstep/GNUstep.conf" + + econf $myconf || die "configure failed" + + egnustep_make || die +} + +src_install() { + egnustep_env + egnustep_install DESTDIR=${D} || die + + local base_temp_lib_path + if [ ! -z $GNUSTEP_FLATTENED ]; then + base_temp_lib_path="$(egnustep_install_domain)/Library/Libraries" + else + base_temp_lib_path="$(egnustep_install_domain)/Library/Libraries/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/$LIBRARY_COMBO" + fi + + if use doc; + then + local make_eval="INSTALL_ROOT=\${D} \ + GNUSTEP_SYSTEM_ROOT=\${D}\$(egnustep_system_root) \ + GNUSTEP_NETWORK_ROOT=\$(egnustep_network_root) \ + GNUSTEP_LOCAL_ROOT=\$(egnustep_local_root) \ + GNUSTEP_MAKEFILES=\$(egnustep_system_root)/Library/Makefiles \ + GNUSTEP_USER_ROOT=\${TMP} \ + GNUSTEP_DEFAULTS_ROOT=\${TMP}/\${__GS_USER_ROOT_POSTFIX} \ + LD_LIBRARY_PATH=\"\${D}\${base_temp_lib_path}:\${LD_LIBRARY_PATH}\" \ + GNUSTEP_INSTALLATION_DIR=\${D}\$(egnustep_install_domain) \ + -j1" + use debug && make_eval="${make_eval} debug=yes" + use verbose && make_eval="${make_eval} verbose=yes" + + cd ${S}/Documentation + eval emake ${make_eval} AUTOGSDOC="${S}/Tools/obj/autogsdoc" all \ + || die "doc make has failed" + eval emake ${make_eval} DESTDIR=${D} install \ + || die "doc install has failed" + cd .. + fi + + dodir /etc/revdep-rebuild + sed -e 's|$GNUSTEP_SEARCH_DIRS|'"$GNUSTEP_PATHLIST"'|' \ + "${FILESDIR}"/50-gnustep-revdep \ + > "${D}/etc/revdep-rebuild/50-gnustep-revdep" + + egnustep_package_config +} + +pkg_postinst() { + egnustep_env + + ewarn "The shared library version has changed in this release." + ewarn "You will need to recompile all Applications/Tools/etc in order" + ewarn "to use this library." + ewarn "Run:" + ewarn "revdep-rebuild --library \"libgnustep-base.so.1.1[0-3]\"" +} diff --git a/gnustep-base/gnustep-env/Manifest b/gnustep-base/gnustep-env/Manifest new file mode 100644 index 0000000..790aa10 --- /dev/null +++ b/gnustep-base/gnustep-env/Manifest @@ -0,0 +1,2 @@ +AUX gnustep.env-0.2 682 RMD160 8381bfcb162c4e58d6eaa97132a267394e44c6ae SHA1 d0c179a7a297cfcd55a6a0519cfcb8f44d2e1920 SHA256 54815d6008416af573bdc7e52251957ea195709dab4d413120ba17592a791910 +EBUILD gnustep-env-0.2.ebuild 1292 RMD160 68f864b3fbe44132ac4cade6a63a5390b0dd1069 SHA1 4745058e08cf39d6ca92dc7254454064c3720308 SHA256 5d1bfdc14f28bc09cc4c16766ede052d1c4255a49883700b02225ac462cfb2b7 diff --git a/gnustep-base/gnustep-env/files/gnustep.env-0.2 b/gnustep-base/gnustep-env/files/gnustep.env-0.2 new file mode 100644 index 0000000..364c5fe --- /dev/null +++ b/gnustep-base/gnustep-env/files/gnustep.env-0.2 @@ -0,0 +1,4 @@ +MANPATH="XXX_GNUSTEP_USER_ROOT_XXX/Library/Documentation/man:XXX_GNUSTEP_LOCAL_ROOT_XXX/Library/Documentation/man:XXX_GNUSTEP_NETWORK_ROOT_XXX/Library/Documentation/man:XXX_GNUSTEP_SYSTEM_ROOT_XXX/Library/Documentation/man" +INFOPATH="XXX_GNUSTEP_USER_ROOT_XXX/Library/Documentation/info:XXX_GNUSTEP_LOCAL_ROOT_XXX/Library/Documentation/info:XXX_GNUSTEP_NETWORK_ROOT_XXX/Library/Documentation/info:XXX_GNUSTEP_SYSTEM_ROOT_XXX/Library/Documentation/info" +INFODIR="XXX_GNUSTEP_USER_ROOT_XXX/Library/Documentation/info:XXX_GNUSTEP_LOCAL_ROOT_XXX/Library/Documentation/info:XXX_GNUSTEP_NETWORK_ROOT_XXX/Library/Documentation/info:XXX_GNUSTEP_SYSTEM_ROOT_XXX/Library/Documentation/info" + diff --git a/gnustep-base/gnustep-env/gnustep-env-0.2.ebuild b/gnustep-base/gnustep-env/gnustep-env-0.2.ebuild new file mode 100644 index 0000000..03c525e --- /dev/null +++ b/gnustep-base/gnustep-env/gnustep-env-0.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-env/gnustep-env-0.1.8-r1.ebuild,v 1.3 2007/04/09 13:41:31 grobian Exp $ + +inherit gnustep-2 + +DESCRIPTION="This is a convience package that installs all base GNUstep libraries, convenience scripts, and environment settings for use on Gentoo." +# These are support files for GNUstep on Gentoo, so setting +# homepage thusly +HOMEPAGE="http://www.gnustep.org" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +IUSE="" +DEPEND=">=gnustep-base/gnustep-make-2.0 + >=gnustep-base/gnustep-base-1.14 + >=gnustep-base/gnustep-gui-0.12 + >=virtual/gnustep-back-0.12" +RDEPEND="${DEPEND}" + +egnustep_install_domain="System" + +src_unpack() { + echo "nothing to unpack" +} + +src_compile() { + echo "nothing to compile" +} + +src_install() { + egnustep_env + newenvd ${FILESDIR}/gnustep.env-${PV} 99gnustep + dosed "s:XXX_GNUSTEP_USER_ROOT_XXX:~/$(egnustep_user_dir):g" /etc/env.d/99gnustep + dosed "s:XXX_GNUSTEP_LOCAL_ROOT_XXX:$(egnustep_local_root):g" /etc/env.d/99gnustep + dosed "s:XXX_GNUSTEP_NETWORK_ROOT_XXX:$(egnustep_network_root):g" /etc/env.d/99gnustep + dosed "s:XXX_GNUSTEP_SYSTEM_ROOT_XXX:$(egnustep_system_root):g" /etc/env.d/99gnustep +} + diff --git a/gnustep-base/gnustep-gui/Manifest b/gnustep-base/gnustep-gui/Manifest new file mode 100644 index 0000000..2902600 --- /dev/null +++ b/gnustep-base/gnustep-gui/Manifest @@ -0,0 +1,4 @@ +AUX gsnd.initd 988 RMD160 18495c58e14e434762d3747e0739fa7c48fdc628 SHA1 0b5d75cbbc5211407d102cb1fa2a23ff69f06118 SHA256 b4122d479a94f1c5e0a693c49e909112c5a9afa9cdbf24e1618d1beef245993b +DIST gnustep-gui-0.12.0.tar.gz 1738576 RMD160 886839d60065dbb598d9aefed929a820a0b5dc36 SHA1 f3ebc28181db5a30788ccfc547404a6f52c49fd0 SHA256 07fc74efb2db23a4499289aa690754d533c19897681152add93a074c05fd8a6e +EBUILD gnustep-gui-0.12.0.ebuild 2199 RMD160 63ad750d83b6165d210cb21127c8ecf256c8c2b7 SHA1 30937dfcf49f85f7cc94cdf74f20ed99469c0932 SHA256 600120e14ca01136ada638421c59aedce8e45960d67871a942787d3b48d6d34d +MISC metadata.xml 1355 RMD160 827c24953436fc2f6f00e6ed106dce431340ec35 SHA1 68cacccc861155f0ae65177787811fd66eb61579 SHA256 25cc768361f0311d0356e24a68dda7f1cee30c717644cb37884440e6ad0b976b diff --git a/gnustep-base/gnustep-gui/files/gsnd.initd b/gnustep-base/gnustep-gui/files/gsnd.initd new file mode 100644 index 0000000..170d4d3 --- /dev/null +++ b/gnustep-base/gnustep-gui/files/gsnd.initd @@ -0,0 +1,45 @@ +#!/sbin/runscript +# Copyright 1999-2006 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-gui/files/gsnd.initd,v 1.2 2006/12/05 20:22:42 grobian Exp $ + +service_name="GNUstep sound daemon" + +if [ -e /etc/GNUstep/GNUstep.conf ]; +then + . /etc/GNUstep/GNUstep.conf +else + GNUSTEP_SYSTEM_ROOT="/usr/GNUstep/System" +fi + +start() { + ebegin "Starting ${service_name}" + + # Check for necessary files + if [ -d ${GNUSTEP_SYSTEM_ROOT}/Makefiles ]; + then + # Source GNUstep makefile + . ${GNUSTEP_SYSTEM_ROOT}/Makefiles/GNUstep.sh + else + return 1 + fi + + if [ -z "$GNUSTEP_FLATTENED" ]; + then + TDIR=${GNUSTEP_SYSTEM_ROOT}/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}/${LIBRARY_COMBO} + else + TDIR=${GNUSTEP_SYSTEM_ROOT}/Tools + fi + + if [ -x $TDIR/gnustep_sndd ]; + then + $TDIR/gnustep_sndd + fi +} + +stop() { + ebegin "Stopping ${service_name}" + + # Kill processes + killall gnustep_sndd >& /dev/null +} diff --git a/gnustep-base/gnustep-gui/gnustep-gui-0.12.0.ebuild b/gnustep-base/gnustep-gui/gnustep-gui-0.12.0.ebuild new file mode 100644 index 0000000..ef0619c --- /dev/null +++ b/gnustep-base/gnustep-gui/gnustep-gui-0.12.0.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-gui/gnustep-gui-0.11.0.ebuild,v 1.1 2006/12/05 20:22:42 grobian Exp $ + +inherit gnustep-2 + +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" + +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +SLOT="0" +LICENSE="LGPL-2.1" + +IUSE="${IUSE} jpeg gif png gsnd doc cups" + +DEPEND="${GNUSTEP_CORE_DEPEND} + >=gnustep-base/gnustep-make-2.0.0 + >=gnustep-base/gnustep-base-1.14.0 + || ( + ( x11-libs/libXt ) + virtual/x11 + ) + >=media-libs/tiff-3 + jpeg? ( >=media-libs/jpeg-6b ) + gif? ( >=media-libs/giflib-4.1 ) + png? ( >=media-libs/libpng-1.2 ) + gsnd? ( + >=media-libs/audiofile-0.2 + ) + cups? ( >=net-print/cups-1.1 ) + app-text/aspell" +# gsnd needs a recent portaudio that's not unmasked in the tree yet +# =media-libs/portaudio-19* +RDEPEND="${DEPEND} + ${DEBUG_DEPEND} + ${DOC_RDEPEND}" + +egnustep_install_domain "System" + +src_unpack() { + unpack ${A} + + cd ${S} + +# if use gsnd; +# then +# sed -i -e "s:#include <portaudio.h>:#include <portaudio-2/portaudio.h>:g" ${S}/Tools/gsnd/gsnd.m +# sed -i -e "s:-lportaudio:-lportaudio-2:g" ${S}/Tools/gsnd/GNUmakefile +# sed -i -e "s:^BUILD_GSND=.*$:BUILD_GSND=gsnd:g" ${S}/config.make.in +# fi +} + +src_compile() { + egnustep_env + + myconf="--with-tiff-include=/usr/include --with-tiff-library=/usr/lib" + use gif && myconf="$myconf --disable-ungif --enable-libgif" + myconf="$myconf `use_enable jpeg`" + myconf="$myconf `use_enable png`" + myconf="$myconf `use_enable cups`" + + if use gsnd; + then + myconf="$myconf `use_enable gsnd`" + myconf="$myconf --with-audiofile-include=/usr/include --with-audiofile-lib=/usr/lib" +# myconf="$myconf --with-include-flags=-I/usr/include/portaudio-2" + fi + + econf $myconf || die "configure failed" + + egnustep_make || die + + if use doc; + then + cd ${S}/Documentation + egnustep_make || die + fi +} + +src_install() { + egnustep_env + egnustep_install DESTDIR=${D} || die + + if use doc; + then + cd ${S}/Documentation + egnustep_install || die + fi + + use gsnd && newinitd ${FILESDIR}/gsnd.initd gsnd +} diff --git a/gnustep-base/gnustep-gui/metadata.xml b/gnustep-base/gnustep-gui/metadata.xml new file mode 100644 index 0000000..898bf92 --- /dev/null +++ b/gnustep-base/gnustep-gui/metadata.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>gnustep</herd> +<longdescription> +It is a library of graphical user interface classes written completely +in the Objective-C language; the classes are based upon the OpenStep +specification as release by NeXT Software, Inc. The library has been +enhanced in a number of ways to take advantage of the GNU system. +These classes include graphical objects such as buttons, text fields, +popup lists, browser lists, and windows; there are also many associated +classes for handling events, colors, fonts, pasteboards and images. + +The GNUstep GUI Library is designed in two parts. The first part is +the front-end component which is independent of platform and display +system. This front-end is combined with a back-end component which +handles all of the display system dependent such as specific calls to +X/Windows. This design allows the GNUstep applications to have the +"look and feel" of the underlying display system without any changes to +the application, and the library can be easily ported to other display +systems. + +The GNUstep GUI Library requires the GNU Objective-C compiler, the +GNUstep Base Library, the TIFF Graphics library, and a back-end +component like the GNUstep 'Back' Backend. +</longdescription> +</pkgmetadata> diff --git a/gnustep-base/gnustep-make/Manifest b/gnustep-base/gnustep-make/Manifest new file mode 100644 index 0000000..007a613 --- /dev/null +++ b/gnustep-base/gnustep-make/Manifest @@ -0,0 +1,6 @@ +AUX gnustep.csh 550 RMD160 9c9f95980119f326dc0435e0bd1aab22c6e215ff SHA1 6a6690ed2f6503d7d7d443a32636de08ab67afe9 SHA256 4e35fccbb237b1ab5d9a7e35cc52e1c9455223c36162314e1bbadd7ea5df1f89 +AUX gnustep.sh 445 RMD160 c7ebec6201ca3df8447a17c26d3007fc281b1141 SHA1 7d3f311acc05d839c079565e12250d2194cdbdd8 SHA256 de8869e6468c0b19eae087273d05433c1c6edbefb57d4599a4149c2a1f9e660d +DIST gnustep-make-1.13.0.tar.gz 400157 RMD160 b1d619d7c677463bf1a4adae82a412ad95157dc2 SHA1 91f0494d58233e59254c365b338bca1bd684bea6 SHA256 d79c11bada9ccd32d0ab08a0dfbd776731b02103975a22b6b95284046b740e8f +DIST gnustep-make-2.0.0.tar.gz 443627 RMD160 4e7afee1733a792d4f6135e676fafbf50c39a86b SHA1 cf99c0bf388f54cfeca2d8b1d6446703878548cc SHA256 7e660367e2c047279d571e03813035b999620d0a0fe01b90bdacd874358f5957 +EBUILD gnustep-make-1.13.0.ebuild 2318 RMD160 828d585acf0673ab3a98588eac10963fecfeaa0d SHA1 c5d109082f4e6b7d09cfb84a2207c77cb338ff8a SHA256 f34b757710729d081aaae1f8132a0b7d611ad7f4be192d500677f6f0a0cc3baf +EBUILD gnustep-make-2.0.0.ebuild 2187 RMD160 196e334efb051f521b47ced4a142ad1013db0e4f SHA1 3aafad2b4cca8412aed0501171b3e8b3ec28676b SHA256 cf0452f8be55c55b671719087831d7578a5b177d83813c58560f2cb29fae40de diff --git a/gnustep-base/gnustep-make/files/gnustep.csh b/gnustep-base/gnustep-make/files/gnustep.csh new file mode 100644 index 0000000..fbb176a --- /dev/null +++ b/gnustep-base/gnustep-make/files/gnustep.csh @@ -0,0 +1,21 @@ +#!/bin/csh + +if ( -e /etc/GNUstep/GNUstep.conf ) then + eval `sed -e '/^[^#=][^#=]*=.*$/\\!d' -e 's/^\([^#=][^#=]*\)=\(.*\)$/setenv \1 \2;/' /etc/GNUstep/GNUstep.conf` +else + GNUSTEP_SYSTEM_ROOT="/usr/GNUstep/System" +endif + +source $GNUSTEP_SYSTEM_ROOT/Library/Makefiles/GNUstep.csh + +if ( -z "$GNUSTEP_FLATTENED" ) then + set TDIR=${GNUSTEP_SYSTEM_ROOT}/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}/${LIBRARY_COMBO} +else + set TDIR=${GNUSTEP_SYSTEM_ROOT}/Tools +endif + +if ( -x $TDIR/make_services ) then + $TDIR/make_services +endif + +unset TDIR
\ No newline at end of file diff --git a/gnustep-base/gnustep-make/files/gnustep.sh b/gnustep-base/gnustep-make/files/gnustep.sh new file mode 100644 index 0000000..7ffe0b6 --- /dev/null +++ b/gnustep-base/gnustep-make/files/gnustep.sh @@ -0,0 +1,23 @@ +#!/bin/sh + +if [ -e /etc/GNUstep/GNUstep.conf ] + then + . /etc/GNUstep/GNUstep.conf +else + GNUSTEP_SYSTEM_ROOT="/usr/GNUstep/System" +fi + +. $GNUSTEP_SYSTEM_ROOT/Library/Makefiles/GNUstep.sh + +if [ -z "$GNUSTEP_FLATTENED" ] + then + TDIR=${GNUSTEP_SYSTEM_ROOT}/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}/${LIBRARY_COMBO} +else + TDIR=${GNUSTEP_SYSTEM_ROOT}/Tools +fi + +if [ -x $TDIR/make_services ] + then + $TDIR/make_services +fi + diff --git a/gnustep-base/gnustep-make/gnustep-make-1.13.0.ebuild b/gnustep-base/gnustep-make/gnustep-make-1.13.0.ebuild new file mode 100644 index 0000000..1ce11a0 --- /dev/null +++ b/gnustep-base/gnustep-make/gnustep-make-1.13.0.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-1.13.0.ebuild,v 1.3 2007/03/18 01:33:13 genone Exp $ + +inherit gnustep + +DESCRIPTION="GNUstep Makefile Package" + +HOMEPAGE="http://www.gnustep.org" +SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz" +KEYWORDS="~amd64 ~ppc-macos ~x86" +SLOT="0" +LICENSE="GPL-2" + +IUSE="${IUSE} doc non-flattened" +DEPEND="${GNUSTEP_CORE_DEPEND} + >=sys-devel/make-3.75" +RDEPEND="${DEPEND} + ${DOC_RDEPEND}" +EPREFIX="" + +egnustep_install_domain "System" + +pkg_setup() { + gnustep_pkg_setup + + if [ "$(objc_available)" == "no" ]; then + objc_not_available_info + die "ObjC support not available" + fi +} + +src_compile() { + cd ${S} + + econf \ + --prefix="${EPREFIX}"/usr/GNUstep \ + --with-tar="${EPREFIX}"/bin/tar \ + --with-local-root="${EPREFIX}"/usr/GNUstep/Local \ + --with-network-root="${EPREFIX}"/usr/GNUstep/Network \ + --with-system-root="${EPREFIX}"/usr/GNUstep/System \ + --with-user-root='~/GNUstep' \ + --with-config-file="${EPREFIX}"/etc/GNUstep/GNUstep.conf \ + --disable-importing-config-file \ + || die "configure failed" + + egnustep_make +} + +src_install() { + . ${S}/GNUstep.sh + + local make_eval="GNUSTEP_USER_ROOT=${TMP} \ + GNUSTEP_DEFAULTS_ROOT=${TMP}/${__GS_USER_ROOT_POSTFIX} \ + GNUSTEP_INSTALLATION_DIR=${ED}/usr/GNUstep/System \ + -j1" + + use debug && make_eval="${make_eval} debug=yes" + + make ${make_eval} verbose=yes special_prefix="${D}" install \ + || die "install has failed" + + if use doc ; then + local docinstall="GNUSTEP_INSTALLATION_DIR=${ED}/usr/GNUstep/System" + cd Documentation + emake ${make_eval} all \ + || die "doc make has failed" + emake ${make_eval} ${docinstall} install \ + || die "doc install has failed" + cd .. + fi + + dodir /etc/conf.d + local prefix="\"${EPREFIX}\"/usr/GNUstep" + echo "GNUSTEP_SYSTEM_ROOT=${prefix}/System" > ${ED}/etc/conf.d/gnustep.env + echo "GNUSTEP_LOCAL_ROOT=${prefix}/Local" >> ${ED}/etc/conf.d/gnustep.env + echo "GNUSTEP_NETWORK_ROOT=${prefix}/Network" >> ${ED}/etc/conf.d/gnustep.env + echo "GNUSTEP_USER_ROOT='~/GNUstep'" >> ${ED}/etc/conf.d/gnustep.env + + insinto /etc/GNUstep + doins ${S}/GNUstep.conf + + exeinto /etc/profile.d + doexe ${FILESDIR}/gnustep.sh + doexe ${FILESDIR}/gnustep.csh +} + diff --git a/gnustep-base/gnustep-make/gnustep-make-2.0.0.ebuild b/gnustep-base/gnustep-make/gnustep-make-2.0.0.ebuild new file mode 100644 index 0000000..181fd69 --- /dev/null +++ b/gnustep-base/gnustep-make/gnustep-make-2.0.0.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-1.13.0.ebuild,v 1.3 2007/03/18 01:33:13 genone Exp $ + +inherit gnustep-2 + +DESCRIPTION="GNUstep Makefile Package" + +HOMEPAGE="http://www.gnustep.org" +SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +SLOT="0" +LICENSE="GPL-2" + +IUSE="${IUSE} doc non-flattened verbose" +DEPEND="${GNUSTEP_CORE_DEPEND} + >=sys-devel/make-3.75" +RDEPEND="${DEPEND} + ${DOC_RDEPEND}" + +egnustep_install_domain "System" + +pkg_setup() { + gnustep-2_pkg_setup + + if ! built_with_use sys-devel/gcc objc; then + ewarn "gcc must be compiled with Objective-C support! See the objc USE flag." + die "ObjC support not available" + fi + + # setup defaults here + egnustep_prefix "/usr/GNUstep" + egnustep_system_root "/usr/GNUstep/System" + egnustep_local_root "/usr/GNUstep/Local" + egnustep_network_root "/usr/GNUstep/Network" + egnustep_user_dir 'GNUstep' +} + +src_compile() { + cd ${S} + + local myconf + myconf="--prefix=`egnustep_prefix` --with-layout=gnustep" + use non-flattened && myconf="$myconf --disable-flattened --enable-multi-platform" + econf $myconf || die "configure failed" + + egnustep_make +} + +src_install() { + . ${S}/GNUstep.sh + + local make_eval="-j1" + use debug && make_eval="${make_eval} debug=yes" + use verbose && make_eval="${make_eval} verbose=yes" + + make ${make_eval} DESTDIR=${D} install || die "install has failed" + + if use doc ; then + cd Documentation + emake ${make_eval} all || die "doc make has failed" + emake ${make_eval} DESTDIR=${D} install || die "doc install has failed" + cd .. + fi + + dodir /etc/conf.d + echo "GNUSTEP_SYSTEM_ROOT=$(egnustep_system_root)" > ${D}/etc/conf.d/gnustep.env + echo "GNUSTEP_LOCAL_ROOT=$(egnustep_local_root)" >> ${D}/etc/conf.d/gnustep.env + echo "GNUSTEP_NETWORK_ROOT=$(egnustep_network_root)" >> ${D}/etc/conf.d/gnustep.env + echo "GNUSTEP_USER_DIR='$(egnustep_user_dir)'" >> ${D}/etc/conf.d/gnustep.env + + insinto /etc/GNUstep + doins ${S}/GNUstep.conf + + exeinto /etc/profile.d + doexe ${FILESDIR}/gnustep.sh + doexe ${FILESDIR}/gnustep.csh +} + diff --git a/gnustep-base/mknfonts/Manifest b/gnustep-base/mknfonts/Manifest new file mode 100644 index 0000000..d2957ac --- /dev/null +++ b/gnustep-base/mknfonts/Manifest @@ -0,0 +1,3 @@ +AUX mknfonts-rename.patch 473 RMD160 19599e38ca649bc76c03b2ca0908ab1913e7087e SHA1 d189ab6446a789e3178d3fb90c9ac6683cf67759 SHA256 0e4b60ca56cc4d4c374c68d7919593406d992b560f58e956858585d1fdea496e +DIST mknfonts-0.5.tar.gz 2890 RMD160 0baef5e7fbfdd8e8f4cba0183524c8a2086d54ac SHA1 d8d2f8354ad036d4fbee4554ecc019fa8fdcfc44 SHA256 5afc97d63c918f14026239bcc97104c3f990ed144c50f639fd04e03bac207f30 +EBUILD mknfonts-0.5-r1.ebuild 761 RMD160 f8012d3304afe67c8da79cf1ab4750ebee03b071 SHA1 b91c715f72e4a56df4a5b734f6aafd669b4fff63 SHA256 09220faa9384c3806848a52dc62ce8e650960ecfad60676b03ca291da33a2ab3 diff --git a/gnustep-base/mknfonts/files/mknfonts-rename.patch b/gnustep-base/mknfonts/files/mknfonts-rename.patch new file mode 100644 index 0000000..ffd4999 --- /dev/null +++ b/gnustep-base/mknfonts/files/mknfonts-rename.patch @@ -0,0 +1,15 @@ +--- mknfonts.m.orig 2007-05-03 11:46:27.000000000 +0200 ++++ mknfonts.m 2007-05-03 11:47:34.000000000 +0200 +@@ -310,12 +310,6 @@ + { + fi=[faceinfos objectAtIndex: i]; + [faces addObject: [fi faceInfoDictionary]]; +- for (j=0;j<[fi->files count];j++) +- { +- [fm movePath: [fi->files objectAtIndex: j] +- toPath: [path stringByAppendingPathComponent: [[fi->files objectAtIndex: j] lastPathComponent]] +- handler: nil]; +- } + } + + [family_info diff --git a/gnustep-base/mknfonts/mknfonts-0.5-r1.ebuild b/gnustep-base/mknfonts/mknfonts-0.5-r1.ebuild new file mode 100644 index 0000000..0311094 --- /dev/null +++ b/gnustep-base/mknfonts/mknfonts-0.5-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/mknfonts/mknfonts-0.5.ebuild,v 1.13 2005/08/25 18:46:23 swegener Exp $ + +inherit eutils gnustep-2 + +DESCRIPTION="Provides the tool to create .nfont packages suitable for use with gnustep-back-art." + +HOMEPAGE="http://w1.423.telia.com/~u42308495/alex/backart/" +SRC_URI="http://w1.423.telia.com/~u42308495/alex/backart/mknfonts-0.5.tar.gz" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64" +SLOT="0" +LICENSE="GPL-2" + +IUSE="" +DEPEND="gnustep-base/gnustep-gui + >=media-libs/freetype-2.1" +RDEPEND="${DEPEND}" + +egnustep_install_domain "System" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/${PN}-rename.patch +} diff --git a/gnustep-libs/camaelon/Manifest b/gnustep-libs/camaelon/Manifest new file mode 100644 index 0000000..851792e --- /dev/null +++ b/gnustep-libs/camaelon/Manifest @@ -0,0 +1,5 @@ +AUX config-camaelon.sh 362 RMD160 93062a340061723da0a0d34425afe3e584eac112 SHA1 b5f4b92e4bb8eb66f53e47bdd547073724657941 SHA256 3134fb9e2546e3c38f4f0a872556810519c1d3e2dcb798bd957522c54107e422 +DIST IndustrialTheme.tar.bz2 49338 RMD160 794adb1bd117e038a1211c33bb9740cd1ca9be9c SHA1 b61abb20b5cfdd56851c8f102d5f0779c7f29110 SHA256 29f9c2d0599a7ca84682e406eca2a546479c8cad386f19969ba437731e2b1379 +DIST MaxCurve-0.2.tar.bz2 48965 RMD160 29b910b8d1696633727f33bd1a8de11b21b56365 SHA1 5afaa87019821949b1df0ac1e21f79a645bbce8e SHA256 808b872ba00c02616b6d9754acb1533cd9139da88c22954506d236517d0b7202 +DIST camaelon-2.0_pre20070504.tar.bz2 106158 RMD160 ec6efdfe22ffd68af56da636f80e17ffba21b1bf SHA1 69cc8285a9596a9007835a3d468d4d931f181b43 SHA256 f1ddd9a51978e9b106cb4b90d9fe6a992f4b61bfeb3eeb49defff7981d1f848b +EBUILD camaelon-2.0_pre20070504.ebuild 1009 RMD160 7674e43dcfcd21937b321200fa30c5576827f9fb SHA1 c503a3c659c18927a74fba08bb3880b22ad1c25e SHA256 fd5017c83729e843a75a53479d9e0c323678d365c649e24c783eba957cc064c0 diff --git a/gnustep-libs/camaelon/camaelon-2.0_pre20070504.ebuild b/gnustep-libs/camaelon/camaelon-2.0_pre20070504.ebuild new file mode 100644 index 0000000..737003f --- /dev/null +++ b/gnustep-libs/camaelon/camaelon-2.0_pre20070504.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnustep-libs/camaelon/camaelon-2.0_pre20060324.ebuild,v 1.1 2006/03/26 10:49:57 grobian Exp $ + +inherit gnustep-2 + +S=${WORKDIR}/${PN/c/C} + +DESCRIPTION="Camaelon allows you to load theme bundles for GNUstep." + +HOMEPAGE="http://www.etoile-project.org/etoile/mediawiki/index.php?title=Camaelon" +SRC_URI="http://overlays.gentoo.org/svn/proj/gnustep/downloads/${P}.tar.bz2 + http://brante.dyndns.org/gnustep/download/MaxCurve-0.2.tar.bz2 + mirror://sourceforge/mpdcon/IndustrialTheme.tar.bz2" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64" +SLOT="0" +LICENSE="LGPL-2.1" + +IUSE="" +DEPEND="${GS_DEPEND}" +RDEPEND="${GS_RDEPEND}" + +egnustep_install_domain "System" + +src_install() { + gnustep-2_src_install || die "install failed" + + # install themes + mkdir -p "${D}$(egnustep_system_root)/Library/Themes" + cp -R ${WORKDIR}/*theme ${S}/*theme "${D}$(egnustep_system_root)/Library/Themes/" +} diff --git a/gnustep-libs/camaelon/files/config-camaelon.sh b/gnustep-libs/camaelon/files/config-camaelon.sh new file mode 100644 index 0000000..5520d1a --- /dev/null +++ b/gnustep-libs/camaelon/files/config-camaelon.sh @@ -0,0 +1,5 @@ +echo "Applying Camaelon default theme..." +echo "defaults write NSGlobalDomain GSAppKitUserBundles \"(${GNUSTEP_SYSTEM_ROOT}/Library/Bundles/Camaelon.themeEngine)\"" +defaults write NSGlobalDomain GSAppKitUserBundles "(${GNUSTEP_SYSTEM_ROOT}/Library/Bundles/Camaelon.themeEngine)" +echo "defaults write Camaelon Theme Nesedah" +defaults write Camaelon Theme Nesedah diff --git a/manifest1_obsolete b/manifest1_obsolete new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/manifest1_obsolete |