summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/packagemanager/README2
-rw-r--r--noncore/settings/packagemanager/TODO28
-rw-r--r--noncore/settings/packagemanager/oipkg.cpp7
3 files changed, 31 insertions, 6 deletions
diff --git a/noncore/settings/packagemanager/README b/noncore/settings/packagemanager/README
index 7b6305a..9324f9c 100644
--- a/noncore/settings/packagemanager/README
+++ b/noncore/settings/packagemanager/README
@@ -1,9 +1,9 @@
/************************************************************************
/*
/* Opie - Package Manager
/* ========================
-/* Version 0.2.0
+/* Version 0.3.0
/*
/* A package management client for Opie
/*
/************************************************************************
diff --git a/noncore/settings/packagemanager/TODO b/noncore/settings/packagemanager/TODO
new file mode 100644
index 0000000..448ade3
--- a/dev/null
+++ b/noncore/settings/packagemanager/TODO
@@ -0,0 +1,28 @@
+/************************************************************************
+/*
+/* Opie - Package Manager
+/* ========================
+/* Version 0.3.0
+/*
+/* A package management client for Opie
+/*
+/************************************************************************
+
+---------------------------------------------
+ To-do for Opie-PackageManager - April, 2004
+---------------------------------------------
+
+======================
+= Current release =
+======================
+
+1. Save configuration information (i.e. /etc/ipkg.conf)
+2. Link non-root destination apps
+3. Implement QCOP interface for installing, removing, etc.
+4. Redesign configuration dialog
+
+======================
+= Future releases =
+======================
+
+1. ??? \ No newline at end of file
diff --git a/noncore/settings/packagemanager/oipkg.cpp b/noncore/settings/packagemanager/oipkg.cpp
index 1dc23a4..5c79ba9 100644
--- a/noncore/settings/packagemanager/oipkg.cpp
+++ b/noncore/settings/packagemanager/oipkg.cpp
@@ -35,9 +35,8 @@
#include <string.h>
#include <qdir.h>
#include <qfile.h>
-#include <qmessagebox.h>
#include <qtextstream.h>
const QString IPKG_CONF = "/etc/ipkg.conf"; // Fully-qualified name of Ipkg primary configuration file
const QString IPKG_CONF_DIR = "/etc/ipkg"; // Directory of secondary Ipkg configuration files
@@ -81,10 +80,9 @@ OIpkg::OIpkg( Config *config, QObject *parent, const char *name )
{
oipkg = this;
// Initialize libipkg
- if ( ipkg_init( &fsignalIpkgMessage, &fIpkgResponse, &m_ipkgArgs ) )
- QMessageBox::critical( 0, tr( "OIpkg" ), tr( "Error initialing libipkg" ) );
+ ipkg_init( &fsignalIpkgMessage, &fIpkgResponse, &m_ipkgArgs );
// Default ipkg run-time arguments
m_ipkgArgs.noaction = false;
m_ipkgArgs.force_defaults = true;
@@ -96,10 +94,9 @@ OIpkg::~OIpkg()
if ( m_confInfo )
m_confInfo->setAutoDelete( true );
// Free up libipkg resources
- if ( ipkg_deinit( &m_ipkgArgs ) )
- QMessageBox::critical( 0, tr( "OIpkg" ), tr( "Error freeing libipkg" ) );
+ ipkg_deinit( &m_ipkgArgs );
}
OConfItemList *OIpkg::configItems()
{