I've find this script :

#!/bin/bash
#
# Created by Sawk <[EMAIL PROTECTED]>
[[ "$UID" = 0 ]] && echo -e "\nYou must be USER\n" && exit 0
# Uncomment the modules you want to install
_e_mod=( \
# alarm \
# bling \
# cpu \
# deskshow \
# flame \
# language \
# mail \
# mem \
# mixer \
# moon \
# net \
# photo \
# rain \
# screenshot \
# slideshow \
# snow \
# taskbar \
# tclock \
# uptime \
# weather \
# winselector \
# wlan \
# Don't remove this
_STOP\
)
MY_CFLAGS="$(. /etc/make.conf ; echo "${CFLAGS}")"
MY_CXXFLAGS="$(. /etc/make.conf ; echo "${CXXFLAGS}")"
MT_LDFLAGS="$(. /etc/make.conf ; echo "${LDFLAGS}")"
for (( i=0; i < 30; i++ )); do
[[ "${_e_mod[$i]}" = "_STOP" ]] && \
echo -e "\nComplete... :)\n" && exit 0
E_MOD="e_modules/${_e_mod[$i]}"
cd $HOME
cvs -d :pserver:anonymous:@anoncvs.enlightenment.org:/var/cvs/e login
cvs -z3 -d :pserver:anonymous:@anoncvs.enlightenment.org:/var/cvs/e co
"$E_MOD"
cd "$E_MOD"
./autogen.sh CFLAGS="${MY_CFLAGS}" CXXFLAGS="${MY_CXXFLAGS}"
LDFLAGS="${LDFLAGS}"
make clean ; make ; make install
cd $HOME

done

Thank you !

2006/12/27, Lucas van Staden <[EMAIL PROTECTED]>:
>
> Hi
>
> I ha read somewhere that some modules no longer compile due to the fact
> that the 'gadman' library (or something) no longer exists. These modules
> would require re-write by someone. I know calendar is one of them, as I
> used to use it, but no longer can.
>
> You will have to use a script to install the individual modules in the
> e_modules ebuild.
>
> >>>>> start
>
> #!/bin/bash
> GET_ME=e_modules/$*
> # If you don't want to bother with FLAGS, comment the three lines below.
> ##MY_CFLAGS="< your CFLAGS go here >"
> #MY_CXXFLAGS="< ${CFLAGS} your CXXFLAGS go here >"
> #MT_LDFLAGS="< your LDFLAGS go here >"
> cvs -d :pserver:anonymous:@anoncvs.enlightenment.org:/var/cvs/e login
> cvs -z3 -d :pserver:anonymous:@anoncvs.enlightenment.org:/var/cvs/e co
> ${GET_ME}
> cd ${GET_ME}
>         ./autogen.sh CFLAGS="${MY_CFLAGS}" CXXFLAGS="${MY_CXXFLAGS}"
> LDFLAGS="${LDFLAGS}"
>         make clean ; make ; make
> install
> # Uncomment this to remove your local CVS checkout upon completion.
> # rm -Rf ./e_modules
> # This puts strain on the CVS server thou, so please leave it
> commented.
>
> <<<< snip
>
> Save that as a script called e17_modules.sh.
> You can then call it with the name of the module you want to install
>
> e17_modules.sh <module name>
>
> Found this sometime ago on a wiki, but I can't find the original links
> now.
>
> Lucas
>
>
> On Wed, 2006-12-27 at 13:10 +0100, Marc Guyard wrote:
> > Hi,
> >
> > I've a problem to compile e_modules on gentoo.
> > The compil failed on the module calendar.
> > Do you know how to resolv this problem ?
> >
> > Example of Error :
> > dialog_func.h:33: error: expected ')' before '*' token
> > dialog_func.h:35: error: expected ')' before '*' token
> > dialog_func.h:37: error: expected ')' before '*' token
> > In file included from e_mod_main.h:329,
> >                  from add_event_dialog.c:2:
> > cal_face_func.h:16: error: expected declaration specifiers or '...'
> > before 'E_Gadman_Client'
> >
> > cal_face_func.h:16: error: expected declaration specifiers or '...'
> > before 'E_Gadman_Change'
> >
> >
>
>
>


-- 
------------------------
SoukoussMan
[EMAIL PROTECTED]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to