head	1.3;
access;
symbols
	old_RELEASE_4_2_0:1.1
	old_RELEASE_4_1_1:1.1;
locks; strict;
comment	@# @;


1.3
date	2001.02.01.20.16.40;	author sobomax;	state dead;
branches;
next	1.2;

1.2
date	2001.01.12.19.59.39;	author ade;	state Exp;
branches;
next	1.1;

1.1
date	2000.09.14.17.57.57;	author ade;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Update to 0.8. Unfortunately it doesn't work apart from setup wizard, so
use it cautiously and don't forget to let me know if you managed to fix it.
@
text
@--- components/rpmview/nautilus-rpm-view.c.orig	Tue Oct  3 01:33:39 2000
+++ components/rpmview/nautilus-rpm-view.c	Fri Jan 12 10:04:04 2001
@@@@ -57,2 +57,8 @@@@
 
+#ifdef __FreeBSD__
+#define	FD_t	int
+#define	fdOpen	open
+#define	fdClose	close
+#endif
+
 #ifdef EAZEL_SERVICES
@@@@ -483,4 +489,5 @@@@
 	
-	
+#ifndef __FreeBSD__	
  	rpmReadConfigFiles (NULL, NULL);   
+#endif
     	rpm_result = rpmdbOpen ("", &rpm_db, O_RDONLY, 0644);
@@@@ -571,4 +578,10 @@@@
 	g_free (path_name);
-	
-	if (file_descriptor != NULL) {    
+
+	if (file_descriptor !=
+#ifdef __FreeBSD_
+	if (file_descriptor != -1)
+#else
+	if (file_descriptor != NULL)
+#endif
+	{
 		/* read out the appropriate fields, and set them up in the view */
@


1.2
log
@Long-awaited update to 0.5 -- goes "bang" fairly quickly, spewing corefiles
all over the place.  If some enterprising hacker wants to figure out why,
patches are more than welcome, both to me and the nautilus developers.
@
text
@@


1.1
log
@Add nautilus, the file manager and graphical shell being
developed for GNOME 2.0

Please note:  as it stands, this port compiles and installs
cleanly, but immediately coredumps if you try to run it.
I've only committed what I have so far so that any enterprising
souls can try and figure out what on earth is going wrong.

Bug report 3075 has been filed with bugzilla.eazel.com
@
text
@d1 3
a3 5
--- components/rpmview/nautilus-rpm-view.c.orig	Mon Aug  7 18:31:00 2000
+++ components/rpmview/nautilus-rpm-view.c	Tue Aug 22 18:21:25 2000
@@@@ -52,6 +52,10 @@@@
 #include <libgnorba/gnorba.h>
 #include <limits.h>
d5 5
a9 3
+#define FD_t		int
+#define	fdOpen		open
+#define	fdClose		close
d12 1
a12 5
 #include <libeazelinstall.h>
 #include "nautilus-rpm-view-install.h"
@@@@ -399,7 +403,6 @@@@
 	gint result = 0;
 	gchar *version_ptr, *release_ptr;
d14 4
a17 1
- 	rpmReadConfigFiles (NULL, NULL);   
d19 12
a30 9
 	if (rpm_result != 0) {
 		g_message ("couldn't open package database: %d", rpm_result);
@@@@ -467,7 +470,7 @@@@
 	
 	file_descriptor = fdOpen (path_name, O_RDONLY, 0644);
 	 
-	if (file_descriptor != NULL) {
+	if (file_descriptor != -1) {
                 
a31 1
 		result = rpmReadPackageInfo (file_descriptor, &signature, &header_info);
@

