Re: gtkbidi rpms

2000-04-20 Thread Ely Levy

Suprising as it might sound not all systems in the world are linux
and not all linux has the same programs on them.
so yea you need a autoconf/configure:)

Ely Levy
System group
Hebrew University 
Jerusalem Israel



On Wed, 19 Apr 2000, Ilya Konstantinov wrote:

|  On Wed, Apr 19, 2000 at 10:49:38AM +0300, Tzafrir Cohen wrote:
|   a Preliminary RPM package of gtkbiditext is now availble.
|  
|   Hopefully I will later have some time to figure out how to use
|   autoconf. At the moment this package is quite badly done.However it
|   works.
|  
|   TODO:
|   * what does it work with? Please report to me or to the list.
|  With anything which uses a multiline input widget (gtktext)
|  gnp, gedit, gnomeicu ...
|  
|   * make libfribidi a shared library. I just couldn't figure how to set this
|   in the configure script.
|  I don't think it's possible from configure.
|  Just do:
|  gcc allobjectfiles.o ... -o libfribidi.so --shared
|  (that should work, methinks)
|  
|   * Write an autoconf script for gtkbiditext
|  Ouch, what for? I manually removed it and rewrote as
|  a simple Makefile. Is there a real need for a configure
|  script?
|  
|   Do you think that there is any point in trying to use the reflected
|   gtk widgets (hebgtk)?
|  Try patching gtk 1.2.7, and then only include the gtkentry.o
|  by compiling it as a shared object:
|  gcc gtkentry.o -o libgtkentrybidi.so --shared
|  
|  Should that work? Think so.
|  
|  --
|  Best regards,
|  Ilya Konstantinov
|  [http://toast.demon.co.il]
|  
|  =
|  To unsubscribe, send mail to [EMAIL PROTECTED] with
|  the word "unsubscribe" in the message body, e.g., run the command
|  echo unsubscribe | mail [EMAIL PROTECTED]
|  
|  


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




gtkbidi rpms

2000-04-19 Thread Tzafrir Cohen

a Preliminary RPM package of gtkbiditext is now availble.

Hopefully I will later have some time to figure out how to use
autoconf. At the moment this package is quite badly done. However it
works.

TODO:
* what does it work with? Please report to me or to the list.
* make libfribidi a shared library. I just couldn't figure how to set this
in the configure script. 
* Write an autoconf script for gtkbiditext

I need help with all three.

Have a look at:
ftp://linux.org.il/pub/local-dev/tzafrir/00INDEX.html#gtkbidi

Do you think that there is any point in trying to use the reflected
gtk widgets (hebgtk)?
If so then next I'll try updating the existing package from
http://hebgtk.hectic.net/ to use the patch against gtk 1.2.5 .

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: gtkbidi rpms

2000-04-19 Thread Ilya Konstantinov

On Wed, Apr 19, 2000 at 10:49:38AM +0300, Tzafrir Cohen wrote:
 a Preliminary RPM package of gtkbiditext is now availble.
 
 Hopefully I will later have some time to figure out how to use
 autoconf. At the moment this package is quite badly done. However it
 works.
 
 TODO:
 * what does it work with? Please report to me or to the list.
With anything which uses a multiline input widget (gtktext)
gnp, gedit, gnomeicu ...

 * make libfribidi a shared library. I just couldn't figure how to set this
 in the configure script. 
I don't think it's possible from configure.
Just do:
gcc allobjectfiles.o ... -o libfribidi.so --shared
(that should work, methinks)

 * Write an autoconf script for gtkbiditext
Ouch, what for? I manually removed it and rewrote as
a simple Makefile. Is there a real need for a configure
script?

 Do you think that there is any point in trying to use the reflected
 gtk widgets (hebgtk)?
Try patching gtk 1.2.7, and then only include the gtkentry.o
by compiling it as a shared object:
gcc gtkentry.o -o libgtkentrybidi.so --shared

Should that work? Think so.

-- 
Best regards,
Ilya Konstantinov
[http://toast.demon.co.il]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: gtkbidi rpms

2000-04-19 Thread Yosi

  * make libfribidi a shared library. I just couldn't figure how to  set 
this in the configure script.

I don't think it's possible from configure.

I actually think it can be done. Just have a look at one of the many
GNOME source rpms, or even the glibc source rpm.

Just do:
gcc allobjectfiles.o ... -o libfribidi.so --shared
(that should work, methinks)

I think you should also use -fPIC, and then your makefile has to worry
about the "so" name, after compilation.

  * Write an autoconf script for gtkbiditext
Ouch, what for? I manually removed it and rewrote as
a simple Makefile. Is there a real need for a configure
script?

Because, it is much easier to hack around in a source rpm that has a
makefile generated when it is built, rather than unpack the sources
that come with the source rpm, hack the makefile, and then re-pack
it. Why hack with the makefile in the first place, you ask? Well there
are several reasons. Personally, I prefer compiling the rpms with special 
optimizaitons for the specific platform I am running the binary on, to get 
speed improvments.

hth,
Yosi

__
Get Your Private, Free Email at http://www.hotmail.com


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]