File: 0003-Remove-autotools-files-now-that-the-package-is-CMake.patch

package info (click to toggle)
librdata 0~20210223%2Bgit-85757dc6-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 360 kB
  • sloc: ansic: 3,163; makefile: 20
file content (161 lines) | stat: -rw-r--r-- 4,576 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
From: Filippo Rusconi <lopippo@debian.org>
Date: Sat, 27 Mar 2021 15:36:51 +0100
Subject: Remove autotools files now that the package is CMake-ized.

---
 Makefile.am  | 65 ------------------------------------------------------------
 autogen.sh   |  3 ---
 config.rpath |  0
 configure.ac | 57 ----------------------------------------------------
 4 files changed, 125 deletions(-)
 delete mode 100644 Makefile.am
 delete mode 100755 autogen.sh
 delete mode 100644 config.rpath
 delete mode 100644 configure.ac

diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index e7bbc8e..0000000
--- a/Makefile.am
+++ /dev/null
@@ -1,65 +0,0 @@
-AUTOMAKE_OPTIONS = foreign dist-zip
-
-lib_LTLIBRARIES = librdata.la
-
-librdata_la_SOURCES = \
-	src/CKHashTable.c \
-	src/rdata_bits.c \
-	src/rdata_error.c \
-	src/rdata_io_unistd.c \
-	src/rdata_parser.c \
-	src/rdata_read.c \
-	src/rdata_write.c
-
-librdata_la_LIBADD =
-librdata_la_CFLAGS = -Os -Wall -Wstrict-prototypes
-librdata_la_LDFLAGS = @EXTRA_LDFLAGS@
-
-if HAVE_BZIP2
-librdata_la_LIBADD += -lbz2
-librdata_la_CFLAGS += -DHAVE_BZIP2
-endif
-
-if HAVE_ZLIB
-librdata_la_LIBADD += -lz
-librdata_la_CFLAGS += -DHAVE_ZLIB=1
-endif
-
-if HAVE_APPLE_COMPRESSION
-librdata_la_LIBADD += -lcompression
-librdata_la_CFLAGS += -DHAVE_APPLE_COMPRESSION=1
-else
-if HAVE_LZMA
-librdata_la_LIBADD += -llzma
-librdata_la_CFLAGS += -DHAVE_LZMA=1
-endif
-endif
-
-include_HEADERS = src/rdata.h
-
-noinst_HEADERS = \
-	 src/CKHashTable.h \
-	 src/rdata_bits.h \
-	 src/rdata_internal.h \
-	 src/rdata_io_unistd.h \
-	 src/test/test_buffer.h \
-	 src/test/test_buffer_io.h
-
-check_PROGRAMS = test_rdata
-
-test_rdata_SOURCES = \
-     src/test/test_buffer.c \
-     src/test/test_buffer_io.c \
-     src/test/test_rdata.c
-
-test_rdata_LDADD = librdata.la
-
-TESTS = test_rdata
-
-if HAVE_FUZZER
-noinst_PROGRAMS = fuzz_rdata
-
-fuzz_rdata_SOURCES = src/fuzz/fuzz_rdata.c
-fuzz_rdata_LDADD = librdata.la -lstdc++ -lFuzzer
-fuzz_rdata_CFLAGS = -g -Wall @EXTRA_WARNINGS@ -Werror -pedantic-errors -std=c99 @SANITIZERS@
-endif
diff --git a/autogen.sh b/autogen.sh
deleted file mode 100755
index 8fca1d9..0000000
--- a/autogen.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#! /usr/bin/env bash
-
-autoreconf -i
diff --git a/config.rpath b/config.rpath
deleted file mode 100644
index e69de29..0000000
diff --git a/configure.ac b/configure.ac
deleted file mode 100644
index 19bd5be..0000000
--- a/configure.ac
+++ /dev/null
@@ -1,57 +0,0 @@
-AC_INIT([rdata], [0.1.0-prerelease])
-AM_INIT_AUTOMAKE([foreign subdir-objects])
-AM_SILENT_RULES([yes])
-
-AC_SUBST([LIBRDATA_VERSION], [0.1.0-prerelease])
-
-LT_INIT([disable-static])
-
-AC_PROG_CC
-AC_PROG_CC_STDC
-
-AC_ARG_ENABLE([code-coverage], AS_HELP_STRING([--enable-code-coverage], [Enable code coverage profiling]), [code_coverage=yes], [code_coverage=no])
-AC_ARG_ENABLE([sanitizers], AS_HELP_STRING([--enable-sanitizers], [Enable address sanitizing]),
-    [SANITIZERS="-fsanitize=address,bool,float-cast-overflow,integer-divide-by-zero,return,returns-nonnull-attribute,shift-exponent,signed-integer-overflow,unreachable,vla-bound -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp"], [SANITIZERS=""])
-AC_SUBST([SANITIZERS])
-
-AM_ICONV
-
-AC_CANONICAL_HOST
-AS_CASE([$host],
-	[*mingw*], [EXTRA_WARNINGS="-Wno-pedantic-ms-format -Wno-stringop-truncation"],
-    [EXTRA_WARNINGS=""])
-AC_SUBST([EXTRA_WARNINGS])
-
-AS_CASE([$host],
-    [*mingw*|*cygwin*], [EXTRA_LDFLAGS="$LTLIBICONV -no-undefined"],
-    [EXTRA_LDFLAGS="$LTLIBICONV"])
-AC_SUBST([EXTRA_LDFLAGS])
-
-AC_CHECK_LIB([bz2], [BZ2_bzCompressInit], [true], [false])
-AM_CONDITIONAL([HAVE_BZIP2], test "$ac_cv_lib_bz2_BZ2_bzCompressInit" = yes)
-
-AC_CHECK_LIB([compression], [compression_stream_init], [true], [false])
-AM_CONDITIONAL([HAVE_APPLE_COMPRESSION], test "$ac_cv_lib_compression_compression_stream_init" = yes)
-
-AC_CHECK_LIB([lzma], [lzma_stream_decoder], [true], [false])
-AM_CONDITIONAL([HAVE_LZMA], test "$ac_cv_lib_lzma_lzma_stream_decoder" = yes)
-
-AC_CHECK_LIB([z], [deflate], [true], [false])
-AM_CONDITIONAL([HAVE_ZLIB], test "$ac_cv_lib_z_deflate" = yes)
-
-AM_CONDITIONAL([CODE_COVERAGE_ENABLED], test "x$code_coverage" = "xyes")
-AC_CHECK_LIB([Fuzzer], [__libfuzzer_is_present], [true], [false], [-lstdc++])
-AM_CONDITIONAL([HAVE_FUZZER], test "$ac_cv_lib_Fuzzer___libfuzzer_is_present" = yes)
-
-AC_OUTPUT([Makefile])
-
-AC_MSG_RESULT([
-Configuration:
-
-C compiler: $CC
-CFLAGS: $CFLAGS
-
-Host: $host
-Extra warnings: $EXTRA_WARNINGS
-Extra libs: $EXTRA_LIBS
-Extra ld flags: $EXTRA_LDFLAGS])