Groups | Search | Server Info | Login | Register


Groups > comp.os.linux.development.apps > #865

Re: Trying to install GEDIT

From scott@slp53.sl.home (Scott Lurndal)
Subject Re: Trying to install GEDIT
Newsgroups comp.os.linux.development.apps, comp.lang.c
References <pp8fsg$lff$1@dont-email.me>
Message-ID <eDPtD.114070$vJ1.28113@fx05.iad> (permalink)
Organization UsenetServer - www.usenetserver.com
Date 2018-10-05 20:15 +0000

Cross-posted to 2 groups.

Show all headers | View raw


jacobnavia <jacob@jacob.remcomp.fr> writes:
>Hi folks
>
>I tried to install the open source package "GEDIT".

Using what linux distribution?   All of them should have
the binary package available, and most of them have the
corresponding source code package available for download
which contains any configuration differences from the
upstream package required to build for your distribution.

E.g. Redhat has .srpms for each .rpm package.  Install
the source package and use rpmbuild to initiate a rebuild
of the package.   I'm sure the other distros have a method
to build from source any package they ship as a binary package.

>
>I wanted to study Gedit because I want to write an editor and I thought 
>that I could learn it by studying the "gedit" source code, that is 
>advertised as an editor written in C.

Try vim instead.  Although it also has many dependencies, many of which
can be configured out with options to the ./configure command you
use to build it.  It will use GTK2 if present to provide a GUI version.

https://www.vim.org/

gedit is heavily tied to the gnome desktop.

>
>Why a C program will need java/perl/xml/ etc is beyond me.

Modern editors generally do far more than just allow one to edit text.

The description of gedit itself (see its wiki page) should help
you to understand why a C program needs xml support (and perl to support
PCRE):

  "gedit is the default text editor of the GNOME desktop
   environment and part of the GNOME Core Applications. ...
   It includes tools for editing source code and structured
   text such as markup languages."


>
>Why the documentation is mandatory? Why do I need all those megabytes of 
>different languages to compile a C-GTK based editor?
>
>Mystery.
>
>If anyone can tell me how to proceed I would be thankful.
>

See above.  Use the source package distributed by your distribution.

If you're trying to build on windows, use the Ubuntu WSL, don't
bother with mingw or cygwin.

Back to comp.os.linux.development.apps | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Trying to install GEDIT jacobnavia <jacob@jacob.remcomp.fr> - 2018-10-05 22:00 +0200
  Re: Trying to install GEDIT Jens Stuckelberger <Jens_Stuckelberger@nowhere.net> - 2018-10-05 20:10 +0000
    Re: Trying to install GEDIT jacobnavia <jacob@jacob.remcomp.fr> - 2018-10-07 18:02 +0200
      Re: Trying to install GEDIT Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2018-10-07 12:31 -0400
      Re: Trying to install GEDIT Melzzzzz <Melzzzzz@zzzzz.com> - 2018-10-07 17:13 +0000
      Re: Trying to install GEDIT Jasen Betts <jasen@xnet.co.nz> - 2018-10-08 02:40 +0000
  Re: Trying to install GEDIT scott@slp53.sl.home (Scott Lurndal) - 2018-10-05 20:15 +0000
    Re: Trying to install GEDIT Jasen Betts <jasen@xnet.co.nz> - 2018-10-06 02:34 +0000
  Re: Trying to install GEDIT Spiros Bousbouras <spibou@gmail.com> - 2018-10-06 03:57 +0000
    Re: Trying to install GEDIT jacobnavia <jacob@jacob.remcomp.fr> - 2018-10-06 09:45 +0200
      Re: Trying to install GEDIT Ian Collins <ian-news@hotmail.com> - 2018-10-06 22:13 +1300
      Re: Trying to install GEDIT David Brown <david.brown@hesbynett.no> - 2018-10-06 16:14 +0200
      Re: Trying to install GEDIT scott@slp53.sl.home (Scott Lurndal) - 2018-10-06 14:53 +0000
        Re: Trying to install GEDIT jacobnavia <jacob@jacob.remcomp.fr> - 2018-10-06 19:42 +0200
  Re: Trying to install GEDIT C W Rose <cwr@seckford.org> - 2018-10-06 20:57 +0100
  Re: Trying to install GEDIT Melzzzzz <Melzzzzz@zzzzz.com> - 2018-10-07 13:48 +0000

csiph-web