Opened 13 years ago

Closed 10 years ago

#30782 closed update (fixed)

efte: update to 1.1

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: reiffert@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: mojca (Mojca Miklavec)
Port: efte

Description

Here is a patch that makes the following changes to the efte port:

  • update efte to 1.1
  • use bzip2 distfile because it is smaller
  • change no_x11 variant to x11 variant; retain compatibility code to ease upgrades
  • use the cmake portgroup
  • add ncurses dependency
  • change the X dependencies to library dependencies
  • use rmd160 and sha256 checksums for distfile
  • use system's new -W argument

The problem is it fails in the post-destroot block; the cefte program does not seem to exist anymore. I don't know what it did in efte 0.96 so I don't know whether this post-destroot block needs to be changed in some way or just deleted.

Attachments (2)

efte-1.1.diff (2.0 KB) - added by ryandesign (Ryan Carsten Schmidt) 13 years ago.
incomplete patch
efte-1.1.Portfile.diff (966 bytes) - added by mojca (Mojca Miklavec) 11 years ago.
A patch to upgrade efte to version 1.1

Download all attachments as: .zip

Change History (8)

Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: efte-1.1.diff added

incomplete patch

comment:1 Changed 11 years ago by mojca (Mojca Miklavec)

I looked at #39383 and forgot to check if there were any other tickets related to efte already open. I fixed the port (using basically the same fixes as you did except for upgrading the port) and wanted to open a new ticket when I found this one and realized that it cannot hurt to declare maintainer timeout two years after receiving no response from the maintainer.

I committed r115028 with all the changes but the upgrade to 1.1 exactly for the reason you mentioned: the new version doesn't build cefte which seems to be some configuration script and I have no idea how much influence it has if one skips the call.

comment:2 Changed 11 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added
Version: 2.0.1

comment:3 Changed 11 years ago by mojca (Mojca Miklavec)

I forgot to add: I added dependency on xorg-libice and xorg-libX11. The port seems to link against these two, but I didn't do the global cleanup of my libs to make sure that these are really needed. libice seems to be explicitly asked for, I'm not sure about libX11.

comment:4 Changed 11 years ago by mojca (Mojca Miklavec)

Please note that there is packaging/macports/Portfile in sources:

# $Id$
PortSystem 1.0

name            efte
version         1.1
categories      editors
platforms       darwin
maintainers     jeremy@cowgar.com
description     configurable programmers editor
long_description \
    eFTE is a lightweight, extendable, folding text editor \
    geared toward the programmer. eFTE is a fork of FTE with goals of \
    taking FTE to the next step, hence, Enhanced FTE.

homepage        http://efte.cowgar.com
master_sites    http://downloads.sourceforge.net/sourceforge/efte/
checksums       efte-${version}.tar.gz md5 20c5ca30ed1990f473581e6cafda6a4b

depends_build   bin:cmake:cmake

configure.args  -DCMAKE_BUIL_TYPE=Release \
                -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \
                -DUSE_GPM=OFF -DBUILD_CONSOLE=ON -DBUILD_X=OFF

configure {
    system "cd ${worksrcpath} && ${configure.env} cmake ${configure.args} ${worksrcpath}"
}

variant x11 {
    depends_build-append    lib:libX11:XFree86
    configure.args-delete   "-DBUILD_X=OFF"
    configure.args-append   "-DBUILD_X=ON"
}

They seem to have removed the last system line. My blind guess (apart from the fact that the project doesn't seem active any longer) is that they had a good reason to remove cefte from the available commands, most probably special configuration is not needed any longer.

Please also note that there is macosx/eFTE.xcodeproj in the sources, but I have no idea how it works if it works at all.

The changes on http://efte.cowgar.com/cgi-bin/wiki.pl?Changes also list native Cocoa GUI, but it would help to let an actual user of the software comment.

Changed 11 years ago by mojca (Mojca Miklavec)

Attachment: efte-1.1.Portfile.diff added

A patch to upgrade efte to version 1.1

comment:5 Changed 11 years ago by mojca (Mojca Miklavec)

I also uploaded a patch with remaining changes needed to upgrade to version 1.1.

comment:6 Changed 10 years ago by mojca (Mojca Miklavec)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.