View previous topic :: View next topic |
Author |
Message |
sisob Apprentice
Joined: 28 Jun 2002 Posts: 274 Location: Ireland
|
Posted: Wed Jul 03, 2002 6:30 pm Post subject: Proposing an E-Build for Evolved OpenOffice.org !!! |
|
|
I've been getting a lot of requests for an ebuild for Evolved OpenOffice.
before I go on if you dont know what evolvedoo is check it out here: http://evolvedoo.sf.net - if you want any of the rest of this post to make sense at least read enough to know the difference between Evolved OpenOffice.org and the Evolved OpenOffice tools.
Ok so now that you know what it is here is what I was thinking.
There could be an e-build for the Evolved OpenOffice tools. This would allow people to do
Code: | emerge openoffice
emerge evolvedoo-tools |
to build the whole of Evolved OpenOffice.org from source.
For more sensible people there could be an e-build for the standard Evolved OpenOffice.org source package which includes the Evolved OpenOffice tools source and a precompiled install set for OpenOffice.org.
My only problem is that I'm not running Gentoo and wont get a chance to install it for a few months. I'm releasing Evolved OpenOffice.org 1.0.1 within a few days and I'd like to get the ebuild avaliable avaliable as soon as possible. But i dont like releasing untested software and have no way of testing an e-build i write.
Does anyone want to help/volunteer to write/test an ebuild.
You will probably need to read this post a few times b4 it makes any sense _________________ Mark Finlay - Gnome Hacker of Sorts
Come join me on the Gnome User's Forum |
|
Back to top |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Wed Jul 03, 2002 7:55 pm Post subject: |
|
|
what if you have already installed or rather emerged OpenOffice ...how does emerging evolved deal with that?...sorry if its an ignorant question but i dont want to hose my rig...lol
edit: btw i sent you an e about an ebuild...lol |
|
Back to top |
|
|
sisob Apprentice
Joined: 28 Jun 2002 Posts: 274 Location: Ireland
|
Posted: Wed Jul 03, 2002 8:16 pm Post subject: |
|
|
Well origionally Evolved OpenOffice was an addon to OO.o and it still can be - you just need to get the Evovled Tools package instead of the full Evolved OpenOfficeorg package. It will try to find where OO.o is installed.
In fact all that is avaliable at the moment is the addon.
ps. did you get my reply to that e-mail? _________________ Mark Finlay - Gnome Hacker of Sorts
Come join me on the Gnome User's Forum |
|
Back to top |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Thu Jul 04, 2002 7:22 am Post subject: |
|
|
no...no email ....atleast not yet.....are you going to attempt an ebuild for the tools? |
|
Back to top |
|
|
ultimate n00b
Joined: 14 Jun 2002 Posts: 9
|
Posted: Thu Jul 04, 2002 8:38 am Post subject: |
|
|
i would like to test it but i am using gnome 2, why don't you just put it up there and then mask it so we can all test it. |
|
Back to top |
|
|
sisob Apprentice
Joined: 28 Jun 2002 Posts: 274 Location: Ireland
|
Posted: Thu Jul 04, 2002 8:39 am Post subject: |
|
|
bloody interweb!
well I've been thinking about the e-build and I've decided to only
make an ebuild for the tools and not for the Whole of OpenOffice.org
That way gentoo users can install OO.o whatever way they like and then
emerge the Evolved openoffice tools.
The ebuild should be extremely simple - all it needs to do is extract the sources and do ./install-evolvedoo to install it. I still have to write a propper uninstall script, but at least you could get it installed
Can someone send me the skeleton ebuild that comes with the portage
tree. Then i'll make up the e-build and post it here to be tested. _________________ Mark Finlay - Gnome Hacker of Sorts
Come join me on the Gnome User's Forum |
|
Back to top |
|
|
sisob Apprentice
Joined: 28 Jun 2002 Posts: 274 Location: Ireland
|
Posted: Thu Jul 04, 2002 9:38 am Post subject: |
|
|
ultimate wrote: | i would like to test it but i am using gnome 2, why don't you just put it up there and then mask it so we can all test it. |
Exqueese the ignorance but post it up where?
and what exactly is masking, I have a vague idea that it means it must
be unmasked b4 being emerged, but not much more than that.
Oh and I will be adding G2 support this weekend I hope - I'm going to be delaying the 1.0.1 release while I add G2 support and try and work out what place in the OpenSource world Evolved OpenOffice has.
I'm thinking I might rename it to gnOpenOffice or even more enterntaining to pronounce gnuOpenOffice (with a silent O, as in gnu-pen-office, say it with a german or russian accent) _________________ Mark Finlay - Gnome Hacker of Sorts
Come join me on the Gnome User's Forum |
|
Back to top |
|
|
florax n00b
Joined: 26 Jun 2002 Posts: 24 Location: Germany
|
Posted: Thu Jul 04, 2002 3:25 pm Post subject: evolvedoo-tools |
|
|
I think such an e-build would be cool. I would test it.
masking means commenting an ebuild so you have to uncomment it before you can emrge it. (gnome 2 was so for some time) |
|
Back to top |
|
|
sisob Apprentice
Joined: 28 Jun 2002 Posts: 274 Location: Ireland
|
Posted: Thu Jul 04, 2002 4:03 pm Post subject: |
|
|
I will create an alpha e-build as soon as i get that skeleton ebuild file _________________ Mark Finlay - Gnome Hacker of Sorts
Come join me on the Gnome User's Forum |
|
Back to top |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Thu Jul 04, 2002 8:13 pm Post subject: |
|
|
ok i dont know anything about ebuilds but there is a developers tutorial on the front page of the gentoo main site...hope this helps...and the tools ebuild would be great since an ebuild for oo is already up....simpler for you to play with also for now....GNUpenOffice...sounds good |
|
Back to top |
|
|
jay l33t
Joined: 08 May 2002 Posts: 980
|
Posted: Fri Jul 05, 2002 7:57 am Post subject: |
|
|
Just to clarify some things.
The gentoo developers add ebuilds that still need some testing to the /usr/portage/profiles/package-mask file. Files that are listed in here are excluded from the emerge ebuild-name unleass you comment them explicit out.
"emerge openoffice-bin" in gentoo will install itself in: /opt/Open-Office-1.0.0
Here the skeleton ebuild.
Code: |
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.8 2002/05/30 01:54:49 sandymac Exp
# NOTE: The comments in this file are for instruction and documentation.
# They're not meant to appear with your final, production ebuild. Please
# remember to remove them before submitting or committing your ebuild. That
# doesn't mean you can't add your own comments though.
# The 'Header' on the third line should just be left alone. When your ebuild
# will be commited to cvs, the details on that line will be automatically
# generated to contain the correct data.
# Short one-line description of this package.
DESCRIPTION="This is a sample skeleton ebuild file"
# Homepage, not used by Portage directly but handy for developer reference
HOMEPAGE="http://"
# License of the package. This must match the name of file(s) in
# /usr/portage/licenses/. For complex license combination see the developer
# docs on gentoo.org for details.
LICENSE=""
# Build-time dependencies, such as
# ssl? ( >=openssl-0.9.6b )
# >=perl-5.6.1-r1
# It is advisable to use the >= syntax show above, to reflect what you
# had installed on your system when you tested the package. Then
# other users hopefully won't be caught without the right version of
# a dependency.
DEPEND=""
# Run-time dependencies, same as DEPEND if RDEPEND isn't defined:
#RDEPEND=""
# Point to any required sources; these will be automatically downloaded by
# Portage.
SRC_URI="ftp://foo.bar.com/${P}.tar.gz"
# Source directory; the dir where the sources can be found (automatically
# unpacked) inside ${WORKDIR}. S will get a default setting of ${WORKDIR}/${P}
# if you omit this line.
S=${WORKDIR}/${P}
src_compile() {
# Most open-source packages use GNU autoconf for configuration.
# You should use something similar to the following lines to
# configure your package before compilation. The "|| die" portion
# at the end will stop the build process if the command fails.
# You should use this at the end of critical commands in the build
# process. (Hint: Most commands are critical, that is, the build
# process should abort if they aren't successful.)
./configure \
--host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man || die "./configure failed"
# Note the use of --infodir and --mandir, above. This is to make
# this package FHS 2.2-compliant. For more information, see
# http://www.pathname.com/fhs/
# emake (previously known as pmake) is a script that calls the
# standard GNU make with parallel building options for speedier
# builds (especially on SMP systems). Try emake first. It might
# not work for some packages, in which case you'll have to resort
# to normal "make".
emake || die
#make || die
}
src_install () {
# You must *personally verify* that this trick doesn't install
# anything outside of DESTDIR; do this by reading and
# understanding the install part of the Makefiles.
make DESTDIR=${D} install || die
# For Makefiles that don't make proper use of DESTDIR, setting
# prefix is often an alternative. However if you do this, then
# you also need to specify mandir and infodir, since they were
# passed to ./configure as absolute paths (overriding the prefix
# setting).
#make \
# prefix=${D}/usr \
# mandir=${D}/usr/share/man \
# infodir=${D}/usr/share/info \
# install || die
# Again, verify the Makefiles! We don't want anything falling
# outside of ${D}.
}
bash-2.05a$
|
You don't need to write an uninstall script. Portage will care of this, when the ebuild is set up properly. _________________ Do you want your posessions identified? [ynq] (n) |
|
Back to top |
|
|
sisob Apprentice
Joined: 28 Jun 2002 Posts: 274 Location: Ireland
|
Posted: Fri Jul 05, 2002 9:05 am Post subject: |
|
|
Ok, here's an alpha ebuild
Code: | # Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.8 2002/05/30 01:54:49 sandymac Exp
# Short one-line description of this package.
DESCRIPTION="The Evolved OpenOffice tools for OpenOffice.org"
# Homepage, not used by Portage directly but handy for developer reference
HOMEPAGE="http://evolvedoo.sf.net"
# License of the package. This must match the name of file(s) in
# /usr/portage/licenses/. For complex license combination see the developer
# docs on gentoo.org for details.
LICENSE="LGPL"
# Build-time dependencies, such as
# ssl? ( >=openssl-0.9.6b )
# >=perl-5.6.1-r1
# It is advisable to use the >= syntax show above, to reflect what you
# had installed on your system when you tested the package. Then
# other users hopefully won't be caught without the right version of
# a dependency.
DEPEND="gnome-utils gnome-libs curl gnome-panel openssl"
# Run-time dependencies, same as DEPEND if RDEPEND isn't defined:
#RDEPEND=""
# Point to any required sources; these will be automatically downloaded by
# Portage.
SRC_URI="http://telia.dl.sourceforge.net/sourceforge/evolvedoo/evolvedoo-1.tar.gz"
# Source directory; the dir where the sources can be found (automatically
# unpacked) inside ${WORKDIR}. S will get a default setting of ${WORKDIR}/${P}
# if you omit this line.
S=${WORKDIR}/${P}
src_compile() {
./install-evolvedoo
}
src_install () {
echo "Evolved OpenOffice Tools Installed"
} |
I'm not going to submit it until I get some sort of confirmation of
it working.
I'm not sure about the dependencies - if more is needed someone might tell me.
I'm going to add support to tonights release for the ${D} variable - and I'll see if i can sepporate the build and install stages. _________________ Mark Finlay - Gnome Hacker of Sorts
Come join me on the Gnome User's Forum |
|
Back to top |
|
|
jay l33t
Joined: 08 May 2002 Posts: 980
|
Posted: Fri Jul 05, 2002 11:33 am Post subject: |
|
|
To test this file gentoo users have to create a directory called /usr/portage/app-offices/evolvedoo
In this directory save the above script as evolvedoo-1.0.0.ebuild
Then create a subdir called files. In this subdir store following script as: digest-evolvedoo-1.0.0
Code: |
MD5 31aff91e845f3fc55211212044e14445 evolvedoo-1.tar.gz 1276004
|
Now emerge evolvedoo should download the tarfiles and execute the script. But I think this is not functional yet. Portage will compile everything in a sandbox. After compilation is done, the compiled binaries, docs, libs and files must be copied into the appropriate place. That's what src_compile () { ...} is for.
for example:
Code: |
src_install() {
dobin foo
dodir /usr/share/foo
cp -R textures ${D}usr/share/foo
cp -R lang ${D}usr/share/foo
dodoc README COPYING Install-info.html
}
|
_________________ Do you want your posessions identified? [ynq] (n) |
|
Back to top |
|
|
sisob Apprentice
Joined: 28 Jun 2002 Posts: 274 Location: Ireland
|
Posted: Fri Jul 05, 2002 12:39 pm Post subject: |
|
|
hmm sandbox - well the install-evovledoo script should install directly onto the system.
If it doesnt then everything in the snadbox should be installed, how is the best way to do that? woudl you use
or would that be likely to override important folders.
I really need to lear to use make - and write up a proper install script
Still I'd love to hear if the ebuild works - AFAIK the wors thing that can happen is that it doesnt work. _________________ Mark Finlay - Gnome Hacker of Sorts
Come join me on the Gnome User's Forum |
|
Back to top |
|
|
jay l33t
Joined: 08 May 2002 Posts: 980
|
Posted: Fri Jul 05, 2002 3:03 pm Post subject: |
|
|
OK - I checked that script. As I expected I got plenty of "ACESS DENIED" message, because your install-evolvedoo tries to install all those files. You need a make script only for compiling all tose binaries and then instruct portage in the ebuild where to copy them.
Code: |
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-evolvedoo-1.0.0-7927.log"
mkdir: /usr/share/control-center/capplets/evolvedoo
mkdir: /usr/share/evolvedoo
mkdir: /usr/share/pixmaps/evolvedoo
open_wr: /usr/bin/abouteq
open_wr: /usr/bin/cleansession
open_wr: /usr/bin/cleansession.pl
open_wr: /usr/bin/eOOodi
open_wr: /usr/bin/evconfig
open_wr: /usr/bin/evconfig-net
open_wr: /usr/bin/evolved-spadmin
open_wr: /usr/bin/evolvedoo
open_wr: /usr/bin/evolvedoo_makedesktop
open_wr: /usr/bin/ewebclient
open_wr: /usr/bin/gnomemenus.pl
open_wr: /usr/bin/kdemenus.pl
open_wr: /usr/bin/metaclear
open_wr: /usr/bin/oosetup
open_wr: /usr/bin/ungnomemenus.pl
open_wr: /usr/bin/unkdemenus.pl
open_wr: /etc/menu/evolvedoo
open_wr: /usr/share/pixmaps/500_setup.png
open_wr: /usr/share/pixmaps/501_printeradmin.png
open_wr: /usr/share/pixmaps/book.png
open_wr: /usr/share/pixmaps/copy.png
open_wr: /usr/share/pixmaps/dialog-info.png
open_wr: /usr/share/pixmaps/dialog_warning.png
open_wr: /usr/share/pixmaps/download.png
open_wr: /usr/share/pixmaps/econtrol-center2.png
open_wr: /usr/share/pixmaps/edit.png
open_wr: /usr/share/pixmaps/evolvedoo.png
open_wr: /usr/share/pixmaps/i-printer.png
open_wr: /usr/share/pixmaps/main-settings.png
open_wr: /usr/share/pixmaps/ooo_printeradmin.png
open_wr: /usr/share/pixmaps/openoffice-calc.png
open_wr: /usr/share/pixmaps/openoffice-draw.png
open_wr: /usr/share/pixmaps/openoffice-html-editor.png
open_wr: /usr/share/pixmaps/openoffice-impress.png
open_wr: /usr/share/pixmaps/openoffice-writer.png
open_wr: /usr/share/pixmaps/rdf2.png
open_wr: /usr/share/pixmaps/rdf3.png
open_wr: /usr/share/pixmaps/spellcheck.png
open_wr: /usr/share/pixmaps/timezone3.png
open_wr: /usr/share/pixmaps/wordedit2-48.png
open_wr: /usr/bin/ooqstart
open_wr: /usr/bin/kqstart
open_wr: /usr/bin/qinstall-gnome
open_wr: /usr/bin/qinstall-gnome-old
open_wr: /usr/bin/qinstall-kde
open_wr: /usr/bin/qsetup.pl
open_wr: /usr/bin/quninstall-gnome
open_wr: /usr/bin/quninstall-gnome-old
open_wr: /usr/bin/quninstall-gnome-old.pl
open_wr: /usr/bin/quninstall-gnome.pl
open_wr: /usr/bin/quninstall-kde
mkdir: /usr/share/evolvedoo
open_wr: /usr/share/autostart/qstart.desktop
mkdir: /usr/share/evolved-ooqstart
mkdir: /usr/local/share/locale
mkdir: /usr/local/share/locale/de
mkdir: /usr/local/share/locale/de/LC_MESSAGES
open_wr: /usr/local/share/locale/de/LC_MESSAGES/OOodi.mo
mkdir: /usr/local/share/locale
mkdir: /usr/local/share/locale/ja
mkdir: /usr/local/share/locale/ja/LC_MESSAGES
open_wr: /usr/local/share/locale/ja/LC_MESSAGES/OOodi.mo
mkdir: /usr/local/share/locale
mkdir: /usr/local/share/locale/el
mkdir: /usr/local/share/locale/el/LC_MESSAGES
open_wr: /usr/local/share/locale/el/LC_MESSAGES/OOodi.mo
mkdir: /usr/local/share/locale
mkdir: /usr/local/share/locale/it
mkdir: /usr/local/share/locale/it/LC_MESSAGES
open_wr: /usr/local/share/locale/it/LC_MESSAGES/OOodi.mo
open_wr: /usr/local/bin/OOodi
open_wr: /usr/share/evolvedoo
--------------------------------------------------------------------------------
|
_________________ Do you want your posessions identified? [ynq] (n) |
|
Back to top |
|
|
sisob Apprentice
Joined: 28 Jun 2002 Posts: 274 Location: Ireland
|
Posted: Fri Jul 05, 2002 3:18 pm Post subject: |
|
|
try this:
Code: | # Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.8 2002/05/30 01:54:49 sandymac Exp
# Short one-line description of this package.
DESCRIPTION="The Evolved OpenOffice tools for OpenOffice.org"
# Homepage, not used by Portage directly but handy for developer reference
HOMEPAGE="http://evolvedoo.sf.net"
# License of the package. This must match the name of file(s) in
# /usr/portage/licenses/. For complex license combination see the developer
# docs on gentoo.org for details.
LICENSE="LGPL"
# Build-time dependencies, such as
# ssl? ( >=openssl-0.9.6b )
# >=perl-5.6.1-r1
# It is advisable to use the >= syntax show above, to reflect what you
# had installed on your system when you tested the package. Then
# other users hopefully won't be caught without the right version of
# a dependency.
DEPEND="gnome-utils gnome-libs curl gnome-panel openssl"
# Run-time dependencies, same as DEPEND if RDEPEND isn't defined:
#RDEPEND=""
# Point to any required sources; these will be automatically downloaded by
# Portage.
SRC_URI="http://telia.dl.sourceforge.net/sourceforge/evolvedoo/evolvedoo-1.tar.gz"
# Source directory; the dir where the sources can be found (automatically
# unpacked) inside ${WORKDIR}. S will get a default setting of ${WORKDIR}/${P}
# if you omit this line.
S=${WORKDIR}/${P}
src_compile() {
echo "Nothing to do"
}
src_install () {
./install-evolvedoo
} |
I will write a sepporate install and compile script tonight - but that should work _________________ Mark Finlay - Gnome Hacker of Sorts
Come join me on the Gnome User's Forum |
|
Back to top |
|
|
jay l33t
Joined: 08 May 2002 Posts: 980
|
Posted: Fri Jul 05, 2002 3:27 pm Post subject: |
|
|
No that won't work either. Rember to copy binaries with dobin and create directories with dodir in the ebuild script. Good luck with the scriptring tonight.
Also replace ${P} with evolvedoo-1/ in your ebuild script. _________________ Do you want your posessions identified? [ynq] (n) |
|
Back to top |
|
|
sisob Apprentice
Joined: 28 Jun 2002 Posts: 274 Location: Ireland
|
Posted: Fri Jul 05, 2002 5:35 pm Post subject: |
|
|
jay wrote: | No that won't work either. Rember to copy binaries with dobin and create directories with dodir in the ebuild script. Good luck with the scriptring tonight.
Also replace ${P} with evolvedoo-1/ in your ebuild script. |
i will try that out - and thanks for all your help.
Just one more thing would be really useful - even thought it wont work, as you say,
could you try out the last ebuild I posted and post the errors.
Once I have that I should be able to go and RTFM and get a script together _________________ Mark Finlay - Gnome Hacker of Sorts
Come join me on the Gnome User's Forum |
|
Back to top |
|
|
jay l33t
Joined: 08 May 2002 Posts: 980
|
Posted: Mon Jul 08, 2002 8:52 pm Post subject: |
|
|
Post it when you have it finished, will ya? _________________ Do you want your posessions identified? [ynq] (n) |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Mon Jul 08, 2002 8:58 pm Post subject: |
|
|
moving this to gentoo suggestions.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
digitalnick Apprentice
Joined: 30 Jun 2002 Posts: 243 Location: Lawrence KS USA
|
Posted: Wed Jul 10, 2002 3:26 am Post subject: |
|
|
i just checked out evolded oo it looks pretty cool ill have to give it a test when it makes it to portage. good work. |
|
Back to top |
|
|
sisob Apprentice
Joined: 28 Jun 2002 Posts: 274 Location: Ireland
|
Posted: Fri Jul 12, 2002 12:29 pm Post subject: |
|
|
Sorry, all
I'm discontinuing production of Evolved OpenOffice so there will be no e-build ;( _________________ Mark Finlay - Gnome Hacker of Sorts
Come join me on the Gnome User's Forum |
|
Back to top |
|
|
digitalnick Apprentice
Joined: 30 Jun 2002 Posts: 243 Location: Lawrence KS USA
|
Posted: Fri Jul 12, 2002 3:54 pm Post subject: |
|
|
why? what happened all of the sudden? ... as long as the sources are still available for what you have done and they work we can still make an ebuild |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Fri Jul 12, 2002 4:18 pm Post subject: |
|
|
digitalnick wrote: | why? what happened all of the sudden? |
Read his web site. All the answers are posted there.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
pauldv Retired Dev
Joined: 12 Jul 2002 Posts: 44 Location: Bournemouth England
|
Posted: Sun Jul 14, 2002 1:22 pm Post subject: |
|
|
Hi, I submitted a working ebuild at:
#4914
I will submit the version for rc5 shortly |
|
Back to top |
|
|
|