summaryrefslogtreecommitdiff
path: root/gconf-zip.in
Commit message (Collapse)AuthorAgeFilesLines
* Argh, revert bogus change.Tor Lillqvist2008-03-031-1/+0
| | | | svn path=/trunk/; revision=2567
* Include gconfd executable.Tor Lillqvist2008-03-031-0/+1
| | | | | | | | | 2008-03-03 Tor Lillqvist <tml@novell.com> * gconf-zip.in: Include gconfd executable. svn path=/trunk/; revision=2566
* Look for catalogs in share/locale first, as that is where they will beTor Lillqvist2008-01-221-1/+5
| | | | | | | | | | 2008-01-22 Tor Lillqvist <tml@novell.com> * gconf-zip.in: Look for catalogs in share/locale first, as that is where they will be with a properly built GNU gettext. svn path=/trunk/; revision=2528
* Include backend DLLs only in the runtime zipfile.Tor Lillqvist2006-01-271-2/+0
| | | | | | | | 2006-01-27 Tor Lillqvist <tml@novell.com> * gconf-zip.in: Include backend DLLs only in the runtime zipfile. * gconf/gconfd.c (main): Don't call closelog() unless we HAVE_SYSLOG_H.
* Include the backend DLLs in the runtime zipfile.Tor Lillqvist2006-01-051-0/+2
| | | | | | 2006-01-05 Tor Lillqvist <tml@novell.com> * gconf-zip.in: Include the backend DLLs in the runtime zipfile.
* Use correct capitalization of GConf in the zipfile names.Tor Lillqvist2005-08-281-2/+2
| | | | | | | 2005-08-29 Tor Lillqvist <tml@novell.com> * gconf-zip.in: Use correct capitalization of GConf in the zipfile names.
* Port to Windows:Tor Lillqvist2005-03-181-0/+35
2005-03-18 Tor Lillqvist <tml@novell.com> Port to Windows: * gconf-zip.in: New file, script to build zipfile-based distribution for Windows. * Makefile.am * configure.in: Distribute and expand it. * configure.in: Check for Win32, Define automake conditional OS_WIN32. Force shared library (DLL) build on Windows. Check for some more headers and functions. * */*.c: Conditionalize on HAVE_SYSLOG_H, HAVE_SYS_WAIT_H, HAVE_GETUID, HAVE_FSYNC, HAVE_FCHMOD, HAVE_SIGACTION, F_GETFD, FD_CLOEXEC, F_SETLK, SIGBUS, SIGPIPE, SIGHUP, SIGUSR1, and ELOOP. * backends/Makefile.am: Explicitly link with INTLLIBS. * backends/markup-tree.c (save_tree): Can't rename or remove open files on Win32. * backends/xml-backend.c: Don't use G_MODULE_EXPORT on Win32. If we use it, only the functions thus marked will be exported, and xml-test uses also other ones. Instead rely on the auto-export feature. * gconf/Makefile.am: Pass -DPREFIX=$(prefix). Include dllmain.c on Win32. * gconf/dllmain.c: New file. Used for installation location independence. (DllMain) DLL entry point. Automatically called when the DLL is attached to a process. Deduce the run-time installation location and construct run-time pathnames. (gconf_win32_replace_prefix): New funcion. Replaces a configure-time prefix in a pathname with the corresponding end-user run-time installation prefix. * gconf/gconf-internals.c (gconf_win32_get_home_dir): New function, returns the home directory with forward slashes. Guaranteed to return non-NULL, unlike GLib's g_get_home_dir(). (get_variable, gconf_get_daemon_dir): Use gconf_win32_get_home_dir(). (gconf_load_source_path): Use gconf_win32_replace_prefix(). (create_new_locked_file, open_empty_locked_file, gconf_release_lock): Use _sopen() to open file with locking on Win32. (close_fd_func): Not used on Win32, where there is no FD_CLOEXEC, and a gspawn child setup function is run in the parent process anyway. * gconf/gconf-internals.h: mkdir() takes only one parameter on Win32. S_IRWX{U,G,O} aren't in mingw's sys/stat.h. Use run-time installation prefix instead of configure-time. Redefine the GCONF_*DIR macros to refer to the variables from the dllmain.c file. Use NUL: on Windows instead of /dev/null. * gconf/gconf-sanity-check.c * gconf/gconftool.c: Use POPT_AUTOHELP. * gconf/gconf.c: Use g_get_current_time() instead of gettimeofday(). * gconf/gconfd.c (gconf_server_load, get_log_names): Use gconf_win32_get_home_dir(). (signal_handler): If we don't HAVE_SIGACTION, use signal(), and re-arm the signal handler. (test_safe_tmp_dir): Can't open() a directory on Win32. (get_log_names): Use g_build_filename() instead of gconf_concat_dir_and_key() on all platforms.