Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100077 - Drupal ebuild needs to be redone as it doesn't work properly
Summary: Drupal ebuild needs to be redone as it doesn't work properly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-23 17:45 UTC by Brandyn A. White
Modified: 2007-01-03 23:47 UTC (History)
2 users (show)

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


Attachments
Patches drupal/files/postinstall-en.txt (postinstall-en.txt.PATCH,2.03 KB, patch)
2005-07-23 20:41 UTC, Brandyn A. White
Details | Diff
Patches drupal/drupal-4.6.2.ebuild (drupal-4.6.2.ebuild.PATCH,636 bytes, patch)
2005-07-23 20:42 UTC, Brandyn A. White
Details | Diff
Patches drupal/files/4.6.0/language (language.PATCH,17 bytes, patch)
2005-07-23 20:43 UTC, Brandyn A. White
Details | Diff
Patches drupal/drupal-4.6.2.ebuild (drupal-4.6.2.ebuild.PATCH-r1,722 bytes, patch)
2005-07-25 20:40 UTC, Brandyn A. White
Details | Diff
Just put the full postinstall I did, its just slightly bigger than the patch : D (postinstall-en.txt,2.81 KB, text/plain)
2005-08-04 08:42 UTC, Brandyn A. White
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brandyn A. White 2005-07-23 17:45:26 UTC
After installing drupal with the Masked ebuild, it said it was missing all sorts
of files, when I investigated the files were in the wrong places.  It appears
that the ebuild maker put a lot of plugins into the package, which really isn't
a good thing and should be left to the user or made as another ebuild
(drupal-packages or drupal-themes).  Sorry for not specifying the files that are
missing, but I'm going to attempt to remake the ebuild.

Reproducible: Always
Steps to Reproduce:
1.Install drupal
2.
3.

Actual Results:  
It doesn't work as it should

Expected Results:  
It work as it should : D

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo
http://mirror.datapipe.net/gentoo http://gentoo.chem.wisc.edu/gentoo/
http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.ccccom.com"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apache2 apm arts avi berkdb bitmap-fonts crypt cups emboss encode
foomaticdb fortran gdbm gif gpm gtk2 imlib innodb ipv6 jpeg libg++ libwww mad
mikmod motif mp3 mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png
python qt quicktime readline sdl spell ssl tcpd truetype truetype-fonts
type1-fonts xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Brandyn A. White 2005-07-23 20:41:54 UTC
Created attachment 64172 [details, diff]
Patches drupal/files/postinstall-en.txt
Comment 2 Brandyn A. White 2005-07-23 20:42:36 UTC
Created attachment 64173 [details, diff]
Patches drupal/drupal-4.6.2.ebuild
Comment 3 Brandyn A. White 2005-07-23 20:43:32 UTC
Created attachment 64174 [details, diff]
Patches drupal/files/4.6.0/language
Comment 4 Brandyn A. White 2005-07-23 20:51:46 UTC
I changed a lot in the ebuild to clean up some stuff.  The major change that I
made is modules are no longer installed, as most modules in Drupal require extra
installation needs than just copying to the modules folder (some need helper
programs etc).  However, the themes, languages, and theme engine are still
installed unless the minimal use flag is present.  The language files are in a
new folder called translations under the drupal root.  I've also made major
changes to the post install file, fixing most of the issues people have
installing it as per the forums.  I also deleted the top line in the language
file as it isn't a language, but a developer module to create new language
files, users can add this if they need it as I imagine not many people will.  

In the changelog mention that the non-default modules are no longer installed
automatically, and must be downloaded from www.drupal.org;however, themes, theme
engines, and languages are.

I'm using drupal extensively, and would gladly maintain it for any bugs that
crop up.
Comment 5 Brandyn A. White 2005-07-25 19:40:39 UTC
I don't think I was supposed to mark the bug as resolved since I don't have
commit access.
Comment 6 Brandyn A. White 2005-07-25 20:40:09 UTC
Created attachment 64323 [details, diff]
Patches drupal/drupal-4.6.2.ebuild

I added a dependancy for mysql if that USE flag is set, please somebody double
check I did that correctly, I compared it to several other ebuilds and it
looked good;however, when I do emerge -pv drupal, it doesn't show that as a use
flag, I have a feeling this is effect of use flag caching by portage, does
anybody know how to remedy this?
Comment 7 Vincent 2005-07-26 00:45:19 UTC
Thanks for these modifications. I agree the drupal modules should be separated
into sth like drupal-extras. The idea to nevertheless include the them engine
and the languages is very good (to me, they are basic drupal stuff).

I'll let you know how the ebuild behaves on my machine.
Comment 8 Lim Swee Tat (RETIRED) gentoo-dev 2005-08-04 02:01:00 UTC
Hi,
  the postinstall-en.txt cannot be read by path.  I've looked at it, and it
looks great, but I'm just too lazy to type it in by hand right now.  If you can
re-attach it to this bug, it'll be great.  Else, I'll just let this wait till
either this evening when I'm more available or tomorrow. :)

Regards
Lim Swee Tat
Comment 9 Brandyn A. White 2005-08-04 08:42:26 UTC
Created attachment 65071 [details]
Just put the full postinstall I did, its just slightly bigger than the patch : D
Comment 10 Roy Marples (RETIRED) gentoo-dev 2007-01-03 23:47:43 UTC
This bug is fixed in the drupal-4.7.4 ebuild
Comment 11 Roy Marples (RETIRED) gentoo-dev 2007-01-03 23:47:56 UTC
.