rpms/gallery2/F-11 gallery2-2.3-module-cleanup.README, NONE, 1.1 gallery2.spec, 1.28, 1.29
Jon Ciesla
limb at fedoraproject.org
Wed May 27 16:17:49 UTC 2009
Author: limb
Update of /cvs/pkgs/rpms/gallery2/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16702/F-11
Modified Files:
gallery2.spec
Added Files:
gallery2-2.3-module-cleanup.README
Log Message:
Module cleanup.
--- NEW FILE gallery2-2.3-module-cleanup.README ---
A recent update of gallery2 removed 3 modules, which, if these had not been
deactivated within gallery2 beforehand, caused errors in upgraded gallery2
installations.
To remove the remnants of the recently removed uploadapplet,
slideshowapplet and remote modules, do the following:
In your gallery2 database:
delete from g2_PluginMap where g_pluginId = 'uploadapplet';
delete from g2_PluginPackageMap where g_pluginId = 'uploadapplet';
delete from g2_PluginParameterMap where g_pluginId = 'uploadapplet';
delete from g2_PluginMap where g_pluginId = 'slideshowapplet';
delete from g2_PluginPackageMap where g_pluginId = 'slideshowapplet';
delete from g2_PluginParameterMap where g_pluginId = 'slideshowapplet';
delete from g2_PluginMap where g_pluginId = 'remote';
delete from g2_PluginPackageMap where g_pluginId = 'remote';
delete from g2_PluginParameterMap where g_pluginId = 'remote';
Then, on the host with gallery2 installed, in your g2data directory:
rm -f g2data/cache/module/_all/0/0/*
rm -rf g2data/cache/module/uploadapplet
rm -rf g2data/cache/module/slideshowapplet
rm -rf g2data/cache/module/remote
This will restore any functionality not directly affected by the .jar
removals, such as adding new items.
Index: gallery2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gallery2/F-11/gallery2.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -p -r1.28 -r1.29
--- gallery2.spec 21 May 2009 15:30:36 -0000 1.28
+++ gallery2.spec 27 May 2009 16:17:48 -0000 1.29
@@ -7,7 +7,7 @@ URL: http://gallery.menalto.com
Name: gallery2
Version: 2.3
Group: Applications/Publishing
-Release: 11%{?dist}
+Release: 12%{?dist}
License: GPLv2+
#Source0: http://dl.sf.net/gallery/gallery-%{version}-full.zip
# Tarball from upstream contains prebuilt jars, some of which are not redistributable.
@@ -19,6 +19,7 @@ Source0: gallery-2.3-jarless.tar.gz
Source1: gallery2-httpd-conf
Source2: gallery2-htaccess
Source3: README.fedora.Gallery2
+Source4: gallery2-2.3-module-cleanup.README
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: php >= 4.3.0, httpd, gallery2-classic, gallery2-matrix, gallery2-display, php-Smarty, gallery2-httpauth
BuildArch: noarch
@@ -717,6 +718,7 @@ install -m 0644 -p %{SOURCE2} ${RPM_BUIL
rm -rf lib/smarty
cp -pr * ${RPM_BUILD_ROOT}%{installprefix}/gallery2
install -m 0644 -p %{SOURCE3} ${RPM_BUILD_ROOT}%{installprefix}/gallery2/README.fedora
+install -m 0644 -p %{SOURCE4} ${RPM_BUILD_ROOT}%{installprefix}/gallery2/gallery2-2.3-module-cleanup.README
chmod 755 ${RPM_BUILD_ROOT}%{installprefix}/gallery2/lib/tools/po/premerge-messages.pl
chmod 755 ${RPM_BUILD_ROOT}%{installprefix}/gallery2/lib/tools/po/update-all-translations.pl
#chmod 755 ${RPM_BUILD_ROOT}%{installprefix}/gallery2/lib/tools/bin/getIllegalFunctions.pl
@@ -787,6 +789,7 @@ fi
%doc %{installprefix}/gallery2/MANIFEST
%doc %{installprefix}/gallery2/README.html
%doc %{installprefix}/gallery2/README.fedora
+%doc %{installprefix}/gallery2/gallery2-2.3-module-cleanup.README
%attr(-,apache,root) %config(noreplace) %{g2confdir}/config.php
%config(noreplace) %{installprefix}/gallery2/.htaccess
%dir %{g2confdir}
@@ -1107,6 +1110,9 @@ fi
%{installprefix}/gallery2/themes/tile/
%changelog
+* Wed May 27 2009 Jon Ciesla <limb at jcomserv.net> - 2.3-12
+- Added gallery2-2.3-module-cleanup.README.
+
* Wed May 21 2009 Jon Ciesla <limb at jcomserv.net> - 2.3-11
- Patch to fix SMTP, 501868.
- Patch to fix captcha, 501871.
More information about the fedora-extras-commits
mailing list