[packages/fltk2] - fltk2 is legacy branch, no longer maintained - don't obsolete fltk

qboosh qboosh at pld-linux.org
Sun May 10 18:24:14 CEST 2026


commit 12fa0ba24850b3bef6c1e6f592dbd57857fa11f8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun May 10 18:24:08 2026 +0200

    - fltk2 is legacy branch, no longer maintained - don't obsolete fltk

 fltk2.spec | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/fltk2.spec b/fltk2.spec
index 517db55..34a9b79 100644
--- a/fltk2.spec
+++ b/fltk2.spec
@@ -2,7 +2,7 @@
 #	- tons of "Unresolved symbols found in: ..."
 #
 # Conditional build:
-%bcond_with	cairo	# without cairo support
+%bcond_with	cairo	# cairo support
 
 %define		_name		fltk
 %define		_snap		r6970
@@ -21,7 +21,7 @@ Patch0:		%{name}-rpath.patch
 Patch1:		%{name}-soname.patch
 Patch2:		%{name}-gcc43.patch
 Patch3:		%{name}-libpng.patch
-URL:		http://www.fltk.org/
+URL:		https://github.com/fltk/fltk-legacy
 BuildRequires:	Mesa-libGLU-devel
 BuildRequires:	autoconf
 # don't build with cairo support if you're planning to use fltk2 with
@@ -36,7 +36,6 @@ BuildRequires:	xorg-lib-libXext-devel
 BuildRequires:	xorg-lib-libXi-devel
 BuildRequires:	xorg-lib-libXinerama-devel
 BuildRequires:	zlib-devel
-Obsoletes:	fltk
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -68,7 +67,6 @@ Summary(pt_BR.UTF-8):	Arquivos de inclusão para o FLTK2
 Group:		X11/Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	libstdc++-devel
-Obsoletes:	fltk-devel
 
 %description devel
 FLTK 2.x development files.
@@ -105,19 +103,18 @@ Bibliotecas estáticas para o FLTK2.
 %build
 %{__autoconf}
 %configure \
-	--%{?with_cairo:en}%{!?with_cairo:dis}able-cairo \
+	--enable-cairo%{!?with_cairo:=no} \
 	--enable-shared \
 	--enable-threads \
+	--enable-xft \
 	--enable-xinerama \
 	--with-x \
-	--enable-xft \
 	--with-optim="%{rpmcxxflags}"
 
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,3}
 
 %{__make} install \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fltk2.git/commitdiff/12fa0ba24850b3bef6c1e6f592dbd57857fa11f8



More information about the pld-cvs-commit mailing list