LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Enlightenment Foundation Libraries (https://www.linuxquestions.org/questions/slackware-14/enlightenment-foundation-libraries-811392/)

daniil 05-31-2010 11:34 PM

Enlightenment Foundation Libraries
 
Hello

I can't find the full set of Enlightenment Foundation Libraries.

I found and compiled the core components from SlackBuilds but I am required Helper components also like esmart.

Can you suggest where full set of Enlightenment Foundation Libraries could be found?

The libraries on http://slacke17.sourceforge.net/ is too old.

Regards

tpreitzel 06-01-2010 05:07 AM

Quote:

Originally Posted by daniil (Post 3988125)
Hello

I can't find the full set of Enlightenment Foundation Libraries.

I found and compiled the core components from SlackBuilds but I am required Helper components also like esmart.

Can you suggest where full set of Enlightenment Foundation Libraries could be found?

The libraries on http://slacke17.sourceforge.net/ is too old.

Regards

Just get a recent copy of easy_e17.sh and use it to gather the sources and build a copy of e17 to /opt. I love e17. I first started using enlightenment over a decade ago and still use it! :)

rockslinux 06-01-2010 06:43 PM

Good to see that there are fans e17. This delightful WM (and more).
How you've answered, easy_e17.sh http://omicron.homeip.net/projects/ must successfully compile and install e17 on Slackware.
It's a pity that Slacke17 not updated. But you can take the source code, there is a majority Slackbuild (by the way, will need to check them, or write to others, and place on slackbuild.org :) ).
Happy Slacking!
P.s. Excuse my poor English!

Example, esmart.SlackBuild

Quote:

#!/bin/bash
#
# This file is part of SlackE17
# Begin esmart.SlackBuild

# Setting some variables
NAME=esmart
VERSION=20080504
ARCH=${ARCH:-i486}
BUILD=1jp

# Setting flags
SCFLAGS="-O2 -fomit-frame-pointer -pipe"
if [ "${ARCH}" = "i486" ]; then
SCFLAGS="${SCFLAGS} -march=i486 -mtune=i686"
LIBDIR="/usr/lib"
MFLAGS="-j2"
elif [ "${ARCH}" = "core2" ]; then
ARCH="i486"
SCFLAGS="${SCFLAGS} -march=prescott"
LIBDIR="/usr/lib"
MFLAGS="-j3"
elif [ "${ARCH}" = "x86_64" ]; then
SCFLAGS="${SCFLAGS}"
LIBDIR="/usr/lib64"
MFLAGS="-j3"
fi
SCXXFLAGS=${SCFLAGS}
SLACK="${ARCH}-slackware-linux"
MACHINE="--build=${SLACK} --host=${SLACK} --target=${SLACK}"

# Creating temporary folders
CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=${TMP}/package-${NAME}
if [ ! -d ${TMP} ]; then
mkdir -p ${TMP}
fi
rm -rf ${PKG}
mkdir -p ${PKG}

# Getting source code
cd ${TMP}
rm -rf ${NAME}-${VERSION}
tar xvfj ${CWD}/${NAME}-${VERSION}.tar.bz2
cd ${NAME}-${VERSION}

# Correcting ownership
chown -R root:root .
find . -perm 666 -exec chmod 644 {} \;
find . -perm 664 -exec chmod 644 {} \;
find . -perm 600 -exec chmod 644 {} \;
find . -perm 444 -exec chmod 644 {} \;
find . -perm 400 -exec chmod 644 {} \;
find . -perm 440 -exec chmod 644 {} \;
find . -perm 777 -exec chmod 755 {} \;
find . -perm 775 -exec chmod 755 {} \;
find . -perm 511 -exec chmod 755 {} \;
find . -perm 711 -exec chmod 755 {} \;
find . -perm 555 -exec chmod 755 {} \;

# Configuring
CFLAGS=${SCFLAGS} CXXFLAGS=${SCXXFLAGS} \
./autogen.sh \
--libdir=${LIBDIR} \
--prefix=/usr \
--disable-static \
${MACHINE}

# Building
make ${MFLAGS}
make DESTDIR=${PKG} install
mkdir -p ${PKG}/usr/doc/${NAME}-${VERSION}
install -m644 AUTHORS COPYING ChangeLog INSTALL NEWS README \
${PKG}/usr/doc/${NAME}-${VERSION}

# Cleaning
cd ${PKG}
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . -type f -size 0 | xargs rm -f

# Building the package
mkdir install
install -m644 ${CWD}/slack-desc install/
makepkg -l y -c n ${TMP}/${NAME}-${VERSION}-${ARCH}-${BUILD}.tgz
rm -rf ${PKG} ${TMP}/${NAME}-${VERSION}

# End esmart.SlackBuild

daniil 06-02-2010 08:19 PM

The Easy_e17.sh that I have downloaded from omicron doesn't contain the esmart. I have another Easy_e17.sh file that contains the esmart what is the difference, why so?

Where I can take esmart source code as tar.bz2 archive?

Also my current script says for esmart has no build system?

rockslinux 06-03-2010 01:14 AM

Good times!
Sorry, but esmart, far as I know, no longer supported.
http://trac.enlightenment.org/e/changeset/47057
http://trac.enlightenment.org/e/browser/OLD/esmart


I have not tried it, but SlackE17 sources have everything need to upgrade/build/installation of e17. There are instructions and a description of how to do the upgrade, using scripts SlackE17.



Quote:

Where I can take esmart source code as tar.bz2 archive?
E17 is available, officially, only via SVN, any packages are not available.
You need to or download the source code esmart and tweak the script so that it does not use archive file, or create an archive from the downloaded source code (and appropriately edit the script).

Quote:

Also my current script says for esmart has no build system?
From the above follows, that he is no longer a part of E17.

P.s. Excuse my poor English!

tpreitzel 06-03-2010 03:05 AM

Quote:

Originally Posted by rockslinux (Post 3990939)
E17 is available, officially, only via SVN, any packages are not available.
You need to or download the source code esmart and tweak the script so that it does not use archive file, or create an archive from the downloaded source code (and appropriately edit the script).

From the above follows, that he is no longer a part of E17.


Hmmm. Apparently. However, the developers normally move old libraries to the OLD directory with the build system intact ... strange. Hopefully, this glitch in the build system of esmart is just temporary.

daniil 06-03-2010 03:16 AM

Thank you for you answer.
I consider to port the source from esmart.

And I also tried just use another revision when esmart still in a trunk but unsuccessfully.


All times are GMT -5. The time now is 05:07 PM.