After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 394887 - Removing gnome-open from libgnome
Removing gnome-open from libgnome
Status: RESOLVED DUPLICATE of bug 144704
Product: libgnome
Classification: Deprecated
Component: general
HEAD
Other All
: Normal enhancement
: ---
Assigned To: libgnome maintainer
libgnome maintainer
Depends on:
Blocks:
 
 
Reported: 2007-01-10 00:35 UTC by Fabricio Silva
Modified: 2007-01-10 14:12 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
gnome-open.c (1.75 KB, text/plain)
2007-01-10 00:36 UTC, Fabricio Silva
  Details
Patch for Makefile.am (554 bytes, patch)
2007-01-10 00:57 UTC, Fabricio Silva
none Details | Review

Description Fabricio Silva 2007-01-10 00:35:15 UTC
According to http://live.gnome.org/LibgnomeMustDie, I've adapted gnome-open to gnomevfs. Removed dependencies on :
#include <libgnome/gnome-url.h>
#include <libgnome/gnome-program.h>
#include <libgnome/gnome-init.h>
to a mere:
#include <libgnomevfs/gnome-vfs.h>
Waiting from some maintainer to put it in gnomevfs/programs, updating makefile.in (and removing gnome-open from libgnome?)
Comment 1 Fabricio Silva 2007-01-10 00:36:22 UTC
Created attachment 79909 [details]
gnome-open.c

File to place in gnomevfs/programs
Comment 2 Fabricio Silva 2007-01-10 00:57:16 UTC
Created attachment 79911 [details] [review]
Patch for Makefile.am
Comment 3 Fabricio Silva 2007-01-10 00:59:57 UTC
(In reply to comment #1)
> Created an attachment (id=79909) [edit]
> gnome-open.c
> 
> File to place in gnomevfs/programs
> 

Seems that there is a problem with this file:
fab@fabricio:[...]/gnome-vfs/programs$ ./gnomevfs-open http://www.google.fr
fab@fabricio:[...]/gnome-vfs/programs$ ./gnomevfs-open gnomevfs-open.c
open `file:///grenier/Projets/gnome-vfs/programs/gnomevfs-open.c': Unsupported operation

It handles http protocol, but not file protocol??
Comment 4 Kjartan Maraas 2007-01-10 14:12:26 UTC

*** This bug has been marked as a duplicate of 144704 ***