Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Install xed text editor on Buster? [Solved]

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
debbiethekiwi
Posts: 33
Joined: 2019-08-31 04:15
Has thanked: 1 time

Install xed text editor on Buster? [Solved]

#1 Post by debbiethekiwi »

Is it possible? if so how? I've searched and find instructions for Debian 8 or 9 which leave me with unsolveable dependencies; the version of xed now on github no longer uses autogen.sh but a meson build system which I've never use before...
Last edited by debbiethekiwi on 2020-01-14 21:02, edited 1 time in total.
Solar powered - saving carbon

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: Install xed text editor on Buster?

#2 Post by Chrisdb »

debbiethekiwi wrote:the version of xed now on github no longer uses autogen.sh but a meson build system which I've never use before...
The install procedure seems straightforward:

Code: Select all

 % meson . build				# run the `configure' script
 % ninja -v -C build		# build xed
 [ Become root if necessary ]
 % ninja install -v  -C  build	# install xed
Just make sure you have 'meson' installed:

Code: Select all

sudo apt-get update
sudo apt-get install meson
If you're not sure, you can try to build it in a chroot

btw, here's a quick guide:
https://mesonbuild.com/Quick-guide.html

debbiethekiwi
Posts: 33
Joined: 2019-08-31 04:15
Has thanked: 1 time

Re: Install xed text editor on Buster?

#3 Post by debbiethekiwi »

Just make sure you have 'meson' installed:
Sorry, I'm old-fashioned, gcc and make were good enough ... :wink:
plus, not intending to compile debian 'packages' I hadn't installed everthing on the build-essential list, so meson gave me dependency agony. Eventually built and installed but

Code: Select all

(xed:14161): GLib-GIO-ERROR **: 10:20:05.521: Settings schema 'org.x.editor.preferences.editor' is not installed
Trace/breakpoint trap
running

Code: Select all

meson --prefix=/usr . build
wasn't sufficient, it also needed

Code: Select all

/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/

as described at https://github.com/linuxmint/xed/issues/265
all going and happy camping now, thanks Chrisdb
Solar powered - saving carbon

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Install xed text editor on Buster? [Solved]

#4 Post by stevepusser »

plus, not intending to compile debian 'packages' I hadn't installed everthing on the build-essential list
Did you think the metapackage was named build-essential for no reason?
MX Linux packager and developer

capbonhislf
Posts: 1
Joined: 2020-05-15 08:21

Re: Install xed text editor on Buster? [Solved]

#5 Post by capbonhislf »

stevepusser wrote:
plus, not intending to compile debian 'packages' I hadn't installed everthing on the build-essential list
Did you think the metapackage was named build-essential for no reason?

Thank you very much. I am also looking for the same. Can some one please respond.

User avatar
Bloom
df -h | grep > 90TiB
df -h | grep > 90TiB
Posts: 505
Joined: 2017-11-11 12:23
Been thanked: 26 times

Re: Install xed text editor on Buster? [Solved]

#6 Post by Bloom »

Compiling xed yourself has the disadvantage that it cannot be updated automatically and you would have to find and compile each new version manually.
There is a version of xed in de repository of Linux Mint Debian Edition. You could add that repository to Debian with a -10 preference and then install it and have it updated.

Adding the repository to Debian:

Code: Select all

echo "deb http://packages.linuxmint.com/ debbie main upstream import backport romeo"|sudo tee /etc/apt/sources.list.d/mint.list
Add the proper key to your system:

Code: Select all

sudo apt-key adv --recv-keys --keyserver pgpkeys.eu 3EE67F3D0FF405B2
Make sure the preferences indicate that nothing is to be installed automatically. Edit /etc/apt/preferences.d/10-prefrules and make it contain this:

Code: Select all

Package: *
Pin: release a=stable
Pin-Priority: 900
Package: *
Pin: release o=Debian
Pin-Priority: -10
Then update the packages list:

Code: Select all

sudo apt update
And install xed:

Code: Select all

sudo apt install xed/debbie
Done!

cuckooflew
Posts: 677
Joined: 2018-05-10 19:34
Location: Some where out west
Been thanked: 1 time

Re: Install xed text editor on Buster? [Solved]

#7 Post by cuckooflew »

There is a version of xed in de repository of Linux Mint Debian Edition. You could add that repository to Debian with a -10 preference and then install it and have it updated.
Not my idea of good advice, READ ME FIRST
Ubuntu, Mint or other derivative repositories are not compatible with Debian!
And also
Don't blindly follow bad advice

Unfortunately there's a lot of bad advice on the Internet. Tutorials found on blogs, forums and other sites often include instructions that will break your system in subtle ways.
Better yet read it all.
Especially if you are new to Debian, and if you still don't believe me, read the topics in this thread:
http://forums.debian.net/viewtopic.php? ... 30#p539707

The OP here took the more correct path , compiling it for the specific version, etc . is the better method. But also that is for more advanced users, of course it is all way good when newbies try to learn as well.
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!

User avatar
Bloom
df -h | grep > 90TiB
df -h | grep > 90TiB
Posts: 505
Joined: 2017-11-11 12:23
Been thanked: 26 times

Re: Install xed text editor on Buster? [Solved]

#8 Post by Bloom »

This is a repo for Linux Mint DEBIAN EDITION. The xed editor in there is perfectly compatible. I have tried it myself before advising it.

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1410
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 46 times
Been thanked: 70 times

Re: Install xed text editor on Buster? [Solved]

#9 Post by None1975 »

Very strange. Why do you need that program? After all, standard Debian application repositories have great applications of this type, for example fte

https://packages.debian.org/buster/fte
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Install xed text editor on Buster? [Solved]

#10 Post by Head_on_a_Stick »

Bloom wrote:Edit /etc/apt/preferences.d/10-prefrules and make it contain this:

Code: Select all

Package: *
Pin: release a=stable
Pin-Priority: 900
Package: *
Pin: release o=Debian
Pin-Priority: -10
That doesn't do what you think it does. Have you read apt_preferences(5)?

In my buster system that source and preferences file results in an instant FrankenDebian.

This is better:

Code: Select all

Package: *
Pin release o=linuxmint
Pin-Priority: 100
^ That gives the Mint repository the same priority as buster-backports.
deadbang

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Install xed text editor on Buster? [Solved]

#11 Post by stevepusser »

Safest of all is to rebuild the package yourself on Debian in the same manner as for simple backports or from a PPA, as in the Debian wiki. That way, you don't really have to be familiar with the ins and outs of meson, etc.--just the recipe for porting over packages from source. You only have to open the hood and get your hands dirty if something goes wrong with the build.

Isn't xed a forked version of ye olde time GNOME 2 gedit, anyway? What sets it apart from the zillion other text editors you can get?
MX Linux packager and developer

Post Reply