YaST Commits
Threads by month
- ----- 2024 -----
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
November 2007
- 24 participants
- 864 discussions
[yast-commit] r41876 - /tags/branch-SLE-10-SP1-2_13_62/online-update/
by jsuchome@svn.opensuse.org 08 Nov '07
by jsuchome@svn.opensuse.org 08 Nov '07
08 Nov '07
Author: jsuchome
Date: Thu Nov 8 13:43:39 2007
New Revision: 41876
URL: http://svn.opensuse.org/viewcvs/yast?rev=41876&view=rev
Log:
Created tag branch-SLE-10-SP1-2_13_62 for online-update
Added:
tags/branch-SLE-10-SP1-2_13_62/online-update/
- copied from r41875, branches/SuSE-SLE-10-SP1-Branch/online-update/
--
To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
[yast-commit] r41875 - in /branches/SuSE-SLE-10-SP1-Branch/online-update: VERSION package/yast2-online-update.changes src/online_update.ycp
by jsuchome@svn.opensuse.org 08 Nov '07
by jsuchome@svn.opensuse.org 08 Nov '07
08 Nov '07
Author: jsuchome
Date: Thu Nov 8 13:43:35 2007
New Revision: 41875
URL: http://svn.opensuse.org/viewcvs/yast?rev=41875&view=rev
Log:
- fix check for nil return value of clients (#339749)
- 2.13.62
Modified:
branches/SuSE-SLE-10-SP1-Branch/online-update/VERSION
branches/SuSE-SLE-10-SP1-Branch/online-update/package/yast2-online-update.changes
branches/SuSE-SLE-10-SP1-Branch/online-update/src/online_update.ycp
Modified: branches/SuSE-SLE-10-SP1-Branch/online-update/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP1-Branch/online…
==============================================================================
--- branches/SuSE-SLE-10-SP1-Branch/online-update/VERSION (original)
+++ branches/SuSE-SLE-10-SP1-Branch/online-update/VERSION Thu Nov 8 13:43:35 2007
@@ -1 +1 @@
-2.13.61
+2.13.62
Modified: branches/SuSE-SLE-10-SP1-Branch/online-update/package/yast2-online-update.changes
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP1-Branch/online…
==============================================================================
--- branches/SuSE-SLE-10-SP1-Branch/online-update/package/yast2-online-update.changes (original)
+++ branches/SuSE-SLE-10-SP1-Branch/online-update/package/yast2-online-update.changes Thu Nov 8 13:43:35 2007
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Thu Nov 8 11:16:09 CET 2007 - jsuchome(a)suse.cz
+
+- fix check for nil return value of clients (#339749)
+- 2.13.62
+
+-------------------------------------------------------------------
Fri Jun 8 09:05:04 CEST 2007 - jsuchome(a)suse.cz
- use PkgTaboo instead of ResolvableNeutral if the package with
Modified: branches/SuSE-SLE-10-SP1-Branch/online-update/src/online_update.ycp
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP1-Branch/online…
==============================================================================
--- branches/SuSE-SLE-10-SP1-Branch/online-update/src/online_update.ycp (original)
+++ branches/SuSE-SLE-10-SP1-Branch/online-update/src/online_update.ycp Thu Nov 8 13:43:35 2007
@@ -138,7 +138,7 @@
result = WFM::CallFunction( module_name, module_args );
- if ( result == `nil ) return 1;
+ if ( result == nil ) return 1;
if (result == `again )
continue;
--
To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
08 Nov '07
Author: jsuchome
Date: Thu Nov 8 11:15:45 2007
New Revision: 41874
URL: http://svn.opensuse.org/viewcvs/yast?rev=41874&view=rev
Log:
Created tag stable-2_16_2 for users
Added:
tags/stable-2_16_2/users/
- copied from r41873, trunk/users/
--
To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
[yast-commit] r41873 - in /trunk/users: VERSION package/yast2-users.changes src/Users.pm src/inst_auth.ycp src/inst_root.ycp yast2-users.spec.in
by jsuchome@svn.opensuse.org 08 Nov '07
by jsuchome@svn.opensuse.org 08 Nov '07
08 Nov '07
Author: jsuchome
Date: Thu Nov 8 11:15:14 2007
New Revision: 41873
URL: http://svn.opensuse.org/viewcvs/yast?rev=41873&view=rev
Log:
- allow '\' in root's password (#337606)
- removed dependency on yast2-network via DSL module (#339027)
- 2.16.2
Modified:
trunk/users/VERSION
trunk/users/package/yast2-users.changes
trunk/users/src/Users.pm
trunk/users/src/inst_auth.ycp
trunk/users/src/inst_root.ycp
trunk/users/yast2-users.spec.in
Modified: trunk/users/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/VERSION?rev=41873&r1=41872…
==============================================================================
--- trunk/users/VERSION (original)
+++ trunk/users/VERSION Thu Nov 8 11:15:14 2007
@@ -1 +1 @@
-2.16.1
+2.16.2
Modified: trunk/users/package/yast2-users.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/package/yast2-users.change…
==============================================================================
--- trunk/users/package/yast2-users.changes (original)
+++ trunk/users/package/yast2-users.changes Thu Nov 8 11:15:14 2007
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Thu Nov 8 11:01:39 CET 2007 - jsuchome(a)suse.cz
+
+- allow '\' in root's password (#337606)
+- removed dependency on yast2-network via DSL module (#339027)
+- 2.16.2
+
+-------------------------------------------------------------------
Thu Nov 1 15:20:31 CET 2007 - jsuchome(a)suse.cz
- do not include default 'lxuser' name in the list of suggestions
Modified: trunk/users/src/Users.pm
URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/src/Users.pm?rev=41873&r1=…
==============================================================================
--- trunk/users/src/Users.pm (original)
+++ trunk/users/src/Users.pm Thu Nov 8 11:15:14 2007
@@ -2290,7 +2290,9 @@
next;
}
if ($key eq "userpassword" && (defined $data{$key}) &&
- $data{$key} ne $user_in_work{$key}) {
+ (!defined $user_in_work{$key} || $data{$key} ne $user_in_work{$key})
+ )
+ {
# crypt password only once (when changed)
if (!defined $data{"encrypted"} || !bool ($data{"encrypted"})) {
$user_in_work{$key} = $self->CryptPassword ($data{$key}, $type);
@@ -3344,7 +3346,9 @@
}
next;
}
- if (!defined $user{$key} || $user{$key} ne $value)
+ if (!defined $user{$key} ||
+ ((!defined $value) && (defined $user{$key})) ||
+ ((defined $value) && ($user{$key} ne $value)))
{
$ret = 1;
y2debug ("old value: ", $value || "(not defined)");
Modified: trunk/users/src/inst_auth.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/src/inst_auth.ycp?rev=4187…
==============================================================================
--- trunk/users/src/inst_auth.ycp (original)
+++ trunk/users/src/inst_auth.ycp Thu Nov 8 11:15:14 2007
@@ -13,7 +13,6 @@
textdomain "users";
import "Directory";
-import "DSL";
import "FileUtils";
import "Label";
import "Ldap";
@@ -83,22 +82,10 @@
// Check if lan is configured
-list<string> net_devices = NetworkDevices::List("");
+list<string> net_devices = NetworkDevices::ListDevicesExcept("dialup");
y2debug("net_devices: %1", net_devices);
-if (size(net_devices) == 0 && !NetworkService::IsManaged () &&
- size (Ldap::initial_defaults) == 0)
-{
- Users::SetAfterAuth ("users");
- y2milestone ("network not available: no network based authentization");
- return `auto;
-}
-boolean found = false || NetworkService::IsManaged ();
-maplist(string dev, net_devices, ``{
- if(!DSL::UsesDevice(dev))
- found = true;
-});
-y2debug("found=%1", found);
+boolean found = (size (net_devices) > 0) || NetworkService::IsManaged ();
if (!found && size (Ldap::initial_defaults) == 0) {
y2milestone ("network not available: no network based authentization");
Modified: trunk/users/src/inst_root.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/src/inst_root.ycp?rev=4187…
==============================================================================
--- trunk/users/src/inst_root.ycp (original)
+++ trunk/users/src/inst_root.ycp Thu Nov 8 11:15:14 2007
@@ -181,7 +181,7 @@
continue;
}
- if (findfirstnotof (pw1, valid_password_chars) != nil)
+ if (findfirstnotof (pw1, valid_password_chars + "\\") != nil)
{
Popup::Message (Users::ValidPasswordMessage ());
// Invalidate old password
Modified: trunk/users/yast2-users.spec.in
URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/yast2-users.spec.in?rev=41…
==============================================================================
--- trunk/users/yast2-users.spec.in (original)
+++ trunk/users/yast2-users.spec.in Thu Nov 8 11:15:14 2007
@@ -3,15 +3,17 @@
@HEADER@
BuildRequires: cracklib-devel doxygen gcc-c++ perl-Digest-SHA1 perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-ldap-client yast2-perl-bindings yast2-security yast2-testsuite yast2-core-devel
-Requires: yast2 yast2-perl-bindings yast2-country yast2-pam yast2-security cracklib perl-Digest-SHA1 perl-X500-DN perl-gettext
+Requires: yast2-perl-bindings yast2-country yast2-pam yast2-security cracklib perl-Digest-SHA1 perl-X500-DN perl-gettext
Obsoletes: yast2-config-users y2c_users yast2-trans-users y2t_users yast2-trans-inst-user yast2-trans-users y2t_inst-user
Provides: yast2-config-users y2c_users yast2-trans-users y2t_users yast2-trans-inst-user yast2-trans-users y2t_inst-user
# LDAPInitWithTLSCheck
Requires: yast2-ldap-client >= 2.15.8
+# NetworkDevices::ListDevicesExcept
+Requires: yast2 >= 2.16.9
-Summary: Configuration of users
+Summary: Configuration of users and groups
%description
-
--
To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
08 Nov '07
Author: visnov
Date: Thu Nov 8 09:04:13 2007
New Revision: 41872
URL: http://svn.opensuse.org/viewcvs/yast?rev=41872&view=rev
Log:
compiles, does not work, just a skeleton
Added:
branches/tmp/sh/mod-ui/web-wt/src/YWebOptionalWidgetFactory.h
branches/tmp/sh/mod-ui/web-wt/src/YWebWidgetFactory.cc
branches/tmp/sh/mod-ui/web-wt/src/YWebWidgetFactory.h
Removed:
branches/tmp/sh/mod-ui/web-wt/src/YWebDialog.cc
branches/tmp/sh/mod-ui/web-wt/src/YWebDialog.h
branches/tmp/sh/mod-ui/web-wt/src/YWebLabel.cc
branches/tmp/sh/mod-ui/web-wt/src/YWebLabel.h
branches/tmp/sh/mod-ui/web-wt/src/YWebPushButton.cc
branches/tmp/sh/mod-ui/web-wt/src/YWebPushButton.h
branches/tmp/sh/mod-ui/web-wt/src/YWebSplit.cc
branches/tmp/sh/mod-ui/web-wt/src/YWebSplit.h
branches/tmp/sh/mod-ui/web-wt/src/YWebWidget.cc
branches/tmp/sh/mod-ui/web-wt/src/YWebWidget.h
Modified:
branches/tmp/sh/mod-ui/web-wt/src/YWebUI.h
branches/tmp/sh/mod-ui/web-wt/src/YWebUIComponent.h
branches/tmp/sh/mod-ui/web-wt/src/YWebUI_builtins.cc
branches/tmp/sh/mod-ui/web-wt/src/YWebUI_core.cc
branches/tmp/sh/mod-ui/web-wt/src/YWebUI_widgets.cc
Added: branches/tmp/sh/mod-ui/web-wt/src/YWebOptionalWidgetFactory.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/web-wt/src/YWeb…
==============================================================================
--- branches/tmp/sh/mod-ui/web-wt/src/YWebOptionalWidgetFactory.h (added)
+++ branches/tmp/sh/mod-ui/web-wt/src/YWebOptionalWidgetFactory.h Thu Nov 8 09:04:13 2007
@@ -0,0 +1,135 @@
+/*---------------------------------------------------------------------\
+| |
+| __ __ ____ _____ ____ |
+| \ \ / /_ _/ ___|_ _|___ \ |
+| \ V / _` \___ \ | | __) | |
+| | | (_| |___) || | / __/ |
+| |_|\__,_|____/ |_| |_____| |
+| |
+| core system |
+| (C) SuSE GmbH |
+\----------------------------------------------------------------------/
+
+ File: YWebOptionalWidgetFactory.h
+
+ Author: Stanislav Visnovsky <visnov(a)suse.cz>
+
+/-*/
+
+#ifndef YWebOptionalWidgetFactory_h
+#define YWebOptionalWidgetFactory_h
+
+#include <string>
+#include <vector>
+
+#include <yui/YOptionalWidgetFactory.h>
+
+using std::string;
+using std::vector;
+
+class YBarGraph;
+class YDateField;
+class YDownloadProgress;
+class YDumbTab;
+class YDummySpecialWidget;
+class YMultiProgressMeter;
+class YPartitionSplitter;
+class YSlider;
+class YTimeField;
+class YWidget;
+class YWizard;
+
+
+/**
+ * Abstract widget factory for optional ("special") widgets.
+ *
+ * Remember to always check with the corresponding "has..()" method if the
+ * current UI actually provides the requested widget. Otherwise the
+ * "create...()" method will throw an exception.
+ **/
+class YWebOptionalWidgetFactory: public YOptionalWidgetFactory
+{
+public:
+
+ //
+ // Optional Widgets
+ //
+
+ virtual bool hasWizard();
+ YWizard * createWizard ( YWidget * parent,
+ const string & backButtonLabel,
+ const string & abortButtonLabel,
+ const string & nextButtonLabel,
+ YWizardMode wizardMode = YWizardMode_Standard );
+
+ virtual YWizard * createWizard ( YWidget * parent,
+ YWidgetID * backButtonId, const string & backButtonLabel,
+ YWidgetID * abortButtonId, const string & abortButtonLabel,
+ YWidgetID * nextButtonId, const string & nextButtonLabel,
+ YWizardMode wizardMode = YWizardMode_Standard );
+
+ virtual bool hasDumbTab();
+ virtual YDumbTab * createDumbTab ( YWidget * parent );
+
+ virtual bool hasSlider();
+ virtual YSlider * createSlider ( YWidget * parent,
+ const string & label,
+ int minVal,
+ int maxVal,
+ int initialVal );
+
+ virtual bool hasDateField();
+ virtual YDateField * createDateField ( YWidget * parent, const string & label );
+
+ virtual bool hasTimeField();
+ virtual YTimeField * createTimeField ( YWidget * parent, const string & label );
+
+ virtual bool hasBarGraph();
+ virtual YBarGraph * createBarGraph ( YWidget * parent, const vector<int> & values, const vector<string> & labels );
+
+ virtual bool hasPatternSelector();
+ virtual YWidget * createPatternSelector ( YWidget * parent, long modeFlags = 0 );
+
+ virtual bool hasSimplePatchSelector();
+ virtual YWidget * createSimplePatchSelector( YWidget * parent, long modeFlags = 0 );
+
+ virtual bool hasMultiProgressMeter();
+ YMultiProgressMeter * createHMultiProgressMeter( YWidget * parent, const vector<float> & maxValues );
+ YMultiProgressMeter * createVMultiProgressMeter( YWidget * parent, const vector<float> & maxValues );
+ virtual YMultiProgressMeter * createMultiProgressMeter ( YWidget * parent, YUIDimension dim, const vector<float> & maxValues );
+
+ virtual bool hasPartitionSplitter();
+ virtual YPartitionSplitter * createPartitionSplitter ( YWidget * parent );
+
+ virtual bool hasDownloadProgress();
+ virtual YDownloadProgress * createDownloadProgress ( YWidget * parent,
+ const string & label,
+ const string & filename,
+ long expectedFileSize );
+
+ bool hasDummySpecialWidget();
+ YWidget * createDummySpecialWidget( YWidget * parent );
+
+
+
+protected:
+
+ friend class YWebUI;
+
+ /**
+ * Constructor.
+ *
+ * Use YUI::optionalWidgetFactory() to get the singleton for this class.
+ **/
+ YWebOptionalWidgetFactory();
+
+ /**
+ * Destructor.
+ **/
+ virtual ~YWebOptionalWidgetFactory();
+
+}; // class YWebOptionalWidgetFactory
+
+
+
+#endif // YOptionalWidgetFactory_h
Modified: branches/tmp/sh/mod-ui/web-wt/src/YWebUI.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/web-wt/src/YWeb…
==============================================================================
--- branches/tmp/sh/mod-ui/web-wt/src/YWebUI.h (original)
+++ branches/tmp/sh/mod-ui/web-wt/src/YWebUI.h Thu Nov 8 09:04:13 2007
@@ -12,45 +12,40 @@
File: YWebUI.h
- Authors: Mathias Kettner <kettner(a)suse.de>,
- Stefan Hundhammer <sh(a)suse.de>
-
- Maintainer: Stefan Hundhammer <sh(a)suse.de>
+ Author: Stefan Hundhammer <sh(a)suse.de>
+ Stanislav Visnovsky <visnov(a)suse.cz>
/-*/
#ifndef YWebUI_h
#define YWebUI_h
-#include <WApplication>
-#include <WTimer>
-#include <vector>
-#include <WTable>
-
#include "YSimpleEventHandler.h"
-#include "YWebDialog.h"
#include <YUI.h>
class YEvent;
-class Wt::WTimer;
+class YWebOptionalWidgetFactory;
+class YWebWidgetFactory;
using std::string;
using std::vector;
-class YWebUI: public Wt::WApplication, public YUI
+
+class YWebUI: public YUI
{
public:
/**
* Constructor.
- */
- YWebUI( const Wt::WEnvironment& env,
+ **/
+ YWebUI( int argc,
+ char ** argv,
bool with_threads,
const char * macro_file );
/**
* Destructor.
- */
+ **/
~YWebUI();
/**
@@ -58,6 +53,34 @@
**/
static YWebUI * ui() { return _ui; }
+
+protected:
+ /**
+ * Create the widget factory that provides all the createXY() methods for
+ * standard (mandatory, i.e. non-optional) widgets.
+ *
+ * Reimplemented from YUI.
+ **/
+ virtual YWidgetFactory * createWidgetFactory();
+
+ /**
+ * Create the widget factory that provides all the createXY() methods for
+ * optional ("special") widgets and the corresponding hasXYWidget()
+ * methods.
+ *
+ * Reimplemented from YUI.
+ **/
+ virtual YOptionalWidgetFactory * createOptionalWidgetFactory();
+
+ /*
+ * Create the YApplication object that provides global methods.
+ *
+ * Reimplemented from YUI.
+ **/
+ virtual YApplication * createApplication();
+
+public:
+
/**
* Widget event handlers (slots) call this when an event occured that
* should be the answer to a UserInput() / PollInput() (etc.) call.
@@ -83,24 +106,6 @@
YEvent * pendingEvent() const { return _event_handler.pendingEvent(); }
/**
- * Returns 'false" if the "--no-wm" was specified on the command line, i.e.
- * we should assume no window manager is running.
- */
- bool haveWM() const { return _have_wm; }
-
- /**
- * Returns 'true' if defaultsize windows should use the full screen.
- **/
- bool fullscreen() const { return _fullscreen; }
-
- /**
- * Returns 'false' if toplevel (defaultsize) windows should not get window
- * manager decorations, i.e. "--noborder" was specified on the command
- * line.
- **/
- bool decorateToplevelWindow() const { return _decorate_toplevel_window; }
-
- /**
* Returns 'true' if the UI had a fatal error that requires the application
* to abort.
**/
@@ -114,46 +119,20 @@
void raiseFatalError() { _fatal_error = true; }
/**
- * Returns size for `opt(`defaultsize) dialogs (in one dimension).
- */
- long defaultSize( YUIDimension dim ) const;
-
- /**
- * Toggle macro recording (activated by Ctrl-Shift-Alt-M):
- * Stop macro recording if it is in progress,
- * open a file selection box and ask for a macro file name to save to and
- * start recording if no recording has been in progress.
- */
- void toggleRecordMacro();
-
- /**
- * Open file selection box and ask for a macro file to play
- * (activated by Ctrl-Shift-Alt-P)
- */
- void askPlayMacro();
-
- /**
- * Issue an internal error: Open popup with that message and wait.
+ * UI-specific runPkgSeleciton method: Start the package selection.
+ * This implementation does the same as UserInput().
*
* Reimplemented from YUI.
- */
- void internalError( const char * msg );
-
-
- /**
- * Block WM_CLOSE events for the main window.
**/
- void blockWmClose() { _wm_close_blocked = true; }
+ YCPValue runPkgSelection( YWidget * packageSelector );
/**
- * Unblock WM_CLOSE events for the main window.
+ * Issue an internal error: Open popup with that message and wait.
+ *
+ * Reimplemented from YUI.
**/
- void unblockWmClose() { _wm_close_blocked = false; }
+ void internalError( const char * msg );
- /**
- * Check if dialogs are to be activated automatically
- **/
- bool autoActivateDialogs() const { return _auto_activate_dialogs; }
/**
* Block (or unblock) events. If events are blocked, any event sent
@@ -172,58 +151,6 @@
virtual bool eventsBlocked() const
{ return _event_handler.eventsBlocked(); }
- /**
- * Returns the current product name
- * ("SuSE Linux", "SuSE Linux Enterprise Server", "United Linux", etc.)
- * as QString.
- **/
- std::string productName() const;
-
- /**
- * Beep - activate the system (X11) bell.
- *
- * Reimplemented from YUI.
- */
- void beep();
-
- Wt::WTable* layout() const { return _layout; }
-
-public slots:
-
- /**
- * Show hourglass cursor.
- *
- * Reimplemented from YUI.
- */
- void busyCursor();
-
- /**
- * Show pointer cursor.
- *
- * Reimplemented from YUI.
- */
- void normalCursor();
-
- /**
- * Open file selection box and let the user Save y2logs to that location.
- * (Shift-F8)
- **/
- void askSaveLogs();
-
- /**
- * Open dialog to configure logging.
- * (Shift-F7)
- **/
- void askConfigureLogging();
-
-#if 0
-signals:
- /**
- * Emitted upon WM_CLOSE
- **/
- void wmClose();
-#endif
-
protected:
/**
@@ -231,7 +158,7 @@
* This is only used when a separate ui thread is running.
*
* Reimplemented from YUI.
- */
+ **/
void idleLoop( int fd_ycp );
/**
@@ -239,106 +166,50 @@
* or an empty string to get a default textual representation.
*
* Reimplemented from YUI.
- */
+ **/
YCPString glyph( const YCPSymbol & glyphSymbol );
/**
* Go into event loop until next user input is available.
*
* Reimplemented from YUI.
- */
+ **/
YEvent * userInput( unsigned long timeout_millisec = 0 );
/**
* Check the event queue for user input. Don't wait.
*
* Reimplemented from YUI.
- */
+ **/
YEvent * pollInput();
/**
* Create a dialog.
*
* Reimplemented from YUI.
- */
+ **/
YDialog * createDialog( YWidgetOpt & opt );
/**
* Show and activate a dialog.
*
* Reimplemented from YUI.
- */
+ **/
void showDialog( YDialog * dialog );
/**
* Decativate and close a dialog. This does not delete the dialog yet.
*
* Reimplemented from YUI.
- */
+ **/
void closeDialog( YDialog * dialog );
-
- /*** Widget creation methods, all reimplemented from YUI ***/
-
- YContainerWidget * createAlignment ( YWidget * parent, YWidgetOpt & opt, YAlignmentType horAlign, YAlignmentType vertAlign );
- YContainerWidget * createFrame ( YWidget * parent, YWidgetOpt & opt, const YCPString & label );
- YContainerWidget * createCheckBoxFrame ( YWidget * parent, YWidgetOpt & opt, const YCPString & label, bool checked );
- YContainerWidget * createRadioButtonGroup ( YWidget * parent, YWidgetOpt & opt);
- YContainerWidget * createReplacePoint ( YWidget * parent, YWidgetOpt & opt);
- YContainerWidget * createSplit ( YWidget * parent, YWidgetOpt & opt, YUIDimension dimension);
- YContainerWidget * createSquash ( YWidget * parent, YWidgetOpt & opt, bool horSquash, bool vertSquash);
- YContainerWidget * createWeight ( YWidget * parent, YWidgetOpt & opt, YUIDimension dim, long weight);
-
- YWidget * createCheckBox ( YWidget * parent, YWidgetOpt & opt, const YCPString & label, bool checked);
- YWidget * createComboBox ( YWidget * parent, YWidgetOpt & opt, const YCPString & label);
- YWidget * createEmpty ( YWidget * parent, YWidgetOpt & opt);
- YWidget * createImage ( YWidget * parent, YWidgetOpt & opt, YCPByteblock imageData, YCPString fallbackText );
- YWidget * createImage ( YWidget * parent, YWidgetOpt & opt, YCPString fileName, YCPString fallbackText );
- YWidget * createIntField ( YWidget * parent, YWidgetOpt & opt, const YCPString & label, int minValue, int maxValue, int initialValue);
- YWidget * createLabel ( YWidget * parent, YWidgetOpt & opt, const YCPString & text);
- YWidget * createLogView ( YWidget * parent, YWidgetOpt & opt, const YCPString & label, int visibleLines, int maxLines );
- YWidget * createMultiLineEdit ( YWidget * parent, YWidgetOpt & opt, const YCPString & label, const YCPString & text);
- YWidget * createProgressBar ( YWidget * parent, YWidgetOpt & opt, const YCPString & label, const YCPInteger & maxProgress, const YCPInteger & currentProgress );
- YWidget * createPackageSelector ( YWidget * parent, YWidgetOpt & opt, const YCPString & floppyDevice );
- YWidget * createPushButton ( YWidget * parent, YWidgetOpt & opt, const YCPString & label);
- YWidget * createMenuButton ( YWidget * parent, YWidgetOpt & opt, const YCPString & label);
- YWidget * createRadioButton ( YWidget * parent, YWidgetOpt & opt, YRadioButtonGroup * rbg, const YCPString & label, bool checked);
- YWidget * createRichText ( YWidget * parent, YWidgetOpt & opt, const YCPString & text);
- YWidget * createSelectionBox ( YWidget * parent, YWidgetOpt & opt, const YCPString & label);
- YWidget * createMultiSelectionBox ( YWidget * parent, YWidgetOpt & opt, const YCPString & label);
- YWidget * createSpacing ( YWidget * parent, YWidgetOpt & opt, float size, bool horizontal, bool vertical);
- YWidget * createTable ( YWidget * parent, YWidgetOpt & opt, vector<string> header);
- YWidget * createTextEntry ( YWidget * parent, YWidgetOpt & opt, const YCPString & label, const YCPString & text);
- YWidget * createTree ( YWidget * parent, YWidgetOpt & opt, const YCPString & label);
- YWidget * createPkgSpecial ( YWidget * parent, YWidgetOpt & opt, const YCPString & subwidget );
-
-
/*** Widget creation methods for optional widgets, all reimplemented from YUI ***/
bool hasBarGraph();
YWidget * createBarGraph ( YWidget * parent, YWidgetOpt & opt);
- bool hasColoredLabel();
- YWidget * createColoredLabel ( YWidget * parent,
- YWidgetOpt & opt,
- YCPString label,
- YColor foreground,
- YColor background,
- int margin );
-
- bool hasDate();
- YWidget * createDate ( YWidget * parent,
- YWidgetOpt & opt,
- const YCPString & label,
- const YCPString & date);
-
- bool hasTime();
- YWidget * createTime ( YWidget * parent,
- YWidgetOpt & opt,
- const YCPString & label,
- const YCPString & time);
-
bool hasDownloadProgress();
YWidget * createDownloadProgress ( YWidget * parent,
YWidgetOpt & opt,
@@ -350,12 +221,6 @@
YWidget * createDumbTab ( YWidget * parent,
YWidgetOpt & opt );
- bool hasMultiProgressMeter();
- YWidget * createMultiProgressMeter( YWidget * parent,
- YWidgetOpt & opt,
- bool horizontal,
- const YCPList & maxValues );
-
bool hasSlider();
YWidget * createSlider ( YWidget * parent,
YWidgetOpt & opt,
@@ -378,21 +243,6 @@
const YCPString & freeFieldLabel,
const YCPString & newPartFieldLabel );
- bool hasPatternSelector();
- YWidget * createPatternSelector ( YWidget * parent,
- YWidgetOpt & opt );
-
- bool hasSimplePatchSelector();
- YWidget * createSimplePatchSelector( YWidget * parent,
- YWidgetOpt & opt );
-
- bool hasWizard();
- YWidget * createWizard ( YWidget * parent, YWidgetOpt & opt,
- const YCPValue & backButtonId, const YCPString & backButtonLabel,
- const YCPValue & abortButtonId, const YCPString & abortButtonLabel,
- const YCPValue & nextButtonId, const YCPString & nextButtonLabel );
-
-
/*** END widget creation methods ***/
@@ -456,71 +306,57 @@
* Lower-level version that works with QStrings and does not change
* the mouse cursor.
**/
- std::string askForSaveFileName( const std::string & startWith,
- const std::string & filter,
- const std::string & headline );
-
- /**
- * main widget
- */
- Wt::WWidget* mainWidget();
-
- int argc() const { return _argc; }
-
- char ** argv() const { return _argv; }
-
- static int _argc;
-
- static char ** _argv;
-
-
- void createTimer() ;
+ string askForSaveFileName( const string & startWith,
+ const string & filter,
+ const string & headline );
-protected:
+ /**
+ * Convert logical layout spacing units into device dependent units.
+ * A default size dialog is assumed to be 80x25 layout spacing units
+ * and 640x480 device dependent spacing units.
+ *
+ * Reimplemented from YUI.
+ **/
+ virtual int deviceUnits( YUIDimension dim, float layout_units );
/**
- * Sets the X input method according to the locale.
- * [Reimplemented from YUI]
- */
- YCPValue setLanguage( const YCPTerm & term );
+ * Convert device dependent units into logical layout spacing units.
+ * A default size dialog is assumed to be 80x25 layout spacing units
+ * and 640x480 device dependent spacing units.
+ *
+ * Reimplemented from YUI.
+ **/
+ virtual float layoutUnits( YUIDimension dim, int device_units );
+
+protected:
/**
* Display capabilities.
* [Reimplemented from YUI]
* See UI builtin GetDisplayInfo() doc for details.
**/
+ int getDisplayWidth();
+ int getDisplayHeight();
+ int getDisplayDepth();
+ long getDisplayColors();
+ int getDefaultWidth();
+ int getDefaultHeight();
bool textMode() { return false; }
bool hasImageSupport() { return true; }
- bool hasLocalImageSupport() { return true; }
+ bool hasLocalImageSupport() { return false; }
bool hasAnimationSupport() { return true; }
bool hasIconSupport() { return false; } // not yet
bool hasFullUtf8Support() { return true; }
bool richTextSupportsTable() { return true; }
-protected slots:
-
- /**
- * Application shutdown
- **/
- bool close();
-
- /**
- * Timeout during TimeoutUserInput() / WaitForEvent()
- **/
- void userInputTimeout();
-
/**
* Sets @ref #leave_idle_loop to true.
- */
+ **/
void leaveIdleLoop( int );
- void createWebServerThread();
-
- void triggeredTimer();
-
protected:
/**
@@ -528,44 +364,21 @@
**/
void processCommandLineArgs( int argc, char **argv );
-
- //
- // Data members
- //
-
/**
- * Assume presence of a window manager
- */
- bool _have_wm;
-
- /**
- * Use the entire available screen
+ * Calculate size of `opt(`defaultsize) dialogs
**/
- bool _fullscreen;
+ void calcDefaultSize();
- /**
- * Decorate the toplevel window
- **/
- bool _decorate_toplevel_window;
- /**
- * Container for the widget stack. QWidgetStack cannot handle a WFlags
- * argument, so this needs to be embedded into something else - and a QVBox
- * at least handles all the sizeHint and resize stuff.
- **/
- Wt::WContainerWidget * _main_win;
-
-#if 0
- /**
- * Stack for the Qt widgets inside the main window.
- **/
- QWidgetStack * _widget_stack;
+ //
+ // Data members
+ //
/**
* Stack to keep track of the stacking order of popup dialogs.
**/
- vector<QWidget *> _popup_stack;
-#endif
+ // FIXME: vector<QWidget *> _popup_stack;
+
/**
* Numeric ID for defaultsize dialogs for the widget stack
**/
@@ -575,26 +388,16 @@
* A flag used during the idle loop. If it is set to true,
* the idle loop is left. This happens, if the ycp-ui-communication
* pipe to the ui gets readable.
- */
+ **/
bool _leave_idle_loop;
/**
* This flag is set during @ref #userInput in order to tell
* @ref #returnNow to call exit_loop, which only may be called
* after enter_loop.
- */
- bool _do_exit_loop;
-
- /**
- * Window manager close events blocked?
**/
- bool _wm_close_blocked;
+ bool _do_exit_loop;
- /**
- * Force new dialogs to the foreground and grab the keyboard focus?
- * (Only if running without a window manager)
- **/
- bool _auto_activate_dialogs;
/**
* Global reference to the UI
@@ -611,13 +414,6 @@
**/
YSimpleEventHandler _event_handler;
- pthread_t webserver_thread;
-
- Wt::WTimer* _timer;
-
- YWebDialog* _pending_dialog;
-
- Wt::WTable* _layout;
};
Modified: branches/tmp/sh/mod-ui/web-wt/src/YWebUIComponent.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/web-wt/src/YWeb…
==============================================================================
--- branches/tmp/sh/mod-ui/web-wt/src/YWebUIComponent.h (original)
+++ branches/tmp/sh/mod-ui/web-wt/src/YWebUIComponent.h Thu Nov 8 09:04:13 2007
@@ -10,23 +10,19 @@
| (C) SuSE GmbH |
\----------------------------------------------------------------------/
- File: YWebUIComponent.h
+ File: YQUIComponent.h
- Authors: Stefan Hundhammer <sh(a)suse.de>
-
- Maintainer: Stefan Hundhammer <sh(a)suse.de>
+ Author: Stefan Hundhammer <sh(a)suse.de>
+ Stanislav Visnovsky <visnov(a)suse.cz>
/-*/
#ifndef YWebUIComponent_h
#define YWebUIComponent_h
-#include <ycp/y2log.h>
-
#include <YUIComponent.h>
#include "YWebUI.h"
-extern void *start_webserver_thread( void * yui );
class YWebUIComponent : public YUIComponent
{
@@ -35,39 +31,20 @@
YWebUIComponent(): YUIComponent() {}
/**
- * Create a web UI. This is called from within setServerOptions().
+ * Create a Web UI. This is called from within setServerOptions().
*
* Reimplemented from YUIComponent.
**/
virtual YUI * createUI( int argc, char **argv, bool with_threads, const char * macro_file )
{
- YWebUI::_argc = argc;
- YWebUI::_argv = argv;
-
- pthread_t webserver_thread;
- pthread_attr_t attr;
- pthread_attr_init( & attr );
-
- if( pthread_create( & webserver_thread, & attr, start_webserver_thread, 0 ) > 0 )
- {
- y2internal ("Could not create Web server thread, aborting");
- abort();
- }
-
- y2milestone( "Server thread running");
-
- while (! YWebUI::ui() )
- {
- sleep( 1 );
- }
- return YWebUI::ui(); // new YWebUI( argc, argv, with_threads, macro_file );
+ return new YWebUI( argc, argv, with_threads, macro_file );
}
/**
* Returns the name of this YaST2 component.
*
* Reimplemented from YUIComponent.
- */
+ **/
virtual string name() const { return "web"; }
};
Modified: branches/tmp/sh/mod-ui/web-wt/src/YWebUI_builtins.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/web-wt/src/YWeb…
==============================================================================
--- branches/tmp/sh/mod-ui/web-wt/src/YWebUI_builtins.cc (original)
+++ branches/tmp/sh/mod-ui/web-wt/src/YWebUI_builtins.cc Thu Nov 8 09:04:13 2007
@@ -10,12 +10,10 @@
| (C) SuSE GmbH |
\----------------------------------------------------------------------/
- File: YUIQt_builtins.cc
+ File: YWebUI_builtins.cc
Author: Stefan Hundhammer <sh(a)suse.de>
- Maintainer: Stefan Hundhammer <sh(a)suse.de>
-
- Textdomain "packages-qt"
+ Stanislav Visnovsky <visnov(a)suse.de>
/-*/
@@ -26,189 +24,84 @@
#define y2log_component "web-ui"
#include <ycp/y2log.h>
-#include <WMessageBox>
-
#include "YWebUI.h"
#include "YEvent.h"
-#include "YMacroRecorder.h"
#include "YUISymbols.h"
-#include "YWebDialog.h"
-
-using namespace Wt;
-
-#define DEFAULT_MACRO_FILE_NAME "macro.ycp"
-
-
-
-YCPValue YWebUI::setLanguage( const YCPTerm & term)
-{
- // FIXME
- return YCPVoid(); // OK (YCPNull() would mean error)
-}
-
YCPString
YWebUI::glyph( const YCPSymbol & glyphSymbol )
{
- // FIXME
- return YCPString( "" );
-}
+ string sym = glyphSymbol->symbol();
+
+ return YCPString( sym );
+
+ // FIXME:
+#if 0
+ QChar unicodeChar;
+ // Hint: Use 'xfd' to view characters available in the Unicode font.
-void YWebUI::askSaveLogs()
-{
-#if 0
- std::string fileName = askForSaveFileName( "/tmp/y2logs.tgz", // startWith
- "*.tgz *.tar.gz", // filter
- "Save y2logs to..." ); // headline
+ if ( sym == YUIGlyph_ArrowLeft ) unicodeChar = QChar( 0x2190 );
+ else if ( sym == YUIGlyph_ArrowRight ) unicodeChar = QChar( 0x2192 );
+ else if ( sym == YUIGlyph_ArrowUp ) unicodeChar = QChar( 0x2191 );
+ else if ( sym == YUIGlyph_ArrowDown ) unicodeChar = QChar( 0x2193 );
+ else if ( sym == YUIGlyph_CheckMark ) unicodeChar = QChar( 0x2714 );
+ else if ( sym == YUIGlyph_BulletArrowRight ) unicodeChar = QChar( 0x279c );
+ else if ( sym == YUIGlyph_BulletCircle ) unicodeChar = QChar( 0x274d );
+ else if ( sym == YUIGlyph_BulletSquare ) unicodeChar = QChar( 0x274f );
+ else return YCPString( "" );
- if ( ! fileName.isEmpty() )
- {
- std::string saveLogsCommand = "/sbin/save_y2logs";
+ QString qstr( unicodeChar );
- if ( access( saveLogsCommand.ascii(), X_OK ) == 0 )
- {
- saveLogsCommand += " '" + fileName + "'";
- y2milestone( "Saving y2logs: %s", saveLogsCommand.ascii() );
- int result = system( saveLogsCommand.ascii() );
-
- if ( result != 0 )
- {
- y2error( "Error saving y2logs: \"%s\" exited with %d",
- (const char *) saveLogsCommand, result );
- WMessageBox::warning( 0, // parent
- "Error", // caption
- std::string( "Couldn't save y2logs to %1 - "
- "exit code %2" ).arg( fileName ).arg( result ),
- WMessageBox::Ok | WMessageBox::Default, // button0
- WMessageBox::NoButton, // button1
- WMessageBox::NoButton ); // button2
- }
- else
- {
- y2milestone( "y2logs saved to %s", (const char *) fileName );
- }
- }
- else
- {
- y2error( "Error saving y2logs: Command %s not found",
- saveLogsCommand.ascii() );
-
- WMessageBox::warning( 0, // parent
- "Error", // caption
- std::string( "Couldn't save y2logs to %1:\n"
- "Command %2 not found" ).arg( fileName ).arg( saveLogsCommand ),
- WMessageBox::Ok | WMessageBox::Default, // button0
- WMessageBox::NoButton, // button1
- WMessageBox::NoButton ); // button2
- }
- }
+ return YCPString( toUTF8( qstr ) );
#endif
}
-void YWebUI::askConfigureLogging()
+YCPValue YWebUI::runPkgSelection( YWidget * packageSelector )
{
+
+ y2milestone( "Running package selection..." );
+ return YCPVoid();
#if 0
- bool okButtonPressed = false;
- std::stringList items;
- items << "Debug logging off"
- << "Debug logging on";
-
- std::string result = QInputDialog::getItem( "YaST2 Logging", // caption
- "Configure YaST2 Logging:", // label
- items,
- get_log_debug() ? 1 : 0,
- false, // editable
- &okButtonPressed,
- _main_win ); // parent
+ _wm_close_blocked = true;
+ _auto_activate_dialogs = false;
- if ( okButtonPressed )
+ YCPValue input = YCPVoid();
+
+ try
{
- set_log_debug( result.endsWith( "on" ) );
- y2milestone( "Changing logging: %s - %s", (const char *) result,
- get_log_debug() ? "y2debug on" : "y2debug off" );
+ input = evaluateUserInput();
}
-#endif
-}
-
-
-void YWebUI::toggleRecordMacro()
-{
-#if 0
- if ( recordingMacro() )
+ catch (const std::exception & e)
{
- stopRecordMacro();
- normalCursor();
-
- WMessageBox::information( 0, // parent
- "YaST2 Macro Recorder", // caption
- "Macro recording done.", // text
- WMessageBox::Ok | WMessageBox::Default, // button0
- WMessageBox::NoButton, // button1
- WMessageBox::NoButton ); // button2
+ y2error( "Caught std::exception: %s", e.what() );
+ y2error( "This is a libzypp problem. Do not file a bug against the UI!" );
}
- else
+ catch (...)
{
- normalCursor();
-
- std::string filename =
- QFileDialog::getSaveFileName( DEFAULT_MACRO_FILE_NAME, // startWith
- "*.ycp", // filter
- 0, // parent
- 0, // (widget) name
- "Select Macro File to Record to" ); // caption
-
- if ( ! filename.isEmpty() ) // file selection dialog has been cancelled
- {
- recordMacro( (const char *) filename );
- }
+ y2error( "Caught unspecified exception." );
+ y2error( "This is a libzypp problem. Do not file a bug against the UI!" );
}
-#endif
-}
-
-
-void YWebUI::askPlayMacro()
-{
-#if 0
- normalCursor();
-
- std::string filename =
- QFileDialog::getOpenFileName( DEFAULT_MACRO_FILE_NAME, // startWith
- "*.ycp", // filter
- 0, // parent
- 0, // (widget) name
- "Select Macro File to Play" ); // caption
- busyCursor();
- if ( ! filename.isEmpty() ) // file selection dialog has been cancelled
- {
- playMacro( (const char *) filename );
+ _auto_activate_dialogs = true;
+ _wm_close_blocked = false;
+ y2milestone( "Package selection done - returning %s", input->toString().c_str() );
- // Do special magic to get out of any UserInput() loop right now
- // without doing any harm - otherwise this would hang until the next
- // mouse click on a PushButton etc.
-
- sendEvent( new YEvent() );
-
- if ( _do_exit_loop )
- {
- qApp->exit_loop();
- }
- }
+ return input;
#endif
}
-
YCPValue YWebUI::askForExistingDirectory( const YCPString & startDir,
const YCPString & headline )
{
return YCPVoid();
+
#if 0
normalCursor();
- std::string dir_name =
+ QString dir_name =
QFileDialog::getExistingDirectory( fromUTF8( startDir->value() ),
_main_win, // parent
"dir_selector", // name
@@ -227,11 +120,11 @@
const YCPString & filter,
const YCPString & headline )
{
- return YCPVoid();
+ return YCPVoid ();
#if 0
normalCursor();
- std::string file_name =
+ QString file_name =
QFileDialog::getOpenFileName( fromUTF8( startWith->value() ),
fromUTF8( filter->value() ),
_main_win, // parent
@@ -255,84 +148,19 @@
#if 0
normalCursor();
- std::string file_name = askForSaveFileName( fromUTF8( startWith->value() ),
+ QString file_name = askForSaveFileName( fromUTF8( startWith->value() ),
fromUTF8( filter->value() ),
fromUTF8( headline->value() ) );
busyCursor();
- if ( file_name.empty() ) // this includes file_name.isNull()
+ if ( file_name.isEmpty() ) // this includes file_name.isNull()
return YCPVoid(); // nothing selected -> return 'nil'
- return YCPString( file_name );
-#endif
-}
-
-
-
-std::string YWebUI::askForSaveFileName( const std::string & startWith,
- const std::string & filter,
- const std::string & headline )
-{
- std::string file_name;
-
-#if 0
- bool try_again = false;
-
- do
- {
- // Leave the mouse cursor alone - this function might be called from
- // some other widget, not only from UI::AskForSaveFileName().
-
- file_name = QFileDialog::getSaveFileName( startWith,
- filter,
- _main_win, // parent
- "file_selector", // name
- headline ); // caption
-
- if ( file_name.isEmpty() ) // this includes file_name.isNull()
- return std::string::null;
-
-
- if ( access( (const char *) file_name, F_OK ) == 0 ) // file exists?
- {
- std::string msg;
-
- if ( access( (const char *) file_name, W_OK ) == 0 )
- {
- // Confirm if the user wishes to overwrite an existing file
- msg = ( _( "%1 exists! Really overwrite?" ) ).arg( file_name );
- }
- else
- {
- // Confirm if the user wishes to overwrite a write-protected file %1
- msg = ( _( "%1 exists and is write-protected!\nReally overwrite?" ) ).arg( file_name );
- }
-
- int button_no = WMessageBox::information( _main_win,
- // Window title for confirmation dialog
- _( "Confirm" ),
- msg,
- _( "C&ontinue" ),
- _( "&Cancel" ) );
- try_again = ( button_no != 0 );
- }
-
- } while ( try_again );
+ return YCPString( toUTF8( file_name ) );
#endif
- return file_name;
}
-void YWebUI::beep()
-{
-}
-void YWebUI::busyCursor()
-{
-}
-
-void YWebUI::normalCursor()
-{
-}
// EOF
Modified: branches/tmp/sh/mod-ui/web-wt/src/YWebUI_core.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/web-wt/src/YWeb…
==============================================================================
--- branches/tmp/sh/mod-ui/web-wt/src/YWebUI_core.cc (original)
+++ branches/tmp/sh/mod-ui/web-wt/src/YWebUI_core.cc Thu Nov 8 09:04:13 2007
@@ -12,96 +12,39 @@
File: YWebUI_core.cc
- Authors: Mathias Kettner <kettner(a)suse.de>
- Stefan Hundhammer <sh(a)suse.de>
-
- Maintainer: Stefan Hundhammer <sh(a)suse.de>
+ Author: Stefan Hundhammer <sh(a)suse.de>
+ Stanislav Visnovsky <visnov(a)suse.cz>
/-*/
#include <rpc/types.h> // MAXHOSTNAMELEN
#include <dlfcn.h>
-
#include <ycp/YCPTerm.h>
#include <ycp/YCPCode.h>
#define y2log_component "web-ui"
#include <ycp/y2log.h>
-#include <WApplication>
-#include <WContainerWidget>
-#include <WMessageBox>
-#include <WText>
-#include <WLabel>
-#include <WPushButton>
-#include <WTable>
-#include <WTableCell>
+#include <yui/YApplication.h>
#include "YWebUI.h"
+#include "YWebWidgetFactory.h"
+#include "YWebOptionalWidgetFactory.h"
#include "YEvent.h"
#include "YUISymbols.h"
-#include "YWebDialog.h"
-
-using namespace Wt;
-
-YWebUI * YWebUI::_ui = 0;
-WApplication *_wapplication;
-bool _wtimer_work;
-
-int YWebUI::_argc = 0;
+YWebUI * YWebUI::_ui = 0;
-char ** YWebUI::_argv = 0;
-extern YCPValue UIUserInput ();
-extern YCPValue UITimeoutUserInput( const YCPInteger& timeout );
-extern YCPValue UIWaitForEvent();
-extern YCPValue UIWaitForEventTimeout( const YCPInteger & timeout );
-
-
-YWebUI::YWebUI( const Wt::WEnvironment& env, bool with_threads, const char * macro_file )
- : WApplication(env)
- , YUI( true /*with_threads*/ )
- , _main_win( NULL )
+YWebUI::YWebUI( int argc, char **argv, bool with_threads, const char * macro_file )
+ : YUI( with_threads )
, _main_dialog_id(0)
, _do_exit_loop( false )
- , _wm_close_blocked( false )
- , _auto_activate_dialogs( true )
- , _pending_dialog( NULL )
{
_ui = this;
_fatal_error = false;
- _have_wm = true;
- _fullscreen = false;
-
- processCommandLineArgs( _argc, _argv );
-
-
- // Create main window for `opt(`defaultsize) dialogs.
- //
- // We have to use something else than QWidgetStack since QWidgetStack
- // doesn't accept a WFlags arg which we badly need here.
-
- // if we have a window already, delete it
- if (_main_win)
- delete _main_win;
-
- _main_win = new WContainerWidget(); // no parent
-
- _layout = new WTable(); // no parent
- new WLabel( "Initializing...", _layout->elementAt(0,0) );
-
-
-// y2milestone( "Creating Web server" );
-// createWebServerThread();
-
-#if 0
- _main_win->hide();
-
- // Init other stuff
- busyCursor();
-#endif
+ processCommandLineArgs( argc, argv );
topmostConstructorHasFinished();
}
@@ -109,41 +52,14 @@
void YWebUI::processCommandLineArgs( int argc, char **argv )
{
- _argc = argc;
- _argv = argv;
-
if ( argv )
{
for( int i=0; i < argc; i++ )
{
- std::string opt = argv[i];
+ string opt = argv[i];
y2milestone ("Web argument: %s", argv[i]);
- if ( opt == "--no-wm" ) _have_wm = false;
- else if ( opt == "--fullscreen" ) _fullscreen = true;
- else if ( opt == "--noborder" ) _decorate_toplevel_window = false;
- // --macro is handled by YUI_component
- else if ( opt == "--help" )
- {
- fprintf( stderr,
- "Command line options for the YaST2 Qt UI:\n"
- "\n"
- "--nothreads run without additional UI threads\n"
- "--no-wm assume no window manager is running\n"
- "--fullscreen use full screen for `opt(`defaultsize) dialogs\n"
- "--noborder no window manager border for `opt(`defaultsize) dialogs\n"
- "--help this help text\n"
- "\n"
- "--macro <macro-file> play a macro right on startup\n"
- "\n"
- "-no-wm, -noborder etc. are accepted as well as --no-wm, --noborder\n"
- "to maintain backwards compatibility.\n"
- "\n"
- );
-
- raiseFatalError();
- }
}
}
}
@@ -152,75 +68,60 @@
YWebUI::~YWebUI()
{
- y2debug("Closing down Qt UI.");
+ y2debug("Closing down Web UI.");
+}
+
- normalCursor();
- // Intentionally NOT calling dlclose() to libqt-mt
- // (see constructor for explanation)
+YWidgetFactory *
+YWebUI::createWidgetFactory()
+{
+ YWebWidgetFactory * factory = new YWebWidgetFactory();
+ YUI_CHECK_NEW( factory );
+
+ return factory;
}
+YOptionalWidgetFactory *
+YWebUI::createOptionalWidgetFactory()
+{
+ YWebOptionalWidgetFactory * factory = new YWebOptionalWidgetFactory();
+ YUI_CHECK_NEW( factory );
-void YWebUI::internalError( const char * msg )
+ return factory;
+}
+
+
+YApplication *
+YWebUI::createApplication()
{
- normalCursor();
+// YApplication * app = new YApplication();
+// YUI_CHECK_NEW( app );
+// FIXME
+ return 0L;
+}
- Wt::WMessageBox::show( "YaST2 Internal Error", msg, 1); // 1 = OK button
+
+void YWebUI::internalError( const char * msg )
+{
+ raiseFatalError();
abort();
}
void YWebUI::idleLoop( int fd_ycp )
{
- _leave_idle_loop = false;
-
- // we have to reimplement uiMainThreadLopp here
-
- while ( true )
- {
- // wait, if there is anything to do
- if ( ! waitForYCPThread () )
- continue;
-
- if ( terminate_ui_thread )
- return;
-
- y2milestone( "Call comming");
-
- if( _builtinCallData.function == UIUserInput )
- {
- y2milestone( "Handling outside of timer" );
- _builtinCallData.result = YUI::callFunction( _builtinCallData.function,
- _builtinCallData.argc,
- _builtinCallData.argv );
- }
- else
- {
- y2milestone( "Preparing work for timer");
- // trigger next WTimer wake
- _wtimer_work = true;
-
- // wait for WTimer to do its work
- while (_wtimer_work != false)
- {
- sleep(1);
- }
- }
-
- y2milestone( "Work done, signal YCP to continue" );
-
- signalYCPThread();
-
- }
-
+ // FIXME
+ _leave_idle_loop = true;
}
void YWebUI::leaveIdleLoop( int )
{
+ // FIXME
_leave_idle_loop = true;
}
@@ -230,35 +131,55 @@
if ( event )
{
_event_handler.sendEvent( event );
+
+ if ( _do_exit_loop ) {
+ // FIXME:
+ }
}
}
YEvent * YWebUI::userInput( unsigned long timeout_millisec )
{
- y2milestone( "userInput");
YEvent * event = 0;
-// YWebDialog * dialog = dynamic_cast<YWebDialog *> ( currentDialog() );
+#if 0
+ YQDialog * dialog = dynamic_cast<YQDialog *> ( YDialog::currentDialog( false ) );
+ if ( _user_input_timer.isActive() )
+ _user_input_timer.stop();
-// if ( dialog )
+ if ( dialog )
{
-// dialog->activate( true );
+ if ( timeout_millisec > 0 )
+ _user_input_timer.start( timeout_millisec, true ); // single shot
+
+ dialog->activate( true );
-// normalCursor();
-// _do_exit_loop = true; // should exit_loop() be called in sendEvent()?
+ if ( qApp->focusWidget() )
+ qApp->focusWidget()->setFocus();
+
+ normalCursor();
+ _do_exit_loop = true; // should exit_loop() be called in sendEvent()?
- // FIXME: HACK HACK
while ( ! pendingEvent() )
{
- sleep (1);
+ qApp->enter_loop();
}
-// _do_exit_loop = false;
+ _do_exit_loop = false;
event = _event_handler.consumePendingEvent();
-// dialog->activate( false );
+ dialog->activate( false );
+
+ // Display a busy cursor, but only if there is no other activity within
+ // BUSY_CURSOR_TIMEOUT milliseconds (avoid cursor flicker)
+ _busy_cursor_timer.start( BUSY_CURSOR_TIMEOUT, true ); // single shot
}
+
+ if ( _user_input_timer.isActive() )
+ _user_input_timer.stop();
+
+#endif
return event;
}
@@ -266,14 +187,14 @@
YEvent * YWebUI::pollInput()
{
YEvent * event = 0;
-#if 0
+#if 0
if ( _user_input_timer.isActive() )
_user_input_timer.stop();
if ( ! pendingEvent() )
{
- YWebDialog * dialog = dynamic_cast<YWebDialog *> ( currentDialog() );
+ YQDialog * dialog = dynamic_cast<YQDialog *> ( YDialog::currentDialog( false ) );
if ( dialog )
{
@@ -287,230 +208,29 @@
if ( pendingEvent() )
event = _event_handler.consumePendingEvent();
#endif
-
return event;
}
-void YWebUI::userInputTimeout()
-{
-#if 0
- if ( ! pendingEvent() )
- sendEvent( new YTimeoutEvent() );
-#endif
-}
-
-
YDialog * YWebUI::createDialog( YWidgetOpt & opt )
{
- // wait for Web Application to appear (session is started)
- while( ! _wapplication )
- {
- sleep(1);
- }
- y2milestone ("Create the dialog");
-
- // Popup dialogs get the topmost other popup dialog as their parent since
- // some window managers (e.g., fvwm2 as used in the inst-sys) otherwise
- // tend to confuse the stacking order of popup dialogs.
- //
- // This _popup_stack handling would be better placed in showDialog(), but we
- // need the parent here for QWidget creation. libyui guarantees that each
- // createDialog() will be followed by showDialog() for the same dialog
- // without any chance for other dialogs to get in between.
-
-// WApplication::UpdateLock lock = wApp->getUpdateLock();
-
-// y2milestone ("Got update lock");
-
- _layout->clear ();
-
- _pending_dialog = new YWebDialog( opt );
-
- y2milestone( "Pending dialog prepared in %p", this );
-
-
-// _wtimer_work = true;
-
-// y2milestone ("Widget added");
-
- // FIXME this might throw???
-// try {
-// wApp->triggerUpdate();
-// }
-// catch(...) {}
-
- return _pending_dialog;
+ // FIXME
+ return 0L;
}
void YWebUI::showDialog( YDialog * dialog )
{
- y2milestone( "Publishing pending dialog" );
- _pending_dialog->publish();
-
- wApp->root()->clear();
- wApp->root()->addWidget( (WWidget*)_pending_dialog->widgetRep() );
-
-#if 0
- WWidget * qw = (WWidget *) dialog->widgetRep();
-
- if ( ! qw )
- {
- y2error( "No widgetRep() for dialog" );
- return;
- }
-
- // wait for Web Application to appear (session is started)
- while( ! _wapplication )
- {
- sleep(1);
- }
-
- qw->show();
-#endif
-}
-
-
-void YWebUI::closeDialog( YDialog * /*dialog */)
-{
-#if 0
- QWidget * qw = (QWidget *) dialog->widgetRep();
-
- if ( ! qw )
- {
- y2error( "No widgetRep() for dialog" );
- return;
- }
-
- if ( dialog->hasDefaultSize() )
- {
- _widget_stack->removeWidget( qw );
-
- if ( --_main_dialog_id < 1 ) // nothing left on the stack
- {
- // y2milestone( "Hiding main window" );
-
- _main_dialog_id = 0; // this should not be necessary - but better be safe than sorry
- }
- else
- {
- _widget_stack->raiseWidget( _main_dialog_id );
- }
- }
- else // non-defaultsize dialog
- {
- qw->hide();
-
- // Clean up the popup stack. libyui guarantees that a dialog will be
- // deleted after closeDialog() so it is safe to pop that dialog from
- // the popup stack here.
-
- if ( ! _popup_stack.empty() && _popup_stack.back() == qw )
- _popup_stack.pop_back();
- else
- y2error( "Popup dialog stack corrupted!" );
- }
-#endif
-}
-
-
-std::string YWebUI::productName() const
-{
- return YUI::productName();
-}
-
-WApplication *createApplication(const WEnvironment& env)
-{
- // Instantiate the Wt application.
- YWebUI *appl = new YWebUI( env, true, 0 );
-
- // enable server-initiated updates
- appl->enableUpdates ();
-
- _wapplication = appl;
-
- // Set window title
-
- std::string title( "YaST2" );
- char hostname[ MAXHOSTNAMELEN+1 ];
-
- if ( gethostname( hostname, sizeof( hostname )-1 ) == 0 )
- {
- hostname[ sizeof( hostname ) -1 ] = '\0'; // make sure it's terminated
-
- if ( strlen( hostname ) > 0 )
- {
- if ( ( strcmp( hostname, "(none)" ) != 0 &&
- strcmp( hostname, "linux" ) != 0 )
- )
- {
- title += "@";
- title += hostname;
- }
- }
- }
-
- y2milestone( "Created WApplication (%p)", appl );
-
- // Set application title
- appl->setTitle(title);
-
- // Set up a timer for handling YaST requests
- appl->createTimer();
-
- _wtimer_work = true;
-
- return appl;
+ // FIXME
+ // event loop in Qt is here
}
-void *start_webserver_thread( void * yui )
-{
- // FIXME: do the work
- YWebUI* ui = (YWebUI*)yui;
-
- WRun(ui->argc(), ui->argv(), &createApplication);
-
- return 0;
-}
-void YWebUI::createWebServerThread()
+void YWebUI::closeDialog( YDialog * dialog )
{
- pthread_attr_t attr;
- pthread_attr_init( & attr );
-
- if( pthread_create( & webserver_thread, & attr, start_webserver_thread, this ) > 0 )
- {
- y2internal ("Could not create Web server thread, aborting");
- abort();
- }
-
- y2milestone( "Server thread running");
+ // FIXME
}
-void YWebUI::createTimer()
-{
- _timer = new WTimer();
- _timer->timeout.connect( SLOT(this, YWebUI::triggeredTimer ) );
-
- _timer->start();
-}
-void YWebUI::triggeredTimer()
-{
- y2debug ("Timer triggered");
- if( _wtimer_work )
- {
- y2milestone("Work to do in %p", this);
- // callFunction() checks for NULL function pointers
-
- // (dynamic_cast<WTimer*>(WObject::sender()))->stop ();
-
- _builtinCallData.result = YUI::callFunction( _builtinCallData.function,
- _builtinCallData.argc,
- _builtinCallData.argv );
- _wtimer_work = false;
- }
-}
Modified: branches/tmp/sh/mod-ui/web-wt/src/YWebUI_widgets.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/web-wt/src/YWeb…
==============================================================================
--- branches/tmp/sh/mod-ui/web-wt/src/YWebUI_widgets.cc (original)
+++ branches/tmp/sh/mod-ui/web-wt/src/YWebUI_widgets.cc Thu Nov 8 09:04:13 2007
@@ -10,10 +10,10 @@
| (C) SuSE GmbH |
\----------------------------------------------------------------------/
- File: YUIWeb_widgets.cc
+ File: YWebUI_widgets.cc
Author: Stefan Hundhammer <sh(a)suse.de>
- Maintainer: Stefan Hundhammer <sh(a)suse.de>
+ Stanislav Visnovsky <visnov(a)suse.cz>
/-*/
@@ -22,372 +22,24 @@
#include "YWebUI.h"
-#include "YWebDialog.h"
-#include "YWebLabel.h"
-#include "YWebPushButton.h"
-#include "YWebSplit.h"
-
-using namespace Wt;
-
-
-YContainerWidget * YWebUI::createReplacePoint( YWidget * parent,
- YWidgetOpt & opt )
-{
- return 0;
-// return new YQReplacePoint( ( (QWidget *)parent->widgetRep() ), opt );
-}
-
-YWidget * YWebUI::createEmpty ( YWidget * parent,
- YWidgetOpt & opt )
-{
- return 0;
-// return new YQEmpty( (QWidget *) parent->widgetRep(), opt );
-}
-
-YWidget * YWebUI::createSpacing ( YWidget * parent,
- YWidgetOpt & opt,
- float size,
- bool horizontal,
- bool vertical )
-{
- return 0;
-// return new YQSpacing( (QWidget *) parent->widgetRep(), opt, size, horizontal, vertical);
-}
-
-YContainerWidget * YWebUI::createFrame ( YWidget * parent,
- YWidgetOpt & opt,
- const YCPString & label )
-{
- return 0;
-// return new YQFrame ( ( (QWidget *) parent->widgetRep() ), opt, label );
-}
-
-YContainerWidget * YWebUI::createCheckBoxFrame ( YWidget * parent,
- YWidgetOpt & opt,
- const YCPString & label,
- bool initialValue )
-{
- return 0;
-// return new YQCheckBoxFrame ( ( (QWidget *) parent->widgetRep() ), opt, label, initialValue );
-}
-
-YContainerWidget * YWebUI::createSplit ( YWidget * parent,
- YWidgetOpt & opt,
- YUIDimension dimension )
-{
- return new YWebSplit( ( (WContainerWidget *)parent->widgetRep() ), opt, dimension);
-}
-
-YContainerWidget * YWebUI::createAlignment( YWidget * parent,
- YWidgetOpt & opt,
- YAlignmentType halign,
- YAlignmentType valign )
-{
- return 0;
-// return new YQAlignment( ( (QWidget *)parent->widgetRep() ), opt, halign, valign);
-}
-
-YContainerWidget * YWebUI::createSquash ( YWidget * parent,
- YWidgetOpt & opt,
- bool hsquash,
- bool vsquash )
-{
- return 0;
-// return new YQSquash( ( (QWidget *)parent->widgetRep() ), opt, hsquash, vsquash);
-}
-
-YWidget * YWebUI::createLabel ( YWidget * parent,
- YWidgetOpt & opt,
- const YCPString & text )
-{
- return new YWebLabel( (WContainerWidget *) ( parent->widgetRep() ), opt, text);
-}
-
-
-bool YWebUI::hasDate()
-{
- return true;
-}
-
-YWidget * YWebUI::createDate ( YWidget * parent,
- YWidgetOpt & opt,
- const YCPString & label,
- const YCPString & date )
-{
- return 0;
-// return new YQDate( (QWidget *) ( parent->widgetRep() ), opt, label, date);
-}
-
-
-bool YWebUI::hasTime()
-{
- return true;
-}
-
-
-YWidget * YWebUI::createTime ( YWidget * parent,
- YWidgetOpt & opt,
- const YCPString & label,
- const YCPString & time )
-{
- return 0;
-// return new YQTime( (QWidget *) ( parent->widgetRep() ), opt, label, time);
-}
-
-
-YWidget * YWebUI::createLogView ( YWidget * parent,
- YWidgetOpt & opt,
- const YCPString & label,
- int visibleLines,
- int maxLines )
-{
- return 0;
-// return new YQLogView( (QWidget *) ( parent->widgetRep() ), opt, label, visibleLines, maxLines);
-}
-
-YWidget * YWebUI::createRichText ( YWidget * parent,
- YWidgetOpt & opt,
- const YCPString & text )
-{
- return 0;
-// return new YQRichText( (QWidget *) ( parent->widgetRep() ), opt, text);
-}
-
-
-#if 0
-YQPackageSelectorPlugin * YWebUI::packageSelectorPlugin()
-{
- return 0;
- static YQPackageSelectorPlugin * plugin = 0;
-
- if ( ! plugin )
- {
- plugin = new YQPackageSelectorPlugin();
-
- // This is a deliberate memory leak: If an application requires a
- // PackageSelector, it is a package selection application by
- // definition. In this case, the qt_pkg plugin is intentionally kept
- // open to avoid repeated start-up cost of the plugin and libzypp.
- }
-
- return plugin;
-}
-#endif
-
-
-YWidget * YWebUI::createPackageSelector ( YWidget * parent,
- YWidgetOpt & opt,
- const YCPString & floppyDevice )
-{
- return 0;
-#if 0
- _auto_activate_dialogs = false;
- YWidget * packageSelector = 0;
-
- YQPackageSelectorPlugin * plugin = packageSelectorPlugin();
-
- if ( plugin )
- {
- packageSelector = plugin->createPackageSelector( parent, opt );
- }
-
- return packageSelector;
-#endif
-}
-
-
-YWidget * YWebUI::createPkgSpecial ( YWidget * parent,
- YWidgetOpt & opt,
- const YCPString & subwidget )
-{
- y2error( "The Web UI does not support PkgSpecial subwidgets!" );
- return 0;
-}
-
-
-YWidget * YWebUI::createPushButton ( YWidget * parent,
- YWidgetOpt & opt,
- const YCPString & label )
-{
- return new YWebPushButton( (WContainerWidget *) ( parent->widgetRep()), opt, label);
-}
-
-YWidget * YWebUI::createMenuButton ( YWidget * parent,
- YWidgetOpt & opt,
- const YCPString & label )
-{
- return 0;
-// return new YQMenuButton( (QWidget *) ( parent->widgetRep() ), opt, label);
-}
-
-YWidget * YWebUI::createCheckBox ( YWidget * parent,
- YWidgetOpt & opt,
- const YCPString & label,
- bool checked )
-{
- return 0;
-// return new YQCheckBox( (QWidget *) ( parent->widgetRep() ), opt, label, checked);
-}
-
-YWidget * YWebUI::createRadioButton ( YWidget * parent,
- YWidgetOpt & opt,
- YRadioButtonGroup * rbg,
- const YCPString & label,
- bool checked)
-{
- return 0;
-// return new YQRadioButton( (QWidget *) ( parent->widgetRep() ), opt, rbg, label, checked);
-}
-
-YContainerWidget * YWebUI::createRadioButtonGroup( YWidget * parent,
- YWidgetOpt & opt )
-{
- return 0;
-// return new YQRadioButtonGroup( (QWidget *) ( parent->widgetRep() ), opt );
-}
-
-YWidget * YWebUI::createTextEntry ( YWidget * parent,
- YWidgetOpt & opt,
- const YCPString & label,
- const YCPString & text )
-{
- return 0;
-// return new YQTextEntry( (QWidget *) ( parent->widgetRep() ), opt, label, text);
-}
-
-YWidget * YWebUI::createMultiLineEdit ( YWidget * parent,
- YWidgetOpt & opt,
- const YCPString & label,
- const YCPString & initialText )
-{
- return 0;
-// return new YQMultiLineEdit( (QWidget *) ( parent->widgetRep() ), opt, label, initialText);
-}
-
-YWidget * YWebUI::createSelectionBox ( YWidget * parent,
- YWidgetOpt & opt,
- const YCPString & label )
-{
- return 0;
-// return new YQSelectionBox( (QWidget *) ( parent->widgetRep() ), opt, label);
-}
-
-YWidget * YWebUI::createMultiSelectionBox( YWidget * parent,
- YWidgetOpt & opt,
- const YCPString & label )
-{
- return 0;
-// return new YQMultiSelectionBox( (QWidget *) ( parent->widgetRep() ), opt, label);
-}
-
-YWidget * YWebUI::createComboBox ( YWidget * parent,
- YWidgetOpt & opt,
- const YCPString & label )
-{
- return 0;
-// return new YQComboBox( (QWidget *) ( parent->widgetRep() ), opt, label);
-}
-
-YWidget * YWebUI::createTree ( YWidget * parent,
- YWidgetOpt & opt,
- const YCPString & label )
-{
- return 0;
-// return new YQTree( (QWidget *) ( parent->widgetRep() ), opt, label);
-}
-
-YWidget * YWebUI::createTable ( YWidget * parent,
- YWidgetOpt & opt,
- vector<string> header )
-{
- return 0;
-// return new YQTable( (QWidget *) ( parent->widgetRep() ), opt, header);
-}
-
-YWidget * YWebUI::createProgressBar ( YWidget * parent,
- YWidgetOpt & opt,
- const YCPString & label,
- const YCPInteger & maxProgress,
- const YCPInteger & progress )
-{
- return 0;
-// return new YQProgressBar( (QWidget *) ( parent->widgetRep() ), opt, label, maxProgress, progress );
-}
-
-
-YWidget * YWebUI::createImage ( YWidget * parent,
- YWidgetOpt & opt,
- YCPByteblock imagedata,
- YCPString default_text )
-{
- return 0;
-// return new YQImage( (QWidget *) ( parent->widgetRep() ), opt, imagedata );
-}
-
-YWidget * YWebUI::createImage ( YWidget * parent,
- YWidgetOpt & opt,
- YCPString file_name,
- YCPString default_text )
-{
- return 0;
-// return new YQImage( (QWidget *) ( parent->widgetRep() ), opt, file_name );
-}
-
-
-YWidget * YWebUI::createIntField ( YWidget * parent,
- YWidgetOpt & opt,
- const YCPString & label,
- int minValue,
- int maxValue,
- int initialValue )
-{
- return 0;
-// return new YQIntField( (QWidget *) ( parent->widgetRep() ),
-// opt,
-// label,
-// minValue,
-// maxValue,
-// initialValue );
-}
-
-
//========= Optional widgets ========================================================
bool YWebUI::hasBarGraph()
{
- return true;
+ return false;
}
YWidget * YWebUI::createBarGraph( YWidget * parent, YWidgetOpt & opt)
{
- return 0;
-// return new YQBarGraph( (QWidget *) ( parent->widgetRep() ), opt );
-}
-
-
-bool YWebUI::hasColoredLabel()
-{
- return true;
-}
-
-YWidget * YWebUI::createColoredLabel ( YWidget * parent,
- YWidgetOpt & opt,
- YCPString label,
- YColor foreground,
- YColor background,
- int margin )
-{
-// return new YQColoredLabel( (QWidget *) ( parent->widgetRep() ), opt,
-// label, foreground, background, margin );
- return 0;
+ return 0L; //new YQBarGraph( (QWidget *) ( parent->widgetRep() ), opt );
}
bool YWebUI::hasDownloadProgress()
{
- return true;
+ return false;
}
YWidget * YWebUI::createDownloadProgress ( YWidget * parent,
@@ -396,50 +48,29 @@
const YCPString & filename,
int expectedSize)
{
- return 0;
-// return new YQDownloadProgress( (QWidget *) ( parent->widgetRep() ),
-// opt,
-// label,
-// filename,
-// expectedSize );
+ return 0L; //new YQDownloadProgress( (QWidget *) ( parent->widgetRep() ),
+ // opt,
+ // label,
+ // filename,
+ // expectedSize );
}
bool YWebUI::hasDumbTab()
{
- return true;
+ return false;
}
YWidget * YWebUI::createDumbTab ( YWidget * parent,
YWidgetOpt & opt )
{
- return 0;
-// return new YQDumbTab( (QWidget *) ( parent->widgetRep() ), opt );
-}
-
-
-bool YWebUI::hasMultiProgressMeter()
-{
- return true;
-}
-
-
-YWidget * YWebUI::createMultiProgressMeter( YWidget * parent,
- YWidgetOpt & opt,
- bool horizontal,
- const YCPList & maxValues )
-{
- return 0;
-// return new YQMultiProgressMeter( (QWidget *) ( parent->widgetRep() ),
-// opt,
-// horizontal,
-// maxValues );
+ return 0L; //new YQDumbTab( (QWidget *) ( parent->widgetRep() ), opt );
}
bool YWebUI::hasSlider()
{
- return true;
+ return false;
}
@@ -450,19 +81,18 @@
int maxValue,
int initialValue )
{
- return 0;
-// return new YQSlider( (QWidget *) ( parent->widgetRep() ),
-// opt,
-// label,
-// minValue,
-// maxValue,
-// initialValue );
+ return 0L; // new YQSlider( (QWidget *) ( parent->widgetRep() ),
+ // opt,
+ // label,
+ // minValue,
+ // maxValue,
+ // initialValue );
}
bool YWebUI::hasPartitionSplitter()
{
- return true;
+ return false;
}
YWidget * YWebUI::createPartitionSplitter( YWidget * parent,
@@ -478,89 +108,20 @@
const YCPString & freeFieldLabel,
const YCPString & newPartFieldLabel )
{
- return 0;
-// return new YQPartitionSplitter( (QWidget *) ( parent->widgetRep() ),
-// opt,
-// usedSize,
-// totalFreeSize,
-// newPartSize,
-// minNewPartSize,
-// minFreeSize,
-// usedLabel,
-// freeLabel,
-// newPartLabel,
-// freeFieldLabel,
-// newPartFieldLabel );
-}
-
-
-
-bool YWebUI::hasPatternSelector()
-{
- return true;
-}
-
-
-YWidget * YWebUI::createPatternSelector( YWidget * parent,
- YWidgetOpt & opt )
-{
- return 0;
-#if 0
- YWidget * patternSelector = 0;
- YQPackageSelectorPlugin * plugin = packageSelectorPlugin();
-
- if ( plugin )
- {
- patternSelector = plugin->createPatternSelector( parent, opt );
- }
-
- return patternSelector;
-#endif
-}
-
-
-bool YWebUI::hasSimplePatchSelector()
-{
- return true;
-}
-
-
-YWidget * YWebUI::createSimplePatchSelector( YWidget * parent,
- YWidgetOpt & opt )
-{
- return 0;
-#if 0
- YWidget * simplePatchSelector = 0;
- YQPackageSelectorPlugin * plugin = packageSelectorPlugin();
-
- if ( plugin )
- {
- simplePatchSelector = plugin->createSimplePatchSelector( parent, opt );
- }
-
- return simplePatchSelector;
-#endif
-}
-
-
-
-bool YWebUI::hasWizard()
-{
- return true;
+ return 0L; //new YQPartitionSplitter( (QWidget *) ( parent->widgetRep() ),
+ // opt,
+ // usedSize,
+ // totalFreeSize,
+ // newPartSize,
+ // minNewPartSize,
+ // minFreeSize,
+ // usedLabel,
+ // freeLabel,
+ // newPartLabel,
+ // freeFieldLabel,
+ // newPartFieldLabel );
}
-YWidget * YWebUI::createWizard( YWidget *parent, YWidgetOpt & opt,
- const YCPValue & backButtonId, const YCPString & backButtonLabel,
- const YCPValue & abortButtonId, const YCPString & abortButtonLabel,
- const YCPValue & nextButtonId, const YCPString & nextButtonLabel )
-{
- return 0;
-// return new YQWizard( (QWidget *) ( parent->widgetRep() ), opt,
-// backButtonId, backButtonLabel,
-// abortButtonId, abortButtonLabel,
-// nextButtonId, nextButtonLabel );
-}
-
// EOF
Added: branches/tmp/sh/mod-ui/web-wt/src/YWebWidgetFactory.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/web-wt/src/YWeb…
==============================================================================
--- branches/tmp/sh/mod-ui/web-wt/src/YWebWidgetFactory.cc (added)
+++ branches/tmp/sh/mod-ui/web-wt/src/YWebWidgetFactory.cc Thu Nov 8 09:04:13 2007
@@ -0,0 +1,150 @@
+/*---------------------------------------------------------------------\
+| |
+| __ __ ____ _____ ____ |
+| \ \ / /_ _/ ___|_ _|___ \ |
+| \ V / _` \___ \ | | __) | |
+| | | (_| |___) || | / __/ |
+| |_|\__,_|____/ |_| |_____| |
+| |
+| core system |
+| (C) SuSE GmbH |
+\----------------------------------------------------------------------/
+
+ File: YWebWidgetFactory.cc
+
+ Author: Stanislav Visnovsky <visnov(a)suse.de>
+
+/-*/
+
+#include "YWebWidgetFactory.h"
+
+#include <string>
+
+#include "YTypes.h"
+
+using std::string;
+
+class YWidget;
+class YAlignment;
+class YCheckBox;
+class YCheckBoxFrame;
+class YComboBox;
+class YDialog;
+class YEmpty;
+class YFrame;
+class YImage;
+class YInputField;
+class YIntField;
+class YLabel;
+class YLayoutBox;
+class YLogView;
+class YMenuButton;
+class YMultiLineEdit;
+class YMultiSelectionBox;
+class YPackageSelector;
+class YProgressBar;
+class YPushButton;
+class YRadioButton;
+class YRadioButtonGroup;
+class YReplacePoint;
+class YRichText;
+class YSelectionBox;
+class YSpacing;
+class YSquash;
+class YTable;
+class YTableHeader;
+class YTimeField;
+class YTree;
+
+
+
+/**
+ * Abstract widget factory for mandatory widgets.
+ * Use YOptionalWidgetFactory for optional ("special") widgets.
+ *
+ * Refer to the respective widget's documentation (in the header file) for
+ * documentation about the function parameters.
+ **/
+
+ //
+ // Dialogs
+ //
+
+ YDialog * YWebWidgetFactory::createMainDialog() {}
+ YDialog * YWebWidgetFactory::createPopupDialog() {}
+
+ //
+ // Layout Boxes
+ //
+
+ YLayoutBox * YWebWidgetFactory::createVBox ( YWidget * parent ){}
+ YLayoutBox * YWebWidgetFactory::createHBox ( YWidget * parent ){}
+ YLayoutBox * YWebWidgetFactory::createLayoutBox ( YWidget * parent, YUIDimension dimension ) {}
+
+ //
+ // Common Leaf Widgets
+ //
+
+ YPushButton * YWebWidgetFactory::createPushButton ( YWidget * parent, const string & label ) {}
+ YLabel * YWebWidgetFactory::createLabel ( YWidget * parent, const string & text, bool isHeading, bool isOutputField ) {}
+ YInputField * YWebWidgetFactory::createInputField ( YWidget * parent, const string & label, bool passwordMode ) {}
+ YCheckBox * YWebWidgetFactory::createCheckBox ( YWidget * parent, const string & label, bool isChecked ) {}
+ YRadioButton * YWebWidgetFactory::createRadioButton ( YWidget * parent, const string & label, bool isChecked ) {}
+ YComboBox * YWebWidgetFactory::createComboBox ( YWidget * parent, const string & label, bool editable ) {}
+ YSelectionBox * YWebWidgetFactory::createSelectionBox ( YWidget * parent, const string & label ) {}
+ YTree * YWebWidgetFactory::createTree ( YWidget * parent, const string & label ) {}
+ YTable * YWebWidgetFactory::createTable ( YWidget * parent, YTableHeader * header ) {}
+ YProgressBar * YWebWidgetFactory::createProgressBar ( YWidget * parent, const string & label, int maxValue ) {}
+ YRichText * YWebWidgetFactory::createRichText ( YWidget * parent, const string & text, bool plainTextMode ) {}
+
+ //
+ // Less Common Leaf Widgets
+ //
+
+ YIntField * YWebWidgetFactory::createIntField ( YWidget * parent, const string & label, int minVal, int maxVal, int initialVal ) {}
+
+ YMenuButton * YWebWidgetFactory::createMenuButton ( YWidget * parent, const string & label ) {}
+ YMultiLineEdit * YWebWidgetFactory::createMultiLineEdit ( YWidget * parent, const string & label ) {}
+ YImage * YWebWidgetFactory::createImage ( YWidget * parent, const string & imageFileName, bool animated ) {}
+ YLogView * YWebWidgetFactory::createLogView ( YWidget * parent, const string & label, int visibleLines, int storedLines ) {}
+ YMultiSelectionBox *YWebWidgetFactory::createMultiSelectionBox ( YWidget * parent, const string & label ) {}
+
+ YPackageSelector * YWebWidgetFactory::createPackageSelector( YWidget * parent, long ModeFlags ) {}
+ YWidget * YWebWidgetFactory::createPkgSpecial ( YWidget * parent, const string & subwidgetName ) {} // NCurses only
+
+ //
+ // Layout Helpers
+ //
+
+ YSpacing * YWebWidgetFactory::createSpacing ( YWidget * parent, YUIDimension dim, bool stretchable, YLayoutSize_t size ) {}
+ YEmpty * YWebWidgetFactory::createEmpty ( YWidget * parent ) {}
+
+ YSquash * YWebWidgetFactory::createSquash ( YWidget * parent, bool horSquash, bool vertSquash ) {}
+
+ //
+ // Visual Grouping
+ //
+
+ YFrame * YWebWidgetFactory::createFrame ( YWidget * parent, const string & label ) {}
+ YCheckBoxFrame * YWebWidgetFactory::createCheckBoxFrame ( YWidget * parent, const string & label, bool checked ) {}
+
+ //
+ // Logical Grouping
+ //
+
+ YRadioButtonGroup * YWebWidgetFactory::createRadioButtonGroup ( YWidget * parent ) {}
+ YReplacePoint * YWebWidgetFactory::createReplacePoint ( YWidget * parent ) {}
+
+
+ /**
+ * Constructor.
+ *
+ * Use YUI::widgetFactory() to get the singleton for this class.
+ **/
+ YWebWidgetFactory::YWebWidgetFactory(){}
+
+ /**
+ * Destructory.
+ **/
+ YWebWidgetFactory::~YWebWidgetFactory(){}
+
Added: branches/tmp/sh/mod-ui/web-wt/src/YWebWidgetFactory.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/web-wt/src/YWeb…
==============================================================================
--- branches/tmp/sh/mod-ui/web-wt/src/YWebWidgetFactory.h (added)
+++ branches/tmp/sh/mod-ui/web-wt/src/YWebWidgetFactory.h Thu Nov 8 09:04:13 2007
@@ -0,0 +1,170 @@
+/*---------------------------------------------------------------------\
+| |
+| __ __ ____ _____ ____ |
+| \ \ / /_ _/ ___|_ _|___ \ |
+| \ V / _` \___ \ | | __) | |
+| | | (_| |___) || | / __/ |
+| |_|\__,_|____/ |_| |_____| |
+| |
+| core system |
+| (C) SuSE GmbH |
+\----------------------------------------------------------------------/
+
+ File: YWebWidgetFactory.h
+
+ Author: Stefan Hundhammer <sh(a)suse.de>
+ Stanislav Visnovsky <visnov(a)suse.de>
+
+/-*/
+
+#ifndef YWebWidgetFactory_h
+#define YWebWidgetFactory_h
+
+#include <yui/YWidgetFactory.h>
+
+#include <string>
+
+#include "YTypes.h"
+
+using std::string;
+
+class YWidget;
+class YAlignment;
+class YCheckBox;
+class YCheckBoxFrame;
+class YComboBox;
+class YDialog;
+class YEmpty;
+class YFrame;
+class YImage;
+class YInputField;
+class YIntField;
+class YLabel;
+class YLayoutBox;
+class YLogView;
+class YMenuButton;
+class YMultiLineEdit;
+class YMultiSelectionBox;
+class YPackageSelector;
+class YProgressBar;
+class YPushButton;
+class YRadioButton;
+class YRadioButtonGroup;
+class YReplacePoint;
+class YRichText;
+class YSelectionBox;
+class YSpacing;
+class YSquash;
+class YTable;
+class YTableHeader;
+class YTimeField;
+class YTree;
+
+
+
+/**
+ * Abstract widget factory for mandatory widgets.
+ * Use YOptionalWidgetFactory for optional ("special") widgets.
+ *
+ * Refer to the respective widget's documentation (in the header file) for
+ * documentation about the function parameters.
+ **/
+class YWebWidgetFactory: public YWidgetFactory
+{
+public:
+
+ //
+ // Dialogs
+ //
+
+ virtual YDialog * createMainDialog() ;
+ virtual YDialog * createPopupDialog() ;
+
+ //
+ // Layout Boxes
+ //
+
+ YLayoutBox * createVBox ( YWidget * parent );
+ YLayoutBox * createHBox ( YWidget * parent );
+ virtual YLayoutBox * createLayoutBox ( YWidget * parent, YUIDimension dimension ) ;
+
+ virtual YAlignment * createAlignment ( YWidget * parent, YAlignmentType horAlignment, YAlignmentType vertAlignment ) ;
+ //
+ // Common Leaf Widgets
+ //
+
+ virtual YPushButton * createPushButton ( YWidget * parent, const string & label ) ;
+ virtual YLabel * createLabel ( YWidget * parent, const string & text, bool isHeading = false, bool isOutputField = false ) ;
+ virtual YInputField * createInputField ( YWidget * parent, const string & label, bool passwordMode = false ) ;
+ virtual YCheckBox * createCheckBox ( YWidget * parent, const string & label, bool isChecked = false ) ;
+ virtual YRadioButton * createRadioButton ( YWidget * parent, const string & label, bool isChecked = false ) ;
+ virtual YComboBox * createComboBox ( YWidget * parent, const string & label, bool editable = false ) ;
+ virtual YSelectionBox * createSelectionBox ( YWidget * parent, const string & label ) ;
+ virtual YTree * createTree ( YWidget * parent, const string & label ) ;
+ virtual YTable * createTable ( YWidget * parent, YTableHeader * header ) ;
+ virtual YProgressBar * createProgressBar ( YWidget * parent, const string & label, int maxValue = 100 ) ;
+ virtual YRichText * createRichText ( YWidget * parent, const string & text, bool plainTextMode = false ) ;
+
+ //
+ // Less Common Leaf Widgets
+ //
+
+ virtual YIntField * createIntField ( YWidget * parent, const string & label, int minVal, int maxVal, int initialVal ) ;
+
+ virtual YMenuButton * createMenuButton ( YWidget * parent, const string & label ) ;
+ virtual YMultiLineEdit * createMultiLineEdit ( YWidget * parent, const string & label ) ;
+ virtual YImage * createImage ( YWidget * parent, const string & imageFileName, bool animated = false ) ;
+ virtual YLogView * createLogView ( YWidget * parent, const string & label, int visibleLines, int storedLines = 0 ) ;
+ virtual YMultiSelectionBox *createMultiSelectionBox ( YWidget * parent, const string & label ) ;
+
+ virtual YPackageSelector * createPackageSelector ( YWidget * parent, long ModeFlags = 0 ) ;
+ virtual YWidget * createPkgSpecial ( YWidget * parent, const string & subwidgetName ) ; // NCurses only
+
+ //
+ // Layout Helpers
+ //
+
+ YSpacing * createHStretch ( YWidget * parent );
+ YSpacing * createVStretch ( YWidget * parent );
+ YSpacing * createHSpacing ( YWidget * parent, YLayoutSize_t size = 1.0 );
+ YSpacing * createVSpacing ( YWidget * parent, YLayoutSize_t size = 1.0 );
+ virtual YSpacing * createSpacing ( YWidget * parent, YUIDimension dim, bool stretchable = false, YLayoutSize_t size = 0.0 ) ;
+ virtual YEmpty * createEmpty ( YWidget * parent ) ;
+
+ virtual YSquash * createSquash ( YWidget * parent, bool horSquash, bool vertSquash ) ;
+
+ //
+ // Visual Grouping
+ //
+
+ virtual YFrame * createFrame ( YWidget * parent, const string & label ) ;
+ virtual YCheckBoxFrame * createCheckBoxFrame ( YWidget * parent, const string & label, bool checked ) ;
+
+ //
+ // Logical Grouping
+ //
+
+ virtual YRadioButtonGroup * createRadioButtonGroup ( YWidget * parent ) ;
+ virtual YReplacePoint * createReplacePoint ( YWidget * parent ) ;
+
+
+protected:
+
+ friend class YWebUI;
+
+ /**
+ * Constructor.
+ *
+ * Use YUI::widgetFactory() to get the singleton for this class.
+ **/
+ YWebWidgetFactory();
+
+ /**
+ * Destructory.
+ **/
+ virtual ~YWebWidgetFactory();
+
+}; // class YWebWidgetFactory
+
+
+#endif // YWebWidgetFactory_h
--
To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
[yast-commit] r41871 - /branches/tmp/sh/mod-ui/web-wt/src/Makefile.am
by visnov@svn.opensuse.org 08 Nov '07
by visnov@svn.opensuse.org 08 Nov '07
08 Nov '07
Author: visnov
Date: Thu Nov 8 09:03:59 2007
New Revision: 41871
URL: http://svn.opensuse.org/viewcvs/yast?rev=41871&view=rev
Log:
compile
Modified:
branches/tmp/sh/mod-ui/web-wt/src/Makefile.am
Modified: branches/tmp/sh/mod-ui/web-wt/src/Makefile.am
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/web-wt/src/Make…
==============================================================================
--- branches/tmp/sh/mod-ui/web-wt/src/Makefile.am (original)
+++ branches/tmp/sh/mod-ui/web-wt/src/Makefile.am Thu Nov 8 09:03:59 2007
@@ -17,22 +17,18 @@
# compile using internal wthttp daemon
libpy2web_la_LIBADD = \
- -L$(libdir) -lyui \
+ -L$(plugindir) -lpy2UI \
-lboost_thread-mt -lboost_signals -lboost_program_options -lxerces-c -lwt -lwthttp
noinst_HEADERS = $(wildcard *.h)
libpy2web_la_SOURCES = \
Y2CCWeb.cc \
- YWebWidget.cc \
\
- YWebDialog.cc \
YWebUI_core.cc \
YWebUI_widgets.cc \
YWebUI_builtins.cc \
- YWebLabel.cc \
- YWebPushButton.cc \
- YWebSplit.cc
+ YWebWidgetFactory.cc
# YQPackageSelectorPlugin.cc \
--
To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
[yast-commit] r41870 - in /branches/tmp/jdsn/edu-users: ./ agents/ doc/ doc/autodocs/ package/ src/ testsuite/ testsuite/tests/
by jdsn@svn.opensuse.org 07 Nov '07
by jdsn@svn.opensuse.org 07 Nov '07
07 Nov '07
Author: jdsn
Date: Wed Nov 7 22:44:02 2007
New Revision: 41870
URL: http://svn.opensuse.org/viewcvs/yast?rev=41870&view=rev
Log:
initial checkin of edu-users module
Added:
branches/tmp/jdsn/edu-users/
branches/tmp/jdsn/edu-users/.cvsignore
branches/tmp/jdsn/edu-users/MAINTAINER
branches/tmp/jdsn/edu-users/Makefile.cvs
branches/tmp/jdsn/edu-users/RPMNAME
branches/tmp/jdsn/edu-users/VERSION
branches/tmp/jdsn/edu-users/agents/
branches/tmp/jdsn/edu-users/agents/.cvsignore
branches/tmp/jdsn/edu-users/agents/Makefile
branches/tmp/jdsn/edu-users/agents/Makefile.am
branches/tmp/jdsn/edu-users/agents/Makefile.in
branches/tmp/jdsn/edu-users/configure.in.in
branches/tmp/jdsn/edu-users/doc/
branches/tmp/jdsn/edu-users/doc/.cvsignore
branches/tmp/jdsn/edu-users/doc/Makefile.am
branches/tmp/jdsn/edu-users/doc/autodocs/
branches/tmp/jdsn/edu-users/doc/autodocs/.cvsignore
branches/tmp/jdsn/edu-users/doc/autodocs/Makefile
branches/tmp/jdsn/edu-users/doc/autodocs/Makefile.am
branches/tmp/jdsn/edu-users/doc/autodocs/Makefile.in
branches/tmp/jdsn/edu-users/package/
branches/tmp/jdsn/edu-users/package/.cvsignore
branches/tmp/jdsn/edu-users/package/yast2-edu-users.changes
branches/tmp/jdsn/edu-users/src/
branches/tmp/jdsn/edu-users/src/.cvsignore
branches/tmp/jdsn/edu-users/src/EduUsers.ycp
branches/tmp/jdsn/edu-users/src/EduUsers2.pm
branches/tmp/jdsn/edu-users/src/Makefile.am
branches/tmp/jdsn/edu-users/src/complex.ycp
branches/tmp/jdsn/edu-users/src/dialogs.ycp
branches/tmp/jdsn/edu-users/src/edu-users.desktop
branches/tmp/jdsn/edu-users/src/edu-users.rnc
branches/tmp/jdsn/edu-users/src/edu-users_auto.ycp
branches/tmp/jdsn/edu-users/src/edu-users_proposal.ycp
branches/tmp/jdsn/edu-users/src/helps.ycp
branches/tmp/jdsn/edu-users/src/inst_edu-users.ycp
branches/tmp/jdsn/edu-users/src/sysconfig.edu-users-yast2-edu-users
branches/tmp/jdsn/edu-users/src/wizards.ycp
branches/tmp/jdsn/edu-users/testsuite/
branches/tmp/jdsn/edu-users/testsuite/.cvsignore
branches/tmp/jdsn/edu-users/testsuite/Makefile
branches/tmp/jdsn/edu-users/testsuite/Makefile.am
branches/tmp/jdsn/edu-users/testsuite/Makefile.in
branches/tmp/jdsn/edu-users/testsuite/tests/
branches/tmp/jdsn/edu-users/testsuite/tests/.cvsignore
branches/tmp/jdsn/edu-users/testsuite/tests/EduUsers.err
branches/tmp/jdsn/edu-users/testsuite/tests/EduUsers.out
branches/tmp/jdsn/edu-users/testsuite/tests/EduUsers.ycp
branches/tmp/jdsn/edu-users/yast2-edu-users.spec.in
Added: branches/tmp/jdsn/edu-users/.cvsignore
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/.cvsignore…
==============================================================================
--- branches/tmp/jdsn/edu-users/.cvsignore (added)
+++ branches/tmp/jdsn/edu-users/.cvsignore Wed Nov 7 22:44:02 2007
@@ -0,0 +1,20 @@
+Makefile
+Makefile.am
+Makefile.am.common
+Makefile.in
+aclocal.m4
+config.cache
+config.guess
+config.h.in
+config.log
+config.status
+config.sub
+configure
+configure.in
+depcomp
+install-sh
+missing
+mkinstalldirs
+stamp-h
+edu-users.pot
+autom4te.cache
Added: branches/tmp/jdsn/edu-users/MAINTAINER
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/MAINTAINER…
==============================================================================
--- branches/tmp/jdsn/edu-users/MAINTAINER (added)
+++ branches/tmp/jdsn/edu-users/MAINTAINER Wed Nov 7 22:44:02 2007
@@ -0,0 +1 @@
+J. Daniel Schmidt <jdsn(a)suse.de>
Added: branches/tmp/jdsn/edu-users/Makefile.cvs
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/Makefile.c…
==============================================================================
--- branches/tmp/jdsn/edu-users/Makefile.cvs (added)
+++ branches/tmp/jdsn/edu-users/Makefile.cvs Wed Nov 7 22:44:02 2007
@@ -0,0 +1,18 @@
+#
+# Makefile.cvs
+#
+configure: all
+ ./configure
+
+all:
+ y2tool y2autoconf
+ y2tool y2automake
+ autoreconf --force --install
+
+install: configure
+ make
+ make install
+
+reconf: all
+ ./config.status --recheck
+ ./config.status
Added: branches/tmp/jdsn/edu-users/RPMNAME
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/RPMNAME?re…
==============================================================================
--- branches/tmp/jdsn/edu-users/RPMNAME (added)
+++ branches/tmp/jdsn/edu-users/RPMNAME Wed Nov 7 22:44:02 2007
@@ -0,0 +1 @@
+yast2-edu-users
Added: branches/tmp/jdsn/edu-users/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/VERSION?re…
==============================================================================
--- branches/tmp/jdsn/edu-users/VERSION (added)
+++ branches/tmp/jdsn/edu-users/VERSION Wed Nov 7 22:44:02 2007
@@ -0,0 +1 @@
+2.13.0
Added: branches/tmp/jdsn/edu-users/agents/.cvsignore
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/agents/.cv…
==============================================================================
--- branches/tmp/jdsn/edu-users/agents/.cvsignore (added)
+++ branches/tmp/jdsn/edu-users/agents/.cvsignore Wed Nov 7 22:44:02 2007
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
Added: branches/tmp/jdsn/edu-users/agents/Makefile
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/agents/Mak…
==============================================================================
--- branches/tmp/jdsn/edu-users/agents/Makefile (added)
+++ branches/tmp/jdsn/edu-users/agents/Makefile Wed Nov 7 22:44:02 2007
@@ -0,0 +1,413 @@
+# Makefile.in generated by automake 1.9.5 from Makefile.am.
+# ./devtools/skeletons/config/agents/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+# Makefile.am for edu-users/agents
+
+
+srcdir = .
+top_srcdir = ../../../..
+
+pkgdatadir = $(datadir)/yast2-devtools
+pkglibdir = $(libdir)/yast2-devtools
+pkgincludedir = $(includedir)/yast2-devtools
+top_builddir = ../../../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c -p
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = ia64-suse-linux
+host_triplet = ia64-suse-linux
+target_triplet = ia64-suse-linux
+subdir = ./devtools/skeletons/config/agents
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_CLEAN_FILES =
+am__installdirs = "$(DESTDIR)$(agentdir)" "$(DESTDIR)$(scrconfdir)"
+agentSCRIPT_INSTALL = $(INSTALL_SCRIPT)
+SCRIPTS = $(agent_SCRIPTS)
+SOURCES =
+DIST_SOURCES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+scrconfDATA_INSTALL = $(INSTALL_DATA)
+DATA = $(scrconf_DATA)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /local/yast2/trunk/devtools/missing --run aclocal-1.9
+AMDEP_FALSE = #
+AMDEP_TRUE =
+AMTAR = ${SHELL} /local/yast2/trunk/devtools/missing --run tar
+AR = ar
+AUTOCONF = ${SHELL} /local/yast2/trunk/devtools/missing --run autoconf
+AUTOHEADER = ${SHELL} /local/yast2/trunk/devtools/missing --run autoheader
+AUTOMAKE = ${SHELL} /local/yast2/trunk/devtools/missing --run automake-1.9
+AWK = gawk
+CAT_ENTRY_END = -->
+CAT_ENTRY_START = <!--
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CREATE_PKGCONFIG_FALSE = #
+CREATE_PKGCONFIG_TRUE =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DPACKAGE_NAME=\"yast2-devtools\" -DPACKAGE_TARNAME=\"yast2-devtools\" -DPACKAGE_VERSION=\"2.12.0\" -DPACKAGE_STRING=\"yast2-devtools\ 2.12.0\" -DPACKAGE_BUGREPORT=\"http://www.suse.de/feedback\" -DPACKAGE=\"yast2-devtools\" -DVERSION=\"2.12.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
+DEPDIR = .deps
+DOCBOOK_ROOT =
+ECHO = echo
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = grep -E
+EXEEXT =
+F77 = g77
+FFLAGS = -g -O2
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+LDFLAGS =
+LIBOBJS =
+LIBS =
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+LTLIBOBJS =
+MAINTAINER = Martin Vidner <mvidner(a)suse.cz>
+MAKEINFO = ${SHELL} /local/yast2/trunk/devtools/missing --run makeinfo
+OBJEXT = o
+PACKAGE = yast2-devtools
+PACKAGE_BUGREPORT = http://www.suse.de/feedback
+PACKAGE_NAME = yast2-devtools
+PACKAGE_STRING = yast2-devtools 2.12.0
+PACKAGE_TARNAME = yast2-devtools
+PACKAGE_VERSION = 2.12.0
+PATH_SEPARATOR = :
+PERL = perl
+PKG_CONFIG_PATH = /usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/opt/gnome/lib/pkgconfig
+RANLIB = ranlib
+RPMNAME = yast2-devtools
+SET_MAKE =
+SHELL = /bin/sh
+STRIP = strip
+STYLESHEET_CSS = /usr/share/YaST2/data/docbook/css/yast2docs.css
+STYLESHEET_HTML = /usr/share/YaST2/data/docbook/stylesheets/customize-html.xsl
+STYLESHEET_PDF = /usr/share/YaST2/data/docbook/stylesheets/customize-fo.xsl
+STYLESHEET_YCPDOC = /usr/share/YaST2/data/docbook/stylesheets/ycpdoc.xsl
+STYLESHEET_YDOC = /usr/share/YaST2/data/docbook/stylesheets/ydoc.xsl
+VERSION = 2.12.0
+XGETTEXT = /usr/bin/xgettext
+XML_CATALOG = /etc/xml/catalog
+XSLTPROC = /usr/bin/xsltproc
+XSLTPROC_FLAGS = --nonet
+YAST2DEVTOOLS = ${prefix}/share/YaST2/data/devtools
+YCPDOC = ./ycpdoc/src/ycpdoc
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = g77
+ac_ct_RANLIB = ranlib
+ac_ct_STRIP = strip
+agentdir = ${prefix}/lib/YaST2/servers_non_y2
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE =
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = tar --format=ustar -chf - "$$tardir"
+am__untar = tar -xf -
+bindir = ${exec_prefix}/bin
+build = ia64-suse-linux
+build_alias =
+build_cpu = ia64
+build_os = linux
+build_vendor = suse
+clientdir = ${prefix}/share/YaST2/clients
+datadir = ${prefix}/share
+desktopdir = ${prefix}/share/applications/YaST2
+docdir = ${prefix}/share/doc/packages/yast2-devtools
+exec_prefix = ${prefix}
+execcompdir = ${prefix}/lib/YaST2
+have_xsltproc_FALSE = #
+have_xsltproc_TRUE =
+host = ia64-suse-linux
+host_alias =
+host_cpu = ia64
+host_os = linux
+host_vendor = suse
+imagedir = ${prefix}/share/YaST2/images
+includedir = ${prefix}/include/YaST2
+infodir = ${prefix}/info
+install_sh = /local/yast2/trunk/devtools/install-sh
+libdir = /usr/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${prefix}/share/YaST2/locale
+localstatedir = ${prefix}/var
+mandir = ${prefix}/share/man
+mkdir_p = mkdir -p --
+moduledir = ${prefix}/share/YaST2/modules
+oldincludedir = /usr/include
+pkgconfigdir = ${libdir}/pkgconfig
+plugindir = ${libdir}/YaST2/plugin
+potdir = ${docdir}/pot
+prefix = /usr
+program_transform_name = s,x,x,
+sbindir = ${exec_prefix}/sbin
+schemadir = ${prefix}/share/YaST2/schema
+scrconfdir = ${prefix}/share/YaST2/scrconf
+sharedstatedir = ${prefix}/com
+sysconfdir = ${prefix}/etc
+target = ia64-suse-linux
+target_alias =
+target_cpu = ia64
+target_os = linux
+target_vendor = suse
+themedir = ${prefix}/share/YaST2/theme
+yast2dir = ${prefix}/share/YaST2
+ybindir = ${prefix}/lib/YaST2/bin
+ydatadir = ${prefix}/share/YaST2/data
+yncludedir = ${prefix}/share/YaST2/include
+ystartupdir = ${prefix}/lib/YaST2
+agent_SCRIPTS =
+scrconf_DATA =
+EXTRA_DIST = $(agent_SCRIPTS) $(scrconf_DATA)
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ./devtools/skeletons/config/agents/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu ./devtools/skeletons/config/agents/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+install-agentSCRIPTS: $(agent_SCRIPTS)
+ @$(NORMAL_INSTALL)
+ test -z "$(agentdir)" || $(mkdir_p) "$(DESTDIR)$(agentdir)"
+ @list='$(agent_SCRIPTS)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ if test -f $$d$$p; then \
+ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
+ echo " $(agentSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(agentdir)/$$f'"; \
+ $(agentSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(agentdir)/$$f"; \
+ else :; fi; \
+ done
+
+uninstall-agentSCRIPTS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(agent_SCRIPTS)'; for p in $$list; do \
+ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
+ echo " rm -f '$(DESTDIR)$(agentdir)/$$f'"; \
+ rm -f "$(DESTDIR)$(agentdir)/$$f"; \
+ done
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+install-scrconfDATA: $(scrconf_DATA)
+ @$(NORMAL_INSTALL)
+ test -z "$(scrconfdir)" || $(mkdir_p) "$(DESTDIR)$(scrconfdir)"
+ @list='$(scrconf_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(am__strip_dir) \
+ echo " $(scrconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(scrconfdir)/$$f'"; \
+ $(scrconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(scrconfdir)/$$f"; \
+ done
+
+uninstall-scrconfDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(scrconf_DATA)'; for p in $$list; do \
+ f=$(am__strip_dir) \
+ echo " rm -f '$(DESTDIR)$(scrconfdir)/$$f'"; \
+ rm -f "$(DESTDIR)$(scrconfdir)/$$f"; \
+ done
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(SCRIPTS) $(DATA)
+installdirs:
+ for dir in "$(DESTDIR)$(agentdir)" "$(DESTDIR)$(scrconfdir)"; do \
+ test -z "$$dir" || $(mkdir_p) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-libtool
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am: install-agentSCRIPTS install-scrconfDATA
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-agentSCRIPTS uninstall-info-am \
+ uninstall-scrconfDATA
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ distclean distclean-generic distclean-libtool distdir dvi \
+ dvi-am html html-am info info-am install install-agentSCRIPTS \
+ install-am install-data install-data-am install-exec \
+ install-exec-am install-info install-info-am install-man \
+ install-scrconfDATA install-strip installcheck installcheck-am \
+ installdirs maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
+ ps ps-am uninstall uninstall-agentSCRIPTS uninstall-am \
+ uninstall-info-am uninstall-scrconfDATA
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Added: branches/tmp/jdsn/edu-users/agents/Makefile.am
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/agents/Mak…
==============================================================================
--- branches/tmp/jdsn/edu-users/agents/Makefile.am (added)
+++ branches/tmp/jdsn/edu-users/agents/Makefile.am Wed Nov 7 22:44:02 2007
@@ -0,0 +1,7 @@
+# Makefile.am for edu-users/agents
+
+agent_SCRIPTS =
+
+scrconf_DATA =
+
+EXTRA_DIST = $(agent_SCRIPTS) $(scrconf_DATA)
Added: branches/tmp/jdsn/edu-users/agents/Makefile.in
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/agents/Mak…
==============================================================================
--- branches/tmp/jdsn/edu-users/agents/Makefile.in (added)
+++ branches/tmp/jdsn/edu-users/agents/Makefile.in Wed Nov 7 22:44:02 2007
@@ -0,0 +1,413 @@
+# Makefile.in generated by automake 1.9.5 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# Makefile.am for edu-users/agents
+
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ../../../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = ./devtools/skeletons/config/agents
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_CLEAN_FILES =
+am__installdirs = "$(DESTDIR)$(agentdir)" "$(DESTDIR)$(scrconfdir)"
+agentSCRIPT_INSTALL = $(INSTALL_SCRIPT)
+SCRIPTS = $(agent_SCRIPTS)
+SOURCES =
+DIST_SOURCES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+scrconfDATA_INSTALL = $(INSTALL_DATA)
+DATA = $(scrconf_DATA)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AR = @AR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAT_ENTRY_END = @CAT_ENTRY_END@
+CAT_ENTRY_START = @CAT_ENTRY_START@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CREATE_PKGCONFIG_FALSE = @CREATE_PKGCONFIG_FALSE@
+CREATE_PKGCONFIG_TRUE = @CREATE_PKGCONFIG_TRUE@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DOCBOOK_ROOT = @DOCBOOK_ROOT@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAINTAINER = @MAINTAINER@
+MAKEINFO = @MAKEINFO@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PERL = @PERL@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+RANLIB = @RANLIB@
+RPMNAME = @RPMNAME@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+STYLESHEET_CSS = @STYLESHEET_CSS@
+STYLESHEET_HTML = @STYLESHEET_HTML@
+STYLESHEET_PDF = @STYLESHEET_PDF@
+STYLESHEET_YCPDOC = @STYLESHEET_YCPDOC@
+STYLESHEET_YDOC = @STYLESHEET_YDOC@
+VERSION = @VERSION@
+XGETTEXT = @XGETTEXT@
+XML_CATALOG = @XML_CATALOG@
+XSLTPROC = @XSLTPROC@
+XSLTPROC_FLAGS = @XSLTPROC_FLAGS@
+YAST2DEVTOOLS = @YAST2DEVTOOLS@
+YCPDOC = @YCPDOC@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+ac_ct_RANLIB = @ac_ct_RANLIB@
+ac_ct_STRIP = @ac_ct_STRIP@
+agentdir = @agentdir@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+clientdir = @clientdir@
+datadir = @datadir@
+desktopdir = @desktopdir@
+docdir = @docdir@
+exec_prefix = @exec_prefix@
+execcompdir = @execcompdir@
+have_xsltproc_FALSE = @have_xsltproc_FALSE@
+have_xsltproc_TRUE = @have_xsltproc_TRUE@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+imagedir = @imagedir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+moduledir = @moduledir@
+oldincludedir = @oldincludedir@
+pkgconfigdir = @pkgconfigdir@
+plugindir = @plugindir@
+potdir = @potdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+sbindir = @sbindir@
+schemadir = @schemadir@
+scrconfdir = @scrconfdir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+themedir = @themedir@
+yast2dir = @yast2dir@
+ybindir = @ybindir@
+ydatadir = @ydatadir@
+yncludedir = @yncludedir@
+ystartupdir = @ystartupdir@
+agent_SCRIPTS =
+scrconf_DATA =
+EXTRA_DIST = $(agent_SCRIPTS) $(scrconf_DATA)
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ./devtools/skeletons/config/agents/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu ./devtools/skeletons/config/agents/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+install-agentSCRIPTS: $(agent_SCRIPTS)
+ @$(NORMAL_INSTALL)
+ test -z "$(agentdir)" || $(mkdir_p) "$(DESTDIR)$(agentdir)"
+ @list='$(agent_SCRIPTS)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ if test -f $$d$$p; then \
+ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
+ echo " $(agentSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(agentdir)/$$f'"; \
+ $(agentSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(agentdir)/$$f"; \
+ else :; fi; \
+ done
+
+uninstall-agentSCRIPTS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(agent_SCRIPTS)'; for p in $$list; do \
+ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
+ echo " rm -f '$(DESTDIR)$(agentdir)/$$f'"; \
+ rm -f "$(DESTDIR)$(agentdir)/$$f"; \
+ done
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+install-scrconfDATA: $(scrconf_DATA)
+ @$(NORMAL_INSTALL)
+ test -z "$(scrconfdir)" || $(mkdir_p) "$(DESTDIR)$(scrconfdir)"
+ @list='$(scrconf_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(am__strip_dir) \
+ echo " $(scrconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(scrconfdir)/$$f'"; \
+ $(scrconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(scrconfdir)/$$f"; \
+ done
+
+uninstall-scrconfDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(scrconf_DATA)'; for p in $$list; do \
+ f=$(am__strip_dir) \
+ echo " rm -f '$(DESTDIR)$(scrconfdir)/$$f'"; \
+ rm -f "$(DESTDIR)$(scrconfdir)/$$f"; \
+ done
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(SCRIPTS) $(DATA)
+installdirs:
+ for dir in "$(DESTDIR)$(agentdir)" "$(DESTDIR)$(scrconfdir)"; do \
+ test -z "$$dir" || $(mkdir_p) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-libtool
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am: install-agentSCRIPTS install-scrconfDATA
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-agentSCRIPTS uninstall-info-am \
+ uninstall-scrconfDATA
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ distclean distclean-generic distclean-libtool distdir dvi \
+ dvi-am html html-am info info-am install install-agentSCRIPTS \
+ install-am install-data install-data-am install-exec \
+ install-exec-am install-info install-info-am install-man \
+ install-scrconfDATA install-strip installcheck installcheck-am \
+ installdirs maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
+ ps ps-am uninstall uninstall-agentSCRIPTS uninstall-am \
+ uninstall-info-am uninstall-scrconfDATA
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Added: branches/tmp/jdsn/edu-users/configure.in.in
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/configure.…
==============================================================================
--- branches/tmp/jdsn/edu-users/configure.in.in (added)
+++ branches/tmp/jdsn/edu-users/configure.in.in Wed Nov 7 22:44:02 2007
@@ -0,0 +1,12 @@
+## YCP module configure.in.in
+
+## Initialize
+@YAST2-INIT-COMMON@
+@YAST2-INIT-YCP@
+
+## some common checks
+@YAST2-CHECKS-COMMON@
+@YAST2-CHECKS-YCP@
+
+## and generate the output...
+@YAST2-OUTPUT@
Added: branches/tmp/jdsn/edu-users/doc/.cvsignore
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/doc/.cvsig…
==============================================================================
--- branches/tmp/jdsn/edu-users/doc/.cvsignore (added)
+++ branches/tmp/jdsn/edu-users/doc/.cvsignore Wed Nov 7 22:44:02 2007
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
Added: branches/tmp/jdsn/edu-users/doc/Makefile.am
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/doc/Makefi…
==============================================================================
--- branches/tmp/jdsn/edu-users/doc/Makefile.am (added)
+++ branches/tmp/jdsn/edu-users/doc/Makefile.am Wed Nov 7 22:44:02 2007
@@ -0,0 +1,10 @@
+# Makefile.am for edu-users/doc
+
+SUBDIRS = autodocs
+
+htmldir = $(docdir)
+
+doc_DATA =
+html_DATA =
+
+EXTRA_DIST = $(doc_DATA) $(html_DATA)
Added: branches/tmp/jdsn/edu-users/doc/autodocs/.cvsignore
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/doc/autodo…
==============================================================================
--- branches/tmp/jdsn/edu-users/doc/autodocs/.cvsignore (added)
+++ branches/tmp/jdsn/edu-users/doc/autodocs/.cvsignore Wed Nov 7 22:44:02 2007
@@ -0,0 +1,3 @@
+Makefile
+Makefile.in
+*.html
Added: branches/tmp/jdsn/edu-users/doc/autodocs/Makefile
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/doc/autodo…
==============================================================================
--- branches/tmp/jdsn/edu-users/doc/autodocs/Makefile (added)
+++ branches/tmp/jdsn/edu-users/doc/autodocs/Makefile Wed Nov 7 22:44:02 2007
@@ -0,0 +1,393 @@
+# Makefile.in generated by automake 1.9.5 from Makefile.am.
+# ./devtools/skeletons/config/doc/autodocs/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+# Makefile.am for edu-users/doc/autodocs
+
+srcdir = .
+top_srcdir = ../../../../..
+
+pkgdatadir = $(datadir)/yast2-devtools
+pkglibdir = $(libdir)/yast2-devtools
+pkgincludedir = $(includedir)/yast2-devtools
+top_builddir = ../../../../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c -p
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = ia64-suse-linux
+host_triplet = ia64-suse-linux
+target_triplet = ia64-suse-linux
+subdir = ./devtools/skeletons/config/doc/autodocs
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_CLEAN_FILES =
+SOURCES =
+DIST_SOURCES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(htmldir)"
+htmlDATA_INSTALL = $(INSTALL_DATA)
+DATA = $(html_DATA)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /local/yast2/trunk/devtools/missing --run aclocal-1.9
+AMDEP_FALSE = #
+AMDEP_TRUE =
+AMTAR = ${SHELL} /local/yast2/trunk/devtools/missing --run tar
+AR = ar
+AUTOCONF = ${SHELL} /local/yast2/trunk/devtools/missing --run autoconf
+AUTOHEADER = ${SHELL} /local/yast2/trunk/devtools/missing --run autoheader
+AUTOMAKE = ${SHELL} /local/yast2/trunk/devtools/missing --run automake-1.9
+AWK = gawk
+CAT_ENTRY_END = -->
+CAT_ENTRY_START = <!--
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CREATE_PKGCONFIG_FALSE = #
+CREATE_PKGCONFIG_TRUE =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DPACKAGE_NAME=\"yast2-devtools\" -DPACKAGE_TARNAME=\"yast2-devtools\" -DPACKAGE_VERSION=\"2.12.0\" -DPACKAGE_STRING=\"yast2-devtools\ 2.12.0\" -DPACKAGE_BUGREPORT=\"http://www.suse.de/feedback\" -DPACKAGE=\"yast2-devtools\" -DVERSION=\"2.12.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
+DEPDIR = .deps
+DOCBOOK_ROOT =
+ECHO = echo
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = grep -E
+EXEEXT =
+F77 = g77
+FFLAGS = -g -O2
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+LDFLAGS =
+LIBOBJS =
+LIBS =
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+LTLIBOBJS =
+MAINTAINER = Martin Vidner <mvidner(a)suse.cz>
+MAKEINFO = ${SHELL} /local/yast2/trunk/devtools/missing --run makeinfo
+OBJEXT = o
+PACKAGE = yast2-devtools
+PACKAGE_BUGREPORT = http://www.suse.de/feedback
+PACKAGE_NAME = yast2-devtools
+PACKAGE_STRING = yast2-devtools 2.12.0
+PACKAGE_TARNAME = yast2-devtools
+PACKAGE_VERSION = 2.12.0
+PATH_SEPARATOR = :
+PERL = perl
+PKG_CONFIG_PATH = /usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/opt/gnome/lib/pkgconfig
+RANLIB = ranlib
+RPMNAME = yast2-devtools
+SET_MAKE =
+SHELL = /bin/sh
+STRIP = strip
+STYLESHEET_CSS = /usr/share/YaST2/data/docbook/css/yast2docs.css
+STYLESHEET_HTML = /usr/share/YaST2/data/docbook/stylesheets/customize-html.xsl
+STYLESHEET_PDF = /usr/share/YaST2/data/docbook/stylesheets/customize-fo.xsl
+STYLESHEET_YCPDOC = /usr/share/YaST2/data/docbook/stylesheets/ycpdoc.xsl
+STYLESHEET_YDOC = /usr/share/YaST2/data/docbook/stylesheets/ydoc.xsl
+VERSION = 2.12.0
+XGETTEXT = /usr/bin/xgettext
+XML_CATALOG = /etc/xml/catalog
+XSLTPROC = /usr/bin/xsltproc
+XSLTPROC_FLAGS = --nonet
+YAST2DEVTOOLS = ${prefix}/share/YaST2/data/devtools
+YCPDOC = ./ycpdoc/src/ycpdoc
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = g77
+ac_ct_RANLIB = ranlib
+ac_ct_STRIP = strip
+agentdir = ${prefix}/lib/YaST2/servers_non_y2
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE =
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = tar --format=ustar -chf - "$$tardir"
+am__untar = tar -xf -
+bindir = ${exec_prefix}/bin
+build = ia64-suse-linux
+build_alias =
+build_cpu = ia64
+build_os = linux
+build_vendor = suse
+clientdir = ${prefix}/share/YaST2/clients
+datadir = ${prefix}/share
+desktopdir = ${prefix}/share/applications/YaST2
+docdir = ${prefix}/share/doc/packages/yast2-devtools
+exec_prefix = ${prefix}
+execcompdir = ${prefix}/lib/YaST2
+have_xsltproc_FALSE = #
+have_xsltproc_TRUE =
+host = ia64-suse-linux
+host_alias =
+host_cpu = ia64
+host_os = linux
+host_vendor = suse
+imagedir = ${prefix}/share/YaST2/images
+includedir = ${prefix}/include/YaST2
+infodir = ${prefix}/info
+install_sh = /local/yast2/trunk/devtools/install-sh
+libdir = /usr/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${prefix}/share/YaST2/locale
+localstatedir = ${prefix}/var
+mandir = ${prefix}/share/man
+mkdir_p = mkdir -p --
+moduledir = ${prefix}/share/YaST2/modules
+oldincludedir = /usr/include
+pkgconfigdir = ${libdir}/pkgconfig
+plugindir = ${libdir}/YaST2/plugin
+potdir = ${docdir}/pot
+prefix = /usr
+program_transform_name = s,x,x,
+sbindir = ${exec_prefix}/sbin
+schemadir = ${prefix}/share/YaST2/schema
+scrconfdir = ${prefix}/share/YaST2/scrconf
+sharedstatedir = ${prefix}/com
+sysconfdir = ${prefix}/etc
+target = ia64-suse-linux
+target_alias =
+target_cpu = ia64
+target_os = linux
+target_vendor = suse
+themedir = ${prefix}/share/YaST2/theme
+yast2dir = ${prefix}/share/YaST2
+ybindir = ${prefix}/lib/YaST2/bin
+ydatadir = ${prefix}/share/YaST2/data
+yncludedir = ${prefix}/share/YaST2/include
+ystartupdir = ${prefix}/lib/YaST2
+htmldir = $(docdir)/autodocs
+html_DATA = index.html $(wildcard *.html)
+CLEANFILES = $(html_DATA)
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ./devtools/skeletons/config/doc/autodocs/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu ./devtools/skeletons/config/doc/autodocs/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+install-htmlDATA: $(html_DATA)
+ @$(NORMAL_INSTALL)
+ test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)"
+ @list='$(html_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(am__strip_dir) \
+ echo " $(htmlDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
+ $(htmlDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
+ done
+
+uninstall-htmlDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(html_DATA)'; for p in $$list; do \
+ f=$(am__strip_dir) \
+ echo " rm -f '$(DESTDIR)$(htmldir)/$$f'"; \
+ rm -f "$(DESTDIR)$(htmldir)/$$f"; \
+ done
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(DATA)
+installdirs:
+ for dir in "$(DESTDIR)$(htmldir)"; do \
+ test -z "$$dir" || $(mkdir_p) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-libtool
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am: install-htmlDATA
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-htmlDATA uninstall-info-am
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ distclean distclean-generic distclean-libtool distdir dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-exec install-exec-am \
+ install-htmlDATA install-info install-info-am install-man \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ uninstall uninstall-am uninstall-htmlDATA uninstall-info-am
+
+
+index.html: $(srcdir)/../../src/*.ycp $(srcdir)/../../src/*.pm
+ $(ybindir)/ycpdoc -d. $(srcdir)/../../src/*.{ycp,pm}
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Added: branches/tmp/jdsn/edu-users/doc/autodocs/Makefile.am
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/doc/autodo…
==============================================================================
--- branches/tmp/jdsn/edu-users/doc/autodocs/Makefile.am (added)
+++ branches/tmp/jdsn/edu-users/doc/autodocs/Makefile.am Wed Nov 7 22:44:02 2007
@@ -0,0 +1,3 @@
+# Makefile.am for edu-users/doc/autodocs
+
+include $(top_srcdir)/autodocs-ycp.ami
Added: branches/tmp/jdsn/edu-users/doc/autodocs/Makefile.in
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/doc/autodo…
==============================================================================
--- branches/tmp/jdsn/edu-users/doc/autodocs/Makefile.in (added)
+++ branches/tmp/jdsn/edu-users/doc/autodocs/Makefile.in Wed Nov 7 22:44:02 2007
@@ -0,0 +1,393 @@
+# Makefile.in generated by automake 1.9.5 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# Makefile.am for edu-users/doc/autodocs
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ../../../../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = ./devtools/skeletons/config/doc/autodocs
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_CLEAN_FILES =
+SOURCES =
+DIST_SOURCES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(htmldir)"
+htmlDATA_INSTALL = $(INSTALL_DATA)
+DATA = $(html_DATA)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AR = @AR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAT_ENTRY_END = @CAT_ENTRY_END@
+CAT_ENTRY_START = @CAT_ENTRY_START@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CREATE_PKGCONFIG_FALSE = @CREATE_PKGCONFIG_FALSE@
+CREATE_PKGCONFIG_TRUE = @CREATE_PKGCONFIG_TRUE@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DOCBOOK_ROOT = @DOCBOOK_ROOT@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAINTAINER = @MAINTAINER@
+MAKEINFO = @MAKEINFO@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PERL = @PERL@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+RANLIB = @RANLIB@
+RPMNAME = @RPMNAME@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+STYLESHEET_CSS = @STYLESHEET_CSS@
+STYLESHEET_HTML = @STYLESHEET_HTML@
+STYLESHEET_PDF = @STYLESHEET_PDF@
+STYLESHEET_YCPDOC = @STYLESHEET_YCPDOC@
+STYLESHEET_YDOC = @STYLESHEET_YDOC@
+VERSION = @VERSION@
+XGETTEXT = @XGETTEXT@
+XML_CATALOG = @XML_CATALOG@
+XSLTPROC = @XSLTPROC@
+XSLTPROC_FLAGS = @XSLTPROC_FLAGS@
+YAST2DEVTOOLS = @YAST2DEVTOOLS@
+YCPDOC = @YCPDOC@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+ac_ct_RANLIB = @ac_ct_RANLIB@
+ac_ct_STRIP = @ac_ct_STRIP@
+agentdir = @agentdir@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+clientdir = @clientdir@
+datadir = @datadir@
+desktopdir = @desktopdir@
+docdir = @docdir@
+exec_prefix = @exec_prefix@
+execcompdir = @execcompdir@
+have_xsltproc_FALSE = @have_xsltproc_FALSE@
+have_xsltproc_TRUE = @have_xsltproc_TRUE@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+imagedir = @imagedir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+moduledir = @moduledir@
+oldincludedir = @oldincludedir@
+pkgconfigdir = @pkgconfigdir@
+plugindir = @plugindir@
+potdir = @potdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+sbindir = @sbindir@
+schemadir = @schemadir@
+scrconfdir = @scrconfdir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+themedir = @themedir@
+yast2dir = @yast2dir@
+ybindir = @ybindir@
+ydatadir = @ydatadir@
+yncludedir = @yncludedir@
+ystartupdir = @ystartupdir@
+htmldir = $(docdir)/autodocs
+html_DATA = index.html $(wildcard *.html)
+CLEANFILES = $(html_DATA)
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ./devtools/skeletons/config/doc/autodocs/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu ./devtools/skeletons/config/doc/autodocs/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+install-htmlDATA: $(html_DATA)
+ @$(NORMAL_INSTALL)
+ test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)"
+ @list='$(html_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(am__strip_dir) \
+ echo " $(htmlDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
+ $(htmlDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
+ done
+
+uninstall-htmlDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(html_DATA)'; for p in $$list; do \
+ f=$(am__strip_dir) \
+ echo " rm -f '$(DESTDIR)$(htmldir)/$$f'"; \
+ rm -f "$(DESTDIR)$(htmldir)/$$f"; \
+ done
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(DATA)
+installdirs:
+ for dir in "$(DESTDIR)$(htmldir)"; do \
+ test -z "$$dir" || $(mkdir_p) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-libtool
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am: install-htmlDATA
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-htmlDATA uninstall-info-am
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ distclean distclean-generic distclean-libtool distdir dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-exec install-exec-am \
+ install-htmlDATA install-info install-info-am install-man \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ uninstall uninstall-am uninstall-htmlDATA uninstall-info-am
+
+
+index.html: $(srcdir)/../../src/*.ycp $(srcdir)/../../src/*.pm
+ $(ybindir)/ycpdoc -d. $(srcdir)/../../src/*.{ycp,pm}
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Added: branches/tmp/jdsn/edu-users/package/.cvsignore
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/package/.c…
==============================================================================
--- branches/tmp/jdsn/edu-users/package/.cvsignore (added)
+++ branches/tmp/jdsn/edu-users/package/.cvsignore Wed Nov 7 22:44:02 2007
@@ -0,0 +1,2 @@
+*.spec
+*.bz2
Added: branches/tmp/jdsn/edu-users/package/yast2-edu-users.changes
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/package/ya…
==============================================================================
--- branches/tmp/jdsn/edu-users/package/yast2-edu-users.changes (added)
+++ branches/tmp/jdsn/edu-users/package/yast2-edu-users.changes Wed Nov 7 22:44:02 2007
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------
+Mon Nov 5 18:48:50 2007 - jdsn(a)suse.de
+
+- initial version
Added: branches/tmp/jdsn/edu-users/src/.cvsignore
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/src/.cvsig…
==============================================================================
--- branches/tmp/jdsn/edu-users/src/.cvsignore (added)
+++ branches/tmp/jdsn/edu-users/src/.cvsignore Wed Nov 7 22:44:02 2007
@@ -0,0 +1,4 @@
+Makefile
+Makefile.in
+*.ybc
+.dep
Added: branches/tmp/jdsn/edu-users/src/EduUsers.ycp
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/src/EduUse…
==============================================================================
--- branches/tmp/jdsn/edu-users/src/EduUsers.ycp (added)
+++ branches/tmp/jdsn/edu-users/src/EduUsers.ycp Wed Nov 7 22:44:02 2007
@@ -0,0 +1,343 @@
+/* ------------------------------------------------------------------------------
+ * Copyright (c) 2006 Novell, Inc. All Rights Reserved.
+ *
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of version 2 of the GNU General Public License as published by the
+ * Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, contact Novell, Inc.
+ *
+ * To contact Novell about this file by physical or electronic mail, you may find
+ * current contact information at www.novell.com.
+ * ------------------------------------------------------------------------------
+ */
+
+/**
+ * File: modules/EduUsers.ycp
+ * Package: Configuration of edu-users
+ * Summary: EduUsers settings, input and output functions
+ * Authors: J. Daniel Schmidt <jdsn(a)suse.de>
+ *
+ * $Id: EduUsers.ycp 27914 2006-02-13 14:32:08Z locilka $
+ *
+ * Representation of the configuration of edu-users.
+ * Input and output routines.
+ */
+
+{
+
+module "EduUsers";
+textdomain "edu-users";
+
+import "Progress";
+import "Report";
+import "Summary";
+import "Message";
+
+import "FileUtils";
+import "Users";
+import "Misc";
+import "YaPI";
+import "YaPI::USERS";
+
+/**
+ * Prototypes
+ */
+global boolean Modified();
+
+/**
+ * Data was modified?
+ */
+global boolean modified = false;
+
+/**
+ */
+global boolean proposal_valid = false;
+
+/**
+ * Write only, used during autoinstallation.
+ * Don't run services and SuSEconfig, it's all done at one place.
+ */
+global boolean write_only = false;
+
+/**
+ * Abort function
+ * return boolean return true if abort
+ */
+global boolean() AbortFunction = Modified;
+
+/**
+ * Abort function
+ * @return boolean return true if abort
+ */
+global define boolean Abort() ``{
+ if(AbortFunction != nil)
+ {
+ return AbortFunction () == true;
+ }
+ return false;
+}
+
+/**
+ * Data was modified?
+ * @return true if modified
+ */
+global boolean Modified() {
+ y2debug("modified=%1",modified);
+ return modified;
+}
+
+// ------------------------------------
+
+/**
+ * List of the configured cards.
+ */
+
+// list of terms to hold the users to be created
+global list<term> table_users = []; // `item(`id("login"), "Name", "Surname", "Login", "Age", "Password")
+global list<term> table_users_show = []; // `item(`id("login"), "Name", "Surname", "Login", "Age")
+global list<term> table_groups = []; // `item(`id("groupname"), "group name", "template name")
+global list<term> table_templates = []; // `item(`id(0), "template name")
+
+global string autologin = "";
+
+
+// TODO FIXME function to return the show table dynamically - do not store twice!
+
+
+/**
+ * Read all edu-users settings
+ * @return true on success
+ */
+global boolean Read() {
+
+ /* EduUsers read dialog caption */
+ string caption = _("Initializing edu-users Configuration");
+
+ integer steps = 5;
+ // FIXME: read sysconfig, read users, read groups, read templates
+
+
+ integer sl = 50;
+ sleep(sl);
+
+ // We do not set help text here, because it was set outside
+ Progress::New( caption, " ", steps, [
+ /* Progress stage 1/4 */
+ _("Read the database"),
+ /* Progress stage 2/4 */
+ _("Read Edu users"),
+ /* Progress stage 3/4 */
+ _("Read Edu groups"),
+ /* Progress stage 4/4 */
+ _("Read Edu templates")
+ ], [
+ /* Progress step 1/4 */
+ _("Reading the database..."),
+ /* Progress step 2/4 */
+ _("Reading Edu users..."),
+ /* Progress step 2/4 */
+ _("Reading Edu groups..."),
+ /* Progress step 3/4 */
+ _("Reading Edu templates..."),
+ /* Progress finished */
+ _("Finished")
+ ],
+ ""
+ );
+
+
+ // read sysconfig
+ if(Abort()) return false;
+ Progress::NextStage();
+/*
+ string gettemplates = (string) SCR::Read(.sysconfig.educlient.TEMPLATES);
+ list<string> alltemplates = splitstring(gettemplates, ", ");
+
+ // only these characters are allowed in template or group names
+ string validChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_";
+
+ integer count=0;
+ foreach (string str, alltemplates,
+ {
+ string strmod = filterchars ( str, validChars );
+ if ( strmod != nil && size(strmod) > 0 )
+ {
+ table_templates = add(table_templates, (term)`item(`id(strmod), strmod ) );
+ //count = count+1; // needed in case the id changes back to integer
+ }
+ });
+
+ string getgroups = (string) SCR::Read(.sysconfig.educlient.GROUPS);
+ list<string> allgroups = splitstring(getgroups, ", ");
+
+ count=0;
+ foreach (string str, allgroups,
+ {
+ list<string> grp_tmpl = splitstring(str, ":");
+ if ( ! contains( [1 , 2], size(grp_tmpl) ) ) { continue; }
+ // add one element, so that we have two in any case
+ grp_tmpl = add(grp_tmpl, "");
+
+ grp_tmpl[0] = filterchars ( grp_tmpl[0]:"err", validChars );
+ grp_tmpl[1] = filterchars ( grp_tmpl[1]:"err", validChars );
+ if ( grp_tmpl[1]:"err"==nil ) { grp_tmpl[1]=""; }
+
+ table_groups = add(table_groups, (term)`item(`id(count), grp_tmpl[0]:"err", grp_tmpl[1]:"err" ) );
+ count=count+1;
+ });
+
+
+*/
+
+
+ /* Error message */
+ if(false) Report::Error(_("Cannot read database1."));
+ sleep(sl);
+
+ // read another database
+ if(Abort()) return false;
+ Progress::NextStep();
+ /* Error message */
+ if(false) Report::Error(_("Cannot read database2."));
+ sleep(sl);
+
+ // read current settings
+ if(Abort()) return false;
+ Progress::NextStage();
+ /* Error message */
+ if(false) Report::Error(Message::CannotReadCurrentSettings());
+ sleep(sl);
+
+ // detect devices
+ if(Abort()) return false;
+ Progress::NextStage();
+ /* Error message */
+ if(false) Report::Warning(_("Cannot detect devices."));
+ sleep(sl);
+
+ if(Abort()) return false;
+ /* Progress finished */
+ Progress::NextStage();
+ sleep(sl);
+
+ if(Abort()) return false;
+ modified = false;
+ return true;
+}
+
+/**
+ * Write all edu-users settings
+ * @return true on success
+ */
+global boolean Write() {
+
+ /* EduUsers read dialog caption */
+ string caption = _("Saving edu-users Configuration");
+
+ // TODO FIXME And set the right number of stages
+ integer steps = 2;
+
+ integer sl = 500;
+ sleep(sl);
+
+ // TODO FIXME Names of real stages
+ // We do not set help text here, because it was set outside
+ Progress::New(caption, " ", steps, [
+ /* Progress stage 1/2 */
+ _("Write the settings"),
+ /* Progress stage 2/2 */
+ _("Run SuSEconfig")
+ ], [
+ /* Progress step 1/2 */
+ _("Writing the settings..."),
+ /* Progress step 2/2 */
+ _("Running SuSEconfig..."),
+ /* Progress finished */
+ _("Finished")
+ ],
+ ""
+ );
+
+ // write settings
+ if(Abort()) return false;
+ Progress::NextStage();
+ /* Error message */
+ if(false) Report::Error (_("Cannot write settings."));
+ sleep(sl);
+
+ // run SuSEconfig
+ if(Abort()) return false;
+ Progress::NextStage ();
+ /* Error message */
+ if(false) Report::Error (Message::SuSEConfigFailed());
+ sleep(sl);
+
+ if(Abort()) return false;
+ /* Progress finished */
+ Progress::NextStage();
+ sleep(sl);
+
+ if(Abort()) return false;
+ return true;
+}
+
+/**
+ * Get all edu-users settings from the first parameter
+ * (For use by autoinstallation.)
+ * @param settings The YCP structure to be imported.
+ * @return boolean True on success
+ */
+global boolean Import (map settings) {
+ // TODO FIXME: your code here (fill the above mentioned variables)...
+ return true;
+}
+
+/**
+ * Dump the edu-users settings to a single map
+ * (For use by autoinstallation.)
+ * @return map Dumped settings (later acceptable by Import ())
+ */
+global map Export () {
+ // TODO FIXME: your code here (return the above mentioned variables)...
+ return $[];
+}
+
+/**
+ * Create a textual summary and a list of unconfigured cards
+ * @return summary of the current configuration
+ */
+global list Summary() {
+ // TODO FIXME: your code here...
+ /* Configuration summary text for autoyast */
+ return [ _("Configuration summary..."), [] ];
+}
+
+/**
+ * Create an overview table with all configured cards
+ * @return table items
+ */
+global list Overview() {
+ // TODO FIXME: your code here...
+ return [];
+}
+
+/**
+ * Return packages needed to be installed and removed during
+ * Autoinstallation to insure module has all needed software
+ * installed.
+ * @return map with 2 lists.
+ */
+global map AutoPackages() {
+ // TODO FIXME: your code here...
+ return $[ "install":[], "remove":[] ];
+}
+
+/* EOF */
+}
Added: branches/tmp/jdsn/edu-users/src/EduUsers2.pm
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/src/EduUse…
==============================================================================
--- branches/tmp/jdsn/edu-users/src/EduUsers2.pm (added)
+++ branches/tmp/jdsn/edu-users/src/EduUsers2.pm Wed Nov 7 22:44:02 2007
@@ -0,0 +1,294 @@
+#! /usr/bin/perl -w
+
+# ------------------------------------------------------------------------------
+# Copyright (c) 2006 Novell, Inc. All Rights Reserved.
+#
+#
+# This program is free software; you can redistribute it and/or modify it under
+# the terms of version 2 of the GNU General Public License as published by the
+# Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, contact Novell, Inc.
+#
+# To contact Novell about this file by physical or electronic mail, you may find
+# current contact information at www.novell.com.
+# ------------------------------------------------------------------------------
+
+# File: modules/EduUsers.pm
+# Package: Configuration of edu-users
+# Summary: EduUsers settings, input and output functions
+# Authors: J. Daniel Schmidt <jdsn(a)suse.de>
+#
+# $Id: EduUsers2.pm 27914 2006-02-13 14:32:08Z locilka $
+#
+# Representation of the configuration of edu-users.
+# Input and output routines.
+
+
+package EduUsers;
+
+use strict;
+
+use YaST::YCP qw(Boolean :LOGGING);
+use YaPI;
+
+textdomain("edu-users");
+
+our %TYPEINFO;
+
+YaST::YCP::Import ("Progress");
+YaST::YCP::Import ("Report");
+YaST::YCP::Import ("Summary");
+YaST::YCP::Import ("Message");
+
+##
+ # Data was modified?
+ #
+my $modified = 0;
+
+##
+ #
+my $proposal_valid = 0;
+
+##
+ # Write only, used during autoinstallation.
+ # Don't run services and SuSEconfig, it's all done at one place.
+ #
+my $write_only = 0;
+
+##
+ # Data was modified?
+ # @return true if modified
+ #
+BEGIN { $TYPEINFO {Modified} = ["function", "boolean"]; }
+sub Modified {
+ y2debug ("modified=$modified");
+ return Boolean($modified);
+}
+
+# Settings: Define all variables needed for configuration of edu-users
+# TODO FIXME: Define all the variables necessary to hold
+# TODO FIXME: the configuration here (with the appropriate
+# TODO FIXME: description)
+# TODO FIXME: For example:
+# ##
+# # List of the configured cards.
+# #
+# my @cards = ();
+#
+# ##
+# # Some additional parameter needed for the configuration.
+# #
+# my $additional_parameter = 1;
+
+##
+ # Read all edu-users settings
+ # @return true on success
+ #
+BEGIN { $TYPEINFO{Read} = ["function", "boolean"]; }
+sub Read {
+
+ # EduUsers read dialog caption
+ my $caption = __("Initializing edu-users Configuration");
+
+ # TODO FIXME Set the right number of stages
+ my $steps = 4;
+
+ my $sl = 0.5;
+ sleep($sl);
+
+ # TODO FIXME Names of real stages
+ # We do not set help text here, because it was set outside
+ Progress::New( $caption, " ", $steps, [
+ # Progress stage 1/3
+ __("Read the database"),
+ # Progress stage 2/3
+ __("Read the previous settings"),
+ # Progress stage 3/3
+ __("Detect the devices")
+ ], [
+ # Progress step 1/3
+ __("Reading the database..."),
+ # Progress step 2/3
+ __("Reading the previous settings..."),
+ # Progress step 3/3
+ __("Detecting the devices..."),
+ # Progress finished
+ __("Finished")
+ ],
+ ""
+ );
+
+ # read database
+ Progress::NextStage();
+ # Error message
+ if(0)
+ {
+ Report::Error(__("Cannot read the database1."));
+ }
+ sleep($sl);
+
+ # read another database
+ Progress::NextStep();
+ # Error message
+ if(0)
+ {
+ Report::Error(__("Cannot read the database2."));
+ }
+ sleep($sl);
+
+ # read current settings
+ Progress::NextStage();
+ # Error message
+ if(0)
+ {
+ Report::Error(Message::CannotReadCurrentSettings());
+ }
+ sleep($sl);
+
+ # detect devices
+ Progress::NextStage();
+ # Error message
+ if(0)
+ {
+ Report::Warning(__("Cannot detect devices."));
+ }
+ sleep($sl);
+
+ # Progress finished
+ Progress::NextStage();
+ sleep($sl);
+
+ $modified = 0;
+ return Boolean(1);
+}
+
+##
+ # Write all edu-users settings
+ # @return true on success
+ #
+BEGIN { $TYPEINFO{Write} = ["function", "boolean"]; }
+sub Write {
+
+ # EduUsers read dialog caption
+ my $caption = __("Saving edu-users Configuration");
+
+ # TODO FIXME And set the right number of stages
+ my $steps = 2;
+
+ my $sl = 0.5;
+ sleep($sl);
+
+ # TODO FIXME Names of real stages
+ # We do not set help text here, because it was set outside
+ Progress::New($caption, " ", $steps, [
+ # Progress stage 1/2
+ __("Write the settings"),
+ # Progress stage 2/2
+ __("Run SuSEconfig")
+ ], [
+ # Progress step 1/2
+ __("Writing the settings..."),
+ # Progress step 2/2
+ __("Running SuSEconfig..."),
+ # Progress finished
+ __("Finished")
+ ],
+ ""
+ );
+
+ # write settings
+ Progress::NextStage();
+ # Error message
+ if(0)
+ {
+ Report::Error (__("Cannot write settings."));
+ }
+ sleep($sl);
+
+ # run SuSEconfig
+ Progress::NextStage ();
+ # Error message
+ if(0)
+ {
+ Report::Error (Message::SuSEConfigFailed());
+ }
+ sleep($sl);
+
+ # Progress finished
+ Progress::NextStage();
+ sleep($sl);
+
+ return Boolean(1);
+}
+
+##
+ # Get all edu-users settings from the first parameter
+ # (For use by autoinstallation.)
+ # @param settings The YCP structure to be imported.
+ # @return boolean True on success
+ #
+BEGIN { $TYPEINFO{Import} = ["function", "boolean", [ "map", "any", "any" ] ]; }
+sub Import {
+ my %settings = %{$_[0]};
+ # TODO FIXME: your code here (fill the above mentioned variables)...
+ return Boolean(1);
+}
+
+##
+ # Dump the edu-users settings to a single map
+ # (For use by autoinstallation.)
+ # @return map Dumped settings (later acceptable by Import ())
+ #
+BEGIN { $TYPEINFO{Export} =["function", [ "map", "any", "any" ] ]; }
+sub Export {
+ # TODO FIXME: your code here (return the above mentioned variables)...
+ return {};
+}
+
+##
+ # Create a textual summary and a list of unconfigured cards
+ # @return summary of the current configuration
+ #
+BEGIN { $TYPEINFO{Summary} = ["function", [ "list", "string" ] ]; }
+sub Summary {
+ # TODO FIXME: your code here...
+ # Configuration summary text for autoyast
+ return (
+ __("Configuration summary ...")
+ );
+}
+
+##
+ # Create an overview table with all configured cards
+ # @return table items
+ #
+BEGIN { $TYPEINFO{Overview} = ["function", [ "list", "string" ] ]; }
+sub Overview {
+ # TODO FIXME: your code here...
+ return ();
+}
+
+##
+ # Return packages needed to be installed and removed during
+ # Autoinstallation to insure module has all needed software
+ # installed.
+ # @return map with 2 lists.
+ #
+BEGIN { $TYPEINFO{AutoPackages} = ["function", ["map", "string", ["list", "string"]]]; }
+sub AutoPackages {
+ # TODO FIXME: your code here...
+ my %ret = (
+ "install" => (),
+ "remove" => (),
+ );
+ return \%ret;
+}
+
+1;
+# EOF
Added: branches/tmp/jdsn/edu-users/src/Makefile.am
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/src/Makefi…
==============================================================================
--- branches/tmp/jdsn/edu-users/src/Makefile.am (added)
+++ branches/tmp/jdsn/edu-users/src/Makefile.am Wed Nov 7 22:44:02 2007
@@ -0,0 +1,36 @@
+# Makefile.am for edu-users/src
+
+yncludedir = @yncludedir@/edu-users
+
+client_DATA = \
+ inst-edu-users.ycp \
+ edu-users_auto.ycp
+# edu-users_proposal.ycp
+
+ynclude_DATA = \
+ helps.ycp \
+ wizards.ycp \
+ dialogs.ycp \
+ complex.ycp
+
+desktop_DATA = \
+ edu-users.desktop
+
+module_DATA = \
+ EduUsers.ycp \
+ EduUsers2.pm
+
+fillup_DATA = \
+ sysconfig.edu-users-yast2-edu-users
+
+rnd_DATA = \
+ edu-users.rnc
+
+# create a symlink for local build, #145327
+edu-users:
+ ln -sf . $@
+ycpchook = edu-users
+
+EXTRA_DIST = $(client_DATA) $(ynclude_DATA) $(module_DATA) $(desktop_DATA) $(fillup_DATA) $(rnc_DATA)
+
+include $(top_srcdir)/Makefile.am.common
Added: branches/tmp/jdsn/edu-users/src/complex.ycp
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/src/comple…
==============================================================================
--- branches/tmp/jdsn/edu-users/src/complex.ycp (added)
+++ branches/tmp/jdsn/edu-users/src/complex.ycp Wed Nov 7 22:44:02 2007
@@ -0,0 +1,262 @@
+/* ------------------------------------------------------------------------------
+ * Copyright (c) 2006 Novell, Inc. All Rights Reserved.
+ *
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of version 2 of the GNU General Public License as published by the
+ * Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, contact Novell, Inc.
+ *
+ * To contact Novell about this file by physical or electronic mail, you may find
+ * current contact information at www.novell.com.
+ * ------------------------------------------------------------------------------
+ */
+
+/**
+ * File: include/edu-users/complex.ycp
+ * Package: Configuration of edu-users
+ * Summary: Dialogs definitions
+ * Authors: J. Daniel Schmidt <jdsn(a)suse.de>
+ *
+ * $Id: complex.ycp 29363 2006-03-24 08:20:43Z mzugec $
+ */
+
+{
+
+textdomain "edu-users";
+
+import "Label";
+import "Popup";
+import "Wizard";
+import "Wizard_hw";
+import "Confirm";
+import "EduUsers";
+
+
+include "edu-users/helps.ycp";
+
+/**
+ * Return a modification status
+ * @return true if data was modified
+ */
+boolean Modified() {
+ return EduUsers::Modified();
+}
+
+boolean ReallyAbort() {
+ return !EduUsers::Modified() || Popup::ReallyAbort(true);
+}
+
+boolean PollAbort() {
+ return UI::PollInput() == `abort;
+}
+
+/**
+ * Read settings dialog
+ * @return `abort if aborted and `next otherwise
+ */
+symbol ReadDialog() {
+ Wizard::RestoreHelp(HELPS["read"]:"");
+ // EduUsers::AbortFunction = PollAbort;
+ if (!Confirm::MustBeRoot()) return `abort;
+ boolean ret = EduUsers::Read();
+ return ret ? `next : `abort;
+}
+
+
+symbol SetTabDialog() {
+
+ string caption = _("Edu Users Configuration");
+
+ list<term> tabs = [
+ `item(`id(`users), _("Users"), true ),
+ `item(`id(`groups), _("Groups")),
+ `item(`id(`templates), _("Templates"))
+ ];
+
+
+ term content = `Empty();
+ term tabbar = `HBox();
+ foreach (term t, tabs, {
+ string label = t[1]:"blubb";
+ tabbar = add (tabbar, `PushButton (t[0]:`id(label), `opt(`notify), label));
+ });
+
+ term buttonbox = `HBox(
+ `PushButton(`id(`add), `opt(`key_F3), Label::AddButton()),
+ `PushButton(`id(`edit), `opt(`disabled, `key_F4), Label::EditButton() ),
+ `PushButton(`id(`delete), `opt(`disabled, `key_F5), Label::DeleteButton() )
+ );
+
+
+ content=`VBox(
+ `VBox ( `VSpacing(0.5),
+ `Left( tabbar ),
+ `MinSize(10,5, `ReplacePoint(`id(`tabContent), `Table( `id(`edutable), `opt(`notify, `vstretch) ,
+ `header( "" ), [] ))),
+ `VSpacing(0.5),
+ buttonbox,
+ `VSpacing(0.5)
+
+ )
+ );
+
+ Wizard::SetContentsButtons(caption, content, HELPS["users"]:"",
+ Label::BackButton(), Label::FinishButton());
+
+
+ //UI::UserInput();
+ //UI::ChangeWidget(`id(`edutable), `header, ["drei", "vier"] );
+
+/* UI::UserInput();
+ UI::ReplaceWidget(`id(`tabContent), `Table(`id(`edugroups), `opt(`notify, `vstretch), `header("name"), [] ));
+ UI::UserInput();
+ UI::ChangeWidget( `id(`edugroups), `Items, [`item(`id(1), "erster"), `item(`id(2), "zweiter" )]);
+ UI::UserInput();
+*/
+ return `next;
+}
+
+
+
+/**
+ * Write settings dialog
+ * @return `abort if aborted and `next otherwise
+ */
+symbol WriteDialog() {
+ Wizard::RestoreHelp(HELPS["write"]:"");
+ // EduUsers::AbortFunction = PollAbort;
+ boolean ret = EduUsers::Write();
+ return ret ? `next : `abort;
+}
+
+/**
+ * Summary dialog
+ * @return dialog result
+ */
+any SummaryDialog() {
+
+ /* EduUsers summary dialog caption */
+ string caption = _("EduUsers Configuration");
+
+ /* FIXME */
+ list summary = EduUsers::Summary();
+ list unconfigured = summary[1]:[];
+ string configured = summary[0]:"";
+
+ /* Frame label */
+ //term contents = Wizard_hw::DetectedContent(_("EduUsers to Configure"),
+ // unconfigured, false, configured);
+ term contents = `VBox( `Label(_("EduUsers to Configure")));
+
+ Wizard::SetContentsButtons(caption, contents, HELPS["summary"]:"",
+ Label::BackButton(), Label::FinishButton());
+
+ any ret = nil;
+ while(true) {
+
+ ret = UI::UserInput();
+
+ /* abort? */
+ if(ret == `abort || ret == `cancel || ret == `back) {
+ if(ReallyAbort()) break;
+ else continue;
+ }
+ /* overview dialog */
+ else if(ret == `edit_button) {
+ ret = `overview;
+ break;
+ }
+ /* configure the selected device */
+ else if(ret == `configure_button) {
+ // TODO FIXME: check for change of the configuration
+ any selected = UI::QueryWidget(`id(`detected_selbox), `CurrentItem);
+ if(selected == `other) {
+ ret = `other;
+ }
+ else {
+ ret = `configure;
+ }
+ break;
+ }
+ else if(ret == `next) {
+ break;
+ }
+ else {
+ y2error("unexpected retcode: %1", ret);
+ continue;
+ }
+ }
+
+ return ret;
+}
+
+/**
+ * Overview dialog
+ * @return dialog result
+ */
+any OverviewDialog() {
+
+ /* EduUsers overview dialog caption */
+ string caption = _("EduUsers Overview");
+
+ list overview = EduUsers::Overview();
+
+ /* FIXME table header */
+ term contents = Wizard_hw::ConfiguredContent(
+ /* Table header */
+ `header(_("Number"), _("EduUsers")),
+ overview, nil, nil, nil, nil );
+
+ contents = Wizard_hw::SpacingAround(contents, 1.5, 1.5, 1.0, 1.0);
+
+ Wizard::SetContentsButtons(caption, contents, HELPS["overview"]:"",
+ Label::BackButton(), Label::FinishButton());
+
+ any ret = nil;
+ while(true) {
+
+ ret = UI::UserInput();
+
+ /* abort? */
+ if(ret == `abort || ret == `cancel) {
+ if(ReallyAbort()) break;
+ else continue;
+ }
+ /* add */
+ else if(ret == `add_button) {
+ /* FIXME */
+ ret = `add;
+ break;
+ }
+ /* edit */
+ else if(ret == `edit_button) {
+ /* FIXME */
+ ret = `edit;
+ break;
+ }
+ /* delete */
+ else if(ret == `delete_button) {
+ /* FIXME */
+ continue;
+ }
+ else if(ret == `next || ret == `back) {
+ break;
+ }
+ else {
+ y2error("unexpected retcode: %1", ret);
+ continue;
+ }
+ }
+
+ return ret;
+}
+
+/* EOF */
+}
Added: branches/tmp/jdsn/edu-users/src/dialogs.ycp
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/src/dialog…
==============================================================================
--- branches/tmp/jdsn/edu-users/src/dialogs.ycp (added)
+++ branches/tmp/jdsn/edu-users/src/dialogs.ycp Wed Nov 7 22:44:02 2007
@@ -0,0 +1,227 @@
+/* ------------------------------------------------------------------------------
+ * Copyright (c) 2006 Novell, Inc. All Rights Reserved.
+ *
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of version 2 of the GNU General Public License as published by the
+ * Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, contact Novell, Inc.
+ *
+ * To contact Novell about this file by physical or electronic mail, you may find
+ * current contact information at www.novell.com.
+ * ------------------------------------------------------------------------------
+ */
+
+/**
+ * File: include/edu-users/dialogs.ycp
+ * Package: Configuration of edu-users
+ * Summary: Dialogs definitions
+ * Authors: J. Daniel Schmidt <jdsn(a)suse.de>
+ *
+ * $Id: dialogs.ycp 27914 2006-02-13 14:32:08Z locilka $
+ */
+
+{
+
+textdomain "edu-users";
+
+import "Label";
+import "Wizard";
+import "EduUsers";
+
+include "edu-users/helps.ycp";
+
+/**
+ * Configure1 dialog
+ * @return dialog result
+ */
+any Configure1Dialog () {
+
+ /* EduUsers configure1 dialog caption */
+ string caption = _("EduUsers Configuration");
+
+ /* EduUsers configure1 dialog contents */
+ term contents = `Label (_("First part of configuration of edu-users"));
+
+ Wizard::SetContentsButtons(caption, contents, HELPS["c1"]:"",
+ Label::BackButton(), Label::NextButton());
+
+ any ret = nil;
+ while(true) {
+
+ ret = UI::UserInput();
+
+ /* abort? */
+ if(ret == `abort || ret == `cancel) {
+ if(ReallyAbort()) break;
+ else continue;
+ }
+ else if(ret == `next || ret == `back) {
+ break;
+ }
+ else {
+ y2error("unexpected retcode: %1", ret);
+ continue;
+ }
+ }
+
+ return ret;
+}
+
+/**
+ * Configure2 dialog
+ * @return dialog result
+ */
+any Configure2Dialog () {
+
+ /* EduUsers configure2 dialog caption */
+ string caption = _("EduUsers Configuration");
+
+ /* EduUsers configure2 dialog contents */
+ term contents = `Label (_("Second part of configuration of edu-users"));
+
+ Wizard::SetContentsButtons(caption, contents, HELPS["c2"]:"",
+ Label::BackButton(), Label::NextButton());
+
+ any ret = nil;
+ while(true) {
+
+ ret = UI::UserInput();
+
+ /* abort? */
+ if(ret == `abort || ret == `cancel) {
+ if(ReallyAbort()) break;
+ else continue;
+ }
+ else if(ret == `next || ret == `back) {
+ break;
+ }
+ else {
+ y2error("unexpected retcode: %1", ret);
+ continue;
+ }
+ }
+
+ return ret;
+}
+
+any NewUserDialog() {
+ return `newuserdialog;
+}
+
+any UsersDialog() {
+
+ // fill table with data
+ Popup::Notify(_("Users"));
+
+ any ret = nil;
+ while(true) {
+
+ ret = UI::UserInput();
+
+ /* abort? */
+ if(ret == `abort || ret == `cancel) {
+ if(ReallyAbort()) break;
+ else continue;
+ }
+ else if(ret == `next || ret == `back || ret == `groups || ret == `templates) {
+ break;
+ }
+ else {
+ y2error("unexpected retcode: %1", ret);
+ continue;
+ }
+ }
+
+ return ret;
+}
+
+
+
+
+any GroupsDialog() {
+
+ // fill table with data
+ Popup::Notify(_("Groups"));
+
+ any ret = nil;
+ while(true) {
+
+ ret = UI::UserInput();
+
+ /* abort? */
+ if(ret == `abort || ret == `cancel) {
+ if(ReallyAbort()) break;
+ else continue;
+ }
+ else if(ret == `next || ret == `back || ret == `users || ret == `templates) {
+ break;
+ }
+ else {
+ y2error("unexpected retcode: %1", ret);
+ continue;
+ }
+ }
+
+ return ret;
+}
+any TemplatesDialog() {
+
+ // fill table with data
+ Popup::Notify(_("Groups"));
+
+ any ret = nil;
+ while(true) {
+
+ ret = UI::UserInput();
+
+ /* abort? */
+ if(ret == `abort || ret == `cancel) {
+ if(ReallyAbort()) break;
+ else continue;
+ }
+ else if(ret == `next || ret == `back || ret == `users || ret == `groups) {
+ break;
+ }
+ else {
+ y2error("unexpected retcode: %1", ret);
+ continue;
+ }
+ }
+
+ return ret;
+}
+any UserDelete() {
+ return `userdelete;
+}
+any GroupAdd() {
+ return `groupadd;
+}
+any GroupEdit() {
+ return `groupedit;
+}
+any GroupDelete() {
+ return `groupdelete;
+}
+any TemplateAdd() {
+ return `templateadd;
+}
+any TemplateEdit() {
+ return `templateedit;
+}
+any TemplateDelete() {
+ return `templatedelete;
+}
+
+
+
+
+
+/* EOF */
+}
Added: branches/tmp/jdsn/edu-users/src/edu-users.desktop
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/src/edu-us…
==============================================================================
--- branches/tmp/jdsn/edu-users/src/edu-users.desktop (added)
+++ branches/tmp/jdsn/edu-users/src/edu-users.desktop Wed Nov 7 22:44:02 2007
@@ -0,0 +1,25 @@
+[Desktop Entry]
+Type=Application
+Categories=Qt;X-SuSE-YaST;X-SuSE-YaST-Security;
+
+X-KDE-ModuleType=Library
+X-KDE-RootOnly=true
+X-KDE-HasReadOnlyMode=false
+X-KDE-Library=yast2
+X-SuSE-YaST-Call=edu-users
+
+X-SuSE-YaST-Group=Security
+X-SuSE-YaST-Argument=
+X-SuSE-YaST-RootOnly=true
+X-SuSE-YaST-AutoInst=
+X-SuSE-YaST-Geometry=
+X-SuSE-YaST-SortKey=
+X-SuSE-YaST-AutoInstResource=edu-users
+X-SuSE-YaST-AutoInstSchema=edu-users.rnc
+
+Icon=yast-edu-users
+Exec=/sbin/yast2 edu-users
+
+Name=EDU Users
+GenericName=edu-users
+X-KDE-SubstituteUID=true
Added: branches/tmp/jdsn/edu-users/src/edu-users.rnc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/src/edu-us…
==============================================================================
--- branches/tmp/jdsn/edu-users/src/edu-users.rnc (added)
+++ branches/tmp/jdsn/edu-users/src/edu-users.rnc Wed Nov 7 22:44:02 2007
@@ -0,0 +1,11 @@
+default namespace = "http://www.suse.com/1.0/yast2ns"
+namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"
+namespace config = "http://www.suse.com/1.0/configns"
+
+edu-users = element edu-users { edu-users_data? }
+
+edu-users_data =
+ element edu-users_data {
+ Anything?
+ }
+
Added: branches/tmp/jdsn/edu-users/src/edu-users_auto.ycp
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/src/edu-us…
==============================================================================
--- branches/tmp/jdsn/edu-users/src/edu-users_auto.ycp (added)
+++ branches/tmp/jdsn/edu-users/src/edu-users_auto.ycp Wed Nov 7 22:44:02 2007
@@ -0,0 +1,118 @@
+/* ------------------------------------------------------------------------------
+ * Copyright (c) 2006 Novell, Inc. All Rights Reserved.
+ *
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of version 2 of the GNU General Public License as published by the
+ * Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, contact Novell, Inc.
+ *
+ * To contact Novell about this file by physical or electronic mail, you may find
+ * current contact information at www.novell.com.
+ * ------------------------------------------------------------------------------
+ */
+
+/**
+ * File: clients/edu-users_auto.ycp
+ * Package: Configuration of edu-users
+ * Summary: Client for autoinstallation
+ * Authors: J. Daniel Schmidt <jdsn(a)suse.de>
+ *
+ * $Id: edu-users_auto.ycp 27914 2006-02-13 14:32:08Z locilka $
+ *
+ * This is a client for autoinstallation. It takes its arguments,
+ * goes through the configuration and return the setting.
+ * Does not do any changes to the configuration.
+ */
+
+/**
+ * @param function to execute
+ * @param map/list of edu-users settings
+ * @return map edited settings, Summary or boolean on success depending on called function
+ * @example map mm = $[ "FAIL_DELAY" : "77" ];
+ * @example map ret = WFM::CallFunction ("edu-users_auto", [ "Summary", mm ]);
+ */
+
+{
+
+textdomain "edu-users";
+
+y2milestone("----------------------------------------");
+y2milestone("EduUsers auto started");
+
+import "EduUsers";
+include "edu-users/wizards.ycp";
+
+any ret = nil;
+string func = "";
+map param = $[];
+
+/* Check arguments */
+if(size(WFM::Args()) > 0 && is(WFM::Args(0), string)) {
+ func = (string)WFM::Args(0);
+ if(size(WFM::Args()) > 1 && is(WFM::Args(1), map))
+ param = (map) WFM::Args(1);
+}
+y2debug("func=%1", func);
+y2debug("param=%1", param);
+
+/* Create a summary*/
+if(func == "Summary") {
+ ret = select(EduUsers::Summary(), 0, "");
+}
+/* Reset configuration */
+else if (func == "Reset") {
+ EduUsers::Import($[]);
+ ret = $[];
+}
+/* Change configuration (run AutoSequence) */
+else if (func == "Change") {
+ ret = EduUsersAutoSequence();
+}
+/* Import configuration */
+else if (func == "Import") {
+ ret = EduUsers::Import(param);
+}
+/* Return actual state */
+else if (func == "Export") {
+ ret = EduUsers::Export();
+}
+/* Return needed packages */
+else if (func == "Packages") {
+ ret = EduUsers::AutoPackages();
+}
+/* Read current state */
+else if (func == "Read") {
+ import "Progress";
+ boolean progress_orig = Progress::set (false);
+ ret = EduUsers::Read();
+ Progress::set (progress_orig);
+}
+/* Write givven settings */
+else if (func == "Write") {
+ import "Progress";
+ boolean progress_orig = Progress::set (false);
+ EduUsers::write_only = true;
+ ret = EduUsers::Write();
+ Progress::set (progress_orig);
+}
+/* Unknown function */
+else {
+ y2error("Unknown function: %1", func);
+ ret = false;
+}
+
+y2debug("ret=%1", ret);
+y2milestone("EduUsers auto finished");
+y2milestone("----------------------------------------");
+
+return ret;
+
+/* EOF */
+}
Added: branches/tmp/jdsn/edu-users/src/edu-users_proposal.ycp
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/src/edu-us…
==============================================================================
--- branches/tmp/jdsn/edu-users/src/edu-users_proposal.ycp (added)
+++ branches/tmp/jdsn/edu-users/src/edu-users_proposal.ycp Wed Nov 7 22:44:02 2007
@@ -0,0 +1,107 @@
+/* ------------------------------------------------------------------------------
+ * Copyright (c) 2006 Novell, Inc. All Rights Reserved.
+ *
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of version 2 of the GNU General Public License as published by the
+ * Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, contact Novell, Inc.
+ *
+ * To contact Novell about this file by physical or electronic mail, you may find
+ * current contact information at www.novell.com.
+ * ------------------------------------------------------------------------------
+ */
+
+/**
+ * File: clients/edu-users_proposal.ycp
+ * Package: Configuration of edu-users
+ * Summary: Proposal function dispatcher.
+ * Authors: J. Daniel Schmidt <jdsn(a)suse.de>
+ *
+ * $Id: edu-users_proposal.ycp 27914 2006-02-13 14:32:08Z locilka $
+ *
+ * Proposal function dispatcher for edu-users configuration.
+ * See source/installation/proposal/proposal-API.txt
+ */
+
+{
+
+textdomain "edu-users";
+
+import "EduUsers";
+import "Progress";
+
+/* The main () */
+y2milestone("----------------------------------------");
+y2milestone("EduUsers proposal started");
+
+string func = (string) WFM::Args(0);
+map param = (map) WFM::Args(1);
+map ret = $[];
+
+/* create a textual proposal */
+if(func == "MakeProposal") {
+ string proposal = "";
+ string warning = nil;
+ symbol warning_level = nil;
+ boolean force_reset = param["force_reset"]:false;
+
+ if(force_reset || !EduUsers::proposal_valid) {
+ EduUsers::proposal_valid = true;
+ boolean progress_orig = Progress::set (false);
+ EduUsers::Read();
+ Progress::set (progress_orig);
+ }
+ list sum = EduUsers::Summary();
+ proposal = sum[0]:"";
+
+ ret = $[
+ "preformatted_proposal" : proposal,
+ "warning_level" : warning_level,
+ "warning" : warning,
+ ];
+}
+/* run the module */
+else if(func == "AskUser") {
+ map stored = EduUsers::Export();
+ symbol seq = (symbol) WFM::CallFunction("edu-users", [.propose]);
+ if(seq != `next) EduUsers::Import(stored);
+ y2debug("stored=%1",stored);
+ y2debug("seq=%1",seq);
+ ret = $[
+ "workflow_sequence" : seq
+ ];
+}
+/* create titles */
+else if(func == "Description") {
+ ret = $[
+ /* Rich text title for EduUsers in proposals */
+ "rich_text_title" : _("EduUsers"),
+ /* Menu title for EduUsers in proposals */
+ "menu_title" : _("&EduUsers"),
+ "id" : "edu-users",
+ ];
+}
+/* write the proposal */
+else if(func == "Write") {
+ EduUsers::Write();
+}
+/* unknown function */
+else {
+ y2error("unknown function: %1", func);
+}
+
+/* Finish */
+y2debug("ret=%1",ret);
+y2milestone("EduUsers proposal finished");
+y2milestone("----------------------------------------");
+return ret;
+
+/* EOF */
+}
Added: branches/tmp/jdsn/edu-users/src/helps.ycp
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/src/helps.…
==============================================================================
--- branches/tmp/jdsn/edu-users/src/helps.ycp (added)
+++ branches/tmp/jdsn/edu-users/src/helps.ycp Wed Nov 7 22:44:02 2007
@@ -0,0 +1,119 @@
+/* ------------------------------------------------------------------------------
+ * Copyright (c) 2006 Novell, Inc. All Rights Reserved.
+ *
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of version 2 of the GNU General Public License as published by the
+ * Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, contact Novell, Inc.
+ *
+ * To contact Novell about this file by physical or electronic mail, you may find
+ * current contact information at www.novell.com.
+ * ------------------------------------------------------------------------------
+ */
+
+/**
+ * File: include/edu-users/helps.ycp
+ * Package: Configuration of edu-users
+ * Summary: Help texts of all the dialogs
+ * Authors: J. Daniel Schmidt <jdsn(a)suse.de>
+ *
+ * $Id: helps.ycp 27914 2006-02-13 14:32:08Z locilka $
+ */
+
+{
+
+textdomain "edu-users";
+
+/**
+ * All helps are here
+ */
+map HELPS = $[
+
+ /* Read dialog help 1/2 */
+ "read" : _("<p><b><big>Initializing edu-users Configuration</big></b><br>
+Please wait...<br></p>
+") +
+
+ /* Read dialog help 2/2 */
+ _("<p><b><big>Aborting Initialization:</big></b><br>
+Safely abort the configuration utility by pressing <b>Abort</b> now.</p>
+"),
+
+ /* Write dialog help 1/2 */
+ "write" : _("<p><b><big>Saving edu-users Configuration</big></b><br>
+Please wait...<br></p>
+") +
+
+ /* Write dialog help 2/2 */
+_("<p><b><big>Aborting Saving:</big></b><br>
+Abort the save procedure by pressing <b>Abort</b>.
+An additional dialog informs whether it is safe to do so.
+</p>
+"),
+
+ /* Summary dialog help 1/3 */
+ "summary" : _("<p><b><big>EduUsers Configuration</big></b><br>
+Configure edu-users here.<br></p>
+") +
+
+ /* Summary dialog help 2/3 */
+ _("<p><b><big>Adding a edu-users:</big></b><br>
+Choose an edu-users from the list of detected edu-userss.
+If your edu-users was not detected, use <b>Other (not detected)</b>.
+Then press <b>Configure</b>.</p>
+") +
+
+ /* Summary dialog help 3/3 */
+ _("<p><b><big>Editing or Deleting:</big></b><br>
+If you press <b>Edit</b>, an additional dialog in which to change
+the configuration opens.</p>
+"),
+
+ /* Ovreview dialog help 1/3 */
+ "overview" : _("<p><b><big>EduUsers Configuration Overview</big></b><br>
+Obtain an overview of installed edu-userss. Additionally
+edit their configurations.<br></p>
+") +
+
+ /* Ovreview dialog help 2/3 */
+_("<p><b><big>Adding a edu-users:</big></b><br>
+Press <b>Add</b> to configure a edu-users.</p>") +
+
+ /* Ovreview dialog help 3/3 */
+_("<p><b><big>Editing or Deleting:</big></b><br>
+Choose a edu-users to change or remove.
+Then press <b>Edit</b> or <b>Delete</b> as desired.</p>
+"),
+
+ /* Configure1 dialog help 1/2 */
+ "c1" : _("<p><b><big>Configuration Part One</big></b><br>
+Press <b>Next</b> to continue.
+<br></p>") +
+
+ /* Configure1 dialog help 2/2 */
+_("<p><b><big>Selecting Something</big></b><br>
+It is not possible. You must code it first. :-)
+</p>"),
+
+ /* Configure2 dialog help 1/2 */
+ "c2" : _("<p><b><big>Configuration Part Two</big></b><br>
+Press <b>Next</b> to continue.
+<br></p>
+") +
+
+ /* Configure2 dialog help 2/2 */
+_("<p><b><big>Selecting Something</big></b><br>
+It is not possible. You must code it first. :-)
+</p>"),
+
+];
+
+/* EOF */
+}
Added: branches/tmp/jdsn/edu-users/src/inst_edu-users.ycp
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/src/inst_e…
==============================================================================
--- branches/tmp/jdsn/edu-users/src/inst_edu-users.ycp (added)
+++ branches/tmp/jdsn/edu-users/src/inst_edu-users.ycp Wed Nov 7 22:44:02 2007
@@ -0,0 +1,93 @@
+/* ------------------------------------------------------------------------------
+ * Copyright (c) 2006 Novell, Inc. All Rights Reserved.
+ *
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of version 2 of the GNU General Public License as published by the
+ * Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, contact Novell, Inc.
+ *
+ * To contact Novell about this file by physical or electronic mail, you may find
+ * current contact information at www.novell.com.
+ * ------------------------------------------------------------------------------
+ */
+
+/**
+ * File: clients/edu-users.ycp
+ * Package: Configuration of edu-users
+ * Summary: Main file
+ * Authors: J. Daniel Schmidt <jdsn(a)suse.de>
+ *
+ * $Id: edu-users.ycp 27914 2006-02-13 14:32:08Z locilka $
+ *
+ * Main file for edu-users configuration. Uses all other files.
+ */
+
+{
+
+/***
+ * <h3>Configuration of edu-users</h3>
+ */
+
+textdomain "edu-users";
+
+/* The main () */
+y2milestone ("----------------------------------------");
+y2milestone ("EduUsers module started");
+
+import "Progress";
+import "Report";
+import "Summary";
+
+import "CommandLine";
+include "edu-users/wizards.ycp";
+
+map cmdline_description = $[
+ "id" : "edu-users",
+ /* Command line help text for the Xedu-users module */
+ "help" : _("Configuration of edu-users"),
+ "guihandler" : EduUsersSequence,
+ "initialize" : EduUsers::Read,
+ "finish" : EduUsers::Write,
+ "actions" : $[
+ // FIXME TODO: fill the functionality description here
+ ],
+ "options" : $[
+ // FIXME TODO: fill the option descriptions here
+ ],
+ "mappings" : $[
+ // FIXME TODO: fill the mappings of actions and options here
+ ]
+];
+
+/* is this proposal or not? */
+boolean propose = false;
+list args = WFM::Args();
+if(size(args) > 0) {
+ if(is(WFM::Args(0), path) && WFM::Args(0) == .propose) {
+ y2milestone("Using PROPOSE mode");
+ propose = true;
+ }
+}
+
+/* main ui function */
+any ret = nil;
+
+if(propose) ret = EduUsersAutoSequence();
+else ret = CommandLine::Run(cmdline_description);
+y2debug("ret=%1", ret);
+
+/* Finish */
+y2milestone("EduUsers module finished");
+y2milestone("----------------------------------------");
+
+return ret;
+
+/* EOF */
+}
Added: branches/tmp/jdsn/edu-users/src/sysconfig.edu-users-yast2-edu-users
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/src/syscon…
==============================================================================
--- branches/tmp/jdsn/edu-users/src/sysconfig.edu-users-yast2-edu-users (added)
+++ branches/tmp/jdsn/edu-users/src/sysconfig.edu-users-yast2-edu-users Wed Nov 7 22:44:02 2007
@@ -0,0 +1,16 @@
+## Path: System/Yast2/Users
+## Description: Edu Users
+
+## Type: text
+## Default: ""
+#
+# Templates that can be used for edu-users configuration
+#
+EDU_TEMPLATES=""
+
+## Type: text
+## Default: ""
+#
+# Groups that can be used for edu-users configuration
+#
+EDU_GROUPS=""
Added: branches/tmp/jdsn/edu-users/src/wizards.ycp
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/src/wizard…
==============================================================================
--- branches/tmp/jdsn/edu-users/src/wizards.ycp (added)
+++ branches/tmp/jdsn/edu-users/src/wizards.ycp Wed Nov 7 22:44:02 2007
@@ -0,0 +1,195 @@
+/* ------------------------------------------------------------------------------
+ * Copyright (c) 2006 Novell, Inc. All Rights Reserved.
+ *
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of version 2 of the GNU General Public License as published by the
+ * Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, contact Novell, Inc.
+ *
+ * To contact Novell about this file by physical or electronic mail, you may find
+ * current contact information at www.novell.com.
+ * ------------------------------------------------------------------------------
+ */
+
+/**
+ * File: include/edu-users/wizards.ycp
+ * Package: Configuration of edu-users
+ * Summary: Wizards definitions
+ * Authors: J. Daniel Schmidt <jdsn(a)suse.de>
+ *
+ * $Id: wizards.ycp 27914 2006-02-13 14:32:08Z locilka $
+ */
+
+{
+
+textdomain "edu-users";
+
+import "Sequencer";
+import "Wizard";
+
+include "edu-users/complex.ycp";
+include "edu-users/dialogs.ycp";
+
+/**
+ * Add a configuration of edu-users
+ * @return sequence result
+ */
+any UserAddSequence() {
+
+ map aliases = $[
+ "newuserdialog" : ``(NewUserDialog())
+ ];
+
+ map sequence = $[
+ "ws_start" : "config1",
+ "newuserdialog" : $[
+ `abort : `abort,
+ `next : `next
+ ],
+ ];
+
+ return Sequencer::Run(aliases, sequence);
+}
+
+/**
+ * Main workflow of the edu-users configuration
+ * @return sequence result
+ */
+any MainSequence() {
+
+ /* FIXME: adapt to your needs */
+ map aliases = $[
+ "users" : ``( UsersDialog() ),
+ "groups" : ``( GroupsDialog() ),
+ "templates" : ``( TemplatesDialog() ),
+ "useradd" : [ ``( UserAddSequence() ), true ],
+ "useredit" : [ ``( UserAddSequence() ), true ],
+
+/* "userdelete" : ``( UserDelete() ),
+ "groupadd" : ``( GroupAdd() ),
+ "groupedit" : ``( GroupEdit() ),
+ "groudelete" : ``( GroupDelete() ),
+ "tmplpadd" : ``( TemplateAdd() ),
+ "tmpledit" : ``( TemplateEdit() ),
+ "tmpldelete" : ``( TemplateDelete() )
+*/
+ ];
+
+ /* FIXME: adapt to your needs */
+ map sequence = $[
+ "ws_start" : "users",
+ "users" : $[
+ `abort : `abort,
+ `next : `next,
+ `groups : "groups",
+ `templates : "templates",
+ `add : "useradd",
+ `edit : "useredit" /*,
+ `delete : "userdelete" */
+ ],
+ "groups" : $[
+ `abort : `abort,
+ `next : `next,
+ `users : "users",
+ `templates : "templates" /*,
+ `add : "grpadd",
+ `edit : "grpedit",
+ `delete : "grpdelete" */
+ ],
+ "templates" : $[
+ `abort : `abort,
+ `next : `next,
+ `users : "users",
+ `groups : "groups" /*,
+ `add : "tmpladd",
+ `edit : "tmpledit",
+ `delete : "tmpldelete" */
+ ],
+
+ "useradd" : $[
+ `abort : `abort,
+ `next : "users",
+ ],
+ "useredit" : $[
+ `abort : `abort,
+ `next : "users",
+ ]
+ ];
+
+ any ret = Sequencer::Run(aliases, sequence);
+
+ return ret;
+}
+
+/**
+ * Whole configuration of edu-users
+ * @return sequence result
+ */
+any EduUsersSequence() {
+
+ map aliases = $[
+ "read" : [ ``( ReadDialog() ), true ],
+ "settab" : [ ``( SetTabDialog() ), true],
+ "main" : ``( MainSequence() ),
+ "write" : [ ``( WriteDialog() ), true ]
+ ];
+
+ map sequence = $[
+ "ws_start" : "read",
+ "read" : $[
+ `abort : `abort,
+ `next : "settab"
+ ],
+ "settab" : $[
+ `abort : `abort,
+ `next : "main"
+ ],
+ "main" : $[
+ `abort : `abort,
+ `next : "write"
+ ],
+ "write" : $[
+ `abort : `abort,
+ `next : `next
+ ]
+ ];
+
+ Wizard::CreateDialog();
+
+ any ret = Sequencer::Run(aliases, sequence);
+
+ UI::CloseDialog();
+ return ret;
+}
+
+/**
+ * Whole configuration of edu-users but without reading and writing.
+ * For use with autoinstallation.
+ * @return sequence result
+ */
+any EduUsersAutoSequence() {
+
+ /* Initialization dialog caption */
+ string caption = _("EduUsers Configuration");
+ /* Initialization dialog contents */
+ term contents = `Label(_("Initializing... (only fake - no autoYaST support yet)"));
+
+ Wizard::CreateDialog();
+ Wizard::SetContentsButtons(caption, contents, "",
+ Label::BackButton(), Label::NextButton());
+
+ any ret = MainSequence();
+
+ UI::CloseDialog();
+ return ret;
+}
+
+/* EOF */
+}
Added: branches/tmp/jdsn/edu-users/testsuite/.cvsignore
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/testsuite/…
==============================================================================
--- branches/tmp/jdsn/edu-users/testsuite/.cvsignore (added)
+++ branches/tmp/jdsn/edu-users/testsuite/.cvsignore Wed Nov 7 22:44:02 2007
@@ -0,0 +1,11 @@
+Makefile
+Makefile.in
+site.exp
+*.sum
+*.log
+tmp.out*
+tmp.err*
+tmp.log*
+config
+run
+*.test
Added: branches/tmp/jdsn/edu-users/testsuite/Makefile
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/testsuite/…
==============================================================================
--- branches/tmp/jdsn/edu-users/testsuite/Makefile (added)
+++ branches/tmp/jdsn/edu-users/testsuite/Makefile Wed Nov 7 22:44:02 2007
@@ -0,0 +1,418 @@
+# Makefile.in generated by automake 1.9.5 from Makefile.am.
+# ./devtools/skeletons/config/testsuite/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+#
+# Makefile.am for .../testsuite
+#
+# Do not edit this file (Makefile.am) as it will be overwritten!
+#
+srcdir = .
+top_srcdir = ../../../..
+
+pkgdatadir = $(datadir)/yast2-devtools
+pkglibdir = $(libdir)/yast2-devtools
+pkgincludedir = $(includedir)/yast2-devtools
+top_builddir = ../../../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c -p
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = ia64-suse-linux
+host_triplet = ia64-suse-linux
+target_triplet = ia64-suse-linux
+subdir = ./devtools/skeletons/config/testsuite
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_CLEAN_FILES =
+SOURCES =
+DIST_SOURCES =
+DEJATOOL = $(PACKAGE)
+RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
+EXPECT = expect
+RUNTEST = runtest
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /local/yast2/trunk/devtools/missing --run aclocal-1.9
+AMDEP_FALSE = #
+AMDEP_TRUE =
+AMTAR = ${SHELL} /local/yast2/trunk/devtools/missing --run tar
+AR = ar
+AUTOCONF = ${SHELL} /local/yast2/trunk/devtools/missing --run autoconf
+AUTOHEADER = ${SHELL} /local/yast2/trunk/devtools/missing --run autoheader
+AUTOMAKE = ${SHELL} /local/yast2/trunk/devtools/missing --run automake-1.9
+AWK = gawk
+CAT_ENTRY_END = -->
+CAT_ENTRY_START = <!--
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CREATE_PKGCONFIG_FALSE = #
+CREATE_PKGCONFIG_TRUE =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DPACKAGE_NAME=\"yast2-devtools\" -DPACKAGE_TARNAME=\"yast2-devtools\" -DPACKAGE_VERSION=\"2.12.0\" -DPACKAGE_STRING=\"yast2-devtools\ 2.12.0\" -DPACKAGE_BUGREPORT=\"http://www.suse.de/feedback\" -DPACKAGE=\"yast2-devtools\" -DVERSION=\"2.12.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
+DEPDIR = .deps
+DOCBOOK_ROOT =
+ECHO = echo
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = grep -E
+EXEEXT =
+F77 = g77
+FFLAGS = -g -O2
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+LDFLAGS =
+LIBOBJS =
+LIBS =
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+LTLIBOBJS =
+MAINTAINER = Martin Vidner <mvidner(a)suse.cz>
+MAKEINFO = ${SHELL} /local/yast2/trunk/devtools/missing --run makeinfo
+OBJEXT = o
+PACKAGE = yast2-devtools
+PACKAGE_BUGREPORT = http://www.suse.de/feedback
+PACKAGE_NAME = yast2-devtools
+PACKAGE_STRING = yast2-devtools 2.12.0
+PACKAGE_TARNAME = yast2-devtools
+PACKAGE_VERSION = 2.12.0
+PATH_SEPARATOR = :
+PERL = perl
+PKG_CONFIG_PATH = /usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/opt/gnome/lib/pkgconfig
+RANLIB = ranlib
+RPMNAME = yast2-devtools
+SET_MAKE =
+SHELL = /bin/sh
+STRIP = strip
+STYLESHEET_CSS = /usr/share/YaST2/data/docbook/css/yast2docs.css
+STYLESHEET_HTML = /usr/share/YaST2/data/docbook/stylesheets/customize-html.xsl
+STYLESHEET_PDF = /usr/share/YaST2/data/docbook/stylesheets/customize-fo.xsl
+STYLESHEET_YCPDOC = /usr/share/YaST2/data/docbook/stylesheets/ycpdoc.xsl
+STYLESHEET_YDOC = /usr/share/YaST2/data/docbook/stylesheets/ydoc.xsl
+VERSION = 2.12.0
+XGETTEXT = /usr/bin/xgettext
+XML_CATALOG = /etc/xml/catalog
+XSLTPROC = /usr/bin/xsltproc
+XSLTPROC_FLAGS = --nonet
+YAST2DEVTOOLS = ${prefix}/share/YaST2/data/devtools
+YCPDOC = ./ycpdoc/src/ycpdoc
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = g77
+ac_ct_RANLIB = ranlib
+ac_ct_STRIP = strip
+agentdir = ${prefix}/lib/YaST2/servers_non_y2
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE =
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = tar --format=ustar -chf - "$$tardir"
+am__untar = tar -xf -
+bindir = ${exec_prefix}/bin
+build = ia64-suse-linux
+build_alias =
+build_cpu = ia64
+build_os = linux
+build_vendor = suse
+clientdir = ${prefix}/share/YaST2/clients
+datadir = ${prefix}/share
+desktopdir = ${prefix}/share/applications/YaST2
+docdir = ${prefix}/share/doc/packages/yast2-devtools
+exec_prefix = ${prefix}
+execcompdir = ${prefix}/lib/YaST2
+have_xsltproc_FALSE = #
+have_xsltproc_TRUE =
+host = ia64-suse-linux
+host_alias =
+host_cpu = ia64
+host_os = linux
+host_vendor = suse
+imagedir = ${prefix}/share/YaST2/images
+includedir = ${prefix}/include/YaST2
+infodir = ${prefix}/info
+install_sh = /local/yast2/trunk/devtools/install-sh
+libdir = /usr/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${prefix}/share/YaST2/locale
+localstatedir = ${prefix}/var
+mandir = ${prefix}/share/man
+mkdir_p = mkdir -p --
+moduledir = ${prefix}/share/YaST2/modules
+oldincludedir = /usr/include
+pkgconfigdir = ${libdir}/pkgconfig
+plugindir = ${libdir}/YaST2/plugin
+potdir = ${docdir}/pot
+prefix = /usr
+program_transform_name = s,x,x,
+sbindir = ${exec_prefix}/sbin
+schemadir = ${prefix}/share/YaST2/schema
+scrconfdir = ${prefix}/share/YaST2/scrconf
+sharedstatedir = ${prefix}/com
+sysconfdir = ${prefix}/etc
+target = ia64-suse-linux
+target_alias =
+target_cpu = ia64
+target_os = linux
+target_vendor = suse
+themedir = ${prefix}/share/YaST2/theme
+yast2dir = ${prefix}/share/YaST2
+ybindir = ${prefix}/lib/YaST2/bin
+ydatadir = ${prefix}/share/YaST2/data
+yncludedir = ${prefix}/share/YaST2/include
+ystartupdir = ${prefix}/lib/YaST2
+AUTOMAKE_OPTIONS = dejagnu
+EXTRA_DIST = $(wildcard tests/*.out) $(wildcard tests/*.err) $(wildcard tests/*.ycp) $(wildcard tests/*.yh)
+testsuite_prepare = ${prefix}/share/YaST2/data/testsuite/Makefile.testsuite
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ./devtools/skeletons/config/testsuite/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu ./devtools/skeletons/config/testsuite/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+
+check-DEJAGNU: site.exp
+ srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
+ EXPECT=$(EXPECT); export EXPECT; \
+ runtest=$(RUNTEST); \
+ if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
+ l='$(DEJATOOL)'; for tool in $$l; do \
+ $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \
+ done; \
+ else echo "WARNING: could not find \`runtest'" 1>&2; :;\
+ fi
+site.exp: Makefile
+ @echo 'Making a new site.exp file...'
+ @echo '## these variables are automatically generated by make ##' >site.tmp
+ @echo '# Do not edit here. If you wish to override these values' >>site.tmp
+ @echo '# edit the last section' >>site.tmp
+ @echo 'set srcdir $(srcdir)' >>site.tmp
+ @echo "set objdir `pwd`" >>site.tmp
+ @echo 'set build_alias "$(build_alias)"' >>site.tmp
+ @echo 'set build_triplet $(build_triplet)' >>site.tmp
+ @echo 'set host_alias "$(host_alias)"' >>site.tmp
+ @echo 'set host_triplet $(host_triplet)' >>site.tmp
+ @echo 'set target_alias "$(target_alias)"' >>site.tmp
+ @echo 'set target_triplet $(target_triplet)' >>site.tmp
+ @echo '## All variables above are generated by configure. Do Not Edit ##' >>site.tmp
+ @test ! -f site.exp || \
+ sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp
+ @-rm -f site.bak
+ @test ! -f site.exp || mv site.exp site.bak
+ @mv site.tmp site.exp
+
+distclean-DEJAGNU:
+ -rm -f site.exp site.bak
+ -l='$(DEJATOOL)'; for tool in $$l; do \
+ rm -f $$tool.sum $$tool.log; \
+ done
+
+distdir: $(DISTFILES)
+ $(mkdir_p) $(distdir)/tests
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+ $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU check-local
+check: check-am
+all-am: Makefile all-local
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-local mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-DEJAGNU distclean-generic \
+ distclean-libtool
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am
+
+.PHONY: all all-am all-local check check-DEJAGNU check-am check-local \
+ clean clean-generic clean-libtool clean-local distclean \
+ distclean-DEJAGNU distclean-generic distclean-libtool distdir \
+ dvi dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-exec install-exec-am \
+ install-info install-info-am install-man install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
+ uninstall-info-am
+
+
+all-local: $(testsuite_prepare)
+ make -f $(testsuite_prepare) RPMNAME=$(RPMNAME) srcdir=$(srcdir)
+
+clean-local: $(testsuite_prepare)
+ make -f $(testsuite_prepare) RPMNAME=$(RPMNAME) srcdir=$(srcdir) clean
+
+check-local: $(testsuite_prepare)
+ make -f $(testsuite_prepare) RPMNAME=$(RPMNAME) srcdir=$(srcdir) check
+
+# EOF
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Added: branches/tmp/jdsn/edu-users/testsuite/Makefile.am
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/testsuite/…
==============================================================================
--- branches/tmp/jdsn/edu-users/testsuite/Makefile.am (added)
+++ branches/tmp/jdsn/edu-users/testsuite/Makefile.am Wed Nov 7 22:44:02 2007
@@ -0,0 +1,21 @@
+#
+# Makefile.am for .../testsuite
+#
+# Do not edit this file (Makefile.am) as it will be overwritten!
+#
+
+AUTOMAKE_OPTIONS = dejagnu
+EXTRA_DIST = $(wildcard tests/*.out) $(wildcard tests/*.err) $(wildcard tests/*.ycp) $(wildcard tests/*.yh)
+
+testsuite_prepare = @ydatadir@/testsuite/Makefile.testsuite
+
+all-local: $(testsuite_prepare)
+ make -f $(testsuite_prepare) RPMNAME=$(RPMNAME) srcdir=$(srcdir)
+
+clean-local: $(testsuite_prepare)
+ make -f $(testsuite_prepare) RPMNAME=$(RPMNAME) srcdir=$(srcdir) clean
+
+check-local: $(testsuite_prepare)
+ make -f $(testsuite_prepare) RPMNAME=$(RPMNAME) srcdir=$(srcdir) check
+
+# EOF
Added: branches/tmp/jdsn/edu-users/testsuite/Makefile.in
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/testsuite/…
==============================================================================
--- branches/tmp/jdsn/edu-users/testsuite/Makefile.in (added)
+++ branches/tmp/jdsn/edu-users/testsuite/Makefile.in Wed Nov 7 22:44:02 2007
@@ -0,0 +1,418 @@
+# Makefile.in generated by automake 1.9.5 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+#
+# Makefile.am for .../testsuite
+#
+# Do not edit this file (Makefile.am) as it will be overwritten!
+#
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ../../../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = ./devtools/skeletons/config/testsuite
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_CLEAN_FILES =
+SOURCES =
+DIST_SOURCES =
+DEJATOOL = $(PACKAGE)
+RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
+EXPECT = expect
+RUNTEST = runtest
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AR = @AR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAT_ENTRY_END = @CAT_ENTRY_END@
+CAT_ENTRY_START = @CAT_ENTRY_START@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CREATE_PKGCONFIG_FALSE = @CREATE_PKGCONFIG_FALSE@
+CREATE_PKGCONFIG_TRUE = @CREATE_PKGCONFIG_TRUE@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DOCBOOK_ROOT = @DOCBOOK_ROOT@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAINTAINER = @MAINTAINER@
+MAKEINFO = @MAKEINFO@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PERL = @PERL@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+RANLIB = @RANLIB@
+RPMNAME = @RPMNAME@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+STYLESHEET_CSS = @STYLESHEET_CSS@
+STYLESHEET_HTML = @STYLESHEET_HTML@
+STYLESHEET_PDF = @STYLESHEET_PDF@
+STYLESHEET_YCPDOC = @STYLESHEET_YCPDOC@
+STYLESHEET_YDOC = @STYLESHEET_YDOC@
+VERSION = @VERSION@
+XGETTEXT = @XGETTEXT@
+XML_CATALOG = @XML_CATALOG@
+XSLTPROC = @XSLTPROC@
+XSLTPROC_FLAGS = @XSLTPROC_FLAGS@
+YAST2DEVTOOLS = @YAST2DEVTOOLS@
+YCPDOC = @YCPDOC@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+ac_ct_RANLIB = @ac_ct_RANLIB@
+ac_ct_STRIP = @ac_ct_STRIP@
+agentdir = @agentdir@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+clientdir = @clientdir@
+datadir = @datadir@
+desktopdir = @desktopdir@
+docdir = @docdir@
+exec_prefix = @exec_prefix@
+execcompdir = @execcompdir@
+have_xsltproc_FALSE = @have_xsltproc_FALSE@
+have_xsltproc_TRUE = @have_xsltproc_TRUE@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+imagedir = @imagedir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+moduledir = @moduledir@
+oldincludedir = @oldincludedir@
+pkgconfigdir = @pkgconfigdir@
+plugindir = @plugindir@
+potdir = @potdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+sbindir = @sbindir@
+schemadir = @schemadir@
+scrconfdir = @scrconfdir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+themedir = @themedir@
+yast2dir = @yast2dir@
+ybindir = @ybindir@
+ydatadir = @ydatadir@
+yncludedir = @yncludedir@
+ystartupdir = @ystartupdir@
+AUTOMAKE_OPTIONS = dejagnu
+EXTRA_DIST = $(wildcard tests/*.out) $(wildcard tests/*.err) $(wildcard tests/*.ycp) $(wildcard tests/*.yh)
+testsuite_prepare = @ydatadir@/testsuite/Makefile.testsuite
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ./devtools/skeletons/config/testsuite/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu ./devtools/skeletons/config/testsuite/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+
+check-DEJAGNU: site.exp
+ srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
+ EXPECT=$(EXPECT); export EXPECT; \
+ runtest=$(RUNTEST); \
+ if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
+ l='$(DEJATOOL)'; for tool in $$l; do \
+ $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \
+ done; \
+ else echo "WARNING: could not find \`runtest'" 1>&2; :;\
+ fi
+site.exp: Makefile
+ @echo 'Making a new site.exp file...'
+ @echo '## these variables are automatically generated by make ##' >site.tmp
+ @echo '# Do not edit here. If you wish to override these values' >>site.tmp
+ @echo '# edit the last section' >>site.tmp
+ @echo 'set srcdir $(srcdir)' >>site.tmp
+ @echo "set objdir `pwd`" >>site.tmp
+ @echo 'set build_alias "$(build_alias)"' >>site.tmp
+ @echo 'set build_triplet $(build_triplet)' >>site.tmp
+ @echo 'set host_alias "$(host_alias)"' >>site.tmp
+ @echo 'set host_triplet $(host_triplet)' >>site.tmp
+ @echo 'set target_alias "$(target_alias)"' >>site.tmp
+ @echo 'set target_triplet $(target_triplet)' >>site.tmp
+ @echo '## All variables above are generated by configure. Do Not Edit ##' >>site.tmp
+ @test ! -f site.exp || \
+ sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp
+ @-rm -f site.bak
+ @test ! -f site.exp || mv site.exp site.bak
+ @mv site.tmp site.exp
+
+distclean-DEJAGNU:
+ -rm -f site.exp site.bak
+ -l='$(DEJATOOL)'; for tool in $$l; do \
+ rm -f $$tool.sum $$tool.log; \
+ done
+
+distdir: $(DISTFILES)
+ $(mkdir_p) $(distdir)/tests
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+ $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU check-local
+check: check-am
+all-am: Makefile all-local
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-local mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-DEJAGNU distclean-generic \
+ distclean-libtool
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am
+
+.PHONY: all all-am all-local check check-DEJAGNU check-am check-local \
+ clean clean-generic clean-libtool clean-local distclean \
+ distclean-DEJAGNU distclean-generic distclean-libtool distdir \
+ dvi dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-exec install-exec-am \
+ install-info install-info-am install-man install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
+ uninstall-info-am
+
+
+all-local: $(testsuite_prepare)
+ make -f $(testsuite_prepare) RPMNAME=$(RPMNAME) srcdir=$(srcdir)
+
+clean-local: $(testsuite_prepare)
+ make -f $(testsuite_prepare) RPMNAME=$(RPMNAME) srcdir=$(srcdir) clean
+
+check-local: $(testsuite_prepare)
+ make -f $(testsuite_prepare) RPMNAME=$(RPMNAME) srcdir=$(srcdir) check
+
+# EOF
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Added: branches/tmp/jdsn/edu-users/testsuite/tests/.cvsignore
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/testsuite/…
==============================================================================
(empty)
Added: branches/tmp/jdsn/edu-users/testsuite/tests/EduUsers.err
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/testsuite/…
==============================================================================
(empty)
Added: branches/tmp/jdsn/edu-users/testsuite/tests/EduUsers.out
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/testsuite/…
==============================================================================
--- branches/tmp/jdsn/edu-users/testsuite/tests/EduUsers.out (added)
+++ branches/tmp/jdsn/edu-users/testsuite/tests/EduUsers.out Wed Nov 7 22:44:02 2007
@@ -0,0 +1,2 @@
+Dump EduUsers::Modified
+Return false
Added: branches/tmp/jdsn/edu-users/testsuite/tests/EduUsers.ycp
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/testsuite/…
==============================================================================
--- branches/tmp/jdsn/edu-users/testsuite/tests/EduUsers.ycp (added)
+++ branches/tmp/jdsn/edu-users/testsuite/tests/EduUsers.ycp Wed Nov 7 22:44:02 2007
@@ -0,0 +1,13 @@
+{
+
+// testedfiles: EduUsers.ycp
+
+include "testsuite.ycp";
+TESTSUITE_INIT([], nil);
+
+import "EduUsers";
+
+DUMP("EduUsers::Modified");
+TEST(``(EduUsers::Modified()), [], nil);
+
+}
Added: branches/tmp/jdsn/edu-users/yast2-edu-users.spec.in
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/edu-users/yast2-edu-…
==============================================================================
--- branches/tmp/jdsn/edu-users/yast2-edu-users.spec.in (added)
+++ branches/tmp/jdsn/edu-users/yast2-edu-users.spec.in Wed Nov 7 22:44:02 2007
@@ -0,0 +1,31 @@
+@HEADER-COMMENT@
+
+@HEADER@
+Requires: yast2
+BuildRequires: perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-testsuite
+
+BuildArchitectures: noarch
+
+Summary: Configuration of edu-users
+
+%description
+-
+
+@PREP@
+
+@BUILD@
+
+@INSTALL@
+
+@CLEAN@
+
+%files
+%defattr(-,root,root)
+%dir @yncludedir@/edu-users
+@yncludedir@/edu-users/*
+@clientdir@/edu-users.ycp
+@clientdir@/edu-users_*.ycp
+@moduledir@/EduUsers.*
+@moduledir@/EduUsers2.*
+@desktopdir@/edu-users.desktop
+%doc @docdir@
--
To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
Author: mzugec
Date: Wed Nov 7 21:01:02 2007
New Revision: 41869
URL: http://svn.opensuse.org/viewcvs/yast?rev=41869&view=rev
Log:
Created tag stable-2_16_9 for yast2
Added:
tags/stable-2_16_9/yast2/
- copied from r41868, trunk/yast2/
--
To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
Author: mzugec
Date: Wed Nov 7 21:00:59 2007
New Revision: 41868
URL: http://svn.opensuse.org/viewcvs/yast?rev=41868&view=rev
Log:
Created tag stable-2_16_9
Added:
tags/stable-2_16_9/
--
To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
[yast-commit] r41867 - in /trunk/yast2: VERSION library/network/src/NetworkDevices.ycp package/yast2.changes
by mzugec@svn.opensuse.org 07 Nov '07
by mzugec@svn.opensuse.org 07 Nov '07
07 Nov '07
Author: mzugec
Date: Wed Nov 7 21:00:38 2007
New Revision: 41867
URL: http://svn.opensuse.org/viewcvs/yast?rev=41867&view=rev
Log:
added new function ListDevicesExcept(string)
Modified:
trunk/yast2/VERSION
trunk/yast2/library/network/src/NetworkDevices.ycp
trunk/yast2/package/yast2.changes
Modified: trunk/yast2/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/VERSION?rev=41867&r1=41866…
==============================================================================
--- trunk/yast2/VERSION (original)
+++ trunk/yast2/VERSION Wed Nov 7 21:00:38 2007
@@ -1 +1 @@
-2.16.8
+2.16.9
Modified: trunk/yast2/library/network/src/NetworkDevices.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/network/src/Networ…
==============================================================================
--- trunk/yast2/library/network/src/NetworkDevices.ycp (original)
+++ trunk/yast2/library/network/src/NetworkDevices.ycp Wed Nov 7 21:00:38 2007
@@ -1376,5 +1376,15 @@
return String::ValidCharsFilename ();
}
+/**
+ * list of all devices except given one by parameter dev
+ * also loopback is ommited
+ */
+
+global list<string> ListDevicesExcept(string dev){
+ list<string> devices = filter(string s, LocateNOT("DEVICE", dev), {return s!="lo";});
+ return devices;
+}
+
/* EOF */
}
Modified: trunk/yast2/package/yast2.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/package/yast2.changes?rev=…
==============================================================================
--- trunk/yast2/package/yast2.changes (original)
+++ trunk/yast2/package/yast2.changes Wed Nov 7 21:00:38 2007
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Wed Nov 7 20:59:53 CET 2007 - mzugec(a)suse.cz
+
+- added new function ListDevicesExcept(string)
+- 2.16.9
+
+-------------------------------------------------------------------
Tue Nov 6 18:22:47 CET 2007 - locilka(a)suse.cz
- Added new YCP module AutoinstData (which holds all data shared
--
To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0