Commit Graph

54 Commits

Author SHA1 Message Date
Thilo Graf
ecd66a576f CShellWindow/COPKGManager: handle some error from shell output
TODO: add missing handlers


Origin commit data
------------------
Branch: ni/coolstream
Commit: ed5bbdc540
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-05-23 (Sat, 23 May 2015)



------------------
This commit was generated by Migit
2015-12-28 12:13:48 +01:00
Thilo Graf
48c8c2ce59 COPKGManager: defuse effect of resolve_conffiles errors
Origin commit data
------------------
Branch: ni/coolstream
Commit: ae66014102
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-02-08 (Sun, 08 Feb 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:47 +01:00
Thilo Graf
c19c60b715 COPKGManager: exit check size if package already installed
Old files will be remove during installation, so it should
be enough size.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 337cc097c8
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-02-08 (Sun, 08 Feb 2015)



------------------
This commit was generated by Migit
2015-12-28 12:13:47 +01:00
Thilo Graf
49209e6ad5 COPKGManager: use wildcard char for ar command
This fixes unpacking of local and downloaded packages.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 54d3ad261c
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-02-08 (Sun, 08 Feb 2015)



------------------
This commit was generated by Migit
2015-12-28 12:13:46 +01:00
Thilo Graf
c6c7f5e546 COPKGManager: add functions isInstalled() and isUpgradable()
Origin commit data
------------------
Branch: ni/coolstream
Commit: ce3c4d3b04
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-02-07 (Sat, 07 Feb 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:46 +01:00
Thilo Graf
6fed8a481d COPKGManager: optimize check size
To calculate the required size for installation here we make a quasi-dry run,
it is a bit awkward, but relatively specific, other solutions are welcome.
We create a temporary test directory and fill it with downloaded or user uploaded package file.
Then we unpack the package and change into temporary testing directory.
The required size results from the size of generated folders and subfolders.
TODO: size of dependencies are not really considered


Origin commit data
------------------
Branch: ni/coolstream
Commit: cceef62661
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-05-23 (Sat, 23 May 2015)



------------------
This commit was generated by Migit
2015-12-28 12:13:46 +01:00
Thilo Graf
be6d49d0f6 COPKGManager: add optional parameter force_configure to installPackage()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0f1a6e7588
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-02-05 (Thu, 05 Feb 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:46 +01:00
Thilo Graf
75296f0305 COPKGManager: add possibility to manage source feeds for packages
Feeds are saved in opkg config file.

NOTE:Existing config file will be overwrite, so must be reconfigured
via gui.
Source names are strictly numbered src 0...10 (maximmal 10 at the moment)

FIXME: input mask in keyboardinput class is too small for some adresses, large
address names are cutted and makes entries useless


Origin commit data
------------------
Branch: ni/coolstream
Commit: aad5db705f
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-02-04 (Wed, 04 Feb 2015)



------------------
This commit was generated by Migit
2015-12-28 12:13:45 +01:00
Thilo Graf
42748b3dd8 COPKGManager: ensure cleanup /tmp/.opkg after closing packet manager
Origin commit data
------------------
Branch: ni/coolstream
Commit: ee56b75567
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-31 (Sat, 31 Jan 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:45 +01:00
Thilo Graf
28aa7343b2 COPKGManager: use installPackage() for install from package list too
installPackage() has also a new parameter for options,
in this case is --force-reinstall in use.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 14d21fdeec
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-31 (Sat, 31 Jan 2015)



------------------
This commit was generated by Migit
2015-12-28 12:13:45 +01:00
Thilo Graf
c97c7d7935 COPKGManager: add methodes to get infos and status of packages
Origin commit data
------------------
Branch: ni/coolstream
Commit: 55a027efbf
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-02-04 (Wed, 04 Feb 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:45 +01:00
Thilo Graf
314ddde830 COPKGManager: optimize memory check before install
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2ca1648070
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-30 (Tue, 30 Dec 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:44 +01:00
Thilo Graf
042e66dd37 COPKGManager: show message on space error
Origin commit data
------------------
Branch: ni/coolstream
Commit: 28d17802d4
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-30 (Tue, 30 Dec 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:44 +01:00
Thilo Graf
fa6f7dbbe6 COPKGManager: optimize error handling
Origin commit data
------------------
Branch: ni/coolstream
Commit: 19dc7ead2d
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-29 (Mon, 29 Dec 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:42 +01:00
Thilo Graf
cce499a14c COPKGManager: add more error handlers
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9a4863173a
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-28 (Sun, 28 Dec 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:42 +01:00
Thilo Graf
eb066acf49 COPKGManager: add function to check package size
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9ae65d4ec5
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-28 (Sun, 28 Dec 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:42 +01:00
Thilo Graf
344e488c14 CFile: add filetypes for install and update packages
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7ada20de64
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-21 (Sun, 21 Dec 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:41 +01:00
Thilo Graf
d92aee87b1 COPKGManager: outsource methode for install any package
Required for external usage.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 7520fee2ef
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-20 (Sat, 20 Dec 2014)



------------------
This commit was generated by Migit
2015-12-28 12:13:41 +01:00
Thilo Graf
a75d9cbacc COPKGManager: optimize handling after installation
Show a success message only if restart/reboot is required and user
should decide what to do or not.
NOTE: marker file should be generated by opkg package itself
(eg. with preinstall scripts), so it's controlled by the package maintainer!


Origin commit data
------------------
Branch: ni/coolstream
Commit: 10debbbfa0
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-19 (Fri, 19 Dec 2014)



------------------
This commit was generated by Migit
2015-12-28 12:13:41 +01:00
Thilo Graf
059dd40278 COPKGManager: defuse error message for duplicate cache option
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7acdf65e65
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-19 (Fri, 19 Dec 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:40 +01:00
Thilo Graf
1097fd72e6 COPKGManager: add possibilty to check required size before install package
Origin commit data
------------------
Branch: ni/coolstream
Commit: a6f7043ab1
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-13 (Sat, 13 Dec 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:40 +01:00
Thilo Graf
caaf826cf3 COPKGManager: add member to handle line of shell lines
prepared for use as callback in shell window class, currently
it is not possible to get line output from shellwindow object, this
should help soon

also added ne locales


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4909844ad6
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-10 (Wed, 10 Dec 2014)



------------------
This commit was generated by Migit
2015-12-28 12:13:40 +01:00
Thilo Graf
1abcf08154 COPKGManager: add members to get package infos and optmize update check
Origin commit data
------------------
Branch: ni/coolstream
Commit: b3afd24260
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-19 (Fri, 19 Dec 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:39 +01:00
Thilo Graf
8f882e1aaa COPKGManager: fix selection of items on expert mode switch
Origin commit data
------------------
Branch: ni/coolstream
Commit: c3f66e6e06
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-05-22 (Fri, 22 May 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:39 +01:00
Thilo Graf
3a08766857 COPKGManager: use yellow button instead red button in footer
Red button already used for upgrades


Origin commit data
------------------
Branch: ni/coolstream
Commit: f270a623e2
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-05 (Fri, 05 Dec 2014)



------------------
This commit was generated by Migit
2015-12-28 12:13:39 +01:00
Thilo Graf
f79c6d5e44 COPKGManager: add locales for local installation
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6016ea718c
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-29 (Sat, 29 Nov 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:39 +01:00
Thilo Graf
48d06042ab COPKGManager: unified log output
Origin commit data
------------------
Branch: ni/coolstream
Commit: dc3b6caae6
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-25 (Tue, 25 Nov 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:38 +01:00
Thilo Graf
1f005ea369 COPKGManager: remember for last selected update directory
Use g_settings to handle local package directory.
Extra settings handler via gui for this directory is not intended. Default update directory
is the same like in flash settings.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 1606cf8a30
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-28 (Fri, 28 Nov 2014)



------------------
This commit was generated by Migit
2015-12-28 12:13:38 +01:00
Thilo Graf
3572fc60e9 COPKGManager: add filter for ipk packages
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5eff6a4fb9
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-25 (Tue, 25 Nov 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:37 +01:00
Thilo Graf
b3f9113a0b COPKGManager: add variable to hold last selected source dir
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7b178e71f9
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-25 (Tue, 25 Nov 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:37 +01:00
Thilo Graf
e2404b5f13 COPKGManager: add possibility to install package from single package file
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3abd9c8e77
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-24 (Mon, 24 Nov 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:36 +01:00
Thilo Graf
3991fb0363 COPKGManager: use shell output to generate error messages for gui
Origin commit data
------------------
Branch: ni/coolstream
Commit: 524b91a402
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-24 (Mon, 24 Nov 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:35 +01:00
Thilo Graf
695e382a3c COPKGManager: add member doUpdate()
Origin commit data
------------------
Branch: ni/coolstream
Commit: eb6f972f60
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-22 (Sat, 22 Nov 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:35 +01:00
Thilo Graf
20dbc97ec5 COPKGManager: use fclose instead pclose
my_popen returns a stream pointed to a file descriptor

NOTE: documentation for some bent functions in helpers.cpp would be nice!


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6a06d5cdc1
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-23 (Sun, 23 Nov 2014)



------------------
This commit was generated by Migit
2015-12-28 12:13:34 +01:00
Thilo Graf
5c32952e3c COPKGManager: use my_popen instead popen
popen causes some errors after flash update check


Origin commit data
------------------
Branch: ni/coolstream
Commit: a8376a5f8a
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-13 (Thu, 13 Nov 2014)



------------------
This commit was generated by Migit
2015-12-28 12:13:34 +01:00
Thilo Graf
dc96db1eca COPKGManager: add function to get status for new package updates
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6942173bf7
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-13 (Thu, 13 Nov 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:34 +01:00
Thilo Graf
aea0ad3846 COPKGManager: allow update and usage of multiple package sources
This allows to use more than one package adress via config file.
Example configuration in /etc/opkg/opkg.conf:
...
src packages http://www.yourserver.org/pkgs/packages
src local 192.168.1.2/pkgs/local
...

After Update, all packeges will be listed in the manager list and can
be installed, updated ...


Origin commit data
------------------
Branch: ni/coolstream
Commit: 77002eb839
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-11 (Tue, 11 Nov 2014)



------------------
This commit was generated by Migit
2015-12-28 12:13:34 +01:00
Thilo Graf
aef2e021df COPKGManager: use general options for cache, temp dir and logging
cache dir option not required assigned in config file.

Note: existing option "cache" in opkg config file must be removed now, otherwise
it could hail error log messages and gui package listing could be garbled!
Not nice now, but it's one step for an unified configure handling.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 1e8d19aeef
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-09 (Sun, 09 Nov 2014)



------------------
This commit was generated by Migit
2015-12-28 12:13:33 +01:00
Thilo Graf
858ad06bea COPKGManager: use and apply namespace std
Origin commit data
------------------
Branch: ni/coolstream
Commit: c4e5a9f95c
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-10 (Mon, 10 Nov 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:33 +01:00
Thilo Graf
8da63e17dc COPKGManager: use ACKNOWLEDGE_MSG to show info message
Origin commit data
------------------
Branch: ni/coolstream
Commit: 86e35add16
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-05 (Sun, 05 Oct 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:28 +01:00
Thilo Graf
e4ff0abe93 COPKGManager: add member showError to show handled error message on screen
Origin commit data
------------------
Branch: ni/coolstream
Commit: c70c234394
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-04 (Sat, 04 Oct 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-12-28 12:13:24 +01:00
Thilo Graf
d1b9b6ad8b COPKGManager: use plausible message title
Here we have errors, so we should use plausible titles for message box


Origin commit data
------------------
Branch: ni/coolstream
Commit: 35345e2c7e
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-04 (Sat, 04 Oct 2014)



------------------
This commit was generated by Migit
2015-12-28 12:13:23 +01:00
Thilo Graf
48bd2eab77 COPKGManager: craete directory /tmp/.opkg on opkg manager init
This directory can be useful for usage in opkg config as cache directory

option cache /tmp/.opkg


Origin commit data
------------------
Branch: ni/coolstream
Commit: 2d3b3006d0
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-09-21 (Sun, 21 Sep 2014)



------------------
This commit was generated by Migit
2015-12-28 12:13:23 +01:00
vanhofen
4cea1f8c82 opkg_manager: use correct brief hints
Origin commit data
------------------
Branch: ni/coolstream
Commit: 59e168fc30
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-19 (Tue, 19 May 2015)

Origin message was:
------------------
- opkg_manager: use correct brief hints

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-05-19 12:29:17 +02:00
Thilo Graf
946c0e8bc4 Merge branch 'cst-next.pre' into cst-next
Origin commit data
------------------
Branch: ni/coolstream
Commit: a58f1621b4
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-30 (Thu, 30 Apr 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-04-30 09:20:43 +02:00
vanhofen
32365276ef remove w_max()-calls to define menu-width, because ...
w-max() returns a pixel-value, but menus need a percentage-value.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9041bff59c
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-04-24 (Fri, 24 Apr 2015)

Origin message was:
------------------
- remove w_max()-calls to define menu-width, because ...

 w-max() returns a pixel-value, but menus need a percentage-value.


------------------
This commit was generated by Migit
2015-04-24 09:11:04 +02:00
Stefan Seyfried
c9833c2f93 opkg_manager: add a list of packages to hide
Advanced build system can come up with an impressive list of
(sub-)packages, most of them not really interesting for installation
through the GUI. Add a filter with simple patterns to suppress the
display of those packages.
TODO: this should be made configurable via a run-time config file.

Signed-off-by: Markus Volk <f_l_k@gmx.net>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 5750ca23ae
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-08 (Sun, 08 Feb 2015)



------------------
This commit was generated by Migit
2015-03-30 11:21:37 +02:00
Stefan Seyfried
66dd6f7155 opkg_manager: use my_system to avoid filedescriptor leaks
Origin commit data
------------------
Branch: ni/coolstream
Commit: 42c2323135
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-08 (Sun, 08 Feb 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-02-09 13:47:32 +01:00
Stefan Seyfried
589f7e8f8b opkg_manager: remove the dependency on opkg-key
opkg-key does not work at all in standard installs (without gpg)
and is not needed for package management.
Slightly change the definition of opkg commands to not initialize
with find_executable function at startup which seems bogus.


Origin commit data
------------------
Branch: ni/coolstream
Commit: f75ed81dd1
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-08 (Sun, 08 Feb 2015)



------------------
This commit was generated by Migit
2015-02-09 13:47:32 +01:00
Jacek Jendrzej
5afc24dc67 use empty to check string
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2b5e7b5ba3
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-01-09 (Fri, 09 Jan 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-01-09 17:15:11 +01:00