Hello community,

here is the log from the commit of package haxe for openSUSE:Factory checked in 
at 2017-03-24 02:23:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/haxe (Old)
 and      /work/SRC/openSUSE:Factory/.haxe.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "haxe"

Fri Mar 24 02:23:31 2017 rev:4 rq:482160 version:3.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/haxe/haxe.changes        2017-02-09 
11:18:28.654782585 +0100
+++ /work/SRC/openSUSE:Factory/.haxe.new/haxe.changes   2017-03-24 
02:23:33.399916462 +0100
@@ -1,0 +2,11 @@
+Thu Mar 23 06:55:35 UTC 2017 - [email protected]
+
+- Updated to 3.4.2
+  * Backward compatible to Haxe 3.4.0.
+  * Improvements:
+    + Various fixes in cpp and php7 output.
+    + Added source maps generation for php7.
+  * Detail available at https://github.com/HaxeFoundation/haxe/
+    blob/3.4.2/extra/CHANGES.txt#L1-L35
+
+-------------------------------------------------------------------

Old:
----
  haxe-3.4.0.tar.gz
  haxelib-9d79a55ddb054d79ed8d136f1c0583baa407fd67.tar.gz

New:
----
  haxe-3.4.2.tar.gz
  haxelib-eeac8f4e77b23b120f27d27502f43589db26d143.tar.gz

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

Other differences:
------------------
++++++ haxe.spec ++++++
--- /var/tmp/diff_new_pack.1wwr4b/_old  2017-03-24 02:23:34.283791399 +0100
+++ /var/tmp/diff_new_pack.1wwr4b/_new  2017-03-24 02:23:34.287790833 +0100
@@ -17,10 +17,10 @@
 
 
 %global commit_ocamllibs 5f7956d8a2f0a0d9b99339b793fb9a0a07288a20
-%global commit_haxelib 9d79a55ddb054d79ed8d136f1c0583baa407fd67
+%global commit_haxelib eeac8f4e77b23b120f27d27502f43589db26d143
 
 Name:           haxe
-Version:        3.4.0
+Version:        3.4.2
 Release:        0
 Summary:        Multiplatform opensource programming language
 License:        GPL-2.0+ and MIT
@@ -42,7 +42,7 @@
 Requires:       neko >= 2.0.0
 
 %description
-Haxe is an open-source high-level multiplatform programming language and 
compiler that can produce applications and source code for many different 
platforms from a single code-base. The Haxe compiler can compile Haxe source 
code to Adobe Flash SWF files, ActionScript 3, JavaScript, C++, PHP, C#, Java, 
Python, and Neko VM binary files.
+Haxe is an open-source high-level multiplatform programming language and 
compiler that can produce applications and source code for many different 
platforms from a single code-base. The Haxe compiler can compile Haxe source 
code to Adobe Flash SWF files, ActionScript 3, JavaScript, C++, PHP, C#, Java, 
Python, Lua, and Neko VM binary files.
 
 %prep
 %setup -q

++++++ haxe-3.4.0.tar.gz -> haxe-3.4.2.tar.gz ++++++
/work/SRC/openSUSE:Factory/haxe/haxe-3.4.0.tar.gz 
/work/SRC/openSUSE:Factory/.haxe.new/haxe-3.4.2.tar.gz differ: char 28, line 1

++++++ haxelib-9d79a55ddb054d79ed8d136f1c0583baa407fd67.tar.gz -> 
haxelib-eeac8f4e77b23b120f27d27502f43589db26d143.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/haxelib-9d79a55ddb054d79ed8d136f1c0583baa407fd67/.gitignore 
new/haxelib-eeac8f4e77b23b120f27d27502f43589db26d143/.gitignore
--- old/haxelib-9d79a55ddb054d79ed8d136f1c0583baa407fd67/.gitignore     
2016-11-17 10:27:34.000000000 +0100
+++ new/haxelib-eeac8f4e77b23b120f27d27502f43589db26d143/.gitignore     
2017-02-17 21:36:08.000000000 +0100
@@ -6,6 +6,8 @@
 dump/
 deploy/
 repo_integration_tests/
+haxelib
+run.c
 
 # run.n is in the repo
 !/run.n
@@ -28,3 +30,21 @@
 .elasticbeanstalk/*
 !.elasticbeanstalk/*.cfg.yml
 !.elasticbeanstalk/*.global.yml
+
+# CMake
+CMakeCache.txt
+CMakeFiles
+CMakeScripts
+Testing
+Makefile
+cmake_install.cmake
+install_manifest.txt
+compile_commands.json
+CTestTestfile.cmake
+
+# VisualStudio
+*.vcxproj
+*.vcxproj.filters
+*.sln
+Win32
+haxelib.dir
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/haxelib-9d79a55ddb054d79ed8d136f1c0583baa407fd67/.travis.yml 
new/haxelib-eeac8f4e77b23b120f27d27502f43589db26d143/.travis.yml
--- old/haxelib-9d79a55ddb054d79ed8d136f1c0583baa407fd67/.travis.yml    
2016-11-17 10:27:34.000000000 +0100
+++ new/haxelib-eeac8f4e77b23b120f27d27502f43589db26d143/.travis.yml    
2017-02-17 21:36:08.000000000 +0100
@@ -5,17 +5,18 @@
 
 matrix:
   include:
-    # haxe development + neko master
+    # haxe development + neko development
     - os: linux
       sudo: required
       dist: trusty
       env:
         - TRAVIS_HAXE_VERSION=development
         - DEPLOY=1
+      services: [mysql]
       before_install:
         - sudo add-apt-repository ppa:haxe/snapshots -y
         - sudo apt-get update
-        - sudo apt-get install haxe=1:3.3* neko-dev libapache2-mod-neko 
mysql-server mysql-client -y
+        - sudo apt-get install haxe neko-dev libapache2-mod-neko -y
         - mkdir ~/haxelib && haxelib setup ~/haxelib
         - sudo usermod -a -G travis www-data
     # haxe 3.2.1 + neko 2.1.0
@@ -36,6 +37,8 @@
         - curl -L 
https://github.com/docker/compose/releases/download/1.6.2/docker-compose-`uname 
-s`-`uname -m` > docker-compose
         - chmod +x docker-compose
         - sudo mv docker-compose /usr/local/bin
+        # https://github.com/travis-ci/travis-ci/issues/7008
+        - sudo /etc/init.d/mysql stop || true
     # haxe 3.1.3 + neko 2.0.0
     - os: linux
       language: haxe
@@ -54,6 +57,8 @@
         - curl -L 
https://github.com/docker/compose/releases/download/1.6.2/docker-compose-`uname 
-s`-`uname -m` > docker-compose
         - chmod +x docker-compose
         - sudo mv docker-compose /usr/local/bin
+        # https://github.com/travis-ci/travis-ci/issues/7008
+        - sudo /etc/init.d/mysql stop || true
     # Mac
     - os: osx
       language: haxe
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/haxelib-9d79a55ddb054d79ed8d136f1c0583baa407fd67/CMakeLists.txt 
new/haxelib-eeac8f4e77b23b120f27d27502f43589db26d143/CMakeLists.txt
--- old/haxelib-9d79a55ddb054d79ed8d136f1c0583baa407fd67/CMakeLists.txt 
1970-01-01 01:00:00.000000000 +0100
+++ new/haxelib-eeac8f4e77b23b120f27d27502f43589db26d143/CMakeLists.txt 
2017-02-17 21:36:08.000000000 +0100
@@ -0,0 +1,55 @@
+cmake_minimum_required(VERSION 2.8.7)
+
+include(GNUInstallDirs)
+project(Haxelib C)
+
+# put output in ${CMAKE_BINARY_DIR}
+
+set(OUTPUT_DIR ${CMAKE_BINARY_DIR})
+set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${OUTPUT_DIR})
+set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${OUTPUT_DIR})
+set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${OUTPUT_DIR})
+
+# avoid the extra "Debug", "Release" directories
+# 
http://stackoverflow.com/questions/7747857/in-cmake-how-do-i-work-around-the-debug-and-release-directories-visual-studio-2
+foreach( OUTPUTCONFIG ${CMAKE_CONFIGURATION_TYPES} )
+       string( TOUPPER ${OUTPUTCONFIG} OUTPUTCONFIG )
+       set( CMAKE_RUNTIME_OUTPUT_DIRECTORY_${OUTPUTCONFIG} ${OUTPUT_DIR} )
+       set( CMAKE_LIBRARY_OUTPUT_DIRECTORY_${OUTPUTCONFIG} ${OUTPUT_DIR} )
+       set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY_${OUTPUTCONFIG} ${OUTPUT_DIR} )
+endforeach( OUTPUTCONFIG CMAKE_CONFIGURATION_TYPES )
+
+# find Haxe and Neko
+
+find_program(HAXE_COMPILER haxe)
+
+find_path(NEKO_INCLUDE_DIRS neko.h)
+find_library(NEKO_LIBRARIES neko)
+find_program(NEKO neko)
+find_program(NEKOTOOLS nekotools)
+
+message(STATUS "HAXE_COMPILER: ${HAXE_COMPILER}")
+message(STATUS "NEKO_INCLUDE_DIRS: ${NEKO_INCLUDE_DIRS}")
+message(STATUS "NEKO_LIBRARIES: ${NEKO_LIBRARIES}")
+message(STATUS "NEKOTOOLS: ${NEKOTOOLS}")
+
+include_directories(${NEKO_INCLUDE_DIRS})
+
+add_custom_command(OUTPUT ${CMAKE_SOURCE_DIR}/run.n
+    COMMAND ${HAXE_COMPILER} client.hxml
+    VERBATIM
+    WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
+)
+
+add_custom_command(OUTPUT ${CMAKE_SOURCE_DIR}/run.c
+    COMMAND ${NEKOTOOLS} boot -c run.n
+    VERBATIM
+    WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
+    DEPENDS ${CMAKE_SOURCE_DIR}/run.n
+)
+
+add_executable(haxelib
+    ${CMAKE_SOURCE_DIR}/run.c
+)
+
+target_link_libraries(haxelib ${NEKO_LIBRARIES})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/haxelib-9d79a55ddb054d79ed8d136f1c0583baa407fd67/src/haxelib/client/Main.hx 
new/haxelib-eeac8f4e77b23b120f27d27502f43589db26d143/src/haxelib/client/Main.hx
--- 
old/haxelib-9d79a55ddb054d79ed8d136f1c0583baa407fd67/src/haxelib/client/Main.hx 
    2016-11-17 10:27:34.000000000 +0100
+++ 
new/haxelib-eeac8f4e77b23b120f27d27502f43589db26d143/src/haxelib/client/Main.hx 
    2017-02-17 21:36:08.000000000 +0100
@@ -174,7 +174,7 @@
                addCommand("user", user, "list information on a given user", 
Information);
                addCommand("config", config, "print the repository path", 
Information, false);
                addCommand("path", path, "give paths to libraries", 
Information, false);
-               addCommand("version", version, "print the currently using 
haxelib version", Information, false);
+               addCommand("version", version, "print the currently used 
haxelib version", Information, false);
                addCommand("help", usage, "display this list of options", 
Information, false);
 
                addCommand("submit", submit, "submit or update a library 
package", Development);
@@ -549,7 +549,7 @@
                var password;
                if( site.isNewUser(user) ) {
                        print("This is your first submission as '"+user+"'");
-                       print("Please enter the following informations for 
registration");
+                       print("Please enter the following information for 
registration");
                        password = doRegister(user);
                } else {
                        password = readPassword(user);
@@ -934,7 +934,7 @@
                }
        }
 
-       function getConfigFile():String {
+       static public function getConfigFile():String {
                var home = null;
                if (IS_WINDOWS) {
                        home = Sys.getEnv("USERPROFILE");
@@ -980,12 +980,14 @@
                return rep;
        }
 
-       // on windows we have default global haxelib path - where haxe is 
installed
+       // The Windows haxe installer will setup %HAXEPATH%. We will default 
haxelib repo to %HAXEPATH%/lib.
+       // When there is no %HAXEPATH%, we will use a "haxelib" directory next 
to the config file, ".haxelib".
        function getWindowsDefaultGlobalRepositoryPath():String {
                var haxepath = Sys.getEnv("HAXEPATH");
-               if (haxepath == null)
-                       throw "HAXEPATH environment variable not defined, 
please run haxesetup.exe first";
-               return Path.addTrailingSlash(haxepath.trim()) + REPNAME;
+               if (haxepath != null)
+                       return Path.addTrailingSlash(haxepath.trim()) + REPNAME;
+               else
+                       return Path.join([Path.directory(getConfigFile()), 
"haxelib"]);
        }
 
        function getSuggestedGlobalRepositoryPath():String {
@@ -1018,12 +1020,12 @@
 
        function setup() {
                var rep = try getGlobalRepositoryPath() catch (_:Dynamic) null;
-               if (rep == null)
-                       rep = getSuggestedGlobalRepositoryPath();
 
                var configFile = getConfigFile();
 
                if (args.length <= argcur) {
+                       if (rep == null)
+                               rep = getSuggestedGlobalRepositoryPath();
                        print("Please enter haxelib repository path with write 
access");
                        print("Hit enter for default (" + rep + ")");
                }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/haxelib-9d79a55ddb054d79ed8d136f1c0583baa407fd67/src/legacyhaxelib/Main.hx 
new/haxelib-eeac8f4e77b23b120f27d27502f43589db26d143/src/legacyhaxelib/Main.hx
--- 
old/haxelib-9d79a55ddb054d79ed8d136f1c0583baa407fd67/src/legacyhaxelib/Main.hx  
    2016-11-17 10:27:34.000000000 +0100
+++ 
new/haxelib-eeac8f4e77b23b120f27d27502f43589db26d143/src/legacyhaxelib/Main.hx  
    2017-02-17 21:36:08.000000000 +0100
@@ -137,8 +137,8 @@
                addCommand("remove",remove,"remove a given 
library/version",false);
                addCommand("set",set,"set the current version for a 
library",false);
                addCommand("search",search,"list libraries matching a word");
-               addCommand("info",info,"list informations on a given library");
-               addCommand("user",user,"list informations on a given user");
+               addCommand("info",info,"list information on a given library");
+               addCommand("user",user,"list information on a given user");
                addCommand("register",register,"register a new user");
                addCommand("submit",submit,"submit or update a library 
package");
                addCommand("setup",setup,"set the haxelib repository 
path",false);
@@ -331,7 +331,7 @@
                var password;
                if( site.isNewUser(user) ) {
                        print("This is your first submission as '"+user+"'");
-                       print("Please enter the following informations for 
registration");
+                       print("Please enter the following information for 
registration");
                        password = doRegister(user);
                } else {
                        if( infos.developers.length > 1 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/haxelib-9d79a55ddb054d79ed8d136f1c0583baa407fd67/test/IntegrationTests.hx 
new/haxelib-eeac8f4e77b23b120f27d27502f43589db26d143/test/IntegrationTests.hx
--- 
old/haxelib-9d79a55ddb054d79ed8d136f1c0583baa407fd67/test/IntegrationTests.hx   
    2016-11-17 10:27:34.000000000 +0100
+++ 
new/haxelib-eeac8f4e77b23b120f27d27502f43589db26d143/test/IntegrationTests.hx   
    2017-02-17 21:36:08.000000000 +0100
@@ -157,6 +157,7 @@
 
                var runner = new TestRunner();
                runner.add(new tests.integration.TestEmpty());
+               runner.add(new tests.integration.TestSetup());
                runner.add(new tests.integration.TestSimple());
                runner.add(new tests.integration.TestUpgrade());
                runner.add(new tests.integration.TestUpdate());
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/haxelib-9d79a55ddb054d79ed8d136f1c0583baa407fd67/test/RunCi.hx 
new/haxelib-eeac8f4e77b23b120f27d27502f43589db26d143/test/RunCi.hx
--- old/haxelib-9d79a55ddb054d79ed8d136f1c0583baa407fd67/test/RunCi.hx  
2016-11-17 10:27:34.000000000 +0100
+++ new/haxelib-eeac8f4e77b23b120f27d27502f43589db26d143/test/RunCi.hx  
2017-02-17 21:36:08.000000000 +0100
@@ -64,6 +64,17 @@
 
        static function compileClient():Void {
                runCommand("haxe", ["client.hxml"]);
+
+               var nekotoolsBootC = switch [Sys.getEnv("TRAVIS_HAXE_VERSION"), 
Sys.systemName()] {
+                       case [null | "development", "Linux"]:
+                               true;
+                       case _:
+                               false;
+               }
+               if (nekotoolsBootC) {
+                       runCommand("cmake", ["."]);
+                       runCommand("cmake", ["--build", "."]);
+               }
        }
 
        static function compileLegacyClient():Void {
@@ -176,7 +187,7 @@
                        case "Windows":
                                configDb();
 
-                               
download("https://www.apachelounge.com/download/VC14/binaries/httpd-2.4.23-win32-VC14.zip";,
 "bin/httpd.zip");
+                               
download("https://www.apachelounge.com/download/VC14/binaries/httpd-2.4.25-win32-VC14.zip";,
 "bin/httpd.zip");
                                runCommand("7z", ["x", "bin\\httpd.zip", 
"-obin\\httpd"]);
                                
writeApacheConf("bin\\httpd\\Apache24\\conf\\httpd.conf");
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/haxelib-9d79a55ddb054d79ed8d136f1c0583baa407fd67/test/tests/integration/TestSetup.hx
 
new/haxelib-eeac8f4e77b23b120f27d27502f43589db26d143/test/tests/integration/TestSetup.hx
--- 
old/haxelib-9d79a55ddb054d79ed8d136f1c0583baa407fd67/test/tests/integration/TestSetup.hx
    1970-01-01 01:00:00.000000000 +0100
+++ 
new/haxelib-eeac8f4e77b23b120f27d27502f43589db26d143/test/tests/integration/TestSetup.hx
    2017-02-17 21:36:08.000000000 +0100
@@ -0,0 +1,19 @@
+package tests.integration;
+
+import haxe.*;
+import haxe.io.*;
+import haxelib.*;
+import haxelib.client.*;
+import IntegrationTests.*;
+using IntegrationTests;
+
+class TestSetup extends IntegrationTests {
+       function testCleanEnv():Void {
+               // remove .haxelib to simulate an enviroment that haven't 
`haxelib setup` yet
+        var config = Main.getConfigFile();
+        sys.FileSystem.deleteFile(config);
+
+               var installResult = haxelib(["setup", originalRepo]).result();
+               assertEquals(0, installResult.code);
+       }
+}
\ No newline at end of file


Reply via email to