Changes

From SME Server
Jump to navigationJump to search
1,461 bytes added ,  02:16, 1 February 2013
no edit summary
Line 1: Line 1:  +
 +
This page lists all the packages that SME Server needs to build for SME 9. The starting point is the smeos directory from SME 8.
 +
For each package it should be checked if it is still needed, or can we use an upstream package if one is available.
 +
 +
Then before importing into CVS for SME 9 it needs to be checked if the package will build.
 +
 +
Here are the steps that need to be completed for each package.
 +
 +
== Initial build ==
 +
check out package
 +
cp -a sme8 sme9
 +
rm -rf sme9/CVS
 +
cd sme9
 +
make clean
 +
mv {sourcedir} {newsourcedir}
 +
- example e-smith-base-5.2.0 to e-smith-base-5.4.0
 +
rm -f *.patch
 +
{apply any fixes from spec to tree}
 +
{move lib/perl5/site_perl to share/perl5/vendor_perl}
 +
tar Jcvf {newsource}.tar.xz {newsourcedir}
 +
vi *.spec
 +
- remove patches and fixes applied directly to tree
 +
- bump version and reset release to 1
 +
- add changelog saying rolling for sme9
 +
make new-sources FILES=*xz
 +
- will get errors here because no cvs (that's fine)
 +
make mockbuild
 +
- if this works then we can proceed
 +
rpm -qpl {noarch/x86_64}/{rpmname}.rpm
 +
- check that files look similar to the sme8 package
 +
cd ..
 +
 +
=== These following steps need developer access ===
 +
They are here for reference, they will need to be run on SME Server's build server.
 +
 +
cvs add sme9
 +
cd sme9
 +
date +%s
 +
- get date for import
 +
vi import.log
 +
- fix name/version/release and date
 +
cvs add .cvsignore *.spec Makefile import.log sources
 +
- be sure to add any other needed packages
 +
make commit tag build
     

Navigation menu