---- fox-1.7.25/lib/Makefile.am.orig 2010-11-02 03:07:14.000000000 +0100
-+++ fox-1.7.25/lib/Makefile.am 2011-05-13 16:24:24.319335269 +0200
-@@ -7,7 +7,7 @@
+--- fox-1.7.84/lib/Makefile.am.orig 2023-10-25 07:07:48.220902965 +0200
++++ fox-1.7.84/lib/Makefile.am 2023-10-25 06:19:02.042506050 +0200
+@@ -8,7 +8,7 @@ SUFFIXES = .gif .bmp
lib_LTLIBRARIES = libFOX-1.7.la
-libFOX_1_7_la_LIBADD = $(X_LIBS) $(X_PRE_LIBS) $(X_BASE_LIBS) $(X_EXTRA_LIBS) $(GL_LIBS)
+libFOX_1_7_la_LIBADD = $(X_LIBS) $(X_BASE_LIBS) $(X_EXTRA_LIBS) $(GL_LIBS) -lfontconfig
- libFOX_1_7_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -export-dynamic
+ libFOX_1_7_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -export-dynamic -no-undefined
---- fox-1.7.57/configure.ac.orig 2016-07-08 20:07:27.000000000 +0200
-+++ fox-1.7.57/configure.ac 2017-02-05 22:23:07.410090151 +0100
-@@ -56,9 +56,6 @@
+--- fox-1.7.84/configure.ac.orig 2023-09-11 23:22:01.000000000 +0200
++++ fox-1.7.84/configure.ac 2023-10-25 06:16:57.746509915 +0200
+@@ -65,9 +65,6 @@ AC_SUBST(LT_CURRENT)
AC_SUBST(LT_REVISION)
AC_SUBST(LT_AGE)
# More secret source
AC_GNU_SOURCE
-@@ -125,7 +122,7 @@
+@@ -133,7 +130,7 @@ AC_MSG_CHECKING(for debugging)
AC_ARG_ENABLE(debug,[ --enable-debug compile for debugging])
AC_MSG_RESULT([$enable_debug])
if test "x$enable_debug" = "xyes" ; then
fi
# Building for release
-@@ -133,10 +130,9 @@
+@@ -141,7 +138,7 @@ AC_MSG_CHECKING(for release build)
AC_ARG_ENABLE(release,[ --enable-release compile for release])
AC_MSG_RESULT([$enable_release])
if test "x$enable_release" = "xyes" ; then
-- CXXFLAGS="${CXXFLAGS} -O2 -DNDEBUG"
+- CXXFLAGS="${CXXFLAGS} -O3 -DNDEBUG"
+ CXXFLAGS="${CXXFLAGS} -DNDEBUG"
if test "${GXX}" = "yes" ; then
- CXXFLAGS="${CXXFLAGS} -ffast-math -fstrict-aliasing -finline-functions -fomit-frame-pointer"
-- LDFLAGS="-s ${LDFLAGS}"
- fi
- fi
-
+ CXXFLAGS="${CXXFLAGS} -ffast-math -fstrict-overflow -fstrict-aliasing -finline-functions -fomit-frame-pointer -fcf-protection=none -fno-stack-protector"
+ LDFLAGS="-s ${LDFLAGS}"
Summary(pl.UTF-8): FOX - toolkit graficzny w C++
Name: fox
# NOTE: after switching to 1.8.x keep stable (1.8.x) on HEAD and devel (1.9.x) on DEVEL
-Version: 1.7.57
-Release: 3
+Version: 1.7.84
+Release: 0.1
License: LGPL v3+ with relinking exemption
Group: X11/Libraries
-Source0: http://ftp.fox-toolkit.org/pub/%{name}-%{version}.tar.gz
-# Source0-md5: caeed36d43b5d4f18193657bf236200d
+Source0: http://fox-toolkit.org/ftp/%{name}-%{version}.tar.gz
+# Source0-md5: 48eaf928985a52be0ef628f51fb5599f
Patch0: %{name}-opt.patch
Patch1: %{name}-link.patch
Patch2: %{name}-Makefile.patch
BuildRequires: zlib-devel >= 1.1.4
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _noautoreqdep libGL.so.1 libGLU.so.1
-
%description
FOX is a C++-Based Library for Graphical User Interface Development
FOX supports modern GUI features, such as Drag-and-Drop, Tooltips, Tab
Summary(pl.UTF-8): Przykłady aplikacji w FOX
Group: X11/Applications
Requires: %{name} = %{version}-%{release}
-Obsoletes: fox-example-apps
+Obsoletes: fox-example-apps < 0.99.173
%description progs
Editor and file browser, written with FOX.