├── click-git ├── .gitignore ├── .SRCINFO └── PKGBUILD ├── qt5-pim-git ├── .gitignore ├── .SRCINFO └── PKGBUILD ├── qtmir-git ├── .gitignore ├── moc.patch ├── nowerror.patch ├── .SRCINFO └── PKGBUILD ├── unity8-git ├── .gitignore ├── NoDpkgParse.patch ├── .SRCINFO ├── PKGBUILD └── AndroidAway.patch ├── net-cpp-git ├── .gitignore ├── HTTPBin.patch ├── Python.patch ├── .SRCINFO └── PKGBUILD ├── qdjango-git ├── .gitignore ├── .SRCINFO └── PKGBUILD ├── content-hub-git ├── .gitignore ├── .SRCINFO ├── QtArg.patch └── PKGBUILD ├── libertine-git ├── .gitignore ├── .SRCINFO └── PKGBUILD ├── qmenumodel-git ├── .gitignore ├── .SRCINFO └── PKGBUILD ├── qt5-systems-git ├── .gitignore ├── .SRCINFO └── PKGBUILD ├── thumbnailer-git ├── .gitignore ├── .SRCINFO └── PKGBUILD ├── trust-store-git ├── .gitignore ├── .SRCINFO └── PKGBUILD ├── unity-api-git ├── .gitignore ├── .SRCINFO └── PKGBUILD ├── cmake-extras-git ├── .gitignore ├── .SRCINFO ├── PKGBUILD └── Gtest.patch ├── gmenuharness-bzr ├── .gitignore ├── Functional1.patch ├── Functional2.patch ├── .SRCINFO └── PKGBUILD ├── gsettings-qt-git ├── .gitignore ├── .SRCINFO └── PKGBUILD ├── libqtdbusmock-git ├── .gitignore ├── .SRCINFO └── PKGBUILD ├── libqtdbustest-git ├── .gitignore ├── SuicidalSleep.patch ├── .SRCINFO └── PKGBUILD ├── platform-api-git ├── .gitignore ├── .SRCINFO ├── PKGBUILD └── hybris.patch ├── history-service-git ├── .gitignore ├── .SRCINFO └── PKGBUILD ├── libusermetrics-git ├── .gitignore ├── .SRCINFO └── PKGBUILD ├── location-service-git ├── .gitignore ├── .SRCINFO └── PKGBUILD ├── system-settings-git ├── .gitignore ├── .SRCINFO └── PKGBUILD ├── url-dispatcher-git ├── .gitignore ├── no-discarded-qualifiers.patch ├── .SRCINFO └── PKGBUILD ├── accountsservice-ubuntu ├── .gitignore ├── .SRCINFO └── PKGBUILD ├── indicator-network-git ├── .gitignore ├── .SRCINFO └── PKGBUILD ├── ubuntu-app-launch-git ├── .gitignore ├── FormatTruncation.patch ├── .SRCINFO ├── PKGBUILD └── Gtest.patch ├── ubuntu-ui-toolkit-git ├── .gitignore ├── NoWarns.patch ├── dpkg.patch ├── .SRCINFO └── PKGBUILD ├── geonames-git ├── .gitignore ├── .SRCINFO └── PKGBUILD ├── persistent-cache-cpp-bzr ├── .gitignore ├── .SRCINFO └── PKGBUILD ├── qtunity-appmenutheme-git ├── .gitignore ├── .SRCINFO └── PKGBUILD ├── settings-components-git ├── .gitignore ├── .SRCINFO └── PKGBUILD ├── ubuntu-download-manager-git ├── .gitignore ├── QtArg.patch ├── .SRCINFO └── PKGBUILD ├── .gitignore ├── unity7-schemas ├── .gitignore ├── .SRCINFO └── PKGBUILD ├── gsettings-ubuntu-touch-schemas-git ├── .gitignore ├── .SRCINFO └── PKGBUILD ├── rebuild-repo.sh ├── libqofono ├── .SRCINFO └── PKGBUILD ├── dbus-test-runner ├── .SRCINFO └── PKGBUILD ├── ubuntu-push ├── 0004-cual-link-against-ual-3.patch ├── .SRCINFO ├── PKGBUILD ├── 0003-Initial-conversion-to-Go-modules.patch ├── 0001-Remove-v0-suffix-from-go-xdg-imports.patch └── 0002-Remove-v1-suffix-from-go-dbus-imports.patch ├── PULL_REQUEST_TEMPLATE.md ├── indicator-messages-git ├── .SRCINFO ├── PKGBUILD ├── 0001-Replace-gnome-common-in-autogen.sh.patch └── 0002-Fix-build-with-new-glib-versions.patch ├── projects.list ├── .gitmodules ├── CONTRIBUTING.md ├── BUILDING-I686.md ├── BROKEN.txt ├── BUILDING-ARM.md ├── README.md ├── BUILDING.md ├── STATUS.md └── qemu-binfmt-conf.sh /click-git/.gitignore: -------------------------------------------------------------------------------- 1 | click/ 2 | -------------------------------------------------------------------------------- /qt5-pim-git/.gitignore: -------------------------------------------------------------------------------- 1 | qtpim/ 2 | -------------------------------------------------------------------------------- /qtmir-git/.gitignore: -------------------------------------------------------------------------------- 1 | qtmir/ 2 | -------------------------------------------------------------------------------- /unity8-git/.gitignore: -------------------------------------------------------------------------------- 1 | unity8/ 2 | -------------------------------------------------------------------------------- /net-cpp-git/.gitignore: -------------------------------------------------------------------------------- 1 | net-cpp/ 2 | -------------------------------------------------------------------------------- /qdjango-git/.gitignore: -------------------------------------------------------------------------------- 1 | qdjango/ 2 | -------------------------------------------------------------------------------- /content-hub-git/.gitignore: -------------------------------------------------------------------------------- 1 | content-hub/ 2 | -------------------------------------------------------------------------------- /libertine-git/.gitignore: -------------------------------------------------------------------------------- 1 | libertine/ 2 | -------------------------------------------------------------------------------- /qmenumodel-git/.gitignore: -------------------------------------------------------------------------------- 1 | qmenumodel/ 2 | -------------------------------------------------------------------------------- /qt5-systems-git/.gitignore: -------------------------------------------------------------------------------- 1 | qtsystems/ 2 | -------------------------------------------------------------------------------- /thumbnailer-git/.gitignore: -------------------------------------------------------------------------------- 1 | thumbnailer/ 2 | -------------------------------------------------------------------------------- /trust-store-git/.gitignore: -------------------------------------------------------------------------------- 1 | trust-store/ 2 | -------------------------------------------------------------------------------- /unity-api-git/.gitignore: -------------------------------------------------------------------------------- 1 | unity-api/ 2 | -------------------------------------------------------------------------------- /cmake-extras-git/.gitignore: -------------------------------------------------------------------------------- 1 | cmake-extras/ 2 | -------------------------------------------------------------------------------- /gmenuharness-bzr/.gitignore: -------------------------------------------------------------------------------- 1 | gmenuharness/ 2 | -------------------------------------------------------------------------------- /gsettings-qt-git/.gitignore: -------------------------------------------------------------------------------- 1 | gsettings-qt/ 2 | -------------------------------------------------------------------------------- /libqtdbusmock-git/.gitignore: -------------------------------------------------------------------------------- 1 | libqtdbusmock/ 2 | -------------------------------------------------------------------------------- /libqtdbustest-git/.gitignore: -------------------------------------------------------------------------------- 1 | libqtdbustest/ 2 | -------------------------------------------------------------------------------- /platform-api-git/.gitignore: -------------------------------------------------------------------------------- 1 | platform-api/ 2 | -------------------------------------------------------------------------------- /history-service-git/.gitignore: -------------------------------------------------------------------------------- 1 | history-service/ 2 | -------------------------------------------------------------------------------- /libusermetrics-git/.gitignore: -------------------------------------------------------------------------------- 1 | libusermetrics/ 2 | -------------------------------------------------------------------------------- /location-service-git/.gitignore: -------------------------------------------------------------------------------- 1 | location-service/ 2 | -------------------------------------------------------------------------------- /system-settings-git/.gitignore: -------------------------------------------------------------------------------- 1 | system-settings/ 2 | -------------------------------------------------------------------------------- /url-dispatcher-git/.gitignore: -------------------------------------------------------------------------------- 1 | url-dispatcher/ 2 | -------------------------------------------------------------------------------- /accountsservice-ubuntu/.gitignore: -------------------------------------------------------------------------------- 1 | accountsservice/ 2 | -------------------------------------------------------------------------------- /indicator-network-git/.gitignore: -------------------------------------------------------------------------------- 1 | indicator-network/ 2 | -------------------------------------------------------------------------------- /ubuntu-app-launch-git/.gitignore: -------------------------------------------------------------------------------- 1 | ubuntu-app-launch/ 2 | -------------------------------------------------------------------------------- /ubuntu-ui-toolkit-git/.gitignore: -------------------------------------------------------------------------------- 1 | ubuntu-ui-toolkit/ 2 | -------------------------------------------------------------------------------- /geonames-git/.gitignore: -------------------------------------------------------------------------------- 1 | geonames/ 2 | alternateNames.txt 3 | -------------------------------------------------------------------------------- /persistent-cache-cpp-bzr/.gitignore: -------------------------------------------------------------------------------- 1 | persistent-cache-cpp/ 2 | -------------------------------------------------------------------------------- /qtunity-appmenutheme-git/.gitignore: -------------------------------------------------------------------------------- 1 | qtunity-appmenutheme/ 2 | -------------------------------------------------------------------------------- /settings-components-git/.gitignore: -------------------------------------------------------------------------------- 1 | settings-components/ 2 | -------------------------------------------------------------------------------- /ubuntu-download-manager-git/.gitignore: -------------------------------------------------------------------------------- 1 | ubuntu-download-manager/ 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | pkg/ 2 | src/ 3 | 4 | *.tar.gz 5 | *.tar.xz 6 | *.log* 7 | -------------------------------------------------------------------------------- /unity7-schemas/.gitignore: -------------------------------------------------------------------------------- 1 | com.canonical.keyboard.maliit.gschema.xml 2 | -------------------------------------------------------------------------------- /gsettings-ubuntu-touch-schemas-git/.gitignore: -------------------------------------------------------------------------------- 1 | gsettings-ubuntu-touch-schemas/ 2 | 3 | -------------------------------------------------------------------------------- /net-cpp-git/HTTPBin.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vanyasem/Lomiri-Arch/HEAD/net-cpp-git/HTTPBin.patch -------------------------------------------------------------------------------- /gmenuharness-bzr/Functional1.patch: -------------------------------------------------------------------------------- 1 | --- src/MatchUtils.cpp.orig 2018-06-22 20:53:11.467992532 +0300 2 | +++ src/MatchUtils.cpp 2018-06-22 20:53:32.118568790 +0300 3 | @@ -20,6 +20,8 @@ 4 | 5 | #include 6 | 7 | +#include 8 | + 9 | using namespace std; 10 | namespace util = unity::util; 11 | 12 | -------------------------------------------------------------------------------- /gmenuharness-bzr/Functional2.patch: -------------------------------------------------------------------------------- 1 | --- tests/functional/menus/MenuMain.cpp.orig 2018-06-22 20:58:14.446464994 +0300 2 | +++ tests/functional/menus/MenuMain.cpp 2018-06-22 20:58:19.729946354 +0300 3 | @@ -23,6 +23,7 @@ 4 | #include 5 | #include 6 | 7 | +#include 8 | #include 9 | #include 10 | 11 | -------------------------------------------------------------------------------- /ubuntu-app-launch-git/FormatTruncation.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 352be9e..ba26101 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -54,6 +54,7 @@ add_compile_options( 6 | -Wall -Werror 7 | -g 8 | -pthread 9 | + -Wno-format-truncation 10 | ) 11 | 12 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99") 13 | -------------------------------------------------------------------------------- /ubuntu-ui-toolkit-git/NoWarns.patch: -------------------------------------------------------------------------------- 1 | diff --git a/.qmake.conf b/.qmake.conf 2 | index af163c376..57c79b3ce 100644 3 | --- a/.qmake.conf 4 | +++ b/.qmake.conf 5 | @@ -6,7 +6,7 @@ 6 | # inside the debian/rules file 7 | 8 | load(qt_build_config) 9 | -CONFIG += warning_clean 10 | +CONFIG += warn_off 11 | CONFIG += c++11 12 | 13 | MODULE_VERSION = 5.5.0 14 | -------------------------------------------------------------------------------- /rebuild-repo.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # TODO add --clean option 3 | set -e 4 | sudo test true 5 | 6 | PACKAGES=$(cat projects.list) 7 | ARCH=x86_64 # TODO: Arch Selection 8 | 9 | cd .. 10 | arch-nspawn ./chroot-${ARCH}/root pacman -Syyu --noconfirm 11 | 12 | for package in $PACKAGES; do 13 | guzuta omakase build ${package} 14 | arch-nspawn ./chroot-${ARCH}/root pacman -Syy 15 | done 16 | -------------------------------------------------------------------------------- /qt5-pim-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = qt5-pim-git 2 | pkgdesc = Qt Personal Information Management 3 | pkgver = v5.0.0.beta1.r218.g3f567865 4 | pkgrel = 1 5 | url = http://code.qt.io/cgit/qt/qtpim.git 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | makedepends = git 11 | depends = qt5-declarative 12 | provides = qt5-pim 13 | conflicts = qt5-pim 14 | source = git+http://code.qt.io/cgit/qt/qtpim.git 15 | sha256sums = SKIP 16 | 17 | pkgname = qt5-pim-git 18 | 19 | -------------------------------------------------------------------------------- /qdjango-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = qdjango-git 2 | pkgdesc = A Qt-based C++ web framework 3 | pkgver = v0.6.2+16+gbda4755 4 | pkgrel = 2 5 | url = https://github.com/jlaine/qdjango/ 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = LGPL2.1 11 | makedepends = git 12 | depends = qt5-base 13 | provides = qdjango 14 | conflicts = qdjango 15 | source = git+https://github.com/jlaine/qdjango.git 16 | sha256sums = SKIP 17 | 18 | pkgname = qdjango-git 19 | 20 | -------------------------------------------------------------------------------- /url-dispatcher-git/no-discarded-qualifiers.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index dd1d77c..196a476 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -48,6 +48,8 @@ if (${werror}) 6 | set(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -Werror") 7 | endif() 8 | 9 | +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-discarded-qualifiers") 10 | + 11 | pkg_check_modules(UBUNTU_APP_LAUNCH REQUIRED ubuntu-app-launch-3>=0.5) 12 | include_directories(${UBUNTU_APP_LAUNCH_INCLUDE_DIRS}) 13 | 14 | -------------------------------------------------------------------------------- /geonames-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = geonames-git 2 | pkgdesc = Parse and query the geonames database dump 3 | pkgver = r4.fb9788a 4 | pkgrel = 2 5 | url = https://github.com/ubports/geonames 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = LGPL3 11 | makedepends = git 12 | makedepends = gtk-doc 13 | provides = geonames 14 | conflicts = geonames 15 | source = git+https://bitbucket.org/vanyasem/geonames 16 | sha256sums = SKIP 17 | 18 | pkgname = geonames-git 19 | 20 | -------------------------------------------------------------------------------- /gsettings-qt-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = gsettings-qt-git 2 | pkgdesc = Library to access GSettings from Qt 3 | pkgver = r185.c8ecb2b 4 | pkgrel = 1 5 | url = https://github.com/ubports/gsettings-qt 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = LGPL 11 | makedepends = git 12 | depends = qt5-base 13 | depends = qt5-declarative 14 | provides = gsettings-qt 15 | replaces = gsettings-qt 16 | source = git+https://github.com/ubports/gsettings-qt.git 17 | sha256sums = SKIP 18 | 19 | pkgname = gsettings-qt-git 20 | 21 | -------------------------------------------------------------------------------- /qmenumodel-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = qmenumodel-git 2 | pkgdesc = Qt binding for GMenuModel 3 | pkgver = r506.30e3dc5 4 | pkgrel = 3 5 | url = https://github.com/ubports/qmenumodel 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = LGPL3 11 | makedepends = git 12 | makedepends = cmake 13 | depends = qt5-base 14 | depends = qt5-quickcontrols 15 | provides = qmenumodel 16 | conflicts = qmenumodel 17 | source = git+https://github.com/ubports/qmenumodel.git 18 | sha256sums = SKIP 19 | 20 | pkgname = qmenumodel-git 21 | 22 | -------------------------------------------------------------------------------- /libqtdbustest-git/SuicidalSleep.patch: -------------------------------------------------------------------------------- 1 | diff --git a/tests/libqtdbustest/TestSuicidalProcess.cpp b/tests/libqtdbustest/TestSuicidalProcess.cpp 2 | index 3bdaeea..c8cbfcc 100644 3 | --- a/tests/libqtdbustest/TestSuicidalProcess.cpp 4 | +++ b/tests/libqtdbustest/TestSuicidalProcess.cpp 5 | @@ -51,7 +51,7 @@ TEST_F(TestSuicidalProcess, BehavesLikeNormalQProcess) { 6 | pgrep.waitForFinished(); 7 | pgrep.waitForReadyRead(); 8 | 9 | - EXPECT_EQ("sleep 5", 10 | + EXPECT_EQ("/usr/bin/sleep 5", 11 | QString::fromUtf8(pgrep.readAll().trimmed()).toStdString()); 12 | } 13 | 14 | -------------------------------------------------------------------------------- /qt5-systems-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = qt5-systems-git 2 | pkgdesc = Qt Publish and Subscribe Add-on Module 3 | pkgver = v5.0.0.beta1.r158.ge3332ee3 4 | pkgrel = 1 5 | url = https://github.com/qt/qtsystems 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = GPL3 11 | license = LGPL 12 | license = FDL 13 | license = custom 14 | makedepends = git 15 | depends = qt5-declarative 16 | provides = qt5-systems 17 | conflicts = qt5-systems 18 | source = git+http://code.qt.io/cgit/qt/qtsystems.git 19 | sha256sums = SKIP 20 | 21 | pkgname = qt5-systems-git 22 | 23 | -------------------------------------------------------------------------------- /click-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = click-git 2 | pkgdesc = Click is a simplified packaging format 3 | pkgver = r1079.28b9c13 4 | pkgrel = 2 5 | url = https://github.com/ubports/click 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | makedepends = git 11 | makedepends = cmake 12 | makedepends = intltool 13 | makedepends = vala 14 | makedepends = gobject-introspection 15 | depends = libgee 16 | depends = json-glib 17 | provides = click 18 | conflicts = click 19 | source = git+https://github.com/ubports/click.git 20 | sha256sums = SKIP 21 | 22 | pkgname = click-git 23 | 24 | -------------------------------------------------------------------------------- /cmake-extras-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = cmake-extras-git 2 | pkgdesc = A collection of add-ons for the CMake build tool 3 | pkgver = r241.820b661 4 | pkgrel = 2 5 | url = https://github.com/ubports/cmake-extras 6 | arch = any 7 | license = GPL3 8 | makedepends = git 9 | makedepends = cmake 10 | depends = python 11 | provides = cmake-extras 12 | conflicts = cmake-extras 13 | source = git+https://github.com/ubports/cmake-extras.git 14 | source = Gtest.patch 15 | sha256sums = SKIP 16 | sha256sums = 84880029cf774b41e6f61f4977bdc3a36621a571087d272a44aa3776a4f883e0 17 | 18 | pkgname = cmake-extras-git 19 | 20 | -------------------------------------------------------------------------------- /libqofono/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = libqofono 2 | pkgdesc = A library for accessing the ofono daemon, and a declarative plugin for it 3 | pkgver = 0.94 4 | pkgrel = 1 5 | url = https://git.merproject.org/mer-core/libqofono 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = LGPL 11 | depends = qt5-base 12 | depends = qt5-declarative 13 | depends = qt5-xmlpatterns 14 | source = https://git.merproject.org/mer-core/libqofono/-/archive/0.94/libqofono-0.94.tar.gz 15 | sha256sums = f5220a583f559f31f2b8592068f59ad0620e46d1e6bafc0d5d46da6771ecd472 16 | 17 | pkgname = libqofono 18 | 19 | -------------------------------------------------------------------------------- /qtunity-appmenutheme-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = qtunity-appmenutheme-git 2 | pkgdesc = Qt platform theme for exported application menus 3 | pkgver = r2204.484e3e5 4 | pkgrel = 1 5 | url = https://gitlab.com/ubports/core/qtunity-appmenutheme 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = LGPL 11 | license = GPL 12 | makedepends = git 13 | depends = qt5-base 14 | provides = qtunity-appmenutheme 15 | conflicts = qtunity-appmenutheme 16 | source = git+https://gitlab.com/ubports/core/qtunity-appmenutheme 17 | sha256sums = SKIP 18 | 19 | pkgname = qtunity-appmenutheme-git 20 | 21 | -------------------------------------------------------------------------------- /ubuntu-ui-toolkit-git/dpkg.patch: -------------------------------------------------------------------------------- 1 | diff --git a/tests/unit/runtest.sh b/tests/unit/runtest.sh 2 | index f15ed1776..437da71a0 100755 3 | --- a/tests/unit/runtest.sh 4 | +++ b/tests/unit/runtest.sh 5 | @@ -88,8 +88,8 @@ function create_test_cmd { 6 | EXE=$(abspath $_TARGETPATH) 7 | _CMD="-n $_TESTFILE -m 500" 8 | 9 | - DEB_HOST_ARCH=$(dpkg-architecture -qDEB_HOST_ARCH) 10 | - if [[ ${DEB_HOST_ARCH} =~ 'arm' ]]; then 11 | + HOST_ARCH=$(uname -m) 12 | + if [[ HOST_ARCH =~ 'arm' || HOST_ARCH =~ 'aarch64' ]]; then 13 | _CMD="dbus-test-runner --task $EXE $_CMD" 14 | else 15 | _CMD="dbus-test-runner --task gdb -p --quiet $_CMD" 16 | -------------------------------------------------------------------------------- /unity7-schemas/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = unity7-schemas 2 | pkgdesc = GSettings schemas from Unity7 3 | pkgver = 7.4.5+16.04.20180221 4 | pkgrel = 1 5 | url = https://burnsoftware.wordpress.com/dayjournal/ 6 | arch = any 7 | license = GPL3 8 | source = https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/unity/7.4.5+16.04.20180221-0ubuntu1/unity_7.4.5+16.04.20180221.orig.tar.gz 9 | source = https://raw.githubusercontent.com/ubports/keyboard-component/master/data/schemas/com.canonical.keyboard.maliit.gschema.xml 10 | sha256sums = d3e31ee660954ee52ad8b993dc909a9974b9a79938e4520b8da56e2390dbae58 11 | sha256sums = SKIP 12 | 13 | pkgname = unity7-schemas 14 | 15 | -------------------------------------------------------------------------------- /qtmir-git/moc.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/modules/Unity/Application/sharedwakelock.cpp b/src/modules/Unity/Application/sharedwakelock.cpp 2 | index 9ed0135c..53400cae 100644 3 | --- a/src/modules/Unity/Application/sharedwakelock.cpp 4 | +++ b/src/modules/Unity/Application/sharedwakelock.cpp 5 | @@ -168,7 +168,6 @@ private: 6 | Q_DISABLE_COPY(Wakelock) 7 | }; 8 | 9 | -#include "sharedwakelock.moc" 10 | 11 | /** 12 | * @brief SharedWakelock - allow a single wakelock instance to be shared between multiple owners 13 | @@ -229,3 +228,5 @@ void SharedWakelock::release(const QObject *caller) 14 | } 15 | 16 | } // namespace qtmir 17 | + 18 | +#include "sharedwakelock.moc" 19 | -------------------------------------------------------------------------------- /settings-components-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = settings-components-git 2 | pkgdesc = Ubuntu settings components for Unity8 3 | pkgver = r831.d66cac2 4 | pkgrel = 3 5 | url = https://github.com/ubports/settings-components 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = LGPL 11 | license = GPL 12 | makedepends = git 13 | makedepends = cmake 14 | makedepends = cmake-extras-git 15 | depends = xorg-server-xvfb 16 | depends = qt5-quickcontrols 17 | provides = settings-components 18 | conflicts = settings-components 19 | source = git+https://github.com/ubports/settings-components.git 20 | sha256sums = SKIP 21 | 22 | pkgname = settings-components-git 23 | 24 | -------------------------------------------------------------------------------- /gsettings-ubuntu-touch-schemas-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = gsettings-ubuntu-touch-schemas-git 2 | pkgdesc = GSettings desktop-wide schemas for Ubuntu Touch 3 | pkgver = r199.0d029fa 4 | pkgrel = 2 5 | url = https://github.com/ubports/gsettings-ubuntu-touch-schemas 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = LGPL2.1 11 | makedepends = git 12 | makedepends = gnome-common 13 | makedepends = intltool 14 | depends = dconf 15 | provides = gsettings-ubuntu-touch-schemas 16 | conflicts = gsettings-ubuntu-touch-schemas 17 | source = git+https://github.com/ubports/gsettings-ubuntu-touch-schemas.git 18 | sha256sums = SKIP 19 | 20 | pkgname = gsettings-ubuntu-touch-schemas-git 21 | 22 | -------------------------------------------------------------------------------- /net-cpp-git/Python.patch: -------------------------------------------------------------------------------- 1 | diff --git a/tests/httpbin.h.in b/tests/httpbin.h.in 2 | index 30703a2..da3004e 100644 3 | --- a/tests/httpbin.h.in 4 | +++ b/tests/httpbin.h.in 5 | @@ -42,7 +42,7 @@ struct Instance 6 | Instance() 7 | : server 8 | { 9 | - core::posix::exec("/usr/bin/python", {"@CMAKE_CURRENT_BINARY_DIR@/httpbin/run.py"}, {}, core::posix::StandardStream::stdout | core::posix::StandardStream::stderr) 10 | + core::posix::exec("/usr/bin/python2", {"@CMAKE_CURRENT_BINARY_DIR@/httpbin/run.py"}, {}, core::posix::StandardStream::stdout | core::posix::StandardStream::stderr) 11 | } 12 | { 13 | std::this_thread::sleep_for(std::chrono::milliseconds{1000}); 14 | -------------------------------------------------------------------------------- /libertine-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = libertine-git 2 | pkgdesc = A sandbox for running legacy deb-based X11 applications 3 | pkgver = r465.4ae89b2 4 | pkgrel = 2 5 | url = https://github.com/ubports/libertine 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = GPL3 11 | makedepends = git 12 | makedepends = cmake 13 | makedepends = cmake-extras-git 14 | makedepends = dbus-test-runner 15 | makedepends = intltool 16 | depends = python3 17 | depends = gtest 18 | depends = qt5-base 19 | depends = qt5-quickcontrols 20 | provides = libertine 21 | conflicts = libertine 22 | source = git+https://github.com/ubports/libertine.git 23 | sha256sums = SKIP 24 | 25 | pkgname = libertine-git 26 | 27 | -------------------------------------------------------------------------------- /dbus-test-runner/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = dbus-test-runner 2 | pkgdesc = A small little utility to run a couple of executables under a new DBus session for testing 3 | pkgver = 15.04.0 4 | pkgrel = 2 5 | url = https://launchpad.net/dbus-test-runner 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = GPL3 11 | makedepends = gnome-common 12 | depends = dbus-glib 13 | provides = dbus-test-runner 14 | conflicts = dbus-test-runner 15 | source = https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/dbus-test-runner/15.04.0+16.10.20160906-0ubuntu1/dbus-test-runner_15.04.0+16.10.20160906.orig.tar.gz 16 | sha256sums = 7d06a2d4af8979b569fbef5c6da2c32ddfcc6d1063e7ccbfc2f673013352d3d8 17 | 18 | pkgname = dbus-test-runner 19 | 20 | -------------------------------------------------------------------------------- /ubuntu-download-manager-git/QtArg.patch: -------------------------------------------------------------------------------- 1 | diff --git a/docs/qml/CMakeLists.txt b/docs/qml/CMakeLists.txt 2 | index 19976ab2..79bcf054 100644 3 | --- a/docs/qml/CMakeLists.txt 4 | +++ b/docs/qml/CMakeLists.txt 5 | @@ -3,7 +3,7 @@ FIND_PROGRAM(QDOC_EXECUTABLE qdoc) 6 | if(QDOC_EXECUTABLE) 7 | configure_file(${CMAKE_CURRENT_SOURCE_DIR}/ubuntu-download-manager.qdocconf.in ${CMAKE_CURRENT_BINARY_DIR}/ubuntu-download-manager.qdocconf @ONLY) 8 | add_custom_target(qmldoc 9 | -${QDOC_EXECUTABLE} -qt=qt5 ${CMAKE_CURRENT_BINARY_DIR}/ubuntu-download-manager.qdocconf 10 | +${QDOC_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/ubuntu-download-manager.qdocconf 11 | WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} 12 | COMMENT "Generating QML API documentation with qdoc" VERBATIM 13 | ) 14 | -------------------------------------------------------------------------------- /libqtdbusmock-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = libqtdbusmock-git 2 | pkgdesc = Library for mocking DBus interactions using Qt 3 | pkgver = r122.d6d1830 4 | pkgrel = 2 5 | url = https://github.com/ubports/libqtdbusmock 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = LGPL3 11 | checkdepends = python-dbusmock 12 | checkdepends = python-dbus 13 | checkdepends = python-gobject 14 | makedepends = git 15 | makedepends = cmake 16 | makedepends = cmake-extras-git 17 | depends = networkmanager 18 | depends = libqtdbustest-git 19 | depends = gmock 20 | provides = libqtdbusmock 21 | conflicts = libqtdbusmock 22 | source = git+https://github.com/ubports/libqtdbusmock.git 23 | sha256sums = SKIP 24 | 25 | pkgname = libqtdbusmock-git 26 | 27 | -------------------------------------------------------------------------------- /ubuntu-push/0004-cual-link-against-ual-3.patch: -------------------------------------------------------------------------------- 1 | From bbfb320a630ac6062cdf53e011bbb00a41ba7551 Mon Sep 17 00:00:00 2001 2 | From: Luca Weiss 3 | Date: Sat, 25 Jan 2020 13:29:50 +0100 4 | Subject: [PATCH 4/4] cual: link against ual-3 5 | 6 | --- 7 | launch_helper/cual/cual.go | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/launch_helper/cual/cual.go b/launch_helper/cual/cual.go 11 | index 76d79a4..5cb8919 100644 12 | --- a/launch_helper/cual/cual.go 13 | +++ b/launch_helper/cual/cual.go 14 | @@ -17,7 +17,7 @@ 15 | package cual 16 | 17 | /* 18 | -#cgo pkg-config: ubuntu-app-launch-2 19 | +#cgo pkg-config: ubuntu-app-launch-3 20 | #include 21 | 22 | gboolean add_observer (gpointer); 23 | -- 24 | 2.25.0 25 | 26 | -------------------------------------------------------------------------------- /history-service-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = history-service-git 2 | pkgdesc = History service to store messages and calls 3 | pkgver = r940.75af530 4 | pkgrel = 2 5 | url = https://github.com/ubports/history-service 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = GPL 11 | makedepends = git 12 | makedepends = cmake 13 | depends = lcov 14 | depends = gcovr 15 | depends = libphonenumber 16 | depends = telepathy-qt 17 | depends = sqlite 18 | depends = telepathy-mission-control 19 | depends = qt-gstreamer 20 | depends = qt5-pim-git 21 | provides = history-service 22 | conflicts = history-service 23 | source = git+https://github.com/ubports/history-service.git 24 | sha256sums = SKIP 25 | 26 | pkgname = history-service-git 27 | 28 | -------------------------------------------------------------------------------- /unity-api-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = unity-api-git 2 | pkgdesc = API for Unity shell integration 3 | pkgver = r1102.30dd7b3 4 | pkgrel = 2 5 | url = https://github.com/ubports/unity-api 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = LGPL3 11 | makedepends = git 12 | makedepends = cmake 13 | makedepends = cppcheck 14 | makedepends = graphviz 15 | makedepends = libqtdbustest-git 16 | makedepends = cmake-extras-git 17 | depends = qt5-quickcontrols 18 | provides = unity-api 19 | conflicts = unity-api 20 | source = git+https://github.com/ubports/unity-api.git 21 | source = https://patch-diff.githubusercontent.com/raw/ubports/unity-api/pull/18.patch 22 | sha256sums = SKIP 23 | sha256sums = SKIP 24 | 25 | pkgname = unity-api-git 26 | 27 | -------------------------------------------------------------------------------- /persistent-cache-cpp-bzr/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = persistent-cache-cpp-bzr 2 | pkgdesc = A cache of key-value pairs with persistent storage for C++ 3 | pkgver = r28 4 | pkgrel = 2 5 | url = https://launchpad.net/persistent-cache-cpp 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = LGPL 11 | makedepends = bzr 12 | makedepends = cmake 13 | makedepends = cmake-extras-git 14 | makedepends = doxygen 15 | makedepends = graphviz 16 | makedepends = lcov 17 | makedepends = gcovr 18 | makedepends = gtest 19 | depends = boost 20 | depends = leveldb 21 | depends = valgrind 22 | provides = persistent-cache-cpp 23 | conflicts = persistent-cache-cpp 24 | source = bzr+lp:persistent-cache-cpp 25 | sha256sums = SKIP 26 | 27 | pkgname = persistent-cache-cpp-bzr 28 | 29 | -------------------------------------------------------------------------------- /platform-api-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = platform-api-git 2 | pkgdesc = Platform API for system level capabilities 3 | pkgver = r1263.464a38b 4 | pkgrel = 2 5 | url = https://github.com/ubports/platform-api 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = GPL3 11 | makedepends = git 12 | makedepends = cmake 13 | makedepends = cmake-extras-git 14 | makedepends = doxygen 15 | depends = location-service-git 16 | depends = url-dispatcher-git 17 | depends = process-cpp 18 | provides = platform-api 19 | conflicts = platform-api 20 | source = git+https://github.com/ubports/platform-api.git 21 | source = hybris.patch 22 | sha256sums = SKIP 23 | sha256sums = 4ad5879d7e6ba5d9c269dc59b30e6069d9846d40fbb66773170357375fdc0fbe 24 | 25 | pkgname = platform-api-git 26 | 27 | -------------------------------------------------------------------------------- /qtmir-git/nowerror.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 3d2d5989..78d69ed5 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -26,8 +26,8 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/mod 6 | # Instruct CMake to run moc automatically when needed. 7 | set(CMAKE_AUTOMOC ON) 8 | 9 | -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wall -Wextra -Werror") 10 | -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -Wall -fno-strict-aliasing -Werror -Wextra") 11 | +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wall -Wextra -Wno-error") 12 | +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -Wall -fno-strict-aliasing -Wno-error -Wextra") 13 | set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined") 14 | 15 | set (CMAKE_CXX_STANDARD 14) 16 | -------------------------------------------------------------------------------- /thumbnailer-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = thumbnailer-git 2 | pkgdesc = D-Bus service for out of process thumbnailing 3 | pkgver = r1938.ec1c06a 4 | pkgrel = 3 5 | url = https://github.com/ubports/thumbnailer 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = GPL 11 | makedepends = git 12 | makedepends = cmake 13 | depends = boost 14 | depends = qt5-base 15 | depends = qt5-quickcontrols 16 | depends = gstreamer 17 | depends = gst-plugins-base 18 | depends = gdk-pixbuf2 19 | depends = libexif 20 | depends = unity-api-git 21 | depends = apparmor 22 | depends = taglib 23 | depends = persistent-cache-cpp-bzr 24 | provides = thumbnailer 25 | conflicts = thumbnailer 26 | source = git+https://github.com/ubports/thumbnailer.git 27 | sha256sums = SKIP 28 | 29 | pkgname = thumbnailer-git 30 | 31 | -------------------------------------------------------------------------------- /location-service-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = location-service-git 2 | pkgdesc = Location service aggregating position/velocity/heading updates and exporting them over dbus 3 | pkgver = r951.142f6ca 4 | pkgrel = 2 5 | url = https://github.com/ubports/location-service 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = LGPL 11 | license = GPL 12 | makedepends = git 13 | makedepends = cmake 14 | makedepends = cmake-extras-git 15 | makedepends = doxygen 16 | depends = boost 17 | depends = net-cpp-git 18 | depends = trust-store-git 19 | depends = gtest 20 | depends = gmock 21 | depends = clang 22 | provides = location-service 23 | conflicts = location-service 24 | source = git+https://github.com/ubports/location-service.git 25 | sha256sums = SKIP 26 | 27 | pkgname = location-service-git 28 | 29 | -------------------------------------------------------------------------------- /trust-store-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = trust-store-git 2 | pkgdesc = C++11 library for persisting trust requests 3 | pkgver = r423.0292700 4 | pkgrel = 3 5 | url = https://github.com/ubports/trust-store 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = LGPL 11 | makedepends = git 12 | makedepends = cmake 13 | makedepends = cmake-extras-git 14 | makedepends = doxygen 15 | makedepends = graphviz 16 | depends = qt5-base 17 | depends = qt5-quickcontrols 18 | depends = boost 19 | depends = dbus-cpp 20 | depends = gmock 21 | depends = lcov 22 | depends = gcovr 23 | depends = mir 24 | depends = apparmor 25 | depends = properties-cpp 26 | provides = trust-store 27 | conflicts = trust-store 28 | source = git+https://github.com/ubports/trust-store.git 29 | sha256sums = SKIP 30 | 31 | pkgname = trust-store-git 32 | 33 | -------------------------------------------------------------------------------- /indicator-network-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = indicator-network-git 2 | pkgdesc = Network indicator 3 | pkgver = r1949.27fabbd2 4 | pkgrel = 3 5 | url = https://github.com/ubports/indicator-network 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = LGPL3 11 | license = GPL3 12 | makedepends = git 13 | makedepends = cmake 14 | makedepends = cmake-extras-git 15 | makedepends = doxygen 16 | depends = lcov 17 | depends = gcovr 18 | depends = gsettings-qt 19 | depends = ofono 20 | depends = url-dispatcher-git 21 | depends = libqofono 22 | depends = libqtdbustest-git 23 | depends = libqtdbusmock-git 24 | depends = gmenuharness-bzr 25 | provides = indicator-network 26 | conflicts = indicator-network 27 | source = git+https://github.com/ubports/indicator-network.git 28 | sha256sums = SKIP 29 | 30 | pkgname = indicator-network-git 31 | 32 | -------------------------------------------------------------------------------- /PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 10 | 11 | Adding a new package: 12 | - This package builds / This package doesn't build yet 13 | - This package is a dependency for PACKAGE_NAME / This is a standalone package 14 | - `makepkg -s` output: FILE 15 | - Issues list: LINKS 16 | 17 | Changing a package: 18 | - This package builds / This package doesn't build yet 19 | - This PR adds a patch / This PR fixes formatting / This PR updates the package 20 | - [ ] I have regenerated `.SRCINFO` (`makepkg --printsrcinfo > .SRCINFO`) 21 | - [ ] This PR doesn't introduce any regressions 22 | -------------------------------------------------------------------------------- /gmenuharness-bzr/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = gmenuharness-bzr 2 | pkgdesc = Testing enablement library for projects exporting GiO's gmenu/gaction endpoints 3 | pkgver = r31 4 | pkgrel = 2 5 | url = https://launchpad.net/gmenuharness 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | makedepends = bzr 11 | makedepends = cmake 12 | makedepends = cmake-extras-git 13 | makedepends = doxygen 14 | depends = unity-api-git 15 | depends = gtest 16 | depends = libqtdbustest-git 17 | provides = gmenuharness 18 | conflicts = gmenuharness 19 | source = bzr+lp:gmenuharness 20 | source = Functional1.patch 21 | source = Functional2.patch 22 | sha256sums = SKIP 23 | sha256sums = b055a7811ebe1f347edbdb5e24a1f3264bf6966398a44efc3f1fb435eb7ea223 24 | sha256sums = b8b2733a1c07617613ec68e678a8cdf7135490772c6dfee22e86ab0d0a33f2ec 25 | 26 | pkgname = gmenuharness-bzr 27 | 28 | -------------------------------------------------------------------------------- /libusermetrics-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = libusermetrics-git 2 | pkgdesc = Library for exporting anonymous metrics about users 3 | pkgver = r477.a50ce9f 4 | pkgrel = 3 5 | url = https://github.com/ubports/libusermetrics 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = LGPL3 11 | license = LGPL 12 | license = GPL 13 | makedepends = git 14 | makedepends = cmake 15 | makedepends = cmake-extras-git 16 | makedepends = doxygen 17 | makedepends = intltool 18 | depends = qt5-base 19 | depends = qt5-xmlpatterns 20 | depends = gsettings-qt 21 | depends = apparmor 22 | depends = click-git 23 | depends = qdjango-git 24 | depends = libqtdbustest-git 25 | provides = libusermetrics 26 | conflicts = libusermetrics 27 | source = git+https://github.com/ubports/libusermetrics.git 28 | sha256sums = SKIP 29 | 30 | pkgname = libusermetrics-git 31 | 32 | -------------------------------------------------------------------------------- /libqtdbustest-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = libqtdbustest-git 2 | pkgdesc = Library for testing DBus interactions using Qt 3 | pkgver = r83.24e410e 4 | pkgrel = 2 5 | url = https://github.com/ubports/libqtdbustest 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = LGPL3 11 | checkdepends = python-dbusmock 12 | checkdepends = python-dbus 13 | checkdepends = python-gobject 14 | makedepends = git 15 | makedepends = cmake 16 | makedepends = cmake-extras-git 17 | depends = gcovr 18 | depends = lcov 19 | depends = gmock 20 | depends = qt5-base 21 | provides = libqtdbustest 22 | conflicts = libqtdbustest 23 | source = git+https://github.com/ubports/libqtdbustest.git 24 | source = SuicidalSleep.patch 25 | sha256sums = SKIP 26 | sha256sums = adbb9680bf2293fd4694d35ba5876623dc12c6fc78a5f772817f15921d44c5ec 27 | 28 | pkgname = libqtdbustest-git 29 | 30 | -------------------------------------------------------------------------------- /geonames-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=geonames-git 4 | _pkgname=geonames 5 | pkgver=r4.fb9788a 6 | pkgrel=2 7 | pkgdesc='Parse and query the geonames database dump' 8 | url='https://github.com/ubports/geonames' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(LGPL3) 11 | conflicts=(geonames) 12 | provides=(geonames) 13 | makedepends=(git gtk-doc) 14 | source=('git+https://bitbucket.org/vanyasem/geonames') 15 | sha256sums=('SKIP') 16 | 17 | BUILDENV+=('!check') # Weird locale issues 18 | 19 | pkgver() { 20 | cd ${_pkgname} 21 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 22 | } 23 | 24 | build() { 25 | cd ${_pkgname} 26 | ./autogen.sh --prefix=/usr 27 | make 28 | } 29 | 30 | check() { 31 | cd ${_pkgname} 32 | make check 33 | } 34 | 35 | package() { 36 | cd ${_pkgname} 37 | make DESTDIR="${pkgdir}/" install 38 | } 39 | # vim:set ts=2 sw=2 et: 40 | -------------------------------------------------------------------------------- /qmenumodel-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=qmenumodel-git 4 | _pkgname=qmenumodel 5 | pkgver=r506.30e3dc5 6 | pkgrel=3 7 | pkgdesc='Qt binding for GMenuModel' 8 | url='https://github.com/ubports/qmenumodel' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(LGPL3) 11 | conflicts=(qmenumodel) 12 | provides=(qmenumodel) 13 | depends=(qt5-base qt5-quickcontrols) 14 | makedepends=(git cmake) 15 | source=('git+https://github.com/ubports/qmenumodel.git') 16 | sha256sums=('SKIP') 17 | 18 | pkgver() { 19 | cd ${_pkgname} 20 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 21 | } 22 | 23 | build() { 24 | cd ${_pkgname} 25 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR="lib/" . 26 | make 27 | } 28 | 29 | package() { 30 | cd ${_pkgname} 31 | make DESTDIR="${pkgdir}/" install 32 | mv ${pkgdir}/usr/lib/qt5/ ${pkgdir}/usr/lib/qt/ 33 | } 34 | # vim:set ts=2 sw=2 et: 35 | -------------------------------------------------------------------------------- /qtunity-appmenutheme-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=qtunity-appmenutheme-git 4 | _pkgname=qtunity-appmenutheme 5 | pkgver=r2204.484e3e5 6 | pkgrel=1 7 | pkgdesc='Qt platform theme for exported application menus' 8 | url='https://gitlab.com/ubports/core/qtunity-appmenutheme' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(LGPL GPL) 11 | conflicts=(qtunity-appmenutheme) 12 | provides=(qtunity-appmenutheme) 13 | depends=(qt5-base) 14 | makedepends=(git) 15 | checkdepends=() 16 | source=('git+https://gitlab.com/ubports/core/qtunity-appmenutheme') 17 | sha256sums=('SKIP') 18 | 19 | pkgver() { 20 | cd ${_pkgname} 21 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 22 | } 23 | 24 | build() { 25 | cd ${_pkgname} 26 | qmake qtunityappmenu.pro 27 | make 28 | } 29 | 30 | package() { 31 | cd ${_pkgname} 32 | make INSTALL_ROOT="${pkgdir}/" install 33 | } 34 | # vim:set ts=2 sw=2 et: 35 | -------------------------------------------------------------------------------- /unity8-git/NoDpkgParse.patch: -------------------------------------------------------------------------------- 1 | diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt 2 | index f13c6b639..ea0d788f1 100644 3 | --- a/data/CMakeLists.txt 4 | +++ b/data/CMakeLists.txt 5 | @@ -20,7 +20,7 @@ install(FILES 6 | DESTINATION ${CMAKE_INSTALL_DATADIR}/lightdm/lightdm.conf.d 7 | ) 8 | 9 | -add_custom_target(pkgversion ALL COMMAND dpkg-parsechangelog -l${CMAKE_SOURCE_DIR}/debian/changelog --show-field version > ${CMAKE_CURRENT_BINARY_DIR}/version) 10 | +#add_custom_target(pkgversion ALL COMMAND dpkg-parsechangelog -l${CMAKE_SOURCE_DIR}/debian/changelog --show-field version > ${CMAKE_CURRENT_BINARY_DIR}/version) 11 | 12 | install(FILES com.canonical.Unity8.gschema.xml DESTINATION ${CMAKE_INSTALL_DATADIR}/glib-2.0/schemas) 13 | -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/version DESTINATION ${CMAKE_INSTALL_LOCALSTATEDIR}/lib/unity8) 14 | +#install(FILES ${CMAKE_CURRENT_BINARY_DIR}/version DESTINATION ${CMAKE_INSTALL_LOCALSTATEDIR}/lib/unity8) 15 | -------------------------------------------------------------------------------- /qdjango-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | # Contributor Spike29 3 | 4 | pkgname=qdjango-git 5 | _pkgname=qdjango 6 | pkgver=v0.6.2+16+gbda4755 7 | pkgrel=2 8 | pkgdesc='A Qt-based C++ web framework' 9 | url='https://github.com/jlaine/qdjango/' 10 | arch=(x86_64 i686 armv7h aarch64) 11 | license=(LGPL2.1) 12 | conflicts=(qdjango) 13 | provides=(qdjango) 14 | depends=(qt5-base) 15 | makedepends=(git) 16 | provides=(qdjango) 17 | conflicts=(qdjango) 18 | source=('git+https://github.com/jlaine/qdjango.git') 19 | sha256sums=('SKIP') 20 | 21 | pkgver() { 22 | cd ${_pkgname} 23 | git describe --tags | sed 's/-/+/g' 24 | } 25 | 26 | build() { 27 | cd ${_pkgname} 28 | mkdir -p build 29 | cd build 30 | qmake PREFIX=/usr .. 31 | make 32 | } 33 | 34 | package() { 35 | cd ${_pkgname}/build 36 | make INSTALL_ROOT="${pkgdir}/" install 37 | rm -r ${pkgdir}/usr/tests/ 38 | } 39 | # vim:set ts=2 sw=2 et: 40 | -------------------------------------------------------------------------------- /indicator-messages-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = indicator-messages-git 2 | pkgdesc = Notifications indicator 3 | pkgver = r1979.1d60a2d 4 | pkgrel = 1 5 | url = https://github.com/ubports/indicator-messages 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = GPL3 11 | makedepends = git 12 | makedepends = gobject-introspection 13 | makedepends = intltool 14 | makedepends = gtk-doc 15 | makedepends = dbus-test-runner 16 | depends = accountsservice-ubuntu 17 | provides = indicator-messages 18 | conflicts = indicator-messages 19 | source = git+https://github.com/ubports/indicator-messages.git 20 | source = 0001-Replace-gnome-common-in-autogen.sh.patch 21 | source = 0002-Fix-build-with-new-glib-versions.patch 22 | sha256sums = SKIP 23 | sha256sums = 023ee2b2f057588f2dc8cc1827c3dfddc965d87e40b5292fd5882f1e16878aa6 24 | sha256sums = 1bd5780d16c228b008cb4170f4971609189223d09e65929541a9101969d8e975 25 | 26 | pkgname = indicator-messages-git 27 | 28 | -------------------------------------------------------------------------------- /libqofono/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=libqofono 4 | pkgver=0.94 5 | pkgrel=1 6 | pkgdesc='A library for accessing the ofono daemon, and a declarative plugin for it' 7 | url='https://git.merproject.org/mer-core/libqofono' 8 | arch=(x86_64 i686 armv7h aarch64) 9 | license=(LGPL) 10 | depends=(qt5-base qt5-declarative qt5-xmlpatterns) 11 | makedepends=() 12 | source=('https://git.merproject.org/mer-core/libqofono/-/archive/0.94/libqofono-0.94.tar.gz') 13 | sha256sums=('f5220a583f559f31f2b8592068f59ad0620e46d1e6bafc0d5d46da6771ecd472') 14 | 15 | BUILDENV+=('!check') # Tests can only be run AFTER the package is installed (maybe some prefix exists?) 16 | 17 | build() { 18 | cd ${pkgname}-${pkgver} 19 | qmake 20 | make 21 | } 22 | 23 | check() { 24 | cd ${pkgname}-${pkgver} 25 | make check TESTARGS="-silent" 26 | } 27 | 28 | package() { 29 | cd ${pkgname}-${pkgver} 30 | make INSTALL_ROOT="${pkgdir}/" install 31 | } 32 | # vim:set ts=2 sw=2 et: 33 | -------------------------------------------------------------------------------- /accountsservice-ubuntu/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = accountsservice-ubuntu 2 | pkgdesc = D-Bus interface for user account query and manipulation 3 | pkgver = 0.6.42+12+gdac4254 4 | pkgrel = 1 5 | url = https://www.freedesktop.org/software/accountsservice/ 6 | arch = i686 7 | arch = x86_64 8 | license = GPL3 9 | makedepends = intltool 10 | makedepends = gtk-doc 11 | makedepends = gobject-introspection 12 | makedepends = git 13 | depends = glib2 14 | depends = polkit 15 | depends = systemd 16 | provides = accountsservice=0.6.42+12+gdac4254 17 | conflicts = accountsservice 18 | source = git://anongit.freedesktop.org/accountsservice#commit=dac425433270c6dc38feba4d2513e4da7bd265fd 19 | source = https://launchpad.net/ubuntu/+archive/primary/+files/accountsservice_0.6.42-0ubuntu1.debian.tar.xz 20 | sha512sums = SKIP 21 | sha512sums = 7637354d6785e0fcf1286c4186c508075a54e724f11b3e778dc0a31b8c457777de300b16c300d71ef1886bc0c290c76255ed14ed49398a17b9c075531af1c538 22 | 23 | pkgname = accountsservice-ubuntu 24 | 25 | -------------------------------------------------------------------------------- /persistent-cache-cpp-bzr/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=persistent-cache-cpp-bzr 4 | _pkgname=persistent-cache-cpp 5 | pkgver=r28 6 | pkgrel=2 7 | pkgdesc='A cache of key-value pairs with persistent storage for C++' 8 | url='https://launchpad.net/persistent-cache-cpp' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(LGPL) 11 | conflicts=(persistent-cache-cpp) 12 | provides=(persistent-cache-cpp) 13 | depends=(boost leveldb valgrind) 14 | makedepends=(bzr cmake cmake-extras-git doxygen graphviz lcov gcovr gtest) 15 | source=("bzr+lp:${_pkgname}") 16 | sha256sums=('SKIP') 17 | 18 | pkgver() { 19 | cd ${_pkgname} 20 | echo "r$(bzr revno)" 21 | } 22 | 23 | build() { 24 | cd ${_pkgname} 25 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr . 26 | make 27 | } 28 | 29 | check() { 30 | cd ${_pkgname} 31 | make ARGS+="--output-on-failure" test 32 | } 33 | 34 | package() { 35 | cd ${_pkgname} 36 | make DESTDIR="${pkgdir}/" install 37 | } 38 | # vim:set ts=2 sw=2 et: 39 | -------------------------------------------------------------------------------- /url-dispatcher-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = url-dispatcher-git 2 | pkgdesc = Service to allow sending of URLs and get handlers started 3 | pkgver = r735.b9a83f5 4 | pkgrel = 1 5 | url = https://github.com/ubports/url-dispatcher 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = LGPL 11 | checkdepends = python-testtools 12 | checkdepends = python-nose 13 | checkdepends = python-dbusmock 14 | makedepends = git 15 | makedepends = cmake 16 | makedepends = cmake-extras-git 17 | makedepends = dbus-test-runner 18 | makedepends = lcov 19 | makedepends = gcovr 20 | makedepends = gmock 21 | depends = ubuntu-app-launch-git 22 | depends = intltool 23 | depends = apparmor 24 | provides = url-dispatcher 25 | conflicts = url-dispatcher 26 | source = git+https://github.com/ubports/url-dispatcher.git 27 | source = no-discarded-qualifiers.patch 28 | sha256sums = SKIP 29 | sha256sums = acffad6f0cf98faedea4c4ef917e0fcca3f5faa61d95afb55f617ff94ff32d51 30 | 31 | pkgname = url-dispatcher-git 32 | 33 | -------------------------------------------------------------------------------- /content-hub-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = content-hub-git 2 | pkgdesc = Content sharing/picking infrastructure and service 3 | pkgver = r1509.3f04620 4 | pkgrel = 1 5 | url = https://github.com/ubports/content-hub 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = LGPL3 11 | checkdepends = xorg-server-xvfb 12 | makedepends = git 13 | makedepends = cmake 14 | makedepends = cmake-extras-git 15 | makedepends = doxygen 16 | makedepends = graphviz 17 | depends = lcov 18 | depends = gcovr 19 | depends = gmock 20 | depends = ubuntu-app-launch-git 21 | depends = ubuntu-download-manager-git 22 | depends = gsettings-qt 23 | depends = apparmor 24 | depends = libnotify 25 | depends = ubuntu-ui-toolkit-git 26 | provides = content-hub 27 | conflicts = content-hub 28 | source = git+https://github.com/ubports/content-hub.git 29 | source = QtArg.patch 30 | sha256sums = SKIP 31 | sha256sums = 59f927b1cda19e082fce433a852665f26e40f399433caca5fa0e7841d95d48f0 32 | 33 | pkgname = content-hub-git 34 | 35 | -------------------------------------------------------------------------------- /system-settings-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = system-settings-git 2 | pkgdesc = System Settings application for Unity8 3 | pkgver = r7160.26e4f74d 4 | pkgrel = 2 5 | url = https://github.com/ubports/system-settings 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = GPL3 11 | checkdepends = xorg-server-xvfb 12 | makedepends = git 13 | makedepends = cmake 14 | makedepends = intltool 15 | depends = trust-store-git 16 | depends = click-git 17 | depends = gnome-desktop 18 | depends = ubuntu-app-launch-git 19 | depends = geonames-git 20 | depends = libqtdbusmock-git 21 | depends = ubuntu-ui-toolkit-git 22 | depends = gsettings-qt-git 23 | depends = accountsservice-ubuntu 24 | depends = upower 25 | depends = ubuntu-themes 26 | depends = qmenumodel-git 27 | depends = libqofono 28 | depends = content-hub-git 29 | provides = system-settings 30 | conflicts = system-settings 31 | source = git+https://github.com/ubports/system-settings.git 32 | sha256sums = SKIP 33 | 34 | pkgname = system-settings-git 35 | 36 | -------------------------------------------------------------------------------- /ubuntu-download-manager-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = ubuntu-download-manager-git 2 | pkgdesc = Provides a service for downloading files while an application is suspended 3 | pkgver = r2545.695e5dc8 4 | pkgrel = 1 5 | url = https://github.com/ubports/ubuntu-download-manager 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = LGPL 11 | makedepends = git 12 | makedepends = doxygen 13 | makedepends = cmake 14 | makedepends = cmake-extras-git 15 | makedepends = gcovr 16 | makedepends = lcov 17 | depends = boost 18 | depends = dbus-test-runner 19 | depends = gmock 20 | depends = qt5-base 21 | depends = qt5-declarative 22 | depends = libnih 23 | depends = google-glog 24 | provides = ubuntu-download-manager 25 | conflicts = ubuntu-download-manager 26 | source = git+https://github.com/ubports/ubuntu-download-manager.git 27 | source = QtArg.patch 28 | sha256sums = SKIP 29 | sha256sums = 8182121308e04f60e29dfc1e3c8e221413b5a905ea1302e75acbe95a6bb7f866 30 | 31 | pkgname = ubuntu-download-manager-git 32 | 33 | -------------------------------------------------------------------------------- /gsettings-ubuntu-touch-schemas-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=gsettings-ubuntu-touch-schemas-git 4 | _pkgname=gsettings-ubuntu-touch-schemas 5 | pkgver=r199.0d029fa 6 | pkgrel=2 7 | pkgdesc='GSettings desktop-wide schemas for Ubuntu Touch' 8 | url='https://github.com/ubports/gsettings-ubuntu-touch-schemas' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(LGPL2.1) 11 | conflicts=(gsettings-ubuntu-touch-schemas) 12 | provides=(gsettings-ubuntu-touch-schemas) 13 | depends=(dconf) 14 | makedepends=(git gnome-common intltool) 15 | source=('git+https://github.com/ubports/gsettings-ubuntu-touch-schemas.git') 16 | sha256sums=('SKIP') 17 | 18 | pkgver() { 19 | cd ${_pkgname} 20 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 21 | } 22 | 23 | build() { 24 | cd ${_pkgname} 25 | ./autogen.sh \ 26 | --prefix=/usr \ 27 | --localstatedir=/var 28 | make 29 | } 30 | 31 | package() { 32 | cd ${_pkgname} 33 | make DESTDIR="${pkgdir}/" install 34 | } 35 | # vim:set ts=2 sw=2 et: 36 | -------------------------------------------------------------------------------- /gsettings-qt-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=gsettings-qt-git 4 | _pkgname=gsettings-qt 5 | pkgver=r185.c8ecb2b 6 | pkgrel=1 7 | pkgdesc='Library to access GSettings from Qt' 8 | url='https://github.com/ubports/gsettings-qt' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(LGPL) 11 | depends=(qt5-base qt5-declarative) 12 | makedepends=(git) 13 | provides=(gsettings-qt) 14 | replaces=(gsettings-qt) 15 | source=('git+https://github.com/ubports/gsettings-qt.git') 16 | sha256sums=('SKIP') 17 | 18 | #BUILDENV+=('!check') 19 | 20 | pkgver() { 21 | cd ${_pkgname} 22 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 23 | } 24 | 25 | prepare() { 26 | cd ${_pkgname} 27 | git checkout bionic 28 | } 29 | 30 | build() { 31 | cd ${_pkgname} 32 | qmake-qt5 PREFIX=/usr 33 | make -j1 # Failing racing condition if built with -j > 1 34 | } 35 | 36 | package() { 37 | cd ${_pkgname} 38 | make INSTALL_ROOT="${pkgdir}" install 39 | rm -rf "${pkgdir}"/usr/tests 40 | } 41 | # vim:set ts=2 sw=2 et: 42 | -------------------------------------------------------------------------------- /projects.list: -------------------------------------------------------------------------------- 1 | lcov 2 | wlcs 3 | mir-git 4 | cmake-extras-git 5 | libqtdbustest-git 6 | unity-api-git 7 | dbus-test-runner 8 | libertine-git 9 | ubuntu-download-manager-git 10 | properties-cpp 11 | ubuntu-app-launch-git 12 | process-cpp 13 | perl-rpc-xml 14 | python2-flask-script 15 | net-cpp-git 16 | zmqpp 17 | lttng-tools 18 | url-dispatcher-git 19 | persistent-cache-cpp-bzr 20 | thumbnailer-git 21 | qt5-pim-git 22 | qt5-systems-git 23 | humanity-icon-theme 24 | ubuntu-themes 25 | ubuntu-ui-toolkit-git 26 | gsettings-qt-git 27 | content-hub-git 28 | libqtdbusmock-git 29 | qtmir-git 30 | settings-components-git 31 | history-service-git 32 | dbus-cpp 33 | trust-store-git 34 | location-service-git 35 | platform-api-git 36 | qtunity-appmenutheme-git 37 | click-git 38 | accountsservice-ubuntu 39 | geonames-git 40 | qmenumodel-git 41 | ofono 42 | libqofono 43 | system-settings-git 44 | gmenuharness-bzr 45 | indicator-network-git 46 | qdjango-git 47 | libusermetrics-git 48 | gsettings-ubuntu-touch-schemas-git 49 | ubuntu-wallpapers 50 | unity7-schemas 51 | unity8-git 52 | -------------------------------------------------------------------------------- /qt5-pim-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=qt5-pim-git 4 | _pkgname=qtpim 5 | pkgver=v5.0.0.beta1.r218.g3f567865 6 | pkgrel=1 7 | pkgdesc='Qt Personal Information Management' 8 | url='http://code.qt.io/cgit/qt/qtpim.git' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=() 11 | conflicts=(qt5-pim) 12 | provides=(qt5-pim) 13 | depends=(qt5-declarative) 14 | makedepends=(git) 15 | source=('git+http://code.qt.io/cgit/qt/qtpim.git') 16 | sha256sums=('SKIP') 17 | 18 | pkgver() { 19 | cd ${_pkgname} 20 | echo "$(git describe --tags | sed 's/-/./; s/-/.r/; s/-/./g')" 21 | } 22 | 23 | build() { 24 | cd ${_pkgname} 25 | qmake-qt5 26 | make 27 | } 28 | 29 | check() { 30 | cd ${_pkgname} 31 | make check TESTARGS="-silent" 32 | } 33 | 34 | package() { 35 | cd ${_pkgname} 36 | make INSTALL_ROOT="${pkgdir}/" install 37 | 38 | # Drop QMAKE_PRL_BUILD_DIR because it references the build dir 39 | find "$pkgdir/usr/lib" -type f -name '*.prl' \ 40 | -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \; 41 | } 42 | # vim:set ts=2 sw=2 et: 43 | -------------------------------------------------------------------------------- /thumbnailer-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=thumbnailer-git 4 | _pkgname=thumbnailer 5 | pkgver=r1938.ec1c06a 6 | pkgrel=3 7 | pkgdesc='D-Bus service for out of process thumbnailing' 8 | url='https://github.com/ubports/thumbnailer' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(GPL) 11 | conflicts=(thumbnailer) 12 | provides=(thumbnailer) 13 | depends=(boost qt5-base qt5-quickcontrols gstreamer gst-plugins-base gdk-pixbuf2 libexif unity-api-git apparmor taglib persistent-cache-cpp-bzr) 14 | makedepends=(git cmake) 15 | source=('git+https://github.com/ubports/thumbnailer.git') 16 | sha256sums=('SKIP') 17 | 18 | prepare() { 19 | cd ${_pkgname} 20 | git checkout bionic 21 | } 22 | 23 | pkgver() { 24 | cd ${_pkgname} 25 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 26 | } 27 | 28 | build() { 29 | cd ${_pkgname} 30 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR="lib/" . 31 | make 32 | } 33 | 34 | package() { 35 | cd ${_pkgname} 36 | make DESTDIR="${pkgdir}/" install 37 | } 38 | # vim:set ts=2 sw=2 et: 39 | -------------------------------------------------------------------------------- /cmake-extras-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=cmake-extras-git 4 | _pkgname=cmake-extras 5 | pkgver=r241.820b661 6 | pkgrel=2 7 | pkgdesc='A collection of add-ons for the CMake build tool' 8 | url='https://github.com/ubports/cmake-extras' 9 | arch=(any) 10 | license=(GPL3) 11 | conflicts=(cmake-extras) 12 | provides=(cmake-extras) 13 | depends=(python) 14 | makedepends=(git cmake) 15 | source=('git+https://github.com/ubports/cmake-extras.git' 16 | 'Gtest.patch') 17 | sha256sums=('SKIP' 18 | '84880029cf774b41e6f61f4977bdc3a36621a571087d272a44aa3776a4f883e0') 19 | 20 | prepare() { 21 | cd ${_pkgname} 22 | git checkout master 23 | patch -Np1 -i "${srcdir}/Gtest.patch" 24 | } 25 | 26 | pkgver() { 27 | cd ${_pkgname} 28 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 29 | } 30 | 31 | build() { 32 | cd ${_pkgname} 33 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr . 34 | make 35 | } 36 | 37 | package() { 38 | cd ${_pkgname} 39 | make DESTDIR="${pkgdir}/" install 40 | } 41 | # vim:set ts=2 sw=2 et: 42 | -------------------------------------------------------------------------------- /libqtdbusmock-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=libqtdbusmock-git 4 | _pkgname=libqtdbusmock 5 | pkgver=r122.d6d1830 6 | pkgrel=2 7 | pkgdesc='Library for mocking DBus interactions using Qt' 8 | url='https://github.com/ubports/libqtdbusmock' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(LGPL3) 11 | conflicts=(libqtdbusmock) 12 | provides=(libqtdbusmock) 13 | depends=(networkmanager libqtdbustest-git gmock) 14 | makedepends=(git cmake cmake-extras-git) 15 | checkdepends=(python-dbusmock python-dbus python-gobject) 16 | source=('git+https://github.com/ubports/libqtdbusmock.git') 17 | sha256sums=('SKIP') 18 | 19 | pkgver() { 20 | cd ${_pkgname} 21 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 22 | } 23 | 24 | build() { 25 | cd ${_pkgname} 26 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR="lib/" . 27 | make 28 | } 29 | 30 | check() { 31 | cd ${_pkgname} 32 | make ARGS+="--output-on-failure" test 33 | } 34 | 35 | package() { 36 | cd ${_pkgname} 37 | make DESTDIR="${pkgdir}/" install 38 | } 39 | # vim:set ts=2 sw=2 et: 40 | -------------------------------------------------------------------------------- /net-cpp-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = net-cpp-git 2 | pkgdesc = A simple yet beautiful networking API for C++11 3 | pkgver = r141.09cac6a 4 | pkgrel = 2 5 | url = https://github.com/ubports/net-cpp 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = LGPL 11 | makedepends = git 12 | makedepends = cmake 13 | makedepends = cmake-extras-git 14 | makedepends = doxygen 15 | makedepends = bsdiff 16 | depends = boost 17 | depends = process-cpp 18 | depends = gmock 19 | depends = graphviz 20 | depends = properties-cpp 21 | depends = jsoncpp 22 | depends = python2-flask-script 23 | depends = python2-flask 24 | depends = python2-decorator 25 | depends = python2-simplejson 26 | depends = curl 27 | provides = net-cpp 28 | conflicts = net-cpp 29 | source = git+https://github.com/ubports/net-cpp.git 30 | source = Python.patch 31 | source = HTTPBin.patch 32 | sha256sums = SKIP 33 | sha256sums = 36b25f932cca5c3e80882424c0884d0ee03774dd8df9ae243163af0417ac7f86 34 | sha256sums = 1ae39a76834511a49712a88c415f7411cde4fbe480e687e0879ece9448885549 35 | 36 | pkgname = net-cpp-git 37 | 38 | -------------------------------------------------------------------------------- /dbus-test-runner/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | # Contributor: Cody P Schafer 3 | # Contributor: Jameson Pugh 4 | 5 | pkgname=dbus-test-runner 6 | pkgver=15.04.0 7 | pkgrel=2 8 | pkgdesc='A small little utility to run a couple of executables under a new DBus session for testing' 9 | url='https://launchpad.net/dbus-test-runner' 10 | arch=(x86_64 i686 armv7h aarch64) 11 | license=(GPL3) 12 | depends=(dbus-glib) 13 | makedepends=(gnome-common) 14 | provides=(dbus-test-runner) 15 | conflicts=(dbus-test-runner) 16 | source=("https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/dbus-test-runner/${pkgver}+16.10.20160906-0ubuntu1/dbus-test-runner_${pkgver}+16.10.20160906.orig.tar.gz") 17 | sha256sums=('7d06a2d4af8979b569fbef5c6da2c32ddfcc6d1063e7ccbfc2f673013352d3d8') 18 | 19 | build() { 20 | export CFLAGS="${CFLAGS:-} -Wno-error=deprecated -Wno-error=deprecated-declarations -Wno-error" 21 | ./autogen.sh --prefix=/usr --libexecdir=/usr/lib 22 | make 23 | } 24 | 25 | package() { 26 | make DESTDIR="${pkgdir}/" install 27 | } 28 | # vim:set ts=2 sw=2 et: 29 | -------------------------------------------------------------------------------- /unity7-schemas/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | # !!! TEMP PACKAGE. Shouldn't really be a thing !!! 4 | 5 | pkgname=unity7-schemas 6 | _pkgname=dayjournal 7 | pkgver=7.4.5+16.04.20180221 8 | pkgrel=1 9 | pkgdesc='GSettings schemas from Unity7' 10 | url='https://burnsoftware.wordpress.com/dayjournal/' 11 | arch=(any) 12 | license=(GPL3) 13 | source=("https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/unity/$pkgver-0ubuntu1/unity_$pkgver.orig.tar.gz" 14 | 'https://raw.githubusercontent.com/ubports/keyboard-component/master/data/schemas/com.canonical.keyboard.maliit.gschema.xml') 15 | sha256sums=('d3e31ee660954ee52ad8b993dc909a9974b9a79938e4520b8da56e2390dbae58' 16 | 'SKIP') 17 | 18 | package() { 19 | install -d "${pkgdir}/usr/share/glib-2.0/schemas" 20 | install -m644 "${srcdir}/data/com.canonical.Unity.gschema.xml" "${pkgdir}/usr/share/glib-2.0/schemas/com.canonical.Unity.gschema.xml" 21 | install -m644 "${srcdir}/com.canonical.keyboard.maliit.gschema.xml" "${pkgdir}/usr/share/glib-2.0/schemas/com.canonical.keyboard.maliit.gschema.xml" 22 | } 23 | # vim:set ts=2 sw=2 et: 24 | -------------------------------------------------------------------------------- /click-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=click-git 4 | _pkgname=click 5 | pkgver=r1079.28b9c13 6 | pkgrel=2 7 | pkgdesc='Click is a simplified packaging format' 8 | url='https://github.com/ubports/click' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=() 11 | conflicts=(click) 12 | provides=(click) 13 | depends=(libgee json-glib) 14 | makedepends=(git cmake intltool vala gobject-introspection) 15 | source=('git+https://github.com/ubports/click.git') 16 | sha256sums=('SKIP') 17 | 18 | BUILDENV+=('!check') # Tests broken due to absense of dpkg 19 | 20 | pkgver() { 21 | cd ${_pkgname} 22 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 23 | } 24 | 25 | prepare() { 26 | cd ${_pkgname} 27 | git checkout bionic 28 | } 29 | 30 | build() { 31 | cd ${_pkgname} 32 | ./autogen.sh 33 | ./configure --prefix=/usr --disable-packagekit 34 | make 35 | } 36 | 37 | check() { 38 | cd ${_pkgname} 39 | make check 40 | } 41 | 42 | package() { 43 | cd ${_pkgname} 44 | make DESTDIR="${pkgdir}/" PYTHON_INSTALL_FLAGS="--root=${pkgdir}/" install 45 | } 46 | # vim:set ts=2 sw=2 et: 47 | -------------------------------------------------------------------------------- /unity-api-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=unity-api-git 4 | _pkgname=unity-api 5 | pkgver=r1104.d74beb0 6 | pkgrel=1 7 | pkgdesc='API for Unity shell integration' 8 | url='https://github.com/ubports/unity-api' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(LGPL3) 11 | conflicts=(unity-api) 12 | provides=(unity-api) 13 | depends=(qt5-quickcontrols) 14 | makedepends=(git cmake cppcheck graphviz libqtdbustest-git cmake-extras-git) 15 | source=('git+https://github.com/ubports/unity-api.git#branch=bionic') 16 | sha256sums=('SKIP') 17 | 18 | BUILDENV+=('!check') # Some tests are broken 19 | 20 | pkgver() { 21 | cd ${_pkgname} 22 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 23 | } 24 | 25 | build() { 26 | cd ${_pkgname} 27 | mkdir -p build 28 | cd build 29 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR="lib/" .. 30 | make 31 | } 32 | 33 | check() { 34 | cd ${_pkgname}/build 35 | make ARGS+="--output-on-failure" test 36 | } 37 | 38 | package() { 39 | cd ${_pkgname}/build 40 | make DESTDIR="${pkgdir}/" install 41 | } 42 | # vim:set ts=2 sw=2 et: 43 | -------------------------------------------------------------------------------- /qtmir-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = qtmir-git 2 | pkgdesc = Qt platform abstraction (QPA) plugin for a Mir server 3 | pkgver = r2374.f77ed5dd 4 | pkgrel = 3 5 | url = https://github.com/ubports/qtmir 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = LGPL 11 | makedepends = git 12 | makedepends = cmake 13 | makedepends = cmake-extras-git 14 | makedepends = gtest 15 | depends = qt5-base 16 | depends = qt5-quickcontrols 17 | depends = qt5-sensors 18 | depends = mir-git 19 | depends = process-cpp 20 | depends = ubuntu-app-launch-git 21 | depends = gsettings-qt-git 22 | depends = libqtdbustest-git 23 | depends = libqtdbusmock-git 24 | depends = content-hub-git 25 | depends = url-dispatcher-git 26 | depends = glm 27 | depends = valgrind 28 | provides = qtmir 29 | conflicts = qtmir 30 | source = git+https://github.com/ubports/qtmir.git 31 | source = moc.patch 32 | source = nowerror.patch 33 | sha256sums = SKIP 34 | sha256sums = 5338271504bb308ec80ca2b5879451b37aec52f6b3cc9919b7dabe454f1d1ce2 35 | sha256sums = f6aff7b48ade3876739a940de19cc404dca53331a19e15b95f825096d8b96d9c 36 | 37 | pkgname = qtmir-git 38 | 39 | -------------------------------------------------------------------------------- /ubuntu-app-launch-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = ubuntu-app-launch-git 2 | pkgdesc = Session init system job for Launching Applications 3 | pkgver = r3022.bde4305 4 | pkgrel = 4 5 | url = https://github.com/ubports/ubuntu-app-launch 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = GPL 11 | makedepends = git 12 | makedepends = cmake 13 | makedepends = cmake-extras-git 14 | makedepends = dbus-test-runner 15 | makedepends = gmock 16 | makedepends = lcov 17 | makedepends = gcovr 18 | depends = zeitgeist 19 | depends = gobject-introspection 20 | depends = lttng-ust 21 | depends = mir 22 | depends = libertine-git 23 | depends = unity-api-git 24 | depends = properties-cpp 25 | depends = curl 26 | provides = ubuntu-app-launch 27 | conflicts = ubuntu-app-launch 28 | source = git+https://github.com/ubports/ubuntu-app-launch.git 29 | source = FormatTruncation.patch 30 | source = Gtest.patch 31 | sha256sums = SKIP 32 | sha256sums = db5684a2f42a664d1e1c10af2e1ff6f0edb43d63e7936d37ca75c575875f7f97 33 | sha256sums = 3c0a88fce3e8af6ac648a026b2fe592b614b511763ad9defeb87659f29b4a1bd 34 | 35 | pkgname = ubuntu-app-launch-git 36 | 37 | -------------------------------------------------------------------------------- /libertine-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=libertine-git 4 | _pkgname=libertine 5 | pkgver=r465.4ae89b2 6 | pkgrel=2 7 | pkgdesc='A sandbox for running legacy deb-based X11 applications' 8 | url='https://github.com/ubports/libertine' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(GPL3) 11 | conflicts=(libertine) 12 | provides=(libertine) 13 | depends=(python3 gtest qt5-base qt5-quickcontrols) 14 | makedepends=(git cmake cmake-extras-git dbus-test-runner intltool) 15 | source=('git+https://github.com/ubports/libertine.git') 16 | sha256sums=('SKIP') 17 | 18 | BUILDENV+=('!check') # Some tests are broken 19 | 20 | prepare() { 21 | cd ${_pkgname} 22 | git checkout bionic 23 | } 24 | 25 | pkgver() { 26 | cd ${_pkgname} 27 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 28 | } 29 | 30 | build() { 31 | cd ${_pkgname} 32 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR="lib/" . 33 | make 34 | } 35 | 36 | check() { 37 | cd ${_pkgname} 38 | make ARGS+="--output-on-failure" test 39 | } 40 | 41 | package() { 42 | cd ${_pkgname} 43 | make DESTDIR="${pkgdir}/" install 44 | } 45 | # vim:set ts=2 sw=2 et: 46 | -------------------------------------------------------------------------------- /qt5-systems-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin 2 | # Contributor Felix Yan 3 | 4 | pkgname=qt5-systems-git 5 | _pkgname=qtsystems 6 | pkgver=v5.0.0.beta1.r158.ge3332ee3 7 | pkgrel=1 8 | pkgdesc='Qt Publish and Subscribe Add-on Module' 9 | url='https://github.com/qt/qtsystems' 10 | arch=(x86_64 i686 armv7h aarch64) 11 | license=(GPL3 LGPL FDL custom) 12 | conflicts=(qt5-systems) 13 | provides=(qt5-systems) 14 | depends=(qt5-declarative) 15 | makedepends=(git) 16 | source=('git+http://code.qt.io/cgit/qt/qtsystems.git') 17 | sha256sums=('SKIP') 18 | 19 | pkgver() { 20 | cd ${_pkgname} 21 | echo "$(git describe --tags | sed 's/-/./; s/-/.r/; s/-/./g')" 22 | } 23 | 24 | build() { 25 | cd ${_pkgname} 26 | qmake-qt5 27 | make 28 | } 29 | 30 | package() { 31 | cd ${_pkgname} 32 | 33 | make INSTALL_ROOT="${pkgdir}" install 34 | 35 | install -D -m644 LICENSE.GPL3-EXCEPT \ 36 | "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.GPL3-EXCEPT 37 | 38 | # Drop QMAKE_PRL_BUILD_DIR because it references the build dir 39 | find "$pkgdir/usr/lib" -type f -name '*.prl' \ 40 | -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \; 41 | } 42 | -------------------------------------------------------------------------------- /trust-store-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=trust-store-git 4 | _pkgname=trust-store 5 | pkgver=r423.0292700 6 | pkgrel=3 7 | pkgdesc='C++11 library for persisting trust requests' 8 | url='https://github.com/ubports/trust-store' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(LGPL) 11 | conflicts=(trust-store) 12 | provides=(trust-store) 13 | depends=(qt5-base qt5-quickcontrols boost dbus-cpp gmock lcov gcovr mir apparmor properties-cpp) 14 | makedepends=(git cmake cmake-extras-git doxygen graphviz) 15 | source=('git+https://github.com/ubports/trust-store.git') 16 | sha256sums=('SKIP') 17 | 18 | BUILDENV+=('!check') # https://paste.ubuntu.com/p/NZr7FtGtWw/ 19 | 20 | prepare() { 21 | cd ${_pkgname} 22 | git checkout bionic 23 | } 24 | 25 | pkgver() { 26 | cd ${_pkgname} 27 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 28 | } 29 | 30 | build() { 31 | cd ${_pkgname} 32 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR="lib/" . 33 | make 34 | } 35 | 36 | check() { 37 | cd ${_pkgname} 38 | make ARGS+="--output-on-failure" test 39 | } 40 | 41 | package() { 42 | cd ${_pkgname} 43 | make DESTDIR="${pkgdir}/" install 44 | } 45 | # vim:set ts=2 sw=2 et: 46 | -------------------------------------------------------------------------------- /platform-api-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=platform-api-git 4 | _pkgname=platform-api 5 | pkgver=r1263.464a38b 6 | pkgrel=2 7 | pkgdesc='Platform API for system level capabilities' 8 | url='https://github.com/ubports/platform-api' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(GPL3) 11 | conflicts=(platform-api) 12 | provides=(platform-api) 13 | depends=(location-service-git url-dispatcher-git process-cpp) 14 | makedepends=(git cmake cmake-extras-git doxygen) 15 | source=('git+https://github.com/ubports/platform-api.git' 16 | 'hybris.patch') 17 | sha256sums=('SKIP' 18 | '4ad5879d7e6ba5d9c269dc59b30e6069d9846d40fbb66773170357375fdc0fbe') 19 | 20 | prepare() { 21 | cd ${_pkgname} 22 | git checkout bionic 23 | 24 | patch -Np1 -i "${srcdir}/hybris.patch" 25 | } 26 | 27 | pkgver() { 28 | cd ${_pkgname} 29 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 30 | } 31 | 32 | build() { 33 | cd ${_pkgname} 34 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr . 35 | make 36 | } 37 | 38 | check() { 39 | cd ${_pkgname} 40 | make ARGS+="--output-on-failure" test 41 | } 42 | 43 | package() { 44 | cd ${_pkgname} 45 | make DESTDIR="${pkgdir}/" install 46 | } 47 | # vim:set ts=2 sw=2 et: 48 | -------------------------------------------------------------------------------- /libusermetrics-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=libusermetrics-git 4 | _pkgname=libusermetrics 5 | pkgver=r477.a50ce9f 6 | pkgrel=3 7 | pkgdesc='Library for exporting anonymous metrics about users' 8 | url='https://github.com/ubports/libusermetrics' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(LGPL3 LGPL GPL) 11 | conflicts=(libusermetrics) 12 | provides=(libusermetrics) 13 | depends=(qt5-base qt5-xmlpatterns gsettings-qt apparmor click-git qdjango-git libqtdbustest-git) 14 | makedepends=(git cmake cmake-extras-git doxygen intltool) 15 | source=('git+https://github.com/ubports/libusermetrics.git') 16 | sha256sums=('SKIP') 17 | 18 | BUILDENV+=('!check') # Some tests are broken 19 | 20 | pkgver() { 21 | cd ${_pkgname} 22 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 23 | } 24 | 25 | prepare() { 26 | cd ${_pkgname} 27 | git checkout bionic 28 | } 29 | 30 | build() { 31 | cd ${_pkgname} 32 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR="lib/" -DCMAKE_INSTALL_LIBEXECDIR="lib/" . 33 | make 34 | } 35 | 36 | check() { 37 | cd ${_pkgname} 38 | make ARGS+="--output-on-failure" test 39 | } 40 | 41 | package() { 42 | cd ${_pkgname} 43 | make DESTDIR="${pkgdir}/" install 44 | } 45 | # vim:set ts=2 sw=2 et: 46 | -------------------------------------------------------------------------------- /history-service-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=history-service-git 4 | _pkgname=history-service 5 | pkgver=r940.75af530 6 | pkgrel=2 7 | pkgdesc='History service to store messages and calls' 8 | url='https://github.com/ubports/history-service' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(GPL) 11 | conflicts=(history-service) 12 | provides=(history-service) 13 | depends=(lcov gcovr libphonenumber telepathy-qt sqlite telepathy-mission-control qt-gstreamer qt5-pim-git) 14 | makedepends=(git cmake) 15 | source=('git+https://github.com/ubports/history-service.git') 16 | sha256sums=('SKIP') 17 | 18 | # -- Package 'QtGLib-2.0', required by 'virtual:world', not found (qt-gstreamer) 19 | BUILDENV+=('!check') # https://paste.ubuntu.com/p/hR9tBFXJ6Y/ 20 | 21 | prepare() { 22 | cd ${_pkgname} 23 | git checkout bionic 24 | } 25 | 26 | pkgver() { 27 | cd ${_pkgname} 28 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 29 | } 30 | 31 | build() { 32 | cd ${_pkgname} 33 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR="lib/" . 34 | make 35 | } 36 | 37 | check() { 38 | cd ${_pkgname} 39 | make ARGS+="--output-on-failure" test 40 | } 41 | 42 | package() { 43 | cd ${_pkgname} 44 | make DESTDIR="${pkgdir}/" install 45 | } 46 | # vim:set ts=2 sw=2 et: 47 | -------------------------------------------------------------------------------- /libqtdbustest-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=libqtdbustest-git 4 | _pkgname=libqtdbustest 5 | pkgver=r83.24e410e 6 | pkgrel=2 7 | pkgdesc='Library for testing DBus interactions using Qt' 8 | url='https://github.com/ubports/libqtdbustest' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(LGPL3) 11 | conflicts=(libqtdbustest) 12 | provides=(libqtdbustest) 13 | depends=(gcovr lcov gmock qt5-base) 14 | makedepends=(git cmake cmake-extras-git) 15 | checkdepends=(python-dbusmock python-dbus python-gobject) 16 | source=('git+https://github.com/ubports/libqtdbustest.git' 17 | 'SuicidalSleep.patch') 18 | sha256sums=('SKIP' 19 | 'adbb9680bf2293fd4694d35ba5876623dc12c6fc78a5f772817f15921d44c5ec') 20 | 21 | BUILDENV+=('!check') 22 | 23 | pkgver() { 24 | cd ${_pkgname} 25 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 26 | } 27 | 28 | prepare() { 29 | cd ${_pkgname} 30 | patch -Np1 -i "${srcdir}/SuicidalSleep.patch" 31 | } 32 | 33 | build() { 34 | cd ${_pkgname} 35 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR="lib/" -DCMAKE_INSTALL_LIBEXECDIR="lib/" . 36 | make 37 | } 38 | 39 | check() { 40 | cd ${_pkgname} 41 | make ARGS+="--output-on-failure" test 42 | } 43 | 44 | package() { 45 | cd ${_pkgname} 46 | make DESTDIR="${pkgdir}/" install 47 | } 48 | # vim:set ts=2 sw=2 et: 49 | -------------------------------------------------------------------------------- /settings-components-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=settings-components-git 4 | _pkgname=settings-components 5 | pkgver=r831.d66cac2 6 | pkgrel=3 7 | pkgdesc='Ubuntu settings components for Unity8' 8 | url='https://github.com/ubports/settings-components' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(LGPL GPL) 11 | conflicts=(settings-components) 12 | provides=(settings-components) 13 | depends=(xorg-server-xvfb qt5-quickcontrols) 14 | makedepends=(git cmake cmake-extras-git) 15 | source=('git+https://github.com/ubports/settings-components.git') 16 | sha256sums=('SKIP') 17 | 18 | BUILDENV+=('!check') # https://paste.ubuntu.com/p/gsfv2YX6Z5/ 19 | BUILD_DIR=build 20 | 21 | prepare() { 22 | cd ${_pkgname} 23 | git checkout bionic 24 | } 25 | 26 | pkgver() { 27 | cd ${_pkgname} 28 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 29 | } 30 | 31 | build() { 32 | cd ${_pkgname} 33 | mkdir -p ${BUILD_DIR} 34 | cd ${BUILD_DIR} 35 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR="lib/" .. 36 | make 37 | } 38 | 39 | check() { 40 | cd ${_pkgname}/${BUILD_DIR} 41 | make ARGS+="--output-on-failure" test 42 | } 43 | 44 | package() { 45 | cd ${_pkgname}/${BUILD_DIR} 46 | make DESTDIR="${pkgdir}/" install 47 | mv ${pkgdir}/usr/lib/qt5/ ${pkgdir}/usr/lib/qt/ 48 | } 49 | # vim:set ts=2 sw=2 et: 50 | -------------------------------------------------------------------------------- /location-service-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=location-service-git 4 | _pkgname=location-service 5 | pkgver=r951.142f6ca 6 | pkgrel=2 7 | pkgdesc='Location service aggregating position/velocity/heading updates and exporting them over dbus' 8 | url='https://github.com/ubports/location-service' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(LGPL GPL) 11 | conflicts=(location-service) 12 | provides=(location-service) 13 | depends=(boost net-cpp-git trust-store-git gtest gmock clang) 14 | makedepends=(git cmake cmake-extras-git doxygen) 15 | source=('git+https://github.com/ubports/location-service.git') 16 | sha256sums=('SKIP') 17 | 18 | #-- Package 'wpsapi', required by 'virtual:world', not found 19 | BUILDENV+=('!check') 20 | 21 | prepare() { 22 | cd ${_pkgname} 23 | git checkout bionic 24 | } 25 | 26 | pkgver() { 27 | cd ${_pkgname} 28 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 29 | } 30 | 31 | build() { 32 | cd ${_pkgname} 33 | cmake -DLOCATION_SERVICE_ENABLE_GPS_PROVIDER=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR="lib/" -DCMAKE_INSTALL_LIBEXECDIR="lib/" . 34 | make 35 | } 36 | 37 | check() { 38 | cd ${_pkgname} 39 | make ARGS+="--output-on-failure" test 40 | } 41 | 42 | package() { 43 | cd ${_pkgname} 44 | make DESTDIR="${pkgdir}/" install 45 | } 46 | # vim:set ts=2 sw=2 et: 47 | -------------------------------------------------------------------------------- /ubuntu-ui-toolkit-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = ubuntu-ui-toolkit-git 2 | pkgdesc = Qt Components for Ubuntu 3 | pkgver = r18022.d19600f2e 4 | pkgrel = 1 5 | url = https://github.com/ubports/ubuntu-ui-toolkit 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = LGPL 11 | makedepends = git 12 | depends = qt5-base 13 | depends = qt5-quickcontrols 14 | depends = lttng-ust 15 | depends = libnih 16 | depends = qt5-systems 17 | depends = qt5-pim 18 | depends = qt5-svg 19 | depends = qt5-feedback 20 | depends = ubuntu-themes 21 | depends = qt5-graphicaleffects 22 | depends = bluez-libs 23 | provides = ubuntu-ui-toolkit 24 | conflicts = ubuntu-ui-toolkit 25 | source = git+https://github.com/ubports/ubuntu-ui-toolkit.git#branch=bionic 26 | source = NoWarns.patch 27 | source = dpkg.patch 28 | source = https://github.com/ubports/ubuntu-ui-toolkit/pull/29.patch 29 | source = https://github.com/z3ntu/ubuntu-ui-toolkit/commit/ab542b01f461951dd732d8eb1bdb4bf5df4eea6e.patch 30 | sha256sums = SKIP 31 | sha256sums = 3b8a3165161d5c695a7f3f8f3b08a3de11451b8f52276b5b1856730f0aa557c9 32 | sha256sums = 5851aec4b72ddd1556494ab188c6de64ccaa77a1b574a0bd2631916300ac242a 33 | sha256sums = 3933506b2f519ad94c0184b00ff7f40f5716eba79057b79a3dc08e098ae52f99 34 | sha256sums = 807fead1010f0e4a8cbc66c9a4571d3d3211420a7df23b3e348cb836e4010582 35 | 36 | pkgname = ubuntu-ui-toolkit-git 37 | 38 | -------------------------------------------------------------------------------- /ubuntu-push/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = ubuntu-push-git 2 | pkgdesc = Protocol, client, and development code for Ubuntu Touch push notifications 3 | pkgver = r2434.c4bb268 4 | pkgrel = 1 5 | url = https://github.com/ubports/ubuntu-push 6 | arch = x86_64 7 | license = GPL 8 | makedepends = git 9 | makedepends = go 10 | makedepends = click 11 | makedepends = url-dispatcher 12 | makedepends = ubuntu-app-launch 13 | makedepends = indicator-messages 14 | provides = ubuntu-push 15 | conflicts = ubuntu-push 16 | source = git+https://github.com/ubports/ubuntu-push 17 | source = 0001-Remove-v0-suffix-from-go-xdg-imports.patch 18 | source = 0002-Remove-v1-suffix-from-go-dbus-imports.patch 19 | source = 0003-Initial-conversion-to-Go-modules.patch 20 | source = 0004-cual-link-against-ual-3.patch 21 | sha512sums = SKIP 22 | sha512sums = 89c9e7b705b95225d2b82395100eae0078fa15c5acc4e84f536a76f08b2a0c8f9f0df5ce3fce2ae45a77b13ab834a12540f5f22f39614cf36cd130cf01c8f7d6 23 | sha512sums = 728af821c5fba83d0b3c47d29d774a1fda947dc55e725fda6989f91130878dc62cdc5aea99332f13865d18719536b8f70add5af79535bed6252eb4336d1fd0ff 24 | sha512sums = 2ac56d0c75e020463d841a017db31ea4c9dc26177e55d6a408a44545cbda376c5277ae91588b5f4fb549b4516303398496489d9d6260bb197e44bb2fc7f71309 25 | sha512sums = c3472012d999fce9f9fb1d062ddf77cd401ca0197618e5ae4633f4cff88f699f8aca373ccd89740adc16b8a9aeee26a96a75dff0ce0bdd2f99058fb993b0b37f 26 | 27 | pkgname = ubuntu-push-git 28 | 29 | -------------------------------------------------------------------------------- /indicator-network-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=indicator-network-git 4 | _pkgname=indicator-network 5 | pkgver=r1949.27fabbd2 6 | pkgrel=3 7 | pkgdesc='Network indicator' 8 | url='https://github.com/ubports/indicator-network' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(LGPL3 GPL3) 11 | conflicts=(indicator-network) 12 | provides=(indicator-network) 13 | depends=(lcov gcovr gsettings-qt ofono url-dispatcher-git libqofono libqtdbustest-git libqtdbusmock-git gmenuharness-bzr) 14 | makedepends=(git cmake cmake-extras-git doxygen) 15 | checkdepends=() 16 | source=('git+https://github.com/ubports/indicator-network.git') 17 | sha256sums=('SKIP') 18 | 19 | BUILDENV+=('!check') # Hangs 20 | 21 | pkgver() { 22 | cd ${_pkgname} 23 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 24 | } 25 | 26 | prepare() { 27 | cd ${_pkgname} 28 | git checkout bionic 29 | } 30 | 31 | build() { 32 | cd ${_pkgname} 33 | mkdir -p build 34 | cd build 35 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR="lib/" -DCMAKE_INSTALL_LIBEXECDIR="lib/" .. 36 | make 37 | } 38 | 39 | check() { 40 | cd ${_pkgname}/build 41 | export PYTHONIOENCODING=UTF-8 42 | make ARGS+="--output-on-failure" test 43 | } 44 | 45 | package() { 46 | cd ${_pkgname}/build 47 | make DESTDIR="${pkgdir}/" install 48 | mv ${pkgdir}/usr/lib/qt5/ ${pkgdir}/usr/lib/qt/ 49 | } 50 | # vim:set ts=2 sw=2 et: 51 | -------------------------------------------------------------------------------- /content-hub-git/QtArg.patch: -------------------------------------------------------------------------------- 1 | diff --git a/doc/qml/CMakeLists.txt b/doc/qml/CMakeLists.txt 2 | index 7036b89..3d94bc4 100644 3 | --- a/doc/qml/CMakeLists.txt 4 | +++ b/doc/qml/CMakeLists.txt 5 | @@ -3,7 +3,7 @@ FIND_PROGRAM(QDOC_EXECUTABLE qdoc) 6 | if(QDOC_EXECUTABLE) 7 | configure_file(${CMAKE_CURRENT_SOURCE_DIR}/ubuntu-content-hub.qdocconf.in ${CMAKE_CURRENT_BINARY_DIR}/ubuntu-content-hub.qdocconf @ONLY) 8 | add_custom_target(qmldoc 9 | -${QDOC_EXECUTABLE} -qt=qt5 ${CMAKE_CURRENT_BINARY_DIR}/ubuntu-content-hub.qdocconf 10 | +${QDOC_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/ubuntu-content-hub.qdocconf 11 | WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} 12 | COMMENT "Generating QML API documentation with qdoc" VERBATIM 13 | ) 14 | diff --git a/import/Ubuntu/Content/CMakeLists.txt b/import/Ubuntu/Content/CMakeLists.txt 15 | index 563f89b..e785d28 100644 16 | --- a/import/Ubuntu/Content/CMakeLists.txt 17 | +++ b/import/Ubuntu/Content/CMakeLists.txt 18 | @@ -95,7 +95,7 @@ endif() 19 | 20 | if(NOT CMAKE_CROSSCOMPILING) 21 | add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/plugins.qmltypes 22 | - COMMAND qmlplugindump -qt=qt5 -noinstantiate -notrelocatable Ubuntu.Content 1.1 ../../ > ${CMAKE_CURRENT_BINARY_DIR}/plugins.qmltypes 23 | + COMMAND qmlplugindump -noinstantiate -notrelocatable Ubuntu.Content 1.1 ../../ > ${CMAKE_CURRENT_BINARY_DIR}/plugins.qmltypes 24 | DEPENDS ${PLUGIN} 25 | WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" 26 | ) 27 | -------------------------------------------------------------------------------- /gmenuharness-bzr/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=gmenuharness-bzr 4 | _pkgname=gmenuharness 5 | pkgver=r31 6 | pkgrel=2 7 | pkgdesc="Testing enablement library for projects exporting GiO's gmenu/gaction endpoints" 8 | url='https://launchpad.net/gmenuharness' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=() 11 | conflicts=(gmenuharness) 12 | provides=(gmenuharness) 13 | depends=(unity-api-git gtest libqtdbustest-git) 14 | makedepends=(bzr cmake cmake-extras-git doxygen) 15 | source=("bzr+lp:${_pkgname}" 16 | 'Functional1.patch' 17 | 'Functional2.patch') 18 | sha256sums=('SKIP' 19 | 'b055a7811ebe1f347edbdb5e24a1f3264bf6966398a44efc3f1fb435eb7ea223' 20 | 'b8b2733a1c07617613ec68e678a8cdf7135490772c6dfee22e86ab0d0a33f2ec') 21 | 22 | pkgver() { 23 | cd ${_pkgname} 24 | echo "r$(bzr revno)" 25 | } 26 | 27 | prepare() { 28 | cd ${_pkgname} 29 | 30 | if [ ! -f ${srcdir}/patched ]; then 31 | patch -Np0 -i "${srcdir}/Functional1.patch" 32 | patch -Np0 -i "${srcdir}/Functional2.patch" 33 | touch ${srcdir}/patched 34 | fi 35 | } 36 | 37 | build() { 38 | cd ${_pkgname} 39 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR="lib/" . 40 | make 41 | } 42 | 43 | check() { 44 | cd ${_pkgname} 45 | make ARGS+="--output-on-failure" check 46 | } 47 | 48 | package() { 49 | cd ${_pkgname} 50 | make DESTDIR="${pkgdir}/" install 51 | } 52 | # vim:set ts=2 sw=2 et: 53 | -------------------------------------------------------------------------------- /indicator-messages-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | pkgname=indicator-messages-git 2 | _pkgname=indicator-messages 3 | pkgver=r1979.1d60a2d 4 | pkgrel=1 5 | pkgdesc='Notifications indicator' 6 | url='https://github.com/ubports/indicator-messages' 7 | arch=(x86_64 i686 armv7h aarch64) 8 | license=(GPL3) 9 | conflicts=(indicator-messages) 10 | provides=(indicator-messages) 11 | depends=(accountsservice-ubuntu) 12 | makedepends=(git gobject-introspection intltool gtk-doc dbus-test-runner) 13 | source=('git+https://github.com/ubports/indicator-messages.git' 14 | '0001-Replace-gnome-common-in-autogen.sh.patch' 15 | '0002-Fix-build-with-new-glib-versions.patch') 16 | sha256sums=('SKIP' 17 | '023ee2b2f057588f2dc8cc1827c3dfddc965d87e40b5292fd5882f1e16878aa6' 18 | '1bd5780d16c228b008cb4170f4971609189223d09e65929541a9101969d8e975') 19 | 20 | pkgver() { 21 | cd ${_pkgname} 22 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 23 | } 24 | 25 | prepare() { 26 | cd ${_pkgname} 27 | patch -Np1 -i ../0001-Replace-gnome-common-in-autogen.sh.patch 28 | patch -Np1 -i ../0002-Fix-build-with-new-glib-versions.patch 29 | } 30 | 31 | build() { 32 | cd ${_pkgname} 33 | ./autogen.sh 34 | ./configure --prefix=/usr --disable-packagekit 35 | make 36 | } 37 | 38 | check() { 39 | cd ${_pkgname} 40 | make check 41 | } 42 | 43 | package() { 44 | cd ${_pkgname} 45 | make DESTDIR="${pkgdir}/" PYTHON_INSTALL_FLAGS="--root=${pkgdir}/" install 46 | } 47 | 48 | # vim:set ts=2 sw=2 et: 49 | -------------------------------------------------------------------------------- /unity8-git/.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = unity8-git 2 | pkgdesc = Unity 8 shell 3 | pkgver = r17991.18c3f6f3c 4 | pkgrel = 2 5 | url = https://github.com/ubports/unity8 6 | arch = x86_64 7 | arch = i686 8 | arch = armv7h 9 | arch = aarch64 10 | license = LGPL3 11 | checkdepends = xorg-server-xvfb 12 | makedepends = git 13 | makedepends = cmake 14 | makedepends = cmake-extras-git 15 | makedepends = doxygen 16 | depends = lcov 17 | depends = gcovr 18 | depends = geonames-git 19 | depends = unity-api-git 20 | depends = qmenumodel-git 21 | depends = gnome-desktop 22 | depends = ubuntu-app-launch-git 23 | depends = ubuntu-ui-toolkit-git 24 | depends = libqtdbustest-git 25 | depends = libqtdbusmock-git 26 | depends = system-settings-git 27 | depends = indicator-network-git 28 | depends = libusermetrics-git 29 | depends = liblightdm-qt5 30 | depends = settings-components-git 31 | depends = unity7-schemas 32 | depends = gsettings-ubuntu-touch-schemas-git 33 | depends = ubuntu-wallpapers 34 | provides = unity8 35 | conflicts = unity8 36 | source = git+https://github.com/ubports/unity8.git 37 | source = https://github.com/ubports/unity8/commit/61e58b78484d182fec0e783b9674a2e2b89eec83.patch 38 | source = AndroidAway.patch 39 | source = NoDpkgParse.patch 40 | sha256sums = SKIP 41 | sha256sums = SKIP 42 | sha256sums = ba26a1235461f531f9961a306da22593db92d3bd08a84139ef4ae2d042a2b1cc 43 | sha256sums = ef149765d0c8c5f2366d7bab4d7b3084014b57258f759ed41d7c0efd1c75f69e 44 | 45 | pkgname = unity8-git 46 | 47 | -------------------------------------------------------------------------------- /url-dispatcher-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=url-dispatcher-git 4 | _pkgname=url-dispatcher 5 | pkgver=r735.b9a83f5 6 | pkgrel=1 7 | pkgdesc='Service to allow sending of URLs and get handlers started' 8 | url='https://github.com/ubports/url-dispatcher' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(LGPL) 11 | conflicts=(url-dispatcher) 12 | provides=(url-dispatcher) 13 | depends=(ubuntu-app-launch-git intltool apparmor) 14 | makedepends=(git cmake cmake-extras-git dbus-test-runner lcov gcovr gmock) 15 | checkdepends=(python-testtools python-nose python-dbusmock) 16 | source=('git+https://github.com/ubports/url-dispatcher.git' 17 | 'no-discarded-qualifiers.patch') 18 | sha256sums=('SKIP' 19 | 'acffad6f0cf98faedea4c4ef917e0fcca3f5faa61d95afb55f617ff94ff32d51') 20 | 21 | prepare() { 22 | cd ${_pkgname} 23 | git checkout bionic 24 | 25 | sed -i 's/-Wall/-Wall -Wno-deprecated-declarations/g' CMakeLists.txt 26 | patch -Np1 -i "${srcdir}/no-discarded-qualifiers.patch" 27 | } 28 | 29 | pkgver() { 30 | cd ${_pkgname} 31 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 32 | } 33 | 34 | build() { 35 | cd ${_pkgname} 36 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR="lib/" -DCMAKE_INSTALL_LIBEXECDIR="lib/" . 37 | make 38 | } 39 | 40 | check() { 41 | cd ${_pkgname} 42 | make ARGS+="--output-on-failure" test 43 | } 44 | 45 | package() { 46 | cd ${_pkgname} 47 | make DESTDIR="${pkgdir}/" install 48 | } 49 | # vim:set ts=2 sw=2 et: 50 | -------------------------------------------------------------------------------- /ubuntu-download-manager-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=ubuntu-download-manager-git 4 | _pkgname=ubuntu-download-manager 5 | pkgver=r2545.f0dea590 6 | pkgrel=1 7 | pkgdesc='Provides a service for downloading files while an application is suspended' 8 | url='https://github.com/ubports/ubuntu-download-manager' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(LGPL) 11 | conflicts=(ubuntu-download-manager) 12 | provides=(ubuntu-download-manager) 13 | depends=(boost dbus-test-runner gmock qt5-base qt5-declarative libnih google-glog) 14 | makedepends=(git doxygen cmake cmake-extras-git gcovr lcov) 15 | source=('git+https://github.com/ubports/ubuntu-download-manager.git#branch=xenial' 16 | 'QtArg.patch') 17 | sha256sums=('SKIP' 18 | '8182121308e04f60e29dfc1e3c8e221413b5a905ea1302e75acbe95a6bb7f866') 19 | 20 | BUILDENV+=('!check') # Some tests are broken 21 | 22 | prepare() { 23 | cd ${_pkgname} 24 | patch -Np1 -i "${srcdir}/QtArg.patch" 25 | } 26 | 27 | pkgver() { 28 | cd ${_pkgname} 29 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 30 | } 31 | 32 | build() { 33 | cd ${_pkgname} 34 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR="lib/" -DCMAKE_INSTALL_LIBEXECDIR="lib/" . 35 | make 36 | } 37 | 38 | check() { 39 | cd ${_pkgname} 40 | make ARGS+="--output-on-failure" test 41 | } 42 | 43 | package() { 44 | cd ${_pkgname} 45 | make DESTDIR="${pkgdir}/" install 46 | mv ${pkgdir}/usr/lib/qt5/ ${pkgdir}/usr/lib/qt/ 47 | } 48 | # vim:set ts=2 sw=2 et: 49 | -------------------------------------------------------------------------------- /net-cpp-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=net-cpp-git 4 | _pkgname=net-cpp 5 | pkgver=r141.09cac6a 6 | pkgrel=2 7 | pkgdesc='A simple yet beautiful networking API for C++11' 8 | url='https://github.com/ubports/net-cpp' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(LGPL) 11 | conflicts=(net-cpp) 12 | provides=(net-cpp) 13 | depends=(boost process-cpp gmock graphviz properties-cpp jsoncpp python2-flask-script python2-flask python2-decorator python2-simplejson curl) 14 | makedepends=(git cmake cmake-extras-git doxygen bsdiff) 15 | source=('git+https://github.com/ubports/net-cpp.git' 16 | 'Python.patch' 17 | 'HTTPBin.patch') 18 | sha256sums=('SKIP' 19 | '36b25f932cca5c3e80882424c0884d0ee03774dd8df9ae243163af0417ac7f86' 20 | '1ae39a76834511a49712a88c415f7411cde4fbe480e687e0879ece9448885549') 21 | 22 | prepare() { 23 | cd ${_pkgname} 24 | git checkout bionic 25 | 26 | patch -Np1 -i "${srcdir}/Python.patch" 27 | 28 | cp tests/httpbin.tar.bz2 tests/httpbin.tar.bz2.old 29 | bspatch tests/httpbin.tar.bz2.old tests/httpbin.tar.bz2 "${srcdir}/HTTPBin.patch" 30 | } 31 | 32 | pkgver() { 33 | cd ${_pkgname} 34 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 35 | } 36 | 37 | build() { 38 | cd ${_pkgname} 39 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR="lib/" . 40 | make 41 | } 42 | 43 | check() { 44 | cd ${_pkgname} 45 | make ARGS+="--output-on-failure" test 46 | } 47 | 48 | package() { 49 | cd ${_pkgname} 50 | make DESTDIR="${pkgdir}/" install 51 | } 52 | # vim:set ts=2 sw=2 et: 53 | -------------------------------------------------------------------------------- /ubuntu-ui-toolkit-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=ubuntu-ui-toolkit-git 4 | _pkgname=ubuntu-ui-toolkit 5 | pkgver=r18037.d7a3b681c 6 | pkgrel=1 7 | pkgdesc='Qt Components for Ubuntu' 8 | url='https://github.com/ubports/ubuntu-ui-toolkit' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(LGPL) 11 | conflicts=(ubuntu-ui-toolkit) 12 | provides=(ubuntu-ui-toolkit) 13 | depends=(qt5-base qt5-quickcontrols lttng-ust libnih qt5-systems qt5-pim qt5-svg qt5-feedback ubuntu-themes qt5-graphicaleffects bluez-libs) 14 | makedepends=(git) 15 | checkdepends=() 16 | source=('git+https://github.com/ubports/ubuntu-ui-toolkit.git#branch=xenial' 17 | 'NoWarns.patch' 18 | 'dpkg.patch') 19 | sha256sums=('SKIP' 20 | '3b8a3165161d5c695a7f3f8f3b08a3de11451b8f52276b5b1856730f0aa557c9' 21 | '5851aec4b72ddd1556494ab188c6de64ccaa77a1b574a0bd2631916300ac242a') 22 | 23 | BUILDENV+=('!check') # It needs a DISPLAY, and I am too tired to set it up now 24 | 25 | prepare() { 26 | cd ${_pkgname} 27 | 28 | patch -Np1 -i "${srcdir}/NoWarns.patch" 29 | patch -Np1 -i "${srcdir}/dpkg.patch" 30 | } 31 | 32 | pkgver() { 33 | cd ${_pkgname} 34 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 35 | } 36 | 37 | build() { 38 | cd ${_pkgname} 39 | qmake CONFIG+=no_docs 40 | make 41 | } 42 | 43 | check() { 44 | cd ${_pkgname} 45 | make check TESTARGS="-silent" 46 | } 47 | 48 | package() { 49 | cd ${_pkgname} 50 | mkdir -p /tmp/runtime-builduser 51 | XDG_RUNTIME_DIR=/tmp/runtime-builduser make INSTALL_ROOT="${pkgdir}/" install 52 | } 53 | # vim:set ts=2 sw=2 et: 54 | -------------------------------------------------------------------------------- /content-hub-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=content-hub-git 4 | _pkgname=content-hub 5 | pkgver=r1509.3f04620 6 | pkgrel=1 7 | pkgdesc='Content sharing/picking infrastructure and service' 8 | url='https://github.com/ubports/content-hub' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(LGPL3) 11 | conflicts=(content-hub) 12 | provides=(content-hub) 13 | depends=(lcov gcovr gmock ubuntu-app-launch-git ubuntu-download-manager-git gsettings-qt apparmor libnotify ubuntu-ui-toolkit-git) 14 | makedepends=(git cmake cmake-extras-git doxygen graphviz) 15 | checkdepends=(xorg-server-xvfb) 16 | source=('git+https://github.com/ubports/content-hub.git' 17 | 'QtArg.patch') 18 | sha256sums=('SKIP' 19 | '59f927b1cda19e082fce433a852665f26e40f399433caca5fa0e7841d95d48f0') 20 | 21 | BUILDENV+=('!check') # https://paste.ubuntu.com/p/XXm29c8rv8/ 22 | 23 | pkgver() { 24 | cd ${_pkgname} 25 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 26 | } 27 | 28 | prepare() { 29 | cd ${_pkgname} 30 | git checkout bionic 31 | 32 | patch -Np1 -i "${srcdir}/QtArg.patch" 33 | } 34 | 35 | build() { 36 | cd ${_pkgname} 37 | mkdir -p /tmp/runtime-builduser 38 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR="lib/" -DCMAKE_INSTALL_LIBEXECDIR="lib/" . 39 | XDG_RUNTIME_DIR=/tmp/runtime-builduser make 40 | } 41 | 42 | check() { 43 | cd ${_pkgname} 44 | make ARGS+="--output-on-failure" test 45 | } 46 | 47 | package() { 48 | cd ${_pkgname} 49 | make DESTDIR="${pkgdir}/" install 50 | mv ${pkgdir}/usr/lib/qt5/ ${pkgdir}/usr/lib/qt/ 51 | } 52 | # vim:set ts=2 sw=2 et: 53 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "lcov"] 2 | path = lcov 3 | url = https://aur.archlinux.org/lcov.git 4 | [submodule "dbus-cpp"] 5 | path = dbus-cpp 6 | url = https://aur.archlinux.org/dbus-cpp.git 7 | [submodule "process-cpp"] 8 | path = process-cpp 9 | url = https://aur.archlinux.org/process-cpp.git 10 | [submodule "properties-cpp"] 11 | path = properties-cpp 12 | url = https://aur.archlinux.org/properties-cpp.git 13 | [submodule "perl-rpc-xml"] 14 | path = perl-rpc-xml 15 | url = https://aur.archlinux.org/perl-rpc-xml.git 16 | [submodule "zmqpp"] 17 | path = zmqpp 18 | url = https://aur.archlinux.org/zmqpp.git 19 | [submodule "lttng-tools"] 20 | path = lttng-tools 21 | url = https://aur.archlinux.org/lttng-tools.git 22 | [submodule "ubuntu-themes"] 23 | path = ubuntu-themes 24 | url = https://aur.archlinux.org/ubuntu-themes.git 25 | [submodule "humanity-icon-theme"] 26 | path = humanity-icon-theme 27 | url = https://aur.archlinux.org/humanity-icon-theme.git 28 | [submodule "ofono"] 29 | path = ofono 30 | url = https://aur.archlinux.org/ofono.git 31 | [submodule "mir"] 32 | path = mir 33 | url = https://aur.archlinux.org/mir.git 34 | [submodule "mir-git"] 35 | path = mir-git 36 | url = https://aur.archlinux.org/mir-git.git 37 | [submodule "ubuntu-wallpapers"] 38 | path = ubuntu-wallpapers 39 | url = https://aur.archlinux.org/ubuntu-wallpapers.git 40 | [submodule "wlcs"] 41 | path = wlcs 42 | url = https://aur.archlinux.org/wlcs.git 43 | [submodule "systemtap"] 44 | path = systemtap 45 | url = https://aur.archlinux.org/systemtap.git 46 | [submodule "python2-flask-script"] 47 | path = python2-flask-script 48 | url = https://aur.archlinux.org/python2-flask-script.git 49 | -------------------------------------------------------------------------------- /system-settings-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=system-settings-git 4 | _pkgname=system-settings 5 | pkgver=r7160.26e4f74d 6 | pkgrel=2 7 | pkgdesc='System Settings application for Unity8' 8 | url='https://github.com/ubports/system-settings' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(GPL3) 11 | conflicts=(system-settings) 12 | provides=(system-settings) 13 | depends=(trust-store-git click-git gnome-desktop ubuntu-app-launch-git geonames-git libqtdbusmock-git ubuntu-ui-toolkit-git gsettings-qt-git accountsservice-ubuntu upower ubuntu-themes qmenumodel-git libqofono content-hub-git) 14 | makedepends=(git cmake intltool) 15 | checkdepends=(xorg-server-xvfb) 16 | source=('git+https://github.com/ubports/system-settings.git') 17 | sha256sums=('SKIP') 18 | 19 | BUILDENV+=('!check') # Some tests fail 20 | 21 | pkgver() { 22 | cd ${_pkgname} 23 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 24 | } 25 | 26 | prepare() { 27 | cd ${_pkgname} 28 | git checkout bionic 29 | 30 | sed -i 's/update.cpp//g' plugins/system-update/CMakeLists.txt 31 | sed -i 's/apt-pkg//g' plugins/system-update/CMakeLists.txt 32 | sed -i 's/apt-pkg//g' tests/mocks/Ubuntu/SystemSettings/Update/CMakeLists.txt 33 | echo 'message("No updates sorry")' > tests/plugins/system-update/CMakeLists.txt 34 | } 35 | 36 | build() { 37 | cd ${_pkgname} 38 | mkdir -p build 39 | cd build 40 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR="lib/" .. 41 | make 42 | } 43 | 44 | check() { 45 | cd ${_pkgname}/build 46 | make ARGS+="--output-on-failure" test 47 | } 48 | 49 | package() { 50 | cd ${_pkgname}/build 51 | make DESTDIR="${pkgdir}/" install 52 | } 53 | # vim:set ts=2 sw=2 et: 54 | -------------------------------------------------------------------------------- /qtmir-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=qtmir-git 4 | _pkgname=qtmir 5 | pkgver=r2374.f77ed5dd 6 | pkgrel=3 7 | pkgdesc='Qt platform abstraction (QPA) plugin for a Mir server' 8 | url='https://github.com/ubports/qtmir' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(LGPL) 11 | conflicts=(qtmir) 12 | provides=(qtmir) 13 | depends=(qt5-base qt5-quickcontrols qt5-sensors mir-git process-cpp ubuntu-app-launch-git gsettings-qt-git libqtdbustest-git libqtdbusmock-git content-hub-git url-dispatcher-git glm valgrind) 14 | makedepends=(git cmake cmake-extras-git gtest) 15 | source=('git+https://github.com/ubports/qtmir.git' 16 | 'moc.patch' 17 | 'nowerror.patch') 18 | sha256sums=('SKIP' 19 | '5338271504bb308ec80ca2b5879451b37aec52f6b3cc9919b7dabe454f1d1ce2' 20 | 'f6aff7b48ade3876739a940de19cc404dca53331a19e15b95f825096d8b96d9c') 21 | 22 | BUILDENV+=('!check') 23 | 24 | BUILD_DIR=build 25 | 26 | prepare() { 27 | cd ${_pkgname} 28 | git checkout xenial_-_edge_-_wayland 29 | 30 | sed -i 's/ubuntu-app-launch-2/ubuntu-app-launch-3/g' CMakeLists.txt 31 | patch -Np1 -i "${srcdir}/moc.patch" 32 | patch -Np1 -i "${srcdir}/nowerror.patch" 33 | } 34 | 35 | pkgver() { 36 | cd ${_pkgname} 37 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 38 | } 39 | 40 | build() { 41 | cd ${_pkgname} 42 | mkdir -p ${BUILD_DIR} 43 | cd ${BUILD_DIR} 44 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR="lib/" .. 45 | make 46 | } 47 | 48 | check() { 49 | cd ${_pkgname}/${BUILD_DIR} 50 | make ARGS+="--output-on-failure" test 51 | } 52 | 53 | package() { 54 | cd ${_pkgname}/${BUILD_DIR} 55 | make DESTDIR="${pkgdir}/" install 56 | mv ${pkgdir}/usr/lib/qt5/ ${pkgdir}/usr/lib/qt/ 57 | } 58 | # vim:set ts=2 sw=2 et: 59 | -------------------------------------------------------------------------------- /ubuntu-app-launch-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=ubuntu-app-launch-git 4 | _pkgname=ubuntu-app-launch 5 | pkgver=r3022.bde4305 6 | pkgrel=4 7 | pkgdesc='Session init system job for Launching Applications' 8 | url='https://github.com/ubports/ubuntu-app-launch' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(GPL) 11 | conflicts=(ubuntu-app-launch) 12 | provides=(ubuntu-app-launch) 13 | depends=(zeitgeist gobject-introspection lttng-ust mir libertine-git unity-api-git properties-cpp curl) 14 | makedepends=(git cmake cmake-extras-git dbus-test-runner gmock lcov gcovr) 15 | source=('git+https://github.com/ubports/ubuntu-app-launch.git' 16 | 'FormatTruncation.patch' 17 | 'Gtest.patch') 18 | sha256sums=('SKIP' 19 | 'db5684a2f42a664d1e1c10af2e1ff6f0edb43d63e7936d37ca75c575875f7f97' 20 | '3c0a88fce3e8af6ac648a026b2fe592b614b511763ad9defeb87659f29b4a1bd') 21 | 22 | BUILDENV+=('!check') # Some tests are broken 23 | 24 | prepare() { 25 | cd ${_pkgname} 26 | git checkout bionic 27 | 28 | patch -Np1 -i "${srcdir}/FormatTruncation.patch" 29 | patch -Np1 -i "${srcdir}/Gtest.patch" 30 | } 31 | 32 | pkgver() { 33 | cd ${_pkgname} 34 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 35 | } 36 | 37 | build() { 38 | cd ${_pkgname} 39 | sed -i 's/-std=gnu99/-std=gnu99 -Wno-deprecated-declarations/g' CMakeLists.txt 40 | sed -i 's/-std=c++11/-std=c++11 -Wno-deprecated-declarations/g' CMakeLists.txt 41 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR="lib/" -DCMAKE_INSTALL_LIBEXECDIR="lib/" . 42 | make 43 | } 44 | 45 | check() { 46 | cd ${_pkgname} 47 | make ARGS+="--output-on-failure" test 48 | } 49 | 50 | package() { 51 | cd ${_pkgname} 52 | make DESTDIR="${pkgdir}/" install 53 | } 54 | # vim:set ts=2 sw=2 et: 55 | -------------------------------------------------------------------------------- /unity8-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | 3 | pkgname=unity8-git 4 | _pkgname=unity8 5 | pkgver=r17991.18c3f6f3c 6 | pkgrel=2 7 | pkgdesc='Unity 8 shell' 8 | url='https://github.com/ubports/unity8' 9 | arch=(x86_64 i686 armv7h aarch64) 10 | license=(LGPL3) 11 | conflicts=(unity8) 12 | provides=(unity8) 13 | depends=(lcov gcovr geonames-git unity-api-git qmenumodel-git gnome-desktop ubuntu-app-launch-git ubuntu-ui-toolkit-git libqtdbustest-git libqtdbusmock-git system-settings-git indicator-network-git libusermetrics-git liblightdm-qt5 settings-components-git unity7-schemas gsettings-ubuntu-touch-schemas-git ubuntu-wallpapers) 14 | makedepends=(git cmake cmake-extras-git doxygen) 15 | checkdepends=(xorg-server-xvfb) 16 | source=('git+https://github.com/ubports/unity8.git' 17 | 'https://github.com/ubports/unity8/commit/61e58b78484d182fec0e783b9674a2e2b89eec83.patch' 18 | 'AndroidAway.patch' 19 | 'NoDpkgParse.patch') 20 | sha256sums=('SKIP' 21 | 'SKIP' 22 | 'ba26a1235461f531f9961a306da22593db92d3bd08a84139ef4ae2d042a2b1cc' 23 | 'ef149765d0c8c5f2366d7bab4d7b3084014b57258f759ed41d7c0efd1c75f69e') 24 | 25 | BUILDENV+=('!check') # https://paste.ubuntu.com/p/2d33RJX4W8/ 26 | 27 | pkgver() { 28 | cd ${_pkgname} 29 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 30 | } 31 | 32 | prepare() { 33 | cd ${_pkgname} 34 | git checkout bionic 35 | 36 | patch -Np1 -i "${srcdir}/61e58b78484d182fec0e783b9674a2e2b89eec83.patch" 37 | patch -Np1 -i "${srcdir}/AndroidAway.patch" 38 | patch -Np1 -i "${srcdir}/NoDpkgParse.patch" 39 | } 40 | 41 | build() { 42 | cd ${_pkgname} 43 | mkdir -p build 44 | cd build 45 | cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR="lib/" .. 46 | make 47 | } 48 | 49 | check() { 50 | cd ${_pkgname}/build 51 | make ARGS+="--output-on-failure" test 52 | } 53 | 54 | package() { 55 | cd ${_pkgname}/build 56 | make DESTDIR="${pkgdir}/" install 57 | } 58 | # vim:set ts=2 sw=2 et: 59 | -------------------------------------------------------------------------------- /ubuntu-push/PKGBUILD: -------------------------------------------------------------------------------- 1 | pkgname=ubuntu-push-git 2 | _pkgname=ubuntu-push 3 | pkgver=r2434.c4bb268 4 | pkgrel=1 5 | pkgdesc="Protocol, client, and development code for Ubuntu Touch push notifications" 6 | arch=('x86_64') 7 | url="https://github.com/ubports/ubuntu-push" 8 | license=('GPL') 9 | depends=() 10 | makedepends=('git' 'go' 'click' 'url-dispatcher' 'ubuntu-app-launch' 'indicator-messages') 11 | provides=('ubuntu-push') 12 | conflicts=('ubuntu-push') 13 | source=("git+https://github.com/ubports/ubuntu-push" 14 | 0001-Remove-v0-suffix-from-go-xdg-imports.patch 15 | 0002-Remove-v1-suffix-from-go-dbus-imports.patch 16 | 0003-Initial-conversion-to-Go-modules.patch 17 | 0004-cual-link-against-ual-3.patch) 18 | sha512sums=('SKIP' 19 | '89c9e7b705b95225d2b82395100eae0078fa15c5acc4e84f536a76f08b2a0c8f9f0df5ce3fce2ae45a77b13ab834a12540f5f22f39614cf36cd130cf01c8f7d6' 20 | '728af821c5fba83d0b3c47d29d774a1fda947dc55e725fda6989f91130878dc62cdc5aea99332f13865d18719536b8f70add5af79535bed6252eb4336d1fd0ff' 21 | '2ac56d0c75e020463d841a017db31ea4c9dc26177e55d6a408a44545cbda376c5277ae91588b5f4fb549b4516303398496489d9d6260bb197e44bb2fc7f71309' 22 | 'c3472012d999fce9f9fb1d062ddf77cd401ca0197618e5ae4633f4cff88f699f8aca373ccd89740adc16b8a9aeee26a96a75dff0ce0bdd2f99058fb993b0b37f') 23 | 24 | pkgver() { 25 | cd ${_pkgname} 26 | echo "r$(git rev-list --count HEAD).$(git describe --always)" 27 | } 28 | 29 | prepare(){ 30 | cd "$_pkgname" 31 | patch -Np1 -i ../0001-Remove-v0-suffix-from-go-xdg-imports.patch 32 | patch -Np1 -i ../0002-Remove-v1-suffix-from-go-dbus-imports.patch 33 | patch -Np1 -i ../0003-Initial-conversion-to-Go-modules.patch 34 | patch -Np1 -i ../0004-cual-link-against-ual-3.patch 35 | } 36 | 37 | build(){ 38 | cd "$_pkgname" 39 | go build -o ubuntu-push-client ubuntu-push-client.go 40 | go build -o push-server-dev server/dev/server.go 41 | } 42 | 43 | package() { 44 | cd "$_pkgname" 45 | install -Dm755 ubuntu-push-client "$pkgdir"/usr/bin/ubuntu-push-client 46 | install -Dm755 push-server-dev "$pkgdir"/usr/bin/push-server-dev 47 | } 48 | -------------------------------------------------------------------------------- /indicator-messages-git/0001-Replace-gnome-common-in-autogen.sh.patch: -------------------------------------------------------------------------------- 1 | From b72568c0290afe5d479c0ac7619234c77e18cad9 Mon Sep 17 00:00:00 2001 2 | From: Luca Weiss 3 | Date: Sat, 25 Jan 2020 12:26:31 +0100 4 | Subject: [PATCH 1/2] Replace gnome-common in autogen.sh 5 | 6 | See https://wiki.gnome.org/Projects/GnomeCommon/Migration 7 | --- 8 | autogen.sh | 42 ++++++++++++++++++++++++++++++++++++------ 9 | 1 file changed, 36 insertions(+), 6 deletions(-) 10 | 11 | diff --git a/autogen.sh b/autogen.sh 12 | index 1abf3a7..1a5af06 100755 13 | --- a/autogen.sh 14 | +++ b/autogen.sh 15 | @@ -1,11 +1,41 @@ 16 | #!/bin/sh 17 | +# Run this to generate all the initial makefiles, etc. 18 | +test -n "$srcdir" || srcdir=$(dirname "$0") 19 | +test -n "$srcdir" || srcdir=. 20 | 21 | -PKG_NAME="indicator-messages" 22 | +olddir=$(pwd) 23 | 24 | -which gnome-autogen.sh || { 25 | - echo "You need gnome-common from GNOME SVN" 26 | - exit 1 27 | +cd $srcdir 28 | + 29 | +(test -f configure.ac) || { 30 | + echo "*** ERROR: Directory '$srcdir' does not look like the top-level project directory ***" 31 | + exit 1 32 | } 33 | 34 | -USE_GNOME2_MACROS=1 \ 35 | -. gnome-autogen.sh 36 | +# shellcheck disable=SC2016 37 | +PKG_NAME=$(autoconf --trace 'AC_INIT:$1' configure.ac) 38 | + 39 | +if [ "$#" = 0 -a "x$NOCONFIGURE" = "x" ]; then 40 | + echo "*** WARNING: I am going to run 'configure' with no arguments." >&2 41 | + echo "*** If you wish to pass any to it, please specify them on the" >&2 42 | + echo "*** '$0' command line." >&2 43 | + echo "" >&2 44 | +fi 45 | + 46 | +aclocal --install || exit 1 47 | +intltoolize --force --copy --automake || exit 1 48 | +gtkdocize --copy || exit 1 49 | +autoreconf --verbose --force --install || exit 1 50 | + 51 | +cd "$olddir" 52 | +if [ "$NOCONFIGURE" = "" ]; then 53 | + $srcdir/configure "$@" || exit 1 54 | + 55 | + if [ "$1" = "--help" ]; then 56 | + exit 0 57 | + else 58 | + echo "Now type 'make' to compile $PKG_NAME" || exit 1 59 | + fi 60 | +else 61 | + echo "Skipping configure process." 62 | +fi 63 | -- 64 | 2.25.0 65 | 66 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Contributing 2 | ============ 3 | 4 | First of all, let me thank you for your interest in **Lomiri-Arch**! 5 | 6 | **Special thanks to:** 7 | - [Abhishek](https://www.patreon.com/abhishekzz) for the idea of the project 8 | - [Rodney (aka dobey)](https://www.patreon.com/dobey/) for guiding me when I felt lost 9 | - Marius and Florian from the UBports Dev Team for merging my PRs and motivating me 10 | - Dalton from the UBports Dev Team for assisting me with project management 11 | - William Wold for helping with Mir and for the financial support on Patreon ($95 total) 12 | - [Alex](https://www.patreon.com/WarumLinuxBesserIst) for former financial support on Patreon ($40 total). He has a German YouTube channel about Linux: [WarumLinuxBesserIst](https://youtube.com/user/WarumLinuxBesserIst), and a recently created English YouTube channel: [eDrive](https://goo.gl/UFVh4S) 13 | - [Jeroen Bots](https://www.patreon.com/user?u=251509) for financial support on Patreon ($1450 total) 14 | - [z3ntu](https://github.com/z3ntu) for helping with updating and patching packages 15 | 16 | As the project is in it's alpha stage, your contribution is very important. 17 | 18 | ### Packaging 19 | You can help us by packaging the components of Lomiri. 20 | 21 | Start off by reading the [AUR](https://wiki.archlinux.org/index.php/Aur) wiki page. Make yourself familiar with [PKGBUILDs](https://wiki.archlinux.org/index.php/PKGBUILD). 22 | 23 | All packages are listed in the [STATUS](STATUS.md) of this repository. They split into 2 categories: `cmake` and `qmake` ones. 24 | 25 | Try to build one of them, make a PKGBUILD for it. Even if it fails to build, PR the PKGBUILD here. Open an issue on the upstream repository if you think it's a bug. Don't forget to include the link to that issue in your PR. 26 | 27 | ### Testing 28 | 29 | You can install Lomiri on your system, and help by testing individual packages. 30 | 31 | If something doesn't feel right, open an issue both upstream and in this repository. 32 | 33 | ### Patching 34 | 35 | If you have some coding knowledge, you can take a look at the issues list in the [STATUS](STATUS.md). There are also some undocumented issues to look for in [BROKEN.txt](BROKEN.txt). 36 | 37 | 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. 38 | -------------------------------------------------------------------------------- /ubuntu-push/0003-Initial-conversion-to-Go-modules.patch: -------------------------------------------------------------------------------- 1 | From fe732491db7ebf2d0774dd3ddfcfd882447bb886 Mon Sep 17 00:00:00 2001 2 | From: Luca Weiss 3 | Date: Sat, 25 Jan 2020 12:58:59 +0100 4 | Subject: [PATCH 3/4] Initial conversion to Go modules 5 | 6 | --- 7 | go.mod | 13 +++++++++++++ 8 | go.sum | 10 ++++++++++ 9 | 2 files changed, 23 insertions(+) 10 | create mode 100644 go.mod 11 | create mode 100644 go.sum 12 | 13 | diff --git a/go.mod b/go.mod 14 | new file mode 100644 15 | index 0000000..06e38d3 16 | --- /dev/null 17 | +++ b/go.mod 18 | @@ -0,0 +1,13 @@ 19 | +module github.com/ubports/ubuntu-push 20 | + 21 | +go 1.13 22 | + 23 | +require ( 24 | + github.com/mattn/go-sqlite3 v1.1.1-0.20160927022846-4b0af852c171 25 | + github.com/pborman/uuid v0.0.0-20160824210600-b984ec7fa9ff 26 | + launchpad.net/go-dbus v1.0.0-20140208094800-gubd5md7cro3mtxa 27 | + launchpad.net/go-xdg v0.0.0-20140208094800-000000000010 28 | + launchpad.net/gocheck v0.0.0-20140225173054-000000000087 29 | +) 30 | + 31 | +replace launchpad.net/go-dbus => github.com/z3ntu/go-dbus v0.0.0-20170220120108-c022b8b2e127 32 | diff --git a/go.sum b/go.sum 33 | new file mode 100644 34 | index 0000000..25b0f45 35 | --- /dev/null 36 | +++ b/go.sum 37 | @@ -0,0 +1,10 @@ 38 | +github.com/mattn/go-sqlite3 v1.1.1-0.20160927022846-4b0af852c171 h1:bZY9z+CAvIbrKtvxl9Ypy+foX2hxuR5Q+2gziez44CM= 39 | +github.com/mattn/go-sqlite3 v1.1.1-0.20160927022846-4b0af852c171/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= 40 | +github.com/pborman/uuid v0.0.0-20160824210600-b984ec7fa9ff h1:pTiDfW+iOjIxjZeCm88gKn/AmR09UGZYZdqif2yPRrM= 41 | +github.com/pborman/uuid v0.0.0-20160824210600-b984ec7fa9ff/go.mod h1:VyrYX9gd7irzKovcSS6BIIEwPRkP2Wm2m9ufcdFSJ34= 42 | +github.com/z3ntu/go-dbus v0.0.0-20170220120108-c022b8b2e127 h1:5uM5CyMgvx0a/ctLJ3ThGt2fghWoX6cPniYNgGeCuJI= 43 | +github.com/z3ntu/go-dbus v0.0.0-20170220120108-c022b8b2e127/go.mod h1:bUTQ2+DQ82yitPELjqsyPbSZGg05fEKaC3eHCGkCiV4= 44 | +launchpad.net/go-xdg v0.0.0-20140208094800-000000000010 h1:67YK4VRwVpu+qdmji/6lNv7y/O6NmH1oaSb/4ETtTck= 45 | +launchpad.net/go-xdg v0.0.0-20140208094800-000000000010/go.mod h1:LvhuQF+z2nM+7tjWchL2jH2sbCGTtyHFhi4s/dDQEOk= 46 | +launchpad.net/gocheck v0.0.0-20140225173054-000000000087 h1:Izowp2XBH6Ya6rv+hqbceQyw/gSGoXfH/UPoTGduL54= 47 | +launchpad.net/gocheck v0.0.0-20140225173054-000000000087/go.mod h1:hj7XX3B/0A+80Vse0e+BUHsHMTEhd0O4cpUHr/e/BUM= 48 | -- 49 | 2.25.0 50 | 51 | -------------------------------------------------------------------------------- /unity8-git/AndroidAway.patch: -------------------------------------------------------------------------------- 1 | diff --git a/plugins/Lights/CMakeLists.txt b/plugins/Lights/CMakeLists.txt 2 | index 22365f6e2..d86f132d1 100644 3 | --- a/plugins/Lights/CMakeLists.txt 4 | +++ b/plugins/Lights/CMakeLists.txt 5 | @@ -1,19 +1 @@ 6 | -pkg_check_modules(ANDROID_HEADERS REQUIRED android-headers) 7 | -pkg_check_modules(ANDROID_HARDWARE REQUIRED libhardware) 8 | - 9 | -include_directories( 10 | - SYSTEM 11 | - ${ANDROID_HEADERS_INCLUDE_DIRS} 12 | -) 13 | - 14 | -add_library(Lights-qml MODULE 15 | - plugin.cpp 16 | - Lights.cpp 17 | - ) 18 | - 19 | -target_link_libraries(Lights-qml 20 | - Qt5::Qml Qt5::Gui 21 | - ${ANDROID_HARDWARE_LIBRARIES} 22 | - ) 23 | - 24 | -add_unity8_plugin(Lights 0.1 Lights TARGETS Lights-qml) 25 | +message("Sorry") 26 | diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt 27 | index eae303268..98ce82c43 100644 28 | --- a/src/CMakeLists.txt 29 | +++ b/src/CMakeLists.txt 30 | @@ -42,7 +42,7 @@ if (ENABLE_TOUCH_EMULATION) 31 | set(SOURCE_FILES ${SOURCE_FILES} MouseTouchAdaptor.cpp) 32 | endif() 33 | 34 | -pkg_check_modules(ANDROID_PROPERTIES REQUIRED libandroid-properties) 35 | +#pkg_check_modules(ANDROID_PROPERTIES REQUIRED libandroid-properties) # No Android, I desktop 36 | add_executable(${SHELL_APP} ${SOURCE_FILES}) 37 | 38 | if (NOT "${ANDROID_PROPERTIES_INCLUDE_DIRS}" STREQUAL "") 39 | diff --git a/src/ShellApplication.cpp b/src/ShellApplication.cpp 40 | index d7365ca37..c1181cc6f 100644 41 | --- a/src/ShellApplication.cpp 42 | +++ b/src/ShellApplication.cpp 43 | @@ -26,7 +26,7 @@ 44 | #include 45 | 46 | // libandroid-properties 47 | -#include 48 | +//#include // I no Android, I disk top 49 | 50 | // local 51 | #include 52 | @@ -49,9 +49,9 @@ ShellApplication::ShellApplication(int & argc, char ** argv, bool isMirServer) 53 | if (!parser.deviceName().isEmpty()) { 54 | m_deviceName = parser.deviceName(); 55 | } else { 56 | - char buffer[200]; 57 | - property_get("ro.product.device", buffer /* value */, "desktop" /* default_value*/); 58 | - m_deviceName = QString(buffer); 59 | + //char buffer[200]; 60 | + //property_get("ro.product.device", buffer /* value */, "desktop" /* default_value*/); 61 | + //m_deviceName = QString(buffer); // I still no Vedroid 62 | } 63 | m_qmlArgs.setDeviceName(m_deviceName); 64 | 65 | -------------------------------------------------------------------------------- /accountsservice-ubuntu/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ivan Semkin (ivan at semkin dot ru) 2 | # Contributor: Xiao-Long Chen 3 | # Contributor: Ionut Biru 4 | 5 | pkgname=accountsservice-ubuntu 6 | _ubuntu_rel=0ubuntu1 7 | _ubuntu_ver=0.6.42 8 | pkgver=0.6.42+12+gdac4254 9 | pkgrel=1 10 | pkgdesc='D-Bus interface for user account query and manipulation' 11 | url='https://www.freedesktop.org/software/accountsservice/' 12 | arch=(i686 x86_64) 13 | license=(GPL3) 14 | depends=(glib2 polkit systemd) 15 | makedepends=(intltool gtk-doc gobject-introspection git) 16 | provides=("accountsservice=${pkgver}") 17 | conflicts=(accountsservice) 18 | _commit=dac425433270c6dc38feba4d2513e4da7bd265fd # tags/0.6.43^0 19 | source=("git://anongit.freedesktop.org/accountsservice#commit=${_commit}" 20 | "https://launchpad.net/ubuntu/+archive/primary/+files/accountsservice_${_ubuntu_ver:-${pkgver}}-${_ubuntu_rel}.debian.tar.xz") 21 | sha512sums=('SKIP' 22 | '7637354d6785e0fcf1286c4186c508075a54e724f11b3e778dc0a31b8c457777de300b16c300d71ef1886bc0c290c76255ed14ed49398a17b9c075531af1c538') 23 | 24 | pkgver() { 25 | cd "${pkgname%-*}" 26 | git describe --tags | sed 's/-/+/g' 27 | } 28 | 29 | prepare() { 30 | cd "${pkgname%-*}" 31 | 32 | sed -i 's|/etc/gdm3/custom.conf|/etc/gdm/custom.conf|g' \ 33 | ../debian/patches/0007-add-lightdm-support.patch 34 | 35 | sed -i \ 36 | `# Arch Linux uses wheel group for system administration` \ 37 | -e '/0002-create-and-manage-groups-like-on-a-ubuntu-system.patch/d' \ 38 | `# adduser is Debian-specific` \ 39 | -e '/0006-adduser_instead_of_useradd.patch/d' \ 40 | `# Language patches are still pretty specific to Ubuntu, though` \ 41 | `# Ubuntu is trying to get them merged upstream` \ 42 | -e '/0009-language-tools.patch/d' \ 43 | -e '/0010-set-language.patch/d' \ 44 | -e '/0012-add-keyboard-layout-support.patch/d' \ 45 | `# Ubuntu-specific` \ 46 | -e '/0005-gdm_config_file_path_ubuntu.patch/d' \ 47 | -e '/0020-support-login.defs.patch/d' \ 48 | -e '/0021-support-extrausers.patch/d' \ 49 | -e '/1002-dont-override-standardoutput.patch/d' \ 50 | `# Does not apply cleanly` \ 51 | -e '/0002-On-startup-clean-out-the-data-of-removed-users.patch/d' \ 52 | -e '/0013-add-has-message-support.patch/d' \ 53 | `# Applied upstream` \ 54 | -e '/0018-wtmp-fix-logout-times.patch/d' \ 55 | ../debian/patches/series 56 | 57 | for i in $(grep -v '#' ../debian/patches/series); do 58 | msg "Applying ${i} ..." 59 | patch -p1 -i "../debian/patches/${i}" 60 | done 61 | 62 | NOCONFIGURE=1 ./autogen.sh 63 | } 64 | 65 | build() { 66 | cd "${pkgname%-*}" 67 | 68 | ./configure \ 69 | --prefix=/usr \ 70 | --sysconfdir=/etc \ 71 | --localstatedir=/var \ 72 | --libexecdir=/usr/lib/accountsservice \ 73 | --disable-static \ 74 | --enable-gtk-doc 75 | 76 | make 77 | } 78 | 79 | package() { 80 | cd "${pkgname%-*}" 81 | 82 | make DESTDIR="${pkgdir}" install 83 | } 84 | # vim:set ts=2 sw=2 et: 85 | -------------------------------------------------------------------------------- /BUILDING-I686.md: -------------------------------------------------------------------------------- 1 | # The following file is severely outdated and not officially supported as of now. Follow the project updates to be the first one to know when it gets implemeneted. 2 | 3 | ## (Advanced) Configure a local repository / build the packages 4 | 5 | The following instructions assume that you're building `i686` packages on a `x86_64` host. 6 | 7 | You might want to take a look at [building ARM packgages on `x86_64`](BUILDING-ARM.md), and [building `x86_64` packgages on `x86_64`](README.md). 8 | 9 | Add the package repository to `/etc/pacman.conf`: 10 | 11 | _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._ 12 | 13 | ``` 14 | [lomiri] 15 | SigLevel = Required 16 | Server = https://lomiri.mynameisivan.ru/$repo/os/$arch 17 | ``` 18 | _or_ 19 | ``` 20 | [lomiri] 21 | SigLevel = Required 22 | Server = file:///your/path/$repo/os/$arch 23 | ``` 24 | 25 | Assemble the build enviroment: 26 | 27 | _Don't forget to configure PACKAGER in /etc/makepkg.conf_ 28 | 29 | _If you want to cross-compile packages for `i686`, then follow the guide [on the wiki](https://wiki.archlinux.org/index.php/Building_32-bit_packages_on_a_64-bit_system). But as Arch doesn't officially support i686 now, use the [mirrorlist](https://raw.githubusercontent.com/archlinux32/packages/master/core/pacman-mirrorlist/mirrorlist) of the ArchLinux32 project. You will also need to trust 2 GPG keys: `255A76DB9A12601A` and `C8E8F5A0AF9BA7E7` prior to the chroot creation same way as desribed above with my key._ 30 | 31 | ``` 32 | sudo pacman -S devtools 33 | mkdir chroot-i686 34 | sudo mkdir -p /var/cache/pacman-i686/pkg/ 35 | sudo mkarchroot -C /etc/pacman.conf.i686 -M /etc/makepkg.conf.i686 -c /var/cache/pacman-i686/pkg/ ./chroot-i686/root base base-devel git 36 | mkdir -p lomiri sources logs PKGBUILDs 37 | ``` 38 | 39 | _Your Arch repository will settle in the `lomiri` folder._ 40 | 41 | Clone this repo's PKGBUILDs: 42 | ``` 43 | cd PKGBUILDs 44 | git clone https://github.com/vanyasem/Lomiri-Arch.git ./ 45 | git submodule init 46 | git submodule update 47 | cd .. 48 | ``` 49 | 50 | Sync the databases: 51 | ``` 52 | sudo arch-chroot chroot-i686/root 53 | pacman -Syyu 54 | pacman -S python python2 python-setuptools python2-setuptools # Those are needed // TODO IVAN MAYBE MAKE METAPACKAGE WITH CI DEPS? 55 | exit 56 | ``` 57 | 58 | Install Arch repository manager ([guzuta](https://github.com/eagletmt/guzuta)): 59 | ``` 60 | sudo pacman -S cargo 61 | cargo install guzuta 62 | ``` 63 | 64 | Configure guzuta: 65 | ``` 66 | cat > .guzuta.yml 67 | name: lomiri 68 | package_key: YOUR_GPG_KEY 69 | repo_key: YOUR_GPG_KEY 70 | srcdest: sources 71 | logdest: logs 72 | pkgbuild: PKGBUILDs 73 | builds: 74 | i686: 75 | chroot: ./chroot-i686 76 | ``` 77 | 78 | Build the packages: 79 | 80 | Run `rebuild-repo.sh` from the PKGBUILDs directory. Make sure to configure sudo timeout for your build user, as it defaults to 5 minutes. 81 | 82 | -------------------------------------------------------------------------------- /BROKEN.txt: -------------------------------------------------------------------------------- 1 | system-settings-git: 2 | ==> WARNING: Package contains reference to $srcdir 3 | usr/lib/ubuntu-system-settings/private/Ubuntu/SystemSettings/Bluetooth/libUbuntuBluetoothPanel.so 4 | 5 | unity8: 6 | references build path: :46:33: QML CroppedImageMinimumSourceSize: Cannot open: file:///mnt/antihype/Projects/AUR/tests/graphics/applicationIcons/dash.png 7 | [2018-06-25:00:34:32.761] Failed to get all properties for "com.ubuntu.AccountsService.Input" : "No such interface 'com.ubuntu.AccountsService.Input'" 8 | [2018-06-25:00:34:32.762] Failed to get all properties for "com.ubuntu.AccountsService.SecurityPrivacy" : "No such interface 'com.ubuntu.AccountsService.SecurityPrivacy'" 9 | [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'" 10 | [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'" 11 | [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 12 | [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 13 | [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 14 | [2018-07-14:02:35:59.175] Cannot find any language packs, bailing out 15 | 16 | system-settings: 17 | missing deps: indicator-datetime (unpackaged) 18 | module "Biometryd" is not installed (unpackaged) 19 | Settings schema 'com.ubuntu.notifications.settings.applications' is not installed 20 | Settings schema 'com.canonical.keyboard.maliit' is not installed 21 | missing dep: gsettings-qt-git 22 | 23 | keyboard-component: 24 | ?? patch /usr/share/qt/mkspecs/features/maliit-defines.prf -> /usr/lib/qt/mkspecs/features/maliit-defines.prf 25 | 26 | 27 | ------------------------------------------------ 28 | 29 | 30 | PATCHED: 31 | indicator-network-git: 32 | /usr/lib/qt5/qml/Ubuntu/Connectivity -> /usr/lib/qt/qml/Ubuntu/Connectivity 33 | 34 | ubuntu-download-manager: 35 | /usr/lib/qt5/qml/Ubuntu/DownloadManager -> /usr/lib/qt/qml/Ubuntu/DownloadManager 36 | 37 | content-hub: 38 | /usr/lib/qt5/qml/Ubuntu/Content -> /usr/lib/qt/qml/Ubuntu/Content 39 | 40 | qmenumodel: 41 | /usr/lib/qt5/qml/QMenuModel -> /usr/lib/qt/qml/QMenuModel 42 | 43 | qtmir: 44 | /usr/lib/qt5/plugins/platforms/libqpa-mirserver.so -> /usr/lib/qt/plugins/platforms 45 | 46 | settings-components-git: 47 | /usr/lib/qt5/qml/Ubuntu/Settings -> /usr/lib/qt/qml/Ubuntu/Settings 48 | 49 | maliit-framework: 50 | /usr/share/qt5/mkspecs/features/maliit-defines.prf -> /usr/share/qt/mkspecs/features/maliit-defines.prf 51 | 52 | unity8: 53 | GLib-GIO-ERROR **: Settings schema 'com.canonical.Unity.Launcher' is not installed (comes from https://launchpad.net/ubuntu/xenial/+source/unity) 54 | 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) 55 | -------------------------------------------------------------------------------- /BUILDING-ARM.md: -------------------------------------------------------------------------------- 1 | # The following file is severely outdated and not officially supported as of now. Follow the project updates to be the first one to know when it gets implemeneted. 2 | 3 | ## (Advanced) Configure a local repository / build the packages 4 | 5 | The following instructions assume that you're building ARM packages on a `x86_64` host. 6 | 7 | You might want to take a look at [building `x86_64` packgages on `x86_64`](README.md), and [building `i686` packgages on `x86_64`](BUILDING-I686.md). 8 | 9 | Add the package repository to `/etc/pacman.conf`: 10 | 11 | _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._ 12 | 13 | ``` 14 | [lomiri] 15 | SigLevel = Required 16 | Server = https://lomiri.mynameisivan.ru/$repo/os/$arch 17 | ``` 18 | _or_ 19 | ``` 20 | [lomiri] 21 | SigLevel = Required 22 | Server = file:///your/path/$repo/os/$arch 23 | ``` 24 | 25 | Assemble the build enviroment: 26 | 27 | _Don't forget to configure PACKAGER in /etc/makepkg.conf_ 28 | 29 | _The following commands use `aarch64` as an architecture. If you want to build packages for `armv7`, just replace `aarch64` with `armv7h`, and use `/usr/bin/qemu-arm-static` as a QEMU interpreter. 30 | 31 | _Install `qemu-user-static` from AUR. Follow the same steps as you would for `i686`, but use the values from the [ArchLinuxArm project.](http://mirror.archlinuxarm.org/os/ArchLinuxARM-aarch64-latest.tar.gz). You will also need to edit `/usr/bin/makechrootpkg` to pass `-s` to every `arch-nspawn` call. Hack-ish, but it does the trick. 32 | ``` 33 | sudo pacman -S devtools 34 | mkdir chroot-aarch64 35 | sudo mkdir -p /var/cache/pacman-aarch64/pkg/ 36 | sudo mkarchroot -f /usr/bin/qemu-aarch64-static -C /etc/pacman.conf.aarch64 -M /etc/makepkg.conf.aarch64 -c /var/cache/pacman-aarch64/pkg/ ./chroot-aarch64/root base base-devel git 37 | mkdir -p lomiri sources logs PKGBUILDs 38 | ``` 39 | 40 | _Your Arch repository will settle in the `lomiri` folder._ 41 | 42 | Clone this repo's PKGBUILDs: 43 | ``` 44 | cd PKGBUILDs 45 | git clone https://github.com/vanyasem/Lomiri-Arch.git ./ 46 | git submodule init 47 | git submodule update 48 | cd .. 49 | ``` 50 | 51 | Sync the databases: 52 | ``` 53 | sudo arch-chroot chroot-aarch64/root 54 | pacman -Syyu 55 | pacman -S python python2 python-setuptools python2-setuptools # Those are needed // TODO IVAN MAYBE MAKE METAPACKAGE WITH CI DEPS? 56 | exit 57 | ``` 58 | 59 | Build Arch repository manager ([guzuta](https://github.com/eagletmt/guzuta)): 60 | 61 | _Latest released `guzuta` is missing ARM support, so you will need to manually compile it from upstream git repository._ 62 | 63 | ``` 64 | git clone https://github.com/eagletmt/guzuta.git 65 | cd guzuta 66 | cargo build 67 | cargo install --force 68 | ``` 69 | 70 | Configure guzuta: 71 | ``` 72 | cat > .guzuta.yml 73 | name: lomiri 74 | package_key: YOUR_GPG_KEY 75 | repo_key: YOUR_GPG_KEY 76 | srcdest: sources 77 | logdest: logs 78 | pkgbuild: PKGBUILDs 79 | builds: 80 | aarch64: 81 | chroot: ./chroot-aarch64 82 | ``` 83 | 84 | Build the packages: 85 | 86 | Run `rebuild-repo.sh` from the PKGBUILDs directory. Make sure to configure sudo timeout for your build user, as it defaults to 5 minutes. 87 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Lomiri for Arch 2 | =============== 3 | 4 | This project aims to bring [Lomiri](https://unity8.io/) (former Unity8) DE to Arch GNU/Linux. 5 | 6 | Builds are provided for `x86_64`. 7 | 8 | `i686`, `armv7h`, and `aarch64` builds are planned. 9 | 10 | ## Resources 11 | 12 | - [Packaging status](STATUS.md) 13 | - [Telegram News Channel](https://t.me/Unity8_Arch) 14 | - [Project's Patreon](https://www.patreon.com/vanyasem) 15 | 16 | ## Live USB image 17 | 18 | **You can grab a pre-made iso image from https://lomiri.mynameisivan.ru/iso/** 19 | 20 | Flash it to any usb flashdrive (>= 2 Gb) (you can use [Etcher](https://www.balena.io/etcher/) for that) 21 | 22 | Boot from it. You should see a tty with a shell. Don't worry, that's expected. 23 | 24 | You can connect to the internet via networkmanager cli gui by running `nmtui` if you wish. 25 | 26 | Run `./unity8.sh` to launch Lomiri. 27 | 28 | As it's an alpha build, it takes around 5-10 minutes to start (you should see an empty black screen with no splashscreen, please be patient). 29 | 30 | The default user is `unity8` with no password. My custom repository is already included. 31 | 32 | It's expected to crash a lot, it's purpose is to showcase progress of Lomiri on Arch. 33 | 34 | ## Installing 35 | 36 | Add the Lomiri repository to `/etc/pacman.conf`: 37 | ``` 38 | [lomiri] 39 | SigLevel = Required TrustAll 40 | Server = https://lomiri.mynameisivan.ru/$repo/os/$arch 41 | ``` 42 | 43 | Refresh the local pacman database: 44 | ``` 45 | sudo pacman -Syyu 46 | ``` 47 | 48 | If previous command failed to import my GPG key, do it manually: 49 | ``` 50 | sudo pacman-key --recv-keys --keyserver hkps://hkps.pool.sks-keyservers.net F3A621DFD4328CC4 51 | sudo pacman-key --lsign-key F3A621DFD4328CC4 52 | sudo pacman -Syyu 53 | ``` 54 | 55 | Install Lomiri and some important packages _(TODO: metapackage)_: 56 | ``` 57 | sudo pacman -S unity8-git qt5-wayland qterminal qtmir-git 58 | ``` 59 | 60 | Skip the greeter (not used on desktops, broken): 61 | ``` 62 | mkdir -p $HOME/.config/ubuntu-system-settings 63 | touch $HOME/.config/ubuntu-system-settings/wizard-has-run 64 | ``` 65 | 66 | Launch Lomiri with (either from a tty or from a terminal): 67 | ``` 68 | QT_WAYLAND_DISABLE_WINDOWDECORATION=true MIR_SERVER_CURSOR=null QT_QPA_PLATFORM=mirserver unity8 69 | ``` 70 | 71 | It should not work on nvidia proprietary, it's a limitation of Mir. 72 | 73 | As it's an alpha build, it takes around 5-10 minutes to start (you should see an empty black screen with no splashscreen, please be patient). 74 | 75 | ## Building 76 | 77 | Building instructions were moved to [a separate document](BUILDING.md). 78 | 79 | ## Contributing 80 | 81 | Please follow the [contributing guide](CONTRIBUTING.md). 82 | 83 | ## License 84 | 85 | Copyright (C) 2018-2021 Ivan Semkin 86 | 87 | This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 88 | 89 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 90 | 91 | You should have received a copy of the GNU General Public License along with this program. If not, see . 92 | -------------------------------------------------------------------------------- /BUILDING.md: -------------------------------------------------------------------------------- 1 | Building 2 | ======== 3 | 4 | You can build the packages on [Windows via WSL](https://github.com/yuk7/ArchWSL) if you wish. 5 | 6 | Trust a few GPG keys: 7 | ``` 8 | gpg --recv-keys E932D120BC2AEC444E558F0106CA9F5D1DCF2659 # ofono 9 | gpg --recv-keys 4DE16D68FDBFFFB8 # systemtap 10 | ``` 11 | 12 | Clone this repo's PKGBUILDs: 13 | ``` 14 | git clone https://github.com/vanyasem/Lomiri-Arch.git 15 | cd Lomiri-Arch 16 | git submodule init 17 | git submodule update 18 | ``` 19 | 20 | You can [compile the packages](https://wiki.archlinux.org/index.php/Makepkg#Usage) yourself by running `makepkg -sic` in their folders. 21 | 22 | There is a helper script (`build-packages.sh`) in the root of this repository that will build all the packages for you in the right order (some packages are required to build other packages, and they are not in official Arch repos yet). 23 | 24 | ``` 25 | ./build-packages.sh -b 26 | ``` 27 | 28 | ## (Advanced) Configure a [local repository](https://wiki.archlinux.org/index.php/Pacman/Tips_and_tricks#Custom_local_repository) 29 | 30 | The following instructions assume that you're building `x86_64` packages on a `x86_64` host. 31 | 32 | 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). 33 | 34 | First of all, trust a few GPG keys mentioned above in the Building section of this document. 35 | 36 | Add the package repository to `/etc/pacman.conf`: 37 | 38 | _Comment it out for now, as it doesn't exist yet:_ 39 | ``` 40 | #[lomiri] 41 | #SigLevel = Required 42 | #Server = http://localhost:8000/$repo/os/$arch 43 | ``` 44 | 45 | Assemble the build enviroment: 46 | 47 | _Don't forget to configure `PACKAGER` in `/etc/makepkg.conf`_ 48 | 49 | ``` 50 | sudo pacman -S devtools 51 | mkdir -p chroot-x86_64 cache/pacman-x86_64/pkg lomiri sources logs PKGBUILDs 52 | sudo mkarchroot -C /etc/pacman.conf -M /etc/makepkg.conf -c $(pwd)/cache/pacman-x86_64/pkg/ ./chroot-x86_64/root base base-devel nano 53 | ``` 54 | 55 | _Your Arch repository will settle in the `lomiri` folder. This is the only folder that needs to be exposed to the public if you decide to host your repo._ 56 | 57 | Clone this repo's PKGBUILDs: 58 | ``` 59 | cd PKGBUILDs 60 | git clone https://github.com/vanyasem/Lomiri-Arch.git ./ 61 | git submodule init 62 | git submodule update 63 | cd .. 64 | ``` 65 | 66 | Install Arch repository manager ([guzuta](https://github.com/eagletmt/guzuta)): 67 | ``` 68 | sudo pacman -S cargo 69 | cargo install guzuta 70 | ``` 71 | 72 | Configure guzuta: 73 | ``` 74 | echo " 75 | name: lomiri 76 | package_key: YOUR_GPG_KEY 77 | repo_key: YOUR_GPG_KEY 78 | srcdest: sources 79 | logdest: logs 80 | pkgbuild: PKGBUILDs 81 | builds: 82 | x86_64: 83 | chroot: ./chroot-x86_64 84 | " > .guzuta.yml 85 | ``` 86 | 87 | Set up a webserver (any will do): 88 | 89 | _This is required due to the fact you cannot use local paths from inside the chroot. You don't need to expose it to the public._ 90 | ``` 91 | python -m http.server 8000` 92 | ``` 93 | 94 | Uncomment the repo from inside the chroot: 95 | ``` 96 | arch-nspawn ./chroot-x86_64/root nano /etc/pacman.conf 97 | ``` 98 | 99 | Sync the databases inside the chroot: 100 | ``` 101 | arch-nspawn ./chroot-x86_64/root pacman -Syyu 102 | ``` 103 | 104 | Build the packages: 105 | 106 | _Make sure to configure sudo timeout for your build user, as it defaults to 5 minutes._ 107 | ``` 108 | cd PKGBUILDs 109 | ./rebuild-repo.sh 110 | ``` 111 | -------------------------------------------------------------------------------- /ubuntu-push/0001-Remove-v0-suffix-from-go-xdg-imports.patch: -------------------------------------------------------------------------------- 1 | From 7b4a5c676361d7f1e61822dea77b2e4507bfcf73 Mon Sep 17 00:00:00 2001 2 | From: Luca Weiss 3 | Date: Sat, 25 Jan 2020 11:37:48 +0100 4 | Subject: [PATCH 1/4] Remove v0 suffix from go-xdg imports 5 | 6 | See https://github.com/golang/go/wiki/Modules#semantic-import-versioning: 7 | 8 | > If the module is version v0 or v1, do not include the major version in 9 | either the module path or the import path. 10 | --- 11 | bus/accounts/accounts.go | 2 +- 12 | click/click.go | 2 +- 13 | launch_helper/helper_finder/helper_finder.go | 2 +- 14 | launch_helper/kindpool.go | 2 +- 15 | launch_helper/kindpool_test.go | 2 +- 16 | sounds/sounds.go | 2 +- 17 | ubuntu-push-client.go | 2 +- 18 | 7 files changed, 7 insertions(+), 7 deletions(-) 19 | 20 | diff --git a/bus/accounts/accounts.go b/bus/accounts/accounts.go 21 | index 3be212a..4812ccf 100644 22 | --- a/bus/accounts/accounts.go 23 | +++ b/bus/accounts/accounts.go 24 | @@ -25,7 +25,7 @@ import ( 25 | "sync" 26 | 27 | "launchpad.net/go-dbus/v1" 28 | - "launchpad.net/go-xdg/v0" 29 | + "launchpad.net/go-xdg" 30 | 31 | "github.com/ubports/ubuntu-push/bus" 32 | "github.com/ubports/ubuntu-push/logger" 33 | diff --git a/click/click.go b/click/click.go 34 | index 337b6f4..cff1dae 100644 35 | --- a/click/click.go 36 | +++ b/click/click.go 37 | @@ -27,7 +27,7 @@ import ( 38 | "strings" 39 | "sync" 40 | 41 | - "launchpad.net/go-xdg/v0" 42 | + "launchpad.net/go-xdg" 43 | 44 | "github.com/ubports/ubuntu-push/click/cappinfo" 45 | "github.com/ubports/ubuntu-push/click/cclick" 46 | diff --git a/launch_helper/helper_finder/helper_finder.go b/launch_helper/helper_finder/helper_finder.go 47 | index dcd96e8..725a118 100644 48 | --- a/launch_helper/helper_finder/helper_finder.go 49 | +++ b/launch_helper/helper_finder/helper_finder.go 50 | @@ -8,7 +8,7 @@ import ( 51 | "sync" 52 | "time" 53 | 54 | - "launchpad.net/go-xdg/v0" 55 | + "launchpad.net/go-xdg" 56 | 57 | "github.com/ubports/ubuntu-push/click" 58 | "github.com/ubports/ubuntu-push/logger" 59 | diff --git a/launch_helper/kindpool.go b/launch_helper/kindpool.go 60 | index 3b598be..cc12084 100644 61 | --- a/launch_helper/kindpool.go 62 | +++ b/launch_helper/kindpool.go 63 | @@ -26,7 +26,7 @@ import ( 64 | "sync" 65 | "time" 66 | 67 | - xdg "launchpad.net/go-xdg/v0" 68 | + xdg "launchpad.net/go-xdg" 69 | 70 | "github.com/ubports/ubuntu-push/click" 71 | "github.com/ubports/ubuntu-push/launch_helper/cual" 72 | diff --git a/launch_helper/kindpool_test.go b/launch_helper/kindpool_test.go 73 | index f3358cf..26f4f5f 100644 74 | --- a/launch_helper/kindpool_test.go 75 | +++ b/launch_helper/kindpool_test.go 76 | @@ -24,7 +24,7 @@ import ( 77 | "path/filepath" 78 | "time" 79 | 80 | - xdg "launchpad.net/go-xdg/v0" 81 | + xdg "launchpad.net/go-xdg" 82 | . "launchpad.net/gocheck" 83 | 84 | "github.com/ubports/ubuntu-push/click" 85 | diff --git a/sounds/sounds.go b/sounds/sounds.go 86 | index 29a3b7e..470f776 100644 87 | --- a/sounds/sounds.go 88 | +++ b/sounds/sounds.go 89 | @@ -23,7 +23,7 @@ import ( 90 | "path/filepath" 91 | "strings" 92 | 93 | - "launchpad.net/go-xdg/v0" 94 | + "launchpad.net/go-xdg" 95 | 96 | "github.com/ubports/ubuntu-push/bus/accounts" 97 | "github.com/ubports/ubuntu-push/click" 98 | diff --git a/ubuntu-push-client.go b/ubuntu-push-client.go 99 | index d82394e..50b1576 100644 100 | --- a/ubuntu-push-client.go 101 | +++ b/ubuntu-push-client.go 102 | @@ -23,7 +23,7 @@ import ( 103 | "runtime" 104 | "syscall" 105 | 106 | - "launchpad.net/go-xdg/v0" 107 | + "launchpad.net/go-xdg" 108 | 109 | "github.com/ubports/ubuntu-push/client" 110 | ) 111 | -- 112 | 2.25.0 113 | 114 | -------------------------------------------------------------------------------- /ubuntu-app-launch-git/Gtest.patch: -------------------------------------------------------------------------------- 1 | diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt 2 | index f58fbd1..dcc2927 100644 3 | --- a/tests/CMakeLists.txt 4 | +++ b/tests/CMakeLists.txt 5 | @@ -9,14 +9,14 @@ find_package(GMock) 6 | add_executable (helper-test helper-test.cc) 7 | add_definitions ( -DCMAKE_SOURCE_DIR="${CMAKE_CURRENT_SOURCE_DIR}" ) 8 | add_definitions ( -DCMAKE_BINARY_DIR="${CMAKE_CURRENT_BINARY_DIR}" ) 9 | -target_link_libraries (helper-test launcher-static gtest_main ${GTEST_MAIN_LIBRARIES} ${DBUSTEST_LIBRARIES}) 10 | +target_link_libraries (helper-test launcher-static gtest_main ${GMOCK_LIBRARIES} ${DBUSTEST_LIBRARIES}) 11 | 12 | add_test (helper-test helper-test) 13 | 14 | # Helper test 15 | 16 | add_executable (helper-handshake-test helper-handshake-test.cc) 17 | -target_link_libraries (helper-handshake-test launcher-static gtest_main ${GTEST_MAIN_LIBRARIES}) 18 | +target_link_libraries (helper-handshake-test launcher-static gtest_main ${GMOCK_LIBRARIES}) 19 | 20 | add_test (helper-handshake-test helper-handshake-test) 21 | 22 | @@ -33,7 +33,7 @@ add_definitions ( -DSNAP_BASEDIR="${CMAKE_CURRENT_SOURCE_DIR}/snap-basedir" ) 23 | add_executable (libual-test 24 | libual-test.cc 25 | mir-mock.cpp) 26 | -target_link_libraries (libual-test gtest_main ${GTEST_MAIN_LIBRARIES} ${LIBUPSTART_LIBRARIES} ${DBUSTEST_LIBRARIES} launcher-static) 27 | +target_link_libraries (libual-test gtest_main ${GMOCK_LIBRARIES} ${LIBUPSTART_LIBRARIES} ${DBUSTEST_LIBRARIES} launcher-static) 28 | 29 | add_executable (libual-cpp-test 30 | libual-cpp-test.cc 31 | @@ -54,7 +54,7 @@ add_test (NAME libual-cpp-test COMMAND libual-cpp-test) 32 | 33 | add_executable (app-store-legacy 34 | app-store-legacy.cpp) 35 | -target_link_libraries (app-store-legacy ${GMOCK_LIBRARIES} ${GTEST_MAIN_LIBRARIES} launcher-static ${DBUSTEST_LIBRARIES}) 36 | +target_link_libraries (app-store-legacy ${GMOCK_LIBRARIES} ${GMOCK_LIBRARIES} launcher-static ${DBUSTEST_LIBRARIES}) 37 | 38 | add_test(NAME app-store-legacy COMMAND "${CMAKE_CURRENT_BINARY_DIR}/app-store-legacy" --gtest_list_tests "|" grep "\"^ \"" "|" xargs -n 1 printf "\"--gtest_filter=*.%s\\n\"" "|" xargs -n 1 "${CMAKE_CURRENT_BINARY_DIR}/app-store-legacy") 39 | 40 | @@ -63,7 +63,7 @@ add_test(NAME app-store-legacy COMMAND "${CMAKE_CURRENT_BINARY_DIR}/app-store-le 41 | 42 | add_executable (jobs-base-test 43 | jobs-base-test.cpp) 44 | -target_link_libraries (jobs-base-test ${GMOCK_LIBRARIES} ${GTEST_MAIN_LIBRARIES} launcher-static ${DBUSTEST_LIBRARIES}) 45 | +target_link_libraries (jobs-base-test ${GMOCK_LIBRARIES} ${GMOCK_LIBRARIES} launcher-static ${DBUSTEST_LIBRARIES}) 46 | 47 | add_test(NAME jobs-base-test COMMAND jobs-base-test) 48 | 49 | @@ -89,7 +89,7 @@ if(CURL_FOUND) 50 | add_definitions ( -DSNAPD_TEST_SOCKET="/tmp/snapd-test-socket" ) 51 | add_executable (snapd-info-test 52 | snapd-info-test.cpp) 53 | -target_link_libraries (snapd-info-test gtest_main ${GTEST_MAIN_LIBRARIES} launcher-static) 54 | +target_link_libraries (snapd-info-test gtest_main ${GMOCK_LIBRARIES} launcher-static) 55 | add_test (NAME snapd-info-test COMMAND snapd-info-test) 56 | endif() 57 | 58 | @@ -97,7 +97,7 @@ endif() 59 | 60 | add_executable (list-apps 61 | list-apps.cpp) 62 | -target_link_libraries (list-apps gtest_main ${GTEST_MAIN_LIBRARIES} ${DBUSTEST_LIBRARIES} launcher-static) 63 | +target_link_libraries (list-apps gtest_main ${GMOCK_LIBRARIES} ${DBUSTEST_LIBRARIES} launcher-static) 64 | add_test (NAME list-apps COMMAND ${CMAKE_CURRENT_BINARY_DIR}/list-apps) 65 | 66 | # Application Info Desktop 67 | @@ -117,7 +117,7 @@ add_executable (application-icon-finder-test 68 | 69 | #sources 70 | ${CMAKE_SOURCE_DIR}/libubuntu-app-launch/application-icon-finder.cpp) 71 | -target_link_libraries (application-icon-finder-test gtest_main ${GTEST_MAIN_LIBRARIES} ubuntu-launcher) 72 | +target_link_libraries (application-icon-finder-test gtest_main ${GMOCK_LIBRARIES} ubuntu-launcher) 73 | 74 | add_test (NAME application-icon-finder-test COMMAND application-icon-finder-test) 75 | 76 | -------------------------------------------------------------------------------- /platform-api-git/hybris.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/ubuntu/application/touch/CMakeLists.txt b/src/ubuntu/application/touch/CMakeLists.txt 2 | index b0272cd..fb4408d 100644 3 | --- a/src/ubuntu/application/touch/CMakeLists.txt 4 | +++ b/src/ubuntu/application/touch/CMakeLists.txt 5 | @@ -1,35 +1,37 @@ 6 | -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11") 7 | +if(Hybris) 8 | + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11") 9 | 10 | -add_subdirectory(hybris) 11 | + add_subdirectory(hybris) 12 | 13 | -add_library( 14 | - ubuntu_application_api_touch_mirclient SHARED 15 | + add_library( 16 | + ubuntu_application_api_touch_mirclient SHARED 17 | 18 | - module.cpp 19 | - module_version.h 20 | -) 21 | + module.cpp 22 | + module_version.h 23 | + ) 24 | 25 | -target_link_libraries( 26 | - ubuntu_application_api_touch_mirclient 27 | + target_link_libraries( 28 | + ubuntu_application_api_touch_mirclient 29 | 30 | - "-Wl,--whole-archive" 31 | - ubuntu_application_api_mirclient 32 | - ubuntu_application_api_hybris 33 | - ${UBUNTU_APPLICATION_API_LINK_LIBRARIES} 34 | - "-Wl,--no-whole-archive" 35 | - #TODO: Alarms 36 | -) 37 | + "-Wl,--whole-archive" 38 | + ubuntu_application_api_mirclient 39 | + ubuntu_application_api_hybris 40 | + ${UBUNTU_APPLICATION_API_LINK_LIBRARIES} 41 | + "-Wl,--no-whole-archive" 42 | + #TODO: Alarms 43 | + ) 44 | 45 | -set_target_properties( 46 | - ubuntu_application_api_touch_mirclient 47 | - PROPERTIES 48 | - VERSION ${UBUNTU_PLATFORM_API_VERSION_MAJOR}.${UBUNTU_PLATFORM_API_VERSION_MINOR}.${UBUNTU_PLATFORM_API_VERSION_PATCH} 49 | - SOVERSION ${UBUNTU_PLATFORM_API_VERSION_MAJOR} 50 | -) 51 | + set_target_properties( 52 | + ubuntu_application_api_touch_mirclient 53 | + PROPERTIES 54 | + VERSION ${UBUNTU_PLATFORM_API_VERSION_MAJOR}.${UBUNTU_PLATFORM_API_VERSION_MINOR}.${UBUNTU_PLATFORM_API_VERSION_PATCH} 55 | + SOVERSION ${UBUNTU_PLATFORM_API_VERSION_MAJOR} 56 | + ) 57 | 58 | -install( 59 | - TARGETS ubuntu_application_api_touch_mirclient 60 | - # this is not a development library to compile against, users should always 61 | - # specify the SONAME; so don't build a *.so 62 | - LIBRARY DESTINATION "${LIB_INSTALL_DIR}" NAMELINK_SKIP 63 | -) 64 | + install( 65 | + TARGETS ubuntu_application_api_touch_mirclient 66 | + # this is not a development library to compile against, users should always 67 | + # specify the SONAME; so don't build a *.so 68 | + LIBRARY DESTINATION "${LIB_INSTALL_DIR}" NAMELINK_SKIP 69 | + ) 70 | +endif() 71 | diff --git a/src/ubuntu/application/touch/hybris/CMakeLists.txt b/src/ubuntu/application/touch/hybris/CMakeLists.txt 72 | index 26a1c59..69f22db 100644 73 | --- a/src/ubuntu/application/touch/hybris/CMakeLists.txt 74 | +++ b/src/ubuntu/application/touch/hybris/CMakeLists.txt 75 | @@ -1,17 +1,19 @@ 76 | -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11 -fPIC") 77 | +if(Hybris) 78 | + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11 -fPIC") 79 | 80 | -add_library( 81 | - ubuntu_application_api_hybris STATIC 82 | - 83 | - ubuntu_application_sensors_hybris.cpp 84 | -) 85 | + add_library( 86 | + ubuntu_application_api_hybris STATIC 87 | + 88 | + ubuntu_application_sensors_hybris.cpp 89 | + ) 90 | 91 | -include_directories( 92 | - ${CMAKE_BINARY_DIR}/include 93 | -) 94 | + include_directories( 95 | + ${CMAKE_BINARY_DIR}/include 96 | + ) 97 | 98 | -target_link_libraries( 99 | - ubuntu_application_api_hybris 100 | - 101 | - ${Hybris} 102 | -) 103 | + target_link_libraries( 104 | + ubuntu_application_api_hybris 105 | + 106 | + ${Hybris} 107 | + ) 108 | +endif() 109 | diff --git a/src/ubuntu/hardware/CMakeLists.txt b/src/ubuntu/hardware/CMakeLists.txt 110 | index df1f0d2..c2a07e8 100644 111 | --- a/src/ubuntu/hardware/CMakeLists.txt 112 | +++ b/src/ubuntu/hardware/CMakeLists.txt 113 | @@ -1,45 +1,47 @@ 114 | -set( 115 | - UBUNTU_HARDWARE_API_LINK_LIBRARIES 116 | - 117 | - ubuntu_hardware_alarm 118 | -) 119 | +if(Hybris) 120 | + set( 121 | + UBUNTU_HARDWARE_API_LINK_LIBRARIES 122 | + 123 | + ubuntu_hardware_alarm 124 | + ) 125 | 126 | -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11 -fPIC") 127 | + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11 -fPIC") 128 | 129 | -include_directories( 130 | - ${CMAKE_BINARY_DIR}/include 131 | -) 132 | + include_directories( 133 | + ${CMAKE_BINARY_DIR}/include 134 | + ) 135 | 136 | -include_directories(../../bridge) 137 | + include_directories(../../bridge) 138 | 139 | -add_subdirectory(alarms/) 140 | + add_subdirectory(alarms/) 141 | 142 | -add_library( 143 | - ubuntu_platform_hardware_api SHARED 144 | - ubuntu_platform_hardware_api.cpp 145 | -) 146 | + add_library( 147 | + ubuntu_platform_hardware_api SHARED 148 | + ubuntu_platform_hardware_api.cpp 149 | + ) 150 | 151 | -target_link_libraries( 152 | - ubuntu_platform_hardware_api 153 | + target_link_libraries( 154 | + ubuntu_platform_hardware_api 155 | 156 | - "-Wl,--whole-archive" 157 | - ${UBUNTU_HARDWARE_API_LINK_LIBRARIES} 158 | - "-Wl,--no-whole-archive" 159 | + "-Wl,--whole-archive" 160 | + ${UBUNTU_HARDWARE_API_LINK_LIBRARIES} 161 | + "-Wl,--no-whole-archive" 162 | 163 | - dl 164 | - ${Hybris} 165 | -) 166 | + dl 167 | + ${Hybris} 168 | + ) 169 | 170 | -set_target_properties( 171 | - ubuntu_platform_hardware_api 172 | - PROPERTIES 173 | - VERSION ${UBUNTU_PLATFORM_API_VERSION_MAJOR}.${UBUNTU_PLATFORM_API_VERSION_MINOR}.${UBUNTU_PLATFORM_API_VERSION_PATCH} 174 | - SOVERSION ${UBUNTU_PLATFORM_API_VERSION_MAJOR} 175 | -) 176 | + set_target_properties( 177 | + ubuntu_platform_hardware_api 178 | + PROPERTIES 179 | + VERSION ${UBUNTU_PLATFORM_API_VERSION_MAJOR}.${UBUNTU_PLATFORM_API_VERSION_MINOR}.${UBUNTU_PLATFORM_API_VERSION_PATCH} 180 | + SOVERSION ${UBUNTU_PLATFORM_API_VERSION_MAJOR} 181 | + ) 182 | 183 | -install( 184 | - TARGETS ubuntu_platform_hardware_api 185 | - ${INSTALL_TARGETS_DEFAULT_ARGS} 186 | -) 187 | + install( 188 | + TARGETS ubuntu_platform_hardware_api 189 | + ${INSTALL_TARGETS_DEFAULT_ARGS} 190 | + ) 191 | 192 | -add_subdirectory(tests/) 193 | + add_subdirectory(tests/) 194 | +endif() 195 | -------------------------------------------------------------------------------- /indicator-messages-git/0002-Fix-build-with-new-glib-versions.patch: -------------------------------------------------------------------------------- 1 | From cf14aa88b4823858d8d3070a0c50664b0efd8ca0 Mon Sep 17 00:00:00 2001 2 | From: Luca Weiss 3 | Date: Sat, 25 Jan 2020 12:30:32 +0100 4 | Subject: [PATCH 2/2] Fix build with new glib versions 5 | 6 | Replace use of deprecated g_type_class_add_private. 7 | Replace use of deprecated G_TYPE_INSTANCE_GET_PRIVATE. 8 | 9 | Bump the minimal required version of glib to 2.38.0, the version 10 | where G_PRIVATE_ADD was added. 11 | --- 12 | configure.ac | 2 +- 13 | src/im-accounts-service.c | 8 +++----- 14 | src/indicator-desktop-shortcuts.c | 14 ++++++-------- 15 | 3 files changed, 10 insertions(+), 14 deletions(-) 16 | 17 | diff --git a/configure.ac b/configure.ac 18 | index 7986cf6..080c46e 100644 19 | --- a/configure.ac 20 | +++ b/configure.ac 21 | @@ -39,7 +39,7 @@ AC_PROG_CXX 22 | ########################### 23 | 24 | GIO_UNIX_REQUIRED_VERSION=2.33.10 25 | -GLIB_REQUIRED_VERSION=2.35.4 26 | +GLIB_REQUIRED_VERSION=2.38.0 27 | INTROSPECTION_REQUIRED_VERSION=1.32.0 28 | 29 | PKG_CHECK_MODULES(APPLET, gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION 30 | diff --git a/src/im-accounts-service.c b/src/im-accounts-service.c 31 | index b7ab15d..ee55817 100644 32 | --- a/src/im-accounts-service.c 33 | +++ b/src/im-accounts-service.c 34 | @@ -34,7 +34,7 @@ struct _ImAccountsServicePrivate { 35 | }; 36 | 37 | #define IM_ACCOUNTS_SERVICE_GET_PRIVATE(o) \ 38 | -(G_TYPE_INSTANCE_GET_PRIVATE ((o), IM_ACCOUNTS_SERVICE_TYPE, ImAccountsServicePrivate)) 39 | +(im_accounts_service_get_instance_private (o)) 40 | 41 | static void im_accounts_service_class_init (ImAccountsServiceClass *klass); 42 | static void im_accounts_service_init (ImAccountsService *self); 43 | @@ -44,15 +44,13 @@ static void user_changed (ActUserManager * manager, ActUser * user, gpointer use 44 | static void on_user_manager_loaded (ActUserManager * manager, GParamSpec * pspect, gpointer user_data); 45 | static void security_privacy_ready (GObject * obj, GAsyncResult * res, gpointer user_data); 46 | 47 | -G_DEFINE_TYPE (ImAccountsService, im_accounts_service, G_TYPE_OBJECT); 48 | +G_DEFINE_TYPE_WITH_PRIVATE (ImAccountsService, im_accounts_service, G_TYPE_OBJECT); 49 | 50 | static void 51 | im_accounts_service_class_init (ImAccountsServiceClass *klass) 52 | { 53 | GObjectClass *object_class = G_OBJECT_CLASS (klass); 54 | 55 | - g_type_class_add_private (klass, sizeof (ImAccountsServicePrivate)); 56 | - 57 | object_class->dispose = im_accounts_service_dispose; 58 | object_class->finalize = im_accounts_service_finalize; 59 | } 60 | @@ -78,7 +76,7 @@ im_accounts_service_init (ImAccountsService *self) 61 | static void 62 | im_accounts_service_dispose (GObject *object) 63 | { 64 | - ImAccountsServicePrivate * priv = IM_ACCOUNTS_SERVICE_GET_PRIVATE(object); 65 | + ImAccountsServicePrivate * priv = IM_ACCOUNTS_SERVICE_GET_PRIVATE(IM_ACCOUNTS_SERVICE (object)); 66 | 67 | if (priv->cancel != NULL) { 68 | g_cancellable_cancel(priv->cancel); 69 | diff --git a/src/indicator-desktop-shortcuts.c b/src/indicator-desktop-shortcuts.c 70 | index 7b43630..bf5198a 100644 71 | --- a/src/indicator-desktop-shortcuts.c 72 | +++ b/src/indicator-desktop-shortcuts.c 73 | @@ -61,7 +61,7 @@ enum { 74 | }; 75 | 76 | #define INDICATOR_DESKTOP_SHORTCUTS_GET_PRIVATE(o) \ 77 | - (G_TYPE_INSTANCE_GET_PRIVATE ((o), INDICATOR_TYPE_DESKTOP_SHORTCUTS, IndicatorDesktopShortcutsPrivate)) 78 | + (indicator_desktop_shortcuts_get_instance_private (o)) 79 | 80 | static void indicator_desktop_shortcuts_class_init (IndicatorDesktopShortcutsClass *klass); 81 | static void indicator_desktop_shortcuts_init (IndicatorDesktopShortcuts *self); 82 | @@ -72,7 +72,7 @@ static void get_property (GObject * object, guint prop_id, GValue * value, GPara 83 | static void parse_keyfile (IndicatorDesktopShortcuts * ids); 84 | static gboolean should_show (GKeyFile * keyfile, const gchar * group, const gchar * identity, gboolean should_have_target); 85 | 86 | -G_DEFINE_TYPE (IndicatorDesktopShortcuts, indicator_desktop_shortcuts, G_TYPE_OBJECT); 87 | +G_DEFINE_TYPE_WITH_PRIVATE (IndicatorDesktopShortcuts, indicator_desktop_shortcuts, G_TYPE_OBJECT); 88 | 89 | /* Build up the class */ 90 | static void 91 | @@ -80,8 +80,6 @@ indicator_desktop_shortcuts_class_init (IndicatorDesktopShortcutsClass *klass) 92 | { 93 | GObjectClass *object_class = G_OBJECT_CLASS (klass); 94 | 95 | - g_type_class_add_private (klass, sizeof (IndicatorDesktopShortcutsPrivate)); 96 | - 97 | object_class->dispose = indicator_desktop_shortcuts_dispose; 98 | object_class->finalize = indicator_desktop_shortcuts_finalize; 99 | 100 | @@ -124,7 +122,7 @@ indicator_desktop_shortcuts_init (IndicatorDesktopShortcuts *self) 101 | static void 102 | indicator_desktop_shortcuts_dispose (GObject *object) 103 | { 104 | - IndicatorDesktopShortcutsPrivate * priv = INDICATOR_DESKTOP_SHORTCUTS_GET_PRIVATE(object); 105 | + IndicatorDesktopShortcutsPrivate * priv = INDICATOR_DESKTOP_SHORTCUTS_GET_PRIVATE(INDICATOR_DESKTOP_SHORTCUTS (object)); 106 | 107 | if (priv->keyfile) { 108 | g_key_file_free(priv->keyfile); 109 | @@ -139,7 +137,7 @@ indicator_desktop_shortcuts_dispose (GObject *object) 110 | static void 111 | indicator_desktop_shortcuts_finalize (GObject *object) 112 | { 113 | - IndicatorDesktopShortcutsPrivate * priv = INDICATOR_DESKTOP_SHORTCUTS_GET_PRIVATE(object); 114 | + IndicatorDesktopShortcutsPrivate * priv = INDICATOR_DESKTOP_SHORTCUTS_GET_PRIVATE(INDICATOR_DESKTOP_SHORTCUTS (object)); 115 | 116 | if (priv->identity != NULL) { 117 | g_free(priv->identity); 118 | @@ -170,7 +168,7 @@ static void 119 | set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec) 120 | { 121 | g_return_if_fail(INDICATOR_IS_DESKTOP_SHORTCUTS(object)); 122 | - IndicatorDesktopShortcutsPrivate * priv = INDICATOR_DESKTOP_SHORTCUTS_GET_PRIVATE(object); 123 | + IndicatorDesktopShortcutsPrivate * priv = INDICATOR_DESKTOP_SHORTCUTS_GET_PRIVATE(INDICATOR_DESKTOP_SHORTCUTS (object)); 124 | 125 | switch(prop_id) { 126 | case PROP_DESKTOP_FILE: { 127 | @@ -233,7 +231,7 @@ static void 128 | get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec) 129 | { 130 | g_return_if_fail(INDICATOR_IS_DESKTOP_SHORTCUTS(object)); 131 | - IndicatorDesktopShortcutsPrivate * priv = INDICATOR_DESKTOP_SHORTCUTS_GET_PRIVATE(object); 132 | + IndicatorDesktopShortcutsPrivate * priv = INDICATOR_DESKTOP_SHORTCUTS_GET_PRIVATE(INDICATOR_DESKTOP_SHORTCUTS (object)); 133 | 134 | switch(prop_id) { 135 | case PROP_IDENTITY: 136 | -- 137 | 2.25.0 138 | 139 | -------------------------------------------------------------------------------- /cmake-extras-git/Gtest.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/GMock/GMockConfig.cmake b/src/GMock/GMockConfig.cmake 2 | index 2078030..2e92c6e 100644 3 | --- a/src/GMock/GMockConfig.cmake 4 | +++ b/src/GMock/GMockConfig.cmake 5 | @@ -1,92 +1,69 @@ 6 | -# Copyright (C) 2014 Canonical Ltd 7 | -# 8 | -# This program is free software: you can redistribute it and/or modify 9 | -# it under the terms of the GNU Lesser General Public License version 3 as 10 | -# published by the Free Software Foundation. 11 | -# 12 | -# This program is distributed in the hope that it will be useful, 13 | -# but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | -# GNU Lesser General Public License for more details. 16 | -# 17 | -# You should have received a copy of the GNU Lesser General Public License 18 | -# along with this program. If not, see . 19 | - 20 | -# Build with system gmock and embedded gtest 21 | -# 22 | -# Usage: 23 | -# 24 | -# find_package(GMock) 25 | -# 26 | -# ... 27 | -# 28 | -# target_link_libraries( 29 | -# my-target 30 | -# ${GTEST_BOTH_LIBRARIES} 31 | -# ) 32 | -# 33 | -# NOTE: Due to the way this package finder is implemented, do not attempt 34 | -# to find the GMock package more than once. 35 | - 36 | -find_package(Threads) 37 | - 38 | -if (EXISTS "/usr/src/googletest") 39 | - # As of version 1.8.0 40 | - set(GMOCK_SOURCE_DIR "/usr/src/googletest/googlemock" CACHE PATH "gmock source directory") 41 | - set(GMOCK_INCLUDE_DIRS "${GMOCK_SOURCE_DIR}/include" CACHE PATH "gmock source include directory") 42 | - set(GTEST_INCLUDE_DIRS "/usr/src/googletest/googletest/include" CACHE PATH "gtest source include directory") 43 | +include(FindPackageHandleStandardArgs) 44 | + 45 | +find_package(GTest) 46 | + 47 | +if (NOT GTEST_FOUND) 48 | + include(ExternalProject) 49 | + 50 | + find_path(GTEST_ROOT 51 | + NAMES CMakeLists.txt 52 | + PATHS /usr/src/gtest /usr/src/googletest/googletest/ 53 | + DOC "Path to GTest CMake project") 54 | + 55 | + ExternalProject_Add(GTest PREFIX ./gtest 56 | + SOURCE_DIR ${GTEST_ROOT} 57 | + CMAKE_ARGS 58 | + -DCMAKE_CXX_COMPILER_WORKS=1 59 | + -DCMAKE_CXX_FLAGS='${CMAKE_CXX_FLAGS}' 60 | + -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} 61 | + INSTALL_COMMAND true 62 | + BUILD_BYPRODUCTS 63 | + ${CMAKE_CURRENT_BINARY_DIR}/gtest/src/GTest-build/libgtest.a 64 | + ${CMAKE_CURRENT_BINARY_DIR}/gtest/src/GTest-build/libgtest_main.a 65 | + ${CMAKE_CURRENT_BINARY_DIR}/gtest/src/GMock-build/libgmock.a) 66 | + 67 | + ExternalProject_Get_Property(GTest binary_dir) 68 | + 69 | + add_library(gtest UNKNOWN IMPORTED) 70 | + set_target_properties(gtest PROPERTIES IMPORTED_LOCATION ${binary_dir}/libgtest.a) 71 | + add_dependencies(gtest GTest) 72 | + set(GTEST_LIBRARY "gtest") 73 | + 74 | + add_library(gtest_main UNKNOWN IMPORTED) 75 | + set_target_properties(gtest_main PROPERTIES IMPORTED_LOCATION ${binary_dir}/libgtest_main.a) 76 | + add_dependencies(gtest_main GTest) 77 | + set(GTEST_MAIN_LIBRARY "gtest_main") 78 | + 79 | + set(GTEST_BOTH_LIBRARIES ${GTEST_LIBRARY} ${GTEST_MAIN_LIBRARY}) 80 | + find_path(GTEST_INCLUDE_DIRS NAMES gtest/gtest.h) 81 | + find_package_handle_standard_args(GTest GTEST_LIBRARY GTEST_BOTH_LIBRARIES GTEST_INCLUDE_DIRS) 82 | +endif() 83 | + 84 | +find_file(GMOCK_SOURCE 85 | + NAMES gmock-all.cc 86 | + DOC "GMock source" 87 | + PATHS /usr/src/googletest/googlemock/src/ /usr/src/gmock/ /usr/src/gmock/src) 88 | + 89 | +if (EXISTS ${GMOCK_SOURCE}) 90 | + find_path(GMOCK_INCLUDE_DIR gmock/gmock.h) 91 | + 92 | + add_library(GMock STATIC ${GMOCK_SOURCE}) 93 | + 94 | + if (EXISTS /usr/src/googletest/googlemock/src) 95 | + set_source_files_properties(${GMOCK_SOURCE} PROPERTIES COMPILE_FLAGS "-I/usr/src/googletest/googlemock") 96 | + endif() 97 | + 98 | + if (EXISTS /usr/src/gmock/src) 99 | + set_source_files_properties(${GMOCK_SOURCE} PROPERTIES COMPILE_FLAGS "-I/usr/src/gmock") 100 | + endif() 101 | + 102 | + find_package_handle_standard_args(GMock DEFAULT_MSG GMOCK_INCLUDE_DIR) 103 | + 104 | + set(GMOCK_LIBRARY GMock) 105 | else() 106 | - set(GMOCK_SOURCE_DIR "/usr/src/gmock" CACHE PATH "gmock source directory") 107 | - set(GMOCK_INCLUDE_DIRS "/usr/include" CACHE PATH "gmock source include directory") 108 | - set(GTEST_INCLUDE_DIRS "/usr/include" CACHE PATH "gtest source include directory") 109 | + # Assume gmock is no longer source, we'll find out soon enough if that's wrong 110 | + add_custom_target(GMock) 111 | + string(REPLACE gtest gmock GMOCK_LIBRARY ${GTEST_LIBRARY}) 112 | endif() 113 | 114 | -# We add -g so we get debug info for the gtest stack frames with gdb. 115 | -# The warnings are suppressed so we get a noise-free build for gtest and gmock if the caller 116 | -# has these warnings enabled. 117 | -set(findgmock_cxx_flags "${CMAKE_CXX_FLAGS} -g -Wno-old-style-cast -Wno-missing-field-initializers -Wno-ctor-dtor-privacy -Wno-switch-default") 118 | - 119 | -set(findgmock_bin_dir "${CMAKE_CURRENT_BINARY_DIR}/gmock") 120 | -set(findgmock_gtest_lib "${findgmock_bin_dir}/gtest/libgtest.a") 121 | -set(findgmock_gtest_main_lib "${findgmock_bin_dir}/gtest/libgtest_main.a") 122 | -set(findgmock_gmock_lib "${findgmock_bin_dir}/libgmock.a") 123 | -set(findgmock_gmock_main_lib "${findgmock_bin_dir}/libgmock_main.a") 124 | - 125 | -include(ExternalProject) 126 | -ExternalProject_Add(GMock SOURCE_DIR "${GMOCK_SOURCE_DIR}" 127 | - BINARY_DIR "${findgmock_bin_dir}" 128 | - BUILD_BYPRODUCTS "${findgmock_gtest_lib}" 129 | - "${findgmock_gtest_main_lib}" 130 | - "${findgmock_gmock_lib}" 131 | - "${findgmock_gmock_main_lib}" 132 | - INSTALL_COMMAND "" 133 | - CMAKE_ARGS "-DCMAKE_CXX_FLAGS=${findgmock_cxx_flags}") 134 | - 135 | -add_library(gtest INTERFACE) 136 | -target_include_directories(gtest INTERFACE ${GTEST_INCLUDE_DIRS}) 137 | -target_link_libraries(gtest INTERFACE ${findgmock_gtest_lib} ${CMAKE_THREAD_LIBS_INIT}) 138 | -add_dependencies(gtest GMock) 139 | - 140 | -add_library(gtest_main INTERFACE) 141 | -target_include_directories(gtest_main INTERFACE ${GTEST_INCLUDE_DIRS}) 142 | -target_link_libraries(gtest_main INTERFACE ${findgmock_gtest_main_lib} gtest) 143 | - 144 | -add_library(gmock INTERFACE) 145 | -target_include_directories(gmock INTERFACE ${GMOCK_INCLUDE_DIRS}) 146 | -target_link_libraries(gmock INTERFACE ${findgmock_gmock_lib} gtest) 147 | - 148 | -add_library(gmock_main INTERFACE) 149 | -target_include_directories(gmock_main INTERFACE ${GMOCK_INCLUDE_DIRS}) 150 | -target_link_libraries(gmock_main INTERFACE ${findgmock_gmock_main_lib} gmock) 151 | - 152 | -set(GTEST_LIBRARIES gtest) 153 | -set(GTEST_MAIN_LIBRARIES gtest_main) 154 | -set(GMOCK_LIBRARIES gmock gmock_main) 155 | -set(GTEST_BOTH_LIBRARIES ${GTEST_LIBRARIES} ${GTEST_MAIN_LIBRARIES}) 156 | - 157 | -unset(findgmock_cxx_flags) 158 | -unset(findgmock_bin_dir) 159 | -unset(findgmock_gtest_lib) 160 | -unset(findgmock_gtest_main_lib) 161 | -unset(findgmock_gmock_lib) 162 | -unset(findgmock_gmock_main_lib) 163 | +set(GMOCK_LIBRARIES ${GTEST_BOTH_LIBRARIES} ${GMOCK_LIBRARY}) 164 | -------------------------------------------------------------------------------- /STATUS.md: -------------------------------------------------------------------------------- 1 | Status 2 | ====== 3 | 4 | _Clickable icons:_ 5 | 6 | - 🌍 - Packaged here, not published 7 | - 🥂 - Available in the main Arch repository 8 | - ✅ - Available in the AUR 9 | - 😜 - Git version is available in the AUR 10 | - ⛔️ - Unresolved issues 11 | - 🆗 - Resolved issues 12 | 13 | **Mir packages:** 14 | - [x] `lcov` [✅](https://aur.archlinux.org/packages/lcov/) 15 | - [x] `wlcs` [✅](https://aur.archlinux.org/packages/wlcs/) 16 | - [x] `gcovr` [🥂](https://www.archlinux.org/packages/community/any/gcovr/) 17 | - [x] `python-dbusmock` [🥂](https://www.archlinux.org/packages/extra/any/python-dbusmock/) 18 | - [x] `mir` [✅](https://aur.archlinux.org/packages/mir/) [😜](https://aur.archlinux.org/packages/mir-git) | [🆗](https://github.com/MirServer/mir/commit/e6ba0de363320feab9359821c96d69ff61a7f121) [🆗](https://github.com/MirServer/mir/issues/402) [🆗](https://github.com/MirServer/mir/commit/ce010778096db14de3b682313fc0376e0c8a6ada) [🆗](https://github.com/MirServer/mir/issues/1084) 19 | 20 | **Unity8 packages:** 21 | - [x] `cmake-extras` [🌍](cmake-extras-git) | [⛔️](https://github.com/ubports/cmake-extras/issues/2) 22 | - [x] `libqtdbustest` [🌍](libqtdbustest-git) | [🆗](https://github.com/ubports/libqtdbustest/issues/1) 23 | - [x] `dbus-test-runner` [🌍](dbus-test-runner) | [🆗](https://aur.archlinux.org/pkgbase/dbus-test-runner/flag-comment/) 24 | - [x] `unity-api`[🌍](unity-api-git) | [🆗](https://github.com/ubports/unity-api/issues/2) [🆗](https://github.com/ubports/unity-api/issues/4) [🆗](https://github.com/ubports/unity-api/pull/18) 25 | - [x] `libertine` [🌍](libertine-git) | [🆗](https://github.com/ubports/libertine/issues/3) [⛔️](https://github.com/ubports/libertine/issues/5) 26 | - [x] `ubuntu-download-manager` [🌍](ubuntu-download-manager-git) | [✅](https://github.com/ubports/ubuntu-download-manager/issues/2) [⛔️](https://github.com/ubports/ubuntu-download-manager/issues/3) [🆗](https://github.com/ubports/ubuntu-download-manager/issues/4) [⛔️](https://github.com/ubports/ubuntu-download-manager/issues/6) [🆗](https://github.com/ubports/ubuntu-download-manager/issues/18) [🆗](https://github.com/ubports/ubuntu-download-manager/issues/20) 27 | - [x] `properties-cpp` [✅](https://aur.archlinux.org/packages/properties-cpp/) 28 | - [x] `ubuntu-app-launch` [🌍](ubuntu-app-launch-git) | [⛔️](https://github.com/ubports/ubuntu-app-launch/issues/2) [⛔️](https://github.com/ubports/ubuntu-app-launch/issues/3) [⛔️](https://github.com/ubports/ubuntu-app-launch/issues/4) [🆗](https://github.com/ubports/ubuntu-app-launch/pull/1) 29 | - [x] `process-cpp` [✅](https://aur.archlinux.org/packages/process-cpp/) 30 | - [x] `perl-rpc-xml` [✅](https://aur.archlinux.org/packages/perl-rpc-xml/) | [⛔️](https://github.com/rjray/rpc-xml/issues/14) 31 | - [x] `python2-flask-script` [✅](https://aur.archlinux.org/packages/python2-flask-script/) 32 | - [x] `net-cpp` [🌍](net-cpp-git) | [🆗](https://github.com/ubports/net-cpp/pull/1) [⛔️](https://github.com/ubports/net-cpp/issues/2) [⛔️](https://github.com/ubports/net-cpp/issues/3) 33 | - [x] `zmqpp` [✅](https://aur.archlinux.org/packages/zmqpp/) 34 | - [x] `lttng-tools` [✅](https://aur.archlinux.org/packages/lttng-tools/) 35 | - [x] `url-dispatcher` [🌍](url-dispatcher-git) | [🆗](https://github.com/ubports/url-dispatcher/pull/1) [🆗](https://github.com/ubports/url-dispatcher/issues/4) [🆗](https://github.com/ubports/url-dispatcher/issues/5) 36 | - [x] `persistent-cache-cpp` [🌍](persistent-cache-cpp-bzr) 37 | - [x] `thumbnailer` [🌍](thumbnailer-git) | [🆗](https://github.com/ubports/thumbnailer/issues/1) 38 | - [x] `qtpim` [🌍](qt5-pim-git) 39 | - [x] `qtsystems` [🌍](qt5-systems-git) 40 | - [x] `humanity-icon-theme` [✅](https://aur.archlinux.org/packages/humanity-icon-theme/) 41 | - [x] `ubuntu-themes` [✅](https://aur.archlinux.org/packages/ubuntu-themes/) 42 | - [x] `ubuntu-ui-toolkit` [🌍](ubuntu-ui-toolkit-git) | [🆗](https://github.com/ubports/ubuntu-ui-toolkit/issues/9) [⛔️](https://github.com/ubports/ubuntu-ui-toolkit/issues/10) [⛔️](https://github.com/ubports/ubuntu-ui-toolkit/issues/11) [🆗](https://github.com/ubports/ubuntu-ui-toolkit/issues/12) [⛔️](https://github.com/ubports/ubuntu-ui-toolkit/issues/13) [⛔️](https://github.com/ubports/ubuntu-ui-toolkit/issues/14) [🆗](https://github.com/ubports/ubuntu-ui-toolkit/pull/29) 43 | - [x] `gsettings-qt` [🌍](gsettings-qt-git) | [⛔️](https://github.com/ubports/gsettings-qt/issues/2) 44 | - [x] `content-hub` [🌍](content-hub-git) | [⛔️](https://github.com/ubports/content-hub/issues/1) [🆗](https://github.com/ubports/content-hub/issues/2) [⛔️](https://github.com/ubports/content-hub/issues/4) [⛔️](https://github.com/ubports/content-hub/issues/5) 45 | - [x] `libqtdbusmock` [🌍](libqtdbusmock-git) | [🆗](https://github.com/ubports/libqtdbusmock/issues/1) 46 | - [x] `qtmir` [🌍](qtmir-git) | [⛔️](https://github.com/ubports/qtmir/issues/5) [🆗](https://github.com/ubports/qtmir/issues/6) [🆗](https://github.com/ubports/qtmir/issues/8) [⛔️](https://github.com/ubports/qtmir/issues/9) [🆗](https://github.com/ubports/qtmir/issues/12) [🆗](https://github.com/ubports/qtmir/issues/33) 47 | - [x] `settings-components` [🌍](settings-components-git) | [🆗](https://github.com/ubports/settings-components/issues/3) 48 | - [x] `history-service` [🌍](history-service-git) | [🆗](https://github.com/ubports/history-service/issues/1) 49 | - [x] `dbus-cpp` [✅](https://aur.archlinux.org/packages/dbus-cpp/) | [🆗](https://github.com/ubports/location-service/issues/3) 50 | - [x] `trust-store` [🌍](trust-store-git) | [🆗](https://github.com/ubports/trust-store/issues/2) [🆗](https://github.com/ubports/trust-store/issues/4) 51 | - [x] `location-service` [🌍](location-service-git) | [🆗](https://github.com/ubports/location-service/issues/1) 52 | - [x] `platform-api` [🌍](platform-api-git) | [🆗](https://github.com/ubports/platform-api/issues/1) [⛔️](https://github.com/ubports/platform-api/issues/2) 53 | - [x] `qtunity-appmenutheme` [🌍](qtunity-appmenutheme-git) 54 | - [ ] `maliit-framework` 55 | - [ ] `keyboard-component` 56 | - [x] `click` [🌍](click-git) | [🆗](https://github.com/ubports/click/issues/2) 57 | - [x] `accountsservice` [🌍](accountsservice-ubuntu) 58 | - [x] `geonames` [🌍](geonames-git) | [⛔️](https://github.com/ubports/geonames/issues/1) 59 | - [x] `qmenumodel` [🌍](qmenumodel-git) | [🆗](https://github.com/ubports/qmenumodel/issues/1) 60 | - [x] `ofono` [✅](https://aur.archlinux.org/packages/ofono/) | [🆗](https://aur.archlinux.org/pkgbase/ofono/flag-comment/) 61 | - [x] `libqofono` [🌍](libqofono) 62 | - [x] `system-settings` [🌍](system-settings-git) | [🆗](https://github.com/ubports/system-settings/issues/63) [⛔️](https://github.com/ubports/system-settings/issues/65) [🆗](https://github.com/ubports/system-settings/issues/65) 63 | - [x] `gmenuharness` [🌍](gmenuharness-bzr) | [⛔️](gmenuharness-bzr/Functional1.patch) [⛔️](gmenuharness-bzr/Functional2.patch) 64 | - [x] `indicator-network` [🌍](indicator-network-git) | [🆗](https://github.com/ubports/indicator-network/issues/7) [⛔️](https://github.com/ubports/indicator-network/issues/8) 65 | - [x] `indicator-messages` [🌍](indicator-messages-git) 66 | - [x] `qdjango ` [🌍](qdjango-git) 67 | - [x] `libusermetrics` [🌍](libusermetrics-git) | [🆗](https://github.com/ubports/libusermetrics/issues/1) [🆗](https://github.com/ubports/libusermetrics/issues/3) 68 | - [x] `gsettings-ubuntu-touch-schemas` [🌍](gsettings-ubuntu-touch-schemas-git) 69 | - [x] `ubuntu-wallpapers` [✅](https://aur.archlinux.org/packages/ubuntu-wallpapers/) 70 | - [x] `unity7-schemas` [🌍](unity7-schemas) | Temp. workaround! 71 | - [x] `ubuntu-push` [🌍](ubuntu-push) 72 | - [x] `unity8` [🌍](unity8-git) | [🆗](https://github.com/ubports/unity8/issues/44) [🆗](https://github.com/ubports/unity8/issues/45) 73 | 74 | - [ ] `unity-system-compositor` [⛔️](https://github.com/ubports/unity-system-compositor/issues/5) 75 | - [ ] `qqc2-suru-style` [🆗](https://github.com/ubports/qqc2-suru-style/issues/5) 76 | - [ ] More to follow 77 | 78 | Packaging issues are randomly dumped into [BROKEN.txt](BROKEN.txt). 79 | -------------------------------------------------------------------------------- /ubuntu-push/0002-Remove-v1-suffix-from-go-dbus-imports.patch: -------------------------------------------------------------------------------- 1 | From 4ad32991099257c403648bf892ab19ab9dae88d0 Mon Sep 17 00:00:00 2001 2 | From: Luca Weiss 3 | Date: Sat, 25 Jan 2020 12:11:46 +0100 4 | Subject: [PATCH 2/4] Remove v1 suffix from go-dbus imports 5 | 6 | --- 7 | bus/accounts/accounts.go | 2 +- 8 | bus/accounts/accounts_test.go | 2 +- 9 | bus/bus.go | 2 +- 10 | bus/bus_test.go | 2 +- 11 | bus/connectivity/connectivity_test.go | 2 +- 12 | bus/emblemcounter/emblemcounter.go | 2 +- 13 | bus/emblemcounter/emblemcounter_test.go | 2 +- 14 | bus/endpoint.go | 2 +- 15 | bus/networkmanager/networkmanager.go | 2 +- 16 | bus/networkmanager/networkmanager_test.go | 2 +- 17 | bus/notifications/raw.go | 2 +- 18 | bus/notifications/raw_test.go | 2 +- 19 | bus/testing/testing_endpoint.go | 2 +- 20 | bus/testing/testing_endpoint_test.go | 2 +- 21 | bus/urfkill/urfkill.go | 2 +- 22 | bus/urfkill/urfkill_test.go | 2 +- 23 | client/client_test.go | 2 +- 24 | client/service/postal_test.go | 2 +- 25 | 18 files changed, 18 insertions(+), 18 deletions(-) 26 | 27 | diff --git a/bus/accounts/accounts.go b/bus/accounts/accounts.go 28 | index 4812ccf..b765138 100644 29 | --- a/bus/accounts/accounts.go 30 | +++ b/bus/accounts/accounts.go 31 | @@ -24,7 +24,7 @@ import ( 32 | "strings" 33 | "sync" 34 | 35 | - "launchpad.net/go-dbus/v1" 36 | + "launchpad.net/go-dbus" 37 | "launchpad.net/go-xdg" 38 | 39 | "github.com/ubports/ubuntu-push/bus" 40 | diff --git a/bus/accounts/accounts_test.go b/bus/accounts/accounts_test.go 41 | index 3675251..c63082f 100644 42 | --- a/bus/accounts/accounts_test.go 43 | +++ b/bus/accounts/accounts_test.go 44 | @@ -20,7 +20,7 @@ import ( 45 | "errors" 46 | "testing" 47 | 48 | - "launchpad.net/go-dbus/v1" 49 | + "launchpad.net/go-dbus" 50 | . "launchpad.net/gocheck" 51 | 52 | testibus "github.com/ubports/ubuntu-push/bus/testing" 53 | diff --git a/bus/bus.go b/bus/bus.go 54 | index a4aab7b..a584fd8 100644 55 | --- a/bus/bus.go 56 | +++ b/bus/bus.go 57 | @@ -20,7 +20,7 @@ package bus 58 | // Here we define the Bus itself 59 | 60 | import ( 61 | - "launchpad.net/go-dbus/v1" 62 | + "launchpad.net/go-dbus" 63 | "github.com/ubports/ubuntu-push/logger" 64 | ) 65 | 66 | diff --git a/bus/bus_test.go b/bus/bus_test.go 67 | index 1cea472..10be830 100644 68 | --- a/bus/bus_test.go 69 | +++ b/bus/bus_test.go 70 | @@ -18,7 +18,7 @@ package bus 71 | 72 | import ( 73 | "fmt" 74 | - "launchpad.net/go-dbus/v1" 75 | + "launchpad.net/go-dbus" 76 | . "launchpad.net/gocheck" 77 | helpers "github.com/ubports/ubuntu-push/testing" 78 | "testing" 79 | diff --git a/bus/connectivity/connectivity_test.go b/bus/connectivity/connectivity_test.go 80 | index 8e0c23e..7d4f7cb 100644 81 | --- a/bus/connectivity/connectivity_test.go 82 | +++ b/bus/connectivity/connectivity_test.go 83 | @@ -22,7 +22,7 @@ import ( 84 | "testing" 85 | "time" 86 | 87 | - "launchpad.net/go-dbus/v1" 88 | + "launchpad.net/go-dbus" 89 | . "launchpad.net/gocheck" 90 | 91 | "github.com/ubports/ubuntu-push/bus" 92 | diff --git a/bus/emblemcounter/emblemcounter.go b/bus/emblemcounter/emblemcounter.go 93 | index 6ff5b6a..7154abf 100644 94 | --- a/bus/emblemcounter/emblemcounter.go 95 | +++ b/bus/emblemcounter/emblemcounter.go 96 | @@ -19,7 +19,7 @@ 97 | package emblemcounter 98 | 99 | import ( 100 | - "launchpad.net/go-dbus/v1" 101 | + "launchpad.net/go-dbus" 102 | 103 | "github.com/ubports/ubuntu-push/bus" 104 | "github.com/ubports/ubuntu-push/click" 105 | diff --git a/bus/emblemcounter/emblemcounter_test.go b/bus/emblemcounter/emblemcounter_test.go 106 | index c8faaa3..f7cdd12 100644 107 | --- a/bus/emblemcounter/emblemcounter_test.go 108 | +++ b/bus/emblemcounter/emblemcounter_test.go 109 | @@ -19,7 +19,7 @@ package emblemcounter 110 | import ( 111 | "testing" 112 | 113 | - "launchpad.net/go-dbus/v1" 114 | + "launchpad.net/go-dbus" 115 | . "launchpad.net/gocheck" 116 | 117 | testibus "github.com/ubports/ubuntu-push/bus/testing" 118 | diff --git a/bus/endpoint.go b/bus/endpoint.go 119 | index b735758..c87cbba 100644 120 | --- a/bus/endpoint.go 121 | +++ b/bus/endpoint.go 122 | @@ -23,7 +23,7 @@ import ( 123 | "errors" 124 | "fmt" 125 | 126 | - "launchpad.net/go-dbus/v1" 127 | + "launchpad.net/go-dbus" 128 | 129 | "github.com/ubports/ubuntu-push/logger" 130 | ) 131 | diff --git a/bus/networkmanager/networkmanager.go b/bus/networkmanager/networkmanager.go 132 | index 28f89ec..7c34010 100644 133 | --- a/bus/networkmanager/networkmanager.go 134 | +++ b/bus/networkmanager/networkmanager.go 135 | @@ -21,7 +21,7 @@ 136 | package networkmanager 137 | 138 | import ( 139 | - "launchpad.net/go-dbus/v1" 140 | + "launchpad.net/go-dbus" 141 | 142 | "github.com/ubports/ubuntu-push/bus" 143 | "github.com/ubports/ubuntu-push/logger" 144 | diff --git a/bus/networkmanager/networkmanager_test.go b/bus/networkmanager/networkmanager_test.go 145 | index cf6e69b..9e68f1e 100644 146 | --- a/bus/networkmanager/networkmanager_test.go 147 | +++ b/bus/networkmanager/networkmanager_test.go 148 | @@ -19,7 +19,7 @@ package networkmanager 149 | import ( 150 | "testing" 151 | 152 | - "launchpad.net/go-dbus/v1" 153 | + "launchpad.net/go-dbus" 154 | . "launchpad.net/gocheck" 155 | 156 | testingbus "github.com/ubports/ubuntu-push/bus/testing" 157 | diff --git a/bus/notifications/raw.go b/bus/notifications/raw.go 158 | index abb903d..cd61bcf 100644 159 | --- a/bus/notifications/raw.go 160 | +++ b/bus/notifications/raw.go 161 | @@ -25,7 +25,7 @@ import ( 162 | "encoding/json" 163 | "errors" 164 | 165 | - "launchpad.net/go-dbus/v1" 166 | + "launchpad.net/go-dbus" 167 | 168 | "github.com/ubports/ubuntu-push/bus" 169 | "github.com/ubports/ubuntu-push/click" 170 | diff --git a/bus/notifications/raw_test.go b/bus/notifications/raw_test.go 171 | index b57f8da..0e2fc51 100644 172 | --- a/bus/notifications/raw_test.go 173 | +++ b/bus/notifications/raw_test.go 174 | @@ -24,7 +24,7 @@ import ( 175 | "testing" 176 | "time" 177 | 178 | - "launchpad.net/go-dbus/v1" 179 | + "launchpad.net/go-dbus" 180 | . "launchpad.net/gocheck" 181 | 182 | "github.com/ubports/ubuntu-push/bus" 183 | diff --git a/bus/testing/testing_endpoint.go b/bus/testing/testing_endpoint.go 184 | index f4dc1c6..c09ec98 100644 185 | --- a/bus/testing/testing_endpoint.go 186 | +++ b/bus/testing/testing_endpoint.go 187 | @@ -22,7 +22,7 @@ import ( 188 | "errors" 189 | "fmt" 190 | 191 | - "launchpad.net/go-dbus/v1" 192 | + "launchpad.net/go-dbus" 193 | 194 | "github.com/ubports/ubuntu-push/bus" 195 | "github.com/ubports/ubuntu-push/testing/condition" 196 | diff --git a/bus/testing/testing_endpoint_test.go b/bus/testing/testing_endpoint_test.go 197 | index 64fcb23..ddb960f 100644 198 | --- a/bus/testing/testing_endpoint_test.go 199 | +++ b/bus/testing/testing_endpoint_test.go 200 | @@ -20,7 +20,7 @@ import ( 201 | "testing" 202 | "time" 203 | 204 | - "launchpad.net/go-dbus/v1" 205 | + "launchpad.net/go-dbus" 206 | . "launchpad.net/gocheck" 207 | 208 | "github.com/ubports/ubuntu-push/bus" 209 | diff --git a/bus/urfkill/urfkill.go b/bus/urfkill/urfkill.go 210 | index f456f81..569da65 100644 211 | --- a/bus/urfkill/urfkill.go 212 | +++ b/bus/urfkill/urfkill.go 213 | @@ -19,7 +19,7 @@ 214 | package urfkill 215 | 216 | import ( 217 | - "launchpad.net/go-dbus/v1" 218 | + "launchpad.net/go-dbus" 219 | 220 | "github.com/ubports/ubuntu-push/bus" 221 | "github.com/ubports/ubuntu-push/logger" 222 | diff --git a/bus/urfkill/urfkill_test.go b/bus/urfkill/urfkill_test.go 223 | index fd30cb5..caf14a7 100644 224 | --- a/bus/urfkill/urfkill_test.go 225 | +++ b/bus/urfkill/urfkill_test.go 226 | @@ -19,7 +19,7 @@ package urfkill 227 | import ( 228 | "testing" 229 | 230 | - "launchpad.net/go-dbus/v1" 231 | + "launchpad.net/go-dbus" 232 | . "launchpad.net/gocheck" 233 | 234 | testingbus "github.com/ubports/ubuntu-push/bus/testing" 235 | diff --git a/client/client_test.go b/client/client_test.go 236 | index b19c4b5..820378e 100644 237 | --- a/client/client_test.go 238 | +++ b/client/client_test.go 239 | @@ -31,7 +31,7 @@ import ( 240 | "testing" 241 | "time" 242 | 243 | - "launchpad.net/go-dbus/v1" 244 | + "launchpad.net/go-dbus" 245 | . "launchpad.net/gocheck" 246 | 247 | "github.com/ubports/ubuntu-push/bus" 248 | diff --git a/client/service/postal_test.go b/client/service/postal_test.go 249 | index 576c5d3..7c0e30d 100644 250 | --- a/client/service/postal_test.go 251 | +++ b/client/service/postal_test.go 252 | @@ -27,7 +27,7 @@ import ( 253 | "sync" 254 | "time" 255 | 256 | - "launchpad.net/go-dbus/v1" 257 | + "launchpad.net/go-dbus" 258 | . "launchpad.net/gocheck" 259 | 260 | "github.com/ubports/ubuntu-push/bus" 261 | -- 262 | 2.25.0 263 | 264 | -------------------------------------------------------------------------------- /qemu-binfmt-conf.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # enable automatic i386/ARM/M68K/MIPS/SPARC/PPC/s390/HPPA 3 | # program execution by the kernel 4 | # 5 | # downloaded from https://raw.githubusercontent.com/qemu/qemu/master/scripts/qemu-binfmt-conf.sh 6 | 7 | qemu_target_list="i386 i486 alpha arm sparc32plus ppc ppc64 ppc64le m68k \ 8 | mips mipsel mipsn32 mipsn32el mips64 mips64el \ 9 | sh4 sh4eb s390x aarch64 hppa" 10 | 11 | i386_magic='\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x03\x00' 12 | i386_mask='\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff' 13 | i386_family=i386 14 | 15 | i486_magic='\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x06\x00' 16 | i486_mask='\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff' 17 | i486_family=i386 18 | 19 | alpha_magic='\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x26\x90' 20 | alpha_mask='\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff' 21 | alpha_family=alpha 22 | 23 | arm_magic='\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00' 24 | arm_mask='\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff' 25 | arm_family=arm 26 | 27 | armeb_magic='\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28' 28 | armeb_mask='\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff' 29 | armeb_family=arm 30 | 31 | sparc_magic='\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x02' 32 | sparc_mask='\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff' 33 | sparc_family=sparc 34 | 35 | sparc32plus_magic='\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x12' 36 | sparc32plus_mask='\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff' 37 | sparc32plus_family=sparc 38 | 39 | ppc_magic='\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x14' 40 | ppc_mask='\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff' 41 | ppc_family=ppc 42 | 43 | ppc64_magic='\x7fELF\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x15' 44 | ppc64_mask='\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff' 45 | ppc64_family=ppc 46 | 47 | ppc64le_magic='\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x15\x00' 48 | ppc64le_mask='\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\x00' 49 | ppc64le_family=ppcle 50 | 51 | m68k_magic='\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x04' 52 | m68k_mask='\xff\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff' 53 | m68k_family=m68k 54 | 55 | # FIXME: We could use the other endianness on a MIPS host. 56 | 57 | mips_magic='\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08' 58 | mips_mask='\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff' 59 | mips_family=mips 60 | 61 | mipsel_magic='\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08\x00' 62 | mipsel_mask='\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff' 63 | mipsel_family=mips 64 | 65 | mipsn32_magic='\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08' 66 | mipsn32_mask='\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff' 67 | mipsn32_family=mips 68 | 69 | mipsn32el_magic='\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08\x00' 70 | mipsn32el_mask='\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff' 71 | mipsn32el_family=mips 72 | 73 | mips64_magic='\x7fELF\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08' 74 | mips64_mask='\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff' 75 | mips64_family=mips 76 | 77 | mips64el_magic='\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08\x00' 78 | mips64el_mask='\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff' 79 | mips64el_family=mips 80 | 81 | sh4_magic='\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x2a\x00' 82 | sh4_mask='\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff' 83 | sh4_family=sh4 84 | 85 | sh4eb_magic='\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x2a' 86 | sh4eb_mask='\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff' 87 | sh4eb_family=sh4 88 | 89 | s390x_magic='\x7fELF\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x16' 90 | s390x_mask='\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff' 91 | s390x_family=s390x 92 | 93 | aarch64_magic='\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7\x00' 94 | aarch64_mask='\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff' 95 | aarch64_family=arm 96 | 97 | hppa_magic='\x7f\x45\x4c\x46\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x0f' 98 | hppa_mask='\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff' 99 | hppa_family=hppa 100 | 101 | qemu_get_family() { 102 | cpu=${HOST_ARCH:-$(uname -m)} 103 | case "$cpu" in 104 | amd64|i386|i486|i586|i686|i86pc|BePC|x86_64) 105 | echo "i386" 106 | ;; 107 | mips*) 108 | echo "mips" 109 | ;; 110 | "Power Macintosh"|ppc64|powerpc|ppc) 111 | echo "ppc" 112 | ;; 113 | ppc64el|ppc64le) 114 | echo "ppcle" 115 | ;; 116 | arm|armel|armhf|arm64|armv[4-9]*) 117 | echo "arm" 118 | ;; 119 | sparc*) 120 | echo "sparc" 121 | ;; 122 | *) 123 | echo "$cpu" 124 | ;; 125 | esac 126 | } 127 | 128 | usage() { 129 | cat <&2 170 | exit 1 171 | fi 172 | } 173 | 174 | qemu_check_bintfmt_misc() { 175 | # load the binfmt_misc module 176 | if [ ! -d /proc/sys/fs/binfmt_misc ]; then 177 | if ! /sbin/modprobe binfmt_misc ; then 178 | exit 1 179 | fi 180 | fi 181 | if [ ! -f /proc/sys/fs/binfmt_misc/register ]; then 182 | if ! mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc ; then 183 | exit 1 184 | fi 185 | fi 186 | 187 | qemu_check_access /proc/sys/fs/binfmt_misc/register 188 | } 189 | 190 | installed_dpkg() { 191 | dpkg --status "$1" > /dev/null 2>&1 192 | } 193 | 194 | qemu_check_debian() { 195 | if [ ! -e /etc/debian_version ] ; then 196 | echo "WARNING: your system is not a Debian based distro" 1>&2 197 | elif ! installed_dpkg binfmt-support ; then 198 | echo "WARNING: package binfmt-support is needed" 1>&2 199 | fi 200 | qemu_check_access "$EXPORTDIR" 201 | } 202 | 203 | qemu_check_systemd() { 204 | if ! systemctl -q is-enabled systemd-binfmt.service ; then 205 | echo "WARNING: systemd-binfmt.service is missing or disabled" 1>&2 206 | fi 207 | qemu_check_access "$EXPORTDIR" 208 | } 209 | 210 | qemu_generate_register() { 211 | echo ":qemu-$cpu:M::$magic:$mask:$qemu:$FLAGS" 212 | } 213 | 214 | qemu_register_interpreter() { 215 | echo "Setting $qemu as binfmt interpreter for $cpu" 216 | qemu_generate_register > /proc/sys/fs/binfmt_misc/register 217 | } 218 | 219 | qemu_generate_systemd() { 220 | echo "Setting $qemu as binfmt interpreter for $cpu for systemd-binfmt.service" 221 | qemu_generate_register > "$EXPORTDIR/qemu-$cpu.conf" 222 | } 223 | 224 | qemu_generate_debian() { 225 | cat > "$EXPORTDIR/qemu-$cpu" <> "$EXPORTDIR/qemu-$cpu" 233 | fi 234 | } 235 | 236 | qemu_set_binfmts() { 237 | # probe cpu type 238 | host_family=$(qemu_get_family) 239 | 240 | # register the interpreter for each cpu except for the native one 241 | 242 | for cpu in ${qemu_target_list} ; do 243 | magic=$(eval echo \$${cpu}_magic) 244 | mask=$(eval echo \$${cpu}_mask) 245 | family=$(eval echo \$${cpu}_family) 246 | 247 | if [ "$magic" = "" ] || [ "$mask" = "" ] || [ "$family" = "" ] ; then 248 | echo "INTERNAL ERROR: unknown cpu $cpu" 1>&2 249 | continue 250 | fi 251 | 252 | qemu="$QEMU_PATH/qemu-$cpu-static" 253 | if [ "$cpu" = "i486" ] ; then 254 | qemu="$QEMU_PATH/qemu-i386" 255 | fi 256 | 257 | if [ "$host_family" != "$family" ] ; then 258 | $BINFMT_SET 259 | fi 260 | done 261 | } 262 | 263 | CHECK=qemu_check_bintfmt_misc 264 | BINFMT_SET=qemu_register_interpreter 265 | 266 | SYSTEMDDIR="/etc/binfmt.d" 267 | DEBIANDIR="/usr/share/binfmts" 268 | 269 | QEMU_PATH=/usr/bin 270 | FLAGS="OC" 271 | 272 | options=$(getopt -o ds:Q:e:hc: -l debian,systemd:,qemu-path:,exportdir:,help,credential: -- "$@") 273 | eval set -- "$options" 274 | 275 | while true ; do 276 | case "$1" in 277 | -d|--debian) 278 | CHECK=qemu_check_debian 279 | BINFMT_SET=qemu_generate_debian 280 | EXPORTDIR=${EXPORTDIR:-$DEBIANDIR} 281 | ;; 282 | -s|--systemd) 283 | CHECK=qemu_check_systemd 284 | BINFMT_SET=qemu_generate_systemd 285 | EXPORTDIR=${EXPORTDIR:-$SYSTEMDDIR} 286 | shift 287 | # check given cpu is in the supported CPU list 288 | for cpu in ${qemu_target_list} ; do 289 | if [ "$cpu" = "$1" ] ; then 290 | break 291 | fi 292 | done 293 | 294 | if [ "$cpu" = "$1" ] ; then 295 | qemu_target_list="$1" 296 | else 297 | echo "ERROR: unknown CPU \"$1\"" 1>&2 298 | usage 299 | exit 1 300 | fi 301 | ;; 302 | -Q|--qemu-path) 303 | shift 304 | QEMU_PATH="$1" 305 | ;; 306 | -e|--exportdir) 307 | shift 308 | EXPORTDIR="$1" 309 | ;; 310 | -h|--help) 311 | usage 312 | exit 1 313 | ;; 314 | -c|--credential) 315 | shift 316 | if [ "$1" = "yes" ] ; then 317 | FLAGS="OC" 318 | else 319 | FLAGS="" 320 | fi 321 | ;; 322 | *) 323 | break 324 | ;; 325 | esac 326 | shift 327 | done 328 | 329 | $CHECK 330 | qemu_set_binfmts 331 | --------------------------------------------------------------------------------