Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/utils In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv27882/main/finkinfo/utils
Added Files: Tag: pangocairo-branch hal.info hal.patch Log Message: add hal + haldaemon user --- NEW FILE: hal.info --- Package: hal Version: 0.5.8.1 Revision: 1 Description: Hardware Abstraction Layer DescDetail: << A hardware abstraction layer. << DescPort: << Hacked to hell! << Homepage: http://www.freedesktop.org/wiki/Software/hal License: OSI-Approved Maintainer: The Gnome Core Team <[EMAIL PROTECTED]> Depends: << %N-shlibs (= %v-%r), daemonic, passwd (>= 20070109-11), pci-ids, python24 << BuildDepends: << dbus-dev (>= 1.0-1), expat1, gettext-tools, glib2-dev (>= 2.12.0-1), gtk-doc, libgettext3-dev, libiconv-dev, passwd (>= 20070109-11), pci-ids, pkgconfig (>= 0.21-1), python24, x11-dev << SetCPPFLAGS: -D__FreeBSD__=5 Source: http://people.freedesktop.org/~david/dist/%n-%v.tar.gz Source-MD5: 568d7ce9831c18a5e6e502abd6781257 Patch: %n.patch ConfigureParams: --disable-policy-kit --with-hwdata=%p/share/pci-ids --with-backend=dummy --libexecdir=%p/sbin CompileScript: << PYTHON=%p/bin/python2.4 ./configure %c make << InstallScript: << PYTHON=%p/bin/python2.4 make -j1 install DESTDIR="%d" mv %i/share/doc/%N-%v %i/share/doc/%N << SplitOff: << Package: %N-shlibs Description: Shared libraries for HAL Depends: dbus-shlibs (>= 1.0-1) Files: << lib/libhal-storage.*.dylib lib/libhal.*.dylib share/locale << Shlibs: << %p/lib/libhal-storage.1.dylib 2.0.0 %n (>= 0.5-1) %p/lib/libhal.1.dylib 2.0.0 %n (>= 0.5-1) << << SplitOff2: << Package: %N-dev BuildDependsOnly: true Description: Development headers and libraries for HAL Depends: %N (= %v-%r) Files: include lib/*.dylib lib/*.a lib/*.la lib/pkgconfig share/gtk-doc << DocFiles: AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README DaemonicFile: << <service> <description>HAL Daemon</description> <message>HAL Daemon</message> <daemon name="%N"> <executable background="no">%p/sbin/hald</executable> </daemon> </service> << PostInstScript: << if [ -x "%p/bin/daemonic" ]; then %p/bin/daemonic install %N >/dev/null 2>&1 || : %p/bin/daemonic enable %N >/dev/null 2>&1 || : fi << PreRmScript: << if [ -x "%p/bin/daemonic" ]; then %p/bin/daemonic disable %N >/dev/null 2>&1 || : %p/bin/daemonic remove %N >/dev/null 2>&1 || : fi << --- NEW FILE: hal.patch --- diff -uNr hal-0.5.8.1/configure hal-0.5.8.1-patched/configure --- hal-0.5.8.1/configure 2006-09-19 16:24:41.000000000 -0400 +++ hal-0.5.8.1-patched/configure 2007-01-09 16:01:08.000000000 -0500 @@ -22950,6 +22950,8 @@ case "$host" in *-*-solaris*) ;; +*-*-darwin*) + ;; *) pkg_failed=no diff -uNr hal-0.5.8.1/hald/dummy/osspec.c hal-0.5.8.1-patched/hald/dummy/osspec.c --- hal-0.5.8.1/hald/dummy/osspec.c 2006-09-19 16:23:25.000000000 -0400 +++ hal-0.5.8.1-patched/hald/dummy/osspec.c 2007-01-09 16:46:28.000000000 -0500 @@ -74,6 +74,23 @@ hal_util_callout_device_add (root, computer_callouts_add_done, NULL, NULL); } + +gboolean +osspec_device_reprobe (HalDevice *d) +{ + return FALSE; +} + +gboolean +osspec_device_rescan (HalDevice *d) +{ + return FALSE; +} + +void osspec_refresh_mount_state_for_block_device (HalDevice *d) +{ +} + DBusHandlerResult osspec_filter_function (DBusConnection *connection, DBusMessage *message, void *user_data) { diff -uNr hal-0.5.8.1/partutil/partutil.c hal-0.5.8.1-patched/partutil/partutil.c --- hal-0.5.8.1/partutil/partutil.c 2006-09-19 16:23:25.000000000 -0400 +++ hal-0.5.8.1-patched/partutil/partutil.c 2007-01-09 16:07:54.000000000 -0500 @@ -31,7 +31,9 @@ #include <sys/ioctl.h> #include <ctype.h> +#ifndef __APPLE__ #include <linux/hdreg.h> +#endif #define BLKGETSIZE64 _IOR(0x12,114,size_t) diff -uNr hal-0.5.8.1/tools/hal-storage-closetray.c hal-0.5.8.1-patched/tools/hal-storage-closetray.c --- hal-0.5.8.1/tools/hal-storage-closetray.c 2006-09-19 16:23:25.000000000 -0400 +++ hal-0.5.8.1-patched/tools/hal-storage-closetray.c 2007-01-09 16:21:09.000000000 -0500 @@ -68,9 +68,6 @@ exit (1); } -#ifdef __FreeBSD__ -#error Need FreeBSD specific changes here -#endif int diff -uNr hal-0.5.8.1/tools/hal-storage-mount.c hal-0.5.8.1-patched/tools/hal-storage-mount.c --- hal-0.5.8.1/tools/hal-storage-mount.c 2006-09-19 16:23:25.000000000 -0400 +++ hal-0.5.8.1-patched/tools/hal-storage-mount.c 2007-01-09 16:21:09.000000000 -0500 @@ -794,7 +794,7 @@ printf ("Cannot chown '%s' to uid: %d, gid: %d\n", mount_dir, calling_uid, calling_gid); g_rmdir (mount_dir); - unknown_error (); + unknown_error ("Cannot chown dir"); } #endif } diff -uNr hal-0.5.8.1/tools/hal-storage-shared.c hal-0.5.8.1-patched/tools/hal-storage-shared.c --- hal-0.5.8.1/tools/hal-storage-shared.c 2006-09-19 16:23:25.000000000 -0400 +++ hal-0.5.8.1-patched/tools/hal-storage-shared.c 2007-01-09 16:21:09.000000000 -0500 @@ -97,7 +97,7 @@ return mtab->mounts[mtab->iter++].f_mntfromname; else return NULL; -#error TODO: set *mount_point to g_strdup()-ed value if mount_point!=NULL +#warning TODO: set *mount_point to g_strdup()-ed value if mount_point!=NULL #elif sun static struct mnttab mnt; ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits