Skip to content

Commit

Permalink
Pre-release readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
vanyasem committed Sep 20, 2018
1 parent 28a54e7 commit 072a754
Show file tree
Hide file tree
Showing 7 changed files with 219 additions and 188 deletions.
14 changes: 5 additions & 9 deletions BROKEN.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,14 @@ system-settings-git:
usr/lib/ubuntu-system-settings/private/Ubuntu/SystemSettings/Bluetooth/libUbuntuBluetoothPanel.so

unity8:
missing deps: qtmir-git
missing /usr/share/backgrounds/warty-final-ubuntu.png (should be /usr/share/wallpapers?) (https://t.me/ubports/136672)
references build path: <Unknown File>:46:33: QML CroppedImageMinimumSourceSize: Cannot open: file:///mnt/antihype/Projects/AUR/tests/graphics/applicationIcons/dash.png
GLib-GIO-ERROR **: Settings schema 'com.canonical.Unity.Launcher' is not installed (comes from https://launchpad.net/ubuntu/xenial/+source/unity)
[2018-06-25:00:34:32.761] Failed to get all properties for "com.ubuntu.AccountsService.Input" : "No such interface 'com.ubuntu.AccountsService.Input'"
[2018-06-25:00:34:32.762] Failed to get all properties for "com.ubuntu.AccountsService.SecurityPrivacy" : "No such interface 'com.ubuntu.AccountsService.SecurityPrivacy'"
[2018-06-25:00:34:32.762] Failed to get all properties for "com.ubuntu.location.providers.here.AccountsService" : "No such interface 'com.ubuntu.location.providers.here.AccountsService'"
[2018-06-25:00:34:32.762] Failed to get all properties for "com.ubuntu.touch.AccountsService.SecurityPrivacy" : "No such interface 'com.ubuntu.touch.AccountsService.SecurityPrivacy'"
[2018-06-25:01:27:18.997] ubuntu-app-launch threw an exception getting app info for appId: "dialer-app" : Invalid app ID: dialer-app
[2018-06-25:01:27:18.997] ubuntu-app-launch threw an exception getting app info for appId: "messaging-app" : Invalid app ID: messaging-app
[2018-06-25:01:27:18.997] ubuntu-app-launch threw an exception getting app info for appId: "address-book-app" : Invalid app ID: address-book-app
GLib-GIO-ERROR **: Settings schema 'com.ubuntu.touch.system' is not installed (missing dep gsettings-ubuntu-touch-schemas-git)
GLib-GIO-ERROR **: Settings schema 'com.canonical.keyboard.maliit' is not installed (missing dep keyboard-component-git, https://github.com/ubports/keyboard-component/blob/master/data/schemas/com.canonical.keyboard.maliit.gschema.xml)
[2018-07-14:02:35:59.175] Cannot find any language packs, bailing out
--
Ivan Semkin 🇧🇾, [14.07.18 02:39]
Expand All @@ -26,16 +21,13 @@ mkdir -p $HOME/.config/ubuntu-system-settings
Marius Gripsgard, [14.07.18 02:46]
@vanyasem but the desktop does not use the wizard anyway, so i think it should be safe to ignore for now
--
MIR_SERVER_CURSOR=null QT_QPA_PLATFORM=mirserver unity8

system-settings:
missing deps: indicator-datetime (unpackaged)
module "Biometryd" is not installed (unpackaged)
Settings schema 'com.ubuntu.notifications.settings.applications' is not installed
Settings schema 'com.canonical.keyboard.maliit' is not installed

missing dep:
gsettings-qt-git
missing dep: gsettings-qt-git

keyboard-component:
?? patch /usr/share/qt/mkspecs/features/maliit-defines.prf -> /usr/lib/qt/mkspecs/features/maliit-defines.prf
Expand Down Expand Up @@ -65,3 +57,7 @@ settings-components-git:

maliit-framework:
/usr/share/qt5/mkspecs/features/maliit-defines.prf -> /usr/share/qt/mkspecs/features/maliit-defines.prf

unity8:
GLib-GIO-ERROR **: Settings schema 'com.canonical.Unity.Launcher' is not installed (comes from https://launchpad.net/ubuntu/xenial/+source/unity)
GLib-GIO-ERROR **: Settings schema 'com.canonical.keyboard.maliit' is not installed (missing dep keyboard-component-git, https://github.com/ubports/keyboard-component/blob/master/data/schemas/com.canonical.keyboard.maliit.gschema.xml)
3 changes: 1 addition & 2 deletions BUILDING-ARM.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Sync the databases:
```
sudo arch-chroot chroot-aarch64/root
pacman -Syyu
pacman -S python python2 python-setuptools python2-setuptools # Those are needed // TODO IVAN MAYBE MAKE METAPACKAGE WITH CI DEPS?
exit
```

Expand Down Expand Up @@ -80,6 +81,4 @@ builds:

Build the packages:

_If your decided to use your local repo, you have to build packages in this specific order, as some packages depend on each other_

Run `rebuild-repo.sh` from the PKGBUILDs directory. Make sure to configure sudo timeout for your build user, as it defaults to 5 minutes.
3 changes: 1 addition & 2 deletions BUILDING-I686.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Sync the databases:
```
sudo arch-chroot chroot-i686/root
pacman -Syyu
pacman -S python python2 python-setuptools python2-setuptools # Those are needed // TODO IVAN MAYBE MAKE METAPACKAGE WITH CI DEPS?
exit
```

Expand All @@ -74,7 +75,5 @@ builds:

Build the packages:

_If your decided to use your local repo, you have to build packages in this specific order, as some packages depend on each other_

Run `rebuild-repo.sh` from the PKGBUILDs directory. Make sure to configure sudo timeout for your build user, as it defaults to 5 minutes.

102 changes: 102 additions & 0 deletions BUILDING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
Building
========

You can compile the packages yourself.

You will have to do it manually for each dependency:

```
PACKAGE = unity8-git
git clone https://aur.archlinux.org/$PACKAGE.git
cd $PACKAGE
makepkg -sic
```

There is a helper script (`build-packages.sh`) in the root of this repository that will build all the packages for you.

```
./build-packages.sh -b
```

You will also need to trust a few GPG keys:
```
gpg --recv-keys 3ECDCBA5FB34D254961CC53F6689E64E3D3664BB # For apparmor
gpg --recv-keys E932D120BC2AEC444E558F0106CA9F5D1DCF2659 # For ofono
```

## (Advanced) Configure a local repository

The following instructions assume that you're building `x86_64` packages on a `x86_64` host.

You might want to take a look at [building ARM packgages on `x86_64`](BUILDING-ARM.md), and [building `i686` packgages on `x86_64`](BUILDING-I686.md).

Add the package repository to `/etc/pacman.conf`:

_You can add my repository, or you could specify your own local repo that you will create in the next step. Read more [on the wiki](https://wiki.archlinux.org/index.php/Pacman/Tips_and_tricks#Custom_local_repository). You have to trust my GPG key on the host system prior to building the chroot if you decide to go with my server._

```
[unity8]
SigLevel = Required
Server = https://unity8.mynameisivan.ru/$repo/os/$arch
```
_or_
```
[unity8]
SigLevel = Required
Server = file:///your/path/$repo/os/$arch
```

Assemble the build enviroment:

_Don't forget to configure PACKAGER in /etc/makepkg.conf_

```
sudo pacman -S devtools
mkdir chroot-x86_64
sudo mkdir -p /var/cache/pacman-x86_64/pkg/
sudo mkarchroot -C /etc/pacman.conf -M /etc/makepkg.conf -c /var/cache/pacman-x86_64/pkg/ ./chroot-x86_64/root base base-devel git
mkdir -p unity8 sources logs PKGBUILDs
```

_Your Arch repository will settle in the `unity8` folder._

Clone this repo's PKGBUILDs:
```
cd PKGBUILDs
git clone https://github.com/vanyasem/Unity8-Arch.git ./
git submodule init
git submodule update
cd ..
```

Sync the databases:
```
sudo arch-chroot chroot-x86_64/root
pacman -Syyu
pacman -S python python2 python-setuptools python2-setuptools # Those are needed // TODO IVAN MAYBE MAKE METAPACKAGE WITH CI DEPS?
exit
```

Install Arch repository manager ([guzuta](https://github.com/eagletmt/guzuta)):
```
sudo pacman -S cargo
cargo install guzuta
```

Configure guzuta:
```
cat > .guzuta.yml
name: unity8
package_key: YOUR_GPG_KEY
repo_key: YOUR_GPG_KEY
srcdest: sources
logdest: logs
pkgbuild: PKGBUILDs
builds:
x86_64:
chroot: ./chroot-x86_64
```

Build the packages:

Run `rebuild-repo.sh` from the PKGBUILDs directory. Make sure to configure sudo timeout for your build user, as it defaults to 5 minutes.
11 changes: 7 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Contributing
============

First of all, let me thank you for your interest in **Unity8-Arch**!

As the project is in it's early stage, you contribution is very important.
As the project is in it's alpha stage, your contribution is very important.

### Packaging
You can help us by packaging the components of Unity8.
Expand All @@ -13,12 +16,12 @@ Try to build it, make a PKGBUILD for it. Even if it fails to build, PR the PKGBU

### Testing

If you know what you're doing, you can add the WIP repo to your system, and help by testing individual packages on your system.
You can install Unity8 on your system, and help by testing individual packages.

If something breaks, open an issue both upstream and in this repository.
If something doesn't feel right, open an issue both upstream and in this repository.

### Patching

If you have some coding knowledge, you can take a look at the issues list in the [README](https://github.com/vanyasem/Unity8-Arch#progress).
If you have some coding knowledge, you can take a look at the issues list in the [STATUS.md](STATUS.md).

Try to fix as many things as possible. PR a patch upstream, and PR a patch in this repository. A packager will include your patch at compile time until the upstream PR is merged.
Loading

0 comments on commit 072a754

Please sign in to comment.