mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 02:21:15 +02:00
add protobuf
This commit is contained in:
@@ -19,8 +19,8 @@ NO_BUILD= yes
|
||||
|
||||
SUB_FILES= gradle
|
||||
SUB_LIST= JAVA=${JAVA} PORTVERSION=${PORTVERSION}
|
||||
#PLIST_FILES= bin/gradle
|
||||
#PORTDATA= *
|
||||
PLIST_FILES= bin/gradle
|
||||
PORTDATA= *
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/gradle ${STAGEDIR}${PREFIX}/bin/gradle
|
||||
|
||||
@@ -1,105 +0,0 @@
|
||||
# $FreeBSD: head/math/gnuplot/Makefile 518826 2019-12-02 06:14:00Z glewis $
|
||||
|
||||
PORTNAME= gnuplot
|
||||
PORTVERSION= 5.2.8
|
||||
CATEGORIES= math graphics
|
||||
MASTER_SITES= SF
|
||||
|
||||
MAINTAINER= glewis@FreeBSD.org
|
||||
COMMENT= Command-line driven graphing utility
|
||||
|
||||
LIB_DEPENDS+= libexpat.so:text/libexpat
|
||||
LIB_DEPENDS+= libfontconfig.so:x11/libfontconfig
|
||||
LIB_DEPENDS+= libfreetype.so:graph/libfreetype2
|
||||
LIB_DEPENDS+= libgd.so:graph/libgd
|
||||
LIB_DEPENDS+= libiconv.so:text/libiconv
|
||||
LIB_DEPENDS+= libintl.so:devel/gettext
|
||||
LIB_DEPENDS+= libjpeg.so:graph/libjpeg
|
||||
LIB_DEPENDS+= libpng16.so:graph/libpng
|
||||
LIB_DEPENDS+= libreadline.so:devel/libreadline
|
||||
LIB_DEPENDS+= libtiff.so:graph/libtiff
|
||||
LIB_DEPENDS+= libwebp.so:graph/libwebp
|
||||
LIB_DEPENDS+= libX11.so:x11/libX11
|
||||
LIB_DEPENDS+= libXau.so:x11/libXau
|
||||
LIB_DEPENDS+= libxcb.so:x11/libxcb
|
||||
LIB_DEPENDS+= libXdmcp.so:x11/libXdmcp
|
||||
LIB_DEPENDS+= libXpm.so:x11/libXpm
|
||||
|
||||
LIB_DEPENDS+= libiconv.so:text/libiconv
|
||||
LIB_DEPENDS+= libX11.so:x11/libX11
|
||||
LIB_DEPENDS+= libXau.so:x11/libXau
|
||||
LIB_DEPENDS+= libxcb.so:x11/libxcb
|
||||
LIB_DEPENDS+= libXdmcp.so:x11/libXdmcp
|
||||
|
||||
|
||||
|
||||
USES+= compiler:c++11-lang iconv pkgconfig readline
|
||||
GNU_CONFIGURE= yes
|
||||
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
|
||||
CONFIGURE_ARGS+= --with-readline=gnu
|
||||
CONFIGURE_ARGS+= --without-linux-vga
|
||||
CONFIGURE_ARGS+= --without-lisp-files
|
||||
CONFIGURE_ARGS+= --without-tutorial
|
||||
CONFIGURE_ARGS+= --with-bitmap-terminals
|
||||
CONFIGURE_ARGS+= --with-qt=no
|
||||
|
||||
#CONFIGURE_ARGS+= --disable-x11-mbfonts
|
||||
#CONFIGURE_ARGS+= --disable-x11-external
|
||||
CONFIGURE_ARGS+= --disable-wxwidgets
|
||||
#CONFIGURE_ARGS+= --without-x
|
||||
CONFIGURE_ARGS+= --without-ggi
|
||||
#CONFIGURE_ARGS+= --without-gd
|
||||
CONFIGURE_ARGS+= --without-caca
|
||||
CONFIGURE_ARGS+= --without-wx
|
||||
CONFIGURE_ARGS+= --without-gpic
|
||||
CONFIGURE_ARGS+= --without-mif
|
||||
CONFIGURE_ARGS+= --without-cairo
|
||||
CONFIGURE_ARGS+= --without-lua
|
||||
CONFIGURE_ARGS+= --without-latex
|
||||
CONFIGURE_ARGS+= --without-kpsexpand
|
||||
|
||||
CONFIGURE_ARGS+= --with-gd=${LOCALBASE}
|
||||
|
||||
CONFIGURE_ARGS+= --without-mif
|
||||
CONFIGURE_ARGS+= --without-kpsexpand
|
||||
CONFIGURE_ARGS+= --without-latex
|
||||
CONFIGURE_ARGS+= ac_cv_prog_KPSEXPAND=${LOCALBASE}/bin/kpsexpand
|
||||
CONFIGURE_ARGS+= ac_cv_prog_PLAINTEX=${LOCALBASE}/bin/tex
|
||||
CONFIGURE_ARGS+= ac_cv_prog_LATEX=${LOCALBASE}/bin/latex
|
||||
CONFIGURE_ARGS+= ac_cv_prog_PDFLATEX=${LOCALBASE}/bin/pdflatex
|
||||
|
||||
TEST_TARGET= check
|
||||
PORTDOCS= *
|
||||
PORTEXAMPLES= *
|
||||
|
||||
GRIDBOX_CONFIGURE_OFF= --disable-h3d-quadtree --enable-h3d-gridbox
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e '/^install:/s/install-am//' ${WRKSRC}/share/LaTeX/Makefile.in
|
||||
${REINPLACE_CMD} -e 's|)/@PACKAGE@/@PKG_MAJOR@|)|g' ${WRKSRC}/src/Makefile.in
|
||||
${REINPLACE_CMD} -e 's|luaL_checkint(|(int)luaL_checkinteger(|' ${WRKSRC}/term/lua.trm
|
||||
|
||||
#post-build-DOCS-on:
|
||||
# cd ${WRKSRC}/docs && ${MAKE} groff
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}/5.2 ; \
|
||||
${INSTALL_DATA} ${WRKSRC}/share/gnuplotrc \
|
||||
${STAGEDIR}${DATADIR}/5.2/gnuplotrc.sample
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/demo && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
#post-install-DOCS-on:
|
||||
# @${MKDIR} ${STAGEDIR}${DOCSDIR}/psdoc
|
||||
# cd ${WRKSRC}/docs && ${INSTALL_DATA} gnuplot.txt gnuplot.dvi \
|
||||
# gnuplot.ps ${STAGEDIR}${DOCSDIR}
|
||||
# cd ${WRKSRC}/docs/psdoc && ${INSTALL_DATA} README ps_* ${STAGEDIR}${DOCSDIR}/psdoc
|
||||
|
||||
#.if defined(LITE)
|
||||
#post-stage:
|
||||
# @cd ${STAGEDIR}${PREFIX} && ${RMDIR} libexec/gnuplot/5.2 libexec/gnuplot
|
||||
#.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1575266871
|
||||
SHA256 (gnuplot-5.2.8.tar.gz) = 60a6764ccf404a1668c140f11cc1f699290ab70daa1151bb58fed6139a28ac37
|
||||
SIZE (gnuplot-5.2.8.tar.gz) = 5340677
|
||||
@@ -1,117 +0,0 @@
|
||||
--- configure.orig 2017-11-23 11:59:30.644837000 -0800
|
||||
+++ configure 2017-11-23 12:01:09.450617000 -0800
|
||||
@@ -11246,12 +11246,12 @@
|
||||
pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
|
||||
else
|
||||
if test -n "$PKG_CONFIG" && \
|
||||
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
|
||||
- ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
|
||||
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
|
||||
+ ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
|
||||
ac_status=$?
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; then
|
||||
- pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.3" 2>/dev/null`
|
||||
+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.3" 2>/dev/null`
|
||||
else
|
||||
pkg_failed=yes
|
||||
fi
|
||||
@@ -11264,12 +11264,12 @@
|
||||
pkg_cv_LUA_LIBS="$LUA_LIBS"
|
||||
else
|
||||
if test -n "$PKG_CONFIG" && \
|
||||
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
|
||||
- ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
|
||||
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
|
||||
+ ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
|
||||
ac_status=$?
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; then
|
||||
- pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.3" 2>/dev/null`
|
||||
+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.3" 2>/dev/null`
|
||||
else
|
||||
pkg_failed=yes
|
||||
fi
|
||||
@@ -11288,9 +11288,9 @@
|
||||
_pkg_short_errors_supported=no
|
||||
fi
|
||||
if test $_pkg_short_errors_supported = yes; then
|
||||
- LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua5.3"`
|
||||
+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua-5.3"`
|
||||
else
|
||||
- LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua5.3"`
|
||||
+ LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua-5.3"`
|
||||
fi
|
||||
# Put the nasty error message in config.log where it belongs
|
||||
echo "$LUA_PKG_ERRORS" >&5
|
||||
@@ -11739,7 +11739,7 @@
|
||||
LUA_LIBS=$pkg_cv_LUA_LIBS
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
- LUA=lua5.3
|
||||
+ LUA=lua53
|
||||
fi
|
||||
elif test $pkg_failed = untried; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
@@ -11754,12 +11754,12 @@
|
||||
pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
|
||||
else
|
||||
if test -n "$PKG_CONFIG" && \
|
||||
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
|
||||
- ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
|
||||
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
|
||||
+ ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
|
||||
ac_status=$?
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; then
|
||||
- pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.3" 2>/dev/null`
|
||||
+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.3" 2>/dev/null`
|
||||
else
|
||||
pkg_failed=yes
|
||||
fi
|
||||
@@ -11772,12 +11772,12 @@
|
||||
pkg_cv_LUA_LIBS="$LUA_LIBS"
|
||||
else
|
||||
if test -n "$PKG_CONFIG" && \
|
||||
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
|
||||
- ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
|
||||
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
|
||||
+ ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
|
||||
ac_status=$?
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; then
|
||||
- pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.3" 2>/dev/null`
|
||||
+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.3" 2>/dev/null`
|
||||
else
|
||||
pkg_failed=yes
|
||||
fi
|
||||
@@ -11796,9 +11796,9 @@
|
||||
_pkg_short_errors_supported=no
|
||||
fi
|
||||
if test $_pkg_short_errors_supported = yes; then
|
||||
- LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua5.3"`
|
||||
+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua-5.3"`
|
||||
else
|
||||
- LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua5.3"`
|
||||
+ LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua-5.3"`
|
||||
fi
|
||||
# Put the nasty error message in config.log where it belongs
|
||||
echo "$LUA_PKG_ERRORS" >&5
|
||||
@@ -12247,7 +12247,7 @@
|
||||
LUA_LIBS=$pkg_cv_LUA_LIBS
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
- LUA=lua5.3
|
||||
+ LUA=lua53
|
||||
fi
|
||||
else
|
||||
LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
|
||||
@@ -12290,7 +12290,7 @@
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
-for ac_lib in '' lua lua5.3 lua5.2 lua5.1; do
|
||||
+for ac_lib in '' lua lua53 lua5.2 lua5.1; do
|
||||
if test -z "$ac_lib"; then
|
||||
ac_res="none required"
|
||||
else
|
||||
@@ -1,30 +0,0 @@
|
||||
--- docs/Makefile.in.orig 2017-11-06 10:23:52.000000000 -0800
|
||||
+++ docs/Makefile.in 2017-11-23 12:14:18.710252000 -0800
|
||||
@@ -907,7 +907,7 @@
|
||||
$(GNUPLOT_EXE):
|
||||
( cd ../src ; $(MAKE) gnuplot$(EXEEXT) )
|
||||
@BUILD_LUA_TRUE@$(LUA_HELP): $(top_srcdir)/term/lua/gnuplot-tikz.lua
|
||||
-@BUILD_LUA_TRUE@ $(AM_V_GEN) $(LUA) $< termhelp > $@
|
||||
+@BUILD_LUA_TRUE@ $(AM_V_GEN) $(LUA) $(top_srcdir)/term/lua/gnuplot-tikz.lua termhelp > $@
|
||||
|
||||
allterm.h: $(CORETERM) $(LUA_HELP)
|
||||
$(AM_V_GEN) for e in `egrep "^[ ]*START_HELP" $(CORETERM) |\
|
||||
@@ -933,15 +933,15 @@
|
||||
|
||||
grotxt: gnuplot.txt
|
||||
gnuplot.txt: gnuplot.ms $(srcdir)/titlepag.ms
|
||||
- $(AM_V_GEN) groff -s -p -t -e -ms -Tlatin1 $< > $@
|
||||
+ $(AM_V_GEN) groff -s -p -t -e -ms -Tlatin1 gnuplot.ms > $@
|
||||
|
||||
grodvi: gnuplot-groff.dvi
|
||||
gnuplot-groff.dvi: gnuplot.ms $(srcdir)/titlepag.ms
|
||||
- $(AM_V_GEN) groff -s -p -t -e -ms -Tdvi $< > $@
|
||||
+ $(AM_V_GEN) groff -s -p -t -e -ms -Tdvi gnuplot.ms > gnuplot.dvi
|
||||
|
||||
grops: gnuplot-groff.ps
|
||||
gnuplot-groff.ps: gnuplot.ms $(srcdir)/titlepag.ms
|
||||
- $(AM_V_GEN) groff -s -p -t -e -ms -Tps $< > $@
|
||||
+ $(AM_V_GEN) groff -s -p -t -e -ms -Tps gnuplot.ms > gnuplot.ps
|
||||
|
||||
### doc2xxx dependencies
|
||||
gnuplot.ms: doc2ms$(EXEEXT) $(srcdir)/gnuplot.doc
|
||||
@@ -1,10 +0,0 @@
|
||||
--- src/command.c.orig 2017-11-01 18:12:31.201708000 -0700
|
||||
+++ src/command.c 2017-11-01 18:13:03.695758000 -0700
|
||||
@@ -119,6 +119,7 @@
|
||||
|
||||
#ifndef _Windows
|
||||
# include "help.h"
|
||||
+# include <sys/wait.h>
|
||||
#endif /* _Windows */
|
||||
|
||||
#ifdef _Windows
|
||||
@@ -1,19 +0,0 @@
|
||||
Gnuplot is a portable multi-platform command-line driven graphing utility. It
|
||||
was originally created to allow scientists and students to visualize
|
||||
mathematical functions and data interactively, but has grown to support many
|
||||
non-interactive uses such as web scripting. It is also used as a plotting engine
|
||||
by third-party applications like Octave. Gnuplot has been supported and under
|
||||
active development since 1986.
|
||||
|
||||
Gnuplot supports many types of plots in either 2D or 3D. It can draw using
|
||||
lines, points, boxes, contours, vector fields, surfaces, and various associated
|
||||
text. It also supports various specialized plot types. Gnuplot supports many
|
||||
different types of output: interactive screen terminals (with mouse and hotkey
|
||||
input), direct output to pen plotters or modern printers, and output to many
|
||||
file formats (eps, emf, fig, jpeg, LaTeX, pdf, png, postscript, ...). Gnuplot is
|
||||
easily extensible to include new output modes. Recent additions include
|
||||
interactive terminals based on wxWidgets (usable on multiple platforms), and Qt.
|
||||
Mouseable plots embedded in web pages can be generated using the svg or HTML5
|
||||
canvas terminal drivers.
|
||||
|
||||
WWW: http://www.gnuplot.info/
|
||||
@@ -1,296 +0,0 @@
|
||||
bin/gnuplot
|
||||
libexec/gnuplot/5.2/gnuplot_x11
|
||||
man/man1/gnuplot.1.gz
|
||||
share/examples/gnuplot/1.dat
|
||||
share/examples/gnuplot/2.dat
|
||||
share/examples/gnuplot/3.dat
|
||||
share/examples/gnuplot/airfoil.dem
|
||||
share/examples/gnuplot/all.dem
|
||||
share/examples/gnuplot/animate.dem
|
||||
share/examples/gnuplot/animate2.dem
|
||||
share/examples/gnuplot/approximate.dem
|
||||
share/examples/gnuplot/armillary.dem
|
||||
share/examples/gnuplot/array.dem
|
||||
share/examples/gnuplot/arrowstyle.dat
|
||||
share/examples/gnuplot/arrowstyle.dem
|
||||
share/examples/gnuplot/asciimat.dat
|
||||
share/examples/gnuplot/autoscale.dem
|
||||
share/examples/gnuplot/azimuth.dem
|
||||
share/examples/gnuplot/barchart_art.dem
|
||||
share/examples/gnuplot/battery.dat
|
||||
share/examples/gnuplot/big_peak.dat
|
||||
share/examples/gnuplot/binary.dem
|
||||
share/examples/gnuplot/binary1
|
||||
share/examples/gnuplot/binary2
|
||||
share/examples/gnuplot/binary3
|
||||
share/examples/gnuplot/bins.dem
|
||||
share/examples/gnuplot/bivariat.dem
|
||||
share/examples/gnuplot/bldg.png
|
||||
share/examples/gnuplot/blutux.rgb
|
||||
share/examples/gnuplot/bolditalic.dem
|
||||
share/examples/gnuplot/borders.dem
|
||||
share/examples/gnuplot/boxclusters.dem
|
||||
share/examples/gnuplot/boxplot.dem
|
||||
share/examples/gnuplot/break_continue.dem
|
||||
share/examples/gnuplot/callargs.dem
|
||||
share/examples/gnuplot/candlesticks.dat
|
||||
share/examples/gnuplot/candlesticks.dem
|
||||
share/examples/gnuplot/cerf.dem
|
||||
share/examples/gnuplot/charset.dem
|
||||
share/examples/gnuplot/circles.dem
|
||||
share/examples/gnuplot/cities.dat
|
||||
share/examples/gnuplot/cities.dem
|
||||
share/examples/gnuplot/clip14in.dat
|
||||
share/examples/gnuplot/clipobject.dem
|
||||
share/examples/gnuplot/colorscheme.dem
|
||||
share/examples/gnuplot/colorwheel.dem
|
||||
share/examples/gnuplot/complex_trig.dem
|
||||
share/examples/gnuplot/contours.dem
|
||||
share/examples/gnuplot/controls.dem
|
||||
share/examples/gnuplot/ctg-y2.dat
|
||||
share/examples/gnuplot/custom_key.dem
|
||||
share/examples/gnuplot/dashcolor.dem
|
||||
share/examples/gnuplot/dashtypes.dem
|
||||
share/examples/gnuplot/datastrings.dem
|
||||
share/examples/gnuplot/delaunay-edges.dat
|
||||
share/examples/gnuplot/demo.edf
|
||||
share/examples/gnuplot/density.fnc
|
||||
share/examples/gnuplot/dgrid3d.dem
|
||||
share/examples/gnuplot/discrete.dem
|
||||
share/examples/gnuplot/electron.dem
|
||||
share/examples/gnuplot/ellipse.dem
|
||||
share/examples/gnuplot/ellipses_style.dem
|
||||
share/examples/gnuplot/ellipses.dat
|
||||
share/examples/gnuplot/empty-circles.dat
|
||||
share/examples/gnuplot/energy_circles.dat
|
||||
share/examples/gnuplot/enhanced_utf8.dem
|
||||
share/examples/gnuplot/enhancedtext.dem
|
||||
share/examples/gnuplot/epslatex.dem
|
||||
share/examples/gnuplot/errorbars.dem
|
||||
share/examples/gnuplot/fenceplot.dem
|
||||
share/examples/gnuplot/fillbetween.dem
|
||||
share/examples/gnuplot/fillcrvs.dem
|
||||
share/examples/gnuplot/fillstyle.dem
|
||||
share/examples/gnuplot/finance.dat
|
||||
share/examples/gnuplot/finance.dem
|
||||
share/examples/gnuplot/fit.dem
|
||||
share/examples/gnuplot/fit3.dat
|
||||
share/examples/gnuplot/fitmulti.dem
|
||||
share/examples/gnuplot/fontfile_latex.dem
|
||||
share/examples/gnuplot/fontfile.dem
|
||||
share/examples/gnuplot/gantt.dem
|
||||
share/examples/gnuplot/gen-random.inc
|
||||
share/examples/gnuplot/glass.dat
|
||||
share/examples/gnuplot/GM1_bonds.r3d
|
||||
share/examples/gnuplot/GM1_sugar.pdb
|
||||
share/examples/gnuplot/gnu-valley
|
||||
share/examples/gnuplot/gnuplot.cfg
|
||||
share/examples/gnuplot/gnuplot.rot
|
||||
share/examples/gnuplot/gpdemos.tcl
|
||||
share/examples/gnuplot/heatmaps.dem
|
||||
share/examples/gnuplot/hemisphr.dat
|
||||
share/examples/gnuplot/hexa.fnc
|
||||
share/examples/gnuplot/hidden.dem
|
||||
share/examples/gnuplot/hidden2.dem
|
||||
share/examples/gnuplot/histerror.dat
|
||||
share/examples/gnuplot/histograms.dem
|
||||
share/examples/gnuplot/histograms2.dem
|
||||
share/examples/gnuplot/histopt.dat
|
||||
share/examples/gnuplot/html/canvas_utf8.dem
|
||||
share/examples/gnuplot/html/gnuplot_demo.css
|
||||
share/examples/gnuplot/html/index.canvas
|
||||
share/examples/gnuplot/html/index.save
|
||||
share/examples/gnuplot/html/index.svg
|
||||
share/examples/gnuplot/html/linkedaxes.1.js.orig
|
||||
share/examples/gnuplot/html/linkedaxes.html.orig
|
||||
share/examples/gnuplot/html/linkedaxes.patch
|
||||
share/examples/gnuplot/html/Makefile
|
||||
share/examples/gnuplot/html/Makefile.canvas
|
||||
share/examples/gnuplot/html/Makefile.svg
|
||||
share/examples/gnuplot/html/mouseable.dem
|
||||
share/examples/gnuplot/html/mousebox.template
|
||||
share/examples/gnuplot/html/webify_canvas.pl
|
||||
share/examples/gnuplot/html/webify_svg.pl
|
||||
share/examples/gnuplot/html/webify.pl
|
||||
share/examples/gnuplot/hypertext.dem
|
||||
share/examples/gnuplot/image.dem
|
||||
share/examples/gnuplot/image2.dem
|
||||
share/examples/gnuplot/imageNaN.dem
|
||||
share/examples/gnuplot/immigration.dat
|
||||
share/examples/gnuplot/iterate.dem
|
||||
share/examples/gnuplot/jitter.dem
|
||||
share/examples/gnuplot/kdensity2d.dem
|
||||
share/examples/gnuplot/key.dem
|
||||
share/examples/gnuplot/klein.dat
|
||||
share/examples/gnuplot/layout.dem
|
||||
share/examples/gnuplot/lcdemo.dat
|
||||
share/examples/gnuplot/lena-keypoints.bin
|
||||
share/examples/gnuplot/lena.rgb
|
||||
share/examples/gnuplot/line.fnc
|
||||
share/examples/gnuplot/lines_arrows.dem
|
||||
share/examples/gnuplot/linkedaxes.dem
|
||||
share/examples/gnuplot/macros.dem
|
||||
share/examples/gnuplot/Makefile
|
||||
share/examples/gnuplot/Makefile.am
|
||||
share/examples/gnuplot/Makefile.am.in
|
||||
share/examples/gnuplot/Makefile.in
|
||||
share/examples/gnuplot/margins.dem
|
||||
share/examples/gnuplot/matrix_every.dem
|
||||
share/examples/gnuplot/matrix_index.dem
|
||||
share/examples/gnuplot/mgr.dem
|
||||
share/examples/gnuplot/molecule.dem
|
||||
share/examples/gnuplot/moli3.dat
|
||||
share/examples/gnuplot/monotonic_spline.dem
|
||||
share/examples/gnuplot/mouselab_1.dem
|
||||
share/examples/gnuplot/mouselab_2.dem
|
||||
share/examples/gnuplot/mouselabels.dem
|
||||
share/examples/gnuplot/mousevariables.dem
|
||||
share/examples/gnuplot/multiaxis.dem
|
||||
share/examples/gnuplot/multimsh.dem
|
||||
share/examples/gnuplot/multipalette.dem
|
||||
share/examples/gnuplot/multiplt.dem
|
||||
share/examples/gnuplot/named_var.dem
|
||||
share/examples/gnuplot/nokey.dem
|
||||
share/examples/gnuplot/nonlinear1.dem
|
||||
share/examples/gnuplot/nonlinear2.dem
|
||||
share/examples/gnuplot/nonlinear3.dem
|
||||
share/examples/gnuplot/nonlinear4.dem
|
||||
share/examples/gnuplot/nonlinear5.dem
|
||||
share/examples/gnuplot/nonlinear6.dem
|
||||
share/examples/gnuplot/optimize.dat
|
||||
share/examples/gnuplot/orbital_elements.dat
|
||||
share/examples/gnuplot/orbits.dem
|
||||
share/examples/gnuplot/parallel.dem
|
||||
share/examples/gnuplot/param.dem
|
||||
share/examples/gnuplot/piecewise.dem
|
||||
share/examples/gnuplot/plugin/.deps/demo_plugin_so-demo_plugin.Po
|
||||
share/examples/gnuplot/plugin/demo_plugin_so-demo_plugin.o
|
||||
share/examples/gnuplot/plugin/demo_plugin.c
|
||||
share/examples/gnuplot/plugin/demo_plugin.so
|
||||
share/examples/gnuplot/plugin/gnuplot_plugin.h
|
||||
share/examples/gnuplot/plugin/Makefile
|
||||
share/examples/gnuplot/plugin/Makefile.am
|
||||
share/examples/gnuplot/plugin/Makefile.in
|
||||
share/examples/gnuplot/plugin/plugin.dem
|
||||
share/examples/gnuplot/pm3d_lighting.dem
|
||||
share/examples/gnuplot/pm3d.dem
|
||||
share/examples/gnuplot/pm3dcolors.dem
|
||||
share/examples/gnuplot/pm3dgamma.dem
|
||||
share/examples/gnuplot/pointsize.dem
|
||||
share/examples/gnuplot/polar.dem
|
||||
share/examples/gnuplot/poldat.dem
|
||||
share/examples/gnuplot/prob.dem
|
||||
share/examples/gnuplot/prob2.dem
|
||||
share/examples/gnuplot/probably_tux.dem
|
||||
share/examples/gnuplot/rainbow.dem
|
||||
share/examples/gnuplot/random-points
|
||||
share/examples/gnuplot/random.dem
|
||||
share/examples/gnuplot/rectangle.dem
|
||||
share/examples/gnuplot/reflect.fnc
|
||||
share/examples/gnuplot/rgb_variable.dat
|
||||
share/examples/gnuplot/rgb_variable.dem
|
||||
share/examples/gnuplot/rgba_lines.dem
|
||||
share/examples/gnuplot/rgbalpha.dem
|
||||
share/examples/gnuplot/rotate_labels.dem
|
||||
share/examples/gnuplot/rugplot.dem
|
||||
share/examples/gnuplot/running_avg.dem
|
||||
share/examples/gnuplot/sampling.dem
|
||||
share/examples/gnuplot/scatter.dem
|
||||
share/examples/gnuplot/scatter2.bin
|
||||
share/examples/gnuplot/scatter2.dat
|
||||
share/examples/gnuplot/silver.dat
|
||||
share/examples/gnuplot/simple.dem
|
||||
share/examples/gnuplot/sine.bin
|
||||
share/examples/gnuplot/singulr.dem
|
||||
share/examples/gnuplot/smooth_splines.dem
|
||||
share/examples/gnuplot/smooth.dem
|
||||
share/examples/gnuplot/solar_params.dem
|
||||
share/examples/gnuplot/solar_path.dem
|
||||
share/examples/gnuplot/sound.par
|
||||
share/examples/gnuplot/sound2.par
|
||||
share/examples/gnuplot/soundvel.dat
|
||||
share/examples/gnuplot/special_chars.dem
|
||||
share/examples/gnuplot/spline.dem
|
||||
share/examples/gnuplot/srl.dat
|
||||
share/examples/gnuplot/start.par
|
||||
share/examples/gnuplot/stat.inc
|
||||
share/examples/gnuplot/stats.dem
|
||||
share/examples/gnuplot/steps.dat
|
||||
share/examples/gnuplot/steps.dem
|
||||
share/examples/gnuplot/stringvar.dem
|
||||
share/examples/gnuplot/surface1.dem
|
||||
share/examples/gnuplot/surface2.dem
|
||||
share/examples/gnuplot/table.dat
|
||||
share/examples/gnuplot/textbox.dem
|
||||
share/examples/gnuplot/textcolor.dem
|
||||
share/examples/gnuplot/textrotate.dem
|
||||
share/examples/gnuplot/tics.dem
|
||||
share/examples/gnuplot/timedat.dat
|
||||
share/examples/gnuplot/timedat.dem
|
||||
share/examples/gnuplot/transparent_solids.dem
|
||||
share/examples/gnuplot/transparent.dem
|
||||
share/examples/gnuplot/triangle.dat
|
||||
share/examples/gnuplot/ttics.dem
|
||||
share/examples/gnuplot/using.bin
|
||||
share/examples/gnuplot/using.dat
|
||||
share/examples/gnuplot/using.dem
|
||||
share/examples/gnuplot/utf8.dem
|
||||
share/examples/gnuplot/varcolor.dem
|
||||
share/examples/gnuplot/vector.dem
|
||||
share/examples/gnuplot/violinplot.dem
|
||||
share/examples/gnuplot/volatile.dem
|
||||
share/examples/gnuplot/whale.dat
|
||||
share/examples/gnuplot/world.cor
|
||||
share/examples/gnuplot/world.dat
|
||||
share/examples/gnuplot/world.dem
|
||||
share/examples/gnuplot/world2.dem
|
||||
share/examples/gnuplot/zerror.dem
|
||||
share/gnuplot/5.2/app-defaults/Gnuplot
|
||||
share/gnuplot/5.2/colors_default.gp
|
||||
share/gnuplot/5.2/colors_mono.gp
|
||||
share/gnuplot/5.2/colors_podo.gp
|
||||
share/gnuplot/5.2/gnuplot.gih
|
||||
share/gnuplot/5.2/gnuplotrc
|
||||
share/gnuplot/5.2/gnuplotrc.sample
|
||||
share/gnuplot/5.2/js/canvasmath.js
|
||||
share/gnuplot/5.2/js/canvastext.js
|
||||
share/gnuplot/5.2/js/gnuplot_common.js
|
||||
share/gnuplot/5.2/js/gnuplot_dashedlines.js
|
||||
share/gnuplot/5.2/js/gnuplot_mouse.css
|
||||
share/gnuplot/5.2/js/gnuplot_mouse.js
|
||||
share/gnuplot/5.2/js/gnuplot_svg.js
|
||||
share/gnuplot/5.2/js/grid.png
|
||||
share/gnuplot/5.2/js/help.png
|
||||
share/gnuplot/5.2/js/nextzoom.png
|
||||
share/gnuplot/5.2/js/previouszoom.png
|
||||
share/gnuplot/5.2/js/README
|
||||
share/gnuplot/5.2/js/return.png
|
||||
share/gnuplot/5.2/js/textzoom.png
|
||||
share/gnuplot/5.2/lua/gnuplot-tikz.lua
|
||||
share/gnuplot/5.2/PostScript/8859-1.ps
|
||||
share/gnuplot/5.2/PostScript/8859-15.ps
|
||||
share/gnuplot/5.2/PostScript/8859-2.ps
|
||||
share/gnuplot/5.2/PostScript/8859-9.ps
|
||||
share/gnuplot/5.2/PostScript/aglfn.txt
|
||||
share/gnuplot/5.2/PostScript/cp1250.ps
|
||||
share/gnuplot/5.2/PostScript/cp1251.ps
|
||||
share/gnuplot/5.2/PostScript/cp1252.ps
|
||||
share/gnuplot/5.2/PostScript/cp437.ps
|
||||
share/gnuplot/5.2/PostScript/cp850.ps
|
||||
share/gnuplot/5.2/PostScript/cp852.ps
|
||||
share/gnuplot/5.2/PostScript/koi8r.ps
|
||||
share/gnuplot/5.2/PostScript/koi8u.ps
|
||||
share/gnuplot/5.2/PostScript/prologue.ps
|
||||
share/gnuplot/5.2/PostScript/utf-8.ps
|
||||
@dir libexec/gnuplot/5.2
|
||||
@dir libexec/gnuplot
|
||||
@dir share/examples/gnuplot/html
|
||||
@dir share/examples/gnuplot/plugin/.deps
|
||||
@dir share/examples/gnuplot/plugin
|
||||
@dir share/examples/gnuplot
|
||||
@dir share/gnuplot/5.2/app-defaults
|
||||
@dir share/gnuplot/5.2/js
|
||||
@dir share/gnuplot/5.2/lua
|
||||
@dir share/gnuplot/5.2/PostScript
|
||||
@dir share/gnuplot/5.2
|
||||
@dir share/gnuplot
|
||||
@@ -14,7 +14,7 @@ COMMENT= Advanced DNS recursor
|
||||
BUILD_DEPENDS+= lua:lang/lua53
|
||||
RUN_DEPENDS+= lua:lang/lua53
|
||||
|
||||
LIB_DEPENDS+= libprotobuf.so:devel/libprotobuf
|
||||
LIB_DEPENDS+= libprotobuf.so:devel/protobuf
|
||||
LIB_DEPENDS+= libboost_thread.so:devel/libboost64
|
||||
LIB_DEPENDS+= libboost_system.so:devel/libboost64
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/libboost64
|
||||
|
||||
@@ -1,167 +0,0 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
PORTNAME= hplip
|
||||
PORTVERSION= 3.20.6
|
||||
CATEGORIES= print
|
||||
MASTER_SITES= SF
|
||||
PKGNAMEPREFIX= cups-
|
||||
|
||||
|
||||
MAINTAINER= onborodin@gmail.com
|
||||
COMMENT= Drivers and utilities for HP Printers and All-in-One devices
|
||||
|
||||
|
||||
LIB_DEPENDS+= libjpeg.so:graph/libjpeg
|
||||
LIB_DEPENDS+= libcups.so:print/cups-base
|
||||
LIB_DEPENDS+= libcupsimage.so:print/cups-base
|
||||
|
||||
|
||||
CONFLICTS= hpijs-[0-9]*
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --with-cupsbackenddir=${PREFIX}/libexec/cups/backend
|
||||
CONFIGURE_ARGS+= --with-cupsfilterdir=${PREFIX}/libexec/cups/filter
|
||||
CONFIGURE_ARGS+= --with-icondir=${DESKTOPDIR}
|
||||
CONFIGURE_ARGS+= --with-systraydir=${PREFIX}/etc/xdg/autostart
|
||||
CONFIGURE_ARGS+= --with-hpppddir=${PREFIX}/share/cups/model/hplip/HP
|
||||
CONFIGURE_ARGS+= --with-mimedir=${PREFIX}/etc/cups
|
||||
CONFIGURE_ARGS+= --with-docdir=${DOCSDIR}
|
||||
CONFIGURE_ARGS+= --with-drvdir=${PREFIX}/share/cups/driver
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -pthread
|
||||
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -pthread
|
||||
|
||||
|
||||
#CONFIGURE_ARGS+= --enable-cups11-build
|
||||
#CONFIGURE_ARGS+= --enable-dbus-build
|
||||
#CONFIGURE_ARGS+= --enable-fax-build
|
||||
#CONFIGURE_ARGS+= --enable-gui-build
|
||||
#CONFIGURE_ARGS+= --enable-hpcups-only-build
|
||||
#CONFIGURE_ARGS+= --enable-hpijs-only-build
|
||||
#CONFIGURE_ARGS+= --enable-network-build
|
||||
#CONFIGURE_ARGS+= --enable-new-hpcups
|
||||
#CONFIGURE_ARGS+= --enable-policykit
|
||||
#CONFIGURE_ARGS+= --enable-pp-build
|
||||
#CONFIGURE_ARGS+= --enable-qt3
|
||||
#CONFIGURE_ARGS+= --enable-qt4
|
||||
#CONFIGURE_ARGS+= --enable-scan-build
|
||||
#CONFIGURE_ARGS+= --enable-shadow-build
|
||||
|
||||
CONFIGURE_ARGS+= --disable-dbus-build
|
||||
CONFIGURE_ARGS+= --disable-doc-build
|
||||
CONFIGURE_ARGS+= --disable-fax-build
|
||||
|
||||
CONFIGURE_ARGS+= --disable-foomatic-drv-install
|
||||
CONFIGURE_ARGS+= --disable-foomatic-rip-hplip-install
|
||||
CONFIGURE_ARGS+= --disable-gui-build
|
||||
|
||||
CONFIGURE_ARGS+= --enable-hpcups-install
|
||||
CONFIGURE_ARGS+= --enable-network-build
|
||||
|
||||
CONFIGURE_ARGS+= --disable-qt4
|
||||
CONFIGURE_ARGS+= --disable-scan-build
|
||||
|
||||
CONFIGURE_ARGS+= --enable-cups-drv-install
|
||||
CONFIGURE_ARGS+= --enable-cups-ppd-install
|
||||
|
||||
CONFIGURE_ARGS+= --disable-foomatic-ppd-install
|
||||
|
||||
CONFIGURE_ARGS+= --disable-hpijs-install
|
||||
#CONFIGURE_ARGS+= --enable-hpijs-only-build
|
||||
#CONFIGURE_ARGS+= --enable-hpcups-only-build
|
||||
|
||||
CONFIGURE_ARGS+= --enable-lite-build
|
||||
|
||||
|
||||
USES+= gmake
|
||||
USE_LDCONFIG= yes
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|-ldld||g;' \
|
||||
-e 's|-ldl||g' \
|
||||
-e 's,-lusb-1.0,-lusb,g' \
|
||||
-e 's,libusb-1.0/libusb.h,libusb.h,g' \
|
||||
${WRKSRC}/configure \
|
||||
${WRKSRC}/Makefile.in
|
||||
${REINPLACE_CMD} -e '/[[:space:]]install-dist_rulesDATA/ s,install-dist_rulesDATA,,' \
|
||||
-e '/[[:space:]]install-dist_rulessystemDATA/ s,install-dist_rulessystemDATA,,' \
|
||||
${WRKSRC}/Makefile.in
|
||||
${REINPLACE_CMD} -e 's,/etc/hp,${PREFIX}&,g' \
|
||||
-e 's,/etc/cups,${LOCALBASE}&,g' \
|
||||
-e 's,/etc/init.d,${LOCALBASE}/etc/rc.d,g' \
|
||||
-e 's,/etc/sane.d,${LOCALBASE}&,g' \
|
||||
-e 's,/usr/share,${LOCALBASE}/share,g' \
|
||||
-e 's,/usr/include,${LOCALBASE}/include,g' \
|
||||
${WRKSRC}/Makefile.in \
|
||||
${WRKSRC}/base/codes.py \
|
||||
${WRKSRC}/base/g.py \
|
||||
${WRKSRC}/base/password.py \
|
||||
${WRKSRC}/base/pkit.py \
|
||||
${WRKSRC}/base/queues.py \
|
||||
${WRKSRC}/base/services.py \
|
||||
${WRKSRC}/base/utils.py \
|
||||
${WRKSRC}/check.py \
|
||||
${WRKSRC}/fax/backend/hpfax.py \
|
||||
${WRKSRC}/fax/coverpages.py \
|
||||
${WRKSRC}/fax/filters/pstotiff \
|
||||
${WRKSRC}/hplip.list.in \
|
||||
${WRKSRC}/installer/core_install.py \
|
||||
${WRKSRC}/installer/dcheck.py \
|
||||
${WRKSRC}/installer/pluginhandler.py \
|
||||
${WRKSRC}/logcapture.py \
|
||||
${WRKSRC}/prnt/cups.py \
|
||||
${WRKSRC}/prnt/filters/hpps \
|
||||
${WRKSRC}/prnt/hpcups/HPCupsFilter.cpp \
|
||||
${WRKSRC}/prnt/hpijs/globals.cpp \
|
||||
${WRKSRC}/prnt/hpijs/hpcupsfax.cpp \
|
||||
${WRKSRC}/prnt/hpijs/hpijs.cpp \
|
||||
${WRKSRC}/ui/devmgr4.py \
|
||||
${WRKSRC}/ui4/devmgr5.py \
|
||||
${WRKSRC}/ui5/devmgr5.py
|
||||
${REINPLACE_CMD} -e 's/umask(0)/umask(0o022)/' \
|
||||
-e 's/umask(0o111)/umask(0o133)/' \
|
||||
${WRKSRC}/base/os_utils.py \
|
||||
${WRKSRC}/base/validation.py \
|
||||
${WRKSRC}/fax/backend/hpfax.py \
|
||||
${WRKSRC}/hpdio.py \
|
||||
${WRKSRC}/installer/pluginhandler.py
|
||||
|
||||
|
||||
|
||||
_post-patch:
|
||||
${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},g' \
|
||||
-e 's|-ldld||g; s|-ldl||g' \
|
||||
${WRKSRC}/configure \
|
||||
${WRKSRC}/Makefile.in
|
||||
${REINPLACE_CMD} -e '/[[:space:]]install-dist_rulesDATA/ s,install-dist_rulesDATA,,' \
|
||||
-e '/[[:space:]]install-hplip_confDATA/ s,install-hplip_confDATA,,' \
|
||||
${WRKSRC}/Makefile.in
|
||||
# ${REINPLACE_CMD} -e 's,/etc/hp,${PREFIX}&,g' \
|
||||
# -e 's,/etc/cups,${LOCALBASE}&,g' \
|
||||
# -e 's,/etc/init.d,${LOCALBASE}/etc/rc.d,g' \
|
||||
# -e 's,/etc/sane.d,${LOCALBASE}&,g' \
|
||||
# -e 's,/usr/share,${LOCALBASE}/share,g' \
|
||||
# -e 's,/usr/include,${LOCALBASE}/include,g' \
|
||||
# ${FILES4FIX:S,^,${WRKSRC}/,}
|
||||
${REINPLACE_CMD} -e 's,%USB_INCLUDE%,${USB_INCLUDE},' \
|
||||
${WRKSRC}/installer/core_install.py
|
||||
${REINPLACE_CMD} -e '/[[:space:]]install-docDATA/ s|install-docDATA||' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
_post-install:
|
||||
# ${INSTALL_DATA} ${WRKSRC}/hplip-systray.desktop ${PREFIX}/etc/xdg/autostart/hplip-systray.desktop
|
||||
# ${MKDIR} ${PREFIX}/etc/hp
|
||||
# ${INSTALL_DATA} ${WRKSRC}/hplip.conf ${EXAMPLESDIR}/hplip.conf.sample
|
||||
# if [ ! -f ${PREFIX}/etc/hp/hplip.conf ]; then \
|
||||
# ${INSTALL_DATA} ${PREFIX}/etc/hp/hplip.conf.sample \
|
||||
# ${PREFIX}/etc/hp/hplip.conf; \
|
||||
# fi
|
||||
# @${CAT} ${PKGMESSAGE}
|
||||
cd ${STAGEDIR}${PREFIX}/share/cups/model/hplip/HP && ${GZIP_CMD} -d *.gz
|
||||
# ${INSTALL_SCRIPT} ${WRKSRC}/prnt/hpijs/foomatic-rip-hplip \
|
||||
# ${PREFIX}/libexec/cups/filter/foomatic-rip-hplip
|
||||
${REINPLACE_CMD} -e 's,foomatic-rip-hplip,foomatic-rip,g' ${STAGEDIR}${PREFIX}/share/cups/model/hplip/HP/*.ppd
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1618215383
|
||||
SHA256 (hplip-3.20.6.tar.gz) = c64b2d334348010a9911f4feb075b2aa669047e7adb86c72d4a6ee7d392a7c20
|
||||
SIZE (hplip-3.20.6.tar.gz) = 25908476
|
||||
@@ -1,78 +0,0 @@
|
||||
--- Makefile.in.orig 2019-10-22 06:32:27 UTC
|
||||
+++ Makefile.in
|
||||
@@ -103,7 +103,7 @@ DIST_COMMON = $(am__configure_deps) \
|
||||
|
||||
# ip library
|
||||
@HPLIP_BUILD_TRUE@am__append_12 = libhpip.la
|
||||
-@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@am__append_13 = prnt/drv/hpijs.drv.in.template prnt/drv/hpcups.drv.in.template prnt/hpcups/libImageProcessor-x86_64.so prnt/hpcups/libImageProcessor-x86_32.so
|
||||
+@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@am__append_13 = prnt/drv/hpijs.drv.in.template prnt/drv/hpcups.drv.in.template
|
||||
@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@am__append_14 = dat2drv.py install.py hplip-install init-suse-firewall init-iptables-firewall class_rpm_build.sh hplipclassdriver.spec createPPD.sh Makefile_dat2drv hpijs-drv
|
||||
@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@am__append_15 = scan/sane/hpaio.desc \
|
||||
@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@ installer/text_install.py \
|
||||
@@ -377,6 +377,7 @@ am__libsane_hpaio_la_SOURCES_DIST = scan/sane/hpaio.c
|
||||
scan/sane/sclpml.h common/utils.c common/utils.h \
|
||||
scan/sane/escl.h scan/sane/escli.h scan/sane/escl.c \
|
||||
scan/sane/orblitei.h scan/sane/orblite.h scan/sane/orblite.c \
|
||||
+ scan/sane/OrbliteScan/BSDCommon.h \
|
||||
scan/sane/OrbliteScan/LinuxCommon.h \
|
||||
scan/sane/OrbliteScan/MacCommon.h
|
||||
@HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@@SCAN_BUILD_TRUE@am_libsane_hpaio_la_OBJECTS = libsane_hpaio_la-hpaio.lo \
|
||||
@@ -500,8 +501,7 @@ am__hpcups_SOURCES_DIST = prnt/hpcups/HPCupsFilter.cpp
|
||||
prnt/hpcups/RunLenEncoding.h prnt/hpcups/common_defines.h \
|
||||
prnt/hpcups/genPCLm.h common/utils.c common/utils.h \
|
||||
prnt/hpcups/Hbpl1_Wrapper.cpp prnt/hpcups/genPCLm.cpp \
|
||||
- prnt/hpcups/genJPEGStrips.cpp prnt/hpcups/RunLenEncoding.cpp \
|
||||
- prnt/hpcups/ImageProcessor.h
|
||||
+ prnt/hpcups/genJPEGStrips.cpp prnt/hpcups/RunLenEncoding.cpp
|
||||
@HPCUPS_INSTALL_TRUE@am_hpcups_OBJECTS = \
|
||||
@HPCUPS_INSTALL_TRUE@ hpcups-HPCupsFilter.$(OBJEXT) \
|
||||
@HPCUPS_INSTALL_TRUE@ hpcups-dbuscomm.$(OBJEXT) \
|
||||
@@ -728,8 +728,6 @@ am__dist_locatedriver_DATA_DIST = locatedriver
|
||||
am__dist_models_DATA_DIST = data/models/models.dat
|
||||
am__dist_noinst_DATA_DIST = prnt/drv/hpijs.drv.in.template \
|
||||
prnt/drv/hpcups.drv.in.template \
|
||||
- prnt/hpcups/libImageProcessor-x86_64.so \
|
||||
- prnt/hpcups/libImageProcessor-x86_32.so scan/sane/hpaio.desc \
|
||||
installer/text_install.py data/localization/hplip_de.ts \
|
||||
data/localization/hplip_es.ts data/localization/hplip_fr.ts \
|
||||
data/localization/hplip_it.ts data/localization/hplip_pt.ts \
|
||||
@@ -4407,7 +4405,7 @@ dist_unrel_DATA =
|
||||
@HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@@SCAN_BUILD_TRUE@ scan/sane/bb_ledm.c scan/sane/http.h scan/sane/http.c scan/sane/sclpml.c scan/sane/sclpml.h common/utils.c common/utils.h \
|
||||
@HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@@SCAN_BUILD_TRUE@ scan/sane/escl.h scan/sane/escli.h scan/sane/escl.c \
|
||||
@HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@@SCAN_BUILD_TRUE@ scan/sane/orblitei.h scan/sane/orblite.h scan/sane/orblite.c \
|
||||
-@HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@@SCAN_BUILD_TRUE@ scan/sane/OrbliteScan/LinuxCommon.h scan/sane/OrbliteScan/MacCommon.h
|
||||
+@HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@@SCAN_BUILD_TRUE@ scan/sane/OrbliteScan/BSDCommon.h scan/sane/OrbliteScan/LinuxCommon.h scan/sane/OrbliteScan/MacCommon.h
|
||||
|
||||
@DARWIN_BUILD_FALSE@@HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@@SCAN_BUILD_TRUE@libsane_hpaio_la_LDFLAGS = -version-info 1:0:0
|
||||
@DARWIN_BUILD_TRUE@@HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@@SCAN_BUILD_TRUE@libsane_hpaio_la_LDFLAGS = -module -framework CoreFoundation -version-info 1:0:0
|
||||
@@ -4802,11 +4800,10 @@ libapdk_la_CFLAGS = $(libapdk_la_CXXFLAGS) -Iprnt/hpij
|
||||
@HPCUPS_INSTALL_TRUE@ prnt/hpcups/flate_colorspace.h prnt/hpcups/RunLenEncoding.h prnt/hpcups/common_defines.h \
|
||||
@HPCUPS_INSTALL_TRUE@ prnt/hpcups/genPCLm.h \
|
||||
@HPCUPS_INSTALL_TRUE@ common/utils.c common/utils.h prnt/hpcups/Hbpl1_Wrapper.cpp prnt/hpcups/genPCLm.cpp \
|
||||
-@HPCUPS_INSTALL_TRUE@ prnt/hpcups/genJPEGStrips.cpp prnt/hpcups/RunLenEncoding.cpp \
|
||||
-@HPCUPS_INSTALL_TRUE@ prnt/hpcups/ImageProcessor.h
|
||||
+@HPCUPS_INSTALL_TRUE@ prnt/hpcups/genJPEGStrips.cpp prnt/hpcups/RunLenEncoding.cpp
|
||||
|
||||
@HPCUPS_INSTALL_TRUE@hpcups_CXXFLAGS = $(APDK_ENDIAN_FLAG) $(DBUS_CFLAGS)
|
||||
-@HPCUPS_INSTALL_TRUE@hpcups_LDADD = -L./prnt/hpcups/ -ljpeg -ldl -lImageProcessor -lcups -lcupsimage -lz $(DBUS_LIBS)
|
||||
+@HPCUPS_INSTALL_TRUE@hpcups_LDADD = -L./prnt/hpcups/ -ljpeg -ldl -lcups -lcupsimage -lz $(DBUS_LIBS)
|
||||
#else
|
||||
#hpcupsdir = $(cupsfilterdir)
|
||||
#hpcups_PROGRAMS = hpcups
|
||||
@@ -9577,16 +9574,6 @@ uninstall-am: uninstall-apparmor_abstractionDATA \
|
||||
|
||||
|
||||
install-data-hook:
|
||||
-@HPLIP_BUILD_TRUE@ if [ \( "$(UNAME)" = "x86_64" -a -d "$(libdir)/" \) ]; then \
|
||||
-@HPLIP_BUILD_TRUE@ cp prnt/hpcups/libImageProcessor-x86_64.so $(libdir)/ ; \
|
||||
-@HPLIP_BUILD_TRUE@ chmod 775 $(libdir)/libImageProcessor-x86_64.so ; \
|
||||
-@HPLIP_BUILD_TRUE@ ln -sf $(libdir)/libImageProcessor-x86_64.so $(libdir)/libImageProcessor.so ; \
|
||||
-@HPLIP_BUILD_TRUE@ fi; \
|
||||
-@HPLIP_BUILD_TRUE@ if [ \( \( "$(UNAME)" = "i686" -o "$(UNAME)" = "i386" \) -a -d "$(libdir)/" \) ]; then \
|
||||
-@HPLIP_BUILD_TRUE@ cp prnt/hpcups/libImageProcessor-x86_32.so $(libdir)/ ; \
|
||||
-@HPLIP_BUILD_TRUE@ chmod 775 $(libdir)/libImageProcessor-x86_32.so ; \
|
||||
-@HPLIP_BUILD_TRUE@ ln -sf $(libdir)/libImageProcessor-x86_32.so $(libdir)/libImageProcessor.so ; \
|
||||
-@HPLIP_BUILD_TRUE@ fi
|
||||
# If scanner build, add hpaio entry to sane dll.conf.
|
||||
@HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@ if [ "$(scan_build)" = "yes" ]; then \
|
||||
@HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@ $(mkinstalldirs) $(DESTDIR)/etc/sane.d; \
|
||||
@@ -1,24 +0,0 @@
|
||||
--- installer/dcheck.py.orig 2019-11-03 15:17:23 UTC
|
||||
+++ installer/dcheck.py
|
||||
@@ -48,7 +48,11 @@ mod_output = ''
|
||||
def update_ld_output():
|
||||
# For library checks
|
||||
global ld_output
|
||||
- status, ld_output = utils.run('%s -p' % os.path.join(utils.which('ldconfig'), 'ldconfig'), log_output=False)
|
||||
+ if sys.platform.startswith('freebsd'):
|
||||
+ ld_cmd = '%s -r'
|
||||
+ else: # linux
|
||||
+ ld_cmd = '%s -p'
|
||||
+ status, ld_output = utils.run(ld_cmd % os.path.join(utils.which('ldconfig'), 'ldconfig'), log_output=False)
|
||||
|
||||
if status != 0:
|
||||
log.debug("ldconfig failed.")
|
||||
@@ -378,6 +385,8 @@ def get_libpthread_version():
|
||||
except ImportError:
|
||||
return '-'
|
||||
else:
|
||||
+ if sys.platform.startswith('freebsd'):
|
||||
+ return '-'
|
||||
# LIBC = ctypes.CDLL(ctypes.util.find_library('c'), use_errno=True)
|
||||
LIBC = ctypes.CDLL(ctypes.util.find_library('c'),ctypes.DEFAULT_MODE,None, True)
|
||||
LIBC.gnu_get_libc_version.restype = ctypes.c_char_p
|
||||
@@ -1,31 +0,0 @@
|
||||
--- io/hpmud/musb.c.orig 2016-08-26 10:05:31 UTC
|
||||
+++ io/hpmud/musb.c
|
||||
@@ -139,10 +139,16 @@ static int get_string_descriptor(libusb_
|
||||
0x409,
|
||||
tbuf, sizeof(tbuf), LIBUSB_CONTROL_REQ_TIMEOUT);
|
||||
|
||||
- if (ret==0)
|
||||
+ if (ret==0
|
||||
+#ifdef __FreeBSD__
|
||||
+ || ret == -EIO
|
||||
+#endif
|
||||
+ )
|
||||
{
|
||||
- /* This retry is necessary for lj1000 and lj1005. des 12/12/07 */
|
||||
- BUG("get_string_descriptor zero result, retrying...");
|
||||
+ /* This retry is necessary for lj1000 and lj1005. des 12/12/07
|
||||
+ Also HP Photosmart 42xx seems to suffer transient errors with serial id */
|
||||
+ BUG("get_string_descriptor error result %d, retrying in 2 secs...", ret);
|
||||
+ sleep(2);
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
@@ -385,7 +391,7 @@ static int detach(libusb_device_handle *
|
||||
{
|
||||
int ret ;
|
||||
/* If any kernel module has claimed this interface, detach it. */
|
||||
- ret = libusb_kernel_driver_active (hd, interface);
|
||||
+ ret = 0;
|
||||
DBG("Active kernel driver on interface=%d ret=%d\n", interface, ret);
|
||||
if (ret == 1)
|
||||
{
|
||||
@@ -1,10 +0,0 @@
|
||||
--- prnt/hpcups/CommonDefinitions.h.orig 2016-09-23 08:47:53 UTC
|
||||
+++ prnt/hpcups/CommonDefinitions.h
|
||||
@@ -41,6 +41,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <cups/cups.h>
|
||||
#include <cups/raster.h>
|
||||
+#include <cups/ppd.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@@ -1,12 +0,0 @@
|
||||
--- prnt/hpcups/ErnieFilter.cpp.orig 2016-08-26 10:03:22 UTC
|
||||
+++ prnt/hpcups/ErnieFilter.cpp
|
||||
@@ -50,7 +50,8 @@
|
||||
#include "ErnieFilter.h"
|
||||
|
||||
|
||||
-#if defined(__APPLE__) || defined(__linux) || defined(__GLIBC__) || defined(__NetBSD__)
|
||||
+#if defined(__APPLE__) || defined(__linux) || defined(__GLIBC__) \
|
||||
+ || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
|
||||
#include <math.h>
|
||||
#endif
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
--- prnt/hpcups/HPCupsFilter.cpp.orig 2019-10-22 06:14:20 UTC
|
||||
+++ prnt/hpcups/HPCupsFilter.cpp
|
||||
@@ -31,7 +31,6 @@
|
||||
\*****************************************************************************/
|
||||
|
||||
#include "HPCupsFilter.h"
|
||||
-#include "ImageProcessor.h"
|
||||
|
||||
#include <signal.h>
|
||||
#include <sys/wait.h>
|
||||
@@ -637,16 +636,10 @@ int HPCupsFilter::processRasterData(cups_raster_t *cup
|
||||
|
||||
|
||||
sprintf(hpPreProcessedRasterFile, "%s/hp_%s_cups_SwapedPagesXXXXXX",CUPS_TMP_DIR, m_JA.user_name);
|
||||
- image_processor_t* imageProcessor = imageProcessorCreate();
|
||||
|
||||
while (cupsRasterReadHeader2(cups_raster, &cups_header))
|
||||
{
|
||||
|
||||
- IMAGE_PROCESSOR_ERROR result = imageProcessorStartPage(imageProcessor, &cups_header);
|
||||
- if (result != IPE_SUCCESS){
|
||||
- dbglog("DEBUG: imageProcessorStartPage failed result = %d\n", result);
|
||||
- }
|
||||
-
|
||||
current_page_number++;
|
||||
|
||||
if (current_page_number == 1) {
|
||||
@@ -745,12 +738,6 @@ int HPCupsFilter::processRasterData(cups_raster_t *cup
|
||||
color_raster = rgbRaster;
|
||||
black_raster = kRaster;
|
||||
|
||||
- result = imageProcessorProcessLine(imageProcessor, m_pPrinterBuffer, cups_header.cupsBytesPerLine);
|
||||
- if (result != IPE_SUCCESS){
|
||||
- dbglog("DEBUG: imageProcessorProcessLine failed result = %d\n", result);
|
||||
- }
|
||||
-
|
||||
-
|
||||
if ((y == 0) && !is_ljmono) {
|
||||
//For ljmono, make sure that first line is not a blankRaster line.Otherwise printer
|
||||
//may not skip blank lines before actual data
|
||||
@@ -780,12 +767,6 @@ int HPCupsFilter::processRasterData(cups_raster_t *cup
|
||||
}
|
||||
} // for() loop end
|
||||
|
||||
- result = imageProcessorEndPage(imageProcessor);
|
||||
- if (result != IPE_SUCCESS){
|
||||
- dbglog("DEBUG: imageProcessorEndPage failed result = %d\n", result);
|
||||
- }
|
||||
-
|
||||
-
|
||||
m_Job.NewPage();
|
||||
if (err != NO_ERROR) {
|
||||
break;
|
||||
@@ -799,8 +780,6 @@ int HPCupsFilter::processRasterData(cups_raster_t *cup
|
||||
kRaster = NULL;
|
||||
rgbRaster = NULL;
|
||||
}
|
||||
-
|
||||
- imageProcessorDestroy(imageProcessor);
|
||||
|
||||
unlink(hpPreProcessedRasterFile);
|
||||
return ret_status;
|
||||
@@ -1,10 +0,0 @@
|
||||
--- prnt/hpcups/genJPEGStrips.cpp.orig 2017-12-19 19:39:29 UTC
|
||||
+++ prnt/hpcups/genJPEGStrips.cpp
|
||||
@@ -28,7 +28,6 @@ extern "C"
|
||||
|
||||
#include <setjmp.h>
|
||||
|
||||
-#include <malloc.h>
|
||||
#include <memory.h>
|
||||
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
--- prnt/hpps/hppsfilter.c.orig 2019-11-04 10:12:15 UTC
|
||||
+++ prnt/hpps/hppsfilter.c
|
||||
@@ -104,7 +104,7 @@ static void open_tempbookletfile(char *mode)
|
||||
if(ptempbooklet_file == NULL)
|
||||
{
|
||||
fprintf(stderr, "ERROR: Unable to open temp file %s\n", temp_filename);
|
||||
- return 1;
|
||||
+ return;
|
||||
}
|
||||
chmod(temp_filename, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
|
||||
|
||||
@@ -1,86 +0,0 @@
|
||||
Use a dynamically allocated port instead of binding port 5353. The bind(2)
|
||||
call fails when Avahi has already claimed port 5353. On top of that, HPLIP
|
||||
only performs one-shot queries and those shouldn't be using port 5353 according
|
||||
to RFC 6762.
|
||||
|
||||
Don't disable loop-back. It's harmless.
|
||||
|
||||
Use default TTL of 1. RFC 6762 requires 255 for responses, not for queries.
|
||||
|
||||
There's no need to join the multicast group for one-shot queries. Responses
|
||||
are sent to the unicast address.
|
||||
|
||||
--- protocol/discovery/mdns.c.orig 2020-07-01 14:48:56 UTC
|
||||
+++ protocol/discovery/mdns.c
|
||||
@@ -24,7 +24,11 @@
|
||||
Author: Sanjay Kumar
|
||||
\*****************************************************************************/
|
||||
|
||||
-//#include <stdio.h>
|
||||
+#include <ctype.h>
|
||||
+#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
+#include <unistd.h>
|
||||
+#include <sys/select.h>
|
||||
#include <string.h>
|
||||
#include <syslog.h>
|
||||
#include <sys/socket.h>
|
||||
@@ -70,57 +74,13 @@ static int mdns_convert_name_to_dns(const char *name,
|
||||
static int mdns_open_socket(int *psocket)
|
||||
{
|
||||
int stat = MDNS_STATUS_ERROR;
|
||||
- int udp_socket = -1, yes = 1;
|
||||
- char loop = 0, ttl = 255;
|
||||
- struct sockaddr_in recv_addr , addr;
|
||||
- struct ip_mreq mreq;
|
||||
+ int udp_socket;
|
||||
|
||||
DBG("mdns_open_socket entry.\n");
|
||||
|
||||
if ((udp_socket = socket(AF_INET, SOCK_DGRAM, 0)) == -1)
|
||||
{
|
||||
BUG("unable to create udp socket: %m\n");
|
||||
- goto bugout;
|
||||
- }
|
||||
-
|
||||
- /* Get rid of "address already in use" error message. */
|
||||
- if (setsockopt(udp_socket, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(yes)) == -1)
|
||||
- {
|
||||
- BUG("unable to setsockopt: %m\n");
|
||||
- goto bugout;
|
||||
- }
|
||||
-
|
||||
- /* Bind the socket to port and IP equal to INADDR_ANY. */
|
||||
- bzero(&recv_addr, sizeof(recv_addr));
|
||||
- recv_addr.sin_family = AF_INET;
|
||||
- recv_addr.sin_addr.s_addr = htonl(INADDR_ANY);
|
||||
- recv_addr.sin_port = htons(5353);
|
||||
- if (bind(udp_socket, (struct sockaddr *) &recv_addr, sizeof(recv_addr)) == -1)
|
||||
- {
|
||||
- BUG("unable to bind udp socket: %m\n");
|
||||
- goto bugout;
|
||||
- }
|
||||
-
|
||||
- /* Set multicast loopback off. */
|
||||
- if (setsockopt(udp_socket, IPPROTO_IP, IP_MULTICAST_LOOP, &loop, sizeof(loop)) == -1)
|
||||
- {
|
||||
- BUG("unable to setsockopt: %m\n");
|
||||
- goto bugout;
|
||||
- }
|
||||
-
|
||||
- /* Set ttl to 255. Required by mdns. */
|
||||
- if (setsockopt(udp_socket, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, sizeof(ttl))== -1)
|
||||
- {
|
||||
- BUG("unable to setsockopt: %m\n");
|
||||
- goto bugout;
|
||||
- }
|
||||
-
|
||||
- /* Join the .local multicast group */
|
||||
- mreq.imr_multiaddr.s_addr = inet_addr("224.0.0.251");
|
||||
- mreq.imr_interface.s_addr = htonl(INADDR_ANY);
|
||||
- if (setsockopt(udp_socket, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, sizeof(struct ip_mreq)) == -1) {
|
||||
- BUG("unable to add to multicast group: %m\n");
|
||||
- close(udp_socket);
|
||||
goto bugout;
|
||||
}
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
--- scan/sane/OrbliteScan/BSDCommon.h.orig 2019-11-03 16:02:42 UTC
|
||||
+++ scan/sane/OrbliteScan/BSDCommon.h
|
||||
@@ -0,0 +1,60 @@
|
||||
+#ifndef H_BSDCommon
|
||||
+#define H_BSDCommon
|
||||
+
|
||||
+#include <sys/types.h>
|
||||
+
|
||||
+/* Common typedefs for BSD */
|
||||
+
|
||||
+typedef unsigned char * StringPtr;
|
||||
+typedef unsigned char Boolean;
|
||||
+typedef char * Ptr;
|
||||
+
|
||||
+typedef unsigned char UInt8;
|
||||
+typedef UInt8* PUInt8;
|
||||
+typedef signed char SInt8;
|
||||
+typedef unsigned short UInt16;
|
||||
+typedef signed short SInt16;
|
||||
+typedef u_int32_t UInt32;
|
||||
+typedef int32_t SInt32;
|
||||
+//typedef unsigned long UInt32;
|
||||
+//typedef signed long SInt32;
|
||||
+typedef int64_t SInt64;
|
||||
+typedef uint64_t UInt64;
|
||||
+//typedef __S64_TYPE int64_t;
|
||||
+//typedef __U64_TYPE uint64_t;
|
||||
+
|
||||
+//typedef unsigned long ULONG;
|
||||
+//typedef void* LPVOID;
|
||||
+//typedef long HRESULT;
|
||||
+//typedef int32_t HRESULT;
|
||||
+
|
||||
+typedef SInt16 OSErr;
|
||||
+
|
||||
+typedef unsigned long FourCharCode;
|
||||
+typedef FourCharCode OSType;
|
||||
+
|
||||
+typedef void IUnknown;
|
||||
+
|
||||
+#define FAILED(Status) ((HRESULT)(Status) < 0)
|
||||
+
|
||||
+/* dummy definitions - TODO: define these ... or not? */
|
||||
+
|
||||
+typedef int FSSpec;
|
||||
+typedef int CFURLRef;
|
||||
+typedef int CFBundleRef;
|
||||
+typedef void* Handle; // needed by Python driver
|
||||
+
|
||||
+/* re-define MAC-only memory API to POSIX-compliant */
|
||||
+#define NewPtr malloc /* MAC */
|
||||
+#define DisposePtr free /* MAC */
|
||||
+
|
||||
+/* re-define WinDoze-only memory API to POSIX-compliant */
|
||||
+/* currently not used because we are using #ifdef __MAC__ */
|
||||
+
|
||||
+// #define CoTaskMemAlloc malloc
|
||||
+// #define CoTaskMemFree free
|
||||
+// #define CoTaskMemRealloc realloc
|
||||
+
|
||||
+
|
||||
+#endif /* H_BSDCommon */
|
||||
+
|
||||
@@ -1,31 +0,0 @@
|
||||
--- scan/sane/OrbliteScan/MacCommon.h.orig 2019-10-22 06:21:36 UTC
|
||||
+++ scan/sane/OrbliteScan/MacCommon.h
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef H_MacCommon
|
||||
#define H_MacCommon
|
||||
|
||||
-#ifndef __linux__
|
||||
+#if !defined(__linux__) && !defined(__FreeBSD__)
|
||||
#include <CoreFoundation/CFPlugInCOM.h>
|
||||
#define __CFPlugInCOM_Included__
|
||||
#endif
|
||||
@@ -10,6 +10,10 @@
|
||||
# include "LinuxCommon.h"
|
||||
#endif
|
||||
|
||||
+#if defined(__FreeBSD__)
|
||||
+# include "BSDCommon.h"
|
||||
+#endif
|
||||
+
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
@@ -257,7 +261,7 @@ typedef struct _GUID {
|
||||
|
||||
typedef GUID CLSID;
|
||||
|
||||
-#ifndef __linux__
|
||||
+#if !defined(__linux__) && !defined(__FreeBSD__)
|
||||
const extern CLSID CLSID_NULL;
|
||||
const extern GUID GUID_NULL;
|
||||
#else
|
||||
@@ -1,20 +0,0 @@
|
||||
--- scan/sane/hpaio.c.orig 2019-10-22 06:25:58 UTC
|
||||
+++ scan/sane/hpaio.c
|
||||
@@ -419,7 +419,7 @@ extern void sane_hpaio_close(SANE_Handle handle)
|
||||
if (strcmp(*((char **)handle), "ESCL") == 0)
|
||||
return escl_close(handle);
|
||||
if (strcmp(*((char **)handle), "ORBLITE") == 0)
|
||||
- return orblite_close(handle);
|
||||
+ orblite_close(handle);
|
||||
} /* sane_hpaio_close() */
|
||||
|
||||
extern const SANE_Option_Descriptor * sane_hpaio_get_option_descriptor(SANE_Handle handle, SANE_Int option)
|
||||
@@ -552,7 +552,7 @@ extern void sane_hpaio_cancel( SANE_Handle handle )
|
||||
if (strcmp(*((char **)handle), "ESCL") == 0)
|
||||
return escl_cancel(handle);
|
||||
if (strcmp(*((char **)handle), "ORBLITE") == 0)
|
||||
- return orblite_cancel(handle);
|
||||
+ orblite_cancel(handle);
|
||||
} /* sane_hpaio_cancel() */
|
||||
|
||||
extern SANE_Status sane_hpaio_set_io_mode(SANE_Handle handle, SANE_Bool nonBlocking)
|
||||
@@ -1,13 +0,0 @@
|
||||
=====================================================================
|
||||
|
||||
HPLIP expects printers to be attached as a ugen(4) devices. This
|
||||
means that you must NOT have "device ulpt" in your kernel and ulpt
|
||||
must NOT be loaded as a kernel module (you may also want to compile
|
||||
print/cups-base with LIBUSB support). Please, follow the instructions
|
||||
from print/cups-base pkg-message to setup correct permission for
|
||||
usb devices.
|
||||
|
||||
In order to enable full functionality of hp tools, users must be
|
||||
added to group `cups'.
|
||||
|
||||
=====================================================================
|
||||
@@ -1,8 +0,0 @@
|
||||
HPLIP is an HP developed solution for printing, scanning,
|
||||
and faxing with HP inkjet and laser based printers in Linux.
|
||||
|
||||
The HP driver project provides printing support for nearly
|
||||
1000 printer models, including Deskjet, Officejet, Photosmart,
|
||||
PSC (Print Scan Copy), Business Inkjet, LaserJet, and LaserJet MFP.
|
||||
|
||||
WWW: http://hplipopensource.com/hplip-web/index.html
|
||||
File diff suppressed because it is too large
Load Diff
@@ -11,8 +11,8 @@ COMMENT?= Virtual Peer-to-Peer Currency Client (QT)
|
||||
|
||||
LIB_DEPENDS= libboost_date_time.so:devel/libboost64
|
||||
LIB_DEPENDS= libqrencode.so:graph/libqrencode
|
||||
BUILD_DEPENDS+= protoc:devel/libprotobuf
|
||||
LIB_DEPENDS+= libprotobuf.so:devel/libprotobuf
|
||||
BUILD_DEPENDS+= protoc:devel/protobuf
|
||||
LIB_DEPENDS+= libprotobuf.so:devel/protobuf
|
||||
|
||||
RUN_DEPENDS+= gtk-update-icon-cache:gnome/libgtk2
|
||||
RUN_DEPENDS+= update-desktop-database:xfce/desktop-file-utils
|
||||
|
||||
@@ -11,8 +11,8 @@ COMMENT?= Virtual Peer-to-Peer Currency Client (QT)
|
||||
|
||||
LIB_DEPENDS= libboost_date_time.so:devel/libboost64
|
||||
LIB_DEPENDS= libqrencode.so:graph/libqrencode
|
||||
BUILD_DEPENDS+= protoc:devel/libprotobuf
|
||||
LIB_DEPENDS+= libprotobuf.so:devel/libprotobuf
|
||||
BUILD_DEPENDS+= protoc:devel/protobuf
|
||||
LIB_DEPENDS+= libprotobuf.so:devel/protobuf
|
||||
|
||||
RUN_DEPENDS+= gtk-update-icon-cache:gnome/libgtk2
|
||||
RUN_DEPENDS+= update-desktop-database:xfce/desktop-file-utils
|
||||
|
||||
Reference in New Issue
Block a user