You are not logged in.
Eureka Doom editor:
A port of the Yadex source code to improve on the work done with the Yadex DEU styled editor and make it more relevant for the modern Doomer. - An improved LINUX-NATIVE Doom editor - without some annoying limitations of Yadex.
Official Doomworld Eureka Topic:
http://www.doomworld.com/vb/doom-editin … r-testing/
Current release (0.74) direct download:
http://awwports.sourceforge.net/files/e … .74.tar.gz
-------
Requesting a PKGBUILD, as I have absolutely no clue how to do this.
I've tried quite a few times, but always failed. Would be happy if someone were at leat willing to give some advice on what to read beside the ArchWiki info on PKGBUILD making.
Offline
You need to have the pkg 'fltk' installed.
The first problem with the makefile is FLTK_DIR should be /usr i.e.
FLTK_DIR=/usr
Another problem arises is that /lib/libdl.so.2 is stripped on my system, so it cant compile.
This a sort of problem I have encountered many times. If stripping some library file strips off necessary symbols required for compilation, why is it done?
EDIT: Okay, it compiles with the -ldl flag.
I'll make a PKGBUILD and let ya know.
Last edited by debdj (2012-06-04 18:24:55)
Offline
Here's the PKGBUILD. Eureka'd be installed in your home/eureka. There're some problems associated with making a linux style installation for it.
See man eureka.
Unfortunately, AUR thinks its the same pkg as the eureka browser and doesn't let me upload.
pkgname=eureka
pkgver=0.72
pkgrel=1
pkgdesc="Eureka is a DOOM map editor for Linux"
url='http://www.doomworld.com/vb/doom-editing/58750-eureka-doom-editor-version-0-72-available-for-testing/'
license=("GPLv2")
arch=('i686' 'x86_64')
depends=('fltk')
makedepends=('txt2man')
source=("http://awwports.sourceforge.net/files/${pkgname}-${pkgver}.tar.gz")
md5sums=('dc3d4f4a62d54e15fa16592333c45af1')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
sed -i 's~FLTK_DIR=$(LIB_DIR)/fltk-1.3.0~FLTK_DIR=/usr~' Makefile
sed -i 's_LDFLAGS=-L/usr/X11R6/lib_LDFLAGS=-L/usr/share/X11R6/lib -ldl_' Makefile
make
}
package() {
#install -D -m644 ${startdir}/eureka.desktop ${pkgdir}/usr/share/applications/eureka.desktop
data=(
"mods"
"ports"
"games"
"lib_linux"
"obj_linux"
)
cd ${srcdir}/${pkgname}-${pkgver}
msg "This software can't installed in a linux-like dir convension. \
\n This is to be installed in \"/opt/eureka\""
mkdir -p ${pkgdir}/opt/eureka/
for ((i=0; i< ${#data[@]}; i++)); do
cp -R ${data[i]} ${pkgdir}/opt/eureka/
done
install -m755 eureka ${pkgdir}/opt/eureka/
install -m644 eureka.cfg ${pkgdir}/opt/eureka/
txt2man README.txt > eureka.1.gz
install -Dm644 eureka.1.gz ${pkgdir}/usr/share/man/man1/eureka.1.gz
msg "\n Run eureka from /opt/eureka. \nPlease see \"man eureka\" for usage information.\n"
}EDIT: changed $HOME to /opt
Last edited by debdj (2012-06-05 08:50:02)
Offline
@debdj: $startdir is deprecated and should not be used. Also, avoid calling $HOME in PKGBUILD, as the package will always be installed as root user.
Last edited by josephg (2012-06-05 00:28:00)
Offline
@josephg: then how to add extra files in the src pkg if not in $startdir?
Last edited by debdj (2012-06-05 06:16:21)
Offline
arch is i686 not i386
x11 dir is /usr/share/X11 not /usr/X11
Lenovo ThinkPad L420 modified
:: Intel i7 2560QM :: 8 GB RAM :: SSD 256 GB ::
:: DVD read+Writter :: 3 USB 3.0 Expresa Card ::
:: a Favulous 1 mins lasting Io-Li battery ::cry::
Offline
x11 dir is /usr/share/X11 not /usr/X11
didn't notice. that was just in the makefile.
arch is i686 not i386
Thanks. Found that out.
Offline
Wow!
I don't check the forum for a week and - BAM - whole lotta posts
!
I'm really grateful that you all decided to help out. :maaaaassssive bow to you all, most of all to you, DEBDJ:
Soooo... What exactly still needs doing? Or is the PKGBUILD in post No.3 already edited so it's usable and safe?
Offline
Yeah, that did work for me.
Note that its to be installed in /opt ; read the manual before using.
And you are welcome.
Offline