[yast-commit] r43210 - in /trunk/gtk: README configure.in.in
Author: rpmcruz Date: Thu Dec 20 21:35:44 2007 New Revision: 43210 URL: http://svn.opensuse.org/viewcvs/yast?rev=43210&view=rev Log: Moving unstable-libyui to main. Modified: trunk/gtk/README trunk/gtk/configure.in.in Modified: trunk/gtk/README URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/README?rev=43210&r1=43209&r2=43210&view=diff ============================================================================== --- trunk/gtk/README (original) +++ trunk/gtk/README Thu Dec 20 21:35:44 2007 @@ -34,8 +34,8 @@ /usr/lib/YaST2/bin/y2base /usr/share/doc/packages/yast2-core/libyui/examples/HelloWorld.ycp gtk - In order to fire up YaST modules, run the ycc.sh script. - (You'll need the zenity package installed.) + 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 @@ -45,3 +45,4 @@ 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 + Modified: trunk/gtk/configure.in.in URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/configure.in.in?rev=43210&r1=43209&r2=43210&view=diff ============================================================================== --- trunk/gtk/configure.in.in (original) +++ trunk/gtk/configure.in.in Thu Dec 20 21:35:44 2007 @@ -27,19 +27,9 @@ fi AC_SUBST(PKG_CONFIG) - AC_FUNC_ALLOCA AC_HEADER_STDC -dnl Try to find the Zypp includes -AC_MSG_CHECKING([for zypp 3]) -if test -f /usr/include/zypp/SourceManager.h; then - AC_DEFINE(PRE_ZYPP_3, 1, [defined if using an older SL10.1 era zypp]) - AC_MSG_RESULT([pre 3]) -else - AC_MSG_RESULT([found]) -fi - PKG_CHECK_MODULES( ZYPP, libzypp ) AC_SUBST(ZYPP_LIBS) @@ -62,19 +52,22 @@ yast_vers=`echo "$verstxt" | awk -F. '{ printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` AC_DEFINE_UNQUOTED(YAST2_VERSION, $yast_vers, [yast version for compile conditionals]) -dnl new UI library -AC_MSG_CHECKING([for old libyui]) PYUI_LIBS='-lpy2UI' -if test $yast_vers -le 2015006; then - PYUI_LIBS='-lyui' - AC_MSG_RESULT([found]) -else - AC_MSG_RESULT([use new lib]) -fi AC_SUBST(PYUI_LIBS) +dnl Checking for new libyui API... +if ! test -f /usr/include/YaST2/yui/YApplication.h; then + AC_MSG_ERROR([ +*** Version of libyui >= 2.15.12 needed (your version: $verstxt) +*** You can find it on: svn checkout http://svn.opensuse.org/svn/yast/trunk/core/ +*** Do "make -f Makefile.cvs" on root +*** Then you just need to compile stuff under libyui, +*** "cd libyui && make && sudo make install" +*** libyui broke compatibility in order to get away from YCP structures, +*** to make it easier for binding.]) +fi + AC_OUTPUT([Makefile src/Makefile]) -echo " -Hello hacker: please read the README carefully while this builds. -" +echo "Hello hacker: checkout README while this builds." + -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
rpmcruz@svn.opensuse.org