[arch-commits] Commit in liblzf/repos/community-x86_64 (4 files)

David Runge dvzrv at gemini.archlinux.org
Mon Oct 11 16:46:04 UTC 2021


    Date: Monday, October 11, 2021 @ 16:46:04
  Author: dvzrv
Revision: 1029540

archrelease: copy trunk to community-x86_64

Added:
  liblzf/repos/community-x86_64/PKGBUILD
    (from rev 1029539, liblzf/trunk/PKGBUILD)
  liblzf/repos/community-x86_64/liblzf-3.6-autoconf-20140314.patch
    (from rev 1029539, liblzf/trunk/liblzf-3.6-autoconf-20140314.patch)
Deleted:
  liblzf/repos/community-x86_64/PKGBUILD
  liblzf/repos/community-x86_64/liblzf-3.6-autoconf-20140314.patch

------------------------------------+
 PKGBUILD                           |   98 ++---
 liblzf-3.6-autoconf-20140314.patch |  618 +++++++++++++++++------------------
 2 files changed, 360 insertions(+), 356 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-11 16:45:55 UTC (rev 1029539)
+++ PKGBUILD	2021-10-11 16:46:04 UTC (rev 1029540)
@@ -1,47 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-
-pkgname=liblzf
-pkgver=3.6
-pkgrel=2
-pkgdesc="A very small data compression library"
-arch=('x86_64')
-url="http://software.schmorp.de/pkg/liblzf.html"
-license=('BSD')
-depends=('glibc')
-makedepends=('signify')
-provides=('liblzf.so')
-source=("http://dist.schmorp.de/${pkgname}/${pkgname}-${pkgver}.tar.gz"
-        "${pkgname}-${pkgver}.tar.gz.signature::http://dist.schmorp.de/${pkgname}/${pkgname}-${pkgver}.tar.gz.sig"
-        "http://dist.schmorp.de/signing-key.pub"
-        "liblzf-3.6-autoconf-20140314.patch")
-sha512sums=('b9a35a7cfa769a5b4a669747d36962bb41e2a1517367dcb390f6285740be4c6478ec5227697536fc1fb982707eeda16b5627cb08b513b4d379901d86fb1d3710'
-            '670ff2f814a2be4f31e1c45d28744226e4a9301803ef4cd7f390359faf09524f564bce69c97dbc9595b56a869d5ed4d7ea18e4733c68fb59c09416f46c364af0'
-            'a09a434387e22612a9225ddfa444044977712c6410efe8a77a33d8aa607bd1acbef2a1da08b62e21a4b070f0974ba94ae907ac0452b5d060e33a1c051a7780e4'
-            'b68bfd8b5ff56a1e0cd2ed1a1827bc14cde5d65f8d8654a2354d3dd9c6527532d801f675998ba8d2a72babbf6e6bcced1c3a25d5aa1be452c09bd3621a2f20d3')
-
-prepare() {
-  # hacking around to validate with signify
-  mv -v "${pkgname}-${pkgver}.tar.gz."{signature,sig}
-  signify -V -p signing-key.pub -m "${pkgname}-${pkgver}.tar.gz"
-  cd "$pkgname-$pkgver"
-  # taking autoconf patch from Fedora (which upstream never included, because..)
-  # https://src.fedoraproject.org/rpms/liblzf/blob/master/f/liblzf-3.6-autoconf-20140314.patch
-  patch -Np1 -i "../liblzf-3.6-autoconf-20140314.patch"
-  sh ./bootstrap.sh
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  ./configure --prefix=/usr \
-              --disable-static
-  make
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir/" install
-  # the binary does different things, being called by a different name
-  ln -sv lzf "${pkgdir}/usr/bin/unlzf"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -vDm 644 {Changes,README} -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: liblzf/repos/community-x86_64/PKGBUILD (from rev 1029539, liblzf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-10-11 16:46:04 UTC (rev 1029540)
@@ -0,0 +1,51 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=liblzf
+pkgver=3.6
+pkgrel=3
+pkgdesc="A very small data compression library"
+arch=('x86_64')
+url="http://software.schmorp.de/pkg/liblzf.html"
+license=('BSD')
+depends=('glibc')
+makedepends=('signify')
+provides=('liblzf.so')
+source=("http://dist.schmorp.de/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+        "${pkgname}-${pkgver}.tar.gz.signature::http://dist.schmorp.de/${pkgname}/${pkgname}-${pkgver}.tar.gz.sig"
+        "http://dist.schmorp.de/signing-key.pub"
+        "liblzf-3.6-autoconf-20140314.patch")
+sha512sums=('701f70245a11e7cf3412b14ed26bf7b1464512d5b0cf3f913e70ebfdfe20574b8ebbae5a78f4b56ac0034d54830380309cac3057ca00a8028edbde3d091141f5'
+            'b86a7be7fa2bca713a68f9ca08ed881d0e7ecc4b9d7ab27290e9897f865d99b7eb5bd9b73e16bd34b5763dd173bf6c91c4ad6305cc190c3460f108c9f6df2b5a'
+            'a09a434387e22612a9225ddfa444044977712c6410efe8a77a33d8aa607bd1acbef2a1da08b62e21a4b070f0974ba94ae907ac0452b5d060e33a1c051a7780e4'
+            'b68bfd8b5ff56a1e0cd2ed1a1827bc14cde5d65f8d8654a2354d3dd9c6527532d801f675998ba8d2a72babbf6e6bcced1c3a25d5aa1be452c09bd3621a2f20d3')
+b2sums=('b84494706c97861f1cbf9e70129ee25df05e873225bd8a971d6e874822c84532528d04186847cced0a8c13322d1bab7578e48552bd2fa196ca8f9b5d0576b692'
+        '4bf44b00293c4288659593daa5a57b69de88e695cfbca4e0052b0ece80ea39361eff2ef4a02f9b65355affa6b40eabb32ab683b62a824f20178fc019134a7efe'
+        '6d6bd90b77e67ccb876f0c78c710c9e1b82767a19aeadaac9310e5628b791586fc8475ad5179eaa2fee386ae80aae916226167ec92c5af309bba4052238326c8'
+        '1ff8cd4554bafb3b5273206b6ab8c9de4a4af81d82fef1d3aeccc0bc47bfc5e2ef97f8f7c4d3734f2be3734dc8f8bcfbf3e9a4f924046f89ee425f95f86f745a')
+
+prepare() {
+  # hacking around to validate with signify
+  mv -v "${pkgname}-${pkgver}.tar.gz."{signature,sig}
+  signify -V -p signing-key.pub -m "${pkgname}-${pkgver}.tar.gz"
+  cd "$pkgname-$pkgver"
+  # taking autoconf patch from Fedora (which upstream never included, because..)
+  # https://src.fedoraproject.org/rpms/liblzf/blob/master/f/liblzf-3.6-autoconf-20140314.patch
+  patch -Np1 -i "../liblzf-3.6-autoconf-20140314.patch"
+  sh ./bootstrap.sh
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr \
+              --disable-static
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" install
+  # the binary does different things, being called by a different name
+  ln -sv lzf "${pkgdir}/usr/bin/unlzf"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 {Changes,README} -t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Deleted: liblzf-3.6-autoconf-20140314.patch
===================================================================
--- liblzf-3.6-autoconf-20140314.patch	2021-10-11 16:45:55 UTC (rev 1029539)
+++ liblzf-3.6-autoconf-20140314.patch	2021-10-11 16:46:04 UTC (rev 1029540)
@@ -1,309 +0,0 @@
-diff -uNr liblzf-3.6.ORIG/bootstrap.sh liblzf-3.6/bootstrap.sh
---- liblzf-3.6.ORIG/bootstrap.sh	1970-01-01 00:00:00.000000000 +0000
-+++ liblzf-3.6/bootstrap.sh	2014-03-13 08:10:49.132000000 +0000
-@@ -0,0 +1,10 @@
-+#!/bin/sh
-+set -x
-+mkdir -p config
-+aclocal -I config
-+#aclocal-1.10 -I config
-+autoheader
-+libtoolize --automake
-+automake  --add-missing --copy --foreign
-+#automake-1.10  --add-missing --copy
-+autoconf
-diff -uNr liblzf-3.6.ORIG/config.h.in liblzf-3.6/config.h.in
---- liblzf-3.6.ORIG/config.h.in	2014-03-13 08:10:30.234000000 +0000
-+++ liblzf-3.6/config.h.in	2014-03-13 08:10:49.133000000 +0000
-@@ -1,16 +1,89 @@
--/* config.h.in.  Generated automatically from configure.in by autoheader 2.13.  */
-+/* config.h.in.  Generated from configure.ac by autoheader.  */
- 
--/* Define to empty if the keyword does not work.  */
--#undef const
-+/* Define to 1 if you have the <dlfcn.h> header file. */
-+#undef HAVE_DLFCN_H
-+
-+/* Define to 1 if you have the <errno.h> header file. */
-+#undef HAVE_ERRNO_H
-+
-+/* Define to 1 if you have the <fcntl.h> header file. */
-+#undef HAVE_FCNTL_H
-+
-+/* Define to 1 if you have the <getopt.h> header file. */
-+#undef HAVE_GETOPT_H
-+
-+/* Define to 1 if you have the `getopt_long' function. */
-+#undef HAVE_GETOPT_LONG
-+
-+/* Define to 1 if you have the <inttypes.h> header file. */
-+#undef HAVE_INTTYPES_H
-+
-+/* Define to 1 if you have the <limits.h> header file. */
-+#undef HAVE_LIMITS_H
-+
-+/* Define to 1 if you have the <memory.h> header file. */
-+#undef HAVE_MEMORY_H
-+
-+/* Define to 1 if you have the <stdint.h> header file. */
-+#undef HAVE_STDINT_H
-+
-+/* Define to 1 if you have the <stdio.h> header file. */
-+#undef HAVE_STDIO_H
-+
-+/* Define to 1 if you have the <stdlib.h> header file. */
-+#undef HAVE_STDLIB_H
-+
-+/* Define to 1 if you have the <strings.h> header file. */
-+#undef HAVE_STRINGS_H
-+
-+/* Define to 1 if you have the <string.h> header file. */
-+#undef HAVE_STRING_H
- 
--/* Define if you have the ANSI C header files.  */
-+/* Define to 1 if you have the <sys/stat.h> header file. */
-+#undef HAVE_SYS_STAT_H
-+
-+/* Define to 1 if you have the <sys/types.h> header file. */
-+#undef HAVE_SYS_TYPES_H
-+
-+/* Define to 1 if you have the <unistd.h> header file. */
-+#undef HAVE_UNISTD_H
-+
-+/* Define to the sub-directory in which libtool stores uninstalled libraries.
-+   */
-+#undef LT_OBJDIR
-+
-+/* Define to the address where bug reports for this package should be sent. */
-+#undef PACKAGE_BUGREPORT
-+
-+/* Define to the full name of this package. */
-+#undef PACKAGE_NAME
-+
-+/* Define to the full name and version of this package. */
-+#undef PACKAGE_STRING
-+
-+/* Define to the one symbol short name of this package. */
-+#undef PACKAGE_TARNAME
-+
-+/* Define to the home page for this package. */
-+#undef PACKAGE_URL
-+
-+/* Define to the version of this package. */
-+#undef PACKAGE_VERSION
-+
-+/* Define to 1 if you have the ANSI C header files. */
- #undef STDC_HEADERS
- 
--/* The number of bytes in a int.  */
--#undef SIZEOF_INT
-+/* Number of bits in a file offset, on hosts where this is settable. */
-+#undef _FILE_OFFSET_BITS
-+
-+/* Define for large files, on AIX-style hosts. */
-+#undef _LARGE_FILES
- 
--/* The number of bytes in a long.  */
--#undef SIZEOF_LONG
-+/* Define to empty if `const' does not conform to ANSI C. */
-+#undef const
- 
--/* The number of bytes in a short.  */
--#undef SIZEOF_SHORT
-+/* Define to `__inline__' or `__inline' if that's what the C compiler
-+   calls it, or to nothing if 'inline' is not supported under any name.  */
-+#ifndef __cplusplus
-+#undef inline
-+#endif
-diff -uNr liblzf-3.6.ORIG/configure.ac liblzf-3.6/configure.ac
---- liblzf-3.6.ORIG/configure.ac	2014-03-13 08:10:30.233000000 +0000
-+++ liblzf-3.6/configure.ac	2014-03-13 08:10:49.133000000 +0000
-@@ -1,9 +1,65 @@
--AC_INIT
--AC_CONFIG_SRCDIR([lzfP.h])
-+AC_INIT(lzf.c)
-+
-+AC_CONFIG_AUX_DIR(config)
-+
-+AC_CANONICAL_SYSTEM
-+AM_CONFIG_HEADER(config.h)
-+AC_CHECK_HEADERS(getopt.h)
-+
-+
-+
-+dnl uncomment when tagging
-+#RELEASE=TRUE
-+
-+VER_ARCHITECTURE=3
-+VER_MAJOR=6
-+VER_MINOR=0
-+VER_PATCH=0
-+if test "A" = A$RELEASE; then
-+    VER_PATCH=${VER_PATCH}_`date '+20%y%m%d%H'`
-+fi
-+
-+AM_INIT_AUTOMAKE(liblzf,$VER_ARCHITECTURE.$VER_MAJOR.$VER_MINOR,"http://software.schmorp.de/pkg/liblzf")
-+AC_SUBST(VER_ARCHITECTURE)
-+AC_SUBST(VER_MAJOR)
-+AC_SUBST(VER_MINOR)
-+AC_SUBST(VER_PATCH)
-+
-+LIBRARY_VERSION="1:0:0"
-+
-+AC_SUBST(LIBRARY_VERSION)
-+
-+
-+#
-+# Wall
-+#
-+AC_CACHE_CHECK([for maximum warnings compiler flag],
-+  ac_cv_cwflag,
-+[case "${CC-cc}" in
-+  *gcc*) ac_cv_cwflag="-Wall -pedantic -pipe -O3 -funroll-all-loops";;
-+  *)
-+  ;;
-+esac])
-+AC_SUBST([CWFLAG], [$ac_cv_cwflag])
-+
-+AM_PROG_LIBTOOL
-+AC_PROG_LN_S
-+AC_CHECK_HEADERS([limits.h])
-+AC_CHECK_HEADERS([errno.h])
-+AC_CHECK_HEADERS([fcntl.h])
-+AC_CHECK_HEADERS([stdio.h])
-+LT_INIT
-+
-+AC_CONFIG_SRCDIR([lzf_c.c])
-+
-+
-+if test "${prefix}" = NONE ; then
-+    liblzf_prefix=/usr/local
-+else
-+    liblzf_prefix=${prefix}
-+fi
- 
--AC_CONFIG_HEADER(config.h)
- 
--AC_GNU_SOURCE
- AC_SYS_LARGEFILE
- AC_PROG_CC
- AC_PROG_RANLIB
-@@ -14,12 +70,6 @@
- AC_C_INLINE
- AC_CHECK_HEADERS(getopt.h)
- AC_CHECK_FUNCS(getopt_long)
-+AC_SUBST(ac_aux_dir)
- 
--if test "$GCC" = yes; then
--   CFLAGS="$CFLAGS -O3 -funroll-all-loops"
--else
--   AC_MSG_RESULT(no gcc)
--fi
--
--AC_CONFIG_FILES([Makefile])
--AC_OUTPUT
-+AC_OUTPUT(Makefile liblzf.pc)
-diff -uNr liblzf-3.6.ORIG/liblzf.pc.in liblzf-3.6/liblzf.pc.in
---- liblzf-3.6.ORIG/liblzf.pc.in	1970-01-01 00:00:00.000000000 +0000
-+++ liblzf-3.6/liblzf.pc.in	2014-03-13 08:10:49.134000000 +0000
-@@ -0,0 +1,11 @@
-+prefix=@prefix@
-+exec_prefix=@exec_prefix@
-+libdir=@libdir@
-+includedir=@includedir@
-+
-+Name: liblzf
-+Description: Small data compression library
-+URL: http://oldhome.schmorp.de/marc/liblzf.html
-+Version: @VERSION@
-+Libs: -L${libdir} -llzf
-+Cflags: -I${includedir}
-diff -uNr liblzf-3.6.ORIG/Makefile.am liblzf-3.6/Makefile.am
---- liblzf-3.6.ORIG/Makefile.am	1970-01-01 00:00:00.000000000 +0000
-+++ liblzf-3.6/Makefile.am	2014-03-13 08:12:06.195000000 +0000
-@@ -0,0 +1,74 @@
-+$(PROGRAMS): $(LDEPS)
-+
-+
-+
-+h_sources = lzf.h lzfP.h
-+c_sources = lzf_c.c \
-+    lzf_d.c \
-+    crc32.h \
-+    lzfP.h
-+
-+
-+library_includedir="$(includedir)"
-+
-+
-+INCLUDES = -I$(includedir) -DLOCALEDIR=\"$(localedir)\"
-+
-+library_include_HEADERS = $(h_sources)
-+
-+lib_LTLIBRARIES =  liblzf.la
-+
-+liblzf_la_SOURCES = $(c_sources)
-+liblzf_la_LDFLAGS = -no-undefined -version-info $(LIBRARY_VERSION)
-+
-+bin_PROGRAMS = lzf
-+lzf_SOURCES = lzf.c
-+lzf_LDADD = $(LDADDS) liblzf.la
-+topdir=@RPM_DIR@
-+
-+
-+AUX_DIST             =  $(ac_aux_dir)/config.guess \
-+                        $(ac_aux_dir)/config.sub \
-+                        $(ac_aux_dir)/install-sh \
-+                        $(ac_aux_dir)/ltmain.sh \
-+                        $(ac_aux_dir)/missing  \
-+                        $(ac_aux_dir)/ltconfig \
-+                        $(ac_aux_dir)/ltmain.sh 
-+
-+MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config-h.in \
-+                        stamp-h.in $(AUX_DIST)
-+
-+ACLOCAL              = aclocal -I $(ac_aux_dir)
-+
-+
-+dist-hook:
-+	(cd $(distdir); \
-+	if [ -a $(ac_aux_dir) ]; then \
-+		echo "config exist!"; \
-+	else \
-+		mkdir $(ac_aux_dir); \
-+	fi)
-+	(if [ -a $(ac_aux_dir)/depcomp ]; then \
-+		echo "depcomp exist!"; \
-+	else \
-+		touch $(ac_aux_dir)/depcomp; \
-+	fi)
-+	for file in $(AUX_DIST) $(AUX_DIST_EXTRA); do \
-+		cp $$file $(distdir)/$$file; \
-+	done
-+
-+docfiles = \
-+    LICENSE \
-+    Changes \
-+    README
-+
-+
-+csCLZFfiles = \
-+    cs/CLZF.cs \
-+    cs/README
-+
-+EXTRA_DIST = $(docfiles) $(csCLZFfiles) bootstrap.sh 
-+
-+pkgconfigdir = $(libdir)/pkgconfig
-+pkgconfig_DATA = liblzf.pc
-+
-diff -uNr liblzf-3.6.ORIG/Makefile.in liblzf-3.6/Makefile.in
---- liblzf-3.6.ORIG/Makefile.in	2014-03-13 08:10:30.233000000 +0000
-+++ liblzf-3.6/Makefile.in	2014-03-13 08:13:08.090000000 +0000
-@@ -41,6 +41,7 @@
- 	$(INSTALL) -m 755 lzf $(bindir)
- 	$(INSTALL) -d $(includedir)
- 	$(INSTALL_DATA) lzf.h $(includedir)
-+	$(INSTALL_DATA) lzfP.h $(includedir)
- 	$(INSTALL) -d $(libdir)
- 	$(INSTALL_DATA) liblzf.a $(libdir)
- 

Copied: liblzf/repos/community-x86_64/liblzf-3.6-autoconf-20140314.patch (from rev 1029539, liblzf/trunk/liblzf-3.6-autoconf-20140314.patch)
===================================================================
--- liblzf-3.6-autoconf-20140314.patch	                        (rev 0)
+++ liblzf-3.6-autoconf-20140314.patch	2021-10-11 16:46:04 UTC (rev 1029540)
@@ -0,0 +1,309 @@
+diff -uNr liblzf-3.6.ORIG/bootstrap.sh liblzf-3.6/bootstrap.sh
+--- liblzf-3.6.ORIG/bootstrap.sh	1970-01-01 00:00:00.000000000 +0000
++++ liblzf-3.6/bootstrap.sh	2014-03-13 08:10:49.132000000 +0000
+@@ -0,0 +1,10 @@
++#!/bin/sh
++set -x
++mkdir -p config
++aclocal -I config
++#aclocal-1.10 -I config
++autoheader
++libtoolize --automake
++automake  --add-missing --copy --foreign
++#automake-1.10  --add-missing --copy
++autoconf
+diff -uNr liblzf-3.6.ORIG/config.h.in liblzf-3.6/config.h.in
+--- liblzf-3.6.ORIG/config.h.in	2014-03-13 08:10:30.234000000 +0000
++++ liblzf-3.6/config.h.in	2014-03-13 08:10:49.133000000 +0000
+@@ -1,16 +1,89 @@
+-/* config.h.in.  Generated automatically from configure.in by autoheader 2.13.  */
++/* config.h.in.  Generated from configure.ac by autoheader.  */
+ 
+-/* Define to empty if the keyword does not work.  */
+-#undef const
++/* Define to 1 if you have the <dlfcn.h> header file. */
++#undef HAVE_DLFCN_H
++
++/* Define to 1 if you have the <errno.h> header file. */
++#undef HAVE_ERRNO_H
++
++/* Define to 1 if you have the <fcntl.h> header file. */
++#undef HAVE_FCNTL_H
++
++/* Define to 1 if you have the <getopt.h> header file. */
++#undef HAVE_GETOPT_H
++
++/* Define to 1 if you have the `getopt_long' function. */
++#undef HAVE_GETOPT_LONG
++
++/* Define to 1 if you have the <inttypes.h> header file. */
++#undef HAVE_INTTYPES_H
++
++/* Define to 1 if you have the <limits.h> header file. */
++#undef HAVE_LIMITS_H
++
++/* Define to 1 if you have the <memory.h> header file. */
++#undef HAVE_MEMORY_H
++
++/* Define to 1 if you have the <stdint.h> header file. */
++#undef HAVE_STDINT_H
++
++/* Define to 1 if you have the <stdio.h> header file. */
++#undef HAVE_STDIO_H
++
++/* Define to 1 if you have the <stdlib.h> header file. */
++#undef HAVE_STDLIB_H
++
++/* Define to 1 if you have the <strings.h> header file. */
++#undef HAVE_STRINGS_H
++
++/* Define to 1 if you have the <string.h> header file. */
++#undef HAVE_STRING_H
+ 
+-/* Define if you have the ANSI C header files.  */
++/* Define to 1 if you have the <sys/stat.h> header file. */
++#undef HAVE_SYS_STAT_H
++
++/* Define to 1 if you have the <sys/types.h> header file. */
++#undef HAVE_SYS_TYPES_H
++
++/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H
++
++/* Define to the sub-directory in which libtool stores uninstalled libraries.
++   */
++#undef LT_OBJDIR
++
++/* Define to the address where bug reports for this package should be sent. */
++#undef PACKAGE_BUGREPORT
++
++/* Define to the full name of this package. */
++#undef PACKAGE_NAME
++
++/* Define to the full name and version of this package. */
++#undef PACKAGE_STRING
++
++/* Define to the one symbol short name of this package. */
++#undef PACKAGE_TARNAME
++
++/* Define to the home page for this package. */
++#undef PACKAGE_URL
++
++/* Define to the version of this package. */
++#undef PACKAGE_VERSION
++
++/* Define to 1 if you have the ANSI C header files. */
+ #undef STDC_HEADERS
+ 
+-/* The number of bytes in a int.  */
+-#undef SIZEOF_INT
++/* Number of bits in a file offset, on hosts where this is settable. */
++#undef _FILE_OFFSET_BITS
++
++/* Define for large files, on AIX-style hosts. */
++#undef _LARGE_FILES
+ 
+-/* The number of bytes in a long.  */
+-#undef SIZEOF_LONG
++/* Define to empty if `const' does not conform to ANSI C. */
++#undef const
+ 
+-/* The number of bytes in a short.  */
+-#undef SIZEOF_SHORT
++/* Define to `__inline__' or `__inline' if that's what the C compiler
++   calls it, or to nothing if 'inline' is not supported under any name.  */
++#ifndef __cplusplus
++#undef inline
++#endif
+diff -uNr liblzf-3.6.ORIG/configure.ac liblzf-3.6/configure.ac
+--- liblzf-3.6.ORIG/configure.ac	2014-03-13 08:10:30.233000000 +0000
++++ liblzf-3.6/configure.ac	2014-03-13 08:10:49.133000000 +0000
+@@ -1,9 +1,65 @@
+-AC_INIT
+-AC_CONFIG_SRCDIR([lzfP.h])
++AC_INIT(lzf.c)
++
++AC_CONFIG_AUX_DIR(config)
++
++AC_CANONICAL_SYSTEM
++AM_CONFIG_HEADER(config.h)
++AC_CHECK_HEADERS(getopt.h)
++
++
++
++dnl uncomment when tagging
++#RELEASE=TRUE
++
++VER_ARCHITECTURE=3
++VER_MAJOR=6
++VER_MINOR=0
++VER_PATCH=0
++if test "A" = A$RELEASE; then
++    VER_PATCH=${VER_PATCH}_`date '+20%y%m%d%H'`
++fi
++
++AM_INIT_AUTOMAKE(liblzf,$VER_ARCHITECTURE.$VER_MAJOR.$VER_MINOR,"http://software.schmorp.de/pkg/liblzf")
++AC_SUBST(VER_ARCHITECTURE)
++AC_SUBST(VER_MAJOR)
++AC_SUBST(VER_MINOR)
++AC_SUBST(VER_PATCH)
++
++LIBRARY_VERSION="1:0:0"
++
++AC_SUBST(LIBRARY_VERSION)
++
++
++#
++# Wall
++#
++AC_CACHE_CHECK([for maximum warnings compiler flag],
++  ac_cv_cwflag,
++[case "${CC-cc}" in
++  *gcc*) ac_cv_cwflag="-Wall -pedantic -pipe -O3 -funroll-all-loops";;
++  *)
++  ;;
++esac])
++AC_SUBST([CWFLAG], [$ac_cv_cwflag])
++
++AM_PROG_LIBTOOL
++AC_PROG_LN_S
++AC_CHECK_HEADERS([limits.h])
++AC_CHECK_HEADERS([errno.h])
++AC_CHECK_HEADERS([fcntl.h])
++AC_CHECK_HEADERS([stdio.h])
++LT_INIT
++
++AC_CONFIG_SRCDIR([lzf_c.c])
++
++
++if test "${prefix}" = NONE ; then
++    liblzf_prefix=/usr/local
++else
++    liblzf_prefix=${prefix}
++fi
+ 
+-AC_CONFIG_HEADER(config.h)
+ 
+-AC_GNU_SOURCE
+ AC_SYS_LARGEFILE
+ AC_PROG_CC
+ AC_PROG_RANLIB
+@@ -14,12 +70,6 @@
+ AC_C_INLINE
+ AC_CHECK_HEADERS(getopt.h)
+ AC_CHECK_FUNCS(getopt_long)
++AC_SUBST(ac_aux_dir)
+ 
+-if test "$GCC" = yes; then
+-   CFLAGS="$CFLAGS -O3 -funroll-all-loops"
+-else
+-   AC_MSG_RESULT(no gcc)
+-fi
+-
+-AC_CONFIG_FILES([Makefile])
+-AC_OUTPUT
++AC_OUTPUT(Makefile liblzf.pc)
+diff -uNr liblzf-3.6.ORIG/liblzf.pc.in liblzf-3.6/liblzf.pc.in
+--- liblzf-3.6.ORIG/liblzf.pc.in	1970-01-01 00:00:00.000000000 +0000
++++ liblzf-3.6/liblzf.pc.in	2014-03-13 08:10:49.134000000 +0000
+@@ -0,0 +1,11 @@
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@
++
++Name: liblzf
++Description: Small data compression library
++URL: http://oldhome.schmorp.de/marc/liblzf.html
++Version: @VERSION@
++Libs: -L${libdir} -llzf
++Cflags: -I${includedir}
+diff -uNr liblzf-3.6.ORIG/Makefile.am liblzf-3.6/Makefile.am
+--- liblzf-3.6.ORIG/Makefile.am	1970-01-01 00:00:00.000000000 +0000
++++ liblzf-3.6/Makefile.am	2014-03-13 08:12:06.195000000 +0000
+@@ -0,0 +1,74 @@
++$(PROGRAMS): $(LDEPS)
++
++
++
++h_sources = lzf.h lzfP.h
++c_sources = lzf_c.c \
++    lzf_d.c \
++    crc32.h \
++    lzfP.h
++
++
++library_includedir="$(includedir)"
++
++
++INCLUDES = -I$(includedir) -DLOCALEDIR=\"$(localedir)\"
++
++library_include_HEADERS = $(h_sources)
++
++lib_LTLIBRARIES =  liblzf.la
++
++liblzf_la_SOURCES = $(c_sources)
++liblzf_la_LDFLAGS = -no-undefined -version-info $(LIBRARY_VERSION)
++
++bin_PROGRAMS = lzf
++lzf_SOURCES = lzf.c
++lzf_LDADD = $(LDADDS) liblzf.la
++topdir=@RPM_DIR@
++
++
++AUX_DIST             =  $(ac_aux_dir)/config.guess \
++                        $(ac_aux_dir)/config.sub \
++                        $(ac_aux_dir)/install-sh \
++                        $(ac_aux_dir)/ltmain.sh \
++                        $(ac_aux_dir)/missing  \
++                        $(ac_aux_dir)/ltconfig \
++                        $(ac_aux_dir)/ltmain.sh 
++
++MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config-h.in \
++                        stamp-h.in $(AUX_DIST)
++
++ACLOCAL              = aclocal -I $(ac_aux_dir)
++
++
++dist-hook:
++	(cd $(distdir); \
++	if [ -a $(ac_aux_dir) ]; then \
++		echo "config exist!"; \
++	else \
++		mkdir $(ac_aux_dir); \
++	fi)
++	(if [ -a $(ac_aux_dir)/depcomp ]; then \
++		echo "depcomp exist!"; \
++	else \
++		touch $(ac_aux_dir)/depcomp; \
++	fi)
++	for file in $(AUX_DIST) $(AUX_DIST_EXTRA); do \
++		cp $$file $(distdir)/$$file; \
++	done
++
++docfiles = \
++    LICENSE \
++    Changes \
++    README
++
++
++csCLZFfiles = \
++    cs/CLZF.cs \
++    cs/README
++
++EXTRA_DIST = $(docfiles) $(csCLZFfiles) bootstrap.sh 
++
++pkgconfigdir = $(libdir)/pkgconfig
++pkgconfig_DATA = liblzf.pc
++
+diff -uNr liblzf-3.6.ORIG/Makefile.in liblzf-3.6/Makefile.in
+--- liblzf-3.6.ORIG/Makefile.in	2014-03-13 08:10:30.233000000 +0000
++++ liblzf-3.6/Makefile.in	2014-03-13 08:13:08.090000000 +0000
+@@ -41,6 +41,7 @@
+ 	$(INSTALL) -m 755 lzf $(bindir)
+ 	$(INSTALL) -d $(includedir)
+ 	$(INSTALL_DATA) lzf.h $(includedir)
++	$(INSTALL_DATA) lzfP.h $(includedir)
+ 	$(INSTALL) -d $(libdir)
+ 	$(INSTALL_DATA) liblzf.a $(libdir)
+ 



More information about the arch-commits mailing list