Hello community,

here is the log from the commit of package yast2-ruby-bindings for 
openSUSE:Factory checked in at 2014-10-25 08:32:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-ruby-bindings (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-ruby-bindings.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-ruby-bindings"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-ruby-bindings/yast2-ruby-bindings.changes  
2014-10-20 07:27:04.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.yast2-ruby-bindings.new/yast2-ruby-bindings.changes 
    2014-10-25 08:33:14.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Oct 20 11:59:06 UTC 2014 - [email protected]
+
+- added Travis support (.travis.yml, xcrypt.h detection)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-ruby-bindings-3.1.25.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-ruby-bindings-3.1.25/.travis.yml 
new/yast2-ruby-bindings-3.1.25/.travis.yml
--- old/yast2-ruby-bindings-3.1.25/.travis.yml  1970-01-01 01:00:00.000000000 
+0100
+++ new/yast2-ruby-bindings-3.1.25/.travis.yml  2014-10-20 14:05:09.000000000 
+0200
@@ -0,0 +1,24 @@
+language: cpp
+compiler:
+    - gcc
+before_install:
+    - curl 
http://download.opensuse.org/repositories/YaST:/Head:/Travis/xUbuntu_12.04/Release.key
 | sudo apt-key add -
+    - echo "deb 
http://download.opensuse.org/repositories/YaST:/Head:/Travis/xUbuntu_12.04/ ./" 
| sudo tee -a /etc/apt/sources.list
+    - sudo apt-get update -q
+    - sudo apt-get install --no-install-recommends -y docbook-xsl xsltproc 
yast2-core-dev yast2-devtools libxcrypt-dev cmake yast2-ycp-ui-bindings-dev 
ruby2.1 ruby2.1-dev ruby-rspec ruby-fast-gettext
+    - sudo apt-get --reinstall install language-pack-en language-pack-cs
+    # disable rvm, use system Ruby
+    - rvm reset
+script:
+    # TODO FIXME: hack for Travis build, cmake includes 
"/usr/include/ruby-2.1.0/x86_64-linux-gnu"
+    # instead of "/usr/include/x86_64-linux-gnu/ruby-2.1.0"
+    - export CXXFLAGS=-I/usr/include/x86_64-linux-gnu/ruby-2.1.0
+    - mkdir build
+    - cd build
+    - cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DLIB=lib 
-DCMAKE_VERBOSE_MAKEFILE=ON
+    - make -j 4
+    - sudo make install
+    # TODO FIXME: tests temporarily disabled, crypt and a locale test fail,
+    #             fix it later
+    #- (cd tests/ruby && make test ARGS=-V)
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-ruby-bindings-3.1.25/CMakeLists.txt 
new/yast2-ruby-bindings-3.1.25/CMakeLists.txt
--- old/yast2-ruby-bindings-3.1.25/CMakeLists.txt       2014-10-16 
17:00:10.000000000 +0200
+++ new/yast2-ruby-bindings-3.1.25/CMakeLists.txt       2014-10-20 
14:05:09.000000000 +0200
@@ -36,6 +36,13 @@
 endif()
 
 #
+# crypt.h or xcrypt.h ?
+#
+INCLUDE(CheckIncludeFiles)
+CHECK_INCLUDE_FILES(xcrypt.h HAVE_XCRYPT_H)
+CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config.h.in 
${CMAKE_CURRENT_BINARY_DIR}/config.h)
+
+#
 # -> src/
 #
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-ruby-bindings-3.1.25/README.md 
new/yast2-ruby-bindings-3.1.25/README.md
--- old/yast2-ruby-bindings-3.1.25/README.md    2014-10-16 17:00:10.000000000 
+0200
+++ new/yast2-ruby-bindings-3.1.25/README.md    2014-10-20 14:05:09.000000000 
+0200
@@ -1,4 +1,9 @@
 # Yast2-ruby-bindings
+
+Travis:  [![Build 
Status](https://travis-ci.org/yast/yast-ruby-bindings.svg?branch=master)](https://travis-ci.org/yast/yast-ruby-bindings)
+Jenkins: [![Jenkins 
Build](http://img.shields.io/jenkins/s/https/ci.opensuse.org/yast-ruby-bindings-master.svg)](https://ci.opensuse.org/view/Yast/job/yast-ruby-bindings-master/)
+
+
 It is part of [YaST](http://yast.github.io) where you can find more information
 about YaST and its component system. Ruby bindings covers only connection to
 component system and provide some ruby helpers.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-ruby-bindings-3.1.25/cmake/modules/FindRuby.cmake 
new/yast2-ruby-bindings-3.1.25/cmake/modules/FindRuby.cmake
--- old/yast2-ruby-bindings-3.1.25/cmake/modules/FindRuby.cmake 2014-10-16 
17:00:10.000000000 +0200
+++ new/yast2-ruby-bindings-3.1.25/cmake/modules/FindRuby.cmake 2014-10-20 
14:05:09.000000000 +0200
@@ -15,7 +15,7 @@
    set(RUBY_FIND_QUIETLY TRUE)
 endif (RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
 
-FIND_PROGRAM(RUBY_EXECUTABLE NAMES ruby ruby1.9 ruby19 )
+FIND_PROGRAM(RUBY_EXECUTABLE NAMES ruby ruby1.9 ruby19 ruby1.9.1 ruby2.1)
 
 EXECUTE_PROCESS(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print 
RbConfig::CONFIG['archdir']"
    OUTPUT_VARIABLE RUBY_ARCH_DIR)
@@ -54,7 +54,7 @@
 )
 
 FIND_LIBRARY(RUBY_LIBRARY
-  NAMES ruby ruby1.9
+  NAMES ruby ruby1.9 ruby-1.9.1 ruby2.1 ruby-2.1
   PATHS ${RUBY_POSSIBLE_LIB_PATH}
   )
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-ruby-bindings-3.1.25/config.h.in 
new/yast2-ruby-bindings-3.1.25/config.h.in
--- old/yast2-ruby-bindings-3.1.25/config.h.in  1970-01-01 01:00:00.000000000 
+0100
+++ new/yast2-ruby-bindings-3.1.25/config.h.in  2014-10-20 14:05:09.000000000 
+0200
@@ -0,0 +1,4 @@
+// configuration file for yast2-ruby-bindings
+
+#cmakedefine HAVE_XCRYPT_H
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-ruby-bindings-3.1.25/package/yast2-ruby-bindings.changes 
new/yast2-ruby-bindings-3.1.25/package/yast2-ruby-bindings.changes
--- old/yast2-ruby-bindings-3.1.25/package/yast2-ruby-bindings.changes  
2014-10-16 17:00:10.000000000 +0200
+++ new/yast2-ruby-bindings-3.1.25/package/yast2-ruby-bindings.changes  
2014-10-20 14:05:09.000000000 +0200
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Mon Oct 20 11:59:06 UTC 2014 - [email protected]
+
+- added Travis support (.travis.yml, xcrypt.h detection)
+
+-------------------------------------------------------------------
 Wed Oct 15 05:00:32 UTC 2014 - [email protected]
 
 - switch to rubygem() for Factory too
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-ruby-bindings-3.1.25/src/binary/Builtin.cc 
new/yast2-ruby-bindings-3.1.25/src/binary/Builtin.cc
--- old/yast2-ruby-bindings-3.1.25/src/binary/Builtin.cc        2014-10-16 
17:00:10.000000000 +0200
+++ new/yast2-ruby-bindings-3.1.25/src/binary/Builtin.cc        2014-10-20 
14:05:09.000000000 +0200
@@ -6,13 +6,19 @@
 #define _OW_SOURCE
 #endif
 
+#include "config.h"
+
 #include <string>
 #include <sstream>
 #include <stdexcept>
 #include <iconv.h>
 #include <errno.h>
 extern "C" {
-  #include <crypt.h>
+  #ifdef HAVE_XCRYPT_H
+    #include <xcrypt.h>
+  #else
+    #include <crypt.h>
+  #endif
 }
 #include <stdio.h>
 #include <unistd.h>

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to