the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: yudit
Version: 2.7.6
Revision: 3
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Maintainer: Johan van Oostrum
HomePage: http://www.yudit.org
License: GPL
Depends: x11
BuildDepends: x11-dev, gettext-tools
GCC: 4.0
Description: Free (Y)unicode text editor for all unices
Source-MD5: f6bd9b937268dd0234b9c18ff5b167b4
PatchFile: %n.patch
PatchFile-MD5: fa97f832cc4749fe02fd96d97d318d2f
UseMaxBuildJobs: false
ConfigureParams: --mandir='${prefix}'/share/man
# Yudit uses $datadir for its data AND docs, and the path is hardcoded
# into the binary, so we symlink back into $datadir
InstallScript: <<
make install prefix=%i
mkdir -p %i/share/doc
mv %i/share/%n/doc %i/share/doc/%n
ln -s ../doc/%n %i/share/%n/doc
<<
DescPort: <<
dmacks fixed a bunch of c++ errors that were not fatal under gcc3
<<
diff -Nurd '-x*~' yudit-2.7.6.orig/stoolkit/SBMap.h yudit-2.7.6/stoolkit/SBMap.h
--- yudit-2.7.6.orig/stoolkit/SBMap.h 2003-01-06 20:57:06.000000000 -0500
+++ yudit-2.7.6/stoolkit/SBMap.h 2012-02-15 23:36:20.000000000 -0500
@@ -170,7 +170,7 @@
void buildStateMachine ();
int serialize (SString* fd, SFileFormat format, int last=0);
- int SBMapItem::getSerializeSize ();
+ int getSerializeSize ();
// Get rid of the state machine.
@@ -317,8 +317,8 @@
return (unsigned int) maps[mapIndex]->outWordSize;
}
- bool SBMap::makeUnicodeMap ();
- bool SBMap::makeStraightMap ();
+ bool makeUnicodeMap ();
+ bool makeStraightMap ();
// Return max index
int getSize (int index=-1);
diff -Nurd '-x*~' yudit-2.7.6.orig/stoolkit/SIO.h yudit-2.7.6/stoolkit/SIO.h
--- yudit-2.7.6.orig/stoolkit/SIO.h 2003-01-06 20:57:06.000000000 -0500
+++ yudit-2.7.6/stoolkit/SIO.h 2012-02-15 23:36:29.000000000 -0500
@@ -150,7 +150,7 @@
const SInputStream& getInputStream();
const SOutputStream& getOutputStream();
private:
- void SSocket::openSocket(SOutputStream* o);
+ void openSocket(SOutputStream* o);
unsigned int address[6]; // Four is used now.
SString host;
int port;
diff -Nurd '-x*~' yudit-2.7.6.orig/stoolkit/STextData.h yudit-2.7.6/stoolkit/STextData.h
--- yudit-2.7.6.orig/stoolkit/STextData.h 2003-01-06 20:57:06.000000000 -0500
+++ yudit-2.7.6/stoolkit/STextData.h 2012-02-15 23:36:37.000000000 -0500
@@ -135,8 +135,8 @@
void setLineBreaks (unsigned int line, const SV_UCS4& breaks);
- bool STextData::getInitialLR() const;
- void STextData::setInitialLR(bool lr);
+ bool getInitialLR() const;
+ void setInitialLR(bool lr);
private:
SS_Embedding embedding;
diff -Nurd '-x*~' yudit-2.7.6.orig/swidget/SDialog.h yudit-2.7.6/swidget/SDialog.h
--- yudit-2.7.6.orig/swidget/SDialog.h 2003-01-06 20:57:07.000000000 -0500
+++ yudit-2.7.6/swidget/SDialog.h 2012-02-15 23:37:21.000000000 -0500
@@ -42,7 +42,7 @@
protected:
virtual void keyPressed (SWindow * w, SKey key, const SString& s,
bool ctrl, bool shift, bool meta);
- virtual void SDialog::buttonPressed (void* source, const SAccelerator* acc);
+ virtual void buttonPressed (void* source, const SAccelerator* acc);
virtual bool close (SPanel* comp);
SType type;
SPanel* dialogPanel;
diff -Nurd '-x*~' yudit-2.7.6.orig/swindow/SFontTTF.h yudit-2.7.6/swindow/SFontTTF.h
--- yudit-2.7.6.orig/swindow/SFontTTF.h 2003-08-25 07:30:27.000000000 -0400
+++ yudit-2.7.6/swindow/SFontTTF.h 2012-02-15 23:38:41.000000000 -0500
@@ -124,7 +124,7 @@
const SS_GlyphIndex* chars, unsigned int liglen, SS_GlyphIndex* out,
unsigned int substtype = 4);
- bool SFontTTF::hasOTFLigatures();
+ bool hasOTFLigatures();
void getOTFMarkToBase (SS_GlyphIndex baseGlyph,
SS_GlyphIndex markGlyph, int* ix, int* iy);
diff -Nurd '-x*~' yudit-2.7.6.orig/swindow/SImage.h yudit-2.7.6/swindow/SImage.h
--- yudit-2.7.6.orig/swindow/SImage.h 2003-01-06 20:57:07.000000000 -0500
+++ yudit-2.7.6/swindow/SImage.h 2012-02-15 23:41:58.000000000 -0500
@@ -45,7 +45,7 @@
int origox, int origoy,
unsigned int width, unsigned int height);
virtual ~SImage();
- const SUniqueID& SImage::getID() const;
+ const SUniqueID& getID() const;
void compress();
/* After fill, return the shade of white */
unsigned int getShades () const;
@@ -56,7 +56,7 @@
void setOrigoX (int x);
void setOrigoY (int y);
SS_WORD32 getShade (int x, int y) const;
- virtual SObject* SImage::clone () const;
+ virtual SObject* clone () const;
/* USed by cache device to indicate the offset */
int px;