Hello community,

here is the log from the commit of package glfw for openSUSE:Factory checked in 
at 2015-01-20 12:33:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/glfw (Old)
 and      /work/SRC/openSUSE:Factory/.glfw.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "glfw"

Changes:
--------
--- /work/SRC/openSUSE:Factory/glfw/glfw.changes        2013-10-17 
14:04:19.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.glfw.new/glfw.changes   2015-01-20 
12:35:49.000000000 +0100
@@ -1,0 +2,61 @@
+Thu Jan 15 00:12:44 UTC 2015 - [email protected]
+
+- Update to version 3.0.4
+  +Added the GLFW_BUILD_DOCS CMake option for controlling whether
+   the documentation is built
+  +Added the _GLFW_USE_CONFIG_H configuration macro for controlling
+   whether to include the configuration header
+  +Moved version number macro to internal.h for easier manual compilation
+  +Renamed configuration header to glfw_config.h to avoid conflicts
+  +Bugfix: The glfw3.pc file did not respect the LIB_SUFFIX CMake option
+  +Bugfix: The joysticks test would segfault if a controller had no axes
+  +[Win32] Allowed swap interval to be explicitly set to zero on DWM systems
+  +[Win32] Bugfix: Removed joystick axis value negation left over from GLFW 2
+  +[Win32] Bugfix: Restoring windows using the Win+D hot key did not 
+   trigger the focus callback
+  +[Win32] Bugfix: The disabled cursor mode clip rectangle was updated
+   for unfocused windows
+  +[Win32] Bugfix: Cursor was not properly re-centered over odd-sized windows
+  +[Win32] Bugfix: Negative window positions were reported incorrectly
+  +[Win32] Bugfix: The iconify callback was not triggered when switching
+   away from a full screen window using Alt+Tab
+  +[Win32] Bugfix: Resizing a window with glfwSetWindowSize gave it focus
+  +[Cocoa] Added dependency on CoreVideo framework for refresh rate retrieval
+  +[Cocoa] Enabled Lion full screen for resizable windowed mode windows
+  +[Cocoa] Moved to Cocoa API for application transformation and activation
+  +[Cocoa] Bugfix: The GLFW_KEY_GRAVE_ACCENT key was reported as 
+   GLFW_KEY_WORLD_1 and vice versa
+  +[Cocoa] Bugfix: The GLFW_KEY_F13 key was reported as GLFW_KEY_PRINT_SCREEN
+  +[Cocoa] Bugfix: Implicit conversion from NSUInteger to int caused 
+   warnings with Xcode 5
+  +[Cocoa] Bugfix: Use of undeclared selectors with @selector caused
+   warnings with Xcode 5
+  +[Cocoa] Bugfix: The cursor remained visible if moved onto client
+   area after having been set to hidden outside it
+  +[Cocoa] Bugfix: The refresh rate was zero for all modes of certain monitors
+  +[Cocoa] Bugfix: The install_name field of the dynamic library was not set
+  +[Cocoa] Bugfix: Full screen windows were never reported as having focus
+  +[Cocoa] Bugfix: A superfluous I/O flag test prevented video modes from
+   being listed for Thunderbolt monitor
+  +[Cocoa] Bugfix: Retrieving the name of some external displays caused 
segfault
+  +[Cocoa] Bugfix: The 10.9 SDK defines GLintptrARB and GLsizeiptrARB 
+   differently from the Khronos glext.h
+  +[Cocoa] Bugfix: Creating hidden windows would steal application focus
+  +[Cocoa] Bugfix: Controllers were reported as having zero buttons and axes
+  +[Cocoa] Bugfix: Removed joystick axis value negation left over from GLFW 2
+  +[X11] Added setting of the WM_CLASS property to the initial window title
+  +[X11] Added support for _NET_WM_BYPASS_COMPOSITOR
+  +[X11] Bugfix: Removed joystick axis value negation left over from GLFW 2
+  +[X11] Bugfix: The position of hidden windows was ignored by Metacity and 
Compiz
+  +[X11] Bugfix: The pthread.h header was not included by the GLX platform 
header.
+- Add upstream new dependencies: cmake, gcc-c++, doxygen, geany, 
+  pkgconfig(xi)
+- Add a dependency to cmake in devel subpackage
+- Build the geany tags
+- Package README.md into doc directory
+- Package examples code in devel subpackage
+- Remove the static devel subpackage; not provided anymore
+- Fix the home page Url
+- Bump so version to 3
+
+-------------------------------------------------------------------

Old:
----
  glfw-2.7.6.tar.bz2

New:
----
  glfw-3.0.4.tar.bz2

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

Other differences:
------------------
++++++ glfw.spec ++++++
--- /var/tmp/diff_new_pack.D6Orv5/_old  2015-01-20 12:35:51.000000000 +0100
+++ /var/tmp/diff_new_pack.D6Orv5/_new  2015-01-20 12:35:51.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package glfw
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,23 @@
 
 
 Name:           glfw
-Version:        2.7.6
+Version:        3.0.4
 Release:        0
 Summary:        Portable framework for OpenGL application development
 License:        Zlib
 Group:          System/Libraries
-%define soname  2
-Url:            http://glfw.sourceforge.net/
+%define soname  3
+Url:            http://www.glfw.org/
 Source:         http://prdownloads.sourceforge.net/glfw/glfw-%{version}.tar.bz2
+BuildRequires:  cmake
+BuildRequires:  gcc-c++
+BuildRequires:  doxygen
+BuildRequires:  geany
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(glu)
 BuildRequires:  pkgconfig(xrandr)
+BuildRequires:  pkgconfig(xi)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -50,6 +55,7 @@
 %package -n libglfw-devel
 Summary:        Portable framework for OpenGL application development
 Group:          Development/Libraries/C and C++
+Requires:       cmake
 Requires:       libglfw%{soname} = %{version}
 
 %description -n libglfw-devel
@@ -58,62 +64,54 @@
 portable API for otherwise operating system specific tasks such as opening
 an OpenGL window, and reading keyboard, time, mouse and joystick input.
 
-%package -n libglfw-devel-static
-Summary:        Portable framework for OpenGL application development
-Group:          Development/Libraries/C and C++
-Requires:       libglfw-devel = %{version}
-Provides:       libglfw = %{version}
-Obsoletes:      libglfw < %{version}
-
-%description -n libglfw-devel-static
-GLFW is a free, Open Source, portable framework for OpenGL application
-development. In short, it is a single library providing a powerful,
-portable API for otherwise operating system specific tasks such as opening
-an OpenGL window, and reading keyboard, time, mouse and joystick input.
-
 %prep
 %setup -q
+find . -type f | xargs sed -i 's/\r//'
 
-%build
-CFLAGS="%{optflags}" \
-sh ./compile.sh
+# temp geany config directory for allow geany to generate tags
+mkdir -p geany_config
 
-pushd lib/x11
-make %{?_smp_mflags} -f Makefile.x11 \
-    PREFIX="%{_prefix}" \
-    libglfw.a \
-    libglfw.so \
-    libglfw.pc
-popd
+%build
+%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix}
+make %{?_smp_mflags} all
+# generate geany tags
+geany -c geany_config -g glfw.c.tags $(find src \( ! -name CMakeFiles \) -type 
f \( -iname "*.c" -o -iname "*.h" \) \( ! -iname "win32*" \) \( ! -iname 
"cocoa*" \)
+) include/GL/glfw3.h
 
 %install
-install -d %{buildroot}%{_libdir}
-install -d %{buildroot}%{_includedir}/GL
-install -m 644 lib/x11/libglfw.a %{buildroot}%{_libdir}
-install -Dm 644 lib/x11/libglfw.pc %{buildroot}%{_libdir}/pkgconfig/libglfw.pc
-install -m 644 include/GL/* %{buildroot}/%{_includedir}/GL
-
-install -D -m0755 lib/x11/libglfw.so 
"%{buildroot}%{_libdir}/libglfw.so.%{version}"
-ln -s libglfw.so.%{version} "%{buildroot}%{_libdir}/libglfw.so.%{soname}"
-ln -s libglfw.so.%{version} "%{buildroot}%{_libdir}/libglfw.so"
+cd build
+make %{?_smp_mflags} install PREFIX=%{_prefix} LIBDIR=%{_lib} 
DESTDIR=%{buildroot}
+
+# install geany tags
+install -d %{buildroot}/%{_datadir}/geany/tags/
+install -m0644 glfw.c.tags %{buildroot}/%{_datadir}/geany/tags/
 
 %post   -n libglfw%{soname} -p /sbin/ldconfig
 %postun -n libglfw%{soname} -p /sbin/ldconfig
 
 %files -n libglfw%{soname}
 %defattr(-,root,root)
-%doc COPYING.txt 
+%doc COPYING.txt README.md
 %{_libdir}/libglfw.so.*
 
 %files -n libglfw-devel
 %defattr(-,root,root)
-%doc readme.html
-%{_includedir}/GL/glfw.h
+%doc examples/*.c
+%dir %{_includedir}/GLFW
+%dir %{_libdir}/cmake/glfw
+%dir %{_datadir}/geany/tags
+%{_includedir}/GLFW/glfw3.h
+%{_includedir}/GLFW/glfw3native.h
 %{_libdir}/libglfw.so
-%{_libdir}/pkgconfig/libglfw.pc
-
-%files -n libglfw-devel-static
-%defattr(-,root,root)
-%{_libdir}/libglfw.a
+%{_libdir}/pkgconfig/glfw3.pc
+%{_libdir}/cmake/glfw/glfwConfig.cmake
+%{_libdir}/cmake/glfw/glfwConfigVersion.cmake
+%if 0%{?suse_version} >= 1320
+%{_libdir}/cmake/glfw/glfwTargets-none.cmake
+%else
+%{_libdir}/cmake/glfw/glfwTargets-release.cmake
+%endif
+%{_libdir}/cmake/glfw/glfwTargets.cmake
+%{_datadir}/geany/tags/glfw.c.tags
 
 %changelog

++++++ glfw-2.7.6.tar.bz2 -> glfw-3.0.4.tar.bz2 ++++++
++++ 138989 lines of diff (skipped)

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

Reply via email to