As always, apologize for the late ansuer :) Mohammed Elzubeir wrote:
On Mon, Apr 08, 2002 at 11:14:15AM +0200, Haydar Net wrote:Maybe you see it not a good reson, but gcc3.1 is the folowing majer release and all programs will be megrating to gcc3.1 and we did not want to have tow releases voor all programs "gcc2.96 and gcc3.1" , however we have also put gcc2.96 for Redhat compatibelity as a compat-gcc package.
The first beta of HaydarLinux is going to be released soon, but i think it will be later than 15 April and i hope 25-30 April this will give as more time to translate some command line programs such as initscripts and fileutils, and it is RPM based distribution 90% compatible with Redhat and build with gcc3.1 which maked the QT libraries not compatible with RedHat :(
Why is it built with gcc3.1, just out of curiosity.
No please, i don't need any war between us, i will serender and send you the files ;)
I don't know whare to find the man pages, maybe i did not search enoght :), but i will also help me because i don't know everything about akka.
No, I don't blame you, it is hidden ;) When I created the debian package, the packaging tools would yell and cry if you didn't have a manpage for the package.. so I had to create one.. and it ended up in akka/debian .. I probably should move it to doc/ but soon as we get the RPM done for this one and get that out, I will try to re-arrange some things around. It's in SGML format (akka.sgml).
the /etc/akka.conf scripts is a perl scripts it runs automaticaly from the initscripts when you start the linux, ypu can also run it using perl /etc/akka.conf, I have made to give the user a chanse to chose his own akka configuration.
That's great. Will we see those patches some time in the future, or are we going to have to send our forces down to where you live and get them ;)
yes, I don't like automatic confugration coz. it needs more libraries to be installed like perl....
I told Chahine that if he gives me a python interface, I will make him a nice console-based configurator instead of having to actually modify the perl script (although it's rather trivial, even I can do ;)), but I much prefer have a simple conf file.
later
Regards, Haydar
Attachment:
akka
Description: application/java-applet
%define name akka
%define version 1.0
%define release 1hl
Name: %{name}
Summary: An Arabic console for the Linux terminal
Version: %{version}
Release: %{release}
Copyright: GPL
Group: Misc
Source: http://www.arabeyes.org/files/%{name}-%{version}.tgz
Source1: akka.sh
Source2: akka.conf
BuildRoot: /var/tmp/akka-%{PACKAGE_VERSION}-root
BuildRequires: fribidi
%description
The idea behind Akka is that while applications actually write on the user's
console, one console owned by the Akka server will be the one transparently
used for output, taking its input from the hidden user console.
Thus, the first thing the Akka server does is to find a free console to
allocate it to itself. It then detects the active console and automatically
switch to Akka's for the output in case the current one is to be monitored.
%prep
rm -rf $RPM_BUILD_ROOT
%setup
%build
./chonfigure
make
%install
#ls $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/sbin
install -m 755 src/akka $RPM_BUILD_ROOT/sbin
install -d $RPM_BUILD_ROOT/usr/lib/perl5/site_perl/
install -m 755 src/Akka.pm $RPM_BUILD_ROOT/usr/lib/perl5/site_perl
install -m 755 src/akka_perl_mod.pm $RPM_BUILD_ROOT/usr/lib/perl5/site_perl
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/rc1.d
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/rc2.d
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/rc3.d
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/rc4.d
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/rc5.d
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/rc6.d
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/akka
install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/etc/akka.conf
(
cd $RPM_BUILD_ROOT/etc/rc.d/rc1.d
ln -sf ../init.d/akka K06akka
cd $RPM_BUILD_ROOT/etc/rc.d/rc2.d
ln -sf ../init.d/akka S01akka
cd $RPM_BUILD_ROOT/etc/rc.d/rc3.d
ln -sf ../init.d/akka S01akka
cd $RPM_BUILD_ROOT/etc/rc.d/rc4.d
ln -sf ../init.d/akka S01akka
cd $RPM_BUILD_ROOT/etc/rc.d/rc5.d
ln -sf ../init.d/akka S01akka
cd $RPM_BUILD_ROOT/etc/rc.d/rc6.d
ln -sf ../init.d/akka K06akka
)
install -d $RPM_BUILD_ROOT/lib/kbd/consolefonts
cp -r fonts/* $RPM_BUILD_ROOT/lib/kbd/consolefonts
install -d $RPM_BUILD_ROOT/lib/kbd/consoletrans
cp -r glyph/* $RPM_BUILD_ROOT/lib/kbd/consoletrans
install -d $RPM_BUILD_ROOT/lib/kbd/keymaps/akka
cp -r keymaps/* $RPM_BUILD_ROOT/lib/kbd/keymaps/akka
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,0755)
/lib/kbd/consolefonts
/lib/kbd/consoletrans
/lib/kbd/keymaps/akka
/sbin/akka
/usr/lib/perl5/site_perl/Akka.pm
/usr/lib/perl5/site_perl/akka_perl_mod.pm
/etc/rc.d/init.d
/etc/akka.conf
/etc/rc.d/rc1.d
/etc/rc.d/rc2.d
/etc/rc.d/rc3.d
/etc/rc.d/rc4.d
/etc/rc.d/rc5.d
/etc/rc.d/rc6.d
%changelog
* Thu Mar 07 2002 Haydar Alkaduhimi <haydar at haydar dot net>
- First build for HaydarLinux.
use Akka;
# default keyboard is English
Akka::set_default_keymap("/lib/kbd/keymaps/akka/pc/us-latin1.map");
###############################
# Initialization of console 1 #
###############################
Akka::add_console(1);
Akka::set_keymap(1, "/lib/kbd/keymaps/akka/pc/us-latin1.map",
"/lib/kbd/keymaps/akka/pc/arabic.map");
#`consolechars --tty=/dev/tty1 -m straight-to-font
-f/lib/kbd/consolefonts/sample.f16`;
`consolechars --tty=/dev/tty1 -m straight-to-font -f/lib/kbd/consolefonts/lat0-sun16.psf.gz';
Akka::set_bidi_approximation(1,1,$Akka::ISO06);
Akka::process_glyph(1, 1);
#Akka::load_glyph_file(1, "/lib/kbd/consoletrans/iso06glyph.map");
###############################
# Initialization of console 2 #
###############################
Akka::add_console(2);
Akka::set_keymap(2, "/lib/kbd/keymaps/akka/pc/us-latin1.map",
"/lib/kbd/keymaps/akka/pc/arabic.map");
`consolechars --tty=/dev/tty2 -m straight-to-font -f /lib/kbd/consolefonts/iso06b.fnt`;
Akka::set_bidi_approximation(2,1,$Akka::ISO06);
###############################
# Initialization of console 3 #
###############################
Akka::add_console(3);
Akka::set_keymap(3, "/lib/kbd/keymaps/akka/pc/us-latin1.map",
"/lib/kbd/keymaps/akka/pc/arabic.map");
`consolechars --tty=/dev/tty3 -m straight-to-font -f /lib/kbd/consolefonts/iso06b.fnt`;
Akka::set_bidi_approximation(3,1,$Akka::ISO06);
###############################
# Initialization of console 4 #
###############################
Akka::add_console(4);
Akka::set_keymap(4, "/lib/kbd/keymaps/akka/pc/us-latin1.map",
"/lib/kbd/keymaps/akka/pc/arabic.map");
`consolechars --tty=/dev/tty4 -m straight-to-font -f /lib/kbd/consolefonts/iso06b.fnt`;
Akka::set_bidi_approximation(4,1,$Akka::ISO06);
###############################
# Initialization of console 5 #
###############################
Akka::add_console(5);
Akka::set_keymap(5, "/lib/kbd/keymaps/akka/pc/us-latin1.map",
"/lib/kbd/keymaps/akka/pc/arabic.map");
`consolechars --tty=/dev/tty5 -m straight-to-font -f /lib/kbd/consolefonts/iso06b.fnt`;
Akka::set_bidi_approximation(5,1,$Akka::ISO06);