Skip to content

Commit

Permalink
yast2 "base" package with common files
Browse files Browse the repository at this point in the history
svn path=/trunk/yast2/; revision=2961
  • Loading branch information
kkaempf committed Jun 27, 2002
0 parents commit faa908f
Show file tree
Hide file tree
Showing 60 changed files with 7,639 additions and 0 deletions.
1 change: 1 addition & 0 deletions MAINTAINER
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Klaus Kaempf <[email protected]>
18 changes: 18 additions & 0 deletions Makefile.cvs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#
# Makefile.cvs for libycp
#
configure: all
./configure

all:
y2tool y2autoconf
y2tool y2automake
autoreconf --force --install

install: configure
make
make install

reconf: all
./config.status --recheck
./config.status
9 changes: 9 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
y2m_inst is part of YaST2
See the file COPYRIGHT.english for license terms

y2m_inst contains the installation workflow and scripts
used for a first-time installtion of SuSE Linux.
Due to historical reasons, the package name is "yast2"

"configure" accepts '--with-testsuite' which enables building
of testsuite related files
1 change: 1 addition & 0 deletions RPMNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
yast2
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.6.7
6 changes: 6 additions & 0 deletions agents/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#
# Makefile.am for yast2/agents
#
scrconf_DATA = $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/*.scr))
EXTRA_DIST = $(scrconf_DATA)

24 changes: 24 additions & 0 deletions agents/menuentries.scr
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#
# $Id$
#

.yast2.menuentry

`ag_ini(
IniAgent( [ "/usr/lib/YaST2/config/y2controlcentericons.y2cc-groups", "/usr/lib/YaST2/config/*.y2cc" ],
$[
"options" : [ ],
"comments": [ "^[ \t]*;.*", ";.*", "\\{[^}]*\\}", "^[ \t]*$" ],
"sections" : [
$[
"begin" : [ "^[ \t]*\\[[ \t]*(.*[^ \t])[ \t]*\\][ \t]*", "[%s]" ],
],
],
"params" : [
$[
"match" : [ "^[ \t]*([^=]*[^ \t=])[ \t]*=[ \t]*(.*[^ \t]|)[ \t]*$" , "%s=%s"],
],
],
]
)
)
13 changes: 13 additions & 0 deletions configure.in.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## 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...
AC_CONFIG_FILES(modules/Version.ycp)
@YAST2-OUTPUT@
2 changes: 2 additions & 0 deletions images/.cvsignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Makefile
Makefile.in
43 changes: 43 additions & 0 deletions images/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#
# Makefile.am for y2m_inst/images
#

image_DATA = \
active_bottomLeft_corner.png \
active_bottomTile.png \
active_insideBottom_corner.png \
active_insideTop_corner.png \
active_leftTile.png \
active_topLeft_corner.png \
active_topTile.png \
button_active.png \
button_done.png \
button_normal.png \
card1_left.png \
card1_right.png \
card2_left.png \
card2_right.png \
card3_left.png \
card3_right.png \
fullBottom_tile.png \
full_1.png \
full_2.png \
full_3.png \
full_4.png \
help_bottom.png \
help_left.png \
help_right.png \
help_top.png \
inactive_bottomLeft_corner.png \
inactive_bottomRight_corner.png \
inactive_bottomTile.png \
inactive_leftTile.png \
inactive_rightTile.png \
inactive_topLeft_corner.png \
inactive_topRight_corner.png \
inactive_topTile.png


imagedir = $(datadir)/images

EXTRA_DIST = $(image_DATA)
Binary file added images/active_bottomLeft_corner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/active_bottomTile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/active_insideBottom_corner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/active_insideTop_corner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/active_leftTile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/active_topLeft_corner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/active_topTile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/button_active.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/button_done.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/button_normal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/card1_left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/card1_right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/card2_left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/card2_right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/card3_left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/card3_right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions images/color_reduce
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/csh

if ( $#argv != 1 ) then
echo "Usage: $0 <number of colors>"
exit 1
endif

foreach pic ( s*.png )
echo "Converting $pic to ppm"
pngtopnm <bak/$pic >${pic}.pnm
end


echo "Quantizing"
ppmquantall $1 *.pnm

foreach pic ( s*.png )
echo "Converting $pic back to png"
pnmtopng <${pic}.pnm >$pic
end
11 changes: 11 additions & 0 deletions images/color_reduce_simple
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/csh

if ( $#argv != 1 ) then
echo "Usage: $0 <number of colors>"
exit 1
endif

foreach pic ( stage*.png )
echo $pic
convert -colors $1 bak/$pic $pic
end
Binary file added images/fullBottom_tile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/full_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/full_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/full_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/full_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/help_bottom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/help_left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/help_right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/help_top.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/inactive_bottomLeft_corner.png
Binary file added images/inactive_bottomRight_corner.png
Binary file added images/inactive_bottomTile.png
Binary file added images/inactive_leftTile.png
Binary file added images/inactive_rightTile.png
Binary file added images/inactive_topLeft_corner.png
Binary file added images/inactive_topRight_corner.png
Binary file added images/inactive_topTile.png
57 changes: 57 additions & 0 deletions modules/Debug.ycp
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
/**
* File:
* Debug.ycp
*
* Module:
* Debug.ycp
*
* Summary:
* Adds additional debug proprties
*
* Authors:
* Michael Hager <[email protected]>
*
* $Id$
* - supports an debug console
*
*/

{
module "Debug";

import "Mode";
import "Installation";



/**
* @return boolean
*
* Return if debug_mode is on. This mode is triggert, by Mode::beta
* or if the file /usr/lib/YaST2/etc/debug exists
*
* @example if ( Debug::debug_mode ) ...
*/

global boolean debug_mode = false;


// The constructor

global define Debug() ``{

string debugfile = "/usr/lib/YaST2/etc/debug";
string debugtext = SCR::Read(.target.string, debugfile);

if (debugtext != nil || Mode::beta )
{
debug_mode = true;
}
else
{
debug_mode = false;
}
};
}


11 changes: 11 additions & 0 deletions modules/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#
# Makefile.am for yast2/modules
#
module_DATA = \
Debug.ycp \
Misc.ycp \
Version.ycp \
eval.ycp

EXTRA_DIST = $(module_DATA) Version.ycp.in

Loading

0 comments on commit faa908f

Please sign in to comment.