Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update readme for PR #130 #141

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 48 additions & 8 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,55 @@ toc::[]

== Installation

WARNING: If you had installed OpenBangla Keyboard 1.2.0 or earlier version, please uninstall it first.
IMPORTANT: If you had installed OpenBangla Keyboard 1.5.1 or earlier version, please uninstall it first.

Make sure you have a **working internet connection**.
First set up our repositories for your distro, then you can install normally with your package manager.

Open your terminal and run this command on your shell:
=== Ubuntu & derivatives
Run these commands to set up our repository:
```bash
bash -c "$(wget -nv -O- https://bit.ly/OBK-sh)"
source /etc/os-release
sudo sh -c "curl https://dl.bintray.com/openbangla/i/pub.key | apt-key add -"
sudo sh -c "curl https://dl.bintray.com/openbangla/i/ubuntu.conf | sed s/@NAME@/$UBUNTU_CODENAME/ > /etc/apt/sources.list.d/openbangla.list"
sudo apt-get update
```

Then use iBus UI or run `ibus-setup` to add and activate **OpenBangla Keyboard** as input method.
=== Debian
Run these commands to set up our repository:
```bash
source /etc/os-release
sudo sh -c "curl https://dl.bintray.com/openbangla/i/pub.key | apt-key add -"
sudo sh -c "curl https://dl.bintray.com/openbangla/i/debian.conf | sed s/@NAME@/$VERSION_CODENAME/ > /etc/apt/sources.list.d/openbangla.list"
sudo apt-get update
```

=== Fedora
Run these commands to set up our repository:
```bash
sudp rpm --import https://dl.bintray.com/openbangla/i/pub.key
sudo sh -c "curl https://dl.bintray.com/openbangla/i/fedora.conf > /etc/yum.repos.d/openbangla.repo"
```

=== Archlinux
Run these commands to set up our repository:
```bash
sudo sh -c "curl https://dl.bintray.com/openbangla/i/pub.key | pacman-key -a -"
sudo pacman-key --lsign-key "openbanglateam@gmail.com"
sudo sh -c "curl https://dl.bintray.com/openbangla/i/archlinux.conf >> /etc/pacman.conf"
sudo pacman -Syy
```

=== Finally
Done! Now you can use your package manager normally to get OpenBangla-Keyboard!
```bash
sudo apt-get install openbangla-keyboard
sudo dnf install openbangla-keyboard
sudo pacman -S openbangla-keyboard
```

You can also install by downloading necessary packages from our https://github.com/OpenBangla/OpenBangla-Keyboard/releases[Release] page

After installation, use iBus UI or run `ibus-setup` to add and activate **OpenBangla Keyboard** as input method.

After you have installed OpenBangla Keyboard, you may need to https://github.com/OpenBangla/OpenBangla-Keyboard/wiki/Configuring-Environment[configure your desktop environment].

Expand All @@ -99,20 +138,21 @@ OpenBangla Keyboard currently has the following build dependencies:
* CMake
* Qt 5.5 or later
* iBus development library
* Zstandard compression library (zstd)

On a Ubuntu/Debian system you can easily install them like this:
```bash
sudo apt-get install build-essential rustc cargo cmake libibus-1.0-dev qt5-default
sudo apt-get install build-essential rustc cargo cmake libibus-1.0-dev qt5-default libzstd-dev
```

On a Fedora system you can easily install them like this:
```bash
sudo dnf install @buildsys-build rust cargo cmake qt5-qtdeclarative-devel ibus-devel
sudo dnf install @buildsys-build rust cargo cmake qt5-qtdeclarative-devel ibus-devel libzstd-devel
```

On a Arch Linux / Arch Based system you can easily install them like this:
```bash
sudo pacman -S base-devel rust cmake qt5-base libibus
sudo pacman -S base-devel rust cmake qt5-base libibus zstd
```

After you have installed required libraries and binaries, clone this repository and change to the cloned folder:
Expand Down
60 changes: 50 additions & 10 deletions README.bn.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,57 @@ toc::[]
** চন্দ্রবিন্দুর অবস্থান সংশোধন।


== ইনস্টল
== ইনস্টল পদ্ধতি

WARNING: ওপেনবাংলা কিবোর্ড ১.২.০ অথবা পূর্ববর্তী সংস্করণ ইনস্টল করা থাকলে সেটি প্রথমে আনইনস্টল করে নিন।
IMPORTANT: ওপেনবাংলা কিবোর্ড ১.৫.১ অথবা পূর্ববর্তী সংস্করণ ইনস্টল করা থাকলে সেটি প্রথমে আনইনস্টল করে নিন।

ইনস্টলের সময় **কার্যকর ইন্টারনেট সংযোগ** প্রয়োজন
প্রথমে আপনার ডিস্ট্রোর জন্য আমাদের রিপজিটরি যোগ করুন, তারপর আপনার প্যাকেজ ম্যানেজার দিয়ে স্বাভাবিকভাবে ইনস্টল করতে পারবেন

ওপেনবাংলা কিবোর্ড ইন্সটল করার জন্য টার্মিনাল উইন্ডো খুলে এই কমান্ডটি রান করুন:
=== উবুন্টু এবং উবুন্টু-ভিত্তিক ডিস্ট্রো
নিচের কমান্ডগুলো দিয়ে আমাদের রিপজিটরি যোগ করে নিন:
```bash
bash -c "$(wget -nv -O- https://bit.ly/OBK-sh)"
source /etc/os-release
sudo sh -c "curl https://dl.bintray.com/openbangla/i/pub.key | apt-key add -"
sudo sh -c "curl https://dl.bintray.com/openbangla/i/ubuntu.conf | sed s/@NAME@/$UBUNTU_CODENAME/ > /etc/apt/sources.list.d/openbangla.list"
sudo apt-get update
```

এরপর আইবাসের উইন্ডো থেকে অথবা `ibus-setup` কমান্ডের মাধ্যমে **OpenBangla Keyboard** ইনপুট পদ্ধতি হিসেবে যোগ করে নিন।
=== ডেবিয়ান
নিচের কমান্ডগুলো দিয়ে আমাদের রিপজিটরি যোগ করে নিন:
```bash
source /etc/os-release
sudo sh -c "curl https://dl.bintray.com/openbangla/i/pub.key | apt-key add -"
sudo sh -c "curl https://dl.bintray.com/openbangla/i/debian.conf | sed s/@NAME@/$VERSION_CODENAME/ > /etc/apt/sources.list.d/openbangla.list"
sudo apt-get update
```

=== ফেদোরা
নিচের কমান্ডগুলো দিয়ে আমাদের রিপজিটরি যোগ করে নিন:
```bash
sudp rpm --import https://dl.bintray.com/openbangla/i/pub.key
sudo sh -c "curl https://dl.bintray.com/openbangla/i/fedora.conf > /etc/yum.repos.d/openbangla.repo"
```

=== আর্চলিনাক্স
নিচের কমান্ডগুলো দিয়ে আমাদের রিপজিটরি যোগ করে নিন:
```bash
sudo sh -c "curl https://dl.bintray.com/openbangla/i/pub.key | pacman-key -a -"
sudo pacman-key --lsign-key "openbanglateam@gmail.com"
sudo sh -c "curl https://dl.bintray.com/openbangla/i/archlinux.conf >> /etc/pacman.conf"
sudo pacman -Syy
```

=== শেষ ধাপ
ব্যাস! এখন আপনার সিস্টেমের প্যাকেজ ম্যানেজার দিয়ে স্বাভাবিকভাবেই ওপেনবাংলা কিবোর্ড ইনস্টল করতে পারবেন!
```
sudo apt-get install openbangla-keyboard
sudo dnf install openbangla-keyboard
sudo pacman -S openbangla-keyboard
```

এছাড়া আমাদের https://github.com/OpenBangla/OpenBangla-Keyboard/releases[রিলিজ] পাতা থেকে উপযুক্ত প্যাকেজ ডাউনলোড করেও ইনস্টল করতে পারেন।

ইন্সটলের পরে আইবাসের উইন্ডো থেকে অথবা `ibus-setup` কমান্ডের মাধ্যমে **OpenBangla Keyboard** ইনপুট পদ্ধতি হিসেবে যোগ করে নিন।

ওপেনবাংলা কিবোর্ড ইনস্টলের পর আপনার https://github.com/OpenBangla/OpenBangla-Keyboard/wiki/Configuring-Environment[ডেস্কটপ এনভায়রনমেন্ট কনফিগার] করার প্রয়োজন হতে পারে।

Expand All @@ -90,26 +129,27 @@ https://discord.gg/HXK7QnJ[ডিসকর্ড] এবং https://www.facebook

== কম্পাইল

ওপেনবাংলা কিবোর্ড কম্পাইলের তথা সোর্সকোড থেকে বিল্ড করার জন্য বর্তমানে নিম্নোলিখিত ডিপেন্ডেসিগুলো প্রয়োজন:
ওপেনবাংলা কিবোর্ড কম্পাইল তথা সোর্সকোড থেকে বিল্ড করার জন্য বর্তমানে নিম্নোলিখিত ডিপেন্ডেসিগুলো প্রয়োজন:

* GNU GCC, G++ compiler or Clang
* Rust 1.34.0 or later
* GNU Make or Ninja
* CMake
* Qt 5.5 or later
* iBus development library
* Zstandard compression library (zstd)

উবুন্টু/ডেবিয়ান ভিত্তিক সিস্টেমে ডিপেন্ডেসিগুলো ইনস্টলের কমান্ড:
```bash
sudo apt-get install build-essential rustc cargo cmake libibus-1.0-dev qt5-default
sudo apt-get install build-essential rustc cargo cmake libibus-1.0-dev qt5-default libzstd-dev
```
ফেদোরাতে ডিপেন্ডেসিগুলো ইনস্টলের কমান্ড:
```bash
sudo dnf install @buildsys-build rust cargo cmake qt5-qtdeclarative-devel ibus-devel
sudo dnf install @buildsys-build rust cargo cmake qt5-qtdeclarative-devel ibus-devel libzstd-devel
```
আর্চলিনাক্স ভিত্তিক সিস্টেমে ডিপেন্ডেসিগুলো ইনস্টলের কমান্ড:
```bash
sudo pacman -S base-devel rust cmake qt5-base libibus
sudo pacman -S base-devel rust cmake qt5-base libibus zstd
```

বিল্ড ডিপেন্ডেন্সিগুলো ইনস্টলের পর ওপেনবাংলা কিবোর্ডের সোর্স কোড রিপজিটরিটি ক্লোন করুন এবং ক্লোন করা ডিরেক্টরিতে প্রবেশ করুন:
Expand Down