Age | Commit message (Collapse) | Author |
|
Required to be able to process OBSOLETE operations as upgrades.
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Signed-off-by: Yann CARDAILLAC <yann.cardaillac@smile.fr>
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
In preparation for internal solver split from install/upgrade functions.
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Reviewed-by: Josh Cartwright <joshc@ni.com>
|
|
Autoconf recommends using --with-package when there is a choice to use
an external package vs an internal implementation. Default is the
internal solver, libsolv backed is enabled by passing --with-libsolv to
configure.
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Reviewed-by: Josh Cartwright <joshc@ni.com>
|
|
Make changes to libopkg/Makefile.am, opkg_cmd.c, opkg_install.c,
opkg_remove.c, pkg_depends.c, opkg_install.h, opkg_remove.h,
and pkg_depends.h, so that opkg's adhoc solving functions are
not built when an external solver is being used to solve package
dependencies.
Also add check to prevent deprecated API from being built with
an external solver enabled, as /libopkg/opkg.c will fail to build.
Signed-off-by: Eric Yu <eric.yu@ni.com>
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
During the tidy up, includes have been moved outside of the 'extern "C" {}'
construct where necessary.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
For each file, the command executed was:
indent -linux -i4 -nut -sc -bbo -nhnl $f
This is the first step in improving the code formatting and further work is
still required. 'indent' is confused by the 'extern "c" {}' wrapping in the
header files and gets the indentation wrong. It also produces sub-optimal
formatting for some long lines.
Each file will be reviewed by hand after this commit.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
This function installs multiple packages by name, preparing all packages for
installation before any package is installed. It should therefore ensure correct
dependency resolution across a group of packages.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
The 'extern "C" {}' wrapping should not surround the inclusion of other header
files as it may cause confusion when compiled as C++.
The unnecessary inclusion of opkg_conf.h in opkg_install.h is also removed and
an inclusion of pkg.h is added to opkg_upgrade.h as necessary.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
This also corrects the existing vim modelines to match the desired format.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
No functional changes!
Just a cleanup like whitespaces, blank lines, tabs and reformating lines
longer 76 characters.
Also adding the missed comments at the closing bracket from the #ifndef
HEADER_FOO_H ... #endif loop. This helps to identify the associated
preprocessor elements like theay already exits in some files.
Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com>
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
Users who use C++ code for theirs application have always to include external
C functions with a 'extern "C" { }' assignment. We can take that need from
the user by putting thees assignments into the public header files.
Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com>
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
git-svn-id: http://opkg.googlecode.com/svn/trunk@471 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|
|
The return codes aren't particularly useful and trying to have a useful one
for every error scenario would be like extending errno. Good error messages
via opkg_message() are far more appropriate.
git-svn-id: http://opkg.googlecode.com/svn/trunk@395 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|
|
git-svn-id: http://opkg.googlecode.com/svn/trunk@369 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|
|
current architecture
git-svn-id: http://opkg.googlecode.com/svn/trunk@128 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|
|
repository signature during install
git-svn-id: http://opkg.googlecode.com/svn/trunk@123 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|
|
git-svn-id: http://opkg.googlecode.com/svn/trunk@67 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|
|
git-svn-id: http://opkg.googlecode.com/svn/trunk@65 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|
|
git-svn-id: http://opkg.googlecode.com/svn/trunk@33 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
|