Changes

Line 90: Line 90:  
* On XO laptops, it might be useful to disable authentication for installing packages, compose special polkit file like [http://git.sugarlabs.org/platform/reference-xo/blobs/master/etc/polkit-1/localauthority/50-local.d/deployment.pkla /etc/polkit-1/localauthority/50-local.d/pk.pkla].
 
* On XO laptops, it might be useful to disable authentication for installing packages, compose special polkit file like [http://git.sugarlabs.org/platform/reference-xo/blobs/master/etc/polkit-1/localauthority/50-local.d/deployment.pkla /etc/polkit-1/localauthority/50-local.d/pk.pkla].
   −
== Sources ==
+
== Build from sources ==
    
Clone source repository from [http://git.sugarlabs.org/desktop Gitorious] project:
 
Clone source repository from [http://git.sugarlabs.org/desktop Gitorious] project:
    
  git clone git://git.sugarlabs.org/desktop/packagekit-backend-presolve.git
 
  git clone git://git.sugarlabs.org/desktop/packagekit-backend-presolve.git
 +
 +
Download and untar PackageKit [http://www.packagekit.org/releases/ sources] (current presolve backend was testing against PackageKit-0.6.12).
 +
 +
Prepare PackageKit sources for building presolve backend. Copy [http://git.sugarlabs.org/desktop/packagekit-backend-presolve/trees/master/backends/presolve presolve/] sub-directory to the corresponding directory in PackageKit sources. Patch PackageKit build scenarios to enable presolve building, e.g., [git.sugarlabs.org/desktop/packagekit-backend-presolve/blobs/master/build/mixin.patch].
 +
 +
Go to PackageKit source root directory and build presolve backend.
 +
 +
autoreconf
 +
./configure \
 +
    --prefix /usr \
 +
    --sysconfdir /etc \
 +
    --disable-static \
 +
    --disable-networkmanager \
 +
    --enable-qt=no \
 +
    --enable-systemd=no \
 +
    --with-security-framework=dummy \
 +
    --disable-cron \
 +
    --disable-browser-plugin \
 +
    --disable-gstreamer-plugin \
 +
    --enable-introspection=no \
 +
    --disable-local \
 +
    --disable-strict \
 +
    --disable-tests
 +
make
 +
 +
Staying in PackageKit root directory, install binaries.
 +
 +
make -C backends/presolve install
    
== Getting involved ==
 
== Getting involved ==
    
{{:Harmonic Distribution/Feedback}}
 
{{:Harmonic Distribution/Feedback}}