Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package fox16 for openSUSE:Factory checked in at 2023-05-11 14:13:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fox16 (Old) and /work/SRC/openSUSE:Factory/.fox16.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fox16" Thu May 11 14:13:55 2023 rev:42 rq:1086491 version:1.6.57 Changes: -------- --- /work/SRC/openSUSE:Factory/fox16/fox16.changes 2023-05-10 16:28:52.378648278 +0200 +++ /work/SRC/openSUSE:Factory/.fox16.new.1533/fox16.changes 2023-05-11 14:13:56.829497852 +0200 @@ -1,0 +2,6 @@ +Wed May 10 20:10:44 UTC 2023 - Jan Engelhardt <[email protected]> + +- Remove non-SUSE fragments, there is no build enabled for + those targets anyway. Replace more -devel by pkgconfig(...). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fox16.spec ++++++ --- /var/tmp/diff_new_pack.QPivgV/_old 2023-05-11 14:13:57.417500750 +0200 +++ /var/tmp/diff_new_pack.QPivgV/_new 2023-05-11 14:13:57.421500769 +0200 @@ -37,6 +37,7 @@ Patch1: fox16-remove_date_from_reswrap.patch # PATCH-FIX-UPSTREAM add closing html tag Patch2: fox-1.6.26-missing_html_tag.patch +BuildRequires: cups-devel BuildRequires: doxygen BuildRequires: freetype2-devel BuildRequires: gcc-c++ @@ -45,42 +46,14 @@ BuildRequires: libtiff-devel BuildRequires: libtool BuildRequires: pkgconfig +BuildRequires: update-desktop-files BuildRequires: zlib-devel BuildRequires: pkgconfig(glu) -# -# SUSE requires -# -%if 0%{?suse_version} -BuildRequires: cups-devel -BuildRequires: update-desktop-files BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xfixes) BuildRequires: pkgconfig(xft) BuildRequires: pkgconfig(xi) -%endif -# -# Mandriva Requires -# -%if 0%{?mandriva_version} -BuildRequires: cups -BuildRequires: cups-common -BuildRequires: libmesaglu-devel -BuildRequires: libxext-devel -BuildRequires: libxft-devel -BuildRequires: xorg-x11 -%endif -# -# Fedora Requires -# -%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?scientificlinux_version} -BuildRequires: cups-devel -BuildRequires: libGLU-devel -BuildRequires: libXext-devel -BuildRequires: libXft-devel -BuildRequires: libXi-devel -BuildRequires: xorg-x11-devel -%endif %description FOX is a C++-based library for graphical user interface development. @@ -103,10 +76,6 @@ This package contains the shared libraries needed by applications compiled with the FOX GUI Toolkit. -%if 0%{?centos_version} >= 800 -%global debug_package %{nil} -%endif - %package devel Summary: Development Files and Documentation for the FOX GUI Toolkit 1.6 Group: Development/Languages/C and C++ @@ -114,43 +83,29 @@ Requires: bzip2 Requires: cups-devel Requires: cups-libs -Requires: fontconfig-devel -Requires: freetype2-devel Requires: glibc-devel +Provides: fox-devel = %{version}-%{release} + +Requires: expat +# lots of -l hardcoded in fox.pc without pkgconfig-level Requires tags +Requires: libbz2-devel +Requires: libexpat-devel Requires: libjpeg-devel Requires: libpng-devel Requires: libtiff-devel -Requires: xorg-x11-devel Requires: zlib-devel -Provides: fox-devel = %{version}-%{release} +Requires: pkgconfig(fontconfig) +Requires: pkgconfig(freetype2) +Requires: pkgconfig(gl) Requires: pkgconfig(glu) -# -# SUSE requires -# -%if 0%{?suse_version} -Requires: expat -Requires: libbz2-devel -Requires: libexpat-devel -Requires: xorg-x11-Mesa-devel -Requires: xorg-x11-libX11-devel -Requires: xorg-x11-libXau-devel -Requires: xorg-x11-libXdmcp-devel -Requires: xorg-x11-libXext-devel -Requires: xorg-x11-libXfixes-devel -Requires: xorg-x11-libXrender-devel -%endif -# -# Fedora Requires -# -%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?scientificlinux_version} -Requires: bzip2-devel -Requires: cups-devel -Requires: libGLU-devel -Requires: libXext-devel -Requires: libXft-devel -Requires: libXi-devel -Requires: xorg-x11-devel -%endif +Requires: pkgconfig(x11) +Requires: pkgconfig(xcursor) +Requires: pkgconfig(xext) +Requires: pkgconfig(xft) +Requires: pkgconfig(xi) +Requires: pkgconfig(xproto) +Requires: pkgconfig(xrandr) +Requires: pkgconfig(xrender) %description devel FOX is a C++-based library for graphical user interface development. @@ -201,17 +156,10 @@ * PathFinder : File Browser %prep -%setup -q -n fox-%{version} -%patch1 -%patch2 +%autosetup -p0 -n fox-%{version} %build autoreconf -fi -%if 0%{?centos_version} >= 800 -export CFLAGS="%optflags -fPIC" -export CXXFLAGS="%optflags -fPIC" -export LDFLAGS="-fPIC" -%endif %configure \ --enable-threadsafe \ --enable-release \ @@ -224,9 +172,6 @@ --with-opengl \ --with-shape \ --with-xshm \ -%if 0%{?mandriva_version} - --with-opengl="no" \ -%endif --without-profiling make %{?_smp_mflags} @@ -245,7 +190,6 @@ fi install -m644 ADDITIONS AUTHORS LICENSE* README TRACING index.html %{buildroot}%{_defaultdocdir}/%{name}/ # install desktop files for example applications -%if 0%{?suse_version} mkdir -p %{buildroot}%{_datadir}/{applications,pixmaps} install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/ install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/ @@ -256,7 +200,6 @@ %suse_update_desktop_file calculator %suse_update_desktop_file pathfinder %suse_update_desktop_file adie -%endif %post -n %{lname} -p /sbin/ldconfig %postun -n %{lname} -p /sbin/ldconfig @@ -295,10 +238,8 @@ %{_bindir}/PathFinder %{_bindir}/calculator %{_bindir}/shutterbug -%if 0%{?suse_version} %{_datadir}/applications/*.desktop %{_datadir}/pixmaps/*.png -%endif %{_mandir}/man1/adie* %{_mandir}/man1/calculator* %{_mandir}/man1/PathFinder*
