Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37465 - new TYPO3 ebuild for 3.8.1
Summary: new TYPO3 ebuild for 3.8.1
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Web-apps project
URL:
Whiteboard: [webapp-overlay]
Keywords: EBUILD, InOverlay
: 19835 26508 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-07 02:15 UTC by Dietrich Heise
Modified: 2010-09-25 15:12 UTC (History)
13 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
typo3-3.6.0_rc1.ebuild (typo3-3.6.0_rc1.ebuild,5.06 KB, text/plain)
2004-01-07 02:15 UTC, Dietrich Heise
Details
imagemagick-4.2.9.ebuild (imagemagick-4.2.9.ebuild,1.72 KB, text/plain)
2004-01-12 11:45 UTC, Dietrich Heise
Details
imagemagick-4.2.9.ebuild (imagemagick-4.2.9.ebuild,2.06 KB, text/plain)
2004-01-12 12:00 UTC, Dietrich Heise
Details
typo3-3.6.0_rc1.ebuild (typo3-3.6.0_rc1.ebuild,5.29 KB, text/plain)
2004-01-13 06:32 UTC, Dietrich Heise
Details
typo3-3.6.0_rc1.ebuild (typo3-3.6.0_rc1.ebuild,5.32 KB, text/plain)
2004-01-13 09:20 UTC, Dietrich Heise
Details
typo3-3.6.0_rc1.ebuild (typo3-3.6.0_rc1.ebuild,5.39 KB, text/plain)
2004-01-13 17:14 UTC, Dietrich Heise
Details
typo3-3.6.0_rc1.ebuild (typo3-3.6.0_rc1.ebuild,6.54 KB, text/plain)
2004-01-23 16:12 UTC, Dietrich Heise
Details
typo3-3.6.0_rc2.ebuild (typo3-3.6.0_rc2.ebuild,6.62 KB, text/plain)
2004-03-24 14:41 UTC, Dietrich Heise
Details
typo3-3.6.1.ebuild (typo3-3.6.1.ebuild,6.71 KB, text/plain)
2004-05-22 11:12 UTC, Simone Gironi
Details
tyo3-3.6.1.ebuild (typo3-3.6.1.ebuild,6.71 KB, text/plain)
2004-05-24 05:37 UTC, Simone Gironi
Details
typo3-3.6.1.ebuild (typo3-3.6.1.ebuild,6.71 KB, text/plain)
2004-05-24 05:47 UTC, Simone Gironi
Details
typo3-3.6.1.ebuild (typo3-3.6.1.ebuild,6.71 KB, text/plain)
2004-05-24 05:52 UTC, Simone Gironi
Details
typo3_ebuilds.tar.gz (typo3_ebuilds.tar.gz,4.46 KB, application/octet-stream)
2004-05-27 12:39 UTC, Dietrich Heise
Details
typo3-3.6.1_ebuilds.tar.gz (typo3-3.6.1_ebuilds.tar.gz,4.48 KB, application/octet-stream)
2004-05-31 02:46 UTC, Dietrich Heise
Details
typo3-3.6.1_ebuilds.tar.gz (typo3-3.6.1_ebuilds.tar.gz,4.57 KB, text/plain)
2004-06-02 04:10 UTC, Dietrich Heise
Details
typo3-3.6.1_ebuilds.tar.gz (typo3-3.6.1_ebuilds.tar.gz,4.57 KB, application/octet-stream)
2004-06-02 04:13 UTC, Dietrich Heise
Details
typo3_ebuilds-3.6.1.tar.gz (typo3_ebuilds-3.6.1.tar.gz,4.59 KB, application/octet-stream)
2004-06-04 05:53 UTC, Dietrich Heise
Details
Fixed faulty dependency of the gd library in the source ebuild from media-libs/libgd to media-libs/gd. (typo3_ebuilds-3.6.1_gd_fixed.tar.gz,4.57 KB, application/octet-stream)
2004-07-01 15:29 UTC, José Pedro Dias
Details
typo3_ebuilds-3.6.2.tar.gz (typo3_ebuilds-3.6.2.tar.gz,5.30 KB, application/octet-stream)
2004-07-19 00:49 UTC, Dietrich Heise
Details
typo3-3.6.2.tar.gz (typo3-3.6.2.tar.gz,5.36 KB, application/octet-stream)
2004-08-08 02:03 UTC, Dietrich Heise
Details
typo3-3.7.0_rc2.tar.gz (typo3-3.7.0_rc2.tar.gz,6.12 KB, application/octet-stream)
2004-09-22 12:10 UTC, Dietrich Heise
Details
typo3-3.7.0.tar.gz (typo3-3.7.0.tar.gz,6.31 KB, application/octet-stream)
2004-09-27 14:36 UTC, Dietrich Heise
Details
typo3-3.7.0.tar.gz (typo3-3.7.0.tar.gz,6.28 KB, application/octet-stream)
2004-11-02 10:10 UTC, Dietrich Heise
Details
typo3-3.7.0.tar.gz (typo3-3.7.0.tar.gz,6.34 KB, application/octet-stream)
2004-11-06 15:41 UTC, Dietrich Heise
Details
typo3-3.8.0beta1.tar.gz (typo3-3.8.0beta1.tar.gz,6.24 KB, application/octet-stream)
2005-04-07 09:38 UTC, Dietrich Heise
Details
typo3-3.8.0beta2.1.tar.gz (typo3-3.8.0beta2.1.tar.gz,14.77 KB, application/octet-stream)
2005-04-19 05:41 UTC, Dietrich Heise
Details
typo3-3.8.0.tar.gz (typo3-3.8.0.tar.gz,15.79 KB, application/octet-stream)
2005-06-22 07:05 UTC, Dietrich Heise
Details
net-www/typo3_src/typo3_src-3.8.0.ebuild (typo3_src-3.8.0.ebuild,2.09 KB, text/plain)
2005-09-05 06:32 UTC, Dietrich Heise
Details
net-www/typo3_src/files/typo3_genarate_symlinks.sh (typo3_genarate_symlinks_3.8.0.sh,767 bytes, text/plain)
2005-09-05 06:33 UTC, Dietrich Heise
Details
net-www/typo3_dummy/typo3_dummy-3.8.0.ebuild (typo3_dummy-3.8.0.ebuild,1.95 KB, text/plain)
2005-09-05 06:34 UTC, Dietrich Heise
Details
net-www/typo3_dummy/files/typo3_genarate_symlinks.sh (typo3_genarate_symlinks.sh,712 bytes, text/plain)
2005-09-05 06:35 UTC, Dietrich Heise
Details
net-www/typo3_quickstart/typo3_quickstart-3.8.0.ebuild (typo3_quickstart-3.8.0.ebuild,1.84 KB, text/plain)
2005-09-05 06:35 UTC, Dietrich Heise
Details
net-www/typo3_quickstart/files/typo3_genarate_symlinks.sh (typo3_genarate_symlinks.sh,712 bytes, text/plain)
2005-09-05 06:36 UTC, Dietrich Heise
Details
net-www/typo3_testsite/typo3_testsite-3.8.0.ebuild (typo3_testsite-3.8.0.ebuild,1.85 KB, text/plain)
2005-09-05 06:37 UTC, Dietrich Heise
Details
net-www/typo3_testsite/files/typo3_genarate_symlinks.sh (typo3_genarate_symlinks.sh,712 bytes, text/plain)
2005-09-05 06:38 UTC, Dietrich Heise
Details
net-www/typo3_src/typo3_src-3.8.1.ebuild (typo3_src-3.8.1.ebuild,2.15 KB, text/plain)
2005-11-28 07:53 UTC, Matthias Langhammer
Details
net-www/typo3_src/files/typo3_generate_symlinks_3.8.1.sh (typo3_generate_symlinks_3.8.1.sh,767 bytes, text/plain)
2005-11-28 07:54 UTC, Matthias Langhammer
Details
net-www/typo3_dummy/typo3_dummy-3.8.1.ebuild (typo3_dummy-3.8.1.ebuild,1.95 KB, text/plain)
2005-11-28 07:55 UTC, Matthias Langhammer
Details
net-www/typo3_dummy/files/typo3_generate_symlinks.sh (typo3_generate_symlinks.sh,712 bytes, text/plain)
2005-11-28 07:56 UTC, Matthias Langhammer
Details
net-www/typo3_quickstart/typo3_quickstart-3.8.1.ebuild (typo3_quickstart-3.8.1.ebuild,1.84 KB, text/plain)
2005-11-28 07:57 UTC, Matthias Langhammer
Details
net-www/typo3_quickstart/files/typo3_generate_symlinks.sh (typo3_generate_symlinks.sh,709 bytes, text/plain)
2005-11-28 07:58 UTC, Matthias Langhammer
Details
net-www/typo3_testsite/typo3_testsite-3.8.1.ebuild (typo3_testsite-3.8.1.ebuild,1.85 KB, text/plain)
2005-11-28 07:59 UTC, Matthias Langhammer
Details
net-www/typo3_testsite/files/typo3_generate_symlinks.sh (typo3_generate_symlinks.sh,709 bytes, text/plain)
2005-11-28 07:59 UTC, Matthias Langhammer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dietrich Heise 2004-01-07 02:15:13 UTC
New ebuild for TYPO3.

Note: typo3 needs imagemagick-4.2.9 to works well!
also you need a pached libgd with gif support!
You find a ebuild here:
http://bugs.gentoo.org/show_bug.cgi?id=26508

Reproducible: Always
Steps to Reproduce:
Comment 1 Dietrich Heise 2004-01-07 02:15:49 UTC
Created attachment 23289 [details]
typo3-3.6.0_rc1.ebuild
Comment 2 Toon Verstraelen 2004-01-12 07:51:12 UTC
Hi, I tried to merge your ebuild, but I get this error:

-------------
Calculating dependencies \
emerge: there are no masked or unmasked ebuilds to satisfy ">=sys-apps/bzip2-1".
 
!!! Error calculating dependencies. Please correct.
-------------

I only know about a sys-arch/bzip2

Here is my emerge info

Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r9)
=================================================================
System uname: 2.4.20-gentoo-r9 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirrors/rsync.gentoo.org/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X arts atlas avi berkdb bonobo cdr crypt cups curl dga directfb dnd doc dvd dvdr encode esd ethereal fbcon fltk foomaticdb fs gdbm gif ginac gnome gnomedb gpm gtk gtk2 gtkhtml icc ifc imap imlib java jpeg ldap libg++ libgda libwww mad mbox md5sum mikmod mmx motif mozilla mozsvg mpeg mpi mysql ncurses nls nvidia oav opengl pam parse-clocks pdflib perl png prelude python qhull readline sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype usb x86 xml2 xmms xv zlib"
Comment 3 Toon Verstraelen 2004-01-12 11:08:23 UTC
After a fresh emerge sync, the problem still remains:

---
root@moldyn12 home # emerge -ep /usr/local/portage/media-gfx/imagemagick/imagemagick-4.2.9.ebuild                                                                                                                       
These are the packages that I would merge, in order:
 
Calculating dependencies |
emerge: there are no masked or unmasked ebuilds to satisfy ">=sys-apps/bzip2-1".
 
!!! Error calculating dependencies. Please correct.
---
root@moldyn12 home # emerge -ep /usr/local/portage/net-www/typo3/typo3-3.6.0_rc1.ebuild
 
These are the packages that I would merge, in order:
 
Calculating dependencies \
emerge: there are no masked or unmasked ebuilds to satisfy ">=sys-apps/bzip2-1".
 
!!! Error calculating dependencies. Please correct.
---

If found the following in imagemagick-4.2.9.ebuild:

DEPEND=">=sys-apps/sed-4
        media-libs/libpng
        >=sys-apps/bzip2-1
        >=sys-libs/zlib-1.1.3
        >=media-libs/freetype-2.0
        >=media-libs/jpeg-6b
        >=media-libs/tiff-3.5.5
        X? ( virtual/x11
                >=app-text/dgs-0.5.9.1 )
        cups?   ( >=app-text/ghostscript-6.50 )
        lcms? ( >=media-libs/lcms-1.06 )
        xml2? ( >=dev-libs/libxml2-2.4.10 )"

That's probably the reason why things go wrong.
Comment 4 Dietrich Heise 2004-01-12 11:45:19 UTC
Created attachment 23688 [details]
imagemagick-4.2.9.ebuild

jep,

was an error in the imagemagick-4.2.9.ebuild try this ;)

Dietrich
Comment 5 Dietrich Heise 2004-01-12 11:47:45 UTC
Comment on attachment 23688 [details]
imagemagick-4.2.9.ebuild

# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header:
/home/cvsroot/gentoo-x86/media-gfx/imagemagick/imagemagick-5.4.7.4-r1.ebuild,v
1.7 003/07/02 03:35:31 seemant Exp $

IUSE="perl X cups xml2 lcms"

#inherit libtool perl-module eutils

MY_PN=ImageMagick
MY_P=${MY_PN}-${PV}
S=${WORKDIR}/${MY_PN}-${PV}
DESCRIPTION="A collection of tools and libraries for many image formats"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
HOMEPAGE="http://www.imagemagick.org/"

SLOT="2"
LICENSE="as-is"
KEYWORDS="x86 ppc sparc ~alpha ~mips ~hppa"

DEPEND=">=sys-apps/sed-4
	media-libs/libpng
	>=app-arch/bzip2
	>=sys-libs/zlib-1.1.3
	>=media-libs/freetype-2.0
	>=media-libs/jpeg-6b
	>=media-libs/tiff-3.5.5
	X?    ( virtual/x11 >=app-text/dgs-0.5.9.1 )
	cups? ( >=app-text/ghostscript-6.50 )
	lcms? ( >=media-libs/lcms-1.06 )
	xml2? ( >=dev-libs/libxml2-2.4.10 )"

	#perl? ( >=dev-lang/perl-5 )
src_compile() {
    cd ${S}

	local myconf=""
	use perl || myconf="--without-perl"
	use lcms || myconf="${myconf} --without-lcms"
	use xml2 || myconf="${myconf} --without-xml"
	use X	 || myconf="${myconf} --without-x"

	./configure \
	    --prefix=${D}/usr/local/${MY_P} \
	    --exec-prefix=${D}/usr/local/${MY_P} \
	    --bindir=${D}/usr/local/${MY_P} \
		--enable-lzw \
		--with-ttf \
		--with-fpx \
		--without-gslib \
		--without-hdf \
		--with-jbig \
		--with-wmf \
		--with-threads \
		--with-jpeg \
		--with-png \
		--with-tiff \
		--with-ttf \
		--with-zlib \
		--without-perl \
		${myconf} || die "bad configure"
	sleep 10
	emake || die "compile problem"


}

src_install() {
	make install
}

pkg_postinst() {
  einfo "NOTE:"
  einfo "This package is installed in /usr/local/${MY_P}"
}
Comment 6 Dietrich Heise 2004-01-12 12:00:56 UTC
Created attachment 23691 [details]
imagemagick-4.2.9.ebuild

ups sorry,
try this :)
Comment 7 Toon Verstraelen 2004-01-13 00:44:12 UTC
The typo3 ebuild states that use="+gif" emerge libgd should have been used. What are the consequences of not doing so: no gif support in typo3 or no libgd support at all? 

P.S. In my case emerge complains about the fact that I should just use use="gif" instead of use="+gif":

USE="+gif" emerge libgd
USE flags should not start with a '+': +gif
Comment 8 Toon Verstraelen 2004-01-13 01:24:32 UTC
The typo3 123installer doesn't work like explained in the einfo of the typo3 ebuild.

I found the following lines in typo3-3.6.0_rc1.ebuild (from line 171 to line 173):

        einfo "start your mysqld and apache and place your browser to "
        einfo "http://yourhost/typo3/${package}-3.5.0/ and follow the"
        einfo "1-2-3 Install-Tool."

The version number does not look correct. Also I con not find which directory it should be. I tried
http://myhost/typo3/typo3_src/ (403 Forbidden)
http://myhost/typo3/typo3_src/typo3/index.php (/var/www/localhost/htdocs/typo3/typo3_src/typo3conf/localconf.php is not found!)

I'm not familiar with the permissions in /var/www/localhost/ Most files are currently owned by apache while some softlinks are owned by root. Is this correct?.
Comment 9 Dietrich Heise 2004-01-13 02:46:01 UTC
What have you choosen:
testsite, dummy or freesite?

there should be a dir named like that in 
/var/www/localhost/htdocs/typo3/

(e.g. /var/www/localhost/htdocs/typo3/testsite-3.5.0/ )

You need to place your browser there (e.g. http://yourhost/typo3/testsite-3.5.0/)
Does your apache has enabled "Options FollowSymlinks"?
Comment 10 Toon Verstraelen 2004-01-13 06:05:35 UTC
Ok, after unpacking one of those files (in my case dummy-3.6.0RC1.zip from typo3.org) into /var/www/localhost/htdocs/typo3, it worked! Thanks. I'm still in the early learning stage of typo3. The option FollowSymLinks appears to be set by default (in /etc/apache2/commonapache2.conf).
Comment 11 Dietrich Heise 2004-01-13 06:32:27 UTC
Created attachment 23734 [details]
typo3-3.6.0_rc1.ebuild

this ebuild will fail to install without a given package name for installation!

You need to choose one of "testsite", "dummy" or "freesite".
Comment 12 Toon Verstraelen 2004-01-13 07:52:04 UTC
Hi Dietrich,

Sorry to bother you again. I cleanly unmerged and removed all the typo3 stuff from . Then I did a
USE="dummy" emerge /usr/local/portage/net-www/typo3/typo3-3.6.0_rc1.ebuild

The install works fine, but when I try http://localhost/typo3/dummy-3.5.0 after emerging, I get this error:

Fatal error: Cannot instantiate non-existent class: t3lib_cs in /var/www/localhost/htdocs/typo3/typo3_src-3.6.0RC1/t3lib/class.t3lib_div.php on line 2802.

I don't see what the problem might be. The file /var/www/localhost/htdocs/typo3/typo3_src-3.6.0RC1/t3lib/class.t3lib_cs.php
exists and is not empty.

--------

another case: Before, I've also used the dummy-3.6.0RC1.zip from typo3.org and that seems to work a little better. During the 123install I could not make a new database, but for the rest everything worked fine. When trying to add a new database with 123install, I got an error message:

Fatal error: Call to undefined function: mysql_create_db() in /var/www/localhost/htdocs/typo3/dummy-3.6.0RC1/typo3/t3lib/class.t3lib_install.php on line 1896

I had a quick look at that php code. (I didn't read it all, it's too long for that.) I didn't see anything unuasual. mysql_create_db() should be a known function to php4. All other mysql functions under php seem to work. When I check the information returned by phpinfo(); mysql seems to be running fine. In apache2 mysql is built in, so this can't be a problem either.
Comment 13 Dietrich Heise 2004-01-13 09:20:11 UTC
Created attachment 23743 [details]
typo3-3.6.0_rc1.ebuild

ok, there is a newer dummy package for 3.6.0RC1 availible. This is now used by
the ebuild. I hope that will work ;)
Comment 14 Toon Verstraelen 2004-01-13 14:31:11 UTC
I have some remarks on the current typo3 ebuild. The first one is the problem with the installer. The dummy-3.6.0RC1 package works very nice, except for the 1-2-3-install. Making a new database is not possible during the install. If you enter the name of a new database in step 2 you get the following error:

Fatal error: Call to undefined function: mysql_create_db() in /var/www/localhost/htdocs/typo3/dummy-3.6.0RC1/typo3/t3lib/class.t3lib_install.php on line 1896

Using an existing database gives absolutly no problems. Does someone have any experience with the other "freesite" and "testsite" optional packages? 

---

Then a security related remark: If one wants to import extensions from typo3.org site through the backend, the option allow_url_fopen in php.ini has te be set on. the comments near this option in php.ini state that setting this option on is a security leak. Therefore by default this option is off. Maybe this is something that might be displayed on screen after emerge (with einfo)?
Comment 15 Dietrich Heise 2004-01-13 17:14:56 UTC
Created attachment 23767 [details]
typo3-3.6.0_rc1.ebuild

mysql_create_db() seem to be removed from PHP now read
http://de3.php.net/manual/en/function.mysql-create-db.php
Is pached in the ebuild and reported to the developers.
Comment 16 Toon Verstraelen 2004-01-14 01:39:58 UTC
A question about the imagemagick-4.2.9: Why is it installed in:
/usr/local/ImageMagick-4.2.9/ ?
It sur must have a reason, but I don't really understand it.
Comment 17 Dietrich Heise 2004-01-14 02:11:55 UTC
ImageMagick-4.2.9 is installed in /usr/local/ImageMagick-4.2.9/ because newer versions may be installed in /usr/{bin}/ and the binary files of ImageMagick-4.2.9 and ImageMagick-5.x.x have the same name. So some files would be overwritten if it will be installed to /usr/{bin}/
Like: 'combine' and 'convert'


I should change the SLOT value in the ImageMagick-4.2.9 ebuild to SLOT="${PV}". That's cleaner ;) Will be done later...
Comment 18 Dietrich Heise 2004-01-23 16:12:43 UTC
Created attachment 24321 [details]
typo3-3.6.0_rc1.ebuild
Comment 19 Dietrich Heise 2004-01-26 02:48:12 UTC
The HowTo for this ebuild is here:
http://typo3.org/doc.0.html?&tx_extrepmgm_pi1[extUid]=1387&cHash=d986d3fb24
Comment 20 Dietrich Heise 2004-03-24 14:41:01 UTC
Created attachment 27959 [details]
typo3-3.6.0_rc2.ebuild

Version update. :)
Comment 21 Stuart Herbert (RETIRED) gentoo-dev 2004-04-23 03:33:50 UTC

*** This bug has been marked as a duplicate of 26508 ***
Comment 22 Stuart Herbert (RETIRED) gentoo-dev 2004-04-23 04:16:50 UTC
This one has the newer ebuilds in it.
Comment 23 Stuart Herbert (RETIRED) gentoo-dev 2004-04-23 04:17:14 UTC
*** Bug 26508 has been marked as a duplicate of this bug. ***
Comment 24 TommyDrum 2004-05-02 17:40:44 UTC
There seems to be an error on the ebuild tree for all four packages; ebuild searches at wrong remote directories (maybe due to a change in them), and for files that are bzipped, not gzipped files (as they currently are). I didn't have the time to check all download locations, only checked the typo3.sunsite.dk one.
Comment 25 TommyDrum 2004-05-03 07:01:48 UTC
Furthermore, in the http://typo3.sunsite.dk/unix-archives/3.5.0/quickstart/ (where the quickstart 3.5.0 is supposed to repose) site they are in fact not even gzipped (even if the extension says they are), but only tarred... Pretty strange, ain't it?
Comment 26 Simone Gironi 2004-05-22 11:12:37 UTC
Created attachment 31844 [details]
typo3-3.6.1.ebuild 

This ebuild download all the package for typo3 3.6.1:
typo3_src , dummy ,testsite ,quickstart.

Work width ImageMagick 5.X , only the image .tiff don't work.
Comment 27 Simone Gironi 2004-05-24 05:30:37 UTC
Comment on attachment 31844 [details]
typo3-3.6.1.ebuild 

># Copyright 1999-2004 Gentoo Technologies, Inc.
># Distributed under the terms of the GNU General Public License v2
>
>inherit webapp-apache
>
>#MY_PV="${PV/_rc2/}RC2_220304"
>MY_PV="${PV}"
>
>SRC_URI="http://typo3.sunsite.dk/unix-archives/3.6.1/typo3_src/${PN}_src-${MY_PV}.tar.gz
>	testsite? ( http://typo3.sunsite.dk/unix-archives/3.6.1/testsite/testsite-3.6.1.tar.gz )
>	dummy?	  ( http://typo3.sunsite.dk/zip-archives/3.6.1/dummy-3.6.1.tar.gz )
>	freesite? ( http://typo3.sunsite.dk/unix-archives/3.6.1/freesite/freesite-3.6.1.tar.gz )
>	quickstart? ( http://typo3.sunsite.dk/unix-archives/3.6.1/quickstart/quickstart-3.6.1.tar.gz )"
>	
>#http://130.228.0.33/t3dl/src/global_extensions-${MY_PV}.tar.gz
>	
>IUSE="testsite dummy freesite quickstart"
>KEYWORDS="~x86 ~ppc"
>DESCRIPTION="TYPO3 is a free Open Source content management system for enterprise purposes on the web and in intranets."
>HOMEPAGE="http://www.typo3.com/  http://typo3.org/"
>
>RDEPEND="~media-libs/freetype-1.3.1-r3 media-libs/jpeg sys-libs/zlib media-libs/tiff media-libs/libpng media-libs/libgd ~media-gfx/imagemagick sys-devel/gettext media-libs/ming media-libs/pdflib dev-db/mysql net-www/apache dev-php/mod_php"
>LICENSE="GPL"
>RESTRICT="nostrip"
>SLOT="${PV}"
>
>MY_P=${PN}_src-${PV}
>S=${WORKDIR}/${MY_P}
>
>webapp-detect || NO_WEBSERVER=1
>
>pkg_setup() {
>	if [ "x${INSTALLDIR}" = x ] ; then
>    	if [ -L ${HTTPD_ROOT}/${PN} ] ; then
>			ewarn "You need to unmerge your old ${PN} version first."
>			ewarn "${PN} will be installed into ${HTTPD_ROOT}/${PN}"
>			ewarn "directly instead of a version-dependant directory."
>			die "need to unmerge old version first"
>		fi
>		INSTALLDIR="${HTTPD_ROOT}/${PN}" 
>	fi
>										
>    webapp-pkg_setup "${NO_WEBSERVER}"
>    einfo "Installing into ${INSTALLDIR}"
>	einfo "For installing in a different directory type"
>	einfo "INSTALLDIR=\"/my/installdir/\" USE=\"my-package\" emerge typo3"
>	
>#	for TICKER in 1 2 3 4 5; do
>#		# Double beep here.
>#		echo -ne "\a" ; sleep 0.1 &>/dev/null ; sleep 0,1 &>/dev/null
>#		echo -ne "\a" ; sleep 1
>#	done
>#	sleep 8
>																
>	
>	x=0
>	if [ `use testsite` ] ; then
>		package="testsite"
>		let x=$x+1;
>	fi
>	if [ `use dummy` ] ; then
>		package="dummy"
>		let x=$x+1;
>	fi
>	if [ `use freesite` ] ; then
>		package="freesite"
>		let x=$x+1;
>	fi
>	if [ `use quickstart` ] ; then
>		package="quickstart"
>		let x=$x+1;
>	fi
>	if [ "$x" != "1" ] ; then
>		eerror "set USE to one of \"testsite\" \"dummy\" \"quickstart\" or \"freesite\""
>		eerror "e.g. try USE=\"testsite\" emerge ${P}"
>		die "No package given to install."
>	fi
>}
>		
>
>pkg_preinst() {
>	einfo "Generating links for freetype 1.3.1"
>	ln -fs /usr/include/freetype/* /usr/include
>}
>
>src_install() {
>
>	webapp-mkdirs
>	
>	cd ${WORKDIR}
>	ln -s ${MY_P} ${PN}_src
>	cd ${WORKDIR}/${PN}_src/typo3/install/
>	cp index.php index.php.orig
>	sed -e 's:die:#die:g' index.php.orig > index.php || die "sed command failed!"
>	rm index.php.orig
>	cd ${WORKDIR}/${PN}_src/t3lib
>	cp class.t3lib_install.php class.t3lib_install.php.orig
>    sed -e 's:mysql_create_db($newdbname):mysql_query("CREATE DATABASE $newdbname"):g' class.t3lib_install.php.orig > class.t3lib_install.php
>	rm class.t3lib_install.php.orig
>	
>	local destdir=${INSTALLDIR}/
>	
>	cd ${WORKDIR}
>	
>	if [ `use testsite` ] ; then
>		mv testsite-3.6.1 testsite
>		touch testsite/typo3temp/.keep testsite/fileadmin/_temp_/.keep
>		ln -s testsite htdocs
>    	cd testsite
>		rm -rf t3lib media tslib typo3
>		ln -s ../${PN}_src/t3lib t3lib
>		ln -s ../${PN}_src/tslib tslib
>		ln -s tslib/media media
>		ln -s ../${PN}_src/typo3 typo3
>		mkdir -p typo3/temp
>		chmod 777 typo3temp typo3/temp typo3conf typo3conf/ext typo3/ext uploads uploads/pics uploads/media uploads/tf fileadmin
>		touch typo3/temp/.keep typo3conf/ext/.keep uploads/pics/.keep uploads/media/.keep uploads/tf/.keep
>		chmod ug+w fileadmin/_temp_/ 
>	fi
>	if [ `use dummy` ] ; then
>		mv dummy-3.6.1 dummy
>		touch dummy/typo3temp/.keep dummy/fileadmin/_temp_/.keep
>		ln -s dummy htdocs
>		cd dummy
>		rm -rf t3lib media tslib typo3
>        ln -s ../${PN}_src/t3lib t3lib
>        ln -s ../${PN}_src/tslib tslib
>        ln -s tslib/media media
>        ln -s ../${PN}_src/typo3 typo3
>		mkdir -p typo3/temp
>        chmod 777 typo3temp typo3/temp typo3conf typo3conf/ext typo3/ext uploads uploads/pics uploads/media uploads/tf fileadmin
>		touch typo3conf/ext/.keep uploads/pics/.keep uploads/media/.keep uploads/tf/.keep
>   		chmod ug+w fileadmin/_temp_/
>	fi																													
>				
>	if [ `use freesite` ] ; then
>	    mv freesite-3.6.1 freesite
>		touch freesite/typo3temp/.keep freesite/fileadmin/_temp_/.keep
>		ln -s freesite htdocs
>		cd freesite
>		rm -rf t3lib media tslib typo3
>        ln -s ../${PN}_src/t3lib t3lib
>        ln -s ../${PN}_src/tslib tslib
>        ln -s tslib/media media
>        ln -s ../${PN}_src/typo3 typo3
>		mkdir -p typo3/temp/
>		mkdir -p typo3conf/ext/
>        chmod 777 typo3temp typo3/temp typo3conf typo3conf/ext typo3/ext uploads uploads/pics uploads/media uploads/tf fileadmin
>		touch typo3/temp/.keep typo3conf/ext/.keep uploads/pics/.keep uploads/media/.keep uploads/tf/.keep
>   		chmod ug+w fileadmin/_temp_/
>	fi
>	if [ `use quickstart` ] ; then
>		mv quickstart-3.6.1 quickstart
>		touch quickstart/fileadmin/_temp_/.keep
>		ln -s quickstart htdocs
>		cd quickstart
>		rm -rf t3lib media tslib typo3
>		ln -s ../${PN}_src/t3lib t3lib
>		ln -s ../${PN}_src/tslib tslib
>		ln -s tslib/media media
>		ln -s ../${PN}_src/typo3 typo3
>		mkdir -p typo3/temp/
>		mkdir -p typo3conf/ext/
>		chmod 777 typo3temp typo3/temp typo3conf typo3conf/ext typo3/ext uploads uploads/pics uploads/media uploads/tf fileadmin
>		touch typo3/temp/.keep typo3conf/ext/.keep uploads/pics/.keep uploads/media/.keep uploads/tf/.keep
>		chmod ug+w fileadmin/_temp_/
>	fi
>		
>	cd ${WORKDIR}
>	chown --quiet -R ${HTTPD_USER}:${HTTPD_GROUP} *
>	find -type l -exec chown root:root {} \;
>	find -type d -exec mkdir -p ${D}${destdir}/{} \;
>	find -type d -exec chown ${HTTPD_USER}:${HTTPD_GROUP} ${D}${destdir}/{} \;
>	find -type f -exec cp -p {} ${D}${destdir}/{} \;
>	find -type l -exec cp -r {} ${D}${destdir}/{} \;
>}
>
>pkg_postinst(){
>	einfo "  *** NOTE libgd ***"
>	einfo "libgd needs to be compiled with USE=\"gif\""
>	einfo "If you don't have \"gif\" in your USE libgd needs a recompile."
>	einfo "  *** NOTE mod_php ***"
>	einfo "If your mod_php was compiled before libgd it needs to be recompiled."
>	einfo "Also you need to set \"gd-external\" in your USE variable."
>	einfo "  *** NOTE typo3 ***"
>	einfo "start your mysqld and apache and place your browser to "
>	einfo "http://www.yourhost.com/typo3/USE_Type/" 
>	einfo "where USE_Type is : testsite or quickstart or dummy and follow the"
>	einfo "1-2-3 Install-Tool."
>	einfo "After the 1-2-3 Install-Tool you can log in to typo3 backend with:"
>	einfo "                      admin / password"
>	einfo ""
>	einfo "                                                Have a nice day!"
>}
Comment 28 Simone Gironi 2004-05-24 05:37:36 UTC
Created attachment 31944 [details]
tyo3-3.6.1.ebuild
Comment 29 Simone Gironi 2004-05-24 05:47:55 UTC
Created attachment 31945 [details]
typo3-3.6.1.ebuild
Comment 30 Simone Gironi 2004-05-24 05:52:23 UTC
Created attachment 31946 [details]
typo3-3.6.1.ebuild

debug link for download.
Comment 31 Dietrich Heise 2004-05-27 12:39:26 UTC
Created attachment 32156 [details]
typo3_ebuilds.tar.gz

It's done :)

these ebuilds are using webapp-config for installation!
Try it now,
and let me know if someone has problems with this!
Comment 32 Stuart Herbert (RETIRED) gentoo-dev 2004-05-27 13:23:36 UTC
The tar file includes an ebuild for imagemagick-4.2.9.  Does typo3 not work with imagemagick 5.5.7 then?

Best regards,
Stu
Comment 33 Stuart Herbert (RETIRED) gentoo-dev 2004-05-27 13:31:09 UTC
Dietrich,

Thank you for your kind words about Gentoo in your 'Typo3 on Gentoo Linux' manual on typo3.org!

Best regards,
Stu
Comment 34 Dietrich Heise 2004-05-27 13:34:47 UTC
Stuart,

it works with all versions of ImageMagick but the best Version for Typo3 is 4.2.9!
Read this:
http://typo3.org/doc.0.html?&encryptionKey=&tx_extrepmgm_pi1[extUid]=262&tx_extrepmgm_pi1[tocEl]=246&cHash=6101d21d8e]

mfg
Dietrich
Comment 35 Stuart Herbert (RETIRED) gentoo-dev 2004-05-27 13:48:02 UTC
Okay thanks.  I need to talk to the media-gfx team before I can add the ebuild for imagemagick-4, as any support requests will be sent their way.

Best regards,
Stu
Comment 36 witr 2004-05-28 16:26:43 UTC
Out of curiosity, wouldn't it be preferable to have the choice of quickstart/dummy/test be a local USE flag instead of separate ebuilds?  I notice that the builds are very similar, but have started to diverge because they are separate-but-parallel.  I would expect that updates to the typo3 engine might require changes to all of these, and it is possible that there might be additional packages in the future.  Trying to keep these in sync will be an error-prone exercise.  Consider this a request for ebuild refactoring!  ;-)
Comment 37 Dietrich Heise 2004-05-29 09:09:26 UTC
We have discussed this and we meen that this is the best way to have a seperate ebuild for each package!
After the emerge you need to install the package of your choose with webapp-config. Read the man page of webapp-config. This tool is realy great for installing webapps!
And for updates of the engine you only need to update typo3_src! This is realy a great new way.

mfg
Dietrich
Comment 38 Lars Mautsch 2004-05-31 01:46:26 UTC
Hi, while emerging typo3-dummy-package, i got the following error:

emerge typo3_dummy
Calculating dependencies ...done!
>>> emerge (1 of 2) net-www/typo3_src-3.6.1 to /
>>> md5 src_uri ;-) typo3_src-3.6.1.tar.gz
>>> Unpacking source...
>>> Unpacking typo3_src-3.6.1.tar.gz to /var/tmp/portage/typo3_src-3.6.1/work
>>> Source unpacked.
nostrip
 
>>> Install typo3_src-3.6.1 into /var/tmp/portage/typo3_src-3.6.1/image/ category net-www
 * Installing main files
 * ebuild fault: file /usr/share/webapps/typo3_src/3.6.1/htdocs/./misc/3.0.0/oldscripts/meta.php not found
 * Please report this as a bug at http://bugs.gentoo.org/
 
!!! ERROR: net-www/typo3_src-3.6.1 failed.
!!! Function webapp_checkfileexists, Line 59, Exitcode 0
!!! ebuild fault: file /usr/share/webapps/typo3_src/3.6.1/htdocs/./misc/3.0.0/oldscripts/meta.php not found
Comment 39 Dietrich Heise 2004-05-31 02:46:59 UTC
Created attachment 32371 [details]
typo3-3.6.1_ebuilds.tar.gz

Try the newer ebuilds please...

mfg
Dietrich
Comment 40 Rob Holland 2004-06-01 06:15:49 UTC
I tried running: webapp-config -I typo3_src 3.6.1 --virtual-dirs server-owned --virtual-files server-owned -d /typo3/src

And it complains:

Creating symlinks...
/usr/share/webapps/typo3_src/3.6.1/hooks/typo3_genarate_symlinks.sh: line 7: cd: /typo3_src: No such file or directory
/usr/share/webapps/typo3_src/3.6.1/hooks/typo3_genarate_symlinks.sh: line 9: cd: /typo3_src/t3lib/fonts: No such file or directory
/usr/share/webapps/typo3_src/3.6.1/hooks/typo3_genarate_symlinks.sh: line 12: cd: /typo3_src/typo3: No such file or directory

Any idea why?
Comment 41 witr 2004-06-01 06:55:25 UTC
Using the newest ebuilds above, the imagemagick build fails.  I'm using xorg and this may have nothing to do with the imagemagick ebuild, but then other things using X (like emacs) have compiled correctly in this environment...???

...
Making all in delegates
make[1]: Entering directory `/var/tmp/portage/imagemagick-4.2.9/work/ImageMagick-4.2.9/delegates'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/imagemagick-4.2.9/work/ImageMagick-4.2.9/delegates'
Making all in magick
make[1]: Entering directory `/var/tmp/portage/imagemagick-4.2.9/work/ImageMagick-4.2.9/magick'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I../ -I..  -I/var/tmp/portage/imagemagick-4.2.9/image//usr/local/ImageMagick-4.2.9/include -I/usr/X11R6/include -I/usr/X11R6/include/X11  -O2 -march=i686 -finline-functions -fomit-frame-pointer -pipe -c PreRvIcccm.c
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I../ -I..  -I/var/tmp/portage/imagemagick-4.2.9/image//usr/local/ImageMagick-4.2.9/include -I/usr/X11R6/include -I/usr/X11R6/include/X11  -O2 -march=i686 -finline-functions -fomit-frame-pointer -pipe -c animate.c
gcc -DHAVE_CONFIG_H -I../ -I.. -I/var/tmp/portage/imagemagick-4.2.9/image//usr/local/ImageMagick-4.2.9/include -I/usr/X11R6/include -I/usr/X11R6/include/X11 -O2 -march=i686 -finline-functions -fomit-frame-pointer -pipe -c animate.c -o animate.o
gcc -DHAVE_CONFIG_H -I../ -I.. -I/var/tmp/portage/imagemagick-4.2.9/image//usr/local/ImageMagick-4.2.9/include -I/usr/X11R6/include -I/usr/X11R6/include/X11 -O2 -march=i686 -finline-functions -fomit-frame-pointer -pipe -c PreRvIcccm.c -o PreRvIcccm.o
In file included from /usr/X11R6/include/X11/Xos.h:293,
                 from xwindows.h:15,
                 from animate.c:58:
/usr/X11R6/include/X11/Xarch.h:48:27: sys/byteorder.h: No such file or directory
In file included from /usr/X11R6/include/X11/Xos.h:293,
                 from xwindows.h:15,
                 from PreRvIcccm.c:55:
/usr/X11R6/include/X11/Xarch.h:48:27: sys/byteorder.h: No such file or directory
make[1]: *** [PreRvIcccm.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [animate.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/imagemagick-4.2.9/work/ImageMagick-4.2.9/magick'
make: *** [all-recursive] Error 1
 
!!! ERROR: media-gfx/imagemagick-4.2.9 failed.
!!! Function src_compile, Line 62, Exitcode 2
!!! compile problem

ns1 local # emerge info
Portage 2.0.50-r7 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.20-gentoo-r8)
=================================================================
System uname: 2.4.20-gentoo-r8 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -finline-functions -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -finline-functions -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://spooky.rwwa.com/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.datapipe.net/gentoo"MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X berkdb crypt cups emacs foomaticdb gd-external gdbm gif gpm gtk2 imap java jpeg ldap libg++ libwww mad maildir mpeg mysql ncurses nls odbc pam pdflib perl png python readline samba sasl slang ssl svga tcltk tcpd truetype x86 xml2 zlib"
 
ns1 local # etcat versions xorg-x11
[ Results for search key           : xorg-x11 ]
[ Candidate applications found : 1 ]
 
 Only printing found installed programs.
 
*  x11-base/xorg-x11 :
        [ ~I] 6.7.0 (0)
Comment 42 witr 2004-06-01 16:27:44 UTC
I think I've narrowed it down to a configure error in the imagemagick build.  I created this:

  #include "magick/magick.h"
  #include "magick/defines.h"
  #include "magick/xwindows.h"
                                                                                                                    int main()  {   }
                                                                                                                  
Then do this:

ns1 tmp # gcc -DHAVE_CONFIG_H -I../ -I.. -I /var/tmp/portage/imagemagick-4.2.9/work/ImageMagick-4.2.9 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -O2 -march=i686 -finline-functions -fomit-frame-pointer -pipe -c foo.c In file included from /usr/X11R6/include/X11/Xos.h:293,
                 from /var/tmp/portage/imagemagick-4.2.9/work/ImageMagick-4.2.9/magick/xwindows.h:15,
                 from foo.c:3:
/usr/X11R6/include/X11/Xarch.h:48:27: sys/byteorder.h: No such file or directory
ns1 tmp # gcc -I../ -I.. -I /var/tmp/portage/imagemagick-4.2.9/work/ImageMagick-4.2.9 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -O2 -march=i686 -finline-functions -fomit-frame-pointer -pipe -c foo.c
ns1 tmp #
Comment 43 Dietrich Heise 2004-06-02 04:10:38 UTC
Created attachment 32518 [details]
typo3-3.6.1_ebuilds.tar.gz

Hi Robert,

try these new ebuilds, now it should now also work with xorg-x11 :)

and Rob,

which version of webbapp-config do you use?
You need to Install the ebuilds with webapp-config >= 1.9-r3

mfg
Dietrich
Comment 44 Dietrich Heise 2004-06-02 04:13:52 UTC
Created attachment 32519 [details]
typo3-3.6.1_ebuilds.tar.gz
Comment 45 Rob Holland 2004-06-02 06:16:01 UTC
I had -r2, I upgraded and it works fine now :)

Many thanks.

Also, the docs on typo3.org don't match the builds now ;)
Comment 46 witr 2004-06-02 18:38:26 UTC
Dietrich:

The new ebuilds build imagmagick perfectly!  Outstanding work!

I have two other issues now.  ;-)

1) You asked Rob "which version of webbapp-config do you use?
You need to Install the ebuilds with webapp-config >= 1.9-r3".  I wasn't using
webapp-config at all, so the -r2 version got installed as a dependency of the typo3 ebuilds.  Is there some way to cause this dependency to be to the correct (-r3) version, or at least have the pkg_postinst warn you about it?

2) I installed typo3_quickstart and tried to start it as instructed in the
pkg_postinst, but the typo3_src symlink or directory doesn't exist.  The pkg_postinst for typo3_src says: "Set up will now be done with webapp-config!" 
which is a little vague about what the user is expected to do...  ;-)  Should 
symlink to the stuff or should I use webapp-config to install typo3_src?  Perhaps the pkg_postinst should be updated with more explicit instructions?

Thanks!
Comment 47 Luca Barbato gentoo-dev 2004-06-03 09:10:18 UTC
Could you please add the ebuild as stand alone plaintext files?
Comment 48 Dietrich Heise 2004-06-03 12:39:06 UTC
Luca,

No sorry that's are too much files for one bug report otherwise it becomes too unclearly.
Please extract the file into your PORTAGE_OVERLAY tree.

mfg
Dietrich
Comment 49 Norman Doll 2004-06-04 03:41:39 UTC
Hello,

I downloaded the latest (2004-06-02 04:13 PST) ebuild package. I had trouble installing typo3 quickstart caused by a wrong set link created by:

/usr/share/webapps/typo3_quickstart/3.6.1/hooks/typo3_genarate_symlinks.sh

In net-www/typo3_quickstart/files/typo3_genarate_symlinks.sh line 9
        ln -s $VHOST_ROOT/tslib/showpic.php showpic.php

should read:
        ln -s $VHOST_ROOT/typo3_src/tslib/showpic.php showpic.php

I don't have typo3 fully set up by now, so could somebody please commit the above?

Greetings from Cologne
Norman Doll
Comment 50 Dietrich Heise 2004-06-04 05:53:26 UTC
Created attachment 32634 [details]
typo3_ebuilds-3.6.1.tar.gz

Hi Norman,

you are right, fixed.

mfg
Dietrich
Comment 51 José Pedro Dias 2004-07-01 15:29:48 UTC
Created attachment 34612 [details]
Fixed faulty dependency of the gd library in the source ebuild from media-libs/libgd to media-libs/gd.
Comment 52 Dietrich Heise 2004-07-19 00:49:19 UTC
Created attachment 35727 [details]
typo3_ebuilds-3.6.2.tar.gz

version update to 3.6.2 (also included 3.6.1 in this file)
and moved libgd to gd

Dietrich
Comment 53 Tony Murray 2004-07-23 13:15:26 UTC
Dietrich, You forgot to update the version number in typo3_genarate_symlinks.sh to 3.6.2!  Maybe you should include a version in the filename so people don't forget to update it.  

The best solution would be to get the version from webapp-config, but I didn't see how in the man file.  Maybe you should file a bug about it?
Comment 54 Dietrich Heise 2004-08-08 02:03:39 UTC
Created attachment 37006 [details]
typo3-3.6.2.tar.gz

some bug fixes, and update the version number in typo3_genarate_symlinks.sh

mfg
Dietrich
Comment 55 Renat Lumpau (RETIRED) gentoo-dev 2004-08-28 17:37:12 UTC
*** Bug 19835 has been marked as a duplicate of this bug. ***
Comment 56 Dietrich Heise 2004-09-22 12:10:31 UTC
Created attachment 40181 [details]
typo3-3.7.0_rc2.tar.gz

Update to version 3.7.0_rc2 of typo3_src and typo3_dummy.
Older versions also included.

mfg
Dietrich
Comment 57 Peter Stieglecker 2004-09-24 06:47:55 UTC
net-www/typo3_dummy-3.7.0_rc2 depends on
net-www/typo3_src-3.6.2
(it should be net-www/typo3_src-3.7.0_rc2 I guess...?)
Comment 58 Dietrich Heise 2004-09-27 14:36:36 UTC
Created attachment 40563 [details]
typo3-3.7.0.tar.gz

Typo3-3.7.0 is out here are the ebuilds for it!
Comment 59 Alessandro Sappia 2004-11-02 03:04:10 UTC
using portage tree now (2004-11-2 12:03 CET)
imagemagick can't compile because it disappeared
app-text/dgs

what's the problem ?
Comment 60 Luca Barbato gentoo-dev 2004-11-02 03:30:33 UTC
ancient imagemagick isn't really required for typo3 and dgs isn't required by imagemagick.

(see the logs about that in the portage tree)
Comment 61 Dietrich Heise 2004-11-02 10:10:58 UTC
Created attachment 43173 [details]
typo3-3.7.0.tar.gz

Removed app-text/dgs from the imagemagick ebuild.
Because virtual/x11 provides all the same libs/includes.
Comment 62 Dietrich Heise 2004-11-06 15:41:46 UTC
Created attachment 43438 [details]
typo3-3.7.0.tar.gz

updated the 'quickstart' and 'testsite' package to version 3.7.0
and some typo's in the last version

mfg
Dietrich
Comment 63 Dietrich Heise 2004-12-09 15:41:51 UTC
I have added a wiki page for a TYPO3 installation with gentoo.
http://wiki.typo3.org/index.php/Gentoo
feel free and edit it ;)

mfg
Dietrich
Comment 64 Ed Wildgoose 2004-12-10 06:45:37 UTC
Why can't this go into portage?  It seems to be capable of being masked and maintained in there now?

Looks like this ebuild is quite popular based on the attention it's getting here?
Comment 65 Dietrich Heise 2005-04-07 09:38:45 UTC
Created attachment 55568 [details]
typo3-3.8.0beta1.tar.gz

Update to 3.8.0beta1
Stable builds are also included in this archive!
Comment 66 Dietrich Heise 2005-04-19 05:41:17 UTC
Created attachment 56650 [details]
typo3-3.8.0beta2.1.tar.gz

updated to typo3-3.8.0beta2.1
Comment 67 Frederik 'Freso' S. Olesen 2005-04-24 14:19:29 UTC
"""
$ ACCEPT_KEYWORDS="~x86" emerge -pv typo3

These are the packages that I would merge, in order:

Calculating dependencies -
emerge: there are no ebuilds to satisfy "media-libs/libgd".
"""

I thought this had been fixed earlier? (Comment #51)
Comment 68 Lieven 2005-06-07 03:10:18 UTC
Thanks for these typo3-ebuilds! To emerging these, I had to create digest files.
I'm not so familiar with ebuilds so it took some time to find this. 
my commands:
ebuild imagemagick-4.2.9.ebuild digest
ebuild typo3_src-3.7.0.ebuild digest

In the ebuild-documentation I found that this command is normally only used by
the developer. So I hope that this is helpful remark.

Lieven
Comment 69 Brendan Jocson 2005-06-22 05:59:37 UTC
Hi there gentoo-typo3 users!

I noticed that TYPO3-3.8.0 isn't here yet so I just hacked my way into getting
them via these ebuilds. Here's the Steps I did:

- Download latest tar.gz ebuilds (typo3-3.8.0beta2.1.tar.gz as of writing) &
untar in your PORT_OVERLAY.

- For each typo3_* inside net-www, just copy the typo3_*-3.7.0.ebuild to
typo3_*-3.8.0.ebuild and then digest them as instructed in Comment #68.

- Both typo3_src and typo3_dummy ebuilds should work now for the final 3.8.0
just by copying, but this doesn't hold true for both typo3_testsite and
typo3_quickstart. This is mainly because 3.8.0 is exclusively in sourceforge
mirrors at the momment, and the ebuilds for 3.7.0 points to typo3.sunsite.dk. To
rectify this, just edit both .ebuild's to include this, commenting out the
original SRC_URI:

      SRC_URI="mirror://sourceforge/typo3/${MY_PN}-${PV}.tar.gz"

- Oh, since 3.8.0 uses media-gfx/graphicsmagick now, I suggest including it in
the RDEPEND= area of the typo3_src-3.8.0.ebuild you made, commenting out
imagemagick altogether.

Great work Dietrich. You're my inspiration in making this simple hack! :) Hope
this helps anyone out there until the ebuilds in here gets updated, and also I
wish we have typo3 ebuilds in portage SOON as well! It's about time! :)

Take it easy,

KrulL
Comment 70 Dietrich Heise 2005-06-22 07:05:28 UTC
Created attachment 61722 [details]
typo3-3.8.0.tar.gz

Opps, forgot to submit it,

here are the newest ebuilds, in my portage:
http://mygentoo.dyndns.org

mfg
Dietrich
Comment 71 Vieri 2005-08-18 03:46:10 UTC
I believe there's a typo in the ebuild's RDEPEND: 

media-libs/libgd 

should be 

media-libs/gd

?
Comment 72 Jakub Moc (RETIRED) gentoo-dev 2005-09-04 13:46:09 UTC
Please, attach a *plaintext* ebuild, we don't want tarballs.

http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3#doc_chap2
Comment 73 Dietrich Heise 2005-09-05 04:50:27 UTC
you are right, but for TYPO3 you need more than one package. All packages in the
tarball (typo3_src typo3_dummy typo3_testsite typo3_freesite and imagemagick).
Sorry but I will not update for a new release more than 10 ebuilds...

It is horrible and to complex to update for every new release more than 10
ebuilds + required postinstall files in bugzilla!

mfg
Dietrich

Comment 74 Andreas Klauer 2005-09-05 05:56:50 UTC
Common ebuild mistakes
(http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3) says:
"Please please please do not attach ebuilds as tarballs. Attach patches
seperately as well so we can easily examine them."

Dietrich, please please please try to follow these guidelines. Yes, you do have
a point, it's complicated to post so many ebuilds to bugzilla. However, it's
even more horrible and complex for users who a) first have to discover this bug
entry, b) download the correct tarball, c) figure out how to configure overlay
correctly, d) manually keeping overlay up to date, e) getting support for an
unofficial ebuild when something does not work correctly.

The goal should be to get these ebuilds working and into the official tree,
instead of letting them sit in this bug report for yet another year.
Comment 75 Jakub Moc (RETIRED) gentoo-dev 2005-09-05 06:08:24 UTC
(In reply to comment #73)
> you are right, but for TYPO3 you need more than one package. All packages in the
> tarball (typo3_src typo3_dummy typo3_testsite typo3_freesite and imagemagick).
> Sorry but I will not update for a new release more than 10 ebuilds...
> 
> It is horrible and to complex to update for every new release more than 10
> ebuilds + required postinstall files in bugzilla!

It is also horrible if everyone has to download and unpack the tarball just to
review the ebuilds. OK, there are exactly 5 ebuilds in there. We don't need
ebuilds for multiple obsolete versions, just for the current one. I am also
missing why the ebuild for the horrendously obsolete imagemagick version is
required in the overlay. If it does not work w/ anything but imagemagick-4.2.9
(!), then this does not go to portage, plain and simple. Please clarify.

So again - attach the ebuilds for the latest versions of the required packages
for review.

Thanks.
Comment 76 Dietrich Heise 2005-09-05 06:32:10 UTC
Created attachment 67674 [details]
net-www/typo3_src/typo3_src-3.8.0.ebuild
Comment 77 Dietrich Heise 2005-09-05 06:33:28 UTC
Created attachment 67675 [details]
net-www/typo3_src/files/typo3_genarate_symlinks.sh
Comment 78 Dietrich Heise 2005-09-05 06:34:17 UTC
Created attachment 67676 [details]
net-www/typo3_dummy/typo3_dummy-3.8.0.ebuild
Comment 79 Dietrich Heise 2005-09-05 06:35:01 UTC
Created attachment 67677 [details]
net-www/typo3_dummy/files/typo3_genarate_symlinks.sh
Comment 80 Dietrich Heise 2005-09-05 06:35:40 UTC
Created attachment 67678 [details]
net-www/typo3_quickstart/typo3_quickstart-3.8.0.ebuild
Comment 81 Dietrich Heise 2005-09-05 06:36:27 UTC
Created attachment 67679 [details]
net-www/typo3_quickstart/files/typo3_genarate_symlinks.sh
Comment 82 Dietrich Heise 2005-09-05 06:37:26 UTC
Created attachment 67680 [details]
net-www/typo3_testsite/typo3_testsite-3.8.0.ebuild
Comment 83 Dietrich Heise 2005-09-05 06:38:00 UTC
Created attachment 67682 [details]
net-www/typo3_testsite/files/typo3_genarate_symlinks.sh
Comment 84 Dietrich Heise 2005-09-05 06:42:31 UTC
I hope that's all.

Since 3.8.0 you can use graphicsmagick instead of imagemagick, in the ebuild for
3.8.0 I changed the dependency to graphicsmagick. So this sould not be a problem
any more... 
Comment 85 Andreas Klauer 2005-09-05 07:02:00 UTC
(In reply to comment #75)
> I am also
> missing why the ebuild for the horrendously obsolete imagemagick version is
> required in the overlay. If it does not work w/ anything but imagemagick-4.2.9
> (!), then this does not go to portage, plain and simple. Please clarify.

I think this is a problem of the past (API changes in ImageMagick).

Typo3 Page [1] says "So TYPO3 does work and works well with 5+ versions of
ImageMagick." Typo3 Wiki Page [2] (Installation Instructions) says ImageMagick
is optional, and to get "latest version from http://www.imagemagick.org".

However, there are Typo3 users who still recommend using ImageMagick 4.2.9
because it is faster. ImageMagick developer says "ImageMagick always shoots for
quality over speed", so the speed issue is not expected to change in the future.
(Source: sidenote in some typo3 pdf document I don't want to make you download).

Personally, I have not tested Typo3 with the current Gentoo ImageMagick version.

[1]http://typo3.org/documentation/document-library/doc_core_inside/Folders_in_typo3_src/
[2]http://wiki.typo3.org/index.php/TYPO3_Installation_Basics
Comment 86 Dietrich Heise 2005-09-05 07:17:09 UTC
Sure, it is optional.

But a cms without resizeing images, generating graphical menus and so on is
nonsence... 

here are the old notes why [1] ImageMagick.

But since TYPO3 3.8.0 [2] GraphicsMagick is supported:
Image Manipulation Tools

After years of ImageMagick domination a new image manipulation hero has entered
the stage. Please welcome the new challenger GraphicsMagick and be happy that
ImageMagick problems are gone! 

GraphicsMagick is faster, more reliable and the generated images are better in
size and quality. To enable GraphicsMagick visit page 1 of the Install Tool. 

Find more about GraphicsMagick on http://www.graphicsmagick.org/


[1]
http://typo3.org/documentation/document-library/doc_core_inside/Webspace_and_FTPspac/
[2] http://typo3.org/development/articles/release-notes-380/page/3/
Comment 87 Matthias Langhammer 2005-11-28 07:53:14 UTC
Created attachment 73734 [details]
net-www/typo3_src/typo3_src-3.8.1.ebuild

Update to Typo3-3.8.1; more files will follow...
Comment 88 Matthias Langhammer 2005-11-28 07:54:52 UTC
Created attachment 73735 [details]
net-www/typo3_src/files/typo3_generate_symlinks_3.8.1.sh
Comment 89 Matthias Langhammer 2005-11-28 07:55:51 UTC
Created attachment 73736 [details]
net-www/typo3_dummy/typo3_dummy-3.8.1.ebuild
Comment 90 Matthias Langhammer 2005-11-28 07:56:30 UTC
Created attachment 73737 [details]
net-www/typo3_dummy/files/typo3_generate_symlinks.sh
Comment 91 Matthias Langhammer 2005-11-28 07:57:17 UTC
Created attachment 73738 [details]
net-www/typo3_quickstart/typo3_quickstart-3.8.1.ebuild
Comment 92 Matthias Langhammer 2005-11-28 07:58:13 UTC
Created attachment 73739 [details]
net-www/typo3_quickstart/files/typo3_generate_symlinks.sh
Comment 93 Matthias Langhammer 2005-11-28 07:59:01 UTC
Created attachment 73740 [details]
net-www/typo3_testsite/typo3_testsite-3.8.1.ebuild
Comment 94 Matthias Langhammer 2005-11-28 07:59:39 UTC
Created attachment 73741 [details]
net-www/typo3_testsite/files/typo3_generate_symlinks.sh
Comment 95 Michael Eichenberger 2005-12-04 16:02:24 UTC
The file net-www/typo3_src/typo3_src-3.8.1.ebuild should be modified on line 18:
Was:
RDEPEND=">=app-admin/webapp-config-1.9-r3 

Should be:
RDEPEND=">=app-admin/webapp-config-1.9-r3

Thank you for the great work this far :-)

Kind regards, Michael
Comment 96 Michael Eichenberger 2005-12-04 16:04:12 UTC
(In reply to comment #95)
> The file net-www/typo3_src/typo3_src-3.8.1.ebuild should be modified on line 18:
> Was:
> RDEPEND=">=app-admin/webapp-config-1.9-r3 
> 
> Should be:
> RDEPEND=">=app-admin/webapp-config-1.9-r3
> 
> Thank you for the great work this far :-)
> 
> Kind regards, Michael


Hmmm, the line "was" should have been:
RDEPEND=">=net-www/webapp-config-1.9-r3 
Comment 97 Matthias Langhammer 2005-12-06 04:49:48 UTC
(In reply to comment #96)
> (In reply to comment #95)
> > The file net-www/typo3_src/typo3_src-3.8.1.ebuild should be modified on line 18:
> > Was:
> > RDEPEND=">=app-admin/webapp-config-1.9-r3 
> > 
> > Should be:
> > RDEPEND=">=app-admin/webapp-config-1.9-r3
> > 
> > Thank you for the great work this far :-)
> > 
> > Kind regards, Michael
> 
> 
> Hmmm, the line "was" should have been:
> RDEPEND=">=net-www/webapp-config-1.9-r3 
> 

Are you sure that you downloaded the correct file?
The line in net-www/typo3_src/typo3_src-3.8.0.ebuild was
RDEPEND=">=net-www/webapp-config-1.9-r3

But net-www/typo3_src/typo3_src-3.8.1.ebuild contains the correct line
RDEPEND=">=app-admin/webapp-config-1.9-r3

Greetings,
  Matthias
Comment 98 Renat Lumpau (RETIRED) gentoo-dev 2006-01-05 08:03:58 UTC
Ok, typo3 is in the overlay: 
http://svn.gnqs.org/projects/gentoo-webapps-overlay/browser/experimental/www-apps/

It should be fully functional now. Symlink copying is hackish atm; I'll fix it when webapp-config-1.50.7 is released.

Enjoy.
Comment 99 Renat Lumpau (RETIRED) gentoo-dev 2006-01-09 14:02:15 UTC
webapp-config-1.50.7 is out, typo3 ebuilds in the overlay fixed accordingly
Comment 100 marlboro 2006-03-28 08:19:07 UTC
(In reply to comment #99)
> webapp-config-1.50.7 is out, typo3 ebuilds in the overlay fixed accordingly
> 

Hi @,

I hav several times installed typo3 in the past.
But with the new ebuilds and webapp typo3 is not to be used.
Nothing functions.
Why is a so good program like typo3 killed with webapp?
Webapp is a illnes and a dishonor for gentoo.

Is there a way to install typo3 without webapp?

Many Thanks

Ma
Comment 101 Renat Lumpau (RETIRED) gentoo-dev 2006-03-28 09:54:35 UTC
(In reply to comment #100)
> I hav several times installed typo3 in the past.
> But with the new ebuilds and webapp typo3 is not to be used.
> Nothing functions.

What specifically doesn't work?

> Why is a so good program like typo3 killed with webapp?
> Webapp is a illnes and a dishonor for gentoo.

Thanks for your frank comments; do you have any specific problems with w-c?

> Is there a way to install typo3 without webapp?

You can still install it manually.
Comment 102 Markus Grospietsch 2006-10-07 16:56:15 UTC
Hi!

I'm about to emerge typo3 from the overlay (this would be typo3_src-4.0.1). My question is:

- why does the ebuild require apache2? AFAIK this is not needed, any webserver should do. In this case, i'm after lighttpd. I haven't tried it myself yet, but a quick google easily reveals that lighttpd + typo3 is a successful combination.

What would be required is that php is build with "cgi" use-flag.

I'm guessing that requiring apache2 is the most easy way to ensure a working webserver, right? ;) Or am i missing something?

BR,
Markus
Comment 103 Renat Lumpau (RETIRED) gentoo-dev 2006-10-19 19:29:20 UTC
fixed