pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics



Module Name:    pkgsrc
Committed By:   agc
Date:           Tue Jul 19 02:11:51 UTC 2016

Modified Files:
        pkgsrc/graphics: Makefile
Added Files:
        pkgsrc/graphics/lepton: DESCR Makefile PLIST distinfo
        pkgsrc/graphics/lepton/patches: patch-src--lepton--fork_serve.cc
            patch-src--lepton--socket_serve.cc
            patch-src--vp8--model--jpeg_meta.hh
            patch-src--vp8--util--vpx_config.hh

Log Message:
Add dropbox's graphics/lepton, a lossless JPG compression/decompression
program, version 1.2.1, into the packages collection.

        Lepton is a tool and file format for losslessly compressing JPEGs by
        an average of 22%.

        This can be used to archive large photo collections, or to serve
        images live and save 22% banwdith.


To generate a diff of this commit:
cvs rdiff -u -r1.746 -r1.747 pkgsrc/graphics/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/lepton/DESCR \
    pkgsrc/graphics/lepton/Makefile pkgsrc/graphics/lepton/PLIST \
    pkgsrc/graphics/lepton/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/graphics/lepton/patches/patch-src--lepton--fork_serve.cc \
    pkgsrc/graphics/lepton/patches/patch-src--lepton--socket_serve.cc \
    pkgsrc/graphics/lepton/patches/patch-src--vp8--model--jpeg_meta.hh \
    pkgsrc/graphics/lepton/patches/patch-src--vp8--util--vpx_config.hh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/Makefile
diff -u pkgsrc/graphics/Makefile:1.746 pkgsrc/graphics/Makefile:1.747
--- pkgsrc/graphics/Makefile:1.746      Fri Jul 15 07:37:02 2016
+++ pkgsrc/graphics/Makefile    Tue Jul 19 02:11:51 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.746 2016/07/15 07:37:02 wiz Exp $
+# $NetBSD: Makefile,v 1.747 2016/07/19 02:11:51 agc Exp $
 #
 
 COMMENT=       Graphics tools and libraries
@@ -276,6 +276,7 @@ SUBDIR+=    lasem
 SUBDIR+=       lcms
 SUBDIR+=       lcms2
 SUBDIR+=       lensfun
+SUBDIR+=       lepton
 SUBDIR+=       leptonica
 SUBDIR+=       lib3ds
 SUBDIR+=       libart

Added files:

Index: pkgsrc/graphics/lepton/DESCR
diff -u /dev/null pkgsrc/graphics/lepton/DESCR:1.1
--- /dev/null   Tue Jul 19 02:11:51 2016
+++ pkgsrc/graphics/lepton/DESCR        Tue Jul 19 02:11:51 2016
@@ -0,0 +1,5 @@
+Lepton is a tool and file format for losslessly compressing JPEGs by
+an average of 22%.
+
+This can be used to archive large photo collections, or to serve
+images live and save 22% banwdith.
Index: pkgsrc/graphics/lepton/Makefile
diff -u /dev/null pkgsrc/graphics/lepton/Makefile:1.1
--- /dev/null   Tue Jul 19 02:11:51 2016
+++ pkgsrc/graphics/lepton/Makefile     Tue Jul 19 02:11:51 2016
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2016/07/19 02:11:51 agc Exp $
+
+DISTNAME=      lepton-1.2.1
+CATEGORIES=    graphics
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=dropbox/}
+GITHUB_TAG=    911d79a560c303a2a62e5412117d0a4ccb41836d
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/dropbox/lepton/
+COMMENT=       Lossless compression/decompression for JPEG images
+LICENSE=       modified-bsd
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+USE_LANGUAGES+=        c c++
+USE_TOOLS+=    autoconf autoreconf automake gmake makeinfo
+
+AUTO_MKDIRS=   yes
+
+pre-configure:
+       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} sh ./autogen.sh
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/lepton ${DESTDIR}${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/lepton/PLIST
diff -u /dev/null pkgsrc/graphics/lepton/PLIST:1.1
--- /dev/null   Tue Jul 19 02:11:51 2016
+++ pkgsrc/graphics/lepton/PLIST        Tue Jul 19 02:11:51 2016
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/19 02:11:51 agc Exp $
+bin/lepton
Index: pkgsrc/graphics/lepton/distinfo
diff -u /dev/null pkgsrc/graphics/lepton/distinfo:1.1
--- /dev/null   Tue Jul 19 02:11:51 2016
+++ pkgsrc/graphics/lepton/distinfo     Tue Jul 19 02:11:51 2016
@@ -0,0 +1,10 @@
+$NetBSD: distinfo,v 1.1 2016/07/19 02:11:51 agc Exp $
+
+SHA1 (lepton-1.2.1-911d79a560c303a2a62e5412117d0a4ccb41836d.tar.gz) = fe7142d68f33a054a124cf8862b25af7780a1049
+RMD160 (lepton-1.2.1-911d79a560c303a2a62e5412117d0a4ccb41836d.tar.gz) = 1ef14dee2db286c9940ae72bbf2addcdc656ff92
+SHA512 (lepton-1.2.1-911d79a560c303a2a62e5412117d0a4ccb41836d.tar.gz) = 
c6b490c232a399c10792b278390ce916494782334d1ee06b9823889ccdbe8f528f1ecbfd3d3274dbc81494d29d065c98338a4643f829fead9c18815200a441ad
+Size (lepton-1.2.1-911d79a560c303a2a62e5412117d0a4ccb41836d.tar.gz) = 50228341 bytes
+SHA1 (patch-src--lepton--fork_serve.cc) = 8fad491ce8c106a999391d27b176c665337cd903
+SHA1 (patch-src--lepton--socket_serve.cc) = 5c0e94a8b2f5e61a556cd33784a0787c588e1c7f
+SHA1 (patch-src--vp8--model--jpeg_meta.hh) = 5f1424e5d5160c12a43b75402c33adf9894f868f
+SHA1 (patch-src--vp8--util--vpx_config.hh) = 857472457ad1b1f8b8bd6d7c66ae2c0991e4e4ef

Index: pkgsrc/graphics/lepton/patches/patch-src--lepton--fork_serve.cc
diff -u /dev/null pkgsrc/graphics/lepton/patches/patch-src--lepton--fork_serve.cc:1.1
--- /dev/null   Tue Jul 19 02:11:51 2016
+++ pkgsrc/graphics/lepton/patches/patch-src--lepton--fork_serve.cc     Tue Jul 19 02:11:51 2016
@@ -0,0 +1,14 @@
+$NetBSD: patch-src--lepton--fork_serve.cc,v 1.1 2016/07/19 02:11:51 agc Exp $
+
+Port this properly
+
+--- src/lepton/fork_serve.cc   2016/07/19 01:26:14     1.1
++++ src/lepton/fork_serve.cc   2016/07/19 01:26:36
+@@ -2,6 +2,7 @@
+ #ifndef _WIN32
+ 
+ #include <sys/types.h>
++#include <sys/param.h>
+ #include <signal.h>
+ #include <sys/socket.h>
+ #include <sys/un.h>
Index: pkgsrc/graphics/lepton/patches/patch-src--lepton--socket_serve.cc
diff -u /dev/null pkgsrc/graphics/lepton/patches/patch-src--lepton--socket_serve.cc:1.1
--- /dev/null   Tue Jul 19 02:11:51 2016
+++ pkgsrc/graphics/lepton/patches/patch-src--lepton--socket_serve.cc   Tue Jul 19 02:11:51 2016
@@ -0,0 +1,13 @@
+$NetBSD: patch-src--lepton--socket_serve.cc,v 1.1 2016/07/19 02:11:51 agc Exp $
+
+Port this properly
+
+--- src/lepton/socket_serve.cc 2016/07/19 01:27:59     1.1
++++ src/lepton/socket_serve.cc 2016/07/19 01:28:26
+@@ -1,5 +1,6 @@
+ #ifndef _WIN32
+ #include <sys/types.h>
++#include <sys/param.h>
+ #include <signal.h>
+ #include <sys/socket.h>
+ #include <sys/un.h>
Index: pkgsrc/graphics/lepton/patches/patch-src--vp8--model--jpeg_meta.hh
diff -u /dev/null pkgsrc/graphics/lepton/patches/patch-src--vp8--model--jpeg_meta.hh:1.1
--- /dev/null   Tue Jul 19 02:11:51 2016
+++ pkgsrc/graphics/lepton/patches/patch-src--vp8--model--jpeg_meta.hh  Tue Jul 19 02:11:51 2016
@@ -0,0 +1,19 @@
+$NetBSD: patch-src--vp8--model--jpeg_meta.hh,v 1.1 2016/07/19 02:11:51 agc Exp $
+
+Port to BSD-based systems
+
+--- src/vp8/model/jpeg_meta.hh 2016/07/17 17:54:51     1.1
++++ src/vp8/model/jpeg_meta.hh 2016/07/17 17:55:35
+@@ -4,8 +4,11 @@
+ #include <vector>
+ #include <type_traits>
+ #ifndef __APPLE__
+-#ifndef BSD
+ #ifndef _WIN32
++#include <sys/param.h>
++#if (defined(BSD) && BSD >= 199506)
++#include <sys/endian.h>
++#else
+ #include <endian.h>
+ #endif
+ #endif
Index: pkgsrc/graphics/lepton/patches/patch-src--vp8--util--vpx_config.hh
diff -u /dev/null pkgsrc/graphics/lepton/patches/patch-src--vp8--util--vpx_config.hh:1.1
--- /dev/null   Tue Jul 19 02:11:51 2016
+++ pkgsrc/graphics/lepton/patches/patch-src--vp8--util--vpx_config.hh  Tue Jul 19 02:11:51 2016
@@ -0,0 +1,21 @@
+$NetBSD: patch-src--vp8--util--vpx_config.hh,v 1.1 2016/07/19 02:11:51 agc Exp $
+
+Make this work on BSD_derived systems
+
+--- src/vp8/util/vpx_config.hh 2016/07/17 17:50:27     1.1
++++ src/vp8/util/vpx_config.hh 2016/07/17 17:52:16
+@@ -44,10 +44,11 @@
+ #ifndef _BSD_SOURCE
+ #define _BSD_SOURCE       /* See feature_test_macros(7) */
+ #endif
+-#ifdef BSD
++#include <sys/param.h>
++#  if (defined(BSD) && BSD >= 199506)
+ #include <sys/endian.h>
+-#else
++#  else
+ #include <endian.h>
+-#endif
++#  endif
+ #endif
+ #endif



Home | Main Index | Thread Index | Old Index