Commit graph

96 commits

Author SHA1 Message Date
rumko
68b8130ae5 graphics/sane-backends: add upstream bug report for PR pkg/44193
ok@ wiz
2011-01-30 18:04:23 +00:00
obache
e4f2b2e8a3 At the previous bump to 1.0.21nb1, dependency on libtiff was added,
so also need to add buildlink libtiff here.
PR#44298.
2010-12-31 15:38:24 +00:00
adam
b5421a8f84 Fixed building on Mac OS X; fixed PLIST; added tiff dependency for dell1600n 2010-12-27 15:07:52 +00:00
dsainty
1f40f3a084 Mechanically replace references to graphics/jpeg with the suitable
alternative from mk/jpeg.buildlink3.mk

This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).

The mechanical edits were applied via the following script:

#!/bin/sh
for d in */*; do
  [ -d "$d" ] || continue
  for i in "$d/"Makefile* "$d/"*.mk; do
    case "$i" in *.orig|*"*"*) continue;; esac
    out="$d/x"
    sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
        -e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
        < "$i" > "$out"
    if cmp -s "$i" "$out"; then
      rm -f "$out"
    else
      echo "Edited $i"
      mv -f "$i" "$i.orig" && mv "$out" "$i"
    fi
  done
done
2010-12-23 11:44:24 +00:00
wiz
fb2c0c2fed Fix typo, noted by Rumko. 2010-12-08 09:35:29 +00:00
wiz
44d8515e83 Fix build on DragonFly, from Rumko in PR 44193. 2010-12-06 12:16:03 +00:00
wiz
67cc1aaf8f Update to 1.0.21:
New with 1.0.21, released 2010-04-25:

* New backends: kodak (Kodak i18xx), kvs1025 (Panasonic KV-S10xx),
  p5 (Primax PagePartner)
* 224 more scanner models supported.
* Many backends updated.
* Improved compilation on uncommon platforms.
* More consistent option naming.
* Scanimage no longer writes image to tty.
* Modern translation infrastructure.
* Improved saned network daemon.
* Internal SCSI, USB, threading, TCP & UDP code updates.
* Updated HAL and udev support.
* New sanei_magic image processing library.
* Documentation updates.
* Bugfixes.
2010-09-19 15:06:18 +00:00
wiz
91871f449e Second try at jpeg-8 recursive PKGREVISION bump. 2010-01-18 09:58:37 +00:00
wiz
9efdbdf75d Fix xsane build by adding back a symbol that was, according to Debian,
accidentally removed in 1.0.20.
Bump PKGREVISION.
2009-09-04 23:09:06 +00:00
sno
6f7368d4db bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
hasso
e695afdffc * Make it link on DragonFly and maybe some others (sane_find_scanner needs
to be linked against libcam).
* Fix PLIST for platforms not building sane-pint backend.
* Bump PKGREVISION.
2009-08-20 03:53:20 +00:00
wiz
f93b3b9314 Update to 1.0.20, set LICENSE.
New with 1.0.20, released 2009-05-03:

* New backends: canon_dr (Canon DR-series), coolscan3 (Nikon LS & Coolscan),
  rts8891 (Umax & HP 44xx), xerox_mfp (Samsung/Xerox/Dell MFPs)
* Many backends updated.
* 75 more scanner models supported.
* New build system (thanks Chris and Olaf).
* Avahi support (thanks Julien).
* More network scanners supported
* Epson backend deprecated, use epson2
* Coolscan2 backend deprecated, use coolscan3
* Internal SCSI, USB, threading, TCP & UDP code updates.
* Updated HAL and udev support.
* Improved saned configuration.
* Scanimage updates.
* Updated translations.
* Documentation updates.
* Bugfixes.
2009-08-15 17:53:11 +00:00
joerg
24ce9c6c39 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 20:05:39 +00:00
joerg
3a3c07bc30 Remove @dirrm entries from PLISTs 2009-06-14 17:59:04 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
joerg
3b0d97b0de Add DESTDIR support. 2008-06-20 01:09:05 +00:00
reed
0c65c64d91 Fix comment. 2008-04-17 20:24:38 +00:00
wiz
66ac5d4a41 Update to 1.0.19.
Remove sane-backends-hp3900 option, support is now enabled by default.

New with 1.0.19, released 2008-02-10:

* New backends: cardscan (Corex Cardscan 800c), epjitsu (Epson-based Fujitsu),
  epson2 (various Epson scanners), hp3900 (HP ScanJet 3970 and more),
  hp5590 (HP ScanJet 5590 and more), hpljm1005 (HP LaserJet M1005 and more),
  hs2p (Ricoh IS400 series)
* Updated backends: abaton, agfafocus, apple, artec, artec_eplus48u, as6e,
  avision, canon, coolscan, coolscan2, dc25, dell1600n_net, dll, epson,
  fujitsu, genesys, gt68xx, hp3500, ibm, lexmark, microtek, microtek2, mustek,
  nec, net, pie, pint, pixma, plustek, plustek_pp, ricoh, s9036, sm3600,
  sm3840, snapscan, sp15c, st400, tamarack, teco2, test, u12, umax, umax1220u,
  umax_pp
* Scanimage detects more chipsets.
* Internal scsi, usb, tcp and udp code updates.
* Basic HAL .fdi creation support
* Build system updates.
* Updated translations.
* Documentation updates.
* Bugfixes.
2008-04-13 21:43:39 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
obache
d96cbcf30c Honor inet6 option.
Based on patch provided by Yakovetsky Vladimir in PR 37150.
2007-10-20 03:49:17 +00:00
gdt
242f697f69 # lib/Makefile.in builds .o files and then .a, but rules for shlibs,
# while apparently independent, cause libtool to create .o again,
# making it possible for the ar step of the .a build to fail to find
# the .o
MAKE_JOBS_SAFE=		NO
2007-06-08 20:50:55 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
wiz
fde092335c Remove some legacy options handling. 2007-01-30 07:09:03 +00:00
joerg
5e43280b23 Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes.
The redundant parsing of bsd.prefs.mk is mostly avoided now and
parse time e.g. for x11/kdebase3 gets reduced by up to 10%.
2006-12-12 21:52:34 +00:00
wiz
24896fd59c Update MASTER_SITES. 2006-08-23 18:29:22 +00:00
wiz
310b70d283 Update to 1.0.18.
Reanem hp3900 option to sane-backends-hp3900, and add legacy
handling for the old option name.

New with 1.0.18, released 2006-07-02:

* New backends: dell1600n_net (Dell 1600n), hp3500 (HP ScanJet 3500 series),
  pixma (Canon Pixma series), stv680 (Aiptek Pencam and similar).
* Updated backends: avision, canon, dll, epson, fujitsu, genesys, gt68xx,
  microtek2, mustek_pp, niash, plustek, snapscan, sp15c, test, u12, umax1220u.
* Scanimage batch mode fixes.
* Scanner lists contain USB vendor/product ids and some statistics now.
* Udev/hotplug lists are generated autmatically from the .desc files now.
* Portability fixes (especially for DragonFlyBSD and HP/UX).
* Build system updates.
* Updated translations.
* Documentation updates.
* Bugfixes.
2006-08-05 22:41:49 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
joerg
c6ae4768e4 Add DragonFly device names for probing. Bump revision.
From walt on DragonFly's submit list.
2006-06-27 12:27:06 +00:00
wiz
4538a88fb9 Revert previous, now that gcc4 in NetBSD has been fixed.
We can readd it if the same problem appears somewhere else.
2006-06-26 19:52:33 +00:00
wiz
aae0514abb When building with gcc4, add "-fno-tree-ter" to CFLAGS.
Workaround for toolchain/33816, suggested by dogcow@.
2006-06-25 12:20:58 +00:00
ben
f959c01790 Add optional support for HP ScanJet 3900 series scanners. 2006-06-08 14:14:11 +00:00
jlam
ea5f9f80b6 Strip ${PKGLOCALEDIR} from PLISTs of packages that already obey
PKGLOCALEDIR and which install their locale files directly under
${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries.  From now
on, pkgsrc/mk/plist/plist-locale.awk will automatically handle
transforming the PLIST to refer to the correct locale directory.
2006-04-17 07:07:11 +00:00
jlam
1cf9796f3c BUILD_USE_MSGFMT and USE_MSGFMT_PLURALS are obsolete. Replace with
USE_TOOLS+=msgfmt.
2006-04-13 18:23:29 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
joerg
942439b52a Fix mustek_ubs2 support for DragonFly by fixing pthread detection,
left-over from last commit.
2006-01-12 13:08:21 +00:00
joerg
42b47ae0f4 mustek_usb2 needs pthread, so fix detection on DragonFly. 2006-01-12 01:21:27 +00:00
wiz
4cb74d094c Before testing OPSYS, bsd.prefs.mk has to be included. 2005-12-31 12:04:15 +00:00
wiz
582129cc92 Update to 1.0.17:
New with 1.0.17, released 2005-12-18:

* New backends: hp4200 (HP ScanJet 4200), lexmark (Lexmark X1100 series),
  mustek_usb2 (Mustek BearPaw 2448 TA Pro)
* Updated backends: artec_eplus48u, avision, canon, epson, fujitsu, genesys,
  gt68xx, microtek2, mustek_pp, plustek, plustek_pp, sm3600, snapscan, umax_pp.
* Hotplug/udev updates.
* scanimage fixes.
* sane-find-scanner finds more chipsets.
* Build system fixes/updates. make now calls makedepend.
* Several fixes in SANE internal functions (sanei).
* Portability fixes (especially for MacOSX, FreeBSD, OpenBSD, OS/2).
* Updated translations.
* Documentation updates.
* Bugfixes.
2005-12-31 00:03:24 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
joerg
c4701d1314 Like Linux, DragonFly doesn't support pint as backend. 2005-12-02 23:40:36 +00:00
wiz
40e41272f7 Update to 1.0.16. Use pkgsrc's config file framework.
New with 1.0.16, released 2005-08-07:

* New backends: genesys, sm3840
* Updated backends: avision, canon, coolscan, epson, gphoto2, gt68xx, mustek,
  mustek_pp, niash, plustek, plustek_pp, qcam, sm3600, snapscan, teco2,
  umax_pp, v4l.
* More functionality/fixes for sanei_usb and sanei_pp.
* Added sanei_access to allow locking of SANE devices.
* Hotplug updates.
* scanimage updates.
* Portability fixes (especially for OS/2, 64bit platforms, BeOS+ZETA).
* Added Polish translation. Updated other translations. Fixed format strings.
* Documentation updates.
* Bugfixes.
2005-09-27 09:29:56 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
reed
c6ac55022f Change the PLIST_SUBST called "NOT_SUNOS" into two different
definitions for libsane-pint and libsane-sm3600. Because
under Linux, libsane-pint is also not installed (like on Solaris)
but libsane-sm3600 is installed (like NetBSD).

Also add PLIST.Linux to add libsane-qcam, libsane-v4l la files and
config files. (The man pages were already installed.)

Sorry, I did not test on Solaris, but did test on NetBSD 1.6.2_STABLE
and Linux.

TODO: make this package honor PKG_SYSCONFDIR instead of
hard-coded ${PREFIX}/etc and use CONF_FILES too.
2005-05-15 03:13:10 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
6a7b384635 Add RMD160 digests 2005-02-24 08:45:01 +00:00