Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Request] Ebuild for SciTE 1.49
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
TheEternalVortex
Apprentice
Apprentice


Joined: 15 Oct 2002
Posts: 207
Location: San Jose, CA

PostPosted: Wed Nov 13, 2002 8:17 am    Post subject: [Request] Ebuild for SciTE 1.49 Reply with quote

The latest ebuild for SciTE is only for version 1.45, while the newest version is 1.49. I tried simply changing the version number for the ebuild, but that didn't work:
g++ `gtk-config --cflags` -DNDEBUG -Os -W -Wall -DGTK -DSCI_LEXER -DSYSCONF_PATH=\"/usr/share/scite\" -I ../../scintilla/include -I ../src -c ../src/SciTEBase.cxx -o SciTEBase.o
SciTEGTK.cxx: In function `int main(int, char**)':
SciTEGTK.cxx:2840: cannot declare variable `scite' to be of type `SciTEGTK'
SciTEGTK.cxx:2840: because the following virtual functions are abstract:
../src/SciTEBase.h:526: virtual void SciTEBase::SaveACopy()
../src/SciTEBase.h:537: virtual void SciTEBase::SaveAsTEX()
make: *** [SciTEGTK.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: app-editors/scite-1.4.9 failed.
!!! Function src_compile, Line 9, Exitcode 2
!!! (no error message)

So does anyone have a working ebuild for SciTE 1.4.9 perhaps?
_________________
-- Andy
Back to top
View user's profile Send private message
pilla
Administrator
Administrator


Joined: 07 Aug 2002
Posts: 7646
Location: Pelotas, BR

PostPosted: Thu Nov 14, 2002 4:46 am    Post subject: Re: [Request] Ebuild for SciTE 1.49 Reply with quote

Maybe you could post a request in bugs.gentoo.org

TheEternalVortex wrote:
The latest ebuild for SciTE is only for version 1.45, while the newest version is 1.49. I tried simply changing the version number for the ebuild, but that didn't work:
g++ `gtk-config --cflags` -DNDEBUG -Os -W -Wall -DGTK -DSCI_LEXER -DSYSCONF_PATH=\"/usr/share/scite\" -I ../../scintilla/include -I ../src -c ../src/SciTEBase.cxx -o SciTEBase.o
SciTEGTK.cxx: In function `int main(int, char**)':
SciTEGTK.cxx:2840: cannot declare variable `scite' to be of type `SciTEGTK'
SciTEGTK.cxx:2840: because the following virtual functions are abstract:
../src/SciTEBase.h:526: virtual void SciTEBase::SaveACopy()
../src/SciTEBase.h:537: virtual void SciTEBase::SaveAsTEX()
make: *** [SciTEGTK.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: app-editors/scite-1.4.9 failed.
!!! Function src_compile, Line 9, Exitcode 2
!!! (no error message)

So does anyone have a working ebuild for SciTE 1.4.9 perhaps?
Back to top
View user's profile Send private message
mynameisjonas
n00b
n00b


Joined: 04 Aug 2002
Posts: 25
Location: Wales, United Kingdom

PostPosted: Thu Nov 14, 2002 7:28 pm    Post subject: Reply with quote

i had exactly the same problem. i've only just discovered scite and found it to do everything i need (the highlighting and code folding are top notch).
However, 1.4.9 has tons of bug fixes and a few new features so i just edited the ebuild a bit (removed the gnome stuff as i use fluxbox) and emerged it. It works for me, feel free to try it out but i'm not promising anything.

Code:

# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Taras Glek <taras.glek@home.com>
# $Header: /home/cvsroot/gentoo-x86/app-editors/scite/scite-1.4.9.ebuild,v 1

S=${WORKDIR}/$PN/gtk
MY_PV=149
DESCRIPTION="A very powerful editor for programmers"
SRC_URI="http://www.scintilla.org/${PN}${MY_PV}.tgz"
HOMEPAGE="http://www.scintilla.org"

DEPEND="virtual/glibc
        =x11-libs/gtk+-1.2*"
RDEPEND=""

SLOT="0"
LICENSE="PYTHON"
KEYWORDS="x86 ppc sparc sparc64"

src_unpack() {
        unpack ${A}
     
}

src_compile() {
        make -C ../../scintilla/gtk || die
        sed -e 's#usr/local#usr#g' -e 's#$(datadir)#${D}$(datadir)#g' \
                makefile > Makefile.good || die
        mv Makefile.good makefile
     
        emake || die
}

src_install () {
        dodir /usr
        dodir /usr/bin
        dodir /usr/share
        dodir /usr/share/pixmaps
        dodir /usr/share/gnome/apps/Applications
        make prefix=${D}/usr install || die
        mv ${D}/usr/bin/SciTE ${D}/usr/bin/scite
        doman ../doc/scite.1
        dodoc ../License.txt ../readme

}

hope this helps you
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum