Commit graph

110 commits

Author SHA1 Message Date
obache
e9c926944b Disable OS (i.e. Linux distro) specific behaviour.
PR#43767 by Aleksey Cheusov.
2010-08-17 10:59:13 +00:00
wiz
4089946672 Bump PKGREVISION for new patch-ax. 2010-01-26 06:16:30 +00:00
macallan
9a8eae61e2 make this work on non-x86
OKed long, long ago by jmcneill
2010-01-26 01:12:02 +00:00
heinz
d653ce6a74 Added LICENSE information. 2010-01-24 17:11:17 +00:00
heinz
c75ede1485 Added missing TEST_TARGET. 2010-01-16 14:46:36 +00:00
abs
4f946508b8 When mounting a filesystem on behalf of a user treat __NetBSD__ similarly
to __FreeBSD__ and chown the mountpoint to the user. With this change,
and the recent one to policykit automounting works on NetBSD
2009-12-27 16:17:33 +00:00
jmcneill
7fbf849696 treat driver == "ld" as a mass storage device, like "wd" and "sd" 2009-10-15 00:30:38 +00:00
joerg
b938911f20 Prepare configure for changes in the libtool m4 macros of libtool 2.2:
- explicitly request finding the C++ compiler before trying to run it
2009-09-14 15:18:36 +00:00
drochner
7a65e5eddd rename the "ismounted" property to "is_mounted" which seems to
be the official name
bump PKGREVISION
(this still needs a lot of work)
2009-07-26 18:42:04 +00:00
wiz
d70523df21 Remove USE_DIRS from pkgsrc.
Shared directories can now be created independently by the pacakges
needing them and will be removed automatically by pkg_delete when empty.

Packages needing empty directories can use the @pkgdir command in PLIST.

Discussed and ok'd in thread starting at
http://mail-index.netbsd.org/tech-pkg/2009/06/30/msg003546.html
2009-07-22 09:01:16 +00:00
joerg
f0bbd1517d Remove @dirrm entries from PLISTs 2009-06-14 18:13:25 +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
jmcneill
ea4f69e5ff to netbsd-desktop 2009-03-18 13:30:45 +00:00
tron
d5ad13b3e0 Actually substitute "PKG_SYSCONFBASE" in the package list. Bump package
revisions as this affects the binary package.
2009-03-02 11:36:33 +00:00
jmcneill
4473bec977 Plug a memory leak in envsys_timeout; the caller of prop_dictionary_all_keys
is responsible for freeing allocated memory. Bump PKGREVISION.
2009-03-01 18:22:31 +00:00
ahoka
437a9f72f8 The OWN_DIRS shouldnt be there.
Thanks goes again to Joerg.
2009-02-28 15:54:29 +00:00
ahoka
940e9bbaa0 Use MAKE_DIRS and OWN_DIRS instead of INSTALL as suggested by Joerg. 2009-02-28 14:54:23 +00:00
ahoka
84b1af0442 Create /media automatically, so hald mount actually works
without manual labour. Bump revision.
2009-02-28 14:00:23 +00:00
tron
281531f3ac Fix (de-)installation if "PKG_SYSCONFBASE" is set. Bump package revision
because of this package list change.

Reviewed by Jared McNeill.
2009-01-25 16:20:36 +00:00
sketch
4bd23fc406 Couple of hacks to get Sun Studio compile working. 2009-01-23 11:13:38 +00:00
jmcneill
c141e84fba Optical media handling needs block.storage_device too; add this to
improve KDE4 compatibility. Bump PKGREVISION.
2009-01-18 13:53:33 +00:00
obache
438b358b86 Restrict necessity of libvolume_id to using linux/freebsd/netbsd hald backends.
Fixes build failure on platforms using dummy backend, as PR 40291.
2009-01-03 01:28:34 +00:00
jmcneill
2fa05ee9f9 Re-apply PR# pkg/40230 workaround from r1.25 lost in r1.27. 2008-12-28 12:43:27 +00:00
jmcneill
c79616bfc7 Since people are bumping pkgrevison on this anyway..
hald-netbsd: use scsi identify to fill in storage.vendor/storage.model
  where available so hal-info fdi matching rules will apply
hald-netbsd: if libvolume_id thinks that a partition is vfat, believe it
  over the disklabel (stops USB devices lacking partition tables such as
  an iPod from incorrectly being treated as ffs).
2008-12-26 15:30:06 +00:00
ahoka
238f479dfb Make the package fully honour PKG_SYSCONFBASE.
Bump revision.
2008-12-26 11:36:31 +00:00
ahoka
a6c9cb93fe Add "@comment $NetBSD$". 2008-12-26 02:36:02 +00:00
wiz
8f90e091fa Fix typo. 2008-12-24 13:55:24 +00:00
jmcneill
8ad4f14709 Add a note explaining that /dev/drvctl is required for proper support
of the NetBSD 5.0+ HAL backend.
2008-12-24 13:41:07 +00:00
jmcneill
9fa6965758 Fix PLIST on Linux, from David Sainty 2008-12-22 21:30:08 +00:00
jmcneill
e2a816fbbb PR# pkg/40147: sysutils/hal fails to build on Linux 2008-12-22 11:06:15 +00:00
ahoka
6aca687bd1 Rework platform logic to fall back properly to dummy backend. 2008-12-21 14:17:20 +00:00
jmcneill
7a50c5cb2f PR# pkg/40147: sysutils/hal fails to build on Linux 2008-12-21 13:58:28 +00:00
jmcneill
075da553c1 PR# pkg/40230: "libvolume_id" doesn't build under Mac OS X
Fix HAL build on OS X. Tested on 10.5.6 powerpc.
2008-12-20 21:11:05 +00:00
reinoud
3e42e4ca6e Enhance NetBSD hal support to at least be able to write files to optical
media. No support for mounting yet.
2008-12-20 16:23:26 +00:00
jmcneill
ffe66d7311 PR# pkg/40230: "libvolume_id" doesn't build under Mac OS X
HAL uses the dummy backend on OSX, so no need to pull in libvolume_id.
2008-12-19 23:13:24 +00:00
hasso
b7a5fe7549 Unbreak the build in DragonFly again. 2008-12-16 10:09:32 +00:00
taca
4ad8fa9f9e * Since PLIST.${OPSYS} is automatically included in PLIST_SRC,
there is no need to explicitly set.
* Contrastly, if PLIST_SRC includes only PLIST, you need to
  set PLIST explicitly.

Fix build problem on NetBSD 4.1_STABLE (maybe NetBSD < 5).
2008-12-12 06:22:31 +00:00
reinoud
78f548c60d Fix typo 2008-12-11 18:25:17 +00:00
reinoud
c08bab93b6 Add rudementary cdrom HAL info. Probing and volume management needs to be
implemented still.
2008-12-11 15:05:01 +00:00
ahoka
83b1b3f583 Honour PKG_SYSCONFBASE when installing dbus policy. 2008-12-08 20:26:13 +00:00
jmcneill
7dd9528d3a hald-netbsd: clear charge rate when charge state is normal, report
measurement type when envstat provides Ah readings. Bump PKGREVISION.
2008-12-04 03:35:59 +00:00
hasso
d66a17eeca DESTDIR ready. 2008-12-03 07:38:10 +00:00
jmcneill
3a279862cc hald-netbsd: add basic support for automounting non-optical media. Still
some bugs to work out, but it's a start.

Bump PKGREVISION.
2008-12-01 02:02:33 +00:00
jmcneill
18c125b049 hald-netbsd: add v4l2 support, bump PKGREVISION 2008-11-27 22:19:10 +00:00
jmcneill
b180d9c98b According to spec oss.type should be 'pcm', not 'dsp'. Fill in
oss.device_id while we're here.
2008-11-27 18:00:44 +00:00
jmcneill
d58c4b0d05 hald-netbsd: add audio support, bump PKGREVISION 2008-11-27 16:07:14 +00:00
jmcneill
344adf9670 hald-netbsd: mark the system type as 'laptop' if acpibat0 is found, and
don't continually send notifications while charging and discharging.
Bump PKGREVISION.
2008-11-27 14:17:10 +00:00
jmcneill
696310ab4a hald-netbsd: clear is_charging/is_discharging before walking through the
sensor properties, and make sure we don't read an invalid sensor in
the process. Bump PKGREVISION.
2008-11-27 12:24:02 +00:00
jmcneill
eae81391a0 Add reboot, shutdown, suspend support. Bump PKGREVISION. 2008-11-27 03:32:19 +00:00
jmcneill
5ceabf11ff Add basic battery and ac_adapter support using envsys on NetBSD.
Bump PKGREVISION.
2008-11-27 01:45:00 +00:00
jmcneill
16175c2893 pkg/40039: sysutils/hal compilation errors (NetBSD 4.0)
The NetBSD hal backend requires features new to NetBSD 5.0, so fallback
to the dummy backend for previous releases.
2008-11-26 19:45:32 +00:00
jmcneill
f91f877d3f Revert previous; automake doesn't like the symlink. 2008-11-25 23:56:30 +00:00
jmcneill
36d0fd4164 Add a HAL_DEVELOPER knob where if enabled, creates a symlink to the NetBSD
hal backend sources instead of copying from FILESDIR (HAL_DEVELOPER=yes).
Defaults to no.
2008-11-25 23:40:59 +00:00
jmcneill
e6d7d53f6f Initial import of NetBSD HAL backend. It doesn't do much useful yet, but
keeping things here makes development easier. Bump PKGREVISION.
2008-11-25 23:10:23 +00:00
hasso
714cdcae59 * Make it work on DragonFly with FreeBSD backend. It's largely untested,
but certainly already usable.
* Fix paths to [pci|usb].ids files.
* Bump PKGREVISION.
2008-11-24 21:13:19 +00:00
jmcneill
2f1af700fd Regen 2008-11-24 01:48:31 +00:00
jmcneill
6d4e58c6bb * Add NetBSD support to storage methods fdi
* Patch CK tracker for updated signatures in version 0.3.0
* Bump PKGREVISION
2008-11-24 01:23:12 +00:00
hasso
20cca2687e * Make it build in DragonFly
* Fix PLIST
* Bump PKGREVISION
2008-11-23 21:50:51 +00:00
jmcneill
aa6569332d VARBASE/run/hal -> VARBASE/run/hald 2008-11-22 16:16:26 +00:00
jmcneill
0ea811a175 Import hal version 0.5.11. Uses the 'dummy' backend on NetBSD for now,
more to come soon.

What is the point of HAL?

To merge information from various sources such that desktop applications can
locate and use hardware devices. The point is that the exact set of
information to merge varies by device and bus type. In order to do this, we
need to define a format for the information, hence the HAL specification.

We may read some stuff from the hardware itself, then add some info provided
by the kernel, then add some metadata from some systemwide files, then add
some data that has been obtained by the desktop and stored per-user, then
look at some blacklist, and finally we have a complete picture of everything
known about that particular device.

An extra value is that we can do this in an operating system independent way.
Stuff like this is important to the major desktop environments.
2008-11-22 15:20:51 +00:00