Compare commits
45 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
36cdf6308a | ||
|
|
4673e067c5 | ||
|
|
3d8993d729 | ||
|
|
acea8ebef7 | ||
|
|
21d942812f | ||
|
|
b1176b6e8f | ||
|
|
26bb648bb2 | ||
|
|
6a60980f83 | ||
|
|
04a5b8f5ba | ||
|
|
7d86b211f8 | ||
|
|
f64ddfde52 | ||
|
|
2c3ba1d405 | ||
|
|
7962f1a28a | ||
|
|
92d71f18b3 | ||
|
|
0b5ab7fe86 | ||
|
|
7c66d24ded | ||
|
|
913d87ea6f | ||
|
|
95c3188fae | ||
|
|
319bb268d5 | ||
|
|
ee8251fc0e | ||
|
|
826253c07c | ||
|
|
e772a0dae3 | ||
|
|
97a9cb56ec | ||
| 7c451d3e22 | |||
|
|
8b8b3717ec | ||
|
|
cf8518f07e | ||
|
|
16c13c9034 | ||
|
|
0aa455fce4 | ||
|
|
f022d1b98f | ||
|
|
59a13320a9 | ||
|
|
165bab7e5c | ||
|
|
23b549f340 | ||
|
|
34f89cbb89 | ||
| 4f3734e959 | |||
|
|
0951078c35 | ||
|
|
e4dadc693e | ||
|
|
15c91e0c18 | ||
|
|
7edde3b4ea | ||
|
|
a3a6b772d2 | ||
|
|
a08ff109dd | ||
|
|
90e3802502 | ||
|
|
62f39fcb1e | ||
|
|
28c58c7841 | ||
|
|
9c1be18ad7 | ||
|
|
8163f433c9 |
7 changed files with 202 additions and 57 deletions
|
|
@ -1,2 +0,0 @@
|
|||
compface-1.5.2.tar.gz
|
||||
libcompface_1.5.2-3.diff.gz
|
||||
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
compface-1.5.2.tar.gz
|
||||
libcompface_1.5.2-4.diff.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: compface
|
||||
# $Id$
|
||||
NAME := compface
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
29
compface-c99.patch
Normal file
29
compface-c99.patch
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
Include <unistd.h> for the read and write functions, to avoid implicit
|
||||
function declarations and build failures with future compilers.
|
||||
|
||||
diff --git a/cmain.c b/cmain.c
|
||||
index ec0558d11cdd325d..aced8300d55d17fd 100644
|
||||
--- a/cmain.c
|
||||
+++ b/cmain.c
|
||||
@@ -19,6 +19,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
+#include <unistd.h>
|
||||
+
|
||||
#include "compface.h"
|
||||
|
||||
/* the buffer is longer than needed to handle sparse input formats */
|
||||
diff --git a/uncmain.c b/uncmain.c
|
||||
index a94279df1ff73223..e52831d0c0f117e1 100644
|
||||
--- a/uncmain.c
|
||||
+++ b/uncmain.c
|
||||
@@ -19,6 +19,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
+#include <unistd.h>
|
||||
+
|
||||
#include "compface.h"
|
||||
|
||||
/* the buffer is longer than needed to handle sparse input formats */
|
||||
27
compface-configure-c99.patch
Normal file
27
compface-configure-c99.patch
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
Fix historic C99 incompatibilites that would go away if autoconf is
|
||||
re-run.
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index 5b6327937cb0aa69..4183e8677260324f 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -2128,7 +2128,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); }; }; then
|
||||
for ac_declaration in \
|
||||
- '' \
|
||||
+ '#include <stdlib.h>' \
|
||||
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
||||
'extern "C" void std::exit (int); using std::exit;' \
|
||||
'extern "C" void exit (int) throw ();' \
|
||||
@@ -2821,8 +2821,8 @@ main ()
|
||||
for (i = 0; i < 256; i++)
|
||||
if (XOR (islower (i), ISLOWER (i))
|
||||
|| toupper (i) != TOUPPER (i))
|
||||
- exit(2);
|
||||
- exit (0);
|
||||
+ return 2;
|
||||
+ return 0;
|
||||
}
|
||||
_ACEOF
|
||||
rm -f conftest$ac_exeext
|
||||
176
compface.spec
176
compface.spec
|
|
@ -1,42 +1,48 @@
|
|||
Name: compface
|
||||
Version: 1.5.2
|
||||
Release: 9
|
||||
Summary: Utilities for handling X-Faces
|
||||
Release: 46%{?dist}
|
||||
Summary: Library and tools for handling X-Face data
|
||||
|
||||
Group: Applications/Multimedia
|
||||
License: MIT
|
||||
License: LicenseRef-compface
|
||||
URL: http://ftp.xemacs.org/pub/xemacs/aux/
|
||||
Source0: http://ftp.xemacs.org/pub/xemacs/aux/%{name}-%{version}.tar.gz
|
||||
Source1: compface-test.xbm
|
||||
Source2: compface-README.copyright
|
||||
# originally from http://ftp.debian.org/debian/pool/main/libc/libcompface/libcompface_1.5.2-3.diff.gz
|
||||
Patch0: libcompface_1.5.2-3.diff.gz
|
||||
# originally from http://ftp.debian.org/debian/pool/main/libc/libcompface/libcompface_1.5.2-4.diff.gz
|
||||
# libcompface_1.5.2-5.diff.gz adds a different fix for the stack-smashing
|
||||
Patch0: libcompface_1.5.2-4.diff.gz
|
||||
# originally sent upstream
|
||||
Patch1: compface-1.5.2-stack-smashing.patch
|
||||
Patch2: %{name}-1.5.2-build.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
#
|
||||
Patch2: compface-1.5.2-build.patch
|
||||
Patch3: compface-configure-c99.patch
|
||||
Patch4: compface-c99.patch
|
||||
BuildRequires: diffutils
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
|
||||
%description
|
||||
Compface is a filter for generating highly compressed representations
|
||||
of 48x48x1 face image files, which can be used in mail clients and mail
|
||||
notification programs. Uncompface is an inverse filter, which performs
|
||||
an inverse transformation with no loss of data.
|
||||
|
||||
This is the Compface image compression and decompression library and its
|
||||
user tools. Compface converts 48x48 .xbm format (X bitmap) images to a
|
||||
compressed format that can be placed in the X-Face: mail header. Some mail
|
||||
programs are able to display such images when opening messages.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for handling X-Faces
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Summary: Library and development files for handling X-Face data
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
%{summary}.
|
||||
These files are needed when building software that uses the Compface
|
||||
library.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1 -b .stack-smashing
|
||||
%patch2 -p0
|
||||
%patch -P0 -p1
|
||||
%patch -P1 -p1 -b .stack-smashing
|
||||
%patch -P2 -p0
|
||||
%patch -P3 -p1
|
||||
%patch -P4 -p1
|
||||
|
||||
|
||||
%build
|
||||
|
|
@ -45,7 +51,6 @@ make %{?_smp_mflags}
|
|||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT STRIP=/bin/true
|
||||
mkdir -p _extdoc && install -p -m 0644 %{SOURCE2} _extdoc/README.copyright
|
||||
|
||||
|
|
@ -56,19 +61,9 @@ export LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}:$LD_LIBRARY_PATH
|
|||
cmp %{SOURCE1} __test.xbm
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc ChangeLog README xbm2xface.pl
|
||||
%doc _extdoc/README.copyright
|
||||
%license _extdoc/README.copyright
|
||||
%{_bindir}/compface
|
||||
%{_bindir}/uncompface
|
||||
%{_libdir}/libcompface.so.*
|
||||
|
|
@ -76,7 +71,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%{_mandir}/man1/uncompface.1*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/compface.h
|
||||
%{_libdir}/libcompface.so
|
||||
%{_mandir}/man3/compface.3*
|
||||
|
|
@ -84,6 +78,122 @@ rm -rf $RPM_BUILD_ROOT
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-46
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-45
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-44
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-43
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-42
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Wed Aug 7 2024 Michael Schwendt <mschwendt@fedoraproject.org> - 1.5.2-41
|
||||
- migrated to SPDX license based on license review ticket #555
|
||||
- include README.copyright file as license
|
||||
|
||||
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-40
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-39
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-38
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-37
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Mon Feb 06 2023 Florian Weimer <fweimer@redhat.com> - 1.5.2-36
|
||||
- Fix C99 compatibility issues (#2167369)
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-35
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-34
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-33
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-32
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-31
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-30
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-29
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-28
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-27
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-26
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-25
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-24
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-23
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-22
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-21
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.5.2-19
|
||||
- Rebuilt for Fedora 23 Change
|
||||
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Fri Jan 6 2012 Michael Schwendt <mschwendt@fedoraproject.org> - 1.5.2-13
|
||||
- rebuild for GCC 4.7 as requested
|
||||
- drop obsolete items from spec file, plus use %%?dist and %%?_isa
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Fri May 15 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 1.5.2-10
|
||||
- Minor spec updates.
|
||||
- Sync with Debian's most recent 1.5.2-4 patchset, although it doesn't
|
||||
add anything for us compared with 1.5.2-3.
|
||||
|
||||
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1,2 +1,2 @@
|
|||
62f4f79c0861ad292ba3cf77b4c48319 compface-1.5.2.tar.gz
|
||||
330b8a78bf18d8cb46b3c23252f6ff9b libcompface_1.5.2-3.diff.gz
|
||||
1c805b94cbf31feda738fa1ceb0a6a80 libcompface_1.5.2-4.diff.gz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue