Package Details: jed 0.99.19-5

Git Clone URL: https://aur.archlinux.org/jed.git (read-only)
Package Base: jed
Description: A freely available text editor for Unix and others OS
Upstream URL: http://www.jedsoft.org/jed
Licenses: GPL
Submitter: ilpianista
Maintainer: dseg
Last Packager: dseg
Votes: 36
Popularity: 0.203176
First Submitted: 2010-11-13 15:06
Last Updated: 2016-06-05 19:28

Dependencies (5)

Required by (0)

Sources (2)

Latest Comments

dseg commented on 2016-06-05 21:48

@nirnakinho
Thank you very much for the patch.
Updated.

nirnakinho commented on 2016-06-02 15:00

@dseg: I've found the cause for the problem: In the sed scripts, you are using the underscore character '_' as delimiter for the s command. However, as my $pkgdir does contain such an underscore, the command has one underscore too many, causing the sed command to fail. I'd recommend using a pipe symbol as seen in the following patch:

Regards,

diff --git a/PKGBUILD b/PKGBUILD
index 9febc94..4a25d98 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -26,8 +26,8 @@ build() {
./configure --prefix=/usr JED_ROOT=/usr/share/jed

sed \
- -e "s_\(^all.*\)_\1 xjed rgrep_" \
- -e "s_..DEST.*doc_${pkgdir}/usr/share/doc/${pkgname}_g" \
+ -e "s|\(^all.*\)|\1 xjed rgrep|" \
+ -e "s|..DEST.*doc|${pkgdir}/usr/share/doc/${pkgname}|g" \
-i src/Makefile

make

dseg commented on 2016-06-01 15:26

@nimakinho
>In the aur git repo, .SRCINFO has pkgrel = 3 but PKGBUILD has pkgrel=4. Those should match, normally.
Exactly. Very sorry, I haven't noticed that.

By the way, no sed error for me.

nirnakinho commented on 2016-05-31 17:30

@dseg:
In the aur git repo, .SRCINFO has pkgrel = 3 but PKGBUILD has pkgrel=4. Those should match, normally.

Are you sure you have actually committed the latest version of the PKGBUILD? the sed command in the build() function fails with a syntax error. Unless you are using a different version of sed, that should fail with yaourt as well, I've tried plain makepkg and pacaur and both fail.

Regards

dseg commented on 2016-05-29 10:38

@nirnakinho
.SRCINFO is correct, was updated to the latest.
https://aur.archlinux.org/cgit/aur.git/tree/.SRCINFO?h=jed

>I am still seeing the same build error as Voice reported a year ago.
Hmm, I've just checked, and got no errors on build.

$ yaourt -S --noconfirm jed
# buildlog
https://gist.github.com/a2015484ac8da86595ec6fe4842335eb

nirnakinho commented on 2016-05-28 12:36

You forgot to update the .SRCINFO file, and I am still seeing the same build error as Voice reported a year ago.

Regards,

dseg commented on 2015-07-24 10:03

If you are interested in using the more recent development version of JED,
please try using the following package.

https://aur4.archlinux.org/packages/jed-git/

Voice commented on 2015-03-10 05:40

Failure report
http://pastie.org/private/1uovqjv0pqdvoczfamptq

Seems like maybe this pkg would be better as -git from snapshots since he otherwise so seldom updates it.
http://www.jedsoft.org/snapshots/

Anonymous comment on 2013-06-05 06:45

here's build fix because without freetype headers won't be found during build:

--- PKGBUILD~ 2013-06-05 15:43:36.396663854 +0900
+++ PKGBUILD 2013-06-05 15:43:41.036678171 +0900
@@ -23,6 +23,7 @@
sed \
-e "s_\(^all.*\)_\1 xjed rgrep_" \
-e "s_..DEST.*doc_${pkgdir}/usr/share/doc/${pkgname}_g" \
+ -e "s:CFLAGS = :CFLAGS = -I/usr/include/freetype2 :" \
-i src/Makefile

make

Lastebil commented on 2010-12-06 14:07

I'm not actually sure what the output difference is, but per the jed build instructions, a make clean should be done before the make. This is mentioned during the build process as well.

Obviously we get an executable that runs afterward, and I haven't had any segfaults or any problems at all, but it's probably a good idea to follow that advice since the jed make scripts are somewhat different.

ilpianista commented on 2010-11-13 15:07

* moved from [extra]