-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathREADME
60 lines (38 loc) · 1.79 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/* Light information on YaST-GTK */
License
This code is licensed under the GNU Lesser General Public License (LGPL)
version 2.1 and/or version 3, at your option.
A native GTK+ YaST2 UI !
This code creates a GTK+ plugin for YaST2. This plugin parallel
installs with everything else, and will never be used unless
explicitely invoked on the yast2 command line - ie. it won't break
your system; go-on you know you want to install it.
Build pre-requisites
To make this compile you'll need the following packages installed
(at a minimum):
gcc-c++ cmake gtk2-devel yast2-devtools yast2-core-devel yast2-libyui-devel libzypp-devel
They all are distributed with Suse's CDs.
Building / Installing
cmake -D CMAKE_INSTALL_PREFIX=/usr -f CMakeLists.txt
make && sudo make install [1]
[1] - if you want sudo not to ask you a password, add yourself to the
wheel group, and uncomment the related lines in /etc/sudoers
Running
export Y2DEBUG=1
/usr/lib/YaST2/bin/y2base /usr/share/doc/packages/yast2-core/libyui/examples/HelloWorld.ycp gtk
From OpenSuse 10.3 on, it should be picked up automatically if you use Gnome.
For other desktops, you can set yast-gtk to be used by editing /etc/sysconfig/yast2 .
In case of oddness append --nothreads to the cmdline,
Also check the log file: ~/.y2log
Documentation
A code overview is given on the HACKING file.
For documentation of YaST in general:
http://developer.novell.com/wiki/index.php/Special:Downloads/yast/doc
ChangeLog
Changes associated with version releases are recorded at
package/yast2-gtk.changes
Individual svn changes can be read by issueing: svn log | less
Other usage examples:
Last 50 changes: svn log -l 50
Show also files changed: svn log -v
Changes for a given file: svn log src/YGUI.cc