Bug 89913 - REQUEST: ace - tao - ciao packages
Bug#: 89913 Product:  Gentoo Linux Version: 2005.0 Platform: All
OS/Version: All Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: dragonheart@gentoo.org Reported By: hetfield666@gmail.com
Component: Ebuilds
URL: 
Summary: REQUEST: ace - tao - ciao packages
Keywords:  
Status Whiteboard: 
Opened: 2005-04-21 05:12 0000
Description:   Opened: 2005-04-21 05:12 0000
ace builds, but there are tao and ciao packages (for corba framework)

they are based on ace library.
tao and ciao are shipped with ace only, so i guess you can or add some keywords to ace ebuild to build tao and ciao support, or add different packages, using the ace package.

this is the webpage: http://deuce.doc.wustl.edu/Download.html
direct link: http://deuce.doc.wustl.edu/ACE-5.4+TAO-1.4+CIAO-0.4.tar.gz

please apply.

thanks

------- Comment #1 From Daniel Black 2005-04-21 06:14:57 0000 -------
please attempt an ebuild that compiles  all three tarballs.
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1

------- Comment #2 From Patrizio Bassi 2005-04-21 07:35:26 0000 -------
sorry...i've a very slow cpu and i'm always busy...

so it's hard to build and test for me.

------- Comment #3 From Patrizio Bassi 2005-05-11 09:50:25 0000 -------
in order to merge TAO too


Set TAO_ROOT environment variable to $ACE_ROOT/TAO.
go in ${S}/TAO dir and make.

merge it :P

done!

------- Comment #4 From Patrizio Bassi 2005-05-13 09:59:58 0000 -------
ace 5.4.4 out.

download ACE+TAO.tar.bz2

untar it.

enter  ${S}
mkdir tempdir
cd tempdir
../configure --with-tao (or with more options)
make
and merge it.


sorry i'm not a good ebuild writer, so i don't attach a file.
new ebuild will be more complete (new features) and easier than the actual one.

and with 5.4.4 bumped version obviously


------- Comment #5 From Kristian 2005-11-21 05:16:54 0000 -------
Created an attachment (id=73294) [details]
ebuild that builds tao

an ebuild, if need to get tao build. propably sucks, but gets the job done.

------- Comment #6 From Kristian 2005-11-21 05:18:00 0000 -------
Created an attachment (id=73295) [details]
patch to ace/Barrier.h

if you have a conflicting Macro Barrier defined somewhere, you need this.

------- Comment #7 From Patrizio Bassi 2005-11-21 06:26:05 0000 -------
it seems that a new version is out 
 
check VERSION file: 
http://cvs.doc.wustl.edu/ace-latest.cgi/ACE_wrappers/VERSION 
 
This is ACE version 5.4.7, released Fri Aug 05 07:37:20 2005. 

------- Comment #8 From Patrizio Bassi 2006-04-01 02:54:22 0000 -------
why not added to cvs.

however in my last tests the ACE Makefile lacked some files:
had to:

cp ../TAO/orbsvcs/orbsvcs/CosEvent/event_serv_export.h
                                        /usr/include/orbsvcs/CosEvent/

cp ../TAO/orbsvcs/orbsvcs/CosEvent/CEC_Defaults.h
                                        /usr/include/orbsvcs/CosEvent/


and 

cp ../TAO/orbsvcs/orbsvcs/ESF /usr/include/orbsvcs/  -r

please add that to postinst and commit

------- Comment #9 From Patrizio Bassi 2006-05-07 03:47:03 0000 -------
i saw a new ACE version in portage, can this be added?

please CC  Michael Imhof (tantive)

thanks

------- Comment #10 From Kristian 2006-05-07 11:40:17 0000 -------
Created an attachment (id=86384) [details]
ebuild for ACE-5.5+TAO-1.5

this ebuild builds ACE-5.5 and TAO-1.5. compiles for over 4h on my machine.
works with gcc-4.1. its just the ace-5.5 ebuild with 2 lines changed.

------- Comment #11 From Patrizio Bassi 2006-05-08 02:08:46 0000 -------
i've a really slow cpu, so i looked at  the ebuild and found that the files i
wrote in previous post are not considered.

can you check if they are installed in new version?

if not, add some doins for them.

------- Comment #12 From Patrizio Bassi 2006-05-12 02:59:44 0000 -------
kristian have you checked that?

------- Comment #13 From Ben Gardiner 2006-10-31 12:53:32 0000 -------
(In reply to comment #11)
> i've a really slow cpu, so i looked at  the ebuild and found that the files i
> wrote in previous post are not considered.
> 
> can you check if they are installed in new version?
> 
> if not, add some doins for them.
> 

Hello all,
I'm also trying to get TAO installed. It wasn't hard, just took a long time to
compile. I followed the suggestions posted by Kristian and created a patched
ace-5.5.ebuild - it is different from the ebuild posted by Kristian: I added a
tao use flag and the proper SRC_URI and src_compile functionality:

--- dev-libs/ace/ace-5.5.ebuild.old     2006-10-31 15:46:05.000000000 -0500
+++ dev-libs/ace/ace-5.5.ebuild 2006-10-31 14:00:48.000000000 -0500
@@ -6,13 +6,14 @@

 S="${WORKDIR}/ACE_wrappers"
 DESCRIPTION="The Adaptive Communications Environment"
-SRC_URI="http://deuce.doc.wustl.edu/old_distribution/ACE-${PV}.tar.bz2"
+SRC_URI="!tao? http://deuce.doc.wustl.edu/old_distribution/ACE-${PV}.tar.bz2 
+         tao?
http://deuce.doc.wustl.edu/old_distribution/ACE-${PV}+TAO-1.5.tar.bz2"
 HOMEPAGE="http://www.cs.wustl.edu/~schmidt/ACE.html"

 SLOT="0"
 LICENSE="BSD as-is"
 KEYWORDS="~x86 ~sparc ~ppc ~alpha ~amd64"
-IUSE="X ipv6"
+IUSE="X ipv6 tao"

 DEPEND="dev-libs/openssl"

@@ -34,7 +35,7 @@
        mkdir build
        cd build
        ECONF_SOURCE="${S}"
-       econf --enable-lib-all $(use_with X) $(use_enable ipv6)
+       econf --enable-lib-all $(use_with X) $(use_enable ipv6) $(use_with tao)
        # --with-qos needs ACE_HAS_RAPI
        emake static_libs=1 || die
 }

To alleviate the concerns of Patrizio Bassi, I checked that his needed files
are in fact installed:

#ls -l /usr/include/orbsvcs/CosEvent/event_serv_export.h 
-rw-r--r-- 1 root root 1643 Oct 31 15:15
/usr/include/orbsvcs/CosEvent/event_serv_export.h
#ls -l /usr/include/orbsvcs/CosEvent/CEC_Defaults.h 
-rw-r--r-- 1 root root 4611 Oct 31 15:15
/usr/include/orbsvcs/CosEvent/CEC_Defaults.h
#ls -l /usr/include/orbsvcs/ESF/                    
total 212
-rw-r--r-- 1 root root 1196 Oct 31 15:15 ESF_Busy_Lock.cpp
-rw-r--r-- 1 root root 2006 Oct 31 15:15 ESF_Busy_Lock.h
-rw-r--r-- 1 root root  271 Oct 31 15:15 ESF_Busy_Lock.i
-rw-r--r-- 1 root root 3239 Oct 31 15:15 ESF_Copy_On_Read.cpp
-rw-r--r-- 1 root root 1898 Oct 31 15:15 ESF_Copy_On_Read.h
-rw-r--r-- 1 root root 6213 Oct 31 15:15 ESF_Copy_On_Write.cpp
-rw-r--r-- 1 root root 4958 Oct 31 15:15 ESF_Copy_On_Write.h
-rw-r--r-- 1 root root 1207 Oct 31 15:15 ESF_Copy_On_Write.i
-rw-r--r-- 1 root root 1000 Oct 31 15:15 ESF_Defaults.h
-rw-r--r-- 1 root root 5932 Oct 31 15:15 ESF_Delayed_Changes.cpp
-rw-r--r-- 1 root root 5905 Oct 31 15:15 ESF_Delayed_Changes.h
-rw-r--r-- 1 root root 1103 Oct 31 15:15 ESF_Delayed_Changes.i
-rw-r--r-- 1 root root 2750 Oct 31 15:15 ESF_Delayed_Command.cpp
-rw-r--r-- 1 root root 4675 Oct 31 15:15 ESF_Delayed_Command.h
-rw-r--r-- 1 root root 1179 Oct 31 15:15 ESF_Delayed_Command.i
-rw-r--r-- 1 root root 1332 Oct 31 15:15 ESF_Immediate_Changes.cpp
-rw-r--r-- 1 root root 1818 Oct 31 15:15 ESF_Immediate_Changes.h
-rw-r--r-- 1 root root 1457 Oct 31 15:15 ESF_Immediate_Changes.i
-rw-r--r-- 1 root root 1744 Oct 31 15:15 ESF_Peer_Admin.cpp
-rw-r--r-- 1 root root 3247 Oct 31 15:15 ESF_Peer_Admin.h
-rw-r--r-- 1 root root 1641 Oct 31 15:15 ESF_Peer_Workers.cpp
-rw-r--r-- 1 root root 2285 Oct 31 15:15 ESF_Peer_Workers.h
-rw-r--r-- 1 root root  700 Oct 31 15:15 ESF_Peer_Workers.i
-rw-r--r-- 1 root root 3372 Oct 31 15:15 ESF_Proxy_Admin.cpp
-rw-r--r-- 1 root root 4793 Oct 31 15:15 ESF_Proxy_Admin.h
-rw-r--r-- 1 root root  697 Oct 31 15:15 ESF_Proxy_Admin.i
-rw-r--r-- 1 root root  474 Oct 31 15:15 ESF_Proxy_Collection.cpp
-rw-r--r-- 1 root root 6623 Oct 31 15:15 ESF_Proxy_Collection.h
-rw-r--r-- 1 root root 2126 Oct 31 15:15 ESF_Proxy_List.cpp
-rw-r--r-- 1 root root 2234 Oct 31 15:15 ESF_Proxy_List.h
-rw-r--r-- 1 root root  549 Oct 31 15:15 ESF_Proxy_List.i
-rw-r--r-- 1 root root 2084 Oct 31 15:15 ESF_Proxy_RB_Tree.cpp
-rw-r--r-- 1 root root 3216 Oct 31 15:15 ESF_Proxy_RB_Tree.h
-rw-r--r-- 1 root root 1718 Oct 31 15:15 ESF_Proxy_RB_Tree.i
-rw-r--r-- 1 root root  798 Oct 31 15:15 ESF_Proxy_RefCount_Guard.cpp
-rw-r--r-- 1 root root 2199 Oct 31 15:15 ESF_Proxy_RefCount_Guard.h
-rw-r--r-- 1 root root  453 Oct 31 15:15 ESF_Proxy_RefCount_Guard.i
-rw-r--r-- 1 root root  399 Oct 31 15:15 ESF_RefCount_Guard.cpp
-rw-r--r-- 1 root root 1569 Oct 31 15:15 ESF_RefCount_Guard.h
-rw-r--r-- 1 root root  417 Oct 31 15:15 ESF_RefCount_Guard.i
-rw-r--r-- 1 root root  716 Oct 31 15:15 ESF_Shutdown_Proxy.cpp
-rw-r--r-- 1 root root 1175 Oct 31 15:15 ESF_Shutdown_Proxy.h
-rw-r--r-- 1 root root  248 Oct 31 15:15 ESF_Shutdown_Proxy.i
-rw-r--r-- 1 root root  388 Oct 31 15:15 ESF_Worker.cpp
-rw-r--r-- 1 root root 1565 Oct 31 15:15 ESF_Worker.h
-rw-r--r-- 1 root root 1464 Oct 31 15:15 esf_export.h

------- Comment #14 From Daniel Black 2006-11-02 05:09:44 0000 -------
thanks Ben... compiling now. ... also attempting a 5.5.3 version....

------- Comment #15 From Patrizio Bassi 2006-11-02 05:21:45 0000 -------
nice i'm abroad now, i'll check as soon as i get home (i guess 10 days)

------- Comment #16 From Daniel Black 2006-11-02 11:03:21 0000 -------
added 5.5-r1 to include TAO. still workign on 5.5.3

------- Comment #17 From Daniel Black 2006-11-03 14:18:00 0000 -------
Created an attachment (id=101170) [details]
ace-5.5.3.ebuild

Couldn't get TAO working on the latest version (5.5.3)-
http://deuce.doc.wustl.edu/bugzilla/show_bug.cgi?id=2684

CIAO is going to be hard until autoconf on it is working. Feel free to attach
an ebuild if you get it going.

------- Comment #18 From Daniel Black 2006-11-06 10:42:21 0000 -------
Please reopen this bug with a ciao ebuild if you want it. the ace-5.5.3 should
give some ideas on how to start.

------- Comment #19 From Patrizio Bassi 2006-11-06 23:42:16 0000 -------
for me ace+tao is enough for the moment.

thanks so much

------- Comment #20 From Patrizio Bassi 2007-01-04 10:38:29 0000 -------
the actual portage ebuild seems not installing tao.

can you bump to latest version with tao too?

thanks