<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>126648</bug_id>
          
          <creation_ts>2006-03-18 04:25 0000</creation_ts>
          <short_desc>Improved ebuild for Gallery 2.1 (due out soon!)</short_desc>
          <delta_ts>2006-04-26 05:50:47 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://gallery.menalto.com/</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>127432</dependson>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>fryfrog@gmail.com</reporter>
          <assigned_to>web-apps@gentoo.org</assigned_to>
          <cc>fryfrog@gmail.com</cc>
    
    <cc>gentoo@evildad.de</cc>
    
    <cc>jadamcze@utas.edu.au</cc>
    
    <cc>m.debruijne@matrict.nl</cc>
    
    <cc>moixa@gmx.ch</cc>
    
    <cc>nicolai@oedum.dk</cc>

      

      
          <long_desc isprivate="0">
            <who>fryfrog@gmail.com</who>
            <bug_when>2006-03-18 04:25:48 0000</bug_when>
            <thetext>Please!  Do not add this to portage UNTIL Gallery 2.1 is released!  Should be out 3/18 - 3/20-ish if all is according to plan.

This is a major update to G2, adding lots of features.  See the site if you care what :)

The changes to the ebuild:

1) added dcraw use flag (used by RAW module)
2) moved jhead into netpbm&apos;s use flag, because jhead is only used by netpbm
3) created zip and unzip use flags because they are optional
4) added warning and information on backing up G2&apos;s db and g2data dir because this upgrade makes a downgrade w/o a backup very very difficult.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fryfrog@gmail.com</who>
            <bug_when>2006-03-18 04:27:00 0000</bug_when>
            <thetext>Created an attachment (id=82450)
gallery-2.1.ebuild

G2.1 has not actually been released yet.  Currently at RC2, expected to release sometime this weekend (3/18-3/20&apos;ish).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fryfrog@gmail.com</who>
            <bug_when>2006-03-18 04:28:03 0000</bug_when>
            <thetext>For testification, I downloaded the gallery-2.1-rc2a-full.tar.gz file and renamed it to gallery-2.1-full.tar.gz</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fryfrog@gmail.com</who>
            <bug_when>2006-03-18 23:16:59 0000</bug_when>
            <thetext>Update:  Release of G2.1 is due 3/19 @ ~7:30PM PST</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>iverson0881@hotmail.com</who>
            <bug_when>2006-03-23 16:06:02 0000</bug_when>
            <thetext>Gallery 2.1 has been released as of Thursday, March 23, 2006. Hopefully this ebuild will get pushed up to the tree soon.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rl03@gentoo.org</who>
            <bug_when>2006-03-24 08:03:24 0000</bug_when>
            <thetext>2.1 is in CVS. 

the dcraw flag will have to wait until media-gfx/dcraw is marked ~alpha, ~amd64, and ~hppa.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rl03@gentoo.org</who>
            <bug_when>2006-03-24 08:04:00 0000</bug_when>
            <thetext>Make that ~alpha and ~hppa</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>iverson0881@hotmail.com</who>
            <bug_when>2006-03-24 19:10:28 0000</bug_when>
            <thetext>This ebuild seems to have a problem performing the actual upgrade. I had to manually do the cp -R * command in order to upgrade. I&apos;m not sure why though since it all looks fine to me.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fryfrog@gmail.com</who>
            <bug_when>2006-03-24 20:07:58 0000</bug_when>
            <thetext>I personally don&apos;t see how there could be any issue, as it is literally a copy of the 2.0 ebuild with some USE flag changes and a warning added at the end.  The only change to anything pertaining to copy/build portion was the removal of an epatch line.

But I honestly only emerge it, I don&apos;t use it for my G2 and once emerged I don&apos;t use it with webapp-config.  Since i have &quot;vhost&quot; flag, it means all I end up with is a copy in /usr/share/webapps/.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fryfrog@gmail.com</who>
            <bug_when>2006-03-24 20:09:36 0000</bug_when>
            <thetext>&quot;2.1 is in CVS. 

the dcraw flag will have to wait until media-gfx/dcraw is marked ~alpha,
~amd64, and ~hppa.&quot;

&quot;Make that ~alpha and ~hppa&quot;

I don&apos;t know the policy on use flags, but for something to be in a stable (ie, x86, etc) ebuild it can&apos;t have any ~unstable use flags?  Where might one find out about the problems moving dcraw to stable?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rl03@gentoo.org</who>
            <bug_when>2006-03-25 07:12:55 0000</bug_when>
            <thetext>(In reply to comment #7)
&gt; This ebuild seems to have a problem performing the actual upgrade. I had to
&gt; manually do the cp -R * command in order to upgrade. I&apos;m not sure why though
&gt; since it all looks fine to me.

Could you post the actual command you had to do?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rl03@gentoo.org</who>
            <bug_when>2006-03-25 07:14:51 0000</bug_when>
            <thetext>(In reply to comment #9)
&gt; I don&apos;t know the policy on use flags, but for something to be in a stable (ie,
&gt; x86, etc) ebuild it can&apos;t have any ~unstable use flags? 

All dependencies of an ebuild stable on a particular arch must also be stable. In this case, gallery is ~alpha, but dcraw is not keyworded ~alpha.

&gt; Where might one find
&gt; out about the problems moving dcraw to stable?

Bug #127432, which I filed yesterday.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@evildad.de</who>
            <bug_when>2006-03-27 22:31:09 0000</bug_when>
            <thetext>I&apos;m also having the Problem that an existing 2.04 Installation isn&apos;t actually upgraded.
I&apos;m running it on AMD64.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>moixa@gmx.ch</who>
            <bug_when>2006-03-27 22:36:17 0000</bug_when>
            <thetext>My upgrade with `webapp-config -U` worked without any problems (x86).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@evildad.de</who>
            <bug_when>2006-03-27 22:48:49 0000</bug_when>
            <thetext>Shouldn&apos;t that be done automatically with the emerge of the new Version?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>moixa@gmx.ch</who>
            <bug_when>2006-03-27 23:01:08 0000</bug_when>
            <thetext>(In reply to comment #14)
&gt; Shouldn&apos;t that be done automatically with the emerge of the new Version?

Afaik that depends if you have USE flag vhosts set: if yes, then it&apos;s not
automatically upgraded (and you&apos;re told at the end of the merge), but requires
you to use webapp-config manually instead.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@evildad.de</who>
            <bug_when>2006-03-27 23:06:37 0000</bug_when>
            <thetext>(In reply to comment #15)
&gt; (In reply to comment #14)
&gt; &gt; Shouldn&apos;t that be done automatically with the emerge of the new Version?
&gt; 
&gt; Afaik that depends if you have USE flag vhosts set: if yes, then it&apos;s not
&gt; automatically upgraded (and you&apos;re told at the end of the merge), but requires
&gt; you to use webapp-config manually instead.
&gt; 
I haven&apos;t set the vhost USE flag and the only output at the end of the emerge i get is:

&quot; * You are strongly encouraged to back up your database
 * and the g2data directory, as upgrading to 2.1.x will make
 * irreversible changes to both.
 *
 * g2data dir: cp -Rf /path/to/g2data/ /path/to/backup
 * mysql: mysqldump --opt -u username -h hostname -p database &gt;      /path/to/backup.sql
 * postgres: pg_dump -h hostname --format=t database &gt; /path/to/backup.sql&quot;

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>moixa@gmx.ch</who>
            <bug_when>2006-03-27 23:16:21 0000</bug_when>
            <thetext>Hm. Do you get a &quot;vhosts USE flag not set - auto-installing using webapp-config&quot; anywhere at the end of the merge?
The corresponding code for the installation is in the webapp eclass: http://www.gentoo.org/cgi-bin/viewcvs.cgi/eclass/webapp.eclass?rev=1.40&amp;view=auto

And the installed app is not in /var/www/localhost/htdocs/gallery?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@evildad.de</who>
            <bug_when>2006-03-28 01:25:20 0000</bug_when>
            <thetext>(In reply to comment #17)
&gt; Hm. Do you get a &quot;vhosts USE flag not set - auto-installing using
&gt; webapp-config&quot; anywhere at the end of the merge?
&gt; The corresponding code for the installation is in the webapp eclass:
&gt; http://www.gentoo.org/cgi-bin/viewcvs.cgi/eclass/webapp.eclass?rev=1.40&amp;view=auto
&gt; 
&gt; And the installed app is not in /var/www/localhost/htdocs/gallery?
&gt; 

The output above is all i get after the emerge.
And in /var/www/localhost/htdocs/gallery is only the 2.0.4 Version.

Should the ebuild make the upgrade itself or is this behaviour wanted by the Devs?

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rl03@gentoo.org</who>
            <bug_when>2006-03-28 04:30:46 0000</bug_when>
            <thetext>This was indeed a small bug in the ebuild. Either run w-c -U manually or upgrade to gallery-2.1-r1.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fryfrog@gmail.com</who>
            <bug_when>2006-03-28 08:14:41 0000</bug_when>
            <thetext>I&apos;m curious what the bug is, if I introduced it or what not. :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rl03@gentoo.org</who>
            <bug_when>2006-03-28 09:22:59 0000</bug_when>
            <thetext>(In reply to comment #20)
&gt; I&apos;m curious what the bug is, if I introduced it or what not. :)

I&apos;ll ask a leading question - what function is responsible for calling w-c when vhosts is unset? 

Answer to today&apos;s question of the day is hidden in the commit message on http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/gallery/

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@evildad.de</who>
            <bug_when>2006-03-28 12:25:22 0000</bug_when>
            <thetext>(In reply to comment #19)
&gt; This was indeed a small bug in the ebuild. Either run w-c -U manually or
&gt; upgrade to gallery-2.1-r1.
&gt; 

The new Version works fine for me.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jadamcze@utas.edu.au</who>
            <bug_when>2006-03-29 04:43:00 0000</bug_when>
            <thetext>Did it really need a revbump to -r1?

Fix and tell early adopters to re-emerge if they can&apos;t work out how to upgrade.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nicolai@oedum.dk</who>
            <bug_when>2006-04-03 07:55:39 0000</bug_when>
            <thetext>Gallery 2.1 has been relaesed :-D

http://gallery.menalto.com/gallery_2.1_released</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fryfrog@gmail.com</who>
            <bug_when>2006-04-03 07:58:36 0000</bug_when>
            <thetext>Yes, it sure has been!  You&apos;ll notice the bug was file on the 18th of March, before it was released.  And if you check portage, you&apos;ll notice that it is there, arriving I think on the 28th of March! :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rl03@gentoo.org</who>
            <bug_when>2006-04-26 05:50:47 0000</bug_when>
            <thetext>stale</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>82450</attachid>
            <date>2006-03-18 04:27 0000</date>
            <desc>gallery-2.1.ebuild</desc>
            <filename>gallery-2.1.ebuild</filename>
            <type>application/octet-stream</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA2IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk
ZXI6IC92YXIvY3Zzcm9vdC9nZW50b28teDg2L3d3dy1hcHBzL2dhbGxlcnkvZ2FsbGVyeS0yLjAu
Mi1yMS5lYnVpbGQsdiAxLjcgMjAwNi8wMi8yNCAwOTo0OTowOCBqZXIgRXhwICQKCmluaGVyaXQg
d2ViYXBwIGV1dGlscwoKREVTQ1JJUFRJT049IldlYiBiYXNlZCAoUEhQIFNjcmlwdCkgcGhvdG8g
YWxidW0gdm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