Commit graph

67 commits

Author SHA1 Message Date
tnn
5dd93d7e30 Improve STEP_MSG.
(pkgsrc may seem like magic sometimes, but let's be honest here.)
2015-02-04 23:44:34 +00:00
dholland
fe1b6bd681 Document ONLY_FOR_PLATFORM. 2015-01-04 05:09:51 +00:00
jperkin
4525a69859 Add missing half of the Darwin patch. 2013-12-16 15:31:05 +00:00
jperkin
2e0466ae59 Fix patch. 2013-12-11 12:34:02 +00:00
jperkin
4e4a1b3f76 Fix print types on Darwin, fixes build. 2013-12-10 13:51:55 +00:00
jperkin
96fed1de7c Use PKGVERSION_NOREV. Prodded by joerg. 2013-06-23 16:59:16 +00:00
jperkin
610a7d6478 Add SunOS support, using the libusb implementation from OpenSolaris.
I am able to at least probe some devices, and this gets us a large number
of extra packages.
2013-06-22 19:49:11 +00:00
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
wiz
439bc19217 Note conflict with libusb-compat. 2012-05-30 15:48:21 +00:00
wiz
9b2b9b38e3 Mention that this is version 0 of the library. Bump PKGREVISION. 2012-05-30 14:13:14 +00:00
hans
b225904328 Extend to find libusb in /usr/sfw on SunOS 5.10. 2011-10-04 14:19:47 +00:00
hans
4c8ca2f5e4 Fix broken variable expansion. 2011-04-21 14:46:29 +00:00
hans
9828de12c6 Recent versions of SunOS have a native libusb. Add a builtin.mk to allow
packages depending on devel/libusb to be built on SunOS.
2011-04-21 13:05:35 +00:00
adam
7f20933bef Fix building on Mac OS X 2010-12-04 08:12:33 +00:00
schwarz
e7821cc4c7 without this patch it failed to compile on MacOS 10.6 in 64 bit mode 2010-02-20 22:42:02 +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
heinz
40a8c96071 The package supports installation to DESTDIR. 2008-06-14 20:00:15 +00:00
drochner
3c2c0ffdd8 Make usb_control_msg() return the number of bytes actually transferred
rather than the requested transfer length (USBD_SHORT_XFER_OK is
set, so this may happen). This is the documented behaviour, and it is
appearently what the Linux version does. Bump PKGREVISION. From
Erik Berls per PR pkg/37053.
2007-10-11 18:25:19 +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
5eed2d6e5f Fix path names to USB devices on DragonFly. Bump revision.
Based on patch from Joe Talbott.
2006-05-26 10:06:13 +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
adam
44efee0a9e Changes 0.1.12:
Fix structure padding issues on some architectures
Fix compile warnings with newer versions of gcc
Fix memory leak when continuously rescanning for devices
Check for device nodes in /dev/usb under Linux
Fix compile problem with Darwin/Mac OS X port
Add support for Darwin/Mac OS X 10.4
Fix error when transactions are aborted
Requery endpoints when switching alternate settings
Support more BSD based distributions
Fix problem with short control messages in BSD port
Various other minor fixes
2006-03-11 08:34:12 +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
heinz
bb0333b34c Enabled tests through appropriate TEST_TARGET. 2005-10-25 15:52:33 +00:00
reed
b786344c23 Add DragonFly support. (Okayed by drochner@.)
This needs testing under DragonFly.
2005-08-22 17:15:23 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
adam
3db6a9d0dc Changes 0.1.10a:
* Minor build issues fixed
2005-02-25 14:19:33 +00:00
drochner
88fc228837 require gcc 3.3; should fix build on NetBSD-1.6
(PR pkg/29456 by diro@nixsys.bz)
2005-02-24 18:46:49 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
adam
97f3544536 Changes 0.1.10:
* Fix various compile warnings
* Require newer autotools
* Switch from QT to STL for C++ extensions
* Linux:
  * Speed up small bulk and interrupt transfers to previous speeds
  * Fix case where bulk and interrupt transfers could block forever
  * Fix tree heirarchy building code (undocumented)
2005-02-14 09:50:18 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
wiz
a7be60e252 Bump PKGREVISION for patch-ad (usb_bulk_read() bugfix by mycroft). 2004-06-23 08:45:59 +00:00
mycroft
39660dcfaf Make usb_bulk_read() terminate short transfers correctly. This mimics the
Linux code, and is critical for making PTP work.
2004-06-23 08:42:57 +00:00
grant
450eaed550 libusb is only for Darwin, FreeBSD, Linux, NetBSD and OpenBSD. 2004-06-06 02:22:15 +00:00
wiz
6afb688fec Unused. 2004-05-03 16:10:07 +00:00
adam
87d9d5e8fa Changes 1.0.8:
New Features:
* Synchronous Interrupt read support.
* Added new usb_get_descriptor_by_endpoint() function. Properly prototyped
  existing usb_get_descriptor() function.
* (Linux) Check for usbdevfs in /sys/bus/usb (2.6 kernel).
* (Linux) Added usb_get_driver_np() function to get driver bound to interface.
* (Linux) Added usb_detach_kernel_driver_np() function to detach kernel driver
  from interface.

Bug Fixes:
* Many return values are starting to become normalized (consistent across ports)
* Various bug fixes in Darwin port.
* Fix usb_string() to fetch language index correctly.
* More documentation updates and fixes.
2004-05-03 08:45:44 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
cube
251136c311 bl3ify 2004-02-21 22:54:04 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
skrll
0c157532de The long awaited update libtool to 1.5.2.
Some pkgsrc things
	- Fix PLISTs for packages that use -release
	- Include canonicalisation of a couple of paths for the benefit
	  of qt3-*
	- the normal version=sunos patching
	- fix all library_names_spec for the standard set of symlinks

The libtool things some of which had already made it into pkgsrc libtool.

New in 1.5.2: 2004-01-25; CVS version 1.5.0a, Libtool team:
* lt_dlrealloc is an official part of the libltdl API.
* --tag, --silent and --debug options are preserved and reused when libtool
  calls itself for relinking etc.
* `-pthread' and similar options are honoured when linking shared libraries.
* -no-suppress in compile mode shows compiler output for both PIC and non-PIC
  object compilation.
* New link mode option `-precious-files-regex' to prevent accidental removal
  of files you want to keep, such as test coverage data, from the temporary
  output directory.
* Directories specified in /etc/ld.so.conf are no longer hardcoded on Linux.
* Recognises the 'R' symbol type on Solaris so read-only symbols can be
  exported.
* Bug fixes.

New in 1.5: 2003-04-14; CVS version 1.4e, Libtool team:
* First stable release of multi-language architecture.
* libtool and libltdl support for Mac OS/X.
* libltdl will now use cygwins dlopen API instead of always forcing
  LoadLibrary.
* Support auto-import patch to binutils on cygwin for much improved dll
  support.
* Bug fixes.

New in 1.4.3: 2002-10-13; CVS version 1.4.2a, Robert Boehne:
* The libltdl subdirectory now bootstraps correctly with Automake 1.5.
* srcdir != builddir builds with Automake 1.5 work correctly.
* Support for mips-compaq-nonstopux.
* New command line argument, --preserve-dup-deps prevents removal of
  duplicate dependent libraries.

New in 1.4d: 2002-01-07; CVS version 1.4c, Libtool team:
* Help strings display correctly again.
* Better error messages when library linking fails.
* Better error messages from libltdl when loading fails.
* Better search path management in libltdl with `lt_dlinsertsearchdir' call.
* Support /lib/w32api in recent cygwin releases.
* Support cross compilation to mingw.
* Support for .rc files (Windows resource compiler).
* Improved handling of mingw gcc.
* Improved handling of $PATH with entries containing spaces.
* Improved support for linking with gcc on aix4* and aix5*.
* Improved support for GCC 3.0.
* Initial support for QNX RTOS, UnixWare 7 and OpenUNIX 8.
* Bug fixes to the OpenBSD port.
* Bug fixes.

New in 1.4.2: 2001-09-11; CVS version 1.4.1a, Gary V. Vaughan:
* libltdl now builds on solaris again
* diagnose and warn about not-quite-working combinations of gcc and
  ld on solaris.
* Improved OpenBSD support.
* Improved cygwin support.
* Bugfixes.

New in 1.4.1: 2001-09-03; CVS version 1.4.0a, Libtool team:
* Better error messages from libltdl when loading fails.
* Don't leave here-doc files behind.
* Improved support for OpenBSD.
* Libtool will build with autoconf-2.50 and higher.
* Plug memory management bugs in libltdl.
* Prefer shl_load to dlopen for better operation on HP-UX.

New in 1.4b: 2001-07-09; CVS version 1.4a, Libtool team:
* Now bootstraps with autoconf-2.50 and automake-1.4-p4.
* Always try to build at least a static lib, even if both static and
  shared libs were disabled.
* Full support for C++ compiler.
* Support for GNU gcj compiler.
* libltdl can now load all modules in a given path according to user
  supplied criteria with `lt_dlforeachfile' call.
* Improved support for AIX ia64, djgpp, HPUX, hurd, OpenBSD, sco3.2*.
* Internal mutex handling no longer has namespace clashes on NCR MP-RAS.
* New pdemo and tagdemo tests.
* Bug fixes.
2004-02-05 20:14:05 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
schmonz
39b20fc8a4 The USB API found in FreeBSD originated in NetBSD. Correct the
publicity statement in the configure script.
2002-11-18 07:05:06 +00:00
schmonz
6a714831d8 Update to 0.1.7. Changes from 0.1.6a:
Fix up error codes for darwin port.
Make sure short transfers are allowed on BSD port.
Fix bug when finding new busses during usb_find_busses().
Added two new functions: usb_get_string() and usb_get_string_simple().
Documentation updates.
Added LICENSE file.
Various other cleanups.
2002-11-18 06:25:51 +00:00
drochner
6f304b1505 forcibly disable building docs, otherwise it tries if jade is found
and fails
2002-10-22 16:00:33 +00:00
wiz
18a9131dfb Unused. 2002-10-08 20:09:14 +00:00
jlam
47f5a05b84 buildlink1 -> buildlink2 2002-08-26 17:54:34 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
wiz
9d531a1780 Make PKGNAME's version number part numeric. 2002-08-21 11:05:28 +00:00