Package Details: qemacs-cvs 20131223-1

Git Clone URL: https://aur.archlinux.org/qemacs-cvs.git (read-only)
Package Base: qemacs-cvs
Description: A very small but powerful UNIX editor.
Upstream URL: http://bellard.org/qemacs/
Licenses: LGPL2.1
Conflicts: qemacs
Provides: qemacs
Submitter: noonov
Maintainer: aksr
Last Packager: aksr
Votes: 13
Popularity: 0.000306
First Submitted: 2008-04-30 16:41
Last Updated: 2015-07-06 15:58

Dependencies (4)

Required by (0)

Sources (0)

Latest Comments

cmsigler commented on 2016-05-05 16:56

Hi,

Succeeded in getting this to build X11 version of qemacs. Upstream's Makefile seems to be causing problems, or am I missing something? Patches:

========
--- PKGBUILD.orig 2015-07-06 11:58:32.000000000 -0400
+++ PKGBUILD 2016-05-05 12:43:08.538555431 -0400
@@ -1,7 +1,7 @@
# Contributor: noonov <noonov@gmail.com>
# Maintainer: aksr <aksr at t-com dot me>
pkgname=qemacs-cvs
-pkgver=20131223
+pkgver=20160505
pkgrel=1
pkgdesc="A very small but powerful UNIX editor."
arch=('i686' 'x86_64')
@@ -11,14 +11,14 @@
makedepends=('cvs' 'texi2html')
provides=('qemacs')
conflicts=('qemacs')
-source=()
-md5sums=('SKIP')
+source=('Makefile.patch')
+md5sums=('45987b2d11c7de740d5b8ae7e88c3fd6')

_cvsroot=":pserver:anonymous@cvs.savannah.nongnu.org:/sources/qemacs"
_cvsmod="qemacs"
pkgver() { date +'%Y%m%d'; }

-build() {
+prepare() {
cd ${srcdir}

msg "Connecting to CVS server..."
@@ -35,9 +35,14 @@

cd ${srcdir}/${_cvsmod}-build

- sed -i 's|texi2html -monolithic -number|texi2html -monolithic|' Makefile
+# sed -i 's|texi2html -monolithic -number|texi2html -monolithic|' Makefile
+ patch -p2 < ${srcdir}/Makefile.patch
+}
+
+build() {
+ cd ${srcdir}/${_cvsmod}-build

- ./configure --prefix=/usr
+ ./configure --prefix=/usr --enable-xshm
make -j1
}

========

========
--- src/qemacs-build/Makefile.orig 2016-05-05 10:48:11.561111448 -0400
+++ src/qemacs-build/Makefile 2016-05-05 11:34:50.964431333 -0400
@@ -62,7 +62,7 @@
# do not modify after this

TARGETLIBS:=
-TARGETS+= qe$(EXE) tqe$(EXE) kmaps ligatures
+TARGETS+= qe$(EXE) kmaps ligatures

OBJS:= qe.o util.o cutils.o charset.o buffer.o search.o parser.o input.o display.o hex.o \
list.o
@@ -151,6 +151,10 @@
TARGETS+= ffplay$(EXE)
endif

+ifdef CONFIG_TINY
+ TARGETS += tqe$(EXE)
+endif
+
ifdef CONFIG_X11
TARGETS += xqe$(EXE)
XOBJS := x11.o
@@ -164,7 +168,7 @@
ifdef CONFIG_XSHM
XLIBS += -lXext
endif
- XLIBS += -lX11
+ XLIBS += -lX11 -ldl
XLDFLAGS := $(LDFLAGS)
ifdef CONFIG_DARWIN
XLDFLAGS += -L/opt/X11/lib/
@@ -458,8 +462,16 @@
$(INSTALL) -m 755 -d $(DESTDIR)$(prefix)/bin
$(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man1
$(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/qe
+ifdef CONFIG_X11
+ $(INSTALL) -m 755 -s xqe$(EXE) $(DESTDIR)$(prefix)/bin/qemacs$(EXE)
+else
+ ifdef CONFIG_TINY
+ $(INSTALL) -m 755 -s tqe$(EXE) $(DESTDIR)$(prefix)/bin/qemacs$(EXE)
+ else
$(INSTALL) -m 755 -s qe$(EXE) $(DESTDIR)$(prefix)/bin/qemacs$(EXE)
- ln -sf qemacs $(DESTDIR)$(prefix)/bin/qe$(EXE)
+ endif
+endif
+ ln -sf qemacs$(EXE) $(DESTDIR)$(prefix)/bin/qe$(EXE)
ifdef CONFIG_FFMPEG
ln -sf qemacs$(EXE) $(DESTDIR)$(prefix)/bin/ffplay$(EXE)
endif
========

HTH.

Clemmitt

cmsigler commented on 2013-12-23 23:09

Hi,

Build failed for me, problems with man and share dirs being put under ${pkgdir}/usr/local during build. Here's a PKGBUILD patch that I believe does The Right Thing:
================
--- qemacs-cvs/PKGBUILD.orig 2013-12-22 20:39:51.000000000 -0500
+++ qemacs-cvs/PKGBUILD 2013-12-23 17:56:51.606478816 -0500
@@ -46,7 +46,9 @@

make -j1 DESTDIR=${pkgdir} install

- mv ${pkgdir}/usr/man ${pkgdir}/usr/share/man
+ mv ${pkgdir}/usr/local/man ${pkgdir}/usr/local/share/man
+ mv ${pkgdir}/usr/local/share ${pkgdir}/usr/share
+ rmdir ${pkgdir}/usr/local
ln -s qe.1.gz ${pkgdir}/usr/share/man/man1/qemacs.1.gz
install -D -m644 config.eg ${pkgdir}/usr/share/qe/config.eg
}
================
HTH.

Clemmitt

xyproto commented on 2011-05-31 20:51

Please depend on cvs.

xyproto commented on 2011-05-18 09:02

This package built here when changing "make" to "make || make".

Anonymous comment on 2011-01-18 13:02

please, add 'cvs' to makedepends