msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-08-05 18:22+0200\n"
+"POT-Creation-Date: 2011-08-05 19:13+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
],
ext_modules = [
Extension("pakfire._pakfire", _pakfire_module_files,
- extra_link_args = ["-lsatsolver", "-lsatsolverext"])
+ extra_link_args = ["-lsolv", "-lsolvext"])
],
cmdclass = { "build" : build_extra.build_extra,
"build_i18n" : build_i18n.build_i18n },
#include <Python.h>
-#include <satsolver/poolarch.h>
+#include <solv/poolarch.h>
#include "config.h"
#include "pool.h"
#include <Python.h>
-#include <satsolver/pool.h>
+#include <solv/pool.h>
// Sat Pool object
typedef struct {
#include <Python.h>
-#include <satsolver/pool.h>
-#include <satsolver/solver.h>
+#include <solv/pool.h>
+#include <solv/solver.h>
// Sat Problem object
typedef struct {
#include <Python.h>
-#include <satsolver/pool.h>
+#include <solv/pool.h>
// Sat Relation object
typedef struct {
#include <Python.h>
#include <stdbool.h>
-#include <satsolver/repo.h>
-#include <satsolver/repo_solv.h>
-#include <satsolver/repo_write.h>
+#include <solv/repo.h>
+#include <solv/repo_solv.h>
+#include <solv/repo_write.h>
#include "pool.h"
#include "repo.h"
#include <Python.h>
-#include <satsolver/repo.h>
+#include <solv/repo.h>
// Sat Repo object
typedef struct {
#include "request.h"
#include "solvable.h"
-#include <satsolver/solver.h>
+#include <solv/solver.h>
PyTypeObject RequestType = {
PyObject_HEAD_INIT(NULL)
#include <Python.h>
-#include <satsolver/queue.h>
+#include <solv/queue.h>
// Sat Request object
typedef struct {
#include <Python.h>
-#include <satsolver/policy.h>
-#include <satsolver/solverdebug.h>
+#include <solv/policy.h>
+#include <solv/solverdebug.h>
#include "config.h"
#include "problem.h"
solv->arch = pool_str2id(self->_pool, arch, 1);
/* add self-provides */
- Id rel = rel2id(self->_pool, solv->name, solv->evr, REL_EQ, 1);
+ Id rel = pool_rel2id(self->_pool, solv->name, solv->evr, REL_EQ, 1);
solv->provides = repo_addid_dep(repo->_repo, solv->provides, rel, 0);
}
#include <Python.h>
-#include <satsolver/solvable.h>
+#include <solv/solvable.h>
// Sat Solvable object
typedef struct {
#include "request.h"
#include "solver.h"
-#include <satsolver/solverdebug.h>
+#include <solv/solverdebug.h>
PyTypeObject SolverType = {
PyObject_HEAD_INIT(NULL)
#include <Python.h>
-#include <satsolver/solver.h>
+#include <solv/solver.h>
// Sat Solver object
typedef struct {
#include <Python.h>
-#include <satsolver/pool.h>
-#include <satsolver/transaction.h>
+#include <solv/pool.h>
+#include <solv/transaction.h>
// Sat Step object
typedef struct {
#include <Python.h>
-#include <satsolver/transaction.h>
+#include <solv/transaction.h>
#include "solver.h"
#include "step.h"
return NULL;
}
- /* When the solver is freed we still need the transaction. For that,
- we copy it to be independent. */
- self->_transaction = malloc(sizeof(Transaction));
- memcpy(self->_transaction, &solver->_solver->trans, sizeof(Transaction));
-
- // order the transaction right from the start.
+ // Create a new transaction from the solver and order it.
+ self->_transaction = solver_create_transaction(solver->_solver);
transaction_order(self->_transaction, 0);
}
#include <Python.h>
-#include <satsolver/transaction.h>
+#include <solv/transaction.h>
// Sat Transaction object
typedef struct {
#include <Python.h>
-#include <satsolver/evr.h>
+#include <solv/evr.h>
extern PyObject *version_compare(PyObject *self, PyObject *args);