├── .gitignore ├── README.md ├── What_can_I_update?.py ├── appmenu-qt └── PKGBUILD ├── appmenu-qt5 └── PKGBUILD ├── bamf-ubuntu ├── PKGBUILD ├── bamf-ubuntu.install ├── update-bamf-index.hook ├── update-bamf-index.pl └── update-bamf-index.sh ├── build-and-install.sh ├── build-in-chroot.sh ├── compiz-ubuntu ├── 0001-Fix-cmake-install-directory.patch ├── 0002-Fix-python-install-command.patch ├── 0003-Use-Python-2.patch ├── 0004-Disable-Werror.patch ├── PKGBUILD └── compiz.reset ├── dbus-activation-env └── PKGBUILD ├── dee-qt └── PKGBUILD ├── dee-ubuntu ├── 0001-Fix-misleading-indentation.patch └── PKGBUILD ├── frame └── PKGBUILD ├── geis └── PKGBUILD ├── glew-unity ├── 0001-Rename-library-to-glew-unity.patch └── PKGBUILD ├── gnome-screensaver-ubuntu ├── 0001-Update-libsystem-pkgconfig-dependency.patch ├── PKGBUILD ├── fix-autoconf.patch ├── fix-systemd-support.patch ├── gnome-screensaver.pam ├── lightdm_switch_user.patch ├── lock_screen_on_suspend.patch ├── move-desktop-file.patch ├── recenter.patch └── use-screensaver-background.patch ├── gnome-session-ubuntu ├── .gitignore ├── PKGBUILD └── polkit-gnome-authentication-agent-1-unity.desktop ├── gnome-settings-daemon-ubuntu ├── .gitignore └── PKGBUILD ├── grail └── PKGBUILD ├── gsettings-desktop-schemas-ubuntu ├── .gitignore └── PKGBUILD ├── gsettings-qt └── PKGBUILD ├── gsettings-ubuntu-schemas ├── 50-com.ubuntu.AccountsService.rules └── PKGBUILD ├── gtk2-ubuntu ├── .gitignore ├── PKGBUILD ├── gtk-query-immodules-2.0.hook ├── gtk2.install ├── gtkrc └── xid-collision-debug.patch ├── gtk3-ubuntu ├── .gitignore ├── PKGBUILD ├── gtk-query-immodules-3.0.hook ├── gtk3.install └── settings.ini ├── hud ├── 0001-Use-Python-2.patch ├── 0002-Remove-test-dependencies.patch └── PKGBUILD ├── ido ├── 0001-Temporarily-disable-previous-button-drop-shadow-draw.patch └── PKGBUILD ├── indicator-application ├── 0001_autoconf.patch └── PKGBUILD ├── indicator-appmenu ├── 0001_autoconf.patch └── PKGBUILD ├── indicator-datetime ├── 0001-Not-a-phone.patch └── PKGBUILD ├── indicator-keyboard ├── 0001-vala-build-fix.patch ├── 0002-Remove-code-depending-on-accountsservices-patch.patch ├── 0003-Remove-unavailable-DBus-method-activate_input_source.patch ├── 0004-Remove-unavailable-DBus-method-xkeyboard-layouts.patch ├── 0005-Spawn-ibus-daemon-at-startup.patch ├── 0006-Remove-url-dispatcher-dependency.patch └── PKGBUILD ├── indicator-messages ├── 0001-autoconf-fix.patch ├── 0002-Disable-tests.patch └── PKGBUILD ├── indicator-power ├── 0001-Not-a-phone.patch └── PKGBUILD ├── indicator-printers ├── PKGBUILD └── Remove_g_strv_contains.patch ├── indicator-session ├── 0001-There-is-no-help.patch ├── 0002-Remove-url-dispatcher-dependency.patch ├── 0003-Remove-libwhoopsie-dependency.patch └── PKGBUILD ├── indicator-sound ├── 0001-Not-running-on-Ubuntu-Touch.patch ├── 0002-Remove-tests.patch └── PKGBUILD ├── libappindicator ├── 0001-Glib.Timeout-fix.patch ├── 0002-Fix-mono-nunit-pkgconfig-name.patch ├── 0003-Fix-Mono-assemblies-directory.patch └── PKGBUILD ├── libcolumbus └── PKGBUILD ├── libdbusmenu-ubuntu ├── 0001_autoconf.patch └── PKGBUILD ├── libgeonames └── PKGBUILD ├── libindicate-qt └── PKGBUILD ├── libindicate ├── 0001-Fix-autotools-errors.patch ├── 0002-Python-2-fixes.patch ├── 0003-Remove-mono-bindings.patch └── PKGBUILD ├── libindicator └── PKGBUILD ├── libtimezonemap └── PKGBUILD ├── libunity-misc ├── 0001_autotools.patch └── PKGBUILD ├── libunity ├── 0001_autoconf.patch └── PKGBUILD ├── libzeitgeist └── PKGBUILD ├── lightdm-ubuntu ├── 0001-guest-account-Add-default-GSettings-support.patch ├── PKGBUILD ├── Xsession ├── lightdm-autologin.pam ├── lightdm-default-config.patch ├── lightdm.install ├── lightdm.pam ├── lightdm.rules ├── lightdm.service └── lightdm.tmpfiles ├── lightdm-unity-greeter ├── .gitignore ├── 10-unity.defaults ├── 50-unity-greeter.rules ├── PKGBUILD ├── logo.png ├── spawn_indicators.patch ├── unity-greeter-indicators-start └── valaflags.patch ├── nautilus-ubuntu ├── .gitignore └── PKGBUILD ├── network-manager-applet-ubuntu ├── .gitignore └── PKGBUILD ├── nux ├── 0001-Use-glew-unity.patch ├── 0001_autoconf.patch ├── 50_check_unity_support └── PKGBUILD ├── overlay-scrollbar └── PKGBUILD ├── properties-cpp └── PKGBUILD ├── repo-make.conf ├── systemd ├── .gitignore ├── PKGBUILD ├── arch.conf ├── initcpio-hook-udev ├── initcpio-install-systemd ├── initcpio-install-udev ├── loader.conf ├── splash-arch.bmp ├── systemd.install └── udev-hwdb.hook ├── unity-api └── PKGBUILD ├── unity-asset-pool ├── PKGBUILD ├── archlinux-icon-tango-22.png └── archlinux-icon-tango-24.png ├── unity-control-center ├── 0001-Revert-54_enable_alt_tap_in_shortcut.patch.patch ├── 0002-Skip-region-panel.patch ├── 0003-Remove-Ubuntu-specific-language-code.patch ├── 0004-Remove-Ubuntu-help-links.patch ├── 0005-Allow-gnome-control-center-to-run-at-the-same-time.patch ├── 0006-Remove-overlay-scrollbar-from-GTK_MODULES.patch ├── 0007-Rename-libgnome-bluetooth-to-libunity-bluetooth.patch ├── 0008-Move-faces-images-usr-share-pixmaps-faces-unity.patch ├── PKGBUILD ├── system-config-printer-unity.desktop ├── unity-online-accounts-panel.desktop └── unity-region-panel.desktop ├── unity-gtk-module └── PKGBUILD ├── unity-language-packs └── PKGBUILD ├── unity-lens-applications └── PKGBUILD ├── unity-lens-files └── PKGBUILD ├── unity-lens-music ├── 0001-Remove-broken-reference-to-musicstore.scope.in.patch ├── 0001-Use-libgee.patch └── PKGBUILD ├── unity-lens-photos └── PKGBUILD ├── unity-lens-video └── PKGBUILD ├── unity-scope-home ├── 0001-Fix-connection-issue-due-to-untrusted-SSL-CA-certifi.patch ├── 0002-productsearch.ubuntu.com-only-accepts-locale-string-.patch ├── 0003-Show-description-of-error-code.patch ├── 0004-Fix-vala-0.26-errors.patch ├── PKGBUILD └── unity-scope-home.install ├── unity-scopes └── PKGBUILD ├── unity-settings-daemon ├── 0001-Remove-accountsservice-dependency.patch ├── 0001-usd-test-screensaver-proxy-fails-to-compile.patch ├── 0002-Add-gnome-settings-daemon-3.12-rfkill-plugin.patch ├── 0003-Use-GNOME-3.16-deprecated-schemas.patch └── PKGBUILD ├── unity ├── 0001-Revert-r3134-Remove-Systray-Whitelist.patch ├── 0002-Disable-Werror.patch ├── 0003-Fix-launchers.patch ├── 0004-Remove-social.scope.patch ├── 0005-Remove-xpathselect-dependency.patch ├── 0006-Remove-upstart-user-session-support.patch ├── PKGBUILD ├── launcher_bfb.png ├── run_this_if_unity_is_on_fire.py ├── unity-debug ├── unity.pam └── unity.reset ├── version_checker.py └── zeitgeist-ubuntu └── PKGBUILD /.gitignore: -------------------------------------------------------------------------------- 1 | pkg/ 2 | src/ 3 | *.diff.gz 4 | *.tar.bz2 5 | *.tar.gz 6 | *.tar.xz 7 | *.tar.Z 8 | *.tar 9 | *.tgz 10 | *.zip 11 | .*.swp 12 | 13 | *~ 14 | TEMP/ 15 | 16 | *.log 17 | *.log.* 18 | 19 | mono.snk 20 | 21 | bzr/ 22 | 23 | build-in-chroot.conf 24 | 25 | *.lock 26 | tmp.*/ 27 | -------------------------------------------------------------------------------- /appmenu-qt/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Andrew Gunnerson 2 | 3 | # vercheck-pkgbuild: auto 4 | # vercheck-ubuntu: name=${pkgname}, repo=zesty 5 | 6 | pkgname=appmenu-qt 7 | _actual_ver=0.2.7 8 | _extra_ver=+14.04.20140305 9 | pkgver=${_actual_ver}${_extra_ver/\+/.} 10 | pkgrel=1 11 | pkgdesc="Adds support for application menus to Qt4" 12 | arch=(i686 x86_64) 13 | url="https://launchpad.net/appmenu-qt" 14 | license=(LGPL) 15 | groups=(unity) 16 | depends=(libdbusmenu-qt4) 17 | makedepends=(cmake) 18 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${_actual_ver}${_extra_ver}.orig.tar.gz") 19 | sha512sums=('3f846e8a3a1b6a976ad5d05f539d56d20a44b41381f63da205f20729dc95f02eea8efc557aa1d8356093c544d41a7c27a960e3669fc387563b3c501b0568d51e') 20 | 21 | build() { 22 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 23 | 24 | cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release 25 | make 26 | } 27 | 28 | package() { 29 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 30 | 31 | make DESTDIR="${pkgdir}" install 32 | } 33 | -------------------------------------------------------------------------------- /appmenu-qt5/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Andrew Gunnerson 2 | 3 | # vercheck-pkgbuild: auto 4 | # vercheck-ubuntu: name=${pkgname}, repo=zesty 5 | 6 | pkgname=appmenu-qt5 7 | _actual_ver=0.3.0 8 | _extra_ver=+16.10.20160628.1 9 | pkgver=${_actual_ver}${_extra_ver/\+/.} 10 | pkgrel=1 11 | pkgdesc="Adds support for application menus to Qt5" 12 | arch=(i686 x86_64) 13 | url="https://launchpad.net/appmenu-qt5" 14 | license=(LGPL) 15 | groups=(unity) 16 | depends=(libdbusmenu-qt5) 17 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${_actual_ver}${_extra_ver}.orig.tar.gz") 18 | sha512sums=('4b8c0f26f39c6908bee0e777570f83e590580adc851f68225b16bfd9ff6d99b801fcfd5b415ac899adc96433d2a578400f1e893d7ad2a5c6b6aa959a5690451a') 19 | 20 | build() { 21 | qmake CONFIG+=enable-by-default 22 | } 23 | 24 | package() { 25 | make INSTALL_ROOT="${pkgdir}" install 26 | } 27 | -------------------------------------------------------------------------------- /bamf-ubuntu/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Original Maintainer: György Balló 3 | # Contributor: thn81 4 | 5 | # vercheck-pkgbuild: auto 6 | # vercheck-ubuntu: name=bamf, repo=yakkety 7 | # vercheck-launchpad: name=bamf 8 | 9 | pkgname=bamf-ubuntu 10 | _actual_ver=0.5.3 11 | _extra_ver=+16.10.20160929 12 | pkgver=${_actual_ver}${_extra_ver//[\~\+]/.} 13 | pkgrel=1 14 | pkgdesc="Removes the headache of applications matching into a simple DBus daemon and c wrapper library" 15 | arch=(i686 x86_64) 16 | url="https://launchpad.net/bamf" 17 | license=(GPL) 18 | depends=(libgtop libwnck3 glib2 hicolor-icon-theme libdbusmenu-gtk3 procps-ng 19 | startup-notification) 20 | makedepends=(gnome-common gobject-introspection gtk-doc libxml2 libxslt vala) 21 | provides=("bamf=${pkgver}") 22 | replaces=(bamf) 23 | conflicts=(bamf) 24 | groups=(unity) 25 | install=${pkgname}.install 26 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/bamf_${_actual_ver}${_extra_ver}.orig.tar.gz" 27 | update-bamf-index.hook 28 | update-bamf-index.pl 29 | update-bamf-index.sh) 30 | sha512sums=('572d58639065a867ffbbd1a605db3d01fc0954f37097ee3be1d3ccc96efb6c4258d001fb6a5b5624eadba65b99dc31498f7529cd17c41887cb7bfa676123f6b2' 31 | '49379121974a6f273084f66c6aa937fd2213e92169040db03f87098d3ca269032603f3dbfec947807e3d4a3c866648b96a2a3bb18f1ad3736a7ceaf011cf901a' 32 | '7db84774b72fb330abe2116f3d1d842c007820c200344d76ff87abab5226488fcc21d2e82cbe5381fb3e7ce0eacc09232f17d64c4e2a5ee8eef0be06808f21ff' 33 | '6dd8079a1dddc787d41fea246809e37de76a6e6daa2e3760c4a6770456fd1d8097597cadeae38fd81f322d44e79f0786e82604d606bc81bae57f39091db0755c') 34 | 35 | prepare() { 36 | #cd "bamf-${_actual_ver}${_extra_ver}" 37 | 38 | sed -i 's/-Werror/-Wno-error/g' configure.ac 39 | } 40 | 41 | build() { 42 | #cd "bamf-${_actual_ver}${_extra_ver}" 43 | 44 | gtkdocize 45 | autoreconf -vfi 46 | 47 | export PYTHON=/usr/bin/python2 48 | 49 | ./configure \ 50 | --prefix=/usr \ 51 | --libexecdir=/usr/lib \ 52 | --disable-static \ 53 | --enable-gtk-doc \ 54 | --enable-export-actions-menu=yes 55 | 56 | make 57 | } 58 | 59 | package() { 60 | #cd "bamf-${_actual_ver}${_extra_ver}" 61 | 62 | make DESTDIR="${pkgdir}/" install 63 | 64 | install -m755 ../update-bamf-index.pl "${pkgdir}"/usr/lib/bamf/ 65 | install -m755 ../update-bamf-index.sh "${pkgdir}"/usr/lib/bamf/ 66 | install -dm755 "${pkgdir}"/usr/share/libalpm/hooks/ 67 | install -m644 ../update-bamf-index.hook "${pkgdir}"/usr/share/libalpm/hooks/ 68 | 69 | rm -rv "${pkgdir}"/usr/share/upstart/ 70 | } 71 | -------------------------------------------------------------------------------- /bamf-ubuntu/bamf-ubuntu.install: -------------------------------------------------------------------------------- 1 | generate_index() { 2 | if [[ ! -f usr/share/applications/bamf.index ]]; then 3 | echo 'Generating initial BAMF index' 4 | usr/lib/bamf/update-bamf-index.sh 5 | fi 6 | } 7 | 8 | disable_service() { 9 | systemctl stop bamfwatcher &>/dev/null || : 10 | systemctl disable bamfwatcher &>/dev/null || : 11 | } 12 | 13 | post_install() { 14 | generate_index 15 | } 16 | 17 | post_upgrade() { 18 | generate_index 19 | } 20 | 21 | pre_upgrade() { 22 | disable_service 23 | } 24 | 25 | pre_remove() { 26 | disable_service 27 | } 28 | 29 | post_remove() { 30 | rm -f usr/share/applications/bamf.index 31 | } 32 | -------------------------------------------------------------------------------- /bamf-ubuntu/update-bamf-index.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = File 3 | Operation = Install 4 | Operation = Upgrade 5 | Operation = Remove 6 | Target = usr/share/applications/*.desktop 7 | 8 | [Action] 9 | Description = Updating BAMF index... 10 | When = PostTransaction 11 | Exec = /usr/lib/bamf/update-bamf-index.sh 12 | -------------------------------------------------------------------------------- /bamf-ubuntu/update-bamf-index.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | 3 | # This is a copy of the perl script in bamfdaemon.postinst from Ubuntu's bamf 4 | # packaging 5 | 6 | use File::Find; 7 | 8 | my $dir_name; 9 | 10 | sub strip_exec { 11 | my $f = $_; 12 | return unless $f =~ /\.desktop$/; 13 | return unless ("$File::Find::dir" eq "$dir_name"); 14 | my @lines; 15 | open F, $f; 16 | @lines = ; 17 | close F; 18 | my $in_desktop_entry = 0; 19 | foreach (@lines) { 20 | if (/^\[\s*(.+)\s*\]/) { 21 | $in_desktop_entry = ($1 eq "Desktop Entry"); 22 | } 23 | if (/^Exec=(.+)$/ && $in_desktop_entry) { 24 | print "$f\t$1\n"; 25 | } 26 | } 27 | } 28 | 29 | $dir_name = $ARGV[-1]; 30 | $dir_name = $1 if ($dir_name =~ /(.*)\/$/); 31 | find (\&strip_exec, $dir_name); 32 | -------------------------------------------------------------------------------- /bamf-ubuntu/update-bamf-index.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | /usr/lib/bamf/update-bamf-index.pl /usr/share/applications/ > /usr/share/applications/bamf.index 3 | -------------------------------------------------------------------------------- /build-and-install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #Todo 3 | # * add error detection 4 | # * check for root if installing 5 | while getopts ednhbp:is: opt; do 6 | case $opt in 7 | n) 8 | NOCONFIRM=true 9 | ;; 10 | h) 11 | echo "arguments:" 12 | echo "-h Shows this help file" 13 | echo "-n installs package without user confirmation" 14 | echo "-b just builds without installing" 15 | echo "-p [package-name] only build specific package" 16 | echo "-i [package-name] ignore certain package" 17 | echo "-s [package-name] start at package" 18 | echo "-d only download required sources (do not build or install)" 19 | echo "-e stop on error " 20 | exit 21 | ;; 22 | e) 23 | set -e 24 | echo "WARNING: Stopping on errors" 25 | ;; 26 | b) 27 | NOINSTALL=true 28 | ;; 29 | p) 30 | INSTALLPACKAGE=$OPTARG 31 | ;; 32 | i) 33 | IGNOREPACKAGE=$OPTARG 34 | ;; 35 | s) 36 | NOSTART=true 37 | STARTPKG=$OPTARG 38 | ;; 39 | d) DOWNLOAD=true 40 | esac 41 | done 42 | 43 | #check for conflicting arguments 44 | if [ "$NOINSTALL" == true ]; then 45 | if [ "$NOCONFIRM" == true ]; then 46 | echo "Conflicting arguments...exiting" 47 | exit 48 | fi 49 | fi 50 | 51 | 52 | packages=($(./What_can_I_update\?.py -l)) 53 | 54 | if ! [[ "${?}" -eq 0 ]]; then 55 | exit 1 56 | fi 57 | 58 | for package in "${packages[@]}"; do 59 | if [ "$NOSTART" == "true" ]; then 60 | if [ "${package}" != "$STARTPKG" ]; then 61 | continue 62 | else 63 | NOSTART=false 64 | fi 65 | 66 | fi 67 | 68 | if [[ "$IGNOREPACKAGE" != "" && "$IGNOREPACKAGE" == "${package}" ]]; then 69 | continue 70 | fi 71 | if [[ "$INSTALLPACKAGE" != "" && "$INSTALLPACKAGE" != "${package}" ]]; then 72 | continue 73 | fi 74 | cd "${package}" 75 | if [ "$NOCONFIRM" == "true" ];then 76 | makepkg --nocheck -fsicC --noconfirm 77 | elif [ "$NOINSTALL" == "true" ]; then 78 | makepkg --nocheck -fcC 79 | elif [ "$DOWNLOAD" == "true" ]; then 80 | echo "Downloading ${package}..." 81 | makepkg -gC &> /dev/null 82 | else 83 | makepkg --nocheck -fsicC 84 | fi 85 | cd .. 86 | done 87 | -------------------------------------------------------------------------------- /compiz-ubuntu/0001-Fix-cmake-install-directory.patch: -------------------------------------------------------------------------------- 1 | From 321b926cc28bdfa0cd773b84e3a393e6055700bc Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Mon, 27 Oct 2014 21:49:02 -0400 4 | Subject: [PATCH 1/5] Fix cmake install directory 5 | 6 | --- 7 | cmake/base.cmake | 4 ++-- 8 | 1 file changed, 2 insertions(+), 2 deletions(-) 9 | 10 | diff --git a/cmake/base.cmake b/cmake/base.cmake 11 | index c15c87f..23c5a5e 100644 12 | --- a/cmake/base.cmake 13 | +++ b/cmake/base.cmake 14 | @@ -30,7 +30,7 @@ function (_check_compiz_cmake_macro) 15 | ${CMAKE_CURRENT_SOURCE_DIR}/cmake/FindCompiz.cmake 16 | ${CMAKE_CURRENT_SOURCE_DIR}/cmake/FindOpenGLES2.cmake 17 | DESTINATION 18 | - ${CMAKE_INSTALL_PREFIX}/share/cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}/) 19 | + ${CMAKE_INSTALL_PREFIX}/share/cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}/Modules/) 20 | add_custom_target (findcompiz_install 21 | ${CMAKE_COMMAND} -E make_directory ${CMAKE_ROOT}/Modules && 22 | ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/cmake/FindCompiz.cmake ${CMAKE_ROOT}/Modules && 23 | @@ -47,7 +47,7 @@ function (_check_compiz_cmake_macro) 24 | install (FILES 25 | ${CMAKE_CURRENT_SOURCE_DIR}/compizconfig/libcompizconfig/cmake/FindCompizConfig.cmake 26 | DESTINATION 27 | - ${CMAKE_INSTALL_PREFIX}/share/cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}/) 28 | + ${CMAKE_INSTALL_PREFIX}/share/cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}/Modules/) 29 | add_custom_target ( 30 | findcompizconfig_install 31 | ${CMAKE_COMMAND} -E make_directory ${CMAKE_ROOT}/Modules && 32 | -- 33 | 2.10.0 34 | 35 | -------------------------------------------------------------------------------- /compiz-ubuntu/0002-Fix-python-install-command.patch: -------------------------------------------------------------------------------- 1 | From 6ebaca125652d3b76833586781e997469d8fa3e1 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Mon, 27 Oct 2014 21:49:22 -0400 4 | Subject: [PATCH 2/5] Fix python install command 5 | 6 | --- 7 | compizconfig/cmake/exec_setup_py_with_destdir.cmake | 8 +------- 8 | 1 file changed, 1 insertion(+), 7 deletions(-) 9 | 10 | diff --git a/compizconfig/cmake/exec_setup_py_with_destdir.cmake b/compizconfig/cmake/exec_setup_py_with_destdir.cmake 11 | index 52d787c..e286b96 100644 12 | --- a/compizconfig/cmake/exec_setup_py_with_destdir.cmake 13 | +++ b/compizconfig/cmake/exec_setup_py_with_destdir.cmake 14 | @@ -4,7 +4,6 @@ set (SETUP "" CACHE FORCE "Path to setup.py") 15 | set (VERSION "" CACHE FORCE "Version") 16 | 17 | set (EXTRAARGS "") 18 | -set (BUILD_DEB $ENV{COMPIZ_DEB_BUILD}) 19 | 20 | set (INSTALL_ROOT $ENV{DESTDIR}) 21 | 22 | @@ -16,10 +15,5 @@ endif (INSTALL_ROOT) 23 | 24 | cmake_policy (SET CMP0012 NEW) 25 | 26 | -if (BUILD_DEB) 27 | - message ("Installing Debian Format") 28 | - set (EXTRAARGS "--install-layout=deb") 29 | -endif (BUILD_DEB) 30 | - 31 | -execute_process (COMMAND python ${SETUP} install ${EXTRAARGS} --prefix=${PREFIX} --version=${VERSION} ${INSTALL_ROOT_ARGS} 32 | +execute_process (COMMAND python2 ${SETUP} install ${EXTRAARGS} --prefix=${PREFIX} --version=${VERSION} ${INSTALL_ROOT_ARGS} 33 | WORKING_DIRECTORY ${WDIR}) 34 | -- 35 | 2.10.0 36 | 37 | -------------------------------------------------------------------------------- /compiz-ubuntu/0004-Disable-Werror.patch: -------------------------------------------------------------------------------- 1 | From a545dc48937d29a8fc53376dd398ac92274fd1df Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Mon, 27 Oct 2014 21:50:02 -0400 4 | Subject: [PATCH 4/5] Disable -Werror 5 | 6 | --- 7 | cmake/CompizCommon.cmake | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/cmake/CompizCommon.cmake b/cmake/CompizCommon.cmake 11 | index e416a96..8e817f8 100644 12 | --- a/cmake/CompizCommon.cmake 13 | +++ b/cmake/CompizCommon.cmake 14 | @@ -74,7 +74,7 @@ if (NOT COMPIZ_SIGN_WARNINGS) 15 | endif () 16 | 17 | if (${CMAKE_PROJECT_NAME} STREQUAL "compiz") 18 | - set (COMPIZ_WERROR_DEFAULT ON) 19 | + set (COMPIZ_WERROR_DEFAULT OFF) 20 | else () 21 | set (COMPIZ_WERROR_DEFAULT OFF) 22 | endif () 23 | -- 24 | 2.10.0 25 | 26 | -------------------------------------------------------------------------------- /compiz-ubuntu/compiz.reset: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Reset all of Compiz's settings for the current user 4 | 5 | echo "This will reset all of Compiz's settings. Continue only if you know exactly" 6 | echo "what is being done." 7 | echo "" 8 | echo "This program will:" 9 | echo " 1. Switch to the metacity window manager" 10 | echo " 2. Remove Compiz's configuration directories" 11 | echo " 3. Reset Compiz's dconf/GSettings settings" 12 | echo 13 | read -p "Continue (y/N) " PROCEED 14 | 15 | if [ "x${PROCEED}" == "xy" ] || [ "x${PROCEED}" == "xY" ]; then 16 | echo 17 | 18 | echo -n "Switching to the metacity window manager..." 19 | metacity --replace &>/dev/null & 20 | echo "DONE" 21 | 22 | echo -n "Waiting for Compiz to exit..." 23 | while $(pgrep compiz$ &>/dev/null); do 24 | sleep 0.1 25 | done 26 | echo "DONE" 27 | 28 | echo -n "Removing Compiz's configuration directories..." 29 | rm -rf ~/.compiz/ 30 | rm -rf ~/.compiz-1/ 31 | rm -rf ~/.cache/compizconfig-1/ 32 | rm -rf ~/.config/compiz-1/ 33 | echo "DONE" 34 | 35 | echo -n "Resetting Compiz's dconf/GSettings settings..." 36 | dconf reset -f /org/compiz/ 37 | echo "DONE" 38 | 39 | echo 40 | echo "Please log out and log back in. To log out, run:" 41 | echo " gnome-session-quit --logout" 42 | echo "" 43 | echo "If that fails, try:" 44 | echo " killall -s 9 gnome-session" 45 | fi 46 | -------------------------------------------------------------------------------- /dbus-activation-env/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Andrew Gunnerson 2 | 3 | # vercheck-pkgbuild: auto 4 | # vercheck-ubuntu: name=dbus, repo=zesty 5 | 6 | pkgname=dbus-activation-env 7 | _ubuntu_rel=1ubuntu2 8 | pkgver=1.10.10 9 | pkgrel=1 10 | pkgdesc="Set session variables in dbus/systemd activation environment" 11 | url="https://launchpad.net/ubuntu/+source/dbus" 12 | arch=(any) 13 | license=(GPL) 14 | depends=(dbus) 15 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/dbus_${pkgver}-${_ubuntu_rel}.debian.tar.xz") 16 | sha512sums=('c8004d57a1f9464ab4e490b2f7b8253513edb41a4a3c0eae483062827990efa0c5a1cc82fc9dca494375315ac7b32c292673988a1d391031831eeadfbe3df6af') 17 | 18 | package() { 19 | install -dm755 "${pkgdir}"/etc/X11/xinit/xinitrc.d/ 20 | install -m755 debian/95dbus_update-activation-env \ 21 | "${pkgdir}"/etc/X11/xinit/xinitrc.d/ 22 | } 23 | -------------------------------------------------------------------------------- /dee-qt/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | 3 | # vercheck-pkgbuild: auto 4 | # vercheck-ubuntu: name=${pkgname}, repo=yakkety 5 | 6 | pkgname=dee-qt 7 | _actual_ver=3.3 8 | _extra_ver=+14.04.20140317 9 | pkgver=${_actual_ver}${_extra_ver/\+/.} 10 | pkgrel=2 11 | pkgdesc="Qt5 bindings for dee" 12 | arch=(i686 x86_64) 13 | url="https://launchpad.net/dee-qt" 14 | license=(LGPL) 15 | groups=(unity) 16 | depends=(dee-ubuntu qt5-base qt5-declarative) 17 | makedepends=(cmake) 18 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/dee-qt_${_actual_ver}${_extra_ver}.orig.tar.gz") 19 | sha512sums=('a17968ff3775252f12c72a54b442e852668dfbe197c8a19299669adfc79a24913559315086210a2fd1251a203147fb20a26901cc63afc07fa56a01074664a1f2') 20 | 21 | build() { 22 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 23 | cmake . -DCMAKE_INSTALL_PREFIX=/usr -DWITHQT5=1 24 | make 25 | } 26 | 27 | package() { 28 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 29 | make DESTDIR="${pkgdir}/" install 30 | } 31 | -------------------------------------------------------------------------------- /dee-ubuntu/0001-Fix-misleading-indentation.patch: -------------------------------------------------------------------------------- 1 | From 75760c9beb2a464d5e58ef0cc0c19a02b882878f Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Sat, 8 Oct 2016 17:09:48 -0400 4 | Subject: [PATCH] Fix misleading indentation 5 | 6 | I'm not putting brackets around these lines in an effort to keep the 7 | upstream behavior (regardless if it's a bug). 8 | --- 9 | src/dee-serializable-model.c | 2 +- 10 | 1 file changed, 1 insertion(+), 1 deletion(-) 11 | 12 | diff --git a/src/dee-serializable-model.c b/src/dee-serializable-model.c 13 | index 6714201..3118d7a 100644 14 | --- a/src/dee-serializable-model.c 15 | +++ b/src/dee-serializable-model.c 16 | @@ -1328,7 +1328,7 @@ dee_serializable_model_get_position (DeeModel *self, 17 | _iter = dee_model_get_first_iter (self); 18 | while (!dee_model_is_last (self, iter) && iter != _iter) 19 | _iter = dee_model_next (self, _iter); 20 | - pos++; 21 | + pos++; 22 | 23 | if (iter == _iter) 24 | return pos; 25 | -- 26 | 2.10.0 27 | 28 | -------------------------------------------------------------------------------- /dee-ubuntu/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | 3 | # vercheck-pkgbuild: auto 4 | # vercheck-ubuntu: name=dee, repo=yakkety 5 | # vercheck-launchpad: name=dee 6 | 7 | pkgname=dee-ubuntu 8 | _actual_ver=1.2.7 9 | _extra_ver=+15.04.20150304 10 | pkgver=${_actual_ver}${_extra_ver/+/.} 11 | pkgrel=2 12 | epoch=1 13 | pkgdesc="Model to synchronize multiple instances over DBus" 14 | arch=(i686 x86_64) 15 | url="https://launchpad.net/dee" 16 | license=(LGPL) 17 | groups=(unity) 18 | depends=(dbus-glib glib2 icu python python-gobject python2 python2-gobject) 19 | makedepends=(gnome-common gobject-introspection gtk-doc vala) 20 | provides=("dee=${pkgver}") 21 | conflicts=(dee) 22 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/dee_${_actual_ver}${_extra_ver}.orig.tar.gz" 23 | 0001-Fix-misleading-indentation.patch) 24 | sha512sums=('c39980c413934f25c1a754546905cdbb84e0e322aa293d2f9c6b1f2a402bddfa895d576e97e09478c1162323f14c2f639e11d58f97cbf4c0c1220a7f88d6e183' 25 | '7704bfc23acb0df8ab9452ec08ccbc8ba3649df774039a55571481dbc6015778c227625fbfe592a3f73136c52acd07a287b61427230cac2f2d5c945e8cd2d40a') 26 | 27 | prepare() { 28 | cd "dee-${_actual_ver}${_extra_ver}" 29 | 30 | patch -p1 -i ../0001-Fix-misleading-indentation.patch 31 | } 32 | 33 | build() { 34 | cd "dee-${_actual_ver}${_extra_ver}" 35 | 36 | autoreconf -vfi 37 | 38 | [[ -d build-python3 ]] || mkdir build-python3 39 | pushd build-python3 40 | PYTHON=python3 ../configure --prefix=/usr --enable-gtk-doc 41 | make 42 | popd 43 | 44 | [[ -d build-python2 ]] || mkdir build-python2 45 | pushd build-python2 46 | PYTHON=python2 ../configure --prefix=/usr 47 | popd 48 | } 49 | 50 | package() { 51 | cd "dee-${_actual_ver}${_extra_ver}" 52 | 53 | pushd build-python3/ 54 | make DESTDIR="${pkgdir}/" install 55 | popd 56 | 57 | pushd build-python2/bindings/python/ 58 | make DESTDIR="${pkgdir}/" install 59 | popd 60 | } 61 | -------------------------------------------------------------------------------- /frame/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Contributor: thn81 3 | 4 | # vercheck-pkgbuild: auto 5 | # vercheck-ubuntu: name=${pkgname}, repo=yakkety 6 | # vercheck-launchpad: name=${pkgname} 7 | 8 | pkgname=frame 9 | _actual_ver=2.5.0 10 | _extra_ver=daily13.06.05\+16.10.20160809 11 | pkgver=${_actual_ver}.${_extra_ver/\+/.} 12 | pkgrel=2 13 | epoch=1 14 | pkgdesc="Touch Frame Library" 15 | arch=(i686 x86_64) 16 | url="https://launchpad.net/frame" 17 | license=(LGPL) 18 | depends=(libxi) 19 | makedepends=(asciidoc xorg-server-devel) 20 | groups=(unity) 21 | options=(!emptydirs) 22 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/frame_${_actual_ver}${_extra_ver}.orig.tar.gz") 23 | sha512sums=('4f5d5db2760d9a625d98909d214fdeadddf8245b471010f44195be6f46abe3e27d9fec0eefd1d2087675fa3c24ff8a808f4e7841e40cab767bd27a8a5dea64c2') 24 | 25 | build() { 26 | #cd "${pkgname}-${_actual_ver}${_extra_ver}" 27 | autoreconf -vfi 28 | ./configure --prefix=/usr --disable-static 29 | make 30 | } 31 | 32 | package() { 33 | #cd "${pkgname}-${_actual_ver}${_extra_ver}" 34 | make DESTDIR="${pkgdir}/" install 35 | } 36 | -------------------------------------------------------------------------------- /geis/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | 3 | # vercheck-pkgbuild: auto 4 | # vercheck-ubuntu: name=${pkgname}, repo=yakkety 5 | # vercheck-launchpad: name=${pkgname} 6 | 7 | pkgname=geis 8 | _actual_ver=2.2.17 9 | _extra_ver=+16.04.20160126 10 | pkgver=${_actual_ver}${_extra_ver/\+/.} 11 | pkgrel=2 12 | epoch=1 13 | pkgdesc="Implementation of the GEIS (Gesture Engine Interface and Support) interface." 14 | arch=(i686 x86_64) 15 | url="https://launchpad.net/geis" 16 | license=(GPL LGPL) 17 | depends=(grail xorg-xinput python3 dbus) 18 | makedepends=(xorg-server-devel) 19 | options=(!emptydirs) 20 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/geis_${_actual_ver}${_extra_ver}.orig.tar.gz") 21 | sha512sums=('5d50405e0b4520f163239a8d65adc6e71844eaf95d96c3c9683db4de995c8af960991ff29450c1d9ce7bfceb74acd97623274a978e509bf09ac9ba1d3983c0cc') 22 | 23 | build() { 24 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 25 | 26 | autoreconf -vfi 27 | 28 | ./configure --prefix=/usr --disable-static 29 | make 30 | } 31 | 32 | package() { 33 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 34 | make DESTDIR="${pkgdir}/" install 35 | } 36 | -------------------------------------------------------------------------------- /glew-unity/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Andrew Gunnerson 2 | # Original Maintainer: Andreas Radke 3 | # Contributor: Stéphane Gaudreault 4 | # Contributor: SleepyDog 5 | 6 | pkgname=glew-unity 7 | pkgver=1.13.0 8 | pkgrel=1 9 | pkgdesc="The OpenGL Extension Wrangler Library" 10 | arch=(i686 x86_64) 11 | url="http://glew.sourceforge.net" 12 | license=(BSD MIT GPL) 13 | groups=(unity) 14 | depends=(libxmu libxi glu) 15 | source=("http://downloads.sourceforge.net/glew/glew-${pkgver}.tgz" 16 | 0001-Rename-library-to-glew-unity.patch) 17 | sha512sums=('8fc8d7c0d2cd9235ea51db9972f492701827bff40642fdb3cc54c10b0737dba8e6d8d0dcd8c5aa5bfaaae39c6198ba3d4292cd1662fbe1977eb9a5d187ba635f' 18 | '02417e76be699fa4507c82f52cca43e2e4e690696467a3d7e2079afbdb00064657174428bf353de161f6c2bbe10ae30d84b974ae1a164b52b075746a5046a084') 19 | 20 | prepare() { 21 | cd "glew-${pkgver}" 22 | 23 | patch -p1 -i ../0001-Rename-library-to-glew-unity.patch 24 | 25 | sed -i 's|lib64|lib|' config/Makefile.linux 26 | sed -i '/^.PHONY: .*\.pc$/d' Makefile 27 | } 28 | 29 | build() { 30 | cd "glew-${pkgver}" 31 | 32 | make 33 | } 34 | 35 | package() { 36 | cd "glew-${pkgver}" 37 | make GLEW_DEST="${pkgdir}/usr" install.all 38 | install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" 39 | 40 | #chmod 0755 "${pkgdir}"/usr/lib/libGLEW*.so.${pkgver} 41 | } 42 | -------------------------------------------------------------------------------- /gnome-screensaver-ubuntu/0001-Update-libsystem-pkgconfig-dependency.patch: -------------------------------------------------------------------------------- 1 | From a0f101e68ff24fc19ce6586bb1e3ae910dc9c70e Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Fri, 13 May 2016 20:57:28 -0400 4 | Subject: [PATCH] Update libsystem pkgconfig dependency 5 | 6 | --- 7 | configure.ac | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/configure.ac b/configure.ac 11 | index 4b329e3..56245d9 100644 12 | --- a/configure.ac 13 | +++ b/configure.ac 14 | @@ -606,7 +606,7 @@ AC_ARG_WITH(systemd, 15 | [with_systemd=$withval], [with_systemd=auto]) 16 | 17 | PKG_CHECK_MODULES(SYSTEMD, 18 | - [libsystemd-login libsystemd-daemon], 19 | + [libsystemd], 20 | [have_systemd=yes], [have_systemd=no]) 21 | 22 | if test "x$with_systemd" = "xauto" ; then 23 | -- 24 | 2.8.2 25 | 26 | -------------------------------------------------------------------------------- /gnome-screensaver-ubuntu/fix-autoconf.patch: -------------------------------------------------------------------------------- 1 | diff -Naur gnome-screensaver-3.6.1.orig/configure.ac gnome-screensaver-3.6.1/configure.ac 2 | --- gnome-screensaver-3.6.1.orig/configure.ac 2012-10-16 04:28:59.000000000 +0200 3 | +++ gnome-screensaver-3.6.1/configure.ac 2013-04-10 14:24:44.844833193 +0200 4 | @@ -10,7 +10,7 @@ 5 | AM_INIT_AUTOMAKE([1.10 no-dist-gzip dist-xz tar-ustar]) 6 | m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) 7 | 8 | -AM_CONFIG_HEADER(config.h) 9 | +AC_CONFIG_HEADERS(config.h) 10 | 11 | AM_MAINTAINER_MODE([enable]) 12 | 13 | -------------------------------------------------------------------------------- /gnome-screensaver-ubuntu/fix-systemd-support.patch: -------------------------------------------------------------------------------- 1 | From cac2c0ad8f4f40b6b175b9fbcde06935859f1bbc Mon Sep 17 00:00:00 2001 2 | From: Peter de Ridder 3 | Date: Wed, 20 Mar 2013 20:44:51 +0100 4 | Subject: [PATCH] Use the session path instead of the session id. 5 | 6 | --- 7 | src/gs-listener-dbus.c | 47 +++++++++++++++++++++++++++-------------------- 8 | 1 file changed, 27 insertions(+), 20 deletions(-) 9 | 10 | diff --git a/src/gs-listener-dbus.c b/src/gs-listener-dbus.c 11 | index 703d9e1..11fb95e 100644 12 | --- a/src/gs-listener-dbus.c 13 | +++ b/src/gs-listener-dbus.c 14 | @@ -25,6 +25,7 @@ 15 | #include 16 | #include 17 | #include 18 | +#include 19 | 20 | #include 21 | 22 | @@ -116,19 +117,8 @@ enum { 23 | if (listener->priv->session_id == NULL) 24 | return FALSE; 25 | 26 | -#ifdef WITH_SYSTEMD 27 | - /* The bus object path is simply the actual session ID 28 | - * prefixed to make it a bus path */ 29 | - if (listener->priv->have_systemd) 30 | - return g_str_has_prefix (ssid, SYSTEMD_LOGIND_SESSION_PATH "/") 31 | - && strcmp (ssid + sizeof (SYSTEMD_LOGIND_SESSION_PATH), 32 | - listener->priv->session_id) == 0; 33 | -#endif 34 | - 35 | -#ifdef WITH_CONSOLE_KIT 36 | if (strcmp (ssid, listener->priv->session_id) == 0) 37 | return TRUE; 38 | -#endif 39 | 40 | return FALSE; 41 | } 42 | @@ -416,20 +406,37 @@ enum { 43 | 44 | #ifdef WITH_SYSTEMD 45 | if (listener->priv->have_systemd) { 46 | - char *t; 47 | - int r; 48 | + dbus_uint32_t pid = getpid(); 49 | 50 | - r = sd_pid_get_session (0, &t); 51 | - if (r < 0) { 52 | - gs_debug ("Couldn't determine our own session id: %s", strerror (-r)); 53 | + message = dbus_message_new_method_call (SYSTEMD_LOGIND_SERVICE, SYSTEMD_LOGIND_PATH, SYSTEMD_LOGIND_INTERFACE, "GetSessionByPID"); 54 | + if (message == NULL) { 55 | + gs_debug ("Couldn't allocate the dbus message"); 56 | return NULL; 57 | } 58 | 59 | - /* t is allocated with malloc(), we need it with g_malloc() */ 60 | - ssid = g_strdup(t); 61 | - free (t); 62 | + if (dbus_message_append_args (message, DBUS_TYPE_UINT32, &pid, DBUS_TYPE_INVALID) == FALSE) { 63 | + gs_debug ("Couldn't add args to the dbus message"); 64 | + return NULL; 65 | + } 66 | + 67 | + /* FIXME: use async? */ 68 | + reply = dbus_connection_send_with_reply_and_block (listener->priv->system_connection, 69 | + message, 70 | + -1, &error); 71 | + dbus_message_unref (message); 72 | + 73 | + if (dbus_error_is_set (&error)) { 74 | + gs_debug ("%s raised:\n %s\n\n", error.name, error.message); 75 | + dbus_error_free (&error); 76 | + return NULL; 77 | + } 78 | + 79 | + dbus_message_iter_init (reply, &reply_iter); 80 | + dbus_message_iter_get_basic (&reply_iter, &ssid); 81 | + 82 | + dbus_message_unref (reply); 83 | 84 | - return ssid; 85 | + return g_strdup (ssid); 86 | } 87 | #endif 88 | 89 | -- 90 | 1.8.4 91 | 92 | -------------------------------------------------------------------------------- /gnome-screensaver-ubuntu/gnome-screensaver.pam: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth substack system-login 3 | -auth optional pam_gnome_keyring.so 4 | -------------------------------------------------------------------------------- /gnome-screensaver-ubuntu/lock_screen_on_suspend.patch: -------------------------------------------------------------------------------- 1 | From f8f9beb6a3bf81240d36bfec43e5db9b102ea91e Mon Sep 17 00:00:00 2001 2 | From: Martin Pitt 3 | Date: Wed, 1 May 2013 10:55:49 -0700 4 | Subject: [PATCH] Lock screen on suspend 5 | 6 | Listen for logind's PrepareForSleep signal, and lock the screen (if configured 7 | to do so). This mirrors what gnome-shell's screensaver does. 8 | --- 9 | src/gs-listener-dbus.c | 28 ++++++++++++++++++++++++++++ 10 | src/gs-listener-dbus.h | 1 + 11 | src/gs-monitor.c | 20 ++++++++++++++++++++ 12 | 3 files changed, 49 insertions(+) 13 | 14 | diff --git a/src/gs-listener-dbus.c b/src/gs-listener-dbus.c 15 | index 7f718fa..49586fd 100644 16 | --- a/src/gs-listener-dbus.c 17 | +++ b/src/gs-listener-dbus.c 18 | @@ -871,6 +872,17 @@ listener_dbus_handle_system_message (DBusConnection *connection, 19 | } 20 | 21 | return DBUS_HANDLER_RESULT_HANDLED; 22 | + } else if (dbus_message_is_signal (message, SYSTEMD_LOGIND_INTERFACE, "PrepareForSleep")) { 23 | + gboolean active; 24 | + if (dbus_message_get_args (message, NULL, 25 | + DBUS_TYPE_BOOLEAN, &active, 26 | + DBUS_TYPE_INVALID) && active) { 27 | + gs_debug ("systemd notified that system is about to sleep"); 28 | + g_signal_emit (listener, signals [LOCK], 0); 29 | + } else { 30 | + gs_debug ("cannot parse PrepareForSleep"); 31 | + } 32 | + return DBUS_HANDLER_RESULT_HANDLED; 33 | } else if (dbus_message_is_signal (message, DBUS_INTERFACE_PROPERTIES, "PropertiesChanged")) { 34 | 35 | if (_listener_message_path_is_our_session (listener, message)) { 36 | @@ -1370,6 +1392,12 @@ gs_listener_acquire (GSListener *listener, 37 | ",interface='"DBUS_INTERFACE_PROPERTIES"'" 38 | ",member='PropertiesChanged'", 39 | NULL); 40 | + dbus_bus_add_match (listener->priv->system_connection, 41 | + "type='signal'" 42 | + ",sender='"SYSTEMD_LOGIND_SERVICE"'" 43 | + ",interface='"SYSTEMD_LOGIND_INTERFACE"'" 44 | + ",member='PrepareForSleep'", 45 | + NULL); 46 | 47 | return (res != -1); 48 | } 49 | -- 50 | 1.8.1.2 51 | 52 | -------------------------------------------------------------------------------- /gnome-screensaver-ubuntu/move-desktop-file.patch: -------------------------------------------------------------------------------- 1 | From 1940dc6bc8ad5ee2c029714efb1276c05ca80bd4 Mon Sep 17 00:00:00 2001 2 | From: Tim Lunn 3 | Date: Thu, 18 Oct 2012 23:08:56 +0000 4 | Subject: move gnome-screensaver desktop file out of autostart 5 | 6 | https://bugzilla.gnome.org/show_bug.cgi?id=683060 7 | --- 8 | diff --git a/src/Makefile.am b/src/Makefile.am 9 | index 1dd5d46..97ffa07 100644 10 | --- a/src/Makefile.am 11 | +++ b/src/Makefile.am 12 | @@ -47,7 +47,7 @@ noinst_PROGRAMS = \ 13 | test-window \ 14 | $(NULL) 15 | 16 | -desktopdir = $(sysconfdir)/xdg/autostart 17 | +desktopdir = $(datadir)/applications 18 | desktop_in_files = gnome-screensaver.desktop.in 19 | desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) 20 | @INTLTOOL_DESKTOP_RULE@ 21 | diff --git a/src/gnome-screensaver.desktop.in.in b/src/gnome-screensaver.desktop.in.in 22 | index fae80c4..82d6d6f 100644 23 | --- a/src/gnome-screensaver.desktop.in.in 24 | +++ b/src/gnome-screensaver.desktop.in.in 25 | @@ -5,7 +5,6 @@ _Comment=Launch screensaver and locker program 26 | Icon=preferences-desktop-screensaver 27 | Exec=gnome-screensaver 28 | OnlyShowIn=GNOME; 29 | -AutostartCondition=GNOME3 if-session gnome-fallback 30 | NoDisplay=true 31 | X-GNOME-Autostart-Phase=Application 32 | X-GNOME-Autostart-Notify=true 33 | -- 34 | cgit v0.9.1 35 | -------------------------------------------------------------------------------- /gnome-screensaver-ubuntu/recenter.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/gs-window-x11.c b/src/gs-window-x11.c 2 | index d267f59..fbfbd8a 100644 3 | --- a/src/gs-window-x11.c 4 | +++ b/src/gs-window-x11.c 5 | @@ -1283,6 +1283,11 @@ shake_dialog (GSWindow *window) 6 | g_usleep (10000); 7 | } 8 | 9 | + gtk_alignment_set_padding (GTK_ALIGNMENT (window->priv->lock_box), 10 | + 0, 0, 11 | + 0, 12 | + 0); 13 | + 14 | window->priv->dialog_shake_in_progress = FALSE; 15 | maybe_kill_dialog (window); 16 | } 17 | -------------------------------------------------------------------------------- /gnome-screensaver-ubuntu/use-screensaver-background.patch: -------------------------------------------------------------------------------- 1 | diff -Naur gnome-screensaver-3.6.1.orig/src/gs-manager.c gnome-screensaver-3.6.1/src/gs-manager.c 2 | --- gnome-screensaver-3.6.1.orig/src/gs-manager.c 2012-08-20 19:12:39.000000000 +0200 3 | +++ gnome-screensaver-3.6.1/src/gs-manager.c 2014-10-08 03:49:37.877178771 +0200 4 | @@ -555,40 +555,8 @@ 5 | gint n_keys, 6 | GSManager *manager) 7 | { 8 | -#if 0 9 | - /* FIXME: since we bind user settings instead of system ones, 10 | - * watching for changes is no longer valid. 11 | - */ 12 | gnome_bg_load_from_preferences (manager->priv->bg, 13 | manager->priv->settings); 14 | -#endif 15 | - 16 | - return FALSE; 17 | -} 18 | - 19 | -static GSettings * 20 | -get_system_settings (void) 21 | -{ 22 | - GSettings *settings; 23 | - gchar **keys; 24 | - gchar **k; 25 | - 26 | - /* FIXME: we need to bind system settings instead of user but 27 | - * that's currently impossible, not implemented yet. 28 | - * Hence, reset to system default values. 29 | - */ 30 | - /* TODO: Ideally we would like to bind some other key, screensaver-specific. */ 31 | - settings = g_settings_new ("org.gnome.desktop.background"); 32 | - 33 | - g_settings_delay (settings); 34 | - 35 | - keys = g_settings_list_keys (settings); 36 | - for (k = keys; *k; k++) { 37 | - g_settings_reset (settings, *k); 38 | - } 39 | - g_strfreev (keys); 40 | - 41 | - return settings; 42 | } 43 | 44 | static void 45 | @@ -599,7 +567,7 @@ 46 | manager->priv->fade = gs_fade_new (); 47 | manager->priv->grab = gs_grab_new (); 48 | 49 | - manager->priv->settings = get_system_settings (); 50 | + manager->priv->settings = g_settings_new ("org.gnome.desktop.screensaver"); 51 | manager->priv->bg = gnome_bg_new (); 52 | 53 | g_signal_connect (manager->priv->bg, 54 | -------------------------------------------------------------------------------- /gnome-session-ubuntu/.gitignore: -------------------------------------------------------------------------------- 1 | /gnome-session/ 2 | -------------------------------------------------------------------------------- /gnome-session-ubuntu/polkit-gnome-authentication-agent-1-unity.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=PolicyKit Authentication Agent (Unity) 3 | Name[ar]=مدير الاستيثاق PolicyKit 4 | Name[be]=PolicyKit - аґент аўтэнтыфікацыі 5 | Name[bn_IN]=PolicyKit অনুমোদনের এজেন্ট 6 | Name[ca]=Agent d'autenticació del PolicyKit 7 | Name[cs]=Ověřovací agent PolicyKit 8 | Name[da]=Godkendelsesprogrammet PolicyKit 9 | Name[de]=Legitimationsdienst von PolicyKit 10 | Name[el]=Πράκτορας πιστοποίησης PolicyKit 11 | Name[en_GB]=PolicyKit Authentication Agent 12 | Name[es]=Agente de autenticación de PolicyKit 13 | Name[eu]=PolicyKit autentifikatzeko agentea 14 | Name[fi]=PolicytKit-tunnistautumisohjelma 15 | Name[fr]=Agent d'authentification de PolicyKit 16 | Name[gl]=Axente de autenticación PolicyKit 17 | Name[gu]=PolicyKit સત્તાધિકરણ એજન્ટ 18 | Name[hi]=PolicyKit प्रमाणीकरण प्रतिनिधि 19 | Name[hu]=PolicyKit hitelesítési ügynök 20 | Name[it]=Agente di autenticazione per PolicyKit 21 | Name[ja]=PolicyKit 認証エージェント 22 | Name[kn]=PolicyKit ದೃಢೀಕರಣ ಮಧ್ಯವರ್ತಿ 23 | Name[lt]=PolicyKit tapatybės nustatymo agentas 24 | Name[ml]=പോളിസിക്കിറ്റ് ഓഥന്റിക്കേഷന്‍ ഏജന്റ് 25 | Name[mr]=PolicyKit ऑथेंटीकेशन एजेंट 26 | Name[or]=PolicyKit ବୈଧିକରଣ ସଦସ୍ୟ 27 | Name[pa]=ਪਾਲਸੀਕਿੱਟ ਪਰਮਾਣਕਿਤਾ ਏਜੰਟ 28 | Name[pl]=Agent uwierzytelniania PolicyKit 29 | Name[pt]=Agente de Autenticação PolicyKit 30 | Name[pt_BR]=Agente de autenticação PolicyKit 31 | Name[ro]=Agent de autentificare PolicyKit 32 | Name[sk]=Agent PolicyKit na overovanie totožnosti 33 | Name[sl]=PolicyKit program overjanja 34 | Name[sv]=Autentiseringsagent för PolicyKit 35 | Name[ta]=PolicyKit அங்கீகார முகவர் 36 | Name[te]=పాలసీకిట్ ధృవీకరణ ప్రతినిధి 37 | Name[th]=ตัวกลางสำหรับยืนยันตัวบุคคล PolicyKit 38 | Name[uk]=Агент автентифікації PolicyKit 39 | Name[zh_CN]=PolicyKit 认证代理 40 | Name[zh_HK]=PolicyKit 驗證代理程式 41 | Name[zh_TW]=PolicyKit 驗證代理程式 42 | Comment=PolicyKit Authentication Agent 43 | Comment[ar]=مدير الاستيثاق PolicyKit 44 | Comment[be]=PolicyKit - аґент аўтэнтыфікацыі 45 | Comment[bn_IN]=PolicyKit অনুমোদনের এজেন্ট 46 | Comment[ca]=Agent d'autenticació del PolicyKit 47 | Comment[cs]=Ověřovací agent PolicyKit 48 | Comment[da]=Godkendelsesprogrammet PolicyKit 49 | Comment[de]=Legitimationsdienst von PolicyKit 50 | Comment[el]=Πράκτορας πιστοποίησης PolicyKit 51 | Comment[en_GB]=PolicyKit Authentication Agent 52 | Comment[es]=Agente de autenticación de PolicyKit 53 | Comment[eu]=PolicyKit autentifikatzeko agentea 54 | Comment[fi]=PolicytKit-tunnistautumisohjelma 55 | Comment[fr]=Agent d'authentification de PolicyKit 56 | Comment[gl]=Axente de autenticación PolicyKit 57 | Comment[gu]=PolicyKit સત્તાધિકરણ એજન્ટ 58 | Comment[hi]=PolicyKit प्रमाणीकरण प्रतिनिधि 59 | Comment[hu]=PolicyKit hitelesítési ügynök 60 | Comment[it]=Agente di autenticazione per PolicyKit 61 | Comment[ja]=PolicyKit 認証エージェント 62 | Comment[kn]=PolicyKit ದೃಢೀಕರಣ ಮಧ್ಯವರ್ತಿ 63 | Comment[lt]=PolicyKit tapatybės nustatymo agentas 64 | Comment[ml]=പോളിസിക്കിറ്റ് ഓഥന്റിക്കേഷന്‍ ഏജന്റ് 65 | Comment[mr]=PolicyKit ऑथेंटीकेशन एजेंट 66 | Comment[or]=PolicyKit ବୈଧିକରଣ ସଦସ୍ୟ 67 | Comment[pa]=ਪਾਲਸੀਕਿੱਟ ਪਰਮਾਣਕਿਤਾ ਏਜੰਟ 68 | Comment[pl]=Agent uwierzytelniania PolicyKit 69 | Comment[pt]=Agente de Autenticação PolicyKit 70 | Comment[pt_BR]=Agente de autenticação PolicyKit 71 | Comment[ro]=Agent de autentificare PolicyKit 72 | Comment[sk]=Agent PolicyKit na overovanie totožnosti 73 | Comment[sl]=PolicyKit program overjanja 74 | Comment[sv]=Autentiseringsagent för PolicyKit 75 | Comment[ta]=PolicyKit அங்கீகார முகவர் 76 | Comment[te]=పాలసీకిట్ ధృవీకరణ ప్రతినిధి 77 | Comment[th]=ตัวกลางสำหรับยืนยันตัวบุคคล PolicyKit 78 | Comment[uk]=Агент автентифікації PolicyKit 79 | Comment[zh_CN]=PolicyKit 认证代理 80 | Comment[zh_HK]=PolicyKit 驗證代理程式 81 | Comment[zh_TW]=PolicyKit 驗證代理程式 82 | Exec=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 83 | Terminal=false 84 | Type=Application 85 | Categories= 86 | NoDisplay=true 87 | OnlyShowIn=Unity; 88 | -------------------------------------------------------------------------------- /gnome-settings-daemon-ubuntu/.gitignore: -------------------------------------------------------------------------------- 1 | /gnome-settings-daemon/ 2 | /libgnome-volume-control/ 3 | -------------------------------------------------------------------------------- /gnome-settings-daemon-ubuntu/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Original Maintainer: Jan de Groot 3 | # Contributor: thn81 4 | 5 | # vercheck-pkgbuild: auto 6 | # vercheck-ubuntu: name=${pkgname%-*}, repo=yakkety 7 | # vercheck-archlinux: name=${pkgname%-*}, repo=extra, arch=x86_64 8 | # vercheck-gnome: name=${pkgname%-*}, majorver=3.22 9 | # vercheck-ppa: name=${pkgname%-*}, url=ppa:gnome3-team/gnome3-staging 10 | 11 | pkgname=gnome-settings-daemon-ubuntu 12 | _use_ppa=false 13 | #_ppa_rel=0ubuntu1~xenial1 14 | #_ppa_ver=3.20.1 15 | _ubuntu_rel=0ubuntu1 16 | #_ubuntu_ver=3.20.1 17 | pkgver=3.22.1 18 | pkgrel=1 19 | pkgdesc="GNOME Settings Daemon" 20 | url="https://git.gnome.org/browse/gnome-settings-daemon" 21 | arch=(i686 x86_64) 22 | license=(GPL) 23 | depends=(dconf gnome-desktop gsettings-desktop-schemas-ubuntu libcanberra-pulse 24 | libnotify libsystemd libwacom pulseaudio pulseaudio-alsa upower 25 | librsvg libgweather geocode-glib geoclue2 nss libgudev 26 | gtk3-print-backends) 27 | makedepends=(intltool xf86-input-wacom libxslt docbook-xsl python git gnome-common) 28 | groups=(gnome unity) 29 | provides=("gnome-settings-daemon=${pkgver}") 30 | conflicts=(gnome-settings-daemon) 31 | _commit=3ee42193f8772b5eb39b0b5a4d175b00abce033d # tags/GNOME_SETTINGS_DAEMON_3_22_1^0 32 | source=("git://git.gnome.org/gnome-settings-daemon#commit=${_commit}" 33 | "git://git.gnome.org/libgnome-volume-control") 34 | 35 | if [[ "${_use_ppa}" == "true" ]]; then 36 | source+=("http://ppa.launchpad.net/gnome3-team/gnome3-staging/ubuntu/pool/main/g/gnome-settings-daemon/gnome-settings-daemon_${_ppa_ver:-${pkgver}}-${_ppa_rel}.debian.tar.xz") 37 | else 38 | source+=("https://launchpad.net/ubuntu/+archive/primary/+files/gnome-settings-daemon_${_ubuntu_ver:-${pkgver}}-${_ubuntu_rel}.debian.tar.xz") 39 | fi 40 | 41 | sha512sums=('SKIP' 42 | 'SKIP' 43 | '1c47ae304ae7a0245693c7859678e2bea6805a5c62f9c7756dd053bcb05ea006cdf2d5681a1dfa3101ecd1c935464898e1a1fc07429cbb8d27be8e2f29392923') 44 | 45 | pkgver() { 46 | cd "${pkgname%-*}" 47 | git describe --tags | sed 's/^GNOME_SETTINGS_DAEMON_//;s/_/./g;s/-/+/g' 48 | } 49 | 50 | prepare() { 51 | cd "${pkgname%-*}" 52 | 53 | git submodule init 54 | git config --local submodule."panels/media-keys/gvc".url "${srcdir}/libgnome-volume-control" 55 | git submodule update 56 | 57 | # Apply Ubuntu's patches 58 | patch -p1 -i ../debian/patches/64_restore_terminal_keyboard_shortcut_schema.patch 59 | patch -p1 -i ../debian/patches/ubuntu-lid-close-suspend.patch 60 | patch -p1 -i ../debian/patches/revert_background_dropping.patch 61 | patch -p1 -i ../debian/patches/revert-gsettings-removals.patch 62 | 63 | NOCONFIGURE=1 ./autogen.sh 64 | } 65 | 66 | build() { 67 | cd "${pkgname%-*}" 68 | 69 | ./configure \ 70 | --prefix=/usr \ 71 | --sysconfdir=/etc \ 72 | --localstatedir=/var \ 73 | --libexecdir=/usr/lib/gnome-settings-daemon \ 74 | --disable-static 75 | 76 | # https://bugzilla.gnome.org/show_bug.cgi?id=656231 77 | sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool 78 | 79 | make 80 | } 81 | 82 | package() { 83 | cd "${pkgname%-*}" 84 | make DESTDIR="${pkgdir}" install 85 | } 86 | -------------------------------------------------------------------------------- /grail/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Contributor: thn81 3 | 4 | # vercheck-pkgbuild: auto 5 | # vercheck-ubuntu: name=${pkgname}, repo=yakkety 6 | # vercheck-launchpad: name=${pkgname} 7 | 8 | pkgname=grail 9 | _actual_ver=3.1.0 10 | _extra_ver=+16.04.20160125 11 | pkgver=${_actual_ver}${_extra_ver/\+/.} 12 | pkgrel=1 13 | epoch=1 14 | pkgdesc="Gesture Recognition And Instantiation Library" 15 | arch=(i686 x86_64) 16 | url="https://launchpad.net/grail" 17 | license=(LGPL) 18 | depends=(frame libxfixes libxi) 19 | makedepends=(inputproto) 20 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/grail_${_actual_ver}${_extra_ver}.orig.tar.gz") 21 | sha512sums=('b54f6681e128a1cf79e1fa74452d4aa674a3eaa5ce3d46386760382c5b754a582022a43b516149fa4f7fc68397c6d80b852550c9ed04e9bdae06ae0713a9de4d') 22 | 23 | build() { 24 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 25 | 26 | autoreconf -vfi 27 | 28 | # Static library needed for tests 29 | ./configure --prefix=/usr --with-x11 --disable-static 30 | make -j1 31 | } 32 | 33 | package() { 34 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 35 | make DESTDIR="${pkgdir}/" install 36 | } 37 | -------------------------------------------------------------------------------- /gsettings-desktop-schemas-ubuntu/.gitignore: -------------------------------------------------------------------------------- 1 | /gsettings-desktop-schemas/ 2 | -------------------------------------------------------------------------------- /gsettings-desktop-schemas-ubuntu/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Original Maintainer: Ionut Biru 3 | # Contributor: Jaroslav Lichtblau 4 | # Contributor: Adam Hani Schakaki (krzd) 5 | 6 | # vercheck-pkgbuild: auto 7 | # vercheck-ubuntu: name=${pkgname%-*}, repo=zesty 8 | # vercheck-archlinux: name=${pkgname%-*}, repo=extra, arch=x86_64 9 | # vercheck-gnome: name=${pkgname%-*}, majorver=3.22 10 | 11 | pkgname=gsettings-desktop-schemas-ubuntu 12 | _ubuntu_ver=3.22.0 13 | _ubuntu_rel=1ubuntu1 14 | pkgver=3.22.0+1+g6f52ab5 15 | pkgrel=1 16 | pkgdesc="Shared GSettings schemas for the desktop" 17 | arch=(any) 18 | url="https://www.gnome.org/" 19 | license=(GPL) 20 | depends=(glib2) 21 | makedepends=(intltool gobject-introspection git gnome-common) 22 | provides=("${pkgname%-*}=${pkgver}") 23 | conflicts=("${pkgname%-*}") 24 | _commit=6f52ab56bcf02c4a7315e433e30f45f106f31c3f 25 | source=("git://git.gnome.org/gsettings-desktop-schemas#commit=${_commit}" 26 | "https://launchpad.net/ubuntu/+archive/primary/+files/gsettings-desktop-schemas_${_ubuntu_ver:-${pkgver}}-${_ubuntu_rel}.debian.tar.xz") 27 | sha512sums=('SKIP' 28 | 'e71dc5c3b01ecb8156aebe260d450c0f35aa6816a6b3acc43298a5e2e0f9134f8bdef6b19992d31f80d7d5333eec43d125b5c95ca1781dfd13d099ab0745bee4') 29 | 30 | pkgver() { 31 | cd "${pkgname%-*}" 32 | git describe --tags | sed 's/-/+/g' 33 | } 34 | 35 | prepare() { 36 | cd "${pkgname%-*}" 37 | 38 | for i in $(grep -v '#' ../debian/patches/series); do 39 | msg "Applying ${i} ..." 40 | patch -p1 -i "../debian/patches/${i}" 41 | done 42 | 43 | NOCONFIGURE=1 ./autogen.sh 44 | } 45 | 46 | build() { 47 | cd "${pkgname%-*}" 48 | 49 | ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ 50 | --disable-schemas-compile 51 | make 52 | } 53 | 54 | package() { 55 | cd "${pkgname%-*}" 56 | 57 | make DESTDIR="${pkgdir}" install 58 | } 59 | -------------------------------------------------------------------------------- /gsettings-qt/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | 3 | # vercheck-pkgbuild: auto 4 | # vercheck-ubuntu: name=${pkgname}, repo=yakkety 5 | # vercheck-archlinux: name=${pkgname}, repo=community, arch=x86_64 6 | 7 | pkgname=gsettings-qt 8 | _actual_ver=0.1 9 | _extra_ver=+16.04.20160329 10 | pkgver=${_actual_ver}${_extra_ver/\+/.} 11 | pkgrel=1 12 | epoch=1 13 | pkgdesc="Library to access GSettings from Qt" 14 | arch=(i686 x86_64) 15 | url="https://launchpad.net/gsettings-qt" 16 | license=(LGPL) 17 | groups=(unity) 18 | depends=(qt5-base qt5-declarative) 19 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/gsettings-qt_${_actual_ver}${_extra_ver}.orig.tar.gz") 20 | sha512sums=('20b3532b351031c56bc8335430dabc882621713ece0844b78308458a084ecf37a756f01beb10809630e4b34e2261bde08b2c187d8d5e5a92ce0cbfa7a91ac680') 21 | 22 | prepare() { 23 | #cd "${pkgname}-${_actual_ver}${_extra_ver}" 24 | sed -i -e 's|tests/tests.pro||g' \ 25 | -e 's|tests/cpptest.pro||g' \ 26 | gsettings-qt.pro 27 | } 28 | 29 | build() { 30 | #cd "${pkgname}-${_actual_ver}${_extra_ver}" 31 | qmake-qt5 gsettings-qt.pro 32 | make 33 | } 34 | 35 | package() { 36 | #cd "${pkgname}-${_actual_ver}${_extra_ver}" 37 | make INSTALL_ROOT="${pkgdir}/" install 38 | } 39 | -------------------------------------------------------------------------------- /gsettings-ubuntu-schemas/50-com.ubuntu.AccountsService.rules: -------------------------------------------------------------------------------- 1 | /* Original: 2 | * [Allow greeter to set fields] 3 | * Identity=unix-user:lightdm 4 | * Action=com.ubuntu.AccountsService.GreeterChangeAny 5 | * ResultAny=no 6 | * ResultInactive=yes 7 | * ResultActive=yes 8 | */ 9 | polkit.addRule(function (action, subject) { 10 | if (subject.user == 'lightdm' && 11 | action.id == 'com.ubuntu.AccountsService.GreeterChangeAny') { 12 | return polkit.Result.YES; 13 | } 14 | }); 15 | 16 | /* Original: 17 | * [Allow greeter to read fields] 18 | * Identity=unix-user:lightdm 19 | * Action=com.ubuntu.AccountsService.GreeterReadAny 20 | * ResultAny=yes 21 | * ResultInactive=yes 22 | * ResultActive=yes 23 | */ 24 | polkit.addRule(function (action, subject) { 25 | if (subject.user == 'lightdm' && 26 | action.id == 'com.ubuntu.AccountsService.GreeterReadAny') { 27 | return polkit.Result.YES; 28 | } 29 | }); 30 | -------------------------------------------------------------------------------- /gsettings-ubuntu-schemas/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | 3 | # vercheck-pkgbuild: auto 4 | # vercheck-ubuntu: name=${_name}, repo=yakkety 5 | # vercheck-launchpad: name=${_name} 6 | 7 | _name=gsettings-ubuntu-touch-schemas 8 | pkgname=gsettings-ubuntu-schemas 9 | _actual_ver=0.0.7 10 | _extra_ver=+16.10.20160809 11 | pkgver=${_actual_ver}${_extra_ver/\+/.} 12 | pkgrel=1 13 | pkgdesc="GSettings desktop-wide schemas for Ubuntu" 14 | arch=(any) 15 | url="https://launchpad.net/gsettings-ubuntu-touch-schemas" 16 | license=(LGPL) 17 | groups=(unity) 18 | depends=(glib2) 19 | makedepends=(gnome-common intltool) 20 | optdepends=('accountsservice: For accountsservice-related schemas') 21 | options=(!emptydirs) 22 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/${_name}_${_actual_ver}${_extra_ver}.orig.tar.gz" 23 | 50-com.ubuntu.AccountsService.rules) 24 | sha512sums=('ebd53ed2b903ec51006cc8612e650beefc4561f937799835ad6be7f6afe672ad21c56d91b88b33b354b772a83f2b6b3d19cb490cf43ec129202b7b4436207894' 25 | 'f00605ff9a55c5d9c75146d28e2e8296a2e1468a504950c127668440bbe0758026dd1112ce5a91a7b342fb53f6c64211d5b55188642821b1b38dbfc862f248c0') 26 | 27 | build() { 28 | ./autogen.sh \ 29 | --prefix=/usr \ 30 | --localstatedir=/var 31 | make 32 | } 33 | 34 | package() { 35 | make DESTDIR="${pkgdir}/" install 36 | 37 | install -dm750 "${pkgdir}"/usr/share/polkit-1/rules.d/ 38 | install -m644 "${srcdir}"/50-com.ubuntu.AccountsService.rules \ 39 | "${pkgdir}"/usr/share/polkit-1/rules.d/ 40 | 41 | rm -v "${pkgdir}"/var/lib/polkit-1/localauthority/10-vendor.d/50-com.ubuntu.AccountsService.pkla 42 | } 43 | -------------------------------------------------------------------------------- /gtk2-ubuntu/.gitignore: -------------------------------------------------------------------------------- 1 | /gtk+/ 2 | -------------------------------------------------------------------------------- /gtk2-ubuntu/gtk-query-immodules-2.0.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = File 3 | Operation = Install 4 | Operation = Upgrade 5 | Operation = Remove 6 | Target = usr/lib/gtk-2.0/2.10.0/immodules/*.so 7 | 8 | [Action] 9 | Description = Probing GTK2 input method modules... 10 | When = PostTransaction 11 | Exec = /usr/bin/gtk-query-immodules-2.0 --update-cache 12 | -------------------------------------------------------------------------------- /gtk2-ubuntu/gtk2.install: -------------------------------------------------------------------------------- 1 | pre_remove() { 2 | rm -f /usr/lib/gtk-2.0/2.10.0/immodules.cache 3 | } 4 | -------------------------------------------------------------------------------- /gtk2-ubuntu/gtkrc: -------------------------------------------------------------------------------- 1 | gtk-icon-theme-name = "Adwaita" 2 | gtk-theme-name = "Adwaita" 3 | gtk-font-name = "Cantarell 11" 4 | -------------------------------------------------------------------------------- /gtk2-ubuntu/xid-collision-debug.patch: -------------------------------------------------------------------------------- 1 | --- gtk+-2.18.3/gdk/x11/gdkxid.c 2009-06-19 04:59:18.000000000 +0200 2 | +++ gtk+-2.18.3/gdk/x11/gdkxid.c.new 2009-07-22 11:30:12.000000000 +0200 3 | @@ -56,10 +56,10 @@ 4 | if (!display_x11->xid_ht) 5 | display_x11->xid_ht = g_hash_table_new ((GHashFunc) gdk_xid_hash, 6 | (GEqualFunc) gdk_xid_equal); 7 | - 8 | +/* 9 | if (g_hash_table_lookup (display_x11->xid_ht, xid)) 10 | g_warning ("XID collision, trouble ahead"); 11 | - 12 | +*/ 13 | g_hash_table_insert (display_x11->xid_ht, xid, data); 14 | } 15 | 16 | -------------------------------------------------------------------------------- /gtk3-ubuntu/.gitignore: -------------------------------------------------------------------------------- 1 | /gtk+/ 2 | -------------------------------------------------------------------------------- /gtk3-ubuntu/gtk-query-immodules-3.0.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = File 3 | Operation = Install 4 | Operation = Upgrade 5 | Operation = Remove 6 | Target = usr/lib/gtk-3.0/3.0.0/immodules/*.so 7 | 8 | [Action] 9 | Description = Probing GTK3 input method modules... 10 | When = PostTransaction 11 | Exec = /usr/bin/gtk-query-immodules-3.0 --update-cache 12 | -------------------------------------------------------------------------------- /gtk3-ubuntu/gtk3.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | echo "If you want to use the global menus and you are not using Unity, you will need" 3 | echo "to add the following to ~/.config/gtk-3.0/settings.ini" 4 | echo 5 | echo "********************************" 6 | echo "[Settings]" 7 | echo "gtk-shell-shows-menubar = 1" 8 | echo "********************************" 9 | } 10 | 11 | pre_remove() { 12 | rm -f /usr/lib/gtk-3.0/3.0.0/immodules.cache 13 | } 14 | -------------------------------------------------------------------------------- /gtk3-ubuntu/settings.ini: -------------------------------------------------------------------------------- 1 | [Settings] 2 | gtk-icon-theme-name = Adwaita 3 | gtk-theme-name = Adwaita 4 | gtk-font-name = Cantarell 11 5 | -------------------------------------------------------------------------------- /hud/0001-Use-Python-2.patch: -------------------------------------------------------------------------------- 1 | From cedb4ccb4cd7c99e75b9d7e882acc615d7179277 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Mon, 25 Jan 2016 14:18:42 -0500 4 | Subject: [PATCH 1/2] Use Python 2 5 | 6 | --- 7 | tools/hudkeywords/CMakeLists.txt | 4 ++-- 8 | tools/hudkeywords/bin/hudkeywords | 4 ++-- 9 | tools/hudkeywords/setup.py | 2 +- 10 | 3 files changed, 5 insertions(+), 5 deletions(-) 11 | 12 | diff --git a/tools/hudkeywords/CMakeLists.txt b/tools/hudkeywords/CMakeLists.txt 13 | index 6dacd93..0a6d7a3 100644 14 | --- a/tools/hudkeywords/CMakeLists.txt 15 | +++ b/tools/hudkeywords/CMakeLists.txt 16 | @@ -1,4 +1,4 @@ 17 | -find_program(PYTHON "python") 18 | +find_program(PYTHON "python2") 19 | 20 | if (PYTHON) 21 | set(PYTHON_ROOT ${CMAKE_INSTALL_PREFIX}) 22 | @@ -48,4 +48,4 @@ if (PYTHON) 23 | 24 | add_test(hudkeywords-check ${PYTHON} ${SETUP_PY} test) 25 | set_tests_properties(hudkeywords-check PROPERTIES WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) 26 | -endif() 27 | \ No newline at end of file 28 | +endif() 29 | diff --git a/tools/hudkeywords/bin/hudkeywords b/tools/hudkeywords/bin/hudkeywords 30 | index 4e0a9b9..61f8d28 100755 31 | --- a/tools/hudkeywords/bin/hudkeywords 32 | +++ b/tools/hudkeywords/bin/hudkeywords 33 | @@ -1,4 +1,4 @@ 34 | -#!/usr/bin/env python 35 | +#!/usr/bin/env python2 36 | 37 | # Copyright (C) 2005-2012 Canonical Ltd 38 | # 39 | @@ -20,4 +20,4 @@ import sys 40 | from hudkeywords import cli 41 | 42 | if __name__ == '__main__': 43 | - sys.exit(cli.main()) 44 | \ No newline at end of file 45 | + sys.exit(cli.main()) 46 | diff --git a/tools/hudkeywords/setup.py b/tools/hudkeywords/setup.py 47 | index 3742f5e..ccc13db 100755 48 | --- a/tools/hudkeywords/setup.py 49 | +++ b/tools/hudkeywords/setup.py 50 | @@ -1,4 +1,4 @@ 51 | -#!/usr/bin/env python 52 | +#!/usr/bin/env python2 53 | 54 | # Copyright (C) 2005-2012 Canonical Ltd 55 | # 56 | -- 57 | 2.7.0 58 | 59 | -------------------------------------------------------------------------------- /hud/0002-Remove-test-dependencies.patch: -------------------------------------------------------------------------------- 1 | From f4d43095b7293ce0514ad9a570da1328cfdc8d71 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Mon, 25 Jan 2016 14:19:47 -0500 4 | Subject: [PATCH 2/2] Remove test dependencies 5 | 6 | --- 7 | CMakeLists.txt | 6 ------ 8 | 1 file changed, 6 deletions(-) 9 | 10 | diff --git a/CMakeLists.txt b/CMakeLists.txt 11 | index 2b483ff..370b505 100644 12 | --- a/CMakeLists.txt 13 | +++ b/CMakeLists.txt 14 | @@ -98,12 +98,6 @@ include_directories(${DBUSMENU_INCLUDE_DIRS}) 15 | find_package(Qt5Test REQUIRED) 16 | include_directories(${Qt5Test_INCLUDE_DIRS}) 17 | 18 | -pkg_check_modules(QTDBUSTEST REQUIRED libqtdbustest-1 REQUIRED) 19 | -include_directories(${QTDBUSTEST_INCLUDE_DIRS}) 20 | - 21 | -pkg_check_modules(QTDBUSMOCK REQUIRED libqtdbusmock-1 REQUIRED) 22 | -include_directories(${QTDBUSMOCK_INCLUDE_DIRS}) 23 | - 24 | find_package(Vala 0.12) 25 | 26 | find_package(GObjectIntrospection 0.9.12) 27 | -- 28 | 2.7.0 29 | 30 | -------------------------------------------------------------------------------- /hud/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | 3 | # vercheck-pkgbuild: auto 4 | # vercheck-ubuntu: name=${pkgname}, repo=zesty 5 | # vercheck-launchpad: name=${pkgname} 6 | 7 | pkgname=hud 8 | _actual_ver=14.10 9 | _extra_ver=+17.04.20161026 10 | pkgver=${_actual_ver}${_extra_ver/\+/.} 11 | pkgrel=1 12 | pkgdesc="Backend for the Unity HUD" 13 | arch=(i686 x86_64) 14 | url="https://launchpad.net/hud" 15 | license=(GPL) 16 | groups=(unity) 17 | depends=(bamf-ubuntu libdbusmenu-gtk3 sqlite gsettings-qt libcolumbus 18 | libdbusmenu-qt5 dee-qt) 19 | makedepends=(cmake gnome-common gnome-doc-utils gobject-introspection gtk-doc 20 | intltool qt5-base python2-distribute vala) 21 | optdepends=('indicator-appmenu: HUD support') 22 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/hud_${_actual_ver}${_extra_ver}.orig.tar.gz" 23 | 0001-Use-Python-2.patch 24 | 0002-Remove-test-dependencies.patch) 25 | sha512sums=('47156b224623b53ffa9378214065a1f850cb46b394bf7f32f7e23f125e22323a34009ac6d9c524fae382384611d5dab34074f9dacf03b427129d229d7287187e' 26 | '351ce207cc203e5901a20c30ff21cf186e330d7b4799a3bc43abca4039ec6e2de4abfa790266650cab112ad403675e6b926b368b7623ea3ecdb6a3c0c1b00fe5' 27 | '3b2ed254cea8aa985c2c376a05f4ac496bc8673371d4beccf76b3b234e67bfb447c33ef830a53799df9e1526656a9ea60dc2c3b9ff0cf2e120b3625f84112152') 28 | 29 | prepare() { 30 | patch -p1 -i ../0001-Use-Python-2.patch 31 | patch -p1 -i ../0002-Remove-test-dependencies.patch 32 | } 33 | 34 | build() { 35 | export CXXFLAGS+=" -lc" 36 | 37 | rm -rf build && mkdir build && cd build 38 | cmake .. \ 39 | -DCMAKE_INSTALL_PREFIX=/usr \ 40 | -DCMAKE_INSTALL_LIBDIR=/usr/lib \ 41 | -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib \ 42 | -DENABLE_DOCUMENTATION=ON \ 43 | -DENABLE_TESTS=OFF \ 44 | -DENABLE_VOICE_TESTS=OFF \ 45 | -DENABLE_SCALABILITY_TESTS=OFF \ 46 | -DFULL_WARNINGS=ON 47 | 48 | make 49 | } 50 | 51 | package() { 52 | cd build 53 | make DESTDIR="${pkgdir}/" install 54 | } 55 | -------------------------------------------------------------------------------- /ido/0001-Temporarily-disable-previous-button-drop-shadow-draw.patch: -------------------------------------------------------------------------------- 1 | From 9e672e82e01f0bbe11869a4b67bd0a26c9494c50 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Wed, 29 Oct 2014 00:36:15 -0400 4 | Subject: [PATCH] Temporarily disable previous-button drop-shadow drawing 5 | 6 | When indicator-sound is connected to a media player through mpris, 7 | a bug in either cairo or ido causes unity-panel-service to segfault 8 | --- 9 | src/idoplaybackmenuitem.c | 2 ++ 10 | 1 file changed, 2 insertions(+) 11 | 12 | diff --git a/src/idoplaybackmenuitem.c b/src/idoplaybackmenuitem.c 13 | index 11af9bb..5fb66da 100644 14 | --- a/src/idoplaybackmenuitem.c 15 | +++ b/src/idoplaybackmenuitem.c 16 | @@ -1443,6 +1443,7 @@ ido_playback_menu_item_draw (GtkWidget* button, cairo_t *cr) 17 | MIDDLE_END); 18 | } 19 | 20 | +#if 0 21 | // draw previous-button drop-shadow 22 | if ((item->cur_pushed_button == BUTTON_PREVIOUS && item->keyboard_activated) || 23 | item->cur_hover_button == BUTTON_PREVIOUS) 24 | @@ -1485,6 +1486,7 @@ ido_playback_menu_item_draw (GtkWidget* button, cairo_t *cr) 25 | _surface_blur (surf, 1); 26 | _finalize (cr, &cr_surf, &surf, abs_prev_x, PREV_Y + 1.0f); 27 | } 28 | +#endif 29 | 30 | // draw previous-button 31 | _setup (&cr_surf, &surf, PREV_WIDTH, PREV_HEIGHT); 32 | -- 33 | 2.1.2 34 | 35 | -------------------------------------------------------------------------------- /ido/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Original Maintainer: György Balló 3 | # Contributor: thn81 4 | 5 | # vercheck-pkgbuild: auto 6 | # vercheck-ubuntu: name=${pkgname}, repo=zesty 7 | # vercheck-launchpad: name=${pkgname} 8 | 9 | pkgname=ido 10 | _actual_ver=13.10.0 11 | _extra_ver=+17.04.20161028 12 | pkgver=${_actual_ver}${_extra_ver/\+/.} 13 | pkgrel=1 14 | epoch=1 15 | pkgdesc="Widgets and other objects used for indicators" 16 | arch=(i686 x86_64) 17 | url="https://launchpad.net/ido" 18 | license=(LGPL) 19 | depends=(gtk3-ubuntu) 20 | makedepends=(gobject-introspection gtk-doc vala xorg-util-macros) 21 | groups=(unity) 22 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/ido_${_actual_ver}${_extra_ver}.orig.tar.gz" 23 | 0001-Temporarily-disable-previous-button-drop-shadow-draw.patch) 24 | sha512sums=('867157c9e316eb5ed69ebdf1017ed86990aabf7a885ba26acab36782f0f27e10b4621a7db15ac90335e808022490a98560d5ff443e6f697c578eed5868385ebd' 25 | '91d19642868a3859a860fc1a32541141472b8af46d9d2fa6983dd41ec6e0497ca6397a836a0921ba000e26be2be5b8d52ae74b0c5c29b4b73e4f6bce67f9b60d') 26 | 27 | prepare() { 28 | patch -p1 -i 0001-Temporarily-disable-previous-button-drop-shadow-draw.patch 29 | } 30 | 31 | build() { 32 | export CFLAGS+=" -Wno-error" 33 | autoreconf -vfi 34 | ./configure --prefix=/usr --disable-static --disable-introspection 35 | make 36 | } 37 | 38 | package() { 39 | make DESTDIR="${pkgdir}/" install 40 | } 41 | -------------------------------------------------------------------------------- /indicator-application/0001_autoconf.patch: -------------------------------------------------------------------------------- 1 | diff -Nru indicator-application-12.10.1daily13.01.11.orig/configure.ac indicator-application-12.10.1daily13.01.11/configure.ac 2 | --- indicator-application-12.10.1daily13.01.11.orig/configure.ac 2013-01-12 10:22:02.405959692 -0500 3 | +++ indicator-application-12.10.1daily13.01.11/configure.ac 2013-01-12 10:22:12.069242219 -0500 4 | @@ -4,7 +4,7 @@ 5 | 6 | AC_PREREQ(2.53) 7 | 8 | -AM_CONFIG_HEADER(config.h) 9 | +AC_CONFIG_HEADERS(config.h) 10 | AM_INIT_AUTOMAKE(indicator-application, 12.10.0) 11 | 12 | AM_MAINTAINER_MODE 13 | -------------------------------------------------------------------------------- /indicator-application/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Original Maintainer: György Balló 3 | # Contributor: thn81 4 | 5 | # vercheck-pkgbuild: auto 6 | # vercheck-ubuntu: name=${pkgname}, repo=zesty 7 | # vercheck-launchpad: name=${pkgname} 8 | 9 | pkgname=indicator-application 10 | _actual_ver=12.10.1 11 | _extra_ver=+17.04.20161028 12 | pkgver=${_actual_ver}${_extra_ver/\+/.} 13 | pkgrel=1 14 | epoch=1 15 | pkgdesc="A library and indicator to take menus from applications and place them in the panel" 16 | arch=(i686 x86_64) 17 | url="https://launchpad.net/indicator-application" 18 | license=(GPL) 19 | depends=(dbus-glib libappindicator-gtk3 libdbusmenu-gtk3 libindicator-gtk3 20 | json-glib) 21 | groups=(unity) 22 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/indicator-application_${_actual_ver}${_extra_ver}.orig.tar.gz" 23 | 0001_autoconf.patch) 24 | sha512sums=('8b6244dd28a5ea108c8536b6380d9e824d01c5575a72d7a6faa8696f0325c5384135086ce7be987b0e8bee0b3ecd432c184aca8a61b110fec79d6f8cedaea3fe' 25 | '7ef9f2eab8dd17d8957b706ba479c38f5f9e74a69e77af7c8e318809c67b4aea214433f0364741fc4fcbfaefd6bbff3e370e24048cd23f2e09ebe6bca32b1511') 26 | 27 | prepare() { 28 | patch -p1 -i 0001_autoconf.patch 29 | 30 | autoreconf -vfi 31 | } 32 | 33 | build() { 34 | ./configure --prefix=/usr --libexecdir=/usr/lib --disable-static 35 | make 36 | } 37 | 38 | package() { 39 | make DESTDIR="${pkgdir}/" install 40 | 41 | rm -rv "${pkgdir}"/usr/share/upstart/ 42 | } 43 | -------------------------------------------------------------------------------- /indicator-appmenu/0001_autoconf.patch: -------------------------------------------------------------------------------- 1 | diff -Nru indicator-appmenu-12.10.3.orig/configure.ac indicator-appmenu-12.10.3/configure.ac 2 | --- indicator-appmenu-12.10.3.orig/configure.ac 2013-01-07 06:59:33.344260743 -0500 3 | +++ indicator-appmenu-12.10.3/configure.ac 2013-01-07 06:59:44.277538125 -0500 4 | @@ -8,7 +8,7 @@ 5 | 6 | AC_PREREQ(2.53) 7 | 8 | -AM_CONFIG_HEADER(config.h) 9 | +AC_CONFIG_HEADER(config.h) 10 | AC_CONFIG_SRCDIR([configure.ac]) 11 | AC_CONFIG_MACRO_DIR([m4]) 12 | 13 | -------------------------------------------------------------------------------- /indicator-appmenu/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Original Maintainer: György Balló 3 | # Contributor: thn81 4 | 5 | # vercheck-pkgbuild: auto 6 | # vercheck-ubuntu: name=${pkgname}, repo=yakkety 7 | # vercheck-launchpad: name=${pkgname} 8 | 9 | pkgname=indicator-appmenu 10 | _actual_ver=15.02.0 11 | _extra_ver=+16.10.20160927 12 | pkgver=${_actual_ver}${_extra_ver/\+/.} 13 | pkgrel=1 14 | epoch=1 15 | pkgdesc="An indicator to host the menus from an application" 16 | arch=(i686 x86_64) 17 | url="https://launchpad.net/indicator-appmenu" 18 | license=(GPL) 19 | groups=(unity) 20 | depends=(dconf libappindicator-gtk3 libindicator-gtk3 libdbusmenu-gtk3 21 | bamf-ubuntu) 22 | makedepends=(gtk-doc intltool vala) 23 | optdepends=('unity-gtk-module: support for GTK+ 2 and GTK+ 3 apps' 24 | 'appmenu-qt: support for Qt apps') 25 | options=(!emptydirs) 26 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/indicator-appmenu_${_actual_ver}${_extra_ver}.orig.tar.gz" 27 | 0001_autoconf.patch) 28 | sha512sums=('023ceb4d48b2daf99b54eb1c54ee596c876d9d24a31c9dfebeec40990f066615331f4e8daf2dee6bf0bd6843b896060655bf8d5eb31ce3e647b4c365499264fc' 29 | '31b83e433824bd7acd7be93bfd60932114eff344fea77c8ea1125272d5881fd61c1609d4fbf24de0cc8838e76d8ac405e7a19162e3ce2021b6b5b6dbb61c31f8') 30 | 31 | prepare() { 32 | #cd "${pkgname}-${_actual_ver}${_extra_ver}" 33 | 34 | # Autoconf fix 35 | patch -p1 -i ../0001_autoconf.patch 36 | } 37 | 38 | build() { 39 | #cd "${pkgname}-${_actual_ver}${_extra_ver}" 40 | 41 | export CFLAGS+=" -Wno-error" 42 | 43 | gtkdocize 44 | autoreconf -vfi 45 | intltoolize -f 46 | 47 | ./configure --prefix=/usr --libexecdir=/usr/lib/${pkgname} --disable-static 48 | make 49 | } 50 | 51 | package() { 52 | #cd "${pkgname}-${_actual_ver}${_extra_ver}/" 53 | 54 | make DESTDIR="${pkgdir}/" install 55 | } 56 | -------------------------------------------------------------------------------- /indicator-datetime/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Original Maintainer: György Balló 3 | # Contributor: thn81 4 | 5 | # vercheck-pkgbuild: auto 6 | # vercheck-ubuntu: name=${pkgname}, repo=zesty 7 | # vercheck-launchpad: name=${pkgname} 8 | 9 | pkgname=indicator-datetime 10 | _actual_ver=15.10 11 | _extra_ver=+17.04.20161116.1 12 | pkgver=${_actual_ver}${_extra_ver/+/.} 13 | pkgrel=1 14 | pkgdesc="A very, very simple clock" 15 | arch=(i686 x86_64) 16 | url="https://launchpad.net/indicator-datetime" 17 | license=(GPL) 18 | # ubuntu-app-launch, uuid 19 | depends=(evolution-data-server gsettings-ubuntu-schemas gstreamer 20 | indicator-messages libaccounts-glib libtimezonemap properties-cpp 21 | unity-control-center) 22 | makedepends=(intltool cmake) 23 | groups=(unity) 24 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${_actual_ver}${_extra_ver}.orig.tar.gz" 25 | 0001-Not-a-phone.patch) 26 | sha512sums=('a0ef9e8152ce3eb78115d913e5db9f27034ae8aae640adaa9605858eadaadc20e5cfdac024862c080100a84099d43d9d51842b69e7651371c0e21ad8703e288f' 27 | '1d1d7c6d50222fe972e61437f2c3dbfd2dfde1baf36e063e1514ae8afb3aa5c4e02562c0c13cbe8a8b6ce94abe5a0901b2bbbe64c3d0be042b1dbe6931ddd886') 28 | 29 | prepare() { 30 | patch -p1 -i 0001-Not-a-phone.patch 31 | } 32 | 33 | build() { 34 | export CFLAGS+=" -Wno-error" 35 | 36 | mkdir -p build 37 | cd build 38 | cmake .. \ 39 | -DCMAKE_INSTALL_PREFIX=/usr \ 40 | -DCMAKE_INSTALL_LIBDIR=/usr/lib \ 41 | -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib \ 42 | -Denable_tests=OFF 43 | 44 | make 45 | } 46 | 47 | package() { 48 | cd build 49 | 50 | make DESTDIR="${pkgdir}/" install 51 | 52 | # Use language packs 53 | rm -r "${pkgdir}/usr/share/locale/" 54 | 55 | rm -rv "${pkgdir}"/usr/share/upstart 56 | } 57 | -------------------------------------------------------------------------------- /indicator-keyboard/0001-vala-build-fix.patch: -------------------------------------------------------------------------------- 1 | From 0bf28e2f8698b30c89461a2d7ff8d7411e6c01bb Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Fri, 11 Apr 2014 15:39:56 -0400 4 | Subject: [PATCH 1/6] vala build fix 5 | 6 | --- 7 | data/Makefile.am | 2 +- 8 | lib/Makefile.am | 2 +- 9 | 2 files changed, 2 insertions(+), 2 deletions(-) 10 | 11 | diff --git a/data/Makefile.am b/data/Makefile.am 12 | index 3885aa5..11b905a 100644 13 | --- a/data/Makefile.am 14 | +++ b/data/Makefile.am 15 | @@ -9,7 +9,7 @@ noinst_PROGRAMS = indicator-keyboard-icon-generator 16 | 17 | AM_CFLAGS = -w -DGNOME_DESKTOP_USE_UNSTABLE_API 18 | AM_LDFLAGS = -lm 19 | -AM_VALAFLAGS = --enable-experimental-non-null \ 20 | +AM_VALAFLAGS = \ 21 | --metadatadir $(top_srcdir)/deps \ 22 | --vapidir $(top_srcdir)/deps 23 | 24 | diff --git a/lib/Makefile.am b/lib/Makefile.am 25 | index 4149225..4e5a86a 100644 26 | --- a/lib/Makefile.am 27 | +++ b/lib/Makefile.am 28 | @@ -2,7 +2,7 @@ pkglibexec_PROGRAMS = indicator-keyboard-service 29 | 30 | AM_CFLAGS = -w -DGNOME_DESKTOP_USE_UNSTABLE_API 31 | AM_LDFLAGS = -lm -lurl-dispatcher 32 | -AM_VALAFLAGS = --enable-experimental-non-null \ 33 | +AM_VALAFLAGS = \ 34 | --metadatadir $(top_srcdir)/deps \ 35 | --vapidir $(top_srcdir)/deps 36 | 37 | -- 38 | 2.9.3 39 | 40 | -------------------------------------------------------------------------------- /indicator-keyboard/0002-Remove-code-depending-on-accountsservices-patch.patch: -------------------------------------------------------------------------------- 1 | From 1dadb93567e8607611979c515e8b6152cd36f3f3 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Fri, 11 Apr 2014 15:46:47 -0400 4 | Subject: [PATCH 2/6] Remove code depending on accountsservices patch 5 | 6 | --- 7 | lib/main.vala | 38 +------------------------------------- 8 | 1 file changed, 1 insertion(+), 37 deletions(-) 9 | 10 | diff --git a/lib/main.vala b/lib/main.vala 11 | index fbaf5a1..eab8d1c 100644 12 | --- a/lib/main.vala 13 | +++ b/lib/main.vala 14 | @@ -305,25 +305,7 @@ public class Indicator.Keyboard.Service : Object { 15 | Act.User? user = manager.get_user ((!) greeter_user); 16 | 17 | if (user != null && ((!) user).is_loaded) { 18 | - foreach (var outer in ((!) user).input_sources) { 19 | - foreach (var inner in (!) outer) { 20 | - unowned string key; 21 | - unowned string value; 22 | - 23 | - ((!) inner).get ("{&s&s}", out key, out value); 24 | - 25 | - if (key == "xkb") { 26 | - source = value; 27 | - break; 28 | - } 29 | - } 30 | - 31 | - if (source != null) { 32 | - break; 33 | - } 34 | - } 35 | - 36 | - if (source == null) { 37 | + if (true) { 38 | var layouts = ((!) user).xkeyboard_layouts; 39 | 40 | if (layouts.length <= 0) { 41 | @@ -495,24 +477,6 @@ public class Indicator.Keyboard.Service : Object { 42 | if (user.is_loaded) { 43 | var done = false; 44 | 45 | - foreach (var outer in user.input_sources) { 46 | - foreach (var inner in (!) outer) { 47 | - unowned string key; 48 | - unowned string source; 49 | - 50 | - ((!) inner).get ("{&s&s}", out key, out source); 51 | - 52 | - if (key == "xkb") { 53 | - done = true; 54 | - 55 | - if (!added.contains (source)) { 56 | - list.add (source); 57 | - added.add (source); 58 | - } 59 | - } 60 | - } 61 | - } 62 | - 63 | if (!done) { 64 | var layouts = user.xkeyboard_layouts; 65 | foreach (var layout in layouts) { 66 | -- 67 | 2.9.3 68 | 69 | -------------------------------------------------------------------------------- /indicator-keyboard/0004-Remove-unavailable-DBus-method-xkeyboard-layouts.patch: -------------------------------------------------------------------------------- 1 | From 41e1b2613e6c089a8f893cc44650e2bb59586ba4 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Wed, 16 Apr 2014 17:06:46 -0400 4 | Subject: [PATCH 4/6] Remove unavailable DBus method xkeyboard-layouts 5 | 6 | --- 7 | lib/main.vala | 20 ++------------------ 8 | 1 file changed, 2 insertions(+), 18 deletions(-) 9 | 10 | diff --git a/lib/main.vala b/lib/main.vala 11 | index d230d16..aa61a22 100644 12 | --- a/lib/main.vala 13 | +++ b/lib/main.vala 14 | @@ -299,9 +299,9 @@ public class Indicator.Keyboard.Service : Object { 15 | 16 | if (user != null && ((!) user).is_loaded) { 17 | if (true) { 18 | - var layouts = ((!) user).xkeyboard_layouts; 19 | + string[] layouts = null; 20 | 21 | - if (layouts.length <= 0) { 22 | + if (true) { 23 | var user_list = LightDM.UserList.get_instance (); 24 | LightDM.User? light_user = user_list.get_user_by_name ((!) greeter_user); 25 | 26 | @@ -471,22 +471,6 @@ public class Indicator.Keyboard.Service : Object { 27 | var done = false; 28 | 29 | if (!done) { 30 | - var layouts = user.xkeyboard_layouts; 31 | - foreach (var layout in layouts) { 32 | - done = true; 33 | - 34 | - var source = layout; 35 | - source = source.replace (" ", "+"); 36 | - source = source.replace ("\t", "+"); 37 | - 38 | - if (!added.contains (source)) { 39 | - list.add (source); 40 | - added.add (source); 41 | - } 42 | - } 43 | - } 44 | - 45 | - if (!done) { 46 | var user_list = LightDM.UserList.get_instance (); 47 | LightDM.User? light_user = user_list.get_user_by_name (user.user_name); 48 | 49 | -- 50 | 2.9.3 51 | 52 | -------------------------------------------------------------------------------- /indicator-keyboard/0005-Spawn-ibus-daemon-at-startup.patch: -------------------------------------------------------------------------------- 1 | From 8302afe21f2c953b02d4a028ce0ec7e0d95feec3 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Sat, 11 Oct 2014 19:23:08 -0400 4 | Subject: [PATCH 5/6] Spawn ibus-daemon at startup 5 | 6 | --- 7 | lib/main.vala | 8 ++++++++ 8 | 1 file changed, 8 insertions(+) 9 | 10 | diff --git a/lib/main.vala b/lib/main.vala 11 | index aa61a22..7f3c0e1 100644 12 | --- a/lib/main.vala 13 | +++ b/lib/main.vala 14 | @@ -1183,6 +1183,14 @@ public class Indicator.Keyboard.Service : Object { 15 | 16 | [DBus (visible = false)] 17 | public static int main (string[] args) { 18 | + // Launch ibus-daemon the same way gnome-shell 3.14 does 19 | + string[] cmd = {"ibus-daemon", "--xim", "--panel", "disable"}; 20 | + try { 21 | + new Subprocess.newv (cmd, SubprocessFlags.NONE); 22 | + } catch (Error e) { 23 | + warning ("Failed to launch ibus-daemon: %s", e.message); 24 | + } 25 | + 26 | Service.service = new Service (ref args); 27 | 28 | Posix.signal (Posix.SIGTERM, (code) => { 29 | -- 30 | 2.9.3 31 | 32 | -------------------------------------------------------------------------------- /indicator-keyboard/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | 3 | # vercheck-pkgbuild: auto 4 | # vercheck-ubuntu: name=${pkgname}, repo=zesty 5 | 6 | pkgname=indicator-keyboard 7 | _actual_ver=0.0.0 8 | _extra_ver=+17.04.20161021 9 | pkgver=${_actual_ver}${_extra_ver/\+/.} 10 | pkgrel=2 11 | pkgdesc="Indicator for switching keyboard layouts and input methods" 12 | arch=(i686 x86_64) 13 | url="https://launchpad.net/indicator-keyboard" 14 | license=(GPL) 15 | groups=(unity) 16 | depends=(accountsservice fcitx gnome-desktop gucharmap ibus libgee libgnomekbd 17 | lightdm-ubuntu unity-control-center) 18 | makedepends=(gobject-introspection intltool vala) 19 | conflicts=(ibus-ubuntu) 20 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/indicator-keyboard_${_actual_ver}${_extra_ver}.orig.tar.gz" 21 | 0001-vala-build-fix.patch 22 | 0002-Remove-code-depending-on-accountsservices-patch.patch 23 | 0003-Remove-unavailable-DBus-method-activate_input_source.patch 24 | 0004-Remove-unavailable-DBus-method-xkeyboard-layouts.patch 25 | 0005-Spawn-ibus-daemon-at-startup.patch 26 | 0006-Remove-url-dispatcher-dependency.patch) 27 | sha512sums=('2d85c1667cc4377eee258f16b3e514ef1216836eeb33e1431e84043891fba531fa565d21bdc4f5176ad49abd3b6dddbc21f3bd553d8c366bb9e260cb7672c4d9' 28 | 'e1f60a43b818dc0e57e6aa22f29cfb125c3d420b4c910ed2a5a638bec1fe5456738214a864b447743d4d2f531a43da4265c1d77b95c50ec1f04c9537f883f7ec' 29 | '13c7de7533438c624bfccfcce2b23fea3d3c8f371e47eaa269f653c72dc931612cab2b7e9386eb5db4e08ccc7a9f5a7853c230c45c70cd63ad34b2ab86280909' 30 | 'c89f43cded3e9dbdac62843586bab9a120b858dc36e5b74b5d3d18c33f39fef9706a6d282ca4ede1bdb1789d5f63b8186376324781571b0f4162504b4c712ce2' 31 | 'b11b1675ff662f4c925800075e9869d7276bd4e345f2681a36b798b9520adb6844c12d8c7cb64dc8695224fe44722ba175b82c318ceb68455cb44f7ccdcbc515' 32 | 'f9aaf40e00057db27149256c36c5eef89506214d4d2fb91f4526d9371263583a3da9a6838ec057c94aad16e4756a50be0bd5a705d89c7cc9dff8612ada018e13' 33 | '07ab8692aebc4aa7b18d27cbc486955cfb061f07911197bcce3a262014efc45f3cd6e490a84eb09809eabe3976062d29fa8ed5d318f8775f27ec4bd891bf9602') 34 | 35 | prepare() { 36 | patch -p1 -i ../0001-vala-build-fix.patch 37 | patch -p1 -i ../0002-Remove-code-depending-on-accountsservices-patch.patch 38 | patch -p1 -i ../0003-Remove-unavailable-DBus-method-activate_input_source.patch 39 | patch -p1 -i ../0004-Remove-unavailable-DBus-method-xkeyboard-layouts.patch 40 | patch -p1 -i ../0005-Spawn-ibus-daemon-at-startup.patch 41 | patch -p1 -i ../0006-Remove-url-dispatcher-dependency.patch 42 | 43 | intltoolize -f 44 | autoreconf -vfi 45 | } 46 | 47 | build() { 48 | ./configure --prefix=/usr --libexecdir=/usr/lib 49 | make 50 | } 51 | 52 | package() { 53 | make DESTDIR="${pkgdir}/" install 54 | 55 | rm -rv "${pkgdir}"/usr/share/upstart/ 56 | } 57 | -------------------------------------------------------------------------------- /indicator-messages/0001-autoconf-fix.patch: -------------------------------------------------------------------------------- 1 | From e5701bb817321555b2da56eec45ecb953f47fd50 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Sun, 15 Mar 2015 17:52:14 -0400 4 | Subject: [PATCH 1/2] autoconf fix 5 | 6 | --- 7 | configure.ac | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/configure.ac b/configure.ac 11 | index b9c8800..bf751ba 100644 12 | --- a/configure.ac 13 | +++ b/configure.ac 14 | @@ -3,7 +3,7 @@ AC_INIT(indicator-messages, 12.10.5) 15 | 16 | AC_PREREQ(2.62) 17 | 18 | -AM_CONFIG_HEADER(config.h) 19 | +AC_CONFIG_HEADERS(config.h) 20 | AM_INIT_AUTOMAKE([check-news]) 21 | 22 | AM_MAINTAINER_MODE 23 | -- 24 | 2.3.3 25 | 26 | -------------------------------------------------------------------------------- /indicator-messages/0002-Disable-tests.patch: -------------------------------------------------------------------------------- 1 | From 8d311e61e56487562c32a132f2ba7cda38ed5066 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Sun, 15 Mar 2015 17:52:51 -0400 4 | Subject: [PATCH 2/2] Disable tests 5 | 6 | --- 7 | configure.ac | 2 -- 8 | 1 file changed, 2 deletions(-) 9 | 10 | diff --git a/configure.ac b/configure.ac 11 | index bf751ba..faeb72e 100644 12 | --- a/configure.ac 13 | +++ b/configure.ac 14 | @@ -48,8 +48,6 @@ PKG_CHECK_MODULES(APPLET, gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION 15 | 16 | PKG_CHECK_MODULES(GIO, gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION) 17 | 18 | -PKG_CHECK_MODULES(DBUSTEST, dbustest-1) 19 | - 20 | AC_SUBST(APPLET_CFLAGS) 21 | AC_SUBST(APPLET_LIBS) 22 | 23 | -- 24 | 2.3.3 25 | 26 | -------------------------------------------------------------------------------- /indicator-messages/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Original Maintainer: György Balló 3 | # Contributor: thn81 4 | 5 | # vercheck-pkgbuild: auto 6 | # vercheck-ubuntu: name=${pkgname}, repo=zesty 7 | # vercheck-launchpad: name=${pkgname} 8 | 9 | pkgname=indicator-messages 10 | _actual_ver=13.10.1 11 | _extra_ver=+17.04.20161021 12 | pkgver=${_actual_ver}${_extra_ver/+/.} 13 | pkgrel=2 14 | epoch=1 15 | pkgdesc="A place on the user's desktop that collects messages that need a response" 16 | arch=(i686 x86_64) 17 | url="https://launchpad.net/indicator-messages" 18 | license=(GPL) 19 | depends=(accountsservice hicolor-icon-theme libindicator-gtk3) 20 | makedepends=(gobject-introspection gtk-doc intltool vala) 21 | groups=(unity) 22 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/indicator-messages_${_actual_ver}${_extra_ver}.orig.tar.gz" 23 | 0001-autoconf-fix.patch 24 | 0002-Disable-tests.patch) 25 | sha512sums=('0ce216c5edab2cd91c34e78c1d0f7a31cbf9e78af6043fc06154db27124061b51415c5fc1215d96625de3c32ed2850505863229a44429842bc1bbd73b07bd3aa' 26 | '2774bcdf64bb3723f674a8d9d10186b6c63e2adbf83b8300f44cf9a199da538b3e058a0c1b3f85eba64b18f03d3fc63424e3c23147811d16c1a7a09bef235d1c' 27 | '00e4aed73c5a95500c450bbdd6217bcd904df38272577eb9c496d3a19f030f4feb8346a073b9331122ff408b56c5d1e9ea99745cf56a54d6710d33aade881e2f') 28 | 29 | prepare() { 30 | patch -p1 -i 0001-autoconf-fix.patch 31 | patch -p1 -i 0002-Disable-tests.patch 32 | 33 | gtkdocize 34 | intltoolize -f 35 | autoreconf -vfi 36 | } 37 | 38 | build() { 39 | ./configure --prefix=/usr --libexecdir=/usr/lib --disable-static 40 | make 41 | } 42 | 43 | package() { 44 | make DESTDIR="${pkgdir}/" install 45 | 46 | rm -rv "${pkgdir}"/usr/share/upstart/ 47 | } 48 | -------------------------------------------------------------------------------- /indicator-power/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | 3 | # vercheck-pkgbuild: auto 4 | # vercheck-ubuntu: name=${pkgname}, repo=zesty 5 | # vercheck-launchpad: name=${pkgname} 6 | 7 | pkgname=indicator-power 8 | _actual_ver=12.10.6 9 | _extra_ver=+17.04.20161021 10 | pkgver=${_actual_ver}${_extra_ver/\+/.} 11 | pkgrel=2 12 | epoch=1 13 | pkgdesc="An indicator to show the power status of your devices" 14 | arch=(i686 x86_64) 15 | url="https://launchpad.net/indicator-power" 16 | license=(GPL) 17 | depends=(dconf libnotify upower unity-control-center) 18 | makedepends=(cmake intltool python2) 19 | groups=(unity) 20 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/indicator-power_${_actual_ver}${_extra_ver}.orig.tar.gz" 21 | 0001-Not-a-phone.patch) 22 | sha512sums=('29027e5f6ce1ce83f0bff8042cfc45e935124d320e73b901a46cb275b67550a88396616948a38a5da52a58ec814bedd6adc2e1b3927fa46a61347cd49e559db2' 23 | 'f7dc02d696025d28a2dcd1773e996b5b8303de63de6f3e4653f75494ca363d2b76ef4cb9debb2cc20f4a9a27a7957d1ff0110a0d5d1e0635f03b5d4a02272cd0') 24 | 25 | prepare() { 26 | patch -p1 -i 0001-Not-a-phone.patch 27 | 28 | sed -ie '/NotShowIn=/d' data/indicator-power.desktop.in 29 | } 30 | 31 | build() { 32 | export CFLAGS+=" -Wno-error" 33 | 34 | rm -rf build; mkdir build; cd build 35 | cmake .. \ 36 | -DCMAKE_INSTALL_PREFIX=/usr \ 37 | -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib \ 38 | -Denable_tests=OFF 39 | make 40 | } 41 | 42 | package() { 43 | cd build 44 | 45 | make DESTDIR="${pkgdir}/" install 46 | 47 | find "${pkgdir}" -type f -name '*.a' -delete 48 | 49 | rm -rv "${pkgdir}"/usr/share/upstart/ 50 | } 51 | -------------------------------------------------------------------------------- /indicator-printers/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | 3 | # vercheck-pkgbuild: auto 4 | # vercheck-ubuntu: name=${pkgname}, repo=zesty 5 | # vercheck-launchpad: name=${pkgname} 6 | 7 | pkgname=indicator-printers 8 | _ubuntu_rel=0ubuntu1 9 | _actual_ver=0.1.7 10 | _extra_ver=+17.04.20161026 11 | pkgver=${_actual_ver}${_extra_ver/\+/.} 12 | pkgrel=4 13 | epoch=1 14 | pkgdesc="Indicator showing active print jobs" 15 | arch=(i686 x86_64) 16 | url="https://launchpad.net/indicator-printers" 17 | license=(GPL) 18 | groups=(unity) 19 | depends=(cups libdbusmenu-glib libdbusmenu-gtk3 libindicator-gtk3) 20 | makedepends=(intltool python2) 21 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/indicator-printers_${_actual_ver}${_extra_ver}.orig.tar.gz" 22 | "https://launchpad.net/ubuntu/+archive/primary/+files/indicator-printers_${_actual_ver}${_extra_ver}-${_ubuntu_rel}.diff.gz") 23 | sha512sums=('5f97e901997bae523c29b96606451afeecbedc92c69047f194acaa508ece02fcabbfa17b6adaf5f6b81c789f85eb7fb06e179c74ce67405a13d42d7f6af8e4c3' 24 | 'bae6e7a4515aaa94a24e08e3ba7d8a695f589d443300d214549e12452731e960de29ac77969304277e2c8feb73d788772af13828d514994dd786d5f2c9accd60') 25 | 26 | prepare() { 27 | # Apply Ubuntu's patches 28 | patch -p1 -i indicator-printers_${_actual_ver}${_extra_ver}-${_ubuntu_rel}.diff 29 | 30 | sed -i '/SERVICE_LIBS/ i SERVICE_LIBS+=" "' configure.ac 31 | 32 | NOCONFIGURE=1 ./autogen.sh 33 | } 34 | 35 | build() { 36 | ./configure --prefix=/usr --libexecdir=/usr/lib --disable-static 37 | make 38 | } 39 | 40 | package() { 41 | make DESTDIR="${pkgdir}/" install 42 | 43 | install -dm755 "${pkgdir}"/usr/share/icons/ 44 | cp -r debian/local/* "${pkgdir}"/usr/share/icons/ 45 | 46 | rm -rv "${pkgdir}"/usr/share/upstart/ 47 | } 48 | -------------------------------------------------------------------------------- /indicator-printers/Remove_g_strv_contains.patch: -------------------------------------------------------------------------------- 1 | diff -Nru indicator-printers-0.1.7+14.10.20140527/src/indicator-printer-state-notifier.c indicator-printers-0.1.7+15.04.20150220/src/indicator-printer-state-notifier.c 2 | --- indicator-printers-0.1.7+14.10.20140527/src/indicator-printer-state-notifier.c 2014-05-27 14:05:46.000000000 +0000 3 | +++ indicator-printers-0.1.7+15.04.20150220/src/indicator-printer-state-notifier.c 2015-02-20 10:27:28.000000000 +0000 4 | @@ -72,24 +72,6 @@ 5 | } 6 | 7 | 8 | -static gboolean 9 | -g_strv_contains (gchar **str_array, 10 | - gchar *needle) 11 | -{ 12 | - gchar **str; 13 | - 14 | - if (!str_array) 15 | - return FALSE; 16 | - 17 | - for (str = str_array; *str; str++) { 18 | - if (!strcmp (*str, needle)) 19 | - return TRUE; 20 | - } 21 | - 22 | - return FALSE; 23 | -} 24 | - 25 | - 26 | /* returns a list of strings that are in a but not in b; does not copy the 27 | * strings */ 28 | static GList * 29 | @@ -103,7 +85,7 @@ 30 | return NULL; 31 | 32 | for (p = a; *p; p++) { 33 | - if (!g_strv_contains (b, *p)) 34 | + if (!g_strv_contains ((const gchar * const *) b, *p)) 35 | result = g_list_prepend (result, *p); 36 | } 37 | 38 | -------------------------------------------------------------------------------- /indicator-session/0001-There-is-no-help.patch: -------------------------------------------------------------------------------- 1 | From ec67d4d2a1f6252f952234aaf8cf6db62a8a3e0a Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Sat, 9 Aug 2014 15:17:45 -0400 4 | Subject: [PATCH 1/3] There is no help 5 | 6 | --- 7 | src/service.c | 12 ------------ 8 | tests/test-service.cc | 6 ------ 9 | 2 files changed, 18 deletions(-) 10 | 11 | diff --git a/src/service.c b/src/service.c 12 | index 8be7241..96790a4 100644 13 | --- a/src/service.c 14 | +++ b/src/service.c 15 | @@ -455,15 +455,12 @@ create_admin_section (IndicatorSessionService * self) 16 | { 17 | GMenu * menu; 18 | priv_t * p = self->priv; 19 | - gchar * help_label = g_strdup_printf(_("%s Help…"), get_distro_name()); 20 | menu = g_menu_new (); 21 | if (g_getenv ("MIR_SOCKET") != NULL) { 22 | g_menu_append (menu, _("About This Device…"), "indicator.about"); 23 | } else { 24 | g_menu_append (menu, _("About This Computer"), "indicator.about"); 25 | } 26 | - g_menu_append (menu, help_label, "indicator.help"); 27 | - g_free (help_label); 28 | 29 | if (p->usage_mode_action && g_getenv ("MIR_SOCKET") != NULL) // only under unity8 30 | { 31 | @@ -930,14 +927,6 @@ on_online_accounts_activated (GSimpleAction * a G_GNUC_UNUSED, 32 | } 33 | 34 | static void 35 | -on_help_activated (GSimpleAction * a G_GNUC_UNUSED, 36 | - GVariant * param G_GNUC_UNUSED, 37 | - gpointer gself) 38 | -{ 39 | - indicator_session_actions_help (get_backend_actions(gself)); 40 | -} 41 | - 42 | -static void 43 | on_settings_activated (GSimpleAction * a G_GNUC_UNUSED, 44 | GVariant * param G_GNUC_UNUSED, 45 | gpointer gself) 46 | @@ -1028,7 +1017,6 @@ init_gactions (IndicatorSessionService * self) 47 | 48 | GActionEntry entries[] = { 49 | { "about", on_about_activated }, 50 | - { "help", on_help_activated }, 51 | { "hibernate", on_hibernate_activated }, 52 | { "logout", on_logout_activated }, 53 | { "online-accounts", on_online_accounts_activated }, 54 | diff --git a/tests/test-service.cc b/tests/test-service.cc 55 | index 9ee7236..5885cc8 100644 56 | --- a/tests/test-service.cc 57 | +++ b/tests/test-service.cc 58 | @@ -383,11 +383,6 @@ TEST_F (ServiceTest, About) 59 | test_simple_action ("about"); 60 | } 61 | 62 | -TEST_F (ServiceTest, Help) 63 | -{ 64 | - test_simple_action ("help"); 65 | -} 66 | - 67 | TEST_F (ServiceTest, Hibernate) 68 | { 69 | test_simple_action ("hibernate"); 70 | @@ -693,7 +688,6 @@ TEST_F (ServiceTest, LockdownUserSwitchingAndLockScreen) 71 | TEST_F (ServiceTest, DefaultMenuItems) 72 | { 73 | ASSERT_TRUE (find_menu_item_for_action ("indicator.about", NULL, NULL)); 74 | - ASSERT_TRUE (find_menu_item_for_action ("indicator.help", NULL, NULL)); 75 | ASSERT_TRUE (find_menu_item_for_action ("indicator.settings", NULL, NULL)); 76 | ASSERT_TRUE (find_menu_item_for_action ("indicator.switch-to-screensaver", NULL, NULL)); 77 | ASSERT_TRUE (find_menu_item_for_action ("indicator.switch-to-guest", NULL, NULL)); 78 | -- 79 | 2.10.2 80 | 81 | -------------------------------------------------------------------------------- /indicator-session/0002-Remove-url-dispatcher-dependency.patch: -------------------------------------------------------------------------------- 1 | From f50568d56222734ed2a2f601d00dc2de12228687 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Mon, 25 Jan 2016 12:53:01 -0500 4 | Subject: [PATCH 2/3] Remove url-dispatcher dependency 5 | 6 | --- 7 | CMakeLists.txt | 1 - 8 | src/backend-dbus/actions.c | 15 ++++----------- 9 | 2 files changed, 4 insertions(+), 12 deletions(-) 10 | 11 | diff --git a/CMakeLists.txt b/CMakeLists.txt 12 | index cb87195..6c0be0c 100644 13 | --- a/CMakeLists.txt 14 | +++ b/CMakeLists.txt 15 | @@ -30,7 +30,6 @@ include (FindPkgConfig) 16 | pkg_check_modules (SERVICE REQUIRED 17 | glib-2.0>=2.36 18 | gio-unix-2.0>=2.36 19 | - url-dispatcher-1>=1 20 | libwhoopsie) 21 | include_directories(SYSTEM ${SERVICE_INCLUDE_DIRS}) 22 | 23 | diff --git a/src/backend-dbus/actions.c b/src/backend-dbus/actions.c 24 | index 06dd2bd..0c54e12 100644 25 | --- a/src/backend-dbus/actions.c 26 | +++ b/src/backend-dbus/actions.c 27 | @@ -19,7 +19,6 @@ 28 | 29 | #include 30 | #include 31 | -#include 32 | 33 | #include "dbus-end-session-dialog.h" 34 | #include "dbus-login1-manager.h" 35 | @@ -832,7 +831,7 @@ static void 36 | my_help (IndicatorSessionActions * self G_GNUC_UNUSED) 37 | { 38 | if (g_getenv ("MIR_SOCKET") != NULL) 39 | - url_dispatch_send("http://www.askubuntu.com", NULL, NULL); 40 | + {} 41 | else 42 | run_outside_app ("yelp"); 43 | } 44 | @@ -872,9 +871,7 @@ have_unity_control_center (void) 45 | static void 46 | my_settings (IndicatorSessionActions * self G_GNUC_UNUSED) 47 | { 48 | - if (g_getenv ("MIR_SOCKET") != NULL) 49 | - url_dispatch_send("settings:///system", NULL, NULL); 50 | - else if (have_unity_control_center ()) 51 | + if (have_unity_control_center ()) 52 | run_outside_app ("unity-control-center"); 53 | else 54 | run_outside_app ("gnome-control-center"); 55 | @@ -883,9 +880,7 @@ my_settings (IndicatorSessionActions * self G_GNUC_UNUSED) 56 | static void 57 | my_online_accounts (IndicatorSessionActions * self G_GNUC_UNUSED) 58 | { 59 | - if (g_getenv ("MIR_SOCKET") != NULL) 60 | - url_dispatch_send("settings:///system/online-accounts", NULL, NULL); 61 | - else if (have_unity_control_center ()) 62 | + if (have_unity_control_center ()) 63 | run_outside_app ("unity-control-center credentials"); 64 | else 65 | run_outside_app ("gnome-control-center credentials"); 66 | @@ -894,9 +889,7 @@ my_online_accounts (IndicatorSessionActions * self G_GNUC_UNUSED) 67 | static void 68 | my_about (IndicatorSessionActions * self G_GNUC_UNUSED) 69 | { 70 | - if (g_getenv ("MIR_SOCKET") != NULL) 71 | - url_dispatch_send("settings:///system/about", NULL, NULL); 72 | - else if (have_unity_control_center ()) 73 | + if (have_unity_control_center ()) 74 | run_outside_app ("unity-control-center info"); 75 | else 76 | run_outside_app ("gnome-control-center info"); 77 | -- 78 | 2.10.2 79 | 80 | -------------------------------------------------------------------------------- /indicator-session/0003-Remove-libwhoopsie-dependency.patch: -------------------------------------------------------------------------------- 1 | From 3d4d2927e2d4eb93ca0069fb91bcb047ad8f06ae Mon Sep 17 00:00:00 2001 2 | From: Andrew Gunnerson 3 | Date: Sat, 26 Nov 2016 18:48:03 -0500 4 | Subject: [PATCH 3/3] Remove libwhoopsie dependency 5 | 6 | --- 7 | CMakeLists.txt | 3 +-- 8 | src/service.c | 4 ---- 9 | 2 files changed, 1 insertion(+), 6 deletions(-) 10 | 11 | diff --git a/CMakeLists.txt b/CMakeLists.txt 12 | index 6c0be0c..87ab985 100644 13 | --- a/CMakeLists.txt 14 | +++ b/CMakeLists.txt 15 | @@ -29,8 +29,7 @@ find_package (PkgConfig REQUIRED) 16 | include (FindPkgConfig) 17 | pkg_check_modules (SERVICE REQUIRED 18 | glib-2.0>=2.36 19 | - gio-unix-2.0>=2.36 20 | - libwhoopsie) 21 | + gio-unix-2.0>=2.36) 22 | include_directories(SYSTEM ${SERVICE_INCLUDE_DIRS}) 23 | 24 | set (CC_WARNING_ARGS " -Wall -pedantic -Wextra -Wno-missing-field-initializers") 25 | diff --git a/src/service.c b/src/service.c 26 | index 96790a4..d39ff50 100644 27 | --- a/src/service.c 28 | +++ b/src/service.c 29 | @@ -20,8 +20,6 @@ 30 | #include 31 | #include 32 | 33 | -#include 34 | - 35 | #include "backend.h" 36 | #include "service.h" 37 | 38 | @@ -648,8 +646,6 @@ report_unusable_user (IndicatorSessionService * self, const IndicatorSessionUser 39 | NULL 40 | }; 41 | 42 | - whoopsie_report_recoverable_problem("indicator-session-unknown-user-error", 0, FALSE, properties); 43 | - 44 | /* mark it as reported so that we'll only report it once */ 45 | g_hash_table_add (p->reported_users, key); 46 | 47 | -- 48 | 2.10.2 49 | 50 | -------------------------------------------------------------------------------- /indicator-session/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Original Maintainer: György Balló 3 | # Contributor: thn81 4 | 5 | # vercheck-pkgbuild: auto 6 | # vercheck-ubuntu: name=${pkgname}, repo=zesty 7 | # vercheck-launchpad: name=${pkgname} 8 | 9 | pkgname=indicator-session 10 | _actual_ver=12.10.5 11 | _extra_ver=+17.04.20161114 12 | pkgver=${_actual_ver}${_extra_ver/\+/.} 13 | pkgrel=1 14 | epoch=1 15 | pkgdesc="Indicator showing session management, status and user switching" 16 | arch=(i686 x86_64) 17 | url="https://launchpad.net/indicator-session" 18 | license=(GPL) 19 | depends=(gnome-settings-daemon) 20 | makedepends=(cmake intltool python2) 21 | optdepends=('lightdm: support for lightdm') 22 | groups=(unity) 23 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/indicator-session_${_actual_ver}${_extra_ver}.orig.tar.gz" 24 | 0001-There-is-no-help.patch 25 | 0002-Remove-url-dispatcher-dependency.patch 26 | 0003-Remove-libwhoopsie-dependency.patch) 27 | sha512sums=('6ca52336c1f48df04beb20b2b37e53d1f9554a8ac08ab967da1e76ef170c42b00b7024e5a3769d6832e5abf12b762edc569e5ecd54761d073f2d39151fa47e9f' 28 | '96abc04783bd66affd976c3dd4ddeaedff244170b17c6a570b15bb30984b2a659c933e01fe28b3acc019a0dcd025c4035d1bf2d0b6c111f054bdb110029e5e05' 29 | '2814334e66b44b2cc8db91ca72dbd2ac108f1a0b3e3770f3ada5ead83b65560e2c09e4168a405f4b3dc17c259b228668175526980deb1163e3ba359ca2d09a5a' 30 | 'fa069cf23804fbc29e01435c53619d95c755b0d3a674f90e7713d34ec70d92a9ef9e9cc8e2d4e1b2521580cf7f8d9a2961510de07a979ec1ba43bab98211e3b2') 31 | 32 | prepare() { 33 | patch -p1 -i ../0001-There-is-no-help.patch 34 | patch -p1 -i ../0002-Remove-url-dispatcher-dependency.patch 35 | patch -p1 -i ../0003-Remove-libwhoopsie-dependency.patch 36 | } 37 | 38 | build() { 39 | mkdir build && cd build 40 | cmake .. \ 41 | -DCMAKE_INSTALL_PREFIX=/usr \ 42 | -DCMAKE_INSTALL_LIBEXECDIR=lib \ 43 | -Denable_tests=OFF \ 44 | -Denable_lcov=OFF 45 | 46 | make 47 | } 48 | 49 | package() { 50 | cd build 51 | 52 | make DESTDIR="${pkgdir}/" install 53 | 54 | rm -vf "${pkgdir}/test-service" 55 | 56 | # Use language packs 57 | rm -r "${pkgdir}/usr/share/locale/" 58 | 59 | rm -rv "${pkgdir}"/usr/share/upstart/ 60 | } 61 | -------------------------------------------------------------------------------- /indicator-sound/0001-Not-running-on-Ubuntu-Touch.patch: -------------------------------------------------------------------------------- 1 | From 895dfe600dbca873c25c5335a933d5b906f80add Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Tue, 28 Oct 2014 23:19:24 -0400 4 | Subject: [PATCH 1/2] Not running on Ubuntu Touch 5 | 6 | --- 7 | CMakeLists.txt | 2 -- 8 | src/CMakeLists.txt | 1 - 9 | src/service.vala | 7 ------- 10 | vapi/url-dispatcher.vapi | 9 --------- 11 | 4 files changed, 19 deletions(-) 12 | delete mode 100644 vapi/url-dispatcher.vapi 13 | 14 | diff --git a/CMakeLists.txt b/CMakeLists.txt 15 | index 16ef27f..65d6aab 100644 16 | --- a/CMakeLists.txt 17 | +++ b/CMakeLists.txt 18 | @@ -26,14 +26,12 @@ set(SOURCE_BINARY_DIR "${CMAKE_BINARY_DIR}/src") 19 | set(PULSE_AUDIO_REQUIRED_VERSION 0.9.19) 20 | set(GLIB_2_0_REQUIRED_VERSION 2.32) 21 | set(GIO_2_0_REQUIRED_VERSION 2.25.13) 22 | -set(URL_DISPATCHER_1_REQUIRED_VERSION 1) 23 | 24 | pkg_check_modules( 25 | PULSEAUDIO REQUIRED 26 | libpulse-mainloop-glib>=${PULSE_AUDIO_REQUIRED_VERSION} 27 | glib-2.0>=${GLIB_2_0_REQUIRED_VERSION} 28 | gio-unix-2.0>=${GIO_2_0_REQUIRED_VERSION} 29 | - url-dispatcher-1>=${URL_DISPATCHER_1_REQUIRED_VERSION} 30 | ) 31 | include_directories(${PULSEAUDIO_INCLUDE_DIRS}) 32 | 33 | diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt 34 | index 57bf539..6aad365 100644 35 | --- a/src/CMakeLists.txt 36 | +++ b/src/CMakeLists.txt 37 | @@ -35,7 +35,6 @@ vala_init(indicator-sound-service 38 | --target-glib=${GLIB_2_0_REQUIRED_VERSION} 39 | --vapidir=${CMAKE_SOURCE_DIR}/vapi/ 40 | --vapidir=. 41 | - --pkg=url-dispatcher 42 | --pkg=bus-watcher 43 | ) 44 | 45 | diff --git a/src/service.vala b/src/service.vala 46 | index 29b8670..2dec964 100644 47 | --- a/src/service.vala 48 | +++ b/src/service.vala 49 | @@ -214,12 +214,6 @@ public class IndicatorSound.Service: Object { 50 | unowned string env = Environment.get_variable ("DESKTOP_SESSION"); 51 | string cmd; 52 | 53 | - if (Environment.get_variable ("MIR_SOCKET") != null) 54 | - { 55 | - UrlDispatch.send ("settings:///system/sound"); 56 | - return; 57 | - } 58 | - 59 | if (env == "xubuntu" || env == "ubuntustudio") 60 | cmd = "pavucontrol"; 61 | else if (env == "mate") 62 | @@ -240,7 +234,6 @@ public class IndicatorSound.Service: Object { 63 | } 64 | 65 | void activate_phone_settings (SimpleAction action, Variant? param) { 66 | - UrlDispatch.send ("settings:///system/sound"); 67 | } 68 | 69 | /* Returns a serialized version of @icon_name suited for the panel */ 70 | diff --git a/vapi/url-dispatcher.vapi b/vapi/url-dispatcher.vapi 71 | deleted file mode 100644 72 | index 88f7740..0000000 73 | --- a/vapi/url-dispatcher.vapi 74 | +++ /dev/null 75 | @@ -1,9 +0,0 @@ 76 | -[CCode (cprefix="", lower_case_cprefix="", cheader_filename="liburl-dispatcher-1/url-dispatcher.h")] 77 | - 78 | -namespace UrlDispatch 79 | -{ 80 | - public delegate void DispatchCallback (); 81 | - 82 | - [CCode (cname = "url_dispatch_send")] 83 | - public static void send (string url, DispatchCallback? func = null); 84 | -} 85 | -- 86 | 2.7.0 87 | 88 | -------------------------------------------------------------------------------- /indicator-sound/0002-Remove-tests.patch: -------------------------------------------------------------------------------- 1 | From 1c81208c8cca082c4dc4017e9f167ec87699d195 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Tue, 28 Oct 2014 23:19:51 -0400 4 | Subject: [PATCH 2/2] Remove tests 5 | 6 | --- 7 | CMakeLists.txt | 15 --------------- 8 | 1 file changed, 15 deletions(-) 9 | 10 | diff --git a/CMakeLists.txt b/CMakeLists.txt 11 | index 65d6aab..b17ea99 100644 12 | --- a/CMakeLists.txt 13 | +++ b/CMakeLists.txt 14 | @@ -47,12 +47,6 @@ pkg_check_modules( 15 | ) 16 | include_directories(${SOUNDSERVICE_INCLUDE_DIRS}) 17 | 18 | -pkg_check_modules( 19 | - TEST REQUIRED 20 | - dbustest-1>=15.04.0 21 | -) 22 | -include_directories(${TEST_INCLUDE_DIRS}) 23 | - 24 | find_package(Vala 0.20) 25 | 26 | find_package(GObjectIntrospection 0.9.12) 27 | @@ -74,12 +68,3 @@ configure_file( 28 | 29 | add_subdirectory(data) 30 | add_subdirectory(src) 31 | - 32 | -enable_testing() 33 | - 34 | -set (GTEST_SOURCE_DIR /usr/src/gtest/src) 35 | -set (GTEST_INCLUDE_DIR ${GTEST_SOURCE_DIR}/..) 36 | -set (GTEST_LIBS -lpthread) 37 | - 38 | -add_subdirectory(tests) 39 | - 40 | -- 41 | 2.7.0 42 | 43 | -------------------------------------------------------------------------------- /indicator-sound/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Original Maintainer: Balló György 3 | # Contributor: thn81 4 | 5 | # vercheck-pkgbuild: auto 6 | # vercheck-ubuntu: name=${pkgname}, repo=zesty 7 | # vercheck-launchpad: name=${pkgname} 8 | 9 | pkgname=indicator-sound 10 | _actual_ver=12.10.2 11 | _extra_ver=+17.04.20161021 12 | pkgver=${_actual_ver}${_extra_ver/\+/.} 13 | pkgrel=2 14 | epoch=1 15 | pkgdesc="A unified sound menu" 16 | arch=(i686 x86_64) 17 | url="https://launchpad.net/indicator-sound" 18 | license=(GPL) 19 | depends=(accountsservice dconf gsettings-ubuntu-schemas libgee libnotify 20 | libpulse libxml2 pulseaudio qt5-base unity-api unity-control-center) 21 | makedepends=(cmake gobject-introspection intltool vala) 22 | groups=(unity) 23 | options=(!emptydirs) 24 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/indicator-sound_${_actual_ver}${_extra_ver}.orig.tar.gz" 25 | 0001-Not-running-on-Ubuntu-Touch.patch 26 | 0002-Remove-tests.patch) 27 | sha512sums=('c6e0c3854af9044fe4cfa2af9a67890b5803e9d55996a47d27334c1da4622a2adb11ba257cdca9f1525f476c19fd64f21f01cebd87118dc4866616da78171c99' 28 | '3c57829cd55b1aea14b5bc2f66e8b015d28ccdd8a7d56c5d445efb61d149a49159e6be0c267d8eded5884d53361705373837cfe789d39ced9d262a5fa630491f' 29 | 'a2c8b9f23419c8554a38ac6e3128841e38d15e6ca2f1c70a28a01546ca61090059304974a2d5d8ed5e7c9cc68a2762c6b856d575bae3d74e81b45c0b13e517ce') 30 | 31 | prepare() { 32 | patch -p1 -i ../0001-Not-running-on-Ubuntu-Touch.patch 33 | patch -p1 -i ../0002-Remove-tests.patch 34 | } 35 | 36 | build() { 37 | [[ -d build ]] || mkdir build 38 | pushd build 39 | cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBEXECDIR=lib 40 | make 41 | popd 42 | } 43 | 44 | package() { 45 | cd build 46 | 47 | make DESTDIR="${pkgdir}/" install 48 | 49 | rm -v "${pkgdir}"/usr/var/lib/polkit-1/localauthority/10-vendor.d/50-com.canonical.indicator.sound.AccountsService.pkla 50 | 51 | rm -rv "${pkgdir}"/usr/share/upstart/ 52 | } 53 | -------------------------------------------------------------------------------- /libappindicator/0001-Glib.Timeout-fix.patch: -------------------------------------------------------------------------------- 1 | From f949448c898b2428e146d18e0821fa242a7099f6 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Tue, 7 Oct 2014 17:21:42 -0400 4 | Subject: [PATCH 1/3] Glib.Timeout fix 5 | 6 | --- 7 | example/simple-client-vala.vala | 3 ++- 8 | 1 file changed, 2 insertions(+), 1 deletion(-) 9 | 10 | diff --git a/example/simple-client-vala.vala b/example/simple-client-vala.vala 11 | index f8cd874..6d8d71b 100644 12 | --- a/example/simple-client-vala.vala 13 | +++ b/example/simple-client-vala.vala 14 | @@ -20,6 +20,7 @@ You should have received a copy of the GNU General Public License along 15 | with this program. If not, see . 16 | */ 17 | 18 | +using GLib; 19 | using Gtk; 20 | using AppIndicator; 21 | 22 | @@ -104,7 +105,7 @@ class SimpleClient { 23 | print(@"Got scroll event! delta: $delta, direction: $direction\n"); 24 | }); 25 | 26 | - Timeout.add_seconds(1, () => { 27 | + GLib.Timeout.add_seconds(1, () => { 28 | percentage = (percentage + 1) % 100; 29 | if (can_haz_label) { 30 | ci.set_label(@"$(percentage+1)%", ""); 31 | -- 32 | 2.1.2 33 | 34 | -------------------------------------------------------------------------------- /libappindicator/0002-Fix-mono-nunit-pkgconfig-name.patch: -------------------------------------------------------------------------------- 1 | From 72de73f8d90fa54b884086dddf3b06a1d14b9e59 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Tue, 7 Oct 2014 17:22:16 -0400 4 | Subject: [PATCH 2/3] Fix mono-nunit pkgconfig name 5 | 6 | --- 7 | configure.ac | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/configure.ac b/configure.ac 11 | index d131c9e..c8e480f 100644 12 | --- a/configure.ac 13 | +++ b/configure.ac 14 | @@ -160,7 +160,7 @@ AC_ARG_ENABLE([mono-test], 15 | [enable_mono_test=auto]) 16 | 17 | if test x"$enable_mono_test" != x"no" ; then 18 | - PKG_CHECK_MODULES(NUNIT, nunit >= 2.4.7, 19 | + PKG_CHECK_MODULES(NUNIT, mono-nunit >= 2.4.7, 20 | [have_nunit=yes], 21 | [PKG_CHECK_MODULES(MONO_NUNIT, mono-nunit, 22 | [have_nunit=yes], 23 | -- 24 | 2.1.2 25 | 26 | -------------------------------------------------------------------------------- /libappindicator/0003-Fix-Mono-assemblies-directory.patch: -------------------------------------------------------------------------------- 1 | From c31b285b856fdf4a131baab5e0a2397a375ac24f Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Tue, 7 Oct 2014 17:23:43 -0400 4 | Subject: [PATCH 3/3] Fix Mono assemblies directory 5 | 6 | --- 7 | bindings/mono/Makefile.am | 2 +- 8 | bindings/mono/appindicator-sharp-0.1.pc.in | 2 +- 9 | 2 files changed, 2 insertions(+), 2 deletions(-) 10 | 11 | diff --git a/bindings/mono/Makefile.am b/bindings/mono/Makefile.am 12 | index 6f8e8a9..e1bd6e5 100644 13 | --- a/bindings/mono/Makefile.am 14 | +++ b/bindings/mono/Makefile.am 15 | @@ -31,7 +31,7 @@ TARGET = \ 16 | $(DLLPOLICY1) \ 17 | $(POLICY1).config 18 | 19 | -assemblydir = $(libdir)/cli/appindicator-sharp-0.1 20 | +assemblydir = $(libdir)/appindicator-sharp-0.1 21 | assembly_DATA = $(TARGET) 22 | 23 | CLEANFILES = \ 24 | diff --git a/bindings/mono/appindicator-sharp-0.1.pc.in b/bindings/mono/appindicator-sharp-0.1.pc.in 25 | index f63c01e..ca09a6d 100644 26 | --- a/bindings/mono/appindicator-sharp-0.1.pc.in 27 | +++ b/bindings/mono/appindicator-sharp-0.1.pc.in 28 | @@ -1,7 +1,7 @@ 29 | prefix=@prefix@ 30 | exec_prefix=@exec_prefix@ 31 | libdir=@libdir@ 32 | -assemblies_dir=${prefix}/lib/cli/appindicator-sharp-0.1 33 | +assemblies_dir=${prefix}/lib/appindicator-sharp-0.1 34 | 35 | Name: appindicator-sharp 36 | Description: application indicators for .NET 37 | -- 38 | 2.1.2 39 | 40 | -------------------------------------------------------------------------------- /libappindicator/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Original Maintainer: György Balló 3 | # Contributor: thn81 4 | 5 | # vercheck-pkgbuild: auto 6 | # vercheck-ubuntu: name=${pkgbase}, repo=yakkety 7 | # vercheck-launchpad: name=${pkgbase} 8 | 9 | pkgbase=libappindicator 10 | pkgname=(libappindicator-gtk2 libappindicator-gtk3) 11 | _actual_ver=12.10.1 12 | _extra_ver=+16.10.20160905 13 | pkgver=${_actual_ver}${_extra_ver/\+/.} 14 | pkgrel=1 15 | epoch=1 16 | pkgdesc="A library to allow applications to export a menu into the Unity Menu bar" 17 | arch=(i686 x86_64) 18 | url="https://launchpad.net/libappindicator" 19 | license=(LGPL) 20 | makedepends=(dbus-glib libindicator-gtk2 libindicator-gtk3 libdbusmenu-gtk2 21 | libdbusmenu-gtk3 gobject-introspection vala gtk-sharp-2 pygtk 22 | perl-xml-libxml gtk-doc) 23 | groups=(unity) 24 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/${pkgbase}_${_actual_ver}${_extra_ver}.orig.tar.gz" 25 | 0001-Glib.Timeout-fix.patch 26 | 0002-Fix-mono-nunit-pkgconfig-name.patch 27 | 0003-Fix-Mono-assemblies-directory.patch) 28 | sha512sums=('96385c9078af9c3ae1eedebce9b7e82414a46fe7602c93843c90c6fc38eb865f8dc2cfce421cc92ad8cd7bf52c6f2e7b11b79a00a88a7644e0e5235ff7e19e75' 29 | 'e717a7e50ec4828bc4ea1701a4f707ddc695e16dfab2487c0e4f2f85ac50d2d215c99450e4191f0e29d402f0b28bf7b71d5cf2321d3b3b27b396a8bf8f3a393b' 30 | 'ea1822c3a09ef4c59d91b267d2ea0d0c9003c04ea0d8d4fb6a73e1b51084faccafbf41d6390a9c0e1326fd3334421539bdbb86a2a5e5022fa96e9d5196ef2d1d' 31 | '22e15f875a636bbbf8b1e80867a219b4b47b334d1bfe759f4ce79bf3665fc63af36b57fddb6c92aa7db148b5ea9ed789e510a9b23d87324b1b48695ad1ca9bc7') 32 | 33 | prepare() { 34 | #cd "${pkgbase}-${_actual_ver}${_extra_ver}" 35 | 36 | patch -p1 -i ../0001-Glib.Timeout-fix.patch 37 | patch -p1 -i ../0002-Fix-mono-nunit-pkgconfig-name.patch 38 | patch -p1 -i ../0003-Fix-Mono-assemblies-directory.patch 39 | } 40 | 41 | build() { 42 | #cd "${pkgbase}-${_actual_ver}${_extra_ver}" 43 | 44 | export CFLAGS+=" -Wno-error=deprecated-declarations" 45 | 46 | gtkdocize 47 | autoreconf -vfi 48 | 49 | [[ -d build-gtk2 ]] || mkdir build-gtk2 50 | pushd build-gtk2 51 | ../configure --prefix=/usr --with-gtk=2 --disable-static \ 52 | PYTHON=python2 CSC=/usr/bin/mcs 53 | make -j1 54 | popd 55 | 56 | [[ -d build-gtk3 ]] || mkdir build-gtk3 57 | pushd build-gtk3 58 | ../configure --prefix=/usr --with-gtk=3 --disable-static \ 59 | PYTHON=python2 CSC=/usr/bin/mcs 60 | make -j1 61 | popd 62 | } 63 | 64 | package_libappindicator-gtk2() { 65 | pkgdesc+=" (GTK+ 2 library)" 66 | depends=(libindicator-gtk2 libdbusmenu-gtk2) 67 | 68 | #cd "${pkgbase}-${_actual_ver}${_extra_ver}/build-gtk2" 69 | cd build-gtk2 70 | 71 | make -j1 DESTDIR="${pkgdir}/" install 72 | } 73 | 74 | package_libappindicator-gtk3() { 75 | pkgdesc+=" (GTK+ 3 library)" 76 | depends=(libindicator-gtk3 libdbusmenu-gtk3) 77 | 78 | #cd "${pkgbase}-${_actual_ver}${_extra_ver}/build-gtk3" 79 | cd build-gtk3 80 | 81 | make -C src DESTDIR="${pkgdir}/" install 82 | make -C bindings/vala DESTDIR="${pkgdir}/" install 83 | } 84 | -------------------------------------------------------------------------------- /libcolumbus/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | 3 | # vercheck-pkgbuild: auto 4 | # vercheck-ubuntu: name=${pkgname}, repo=yakkety 5 | # vercheck-launchpad: name=${pkgname} 6 | 7 | pkgname=libcolumbus 8 | _actual_ver=1.1.0 9 | _extra_ver=+15.10.20150806 10 | pkgver=${_actual_ver}${_extra_ver/+/.} 11 | pkgrel=4 12 | epoch=1 13 | pkgdesc="A small, fast, error tolerant matcher" 14 | arch=(i686 x86_64) 15 | url="https://launchpad.net/libcolumbus" 16 | license=(LGPL) 17 | groups=(unity) 18 | depends=(icu) 19 | makedepends=(boost cmake sparsehash) 20 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/libcolumbus_${_actual_ver}${_extra_ver}.orig.tar.gz") 21 | sha512sums=('72a67115c813ceb575eb237c28eb096232e319524718f8fa4d28dab2fd42bf3eb637366ac829d9fb0999d119413b5259d6802de3beb5dff52983ce80ffe5fe41') 22 | 23 | build() { 24 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 25 | mkdir -p build 26 | cd build 27 | cmake .. \ 28 | -DCMAKE_INSTALL_PREFIX=/usr \ 29 | -DCMAKE_INSTALL_LIBDIR=/usr/lib \ 30 | -DCMAKE_BUILD_TYPE='' 31 | make 32 | } 33 | 34 | package() { 35 | cd "${pkgname}-${_actual_ver}${_extra_ver}/build" 36 | make DESTDIR="${pkgdir}/" install 37 | } 38 | -------------------------------------------------------------------------------- /libdbusmenu-ubuntu/0001_autoconf.patch: -------------------------------------------------------------------------------- 1 | diff -Nru libdbusmenu-12.10.2.orig/configure.ac libdbusmenu-12.10.2/configure.ac 2 | --- libdbusmenu-12.10.2.orig/configure.ac 2013-01-09 15:44:34.554871296 -0500 3 | +++ libdbusmenu-12.10.2/configure.ac 2013-01-09 15:44:45.604812416 -0500 4 | @@ -4,7 +4,7 @@ 5 | 6 | AC_PREREQ(2.62) 7 | 8 | -AM_CONFIG_HEADER(config.h) 9 | +AC_CONFIG_HEADERS(config.h) 10 | AM_INIT_AUTOMAKE(libdbusmenu, 16.04.0, [-Wno-portability]) 11 | 12 | AM_MAINTAINER_MODE 13 | -------------------------------------------------------------------------------- /libdbusmenu-ubuntu/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Original Maintainer: György Balló 3 | # Contributor: thn81 4 | 5 | # vercheck-pkgbuild: auto 6 | # vercheck-ubuntu: name=libdbusmenu, repo=yakkety 7 | # vercheck-launchpad: name=dbusmenu, tarname=libdbusmenu 8 | 9 | pkgbase=libdbusmenu-ubuntu 10 | pkgname=(libdbusmenu-glib-ubuntu libdbusmenu-gtk2-ubuntu libdbusmenu-gtk3-ubuntu) 11 | _actual_ver=16.04.1 12 | _extra_ver=+16.10.20160927.2 13 | pkgver=${_actual_ver}${_extra_ver/\+/.} 14 | pkgrel=1 15 | epoch=1 16 | pkgdesc="A small little library that was created by pulling out some comon code out of indicator-applet" 17 | arch=(i686 x86_64) 18 | url="https://launchpad.net/dbusmenu" 19 | license=(LGPL) 20 | makedepends=(json-glib gtk2 gtk3 intltool gtk-doc gobject-introspection vala 21 | python2 valgrind) 22 | groups=(unity) 23 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/libdbusmenu_${_actual_ver}${_extra_ver}.orig.tar.gz" 24 | 0001_autoconf.patch) 25 | sha512sums=('3f3582ba6a3d83ef4837dd2f253ff525d16dcfa2eb56a4ff2e6ba273bfe60b79b1bba97c4a5661d9a1394e95377e2c63bad762ec5da70512d970fe71c766a08f' 26 | '303eae41659c29a78bd1f24aa7a01b35987049f6213d23fc6ecd5a7e72109d277fd6d443414750274f1fc75cee567285ca8d9d49887e6ab19e36565630fdf08b') 27 | 28 | prepare() { 29 | #cd "libdbusmenu-${_actual_ver}${_extra_ver}" 30 | 31 | patch -p1 -i 0001_autoconf.patch 32 | } 33 | 34 | build() { 35 | #cd "libdbusmenu-${_actual_ver}${_extra_ver}" 36 | 37 | gtkdocize 38 | autoreconf -vfi 39 | intltoolize -f 40 | 41 | # Python2 fix 42 | sed -i 's/^#!.*python$/&2/' tools/dbusmenu-bench 43 | 44 | # libdbusmenu-gtk2 won't install if libdbusmenu-glib is missing 45 | sed -i 's|$(DBUSMENUGTK_CFLAGS)|$(DBUSMENUGTK_CFLAGS) -L../libdbusmenu-glib/.libs|' libdbusmenu-gtk/Makefile.{am,in} 46 | 47 | [[ -d build-gtk2 ]] || mkdir build-gtk2 48 | pushd build-gtk2 49 | ../configure --prefix=/usr --libexecdir=/usr/lib/libdbusmenu --disable-scrollkeeper --with-gtk=2 --disable-static 50 | make -j1 51 | popd 52 | 53 | [[ -d build-gtk3 ]] || mkdir build-gtk3 54 | pushd build-gtk3 55 | ../configure --prefix=/usr --libexecdir=/usr/lib/libdbusmenu --disable-scrollkeeper --with-gtk=3 --disable-static 56 | make 57 | popd 58 | } 59 | 60 | package_libdbusmenu-glib-ubuntu() { 61 | depends=(json-glib) 62 | provides=(libdbusmenu-glib) 63 | replaces=(libdbusmenu-glib) 64 | conflicts=(libdbusmenu-glib) 65 | 66 | #cd "libdbusmenu-${_actual_ver}${_extra_ver}/build-gtk3" 67 | cd build-gtk3 68 | 69 | make -j1 -C libdbusmenu-glib DESTDIR="${pkgdir}/" install 70 | make -j1 -C tools DESTDIR="${pkgdir}/" install 71 | make -j1 -C tests DESTDIR="${pkgdir}/" install 72 | make -j1 -C docs/libdbusmenu-glib DESTDIR="${pkgdir}/" install 73 | make -j1 -C po DESTDIR="${pkgdir}/" install 74 | } 75 | 76 | package_libdbusmenu-gtk2-ubuntu() { 77 | pkgdesc+=" (GTK+ 2 library)" 78 | depends=(gtk2 libdbusmenu-glib-ubuntu) 79 | provides=(libdbusmenu-gtk2) 80 | replaces=(libdbusmenu-gtk2) 81 | conflicts=(libdbusmenu-gtk2) 82 | 83 | #cd "libdbusmenu-${_actual_ver}${_extra_ver}/build-gtk2" 84 | cd build-gtk2 85 | 86 | make -j1 -C libdbusmenu-gtk DESTDIR="${pkgdir}/" install 87 | make -j1 -C docs/libdbusmenu-gtk DESTDIR="${pkgdir}/" install 88 | } 89 | 90 | package_libdbusmenu-gtk3-ubuntu() { 91 | pkgdesc+=" (GTK+ 3 library)" 92 | depends=(gtk3 libdbusmenu-glib-ubuntu) 93 | provides=(libdbusmenu-gtk3) 94 | replaces=(libdbusmenu-gtk3) 95 | conflicts=(libdbusmenu-gtk3) 96 | 97 | #cd "libdbusmenu-${_actual_ver}${_extra_ver}/build-gtk3" 98 | cd build-gtk3 99 | 100 | make -j1 -C libdbusmenu-gtk DESTDIR="${pkgdir}/" install 101 | } 102 | -------------------------------------------------------------------------------- /libgeonames/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | 3 | # vercheck-pkgbuild: auto 4 | # vercheck-ubuntu: name=geonames, repo=yakkety 5 | 6 | pkgname=libgeonames 7 | _actual_ver=0.2 8 | _extra_ver=+16.04.20160426 9 | _ubuntu_rel=0ubuntu1 10 | pkgver=${_actual_ver}${_extra_ver/\+/.} 11 | pkgrel=1 12 | pkgdesc="Library for parsing a local copy of the geonames.org database" 13 | arch=(i686 x86_64) 14 | url="https://git.launchpad.net/~larsu/geonames" 15 | license=(GPL) 16 | depends=(glib2) 17 | makedepends=(gtk-doc intltool) 18 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/geonames_${_actual_ver}${_extra_ver}-${_ubuntu_rel}.tar.gz") 19 | sha512sums=('c9f6c61d7213ece99d5ddfee7fb262f16541d1820a28b549f1fca5ff51a04e235e8e59901f8f6a69e68385e895d11e6c9987232a58a50b4905ad26c668626d58') 20 | 21 | build() { 22 | cd geonames 23 | ./autogen.sh --prefix=/usr 24 | make 25 | } 26 | 27 | package() { 28 | cd geonames 29 | make DESTDIR="${pkgdir}/" install 30 | } 31 | -------------------------------------------------------------------------------- /libindicate-qt/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Original Maintainer: György Balló 3 | # Contributor: thn81 4 | 5 | # vercheck-pkgbuild: auto 6 | # vercheck-ubuntu: name=${pkgname}, repo=yakkety 7 | # vercheck-launchpad: name=${pkgname} 8 | 9 | pkgname=libindicate-qt 10 | _ubuntu_rel=5 11 | pkgver=0.2.5.91 12 | pkgrel=2 13 | epoch=1 14 | pkgdesc="A set of Qt bindings for libindicate" 15 | arch=(i686 x86_64) 16 | url="https://launchpad.net/libindicate-qt" 17 | license=(GPL) 18 | depends=(qt4 libindicate) 19 | makedepends=(cmake) 20 | groups=(unity) 21 | source=("http://launchpad.net/${pkgname}/${pkgname%-*}-0.5/${pkgver}/+download/${pkgname}-${pkgver}.tar.bz2" 22 | "https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${pkgver}-${_ubuntu_rel}.debian.tar.gz") 23 | sha512sums=('62b6ee0a758729f8007d0dfe6c7b9f55264f0bc110cebc8ef9f782c345fb81e45d9b652de45db06105510a232449b2427fb9a8344f86fb911d3fac1d5c552a23' 24 | '9e377d06be8b65f54bceb7fb50f83c9aefae1c5f27ca1a695997d6cd4b39ec3a1d1fe0b39322b276e1c0fc2157d5eb9a89fa3d7cc6879fbaa9d027e255c3cdc3') 25 | 26 | prepare() { 27 | cd "${pkgname}-${pkgver}" 28 | 29 | # Apply Ubuntu patches 30 | for i in $(grep -v '#' ../debian/patches/series); do 31 | patch -p1 -i "../debian/patches/${i}" 32 | done 33 | } 34 | 35 | build() { 36 | cd "${pkgname}-${pkgver}" 37 | 38 | cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release 39 | make 40 | } 41 | 42 | package() { 43 | cd "${pkgname}-${pkgver}" 44 | 45 | make DESTDIR="${pkgdir}/" install 46 | 47 | # Not present in Ubuntu packages 48 | rm -rvf "${pkgdir}/usr/include/libindicate-qt/CMakeFiles" 49 | } 50 | -------------------------------------------------------------------------------- /libindicate/0001-Fix-autotools-errors.patch: -------------------------------------------------------------------------------- 1 | From f6c766dab72b8f3219a719895afa31a3e852c2b8 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Tue, 7 Oct 2014 17:12:06 -0400 4 | Subject: [PATCH 1/3] Fix autotools errors 5 | 6 | --- 7 | configure.ac | 2 +- 8 | libindicate-gtk/Makefile.am | 4 ++-- 9 | libindicate-gtk/Makefile.in | 4 ++-- 10 | 3 files changed, 5 insertions(+), 5 deletions(-) 11 | 12 | diff --git a/configure.ac b/configure.ac 13 | index ba8df8a..a5d66e8 100644 14 | --- a/configure.ac 15 | +++ b/configure.ac 16 | @@ -3,7 +3,7 @@ AC_INIT(libindicate, 12.10.1, ted@canonical.com) 17 | 18 | AC_PREREQ(2.53) 19 | 20 | -AM_CONFIG_HEADER(config.h) 21 | +AC_CONFIG_HEADERS(config.h) 22 | AM_INIT_AUTOMAKE(libindicate, 12.10.1) 23 | 24 | AM_MAINTAINER_MODE 25 | diff --git a/libindicate-gtk/Makefile.am b/libindicate-gtk/Makefile.am 26 | index 87c392a..1001ebe 100644 27 | --- a/libindicate-gtk/Makefile.am 28 | +++ b/libindicate-gtk/Makefile.am 29 | @@ -44,7 +44,7 @@ libindicate_gtk_la_CFLAGS = \ 30 | $(COVERAGE_CFLAGS) \ 31 | -I $(top_srcdir) \ 32 | -Wall -Werror \ 33 | - $(LIBINDICATEGTK_CFLAGS) 34 | + $(LIBINDICATEGTK_CFLAGS) -L../libindicate/.libs 35 | 36 | libindicate_gtk_la_LIBADD = \ 37 | ../libindicate/libindicate.la \ 38 | @@ -99,7 +99,7 @@ IndicateGtk_0_7_gir_INCLUDES = \ 39 | GdkPixbuf-2.0 \ 40 | Indicate-0.7 41 | IndicateGtk_0_7_gir_CFLAGS = \ 42 | - $(LIBINDICATEGTK_CFLAGS) \ 43 | + $(LIBINDICATEGTK_CFLAGS) -L../libindicate/.libs \ 44 | -I$(top_builddir) \ 45 | -I$(top_srcdir) \ 46 | -I$(top_builddir)/libindicate 47 | diff --git a/libindicate-gtk/Makefile.in b/libindicate-gtk/Makefile.in 48 | index f0b14c0..83f07d5 100644 49 | --- a/libindicate-gtk/Makefile.in 50 | +++ b/libindicate-gtk/Makefile.in 51 | @@ -408,7 +408,7 @@ libindicate_gtk_la_CFLAGS = \ 52 | $(COVERAGE_CFLAGS) \ 53 | -I $(top_srcdir) \ 54 | -Wall -Werror \ 55 | - $(LIBINDICATEGTK_CFLAGS) 56 | + $(LIBINDICATEGTK_CFLAGS) -L../libindicate/.libs 57 | 58 | libindicate_gtk_la_LIBADD = \ 59 | ../libindicate/libindicate.la \ 60 | @@ -455,7 +455,7 @@ INTROSPECTION_COMPILER_ARGS = \ 61 | @HAVE_INTROSPECTION_TRUE@ Indicate-0.7 62 | 63 | @HAVE_INTROSPECTION_TRUE@IndicateGtk_0_7_gir_CFLAGS = \ 64 | -@HAVE_INTROSPECTION_TRUE@ $(LIBINDICATEGTK_CFLAGS) \ 65 | +@HAVE_INTROSPECTION_TRUE@ $(LIBINDICATEGTK_CFLAGS) -L../libindicate/.libs \ 66 | @HAVE_INTROSPECTION_TRUE@ -I$(top_builddir) \ 67 | @HAVE_INTROSPECTION_TRUE@ -I$(top_srcdir) \ 68 | @HAVE_INTROSPECTION_TRUE@ -I$(top_builddir)/libindicate 69 | -- 70 | 2.10.2 71 | 72 | -------------------------------------------------------------------------------- /libindicate/0002-Python-2-fixes.patch: -------------------------------------------------------------------------------- 1 | From 407d295fafa5593f95571ba0bccb16733f6b01b8 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Tue, 7 Oct 2014 17:13:46 -0400 4 | Subject: [PATCH 2/3] Python 2 fixes 5 | 6 | --- 7 | configure.ac | 2 +- 8 | examples/im-client.py | 2 +- 9 | examples/listen-and-print.py | 2 +- 10 | 3 files changed, 3 insertions(+), 3 deletions(-) 11 | 12 | diff --git a/configure.ac b/configure.ac 13 | index a5d66e8..efbb757 100644 14 | --- a/configure.ac 15 | +++ b/configure.ac 16 | @@ -216,7 +216,7 @@ PKG_CHECK_MODULES([INDICATE_PYTHON], [python-$PYTHON_VERSION >= $PYTHON_REQUIRED 17 | ) 18 | 19 | # libpyglib-2.0-python* doesn't have a pkgconfig unfortunately 20 | -INDICATE_PYTHON_LIBS+=" -lpyglib-2.0-python$PYTHON_VERSION" 21 | +INDICATE_PYTHON_LIBS+=" -lpyglib-2.0-python2" 22 | 23 | AC_SUBST(INDICATE_PYTHON_CFLAGS) 24 | AC_SUBST(INDICATE_PYTHON_LIBS) 25 | diff --git a/examples/im-client.py b/examples/im-client.py 26 | index ff10014..316f4b1 100644 27 | --- a/examples/im-client.py 28 | +++ b/examples/im-client.py 29 | @@ -1,4 +1,4 @@ 30 | -#!/usr/bin/env python 31 | +#!/usr/bin/env python2 32 | # 33 | #Copyright 2009 Canonical Ltd. 34 | # 35 | diff --git a/examples/listen-and-print.py b/examples/listen-and-print.py 36 | index 5058599..9d0cde8 100644 37 | --- a/examples/listen-and-print.py 38 | +++ b/examples/listen-and-print.py 39 | @@ -1,4 +1,4 @@ 40 | -#!/usr/bin/env python 41 | +#!/usr/bin/env python2 42 | # 43 | #Copyright 2009 Canonical Ltd. 44 | # 45 | -- 46 | 2.10.2 47 | 48 | -------------------------------------------------------------------------------- /libindicate/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Original Maintainer: György Balló 3 | # Contributor: thn81 4 | 5 | # vercheck-pkgbuild: auto 6 | # vercheck-ubuntu: name=${pkgbase}, repo=zesty 7 | # vercheck-launchpad: name=${pkgbase} 8 | 9 | pkgbase=libindicate 10 | pkgname=(libindicate libindicate-gtk2 libindicate-gtk3) 11 | pkgver=12.10.1 12 | pkgrel=3 13 | epoch=1 14 | pkgdesc="Library for raising indicators via DBus" 15 | arch=(i686 x86_64) 16 | url="https://launchpad.net/libindicate" 17 | license=(LGPL) 18 | makedepends=(libdbusmenu-glib dbus-glib gtk2 gtk3 gobject-introspection vala 19 | gtk-sharp-2 pygtk gnome-doc-utils perl-xml-libxml) 20 | groups=(unity) 21 | source=("http://launchpad.net/${pkgbase}/12.10/${pkgver}/+download/${pkgbase}-${pkgver}.tar.gz" 22 | 0001-Fix-autotools-errors.patch 23 | 0002-Python-2-fixes.patch 24 | 0003-Remove-mono-bindings.patch) 25 | sha512sums=('4dcb5f292153210bc15a05f117101429da77a60b8b05b569baddf0e9043d852c2dccb0d5a6adbdf4d4a1b6f06b33c61e242bb4bcb376e3d96563bda591685c06' 26 | '021c71f7c4573fab2d11a9f71c2c7f75d1e9ea7c518a266d64bce04a7dfc5e8fca5467050baac27abd196afb179acf4e01b0d2dc2d09806c8131535a101d2aaa' 27 | '9ca2663d8fb29e6dfc0232792537191ba4643a2dec989041cba725f9239c76e6b3f69dcc1b26560c6e8590f1e3b8ac49fb4a7c2f37e1f72eac5a7a9dc0198f99' 28 | '5cf6d9d447e98398081d762457db2b921dc0ae18fc1c4242edb81b29bc2cf2fbe0bdaad3fab20fd2d34a85301a0b4eeb2eb159e05ef4e87cb45e8f6e0d98d1da') 29 | 30 | prepare() { 31 | cd "${pkgbase}-${pkgver}" 32 | 33 | patch -p1 -i ../0001-Fix-autotools-errors.patch 34 | patch -p1 -i ../0002-Python-2-fixes.patch 35 | patch -p1 -i ../0003-Remove-mono-bindings.patch 36 | 37 | autoreconf -vfi 38 | } 39 | 40 | build() { 41 | cd "${pkgbase}-${pkgver}" 42 | 43 | export CFLAGS+=" -Wno-error=deprecated-declarations" 44 | 45 | autoreconf -vfi 46 | 47 | [[ -d build-gtk2 ]] || mkdir build-gtk2 48 | pushd build-gtk2 49 | ../configure --prefix=/usr --libexecdir=/usr/lib/${pkgname} --with-gtk=2 --disable-static \ 50 | PYTHON=python2 CSC=/usr/bin/mcs 51 | make -j1 52 | popd 53 | 54 | [[ -d build-gtk3 ]] || mkdir build-gtk3 55 | pushd build-gtk3 56 | ../configure --prefix=/usr --libexecdir=/usr/lib/${pkgname} --with-gtk=3 --disable-static \ 57 | PYTHON=python2 CSC=/usr/bin/mcs 58 | make -j1 59 | popd 60 | } 61 | 62 | package_libindicate() { 63 | depends=(libdbusmenu-glib dbus-glib) 64 | 65 | cd "${pkgbase}-${pkgver}/build-gtk2" 66 | 67 | make -j1 -C libindicate DESTDIR="${pkgdir}" install 68 | #make -j1 -C bindings/mono/indicate DESTDIR="${pkgdir}" install 69 | make -j1 -C tests DESTDIR="${pkgdir}" install 70 | make -j1 -C docs DESTDIR="${pkgdir}" install 71 | } 72 | 73 | package_libindicate-gtk2() { 74 | pkgdesc+=" (GTK+ 2 library)" 75 | depends=(cairo libindicate gtk2 python2-gobject2) 76 | 77 | cd "${pkgbase}-${pkgver}/build-gtk2" 78 | 79 | make -j1 -C libindicate-gtk DESTDIR="${pkgdir}" install 80 | make -j1 -C bindings/python DESTDIR="${pkgdir}" install 81 | #make -j1 -C bindings/mono/indicate-gtk DESTDIR="${pkgdir}" install 82 | make -j1 -C examples DESTDIR="${pkgdir}" install 83 | } 84 | 85 | package_libindicate-gtk3(){ 86 | pkgdesc+=" (GTK+ 3 library)" 87 | depends=(cairo libindicate gtk3) 88 | 89 | cd "${pkgbase}-${pkgver}/build-gtk3" 90 | 91 | make -j1 -C libindicate-gtk DESTDIR="${pkgdir}" install 92 | } 93 | -------------------------------------------------------------------------------- /libindicator/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-long Chen 2 | # Original Maintainer: György Balló 3 | # Contributor: thn81 4 | 5 | # vercheck-pkgbuild: auto 6 | # vercheck-ubuntu: name=${pkgbase}, repo=yakkety 7 | # vercheck-launchpad: name=${pkgbase} 8 | 9 | pkgbase=libindicator 10 | pkgname=(libindicator-common libindicator-gtk2 libindicator-gtk3) 11 | _actual_ver=16.10.0 12 | _extra_ver=+16.10.20160913 13 | pkgver=${_actual_ver}${_extra_ver/+/.} 14 | pkgrel=1 15 | epoch=1 16 | pkgdesc="A set of symbols and convience functions that all indicators would like to use" 17 | arch=(i686 x86_64) 18 | url="https://launchpad.net/libindicator" 19 | license=(GPL) 20 | makedepends=(gtk2 gtk3 glib2 ido) 21 | groups=(unity) 22 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/${pkgbase}_${_actual_ver}${_extra_ver}.orig.tar.gz") 23 | sha512sums=('d5a82fa3ee9db1b85680c348041aee88fe83d3f221d6f5b5abd2d4ac0394ece8fdfc146db88ad3a945496c4c3654ce121c60907c26b307015334537ccb73ba48') 24 | 25 | build() { 26 | #cd "${pkgbase}-${_actual_ver}${_extra_ver}" 27 | 28 | export CFLAGS+=" -Wno-error=deprecated-declarations" 29 | 30 | autoreconf -vfi 31 | 32 | [[ -d build-gtk2 ]] || mkdir build-gtk2 33 | pushd build-gtk2 34 | ../configure --prefix=/usr --libexecdir=/usr/lib/${pkgbase} --with-gtk=2 --disable-static 35 | make -j1 36 | popd 37 | 38 | [[ -d build-gtk3 ]] || mkdir build-gtk3 39 | pushd build-gtk3 40 | ../configure --prefix=/usr --libexecdir=/usr/lib/${pkgbase} --with-gtk=3 --disable-static 41 | make 42 | popd 43 | } 44 | 45 | package_libindicator-common() { 46 | pkgdesc+=" (common files)" 47 | 48 | #cd "${pkgbase}-${_actual_ver}${_extra_ver}/build-gtk3" 49 | cd build-gtk3 50 | 51 | make -j1 -C data DESTDIR="${pkgdir}/" install 52 | } 53 | 54 | package_libindicator-gtk2() { 55 | pkgdesc+=" (GTK+ 2 library)" 56 | depends=(cairo gtk2 glib2) 57 | 58 | #cd "${pkgbase}-${_actual_ver}${_extra_ver}/build-gtk2" 59 | cd build-gtk2 60 | 61 | make -j1 -C libindicator DESTDIR="${pkgdir}/" install 62 | make -j1 -C tools DESTDIR="${pkgdir}/" install 63 | } 64 | 65 | package_libindicator-gtk3() { 66 | pkgdesc+=" (GTK+ 3 library)" 67 | depends=(gtk3 glib2 ido) 68 | options+=(!emptydirs) 69 | 70 | #cd "${pkgbase}-${_actual_ver}${_extra_ver}/build-gtk3" 71 | cd build-gtk3 72 | 73 | make -j1 -C libindicator DESTDIR="${pkgdir}/" install 74 | make -j1 -C tools DESTDIR="${pkgdir}/" install 75 | 76 | # Identical in both packages, but Ubuntu puts it in the GTK 2 package 77 | rm -vf "${pkgdir}/usr/share/libindicator/80indicator-debugging" 78 | } 79 | -------------------------------------------------------------------------------- /libtimezonemap/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | 3 | # vercheck-pkgbuild: auto 4 | # vercheck-ubuntu: name=${pkgname}, native, repo=yakkety 5 | 6 | pkgname=libtimezonemap 7 | pkgver=0.4.5 8 | pkgrel=1 9 | pkgdesc="GTK+3 timezone map widget" 10 | arch=(i686 x86_64) 11 | url="https://launchpad.net/libtimezonemap" 12 | license=(GPL) 13 | groups=(unity) 14 | depends=(cairo gtk3 json-glib libsoup) 15 | makedepends=(gobject-introspection intltool python2) 16 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${pkgver}.tar.gz") 17 | sha512sums=('39ebdd2bcc3026c663d18a86dbf178a2cf6435cbc0251897238ac1e2669fd7e4c63ee8355c709f08c0757bafa13dd3a182d1f1d92ad5ad3db837ca367161391c') 18 | 19 | build() { 20 | cd "${pkgname}-${pkgver}" 21 | autoreconf -vfi 22 | ./configure --prefix=/usr --enable-introspection --with-gtk=3 23 | make 24 | } 25 | 26 | package() { 27 | cd "${pkgname}-${pkgver}" 28 | make DESTDIR="${pkgdir}/" install 29 | } 30 | -------------------------------------------------------------------------------- /libunity-misc/0001_autotools.patch: -------------------------------------------------------------------------------- 1 | --- a/configure.ac 2 | +++ b/configure.ac 3 | @@ -5,7 +5,7 @@ 4 | [https://bugs.launchpad.net/avani]) 5 | AC_CONFIG_SRCDIR([unity-misc/na-tray.h]) 6 | 7 | -AM_CONFIG_HEADER([config.h]) 8 | +AC_CONFIG_HEADERS([config.h]) 9 | 10 | AM_INIT_AUTOMAKE([1.9]) 11 | m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) 12 | -------------------------------------------------------------------------------- /libunity-misc/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Original Maintainer: György Balló 3 | # Contributor: thn81 4 | 5 | # vercheck-pkgbuild: auto 6 | # vercheck-ubuntu: name=${pkgname}, repo=yakkety 7 | # vercheck-launchpad: name=${pkgname} 8 | 9 | pkgname=libunity-misc 10 | _actual_ver=4.0.5 11 | _extra_ver=+14.04.20140115 12 | pkgver=${_actual_ver}${_extra_ver/\+/.} 13 | pkgrel=1 14 | epoch=1 15 | pkgdesc="Misc. differently licensed stuff for Unity" 16 | arch=(i686 x86_64) 17 | url="https://launchpad.net/libunity-misc" 18 | license=(LGPL) 19 | depends=(cairo gtk3) 20 | makedepends=(gtk-doc) 21 | groups=(unity) 22 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${_actual_ver}${_extra_ver}.orig.tar.gz" 23 | 0001_autotools.patch) 24 | sha512sums=('2fc65db5320572cb5d5bcc326759a8e395887d3a408bb2b2823045ade8357d798b93162437878b59c69c8a69dc1055ba7f720b23cdeefc994d5335cbb7474006' 25 | 'f1f7059f9eb90836383a3742cb4ff701cf1187209a6e7afc23b5efe9a70f20084d4a4d8d499469de79ed0679ead1d9ff45c7b5fc8207a3ba30e624eeadd3be86') 26 | 27 | prepare() { 28 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 29 | 30 | patch -p1 -i ../0001_autotools.patch 31 | } 32 | 33 | build() { 34 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 35 | 36 | gtkdocize 37 | autoreconf -vfi 38 | ./configure --prefix=/usr --disable-static 39 | make 40 | } 41 | 42 | package() { 43 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 44 | 45 | make DESTDIR="${pkgdir}/" install 46 | } 47 | -------------------------------------------------------------------------------- /libunity/0001_autoconf.patch: -------------------------------------------------------------------------------- 1 | diff -Nru libunity-6.90.0daily12.12.05.orig/configure.ac libunity-6.90.0daily12.12.05/configure.ac 2 | --- libunity-6.90.0daily12.12.05.orig/configure.ac 2013-01-07 15:11:24.125114436 -0500 3 | +++ libunity-6.90.0daily12.12.05/configure.ac 2013-01-07 15:16:04.223636051 -0500 4 | @@ -2,7 +2,7 @@ 5 | AC_INIT(libunity, 6.90.2) 6 | 7 | AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) 8 | -AM_CONFIG_HEADER(config.h) 9 | +AC_CONFIG_HEADER(config.h) 10 | AM_MAINTAINER_MODE 11 | 12 | m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) 13 | @@ -57,7 +57,6 @@ 14 | ################################################################### 15 | AC_ISC_POSIX 16 | AC_PROG_CC 17 | -AM_PROG_CC_STDC 18 | AC_HEADER_STDC 19 | AM_PROG_LIBTOOL 20 | AM_PROG_VALAC([0.16.0]) 21 | -------------------------------------------------------------------------------- /libunity/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Original Maintainer: György Balló 3 | # Contributor: thn81 4 | 5 | # vercheck-pkgbuild: auto 6 | # vercheck-ubuntu: name=${pkgname}, repo=yakkety 7 | # vercheck-launchpad: name=${pkgname} 8 | 9 | pkgname=libunity 10 | _actual_ver=7.1.4 11 | _extra_ver=+16.10.20160516 12 | _ubuntu_rel=0ubuntu1 13 | pkgver=${_actual_ver}${_extra_ver/+/.} 14 | pkgrel=1 15 | pkgdesc="A library for instrumenting and integrating with all aspects of the Unity shell" 16 | arch=(i686 x86_64) 17 | url="https://launchpad.net/libunity" 18 | license=(LGPL) 19 | depends=(dee-ubuntu libdbusmenu-glib gtk3) 20 | makedepends=(intltool vala python2 gobject-introspection) 21 | groups=(unity) 22 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/libunity_${_actual_ver}${_extra_ver}.orig.tar.gz" 23 | "https://launchpad.net/ubuntu/+archive/primary/+files/libunity_${_actual_ver}${_extra_ver}-${_ubuntu_rel}.diff.gz" 24 | 0001_autoconf.patch) 25 | sha512sums=('f204da3f5bf8d8a321fb8daa4e8f42b8fec520b71a7917d213f3c443ffb8b313dfe6adbad68e7208b84b8bc93e956a30c37ea2533bdfc26c745dbd4504ea4f9a' 26 | 'd3b3b7c616b0e4dd930857a3a18c9b033698725077ce9b32deed14134bf1c034d0bf6a95e7e63a44d6d5827f732a528003ba7406dd8a94deff5c749c5c2c73b1' 27 | '1570c01f4c8ac53bc7806fad78691844a12625b7142270b5a215d203618acc76ba258c4aa969a120186ba9224b726f20a2a9efad05940ffdaa258be49844fa4b') 28 | 29 | prepare() { 30 | find -type f -name '*.py' -exec sed -i 's|^\(#!.*python$\)|\12|g' {} \+ 31 | 32 | patch -p1 -i 0001_autoconf.patch 33 | 34 | # Apply Ubuntu patches 35 | patch -p1 -i "${pkgname}_${_actual_ver}${_extra_ver}-${_ubuntu_rel}.diff" 36 | 37 | for i in $(grep -v '#' debian/patches/series); do 38 | msg "Applying ${i} ..." 39 | patch -p1 -i "debian/patches/${i}" 40 | done 41 | } 42 | 43 | build() { 44 | intltoolize -f 45 | autoreconf -vfi 46 | ./configure --prefix=/usr --disable-static --enable-headless-tests PYTHON=python2 47 | make -j1 48 | } 49 | 50 | package() { 51 | make DESTDIR="${pkgdir}/" install 52 | } 53 | -------------------------------------------------------------------------------- /libzeitgeist/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Original Maintainer: Jan de Groot 3 | # Contributor: kiefer 4 | # Contributor: Alessio Sergi 5 | 6 | pkgname=libzeitgeist 7 | pkgver=0.3.18 8 | pkgrel=1 9 | epoch=1 10 | pkgdesc="Zeitgeist client library" 11 | arch=(i686 x86_64) 12 | url="https://launchpad.net/libzeitgeist" 13 | license=(LGPL2.1) 14 | depends=(glib2) 15 | optdepends=("zeitgeist: zeitgeist framework") 16 | source=("http://launchpad.net/${pkgname}/${pkgver%.*}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz") 17 | sha512sums=('6ad3f0ed74935c20ce23d80208c5a787e4db2e2d58ae5036c6681c3d531e20cc0981be961d66a408a7e1b03909af0212693feddc515240d724acbd5ac5c8cf6e') 18 | 19 | build() { 20 | cd "${pkgname}-${pkgver}" 21 | ./configure --prefix=/usr 22 | make 23 | } 24 | 25 | package() { 26 | cd "${pkgname}-${pkgver}" 27 | make DESTDIR="${pkgdir}" install 28 | } 29 | -------------------------------------------------------------------------------- /lightdm-ubuntu/0001-guest-account-Add-default-GSettings-support.patch: -------------------------------------------------------------------------------- 1 | From 225320fe7d992e5452a3342ed36b9beca36395ec Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Sun, 13 Apr 2014 01:02:42 -0400 4 | Subject: [PATCH] guest-account: Add default GSettings support 5 | 6 | --- 7 | debian/guest-account.sh | 10 ++++++++++ 8 | 1 file changed, 10 insertions(+) 9 | 10 | diff --git a/debian/guest-account.sh b/debian/guest-account.sh 11 | index 675eb77..f5552bc 100644 12 | --- a/debian/guest-account.sh 13 | +++ b/debian/guest-account.sh 14 | @@ -132,6 +132,16 @@ add_account () 15 | chown -R ${GUEST_USER}:${GUEST_USER} ${GUEST_HOME} 16 | fi 17 | 18 | + # Load default dconf settings 19 | + mkdir -p "${GUEST_HOME}/.config/" "${GUEST_HOME}/.cache/" 20 | + chown -R ${GUEST_USER}:${GUEST_USER} "${GUEST_HOME}/.config/" "${GUEST_HOME}/.cache/" 21 | + if [ -d /etc/guest-session/gsettings/ ]; then 22 | + for i in /etc/guest-session/gsettings/*; do 23 | + cat "${i}" | sed '/^\[.*\]$/ s/\./\//g' | \ 24 | + su - ${GUEST_USER} -c 'dbus-launch dconf load /' 25 | + done 26 | + fi 27 | + 28 | # setup session 29 | su ${GUEST_USER} -c "env HOME=${GUEST_HOME} site_gs=${site_gs} ${dist_gs}/setup.sh" 30 | 31 | -- 32 | 2.7.0 33 | 34 | -------------------------------------------------------------------------------- /lightdm-ubuntu/Xsession: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # LightDM wrapper to run around X sessions. 4 | 5 | echo "Running X session wrapper" 6 | 7 | # Load profile 8 | for file in "/etc/profile" "$HOME/.profile" "/etc/xprofile" "$HOME/.xprofile"; do 9 | if [ -f "$file" ]; then 10 | echo "Loading profile from $file"; 11 | . "$file" 12 | fi 13 | done 14 | 15 | # Load resources 16 | for file in "/etc/X11/Xresources" "$HOME/.Xresources"; do 17 | if [ -f "$file" ]; then 18 | echo "Loading resource: $file" 19 | xrdb -merge "$file" 20 | fi 21 | done 22 | 23 | # Load keymaps 24 | for file in "/etc/X11/Xkbmap" "$HOME/.Xkbmap"; do 25 | if [ -f "$file" ]; then 26 | echo "Loading keymap: $file" 27 | setxkbmap `cat "$file"` 28 | XKB_IN_USE=yes 29 | fi 30 | done 31 | 32 | # Load xmodmap if not using XKB 33 | if [ -z "$XKB_IN_USE" ]; then 34 | for file in "/etc/X11/Xmodmap" "$HOME/.Xmodmap"; do 35 | if [ -f "$file" ]; then 36 | echo "Loading modmap: $file" 37 | xmodmap "$file" 38 | fi 39 | done 40 | fi 41 | 42 | unset XKB_IN_USE 43 | 44 | # Run all system xinitrc shell scripts 45 | xinitdir="/etc/X11/xinit/xinitrc.d" 46 | if [ -d "$xinitdir" ]; then 47 | for script in $xinitdir/*; do 48 | echo "Loading xinit script $script" 49 | if [ -x "$script" -a ! -d "$script" ]; then 50 | . "$script" 51 | fi 52 | done 53 | fi 54 | 55 | # Run user xsession shell script 56 | script="$HOME/.xsession" 57 | if [ -x "$script" -a ! -d "$script" ]; then 58 | echo "Loading xsession script $script" 59 | . "$script" 60 | fi 61 | 62 | echo "X session wrapper complete, running session $@" 63 | 64 | exec $@ 65 | -------------------------------------------------------------------------------- /lightdm-ubuntu/lightdm-autologin.pam: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth required pam_env.so 3 | auth required pam_tally.so file=/var/log/faillog onerr=succeed 4 | auth required pam_shells.so 5 | auth required pam_nologin.so 6 | auth [success=1 default=ignore] pam_succeed_if.so user ingroup autologin 7 | auth required pam_unix.so 8 | auth required pam_permit.so 9 | -auth optional pam_gnome_keyring.so 10 | account include system-local-login 11 | password include system-local-login 12 | session include system-local-login 13 | -session optional pam_gnome_keyring.so auto_start 14 | -------------------------------------------------------------------------------- /lightdm-ubuntu/lightdm-default-config.patch: -------------------------------------------------------------------------------- 1 | diff -rupN lightdm-1.16.7.orig/data/lightdm.conf lightdm-1.16.7/data/lightdm.conf 2 | --- lightdm-1.16.7.orig/data/lightdm.conf 2016-02-07 10:44:47.229197400 +0100 3 | +++ lightdm-1.16.7/data/lightdm.conf 2016-02-07 10:47:36.011855600 +0100 4 | @@ -21,13 +21,13 @@ 5 | #start-default-seat=true 6 | #greeter-user=lightdm 7 | #minimum-display-number=0 8 | -#minimum-vt=7 9 | +#minimum-vt=7 # Setting this to a value < 7 implies security issues, see FS#46799 10 | #lock-memory=true 11 | #user-authority-in-system-dir=false 12 | #guest-account-script=guest-account 13 | #logind-check-graphical=false 14 | #log-directory=/var/log/lightdm 15 | -#run-directory=/var/run/lightdm 16 | +run-directory=/run/lightdm 17 | #cache-directory=/var/cache/lightdm 18 | #sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions 19 | #remote-sessions-directory=/usr/share/lightdm/remote-sessions 20 | @@ -110,7 +110,7 @@ 21 | #allow-user-switching=true 22 | #allow-guest=true 23 | #guest-session= 24 | -#session-wrapper=lightdm-session 25 | +session-wrapper=/etc/lightdm/Xsession 26 | #greeter-wrapper= 27 | #guest-wrapper= 28 | #display-setup-script= 29 | diff -rupN lightdm-1.16.7.orig/data/users.conf lightdm-1.16.7/data/users.conf 30 | --- lightdm-1.16.7.orig/data/users.conf 2016-02-07 10:44:47.224423000 +0100 31 | +++ lightdm-1.16.7/data/users.conf 2016-02-07 10:44:53.660216200 +0100 32 | @@ -9,6 +9,6 @@ 33 | # hidden-shells = Shells that indicate a user cannot login 34 | # 35 | [UserList] 36 | -minimum-uid=500 37 | +minimum-uid=1000 38 | hidden-users=nobody nobody4 noaccess 39 | -hidden-shells=/bin/false /usr/sbin/nologin 40 | +hidden-shells=/bin/false /usr/bin/nologin 41 | -------------------------------------------------------------------------------- /lightdm-ubuntu/lightdm.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | if ! getent group lightdm &>/dev/null; then 3 | groupadd -g 620 lightdm 4 | fi 5 | 6 | if ! getent passwd lightdm &>/dev/null; then 7 | useradd -c 'Light Display Manager' -u 620 -g lightdm -d /var/lib/lightdm -s /usr/bin/nologin lightdm 8 | fi 9 | 10 | passwd -l lightdm > /dev/null 11 | 12 | systemd-tmpfiles --create /usr/lib/tmpfiles.d/lightdm.conf 13 | } 14 | 15 | post_upgrade() { 16 | post_install 17 | } 18 | -------------------------------------------------------------------------------- /lightdm-ubuntu/lightdm.pam: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth include system-login 3 | -auth optional pam_gnome_keyring.so 4 | account include system-login 5 | password include system-login 6 | session include system-login 7 | -session optional pam_gnome_keyring.so auto_start 8 | -------------------------------------------------------------------------------- /lightdm-ubuntu/lightdm.rules: -------------------------------------------------------------------------------- 1 | polkit.addRule(function(action, subject) { 2 | if (subject.user == "lightdm") { 3 | polkit.log("action=" + action); 4 | polkit.log("subject=" + subject); 5 | if (action.id.indexOf("org.freedesktop.login1.") == 0) { 6 | return polkit.Result.YES; 7 | } 8 | if (action.id.indexOf("org.freedesktop.consolekit.system.") == 0) { 9 | return polkit.Result.YES; 10 | } 11 | if (action.id.indexOf("org.freedesktop.upower.") == 0) { 12 | return polkit.Result.YES; 13 | } 14 | } 15 | }); 16 | -------------------------------------------------------------------------------- /lightdm-ubuntu/lightdm.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Light Display Manager 3 | Documentation=man:lightdm(1) 4 | Conflicts=getty@tty1.service 5 | After=getty@tty1.service systemd-user-sessions.service plymouth-quit.service acpid.service 6 | 7 | [Service] 8 | ExecStart=/usr/bin/lightdm 9 | Restart=always 10 | IgnoreSIGPIPE=no 11 | BusName=org.freedesktop.DisplayManager 12 | 13 | [Install] 14 | Alias=display-manager.service 15 | -------------------------------------------------------------------------------- /lightdm-ubuntu/lightdm.tmpfiles: -------------------------------------------------------------------------------- 1 | d /run/lightdm 0711 lightdm lightdm 2 | -------------------------------------------------------------------------------- /lightdm-unity-greeter/.gitignore: -------------------------------------------------------------------------------- 1 | archlinux-mono-white.svg 2 | -------------------------------------------------------------------------------- /lightdm-unity-greeter/10-unity.defaults: -------------------------------------------------------------------------------- 1 | [org.gnome.desktop.background] 2 | show-desktop-icons=true 3 | picture-uri='file:///usr/share/backgrounds/warty-final-ubuntu.png' 4 | 5 | [org.gnome.desktop.interface] 6 | gtk-theme="Ambiance" 7 | icon-theme="ubuntu-mono-dark" 8 | #cursor-theme="DMZ-White" 9 | font-name="Ubuntu 11" 10 | monospace-font-name="Ubuntu Mono 13" 11 | 12 | [org.gnome.desktop.sound] 13 | theme-name = 'ubuntu' 14 | 15 | [org.gnome.desktop.session] 16 | session-name="ubuntu" 17 | 18 | [org.gnome.desktop.wm.preferences] 19 | button-layout='close,minimize,maximize:' 20 | mouse-button-modifier='' 21 | theme="Ambiance" 22 | titlebar-font='Ubuntu Bold 11' 23 | 24 | [org.gnome.nautilus.desktop] 25 | home-icon-visible=false 26 | trash-icon-visible=false 27 | volumes-visible=false 28 | 29 | [org.gnome.settings-daemon.plugins.xsettings] 30 | antialiasing = 'rgba' 31 | hinting = 'slight' 32 | -------------------------------------------------------------------------------- /lightdm-unity-greeter/50-unity-greeter.rules: -------------------------------------------------------------------------------- 1 | /* Original: 2 | * [Disable Controlling of Network Devices] 3 | * Identity=unix-user:lightdm 4 | * Action=org.freedesktop.NetworkManager.enable-disable-network;org.freedesktop.NetworkManager.enable-disable-wifi;org.freedesktop.NetworkManager.enable-disable-wwan;org.freedesktop.NetworkManager.enable-disable-wimax; 5 | * ResultActive=no 6 | * ResultInactive=no 7 | * ResultsAny=no 8 | */ 9 | 10 | polkit.addRule(function(action, subject) { 11 | if (subject.user == "lightdm" && ( 12 | action.id == "org.freedesktop.NetworkManager.enable-disable-network" || 13 | action.id == "org.freedesktop.NetworkManager.enable-disable-wifi" || 14 | action.id == "org.freedesktop.NetworkManager.enable-disable-wwan" || 15 | action.id == "org.freedesktop.NetworkManager.enable-disable-wimax")) { 16 | return polkit.Result.NO; 17 | } 18 | }); 19 | 20 | /* Original: 21 | * [Disable Sleep and Wake] 22 | * Identity=unix-user:lightdm 23 | * Action=org.freedesktop.NetworkManager.sleep-wake 24 | * ResultActive=no 25 | * ResultInactive=no 26 | * ResultsAny=no 27 | */ 28 | polkit.addRule(function(action, subject) { 29 | if (subject.user == "lightdm" && 30 | action.id == "org.freedesktop.NetworkManager.sleep-wake") { 31 | return polkit.Result.NO; 32 | } 33 | }); 34 | 35 | /* Original: 36 | * [Disable WiFi Sharing] 37 | * Identity=unix-user:lightdm 38 | * Action=org.freedesktop.NetworkManager.wifi.share.protected;org.freedesktop.NetworkManager.wifi.share.open 39 | * ResultActive=no 40 | * ResultInactive=no 41 | * ResultsAny=no 42 | */ 43 | polkit.addRule(function(action, subject) { 44 | if (subject.user == "lightdm" && ( 45 | action.id == "org.freedesktop.NetworkManager.wifi.share.protected" || 46 | action.id == "org.freedesktop.NetworkManager.wifi.share.open")) { 47 | return polkit.Result.NO; 48 | } 49 | }); 50 | 51 | /* Original: 52 | * [Disable Settings Modifications] 53 | * Identity=unix-user:lightdm 54 | * Action=org.freedesktop.NetworkManager.settings.modify.own;org.freedesktop.NetworkManager.settings.modify.system;org.freedesktop.NetworkManager.settings.modify.hostname 55 | * ResultActive=no 56 | * ResultInactive=no 57 | * ResultsAny=no 58 | */ 59 | polkit.addRule(function(action, subject) { 60 | if (subject.user == "lightdm" && ( 61 | action.id == "org.freedesktop.NetworkManager.settings.modify.own" || 62 | action.id == "org.freedesktop.NetworkManager.settings.modify.system" || 63 | action.id == "org.freedesktop.NetworkManager.settings.modify.hostname")) { 64 | return polkit.Result.NO; 65 | } 66 | }); 67 | 68 | /* Original: 69 | * [Disable User Connections] 70 | * Identity=unix-user:lightdm 71 | * Action=org.freedesktop.NetworkManager.use-user-connections 72 | * ResultActive=no 73 | * ResultInactive=no 74 | * ResultsAny=no 75 | */ 76 | polkit.addRule(function(action, subject) { 77 | if (subject.user == "lightdm" && 78 | action.id == "org.freedesktop.NetworkManager.use-user-connections") { 79 | return polkit.Result.NO; 80 | } 81 | }); 82 | 83 | /* Original: 84 | * [Enable Controlling of Network Connections] 85 | * Identity=unix-user:lightdm 86 | * Action=org.freedesktop.NetworkManager.network-control 87 | * ResultActive=yes 88 | * ResultInactive=no 89 | * ResultsAny=no 90 | */ 91 | polkit.addRule(function(action, subject) { 92 | if (subject.user == "lightdm" && 93 | subject.local && 94 | subject.active && 95 | action.id == "org.freedesktop.NetworkManager.network-control") { 96 | return polkit.Result.YES; 97 | } 98 | }); 99 | -------------------------------------------------------------------------------- /lightdm-unity-greeter/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenxiaolong/Unity-for-Arch/690714068bd0ca87a3ecbf2852a06b8362a371ab/lightdm-unity-greeter/logo.png -------------------------------------------------------------------------------- /lightdm-unity-greeter/spawn_indicators.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/unity-greeter.vala b/src/unity-greeter.vala 2 | index 1f5b3d6..944751a 100644 3 | --- a/src/unity-greeter.vala 4 | +++ b/src/unity-greeter.vala 5 | @@ -574,7 +574,7 @@ public class UnityGreeter 6 | { 7 | string[] argv; 8 | 9 | - Shell.parse_argv ("upstart --user --startup-event indicator-services-start", out argv); 10 | + Shell.parse_argv ("unity-greeter-indicators-start", out argv); 11 | Process.spawn_async (null, 12 | argv, 13 | null, 14 | -------------------------------------------------------------------------------- /lightdm-unity-greeter/unity-greeter-indicators-start: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Load each indicator in turn respecting unity-greeter's dconf setting # 4 | # This is necessary since starting indicators via dbus has been deprecated in favour of using 'upstart' init system services # 5 | for indicator in $(gsettings get com.canonical.unity-greeter indicators | \ 6 | sed "s/,/\\n/g; s/[]\[']//g" | grep com.canonical | \ 7 | sed "s/com.canonical.//g; s/\./-/g"); do 8 | if [ -x /usr/lib/${indicator}/${indicator}-service ]; then 9 | exec /usr/lib/${indicator}/${indicator}-service & 10 | fi 11 | done 12 | -------------------------------------------------------------------------------- /lightdm-unity-greeter/valaflags.patch: -------------------------------------------------------------------------------- 1 | Patch by ecopunk so fix FTBFS on some systems with vala-0.16 2 | diff -Nru unity-greeter-0.2.7.orig/src/Makefile.am unity-greeter-0.2.7/src/Makefile.am 3 | --- unity-greeter-0.2.7.orig/src/Makefile.am 2012-04-11 12:44:15.727864342 -0400 4 | +++ unity-greeter-0.2.7/src/Makefile.am 2012-04-11 12:45:17.280646643 -0400 5 | @@ -34,6 +34,10 @@ 6 | -DINDICATORDIR=\""$(INDICATORDIR)"\" 7 | 8 | unity_greeter_VALAFLAGS = \ 9 | + --vapidir . \ 10 | + --pkg config \ 11 | + --pkg fixes \ 12 | + --pkg indicator \ 13 | --pkg posix \ 14 | --pkg gtk+-3.0 \ 15 | --pkg gdk-x11-3.0 \ 16 | -------------------------------------------------------------------------------- /nautilus-ubuntu/.gitignore: -------------------------------------------------------------------------------- 1 | /libgd/ 2 | /nautilus/ 3 | -------------------------------------------------------------------------------- /network-manager-applet-ubuntu/.gitignore: -------------------------------------------------------------------------------- 1 | /network-manager-applet/ 2 | -------------------------------------------------------------------------------- /nux/0001-Use-glew-unity.patch: -------------------------------------------------------------------------------- 1 | From 97d3dc777fd68beaa53bad92391c231bcffc28a8 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Wed, 3 Aug 2016 23:14:07 -0400 4 | Subject: [PATCH] Use glew-unity 5 | 6 | --- 7 | NuxGraphics/FreetypeFont.cpp | 2 +- 8 | NuxGraphics/GLResource.h | 8 ++++---- 9 | configure.ac | 2 +- 10 | 3 files changed, 6 insertions(+), 6 deletions(-) 11 | 12 | diff --git a/NuxGraphics/FreetypeFont.cpp b/NuxGraphics/FreetypeFont.cpp 13 | index 5f1721b..e9af785 100644 14 | --- a/NuxGraphics/FreetypeFont.cpp 15 | +++ b/NuxGraphics/FreetypeFont.cpp 16 | @@ -27,7 +27,7 @@ 17 | //#include "OpenGL/GLsdk/GL/gl.h" 18 | //#include "OpenGL/GLsdk/GL/glprocs.h" 19 | //#include 20 | -#include 21 | +#include 22 | #include "GfxServer.h" 23 | #include "OpenGLEngine/GLCheck.h" 24 | #include "OpenGLEngine/OpenGLEngine.h" 25 | diff --git a/NuxGraphics/GLResource.h b/NuxGraphics/GLResource.h 26 | index fe749a0..be0d32a 100644 27 | --- a/NuxGraphics/GLResource.h 28 | +++ b/NuxGraphics/GLResource.h 29 | @@ -72,8 +72,8 @@ namespace nux 30 | #define NUX_ENABLE_CG_SHADERS 0 31 | 32 | #if defined(NUX_OS_WINDOWS) 33 | - #include "GL/glew.h" 34 | - #include "GL/wglew.h" 35 | + #include "GL/glew-unity.h" 36 | + #include "GL/wglew-unity.h" 37 | 38 | GLEWContext *glewGetContext(); 39 | WGLEWContext *wglewGetContext(); 40 | @@ -96,8 +96,8 @@ namespace nux 41 | #ifndef GLEW_MX 42 | #define GLEW_MX 43 | #endif 44 | - #include "GL/glew.h" 45 | - #include "GL/glxew.h" 46 | + #include "GL/glew-unity.h" 47 | + #include "GL/glxew-unity.h" 48 | 49 | GLEWContext *glewGetContext(); 50 | GLXEWContext *glxewGetContext(); 51 | diff --git a/configure.ac b/configure.ac 52 | index 75c200e..e81a346 100644 53 | --- a/configure.ac 54 | +++ b/configure.ac 55 | @@ -115,7 +115,7 @@ AC_CHECK_FUNCS([memset munmap strcasecmp strdup]) 56 | PKG_PROG_PKG_CONFIG 57 | 58 | dnl =========================================================================== 59 | -GL_PKGS="gl glu glewmx xext x11" 60 | +GL_PKGS="gl glu glewmx-unity xext x11" 61 | MAINTAINER_CFLAGS="" 62 | 63 | # X11 build 64 | -- 65 | 2.9.2 66 | 67 | -------------------------------------------------------------------------------- /nux/0001_autoconf.patch: -------------------------------------------------------------------------------- 1 | diff -Nru nux-4.0.0daily12.12.05.orig/configure.ac nux-4.0.0daily12.12.05/configure.ac 2 | --- nux-4.0.0daily12.12.05.orig/configure.ac 2013-01-07 13:35:53.028194074 -0500 3 | +++ nux-4.0.0daily12.12.05/configure.ac 2013-01-07 13:36:07.038120083 -0500 4 | @@ -60,7 +60,7 @@ 5 | m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) 6 | 7 | AC_CONFIG_SRCDIR([Makefile.am]) 8 | -AM_CONFIG_HEADER([config.h]) 9 | +AC_CONFIG_HEADER([config.h]) 10 | AM_INIT_AUTOMAKE([1.10]) 11 | 12 | NUX_MAJOR_VERSION=nux_major_version 13 | -------------------------------------------------------------------------------- /nux/50_check_unity_support: -------------------------------------------------------------------------------- 1 | # If the hardware does not pass unity_support_test, fall back to LLVMpipe 2 | # which does. 3 | 4 | if [ "x$DESKTOP_SESSION" = "xubuntu" ]; then 5 | /usr/lib/nux/unity_support_test || export LIBGL_ALWAYS_SOFTWARE=1 6 | fi 7 | -------------------------------------------------------------------------------- /nux/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Original Maintainer: György Balló 3 | # Contributor: thn81 4 | 5 | # vercheck-pkgbuild: auto 6 | # vercheck-ubuntu: name=${pkgname}, repo=zesty 7 | # vercheck-launchpad: name=${pkgname} 8 | 9 | pkgname=nux 10 | _actual_ver=4.0.8 11 | _extra_ver=+17.04.20161107 12 | pkgver=${_actual_ver}${_extra_ver/+/.} 13 | pkgrel=1 14 | pkgdesc="Graphical user interface toolkit for applications that mixes OpenGL hardware acceleration with high quality visual rendering" 15 | arch=(i686 x86_64) 16 | url="https://launchpad.net/nux" 17 | license=(LGPL) 18 | depends=(gdk-pixbuf2 glew-unity pango mesa libsigc++ libxcomposite libxdamage 19 | libxxf86vm geis ibus pciutils) 20 | makedepends=(boost glproto dri2proto doxygen graphviz) 21 | 22 | groups=(unity) 23 | options=(!emptydirs) 24 | 25 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/nux_${_actual_ver}${_extra_ver}.orig.tar.gz" 26 | 0001_autoconf.patch 27 | 0001-Use-glew-unity.patch 28 | 50_check_unity_support) 29 | sha512sums=('01b60c8595f936d57837906b981265073bb2fa3710a8604ca5a0c480b74c9608595440a11d4ec4e7c871b290bde7a62d0a442887ae04eda1e597e0e073014beb' 30 | 'e0a3d3d9cf7d4ba7da541a6383e5c545b37ce4099c1e7b716b18c47e68f0068d522ab06658f759df9c717503a46f0ca946ef2f256264c5c3fbb03fc7635038e2' 31 | 'b0ef5513ac97f427139ae989544e56d7368e919b56dee5663932aab8691ae0308a41807f57bdc9704b4c518cc1bab3f5c8175538c833e89c321bd165024f3e8f' 32 | '1e82b11357f9db45fa6fff002cef11acaf53a8381e2bc28b84e9e0300502c0b1922d9273b44d4cfbbd51d004a9eb1eb2e780db7a39e2d9153c9c4efafb9314a9') 33 | 34 | prepare() { 35 | patch -p1 -i 0001_autoconf.patch 36 | patch -p1 -i 0001-Use-glew-unity.patch 37 | } 38 | 39 | build() { 40 | export CFLAGS+=" -Wno-error=unused-function" 41 | export CXXFLAGS+=" -Wno-error=unused-function" 42 | 43 | autoreconf -vfi 44 | 45 | ./configure --prefix=/usr --libexecdir=/usr/lib --disable-static --disable-tests 46 | 47 | make 48 | } 49 | 50 | package() { 51 | make DESTDIR="${pkgdir}" install 52 | 53 | rm -rv "${pkgdir}/usr/share/nux/gputests/" 54 | 55 | install -dm755 "${pkgdir}/etc/X11/xinit/xinitrc.d/" 56 | install -m755 "${srcdir}/50_check_unity_support" \ 57 | "${pkgdir}/etc/X11/xinit/xinitrc.d/" 58 | } 59 | -------------------------------------------------------------------------------- /overlay-scrollbar/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | 3 | # vercheck-pkgbuild: auto 4 | # vercheck-ubuntu: name=${pkgname}, repo=yakkety 5 | # vercheck-launchpad: name=${pkgname} 6 | 7 | pkgname=overlay-scrollbar 8 | _actual_ver=0.2.17.1 9 | _extra_ver=+16.04.20151117 10 | pkgver=${_actual_ver}${_extra_ver//\+/.} 11 | pkgrel=2 12 | epoch=2 13 | pkgdesc="Overlaid Scrollbars that take up no active screen real-estate" 14 | arch=(i686 x86_64) 15 | url="https://launchpad.net/ayatana-scrollbar" 16 | license=(LGPL) 17 | groups=(unity) 18 | depends=(dconf gtk2-ubuntu) 19 | conflicts=(liboverlay-scrollbar liboverlay-scrollbar3) 20 | replaces=(liboverlay-scrollbar liboverlay-scrollbar3) 21 | options=(!emptydirs) 22 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/overlay-scrollbar_${_actual_ver}${_extra_ver}.orig.tar.gz") 23 | sha512sums=('0e718acb39307c6aa92747eb7b353a8468c358c5a25525ae2df830a4b3cb1c1bf7a3ee03410330db12c253be2d09211603cfc7274e67fa19917463b57eda899b') 24 | 25 | build() { 26 | cd "${pkgbase}-${_actual_ver}${_extra_ver}" 27 | 28 | autoreconf -vfi 29 | ./configure --prefix=/usr --sysconfdir=/etc --disable-static 30 | make 31 | } 32 | 33 | package() { 34 | cd "${pkgbase}-${_actual_ver}${_extra_ver}" 35 | make DESTDIR="${pkgdir}/" install 36 | 37 | # Put X11 startup script in correct directory 38 | install -dm755 "${pkgdir}/etc/X11/xinit/xinitrc.d/" 39 | mv "${pkgdir}/etc/X11/Xsession.d/81overlay-scrollbar" \ 40 | "${pkgdir}/etc/X11/xinit/xinitrc.d/" 41 | chmod 755 "${pkgdir}/etc/X11/xinit/xinitrc.d/81overlay-scrollbar" 42 | } 43 | -------------------------------------------------------------------------------- /properties-cpp/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | 3 | # vercheck-pkgbuild: auto 4 | # vercheck-ubuntu: name=${pkgname}, repo=yakkety 5 | 6 | pkgname=properties-cpp 7 | _actual_ver=0.0.1 8 | _extra_ver=+14.10.20140730 9 | pkgver=${_actual_ver}${_extra_ver/\+/.} 10 | pkgrel=1 11 | pkgdesc="C++11 library providing properties/signals" 12 | arch=(i686 x86_64) 13 | url="https://launchpad.net/properties-cpp" 14 | license=(LGPL) 15 | groups=(unity) 16 | makedepends=(cmake) 17 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/properties-cpp_${_actual_ver}${_extra_ver}.orig.tar.gz") 18 | sha512sums=('44627c548ac31abb191254246006e73bc3e8a0c489062a253c1815e3588b62eb7578d56b1ef7f5016b23ba1e09ab964354e55930b076d9c439ad5484eb7ea6d3') 19 | 20 | prepare() { 21 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 22 | sed -i '/tests/d' CMakeLists.txt 23 | } 24 | 25 | build() { 26 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 27 | cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib 28 | make 29 | } 30 | 31 | package() { 32 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 33 | make DESTDIR="${pkgdir}/" install 34 | } 35 | -------------------------------------------------------------------------------- /repo-make.conf: -------------------------------------------------------------------------------- 1 | # This file is used by repo-make. 2 | # See: http://repo-make.tuxfamily.org/ 3 | # It allows to autobuild the package set on a dedicated (virtual) build machine 4 | 5 | REPONAME=Unity-for-Arch 6 | CHECKSCRIPT=./checkpkg 7 | 8 | gtk2-ubuntu 9 | gtk3-ubuntu 10 | libdbusmenu-ubuntu 11 | ido 12 | libindicator 13 | libindicate 14 | libindicate-qt 15 | libappindicator 16 | unity-gtk-module 17 | dee-ubuntu 18 | libunity 19 | libunity-misc 20 | indicator-messages 21 | bamf-ubuntu 22 | libtimezonemap 23 | gsettings-desktop-schemas-ubuntu 24 | gnome-settings-daemon-ubuntu 25 | gnome-session-ubuntu 26 | gnome-screensaver-ubuntu 27 | unity-settings-daemon 28 | unity-control-center 29 | properties-cpp 30 | lightdm-ubuntu 31 | libgee06 32 | indicator-application 33 | indicator-appmenu 34 | indicator-datetime 35 | indicator-keyboard 36 | indicator-power 37 | indicator-printers 38 | indicator-session 39 | indicator-sound 40 | gsettings-qt 41 | dee-qt 42 | libcolumbus 43 | hud 44 | network-manager-applet-ubuntu 45 | overlay-scrollbar 46 | frame 47 | grail 48 | geis 49 | nux 50 | unity-asset-pool 51 | nautilus-ubuntu 52 | zeitgeist-ubuntu 53 | unity-lens-applications 54 | unity-lens-files 55 | unity-lens-music 56 | unity-lens-photos 57 | unity-lens-video 58 | unity-scope-home 59 | unity-scopes 60 | compiz-ubuntu 61 | lightdm-unity-greeter 62 | unity 63 | unity-language-packs 64 | -------------------------------------------------------------------------------- /systemd/.gitignore: -------------------------------------------------------------------------------- 1 | /systemd/ 2 | -------------------------------------------------------------------------------- /systemd/arch.conf: -------------------------------------------------------------------------------- 1 | ## This is just an example config file. 2 | ## Please edit the paths and kernel parameters according to your system. 3 | 4 | title Arch Linux 5 | linux /vmlinuz-linux 6 | initrd /initramfs-linux.img 7 | options root=PARTUUID=XXXX rootfstype=XXXX add_efi_memmap 8 | -------------------------------------------------------------------------------- /systemd/initcpio-hook-udev: -------------------------------------------------------------------------------- 1 | #!/usr/bin/ash 2 | 3 | run_earlyhook() { 4 | kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf 5 | systemd-tmpfiles --prefix=/dev --create --boot 6 | /usr/lib/systemd/systemd-udevd --daemon --resolve-names=never 7 | udevd_running=1 8 | } 9 | 10 | run_hook() { 11 | msg ":: Triggering uevents..." 12 | udevadm trigger --action=add --type=subsystems 13 | udevadm trigger --action=add --type=devices 14 | udevadm settle 15 | } 16 | 17 | run_cleanuphook() { 18 | udevadm control --exit 19 | udevadm info --cleanup-db 20 | } 21 | 22 | # vim: set ft=sh ts=4 sw=4 et: 23 | -------------------------------------------------------------------------------- /systemd/initcpio-install-udev: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | build() { 4 | local rules tool 5 | 6 | add_binary /usr/lib/systemd/systemd-udevd 7 | add_binary /usr/bin/udevadm 8 | add_binary /usr/bin/systemd-tmpfiles 9 | 10 | for rules in 50-udev-default.rules 60-persistent-storage.rules 64-btrfs.rules 80-drivers.rules; do 11 | add_file "/usr/lib/udev/rules.d/$rules" 12 | done 13 | for tool in ata_id scsi_id; do 14 | add_file "/usr/lib/udev/$tool" 15 | done 16 | 17 | add_runscript 18 | } 19 | 20 | help() { 21 | cat </dev/null 10 | : 11 | } 12 | 13 | post_common() { 14 | systemd-sysusers 15 | journalctl --update-catalog 16 | } 17 | 18 | _216_2_changes() { 19 | echo ':: Coredumps are handled by systemd by default. Collection behavior can be' 20 | echo ' tuned in /etc/systemd/coredump.conf.' 21 | } 22 | 23 | _219_2_changes() { 24 | if mkdir -m2755 var/log/journal/remote 2>/dev/null; then 25 | chgrp systemd-journal-remote var/log/journal/remote 26 | fi 27 | } 28 | 29 | _219_4_changes() { 30 | if ! systemctl is-enabled -q remote-fs.target; then 31 | systemctl enable -q remote-fs.target 32 | fi 33 | } 34 | 35 | _230_1_changes() { 36 | echo ':: systemd-bootchart is no longer included with systemd' 37 | } 38 | 39 | post_install() { 40 | systemd-machine-id-setup 41 | 42 | post_common "$@" 43 | 44 | add_journal_acls 45 | 46 | # enable some services by default, but don't track them 47 | systemctl enable getty@tty1.service remote-fs.target 48 | 49 | echo ":: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your" 50 | echo " bootloader to replace sysvinit with systemd, or install systemd-sysvcompat" 51 | 52 | # group 'systemd-journal-remote' is created by systemd-sysusers 53 | mkdir -m2755 var/log/journal/remote 54 | chgrp systemd-journal-remote var/log/journal/remote 55 | } 56 | 57 | post_upgrade() { 58 | post_common "$@" 59 | 60 | # don't reexec if the old version is 231-1 or 231-2. 61 | # https://github.com/systemd/systemd/commit/bd64d82c1c 62 | if [[ $1 != 231-[12] ]] && sd_booted; then 63 | systemctl --system daemon-reexec 64 | fi 65 | 66 | local v upgrades=( 67 | 216-2 68 | 219-2 69 | 219-4 70 | 230-1 71 | ) 72 | 73 | for v in "${upgrades[@]}"; do 74 | if [[ $(vercmp "$v" "$2") -eq 1 ]]; then 75 | "_${v//-/_}_changes" 76 | fi 77 | done 78 | } 79 | 80 | # vim:set ts=2 sw=2 et: 81 | -------------------------------------------------------------------------------- /systemd/udev-hwdb.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = File 3 | Operation = Install 4 | Operation = Upgrade 5 | Operation = Remove 6 | Target = usr/lib/udev/hwdb.d/* 7 | 8 | [Action] 9 | Description = Updating udev Hardware Database... 10 | When = PostTransaction 11 | Exec = /usr/bin/udevadm hwdb --update 12 | -------------------------------------------------------------------------------- /unity-api/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | 3 | # vercheck-pkgbuild: auto 4 | # vercheck-ubuntu: name=${pkgname}, repo=yakkety 5 | 6 | pkgname=unity-api 7 | _actual_ver=7.119 8 | _extra_ver=+16.10.20160909 9 | pkgver=${_actual_ver}${_extra_ver/\+/.} 10 | pkgrel=1 11 | pkgdesc="API for Unity shell integration" 12 | arch=(i686 x86_64) 13 | url="https://launchpad.net/unity-api" 14 | license=(LGPL) 15 | groups=(unity) 16 | depends=(glib2) 17 | makedepends=(cmake doxygen graphviz python qt5-base) 18 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${_actual_ver}${_extra_ver}.orig.tar.gz") 19 | sha512sums=('110d1681f2a88fdf126424d87597ae55f4792fa6fa94fee0be61a0904ca5d365d30850f6cba25b37500d5475c572edca4f09007482e0275b8f63ca2891cd4483') 20 | 21 | build() { 22 | mkdir -p build 23 | cd build 24 | cmake .. \ 25 | -DCMAKE_INSTALL_PREFIX=/usr \ 26 | -DCMAKE_INSTALL_LIBDIR=/usr/lib \ 27 | -DNO_TESTS=TRUE 28 | make 29 | } 30 | 31 | package() { 32 | cd build 33 | make DESTDIR="${pkgdir}/" install 34 | } 35 | -------------------------------------------------------------------------------- /unity-asset-pool/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Original Maintainer: György Balló 3 | # Contributor: thn81 4 | 5 | # vercheck-pkgbuild: auto 6 | # vercheck-ubuntu: name=${pkgname}, repo=yakkety 7 | # vercheck-launchpad: name=${pkgname} 8 | 9 | pkgname=unity-asset-pool 10 | _actual_ver=0.8.24 11 | _extra_ver=+15.04.20141217 12 | pkgver=${_actual_ver}${_extra_ver/\+/.} 13 | pkgrel=1 14 | epoch=1 15 | pkgdesc="Design assets for Unity" 16 | arch=(any) 17 | url="https://launchpad.net/unity-asset-pool" 18 | license=(GPL) 19 | depends=(gnome-icon-theme) 20 | makedepends=(icon-naming-utils) 21 | groups=(unity) 22 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/unity-asset-pool_${_actual_ver}${_extra_ver}.orig.tar.gz" 23 | archlinux-icon-tango-22.png 24 | archlinux-icon-tango-24.png) 25 | sha512sums=('cd7b55b896b71c62f62e43886fc32294ac444b821bf255f725a599dd13558829d8dcb4f0e51c581ae2e232804f1d9a6aa629eb9f015abe313d1d6986bfc23cf2' 26 | '39d4bdec83581562c17e232b29af92596cd838509983581f5637dc7534e51330c794918df4190dd54b4b5b641a5687aef914f68159ea9ec2ca4e377f707eb681' 27 | '37021e5f93371cb78ea71d150dee840cb76f4590de79b057a6a72a60d88168b09c2ef7fe96ec552cfe977b3a416437e700efc82876aaefb75c4b4745659e0993') 28 | 29 | package() { 30 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 31 | 32 | install -dm755 "${pkgdir}/usr/share/unity/themes/" 33 | install -m644 launcher/* "${pkgdir}/usr/share/unity/themes/" 34 | install -m644 panel/* "${pkgdir}/usr/share/unity/themes/" 35 | 36 | install -dm755 "${pkgdir}/usr/share/icons/" 37 | find unity-icon-theme/ -type f -exec install -Dm644 {} "${pkgdir}"/usr/share/icons/{} \; 38 | install -m644 "${srcdir}/archlinux-icon-tango-22.png" "${pkgdir}/usr/share/icons/unity-icon-theme/places/22/distributor-logo.png" 39 | install -m644 "${srcdir}/archlinux-icon-tango-24.png" "${pkgdir}/usr/share/icons/unity-icon-theme/places/24/distributor-logo.png" 40 | 41 | # From debian/rules 42 | for i in $(find "${pkgdir}/usr/share/icons" -mindepth 2 -maxdepth 2 -type d); do 43 | cd "${i}" 44 | for j in *; do 45 | /usr/lib/icon-naming-utils/icon-name-mapping -c "${j}" 46 | done 47 | done 48 | } 49 | -------------------------------------------------------------------------------- /unity-asset-pool/archlinux-icon-tango-22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenxiaolong/Unity-for-Arch/690714068bd0ca87a3ecbf2852a06b8362a371ab/unity-asset-pool/archlinux-icon-tango-22.png -------------------------------------------------------------------------------- /unity-asset-pool/archlinux-icon-tango-24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenxiaolong/Unity-for-Arch/690714068bd0ca87a3ecbf2852a06b8362a371ab/unity-asset-pool/archlinux-icon-tango-24.png -------------------------------------------------------------------------------- /unity-control-center/0001-Revert-54_enable_alt_tap_in_shortcut.patch.patch: -------------------------------------------------------------------------------- 1 | From 97a39acd90d60edb9b0b4c34220dabc2b2ee0a40 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Mon, 29 Sep 2014 01:08:58 -0400 4 | Subject: [PATCH 1/8] Revert 54_enable_alt_tap_in_shortcut.patch 5 | 6 | --- 7 | panels/keyboard/cc-keyboard-item.c | 20 +------------------- 8 | panels/keyboard/keyboard-shortcuts.c | 2 +- 9 | 2 files changed, 2 insertions(+), 20 deletions(-) 10 | 11 | diff --git a/panels/keyboard/cc-keyboard-item.c b/panels/keyboard/cc-keyboard-item.c 12 | index f767d4e..56eb4af 100644 13 | --- a/panels/keyboard/cc-keyboard-item.c 14 | +++ b/panels/keyboard/cc-keyboard-item.c 15 | @@ -143,25 +143,14 @@ _set_binding (CcKeyboardItem *item, 16 | const char *value, 17 | gboolean set_backend) 18 | { 19 | - /* don't reassign or key in the callback to the binding itself (as it's invalid for the cell renderer) */ 20 | - if ((g_strcmp0 (value, "") == 0) || (g_strcmp0 (value, "") == 0)) 21 | - return; 22 | - 23 | g_free (item->binding); 24 | item->binding = g_strdup (value); 25 | binding_from_string (item->binding, &item->keyval, &item->keycode, &item->mask); 26 | 27 | - const char *key; 28 | - char *cheated_modifier = NULL; 29 | - if (g_strcmp0 (item->binding, "Alt_L") == 0) 30 | - cheated_modifier = g_strdup_printf ("<%s>", item->binding); 31 | - 32 | if (set_backend == FALSE) 33 | return; 34 | 35 | - settings_set_binding (item->settings, item->key, cheated_modifier ? cheated_modifier: item->binding); 36 | - 37 | - g_free (cheated_modifier); 38 | + settings_set_binding (item->settings, item->key, item->binding); 39 | } 40 | 41 | const char * 42 | @@ -452,13 +441,6 @@ cc_keyboard_item_load_from_gsettings (CcKeyboardItem *item, 43 | item->settings = g_settings_new (item->schema); 44 | item->binding = settings_get_binding (item->settings, item->key); 45 | item->editable = g_settings_is_writable (item->settings, item->key); 46 | - 47 | - if ((g_strcmp0 (item->binding, "") == 0) || (g_strcmp0 (item->binding, "") == 0)) 48 | - { 49 | - g_free (item->binding); 50 | - item->binding = g_strdup ("Alt_L"); 51 | - } 52 | - 53 | binding_from_string (item->binding, &item->keyval, &item->keycode, &item->mask); 54 | 55 | signal_name = g_strdup_printf ("changed::%s", item->key); 56 | diff --git a/panels/keyboard/keyboard-shortcuts.c b/panels/keyboard/keyboard-shortcuts.c 57 | index c2dc943..639c6ba 100644 58 | --- a/panels/keyboard/keyboard-shortcuts.c 59 | +++ b/panels/keyboard/keyboard-shortcuts.c 60 | @@ -1718,7 +1718,7 @@ setup_dialog (CcPanel *panel, GtkBuilder *builder) 61 | gtk_tree_view_append_column (treeview, column); 62 | 63 | renderer = (GtkCellRenderer *) g_object_new (GTK_TYPE_CELL_RENDERER_ACCEL, 64 | - "accel-mode", GTK_CELL_RENDERER_ACCEL_MODE_MODIFIER_TAP, 65 | + "accel-mode", GTK_CELL_RENDERER_ACCEL_MODE_OTHER, 66 | NULL); 67 | 68 | g_signal_connect (treeview, "button_press_event", 69 | -- 70 | 2.8.2 71 | 72 | -------------------------------------------------------------------------------- /unity-control-center/0002-Skip-region-panel.patch: -------------------------------------------------------------------------------- 1 | From 8613c2f04b2343895d993558dab6c678df0f8750 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Sat, 11 Oct 2014 18:50:22 -0400 4 | Subject: [PATCH 2/8] Skip region panel 5 | 6 | --- 7 | panels/Makefile.am | 1 - 8 | 1 file changed, 1 deletion(-) 9 | 10 | diff --git a/panels/Makefile.am b/panels/Makefile.am 11 | index 5ed02c6..5a67273 100644 12 | --- a/panels/Makefile.am 13 | +++ b/panels/Makefile.am 14 | @@ -7,7 +7,6 @@ SUBDIRS= \ 15 | color \ 16 | display \ 17 | mouse \ 18 | - region \ 19 | info \ 20 | sound \ 21 | keyboard \ 22 | -- 23 | 2.8.2 24 | 25 | -------------------------------------------------------------------------------- /unity-control-center/0005-Allow-gnome-control-center-to-run-at-the-same-time.patch: -------------------------------------------------------------------------------- 1 | From be3be4c5320920a23d7e09fa08ef2a3cf066dda7 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Sun, 8 Jun 2014 16:54:41 -0400 4 | Subject: [PATCH 5/8] Allow gnome-control-center to run at the same time 5 | 6 | --- 7 | shell/control-center.c | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/shell/control-center.c b/shell/control-center.c 11 | index de27113..a91eba1 100644 12 | --- a/shell/control-center.c 13 | +++ b/shell/control-center.c 14 | @@ -308,7 +308,7 @@ main (int argc, char **argv) 15 | shell = gnome_control_center_new (); 16 | 17 | /* enforce single instance of this application */ 18 | - application = gtk_application_new ("org.gnome.ControlCenter", G_APPLICATION_HANDLES_COMMAND_LINE); 19 | + application = gtk_application_new ("org.gnome.ControlCenterUnity", G_APPLICATION_HANDLES_COMMAND_LINE); 20 | g_signal_connect (application, "startup", 21 | G_CALLBACK (application_startup_cb), shell); 22 | g_signal_connect (application, "command-line", 23 | -- 24 | 2.8.2 25 | 26 | -------------------------------------------------------------------------------- /unity-control-center/0006-Remove-overlay-scrollbar-from-GTK_MODULES.patch: -------------------------------------------------------------------------------- 1 | From f76eb169510d94f028001423f759ed4cd142fe59 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Mon, 9 Jun 2014 15:32:07 -0400 4 | Subject: [PATCH 6/8] Remove overlay-scrollbar from GTK_MODULES 5 | 6 | --- 7 | shell/control-center.c | 23 +++++++++++++++++++++++ 8 | 1 file changed, 23 insertions(+) 9 | 10 | diff --git a/shell/control-center.c b/shell/control-center.c 11 | index a91eba1..f484351 100644 12 | --- a/shell/control-center.c 13 | +++ b/shell/control-center.c 14 | @@ -281,9 +281,32 @@ application_startup_cb (GApplication *application, 15 | */ 16 | } 17 | 18 | +void 19 | +remove_substring(char *src, const char *remove) 20 | +{ 21 | + while (src = strstr (src, remove)) { 22 | + memmove (src, src + strlen (remove), strlen (src + strlen(remove)) + 1); 23 | + } 24 | +} 25 | + 26 | +void 27 | +remove_overlay_scrollbars () 28 | +{ 29 | + char *temp = getenv ("GTK_MODULES"); 30 | + if (temp == NULL) { 31 | + return; 32 | + } 33 | + 34 | + char *modules = strdup (temp); 35 | + remove_substring (modules, "overlay-scrollbar"); 36 | + setenv ("GTK_MODULES", modules, 1); 37 | + free (modules); 38 | +} 39 | + 40 | int 41 | main (int argc, char **argv) 42 | { 43 | + remove_overlay_scrollbars (); 44 | GnomeControlCenter *shell; 45 | GtkApplication *application; 46 | int status; 47 | -- 48 | 2.8.2 49 | 50 | -------------------------------------------------------------------------------- /unity-control-center/0007-Rename-libgnome-bluetooth-to-libunity-bluetooth.patch: -------------------------------------------------------------------------------- 1 | From 251777027c92afc71d4d0b5ca4ccd53762b1992c Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Mon, 25 Jan 2016 17:21:12 -0500 4 | Subject: [PATCH 7/8] Rename libgnome-bluetooth to libunity-bluetooth 5 | 6 | --- 7 | panels/bluetooth/Makefile.am | 2 +- 8 | panels/bluetooth/gnome-bluetooth/lib/Makefile.am | 6 +++--- 9 | panels/bluetooth/gnome-bluetooth/wizard/Makefile.am | 2 +- 10 | 3 files changed, 5 insertions(+), 5 deletions(-) 11 | 12 | diff --git a/panels/bluetooth/Makefile.am b/panels/bluetooth/Makefile.am 13 | index 9feb00b..497823c 100644 14 | --- a/panels/bluetooth/Makefile.am 15 | +++ b/panels/bluetooth/Makefile.am 16 | @@ -30,7 +30,7 @@ libbluetooth_la_SOURCES = \ 17 | libbluetooth_la_LIBADD = \ 18 | $(PANEL_LIBS) \ 19 | $(BLUETOOTH_PANEL_LIBS) \ 20 | - $(builddir)/gnome-bluetooth/lib/libgnome-bluetooth.la 21 | + $(builddir)/gnome-bluetooth/lib/libunity-bluetooth.la 22 | 23 | libbluetooth_la_LDFLAGS = $(PANEL_LDFLAGS) 24 | 25 | diff --git a/panels/bluetooth/gnome-bluetooth/lib/Makefile.am b/panels/bluetooth/gnome-bluetooth/lib/Makefile.am 26 | index 50e5369..fc39095 100644 27 | --- a/panels/bluetooth/gnome-bluetooth/lib/Makefile.am 28 | +++ b/panels/bluetooth/gnome-bluetooth/lib/Makefile.am 29 | @@ -1,7 +1,7 @@ 30 | EXTRA_DIST = 31 | CLEANFILES = 32 | 33 | -lib_LTLIBRARIES = libgnome-bluetooth.la 34 | +lib_LTLIBRARIES = libunity-bluetooth.la 35 | 36 | # will be scanned for introspection annotation, but won't be installed 37 | libgnome_bluetooth_c_sources = \ 38 | @@ -25,11 +25,11 @@ libgnome_bluetooth_private_headers = \ 39 | bluetooth-fdo-glue.h 40 | 41 | # public headers don't need to be listed, are handled by _HEADERS 42 | -libgnome_bluetooth_la_SOURCES = \ 43 | +libunity_bluetooth_la_SOURCES = \ 44 | $(libgnome_bluetooth_private_headers) \ 45 | $(libgnome_bluetooth_c_sources) 46 | 47 | -libgnome_bluetooth_la_LIBADD = $(BLUETOOTH_PANEL_LIBS) 48 | +libunity_bluetooth_la_LIBADD = $(BLUETOOTH_PANEL_LIBS) 49 | 50 | libgnome_bluetooth_introspect_headers = \ 51 | bluetooth-client.h \ 52 | diff --git a/panels/bluetooth/gnome-bluetooth/wizard/Makefile.am b/panels/bluetooth/gnome-bluetooth/wizard/Makefile.am 53 | index 39f12c4..53d2414 100644 54 | --- a/panels/bluetooth/gnome-bluetooth/wizard/Makefile.am 55 | +++ b/panels/bluetooth/gnome-bluetooth/wizard/Makefile.am 56 | @@ -9,7 +9,7 @@ bin_PROGRAMS = bluetooth-wizard 57 | 58 | bluetooth_wizard_SOURCES = main.c 59 | 60 | -bluetooth_wizard_LDADD = $(builddir)/../lib/libgnome-bluetooth.la libwizard.la $(BLUETOOTH_PANEL_LIBS) $(LIBM) 61 | +bluetooth_wizard_LDADD = $(builddir)/../lib/libunity-bluetooth.la libwizard.la $(BLUETOOTH_PANEL_LIBS) $(LIBM) 62 | bluetooth_wizard_LDFLAGS = -rdynamic 63 | 64 | AM_CFLAGS = $(BLUETOOTH_PANEL_CFLAGS) $(WARN_CFLAGS) $(DISABLE_DEPRECATED) -DPKGDATADIR="\"$(pkgdatadir)\"" 65 | -- 66 | 2.8.2 67 | 68 | -------------------------------------------------------------------------------- /unity-control-center/0008-Move-faces-images-usr-share-pixmaps-faces-unity.patch: -------------------------------------------------------------------------------- 1 | From 5f52f3573d66730af87ccaababcc828019aebf8f Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Mon, 25 Jan 2016 17:24:39 -0500 4 | Subject: [PATCH 8/8] Move faces images /usr/share/pixmaps/faces{,-unity} 5 | 6 | --- 7 | panels/user-accounts/data/faces/Makefile.am | 2 +- 8 | panels/user-accounts/um-photo-dialog.c | 2 +- 9 | 2 files changed, 2 insertions(+), 2 deletions(-) 10 | 11 | diff --git a/panels/user-accounts/data/faces/Makefile.am b/panels/user-accounts/data/faces/Makefile.am 12 | index a9c39cc..05d3b06 100644 13 | --- a/panels/user-accounts/data/faces/Makefile.am 14 | +++ b/panels/user-accounts/data/faces/Makefile.am 15 | @@ -1,5 +1,5 @@ 16 | 17 | -imagedir = $(datadir)/pixmaps/faces 18 | +imagedir = $(datadir)/pixmaps/faces-unity 19 | 20 | image_DATA = \ 21 | astronaut.jpg \ 22 | diff --git a/panels/user-accounts/um-photo-dialog.c b/panels/user-accounts/um-photo-dialog.c 23 | index 81f990a..7bd729b 100644 24 | --- a/panels/user-accounts/um-photo-dialog.c 25 | +++ b/panels/user-accounts/um-photo-dialog.c 26 | @@ -388,7 +388,7 @@ setup_photo_popup (UmPhotoDialog *um) 27 | for (i = 0; dirs[i] != NULL; i++) { 28 | char *path; 29 | 30 | - path = g_build_filename (dirs[i], "pixmaps", "faces", NULL); 31 | + path = g_build_filename (dirs[i], "pixmaps", "faces-unity", NULL); 32 | dir = g_dir_open (path, 0, NULL); 33 | if (dir == NULL) { 34 | g_free (path); 35 | -- 36 | 2.8.2 37 | 38 | -------------------------------------------------------------------------------- /unity-control-center/system-config-printer-unity.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=Print Settings 3 | Name[ar]=إعدادات الطباعة 4 | Name[as]=প্ৰিন্ট সংহতিসমূহ 5 | Name[bg]=Принтерни настройки 6 | Name[bn_IN]=প্রিন্ট সংক্রান্ত বৈশিষ্ট্য 7 | Name[ca]=Paràmetres d'impressió 8 | Name[cs]=Nastavení tisku 9 | Name[da]=Udskriftsindstillinger 10 | Name[de]=Druckeinstellungen 11 | Name[el]=Εκτύπωση Ρυθμίσεων 12 | Name[en_GB]=Print Settings 13 | Name[es]=Configuración de impresión 14 | Name[et]=Trükkimise seaded 15 | Name[fi]=Tulostusasetukset 16 | Name[fr]=Configuration de l'impression 17 | Name[gu]=પ્રિન્ટ સુયોજનો 18 | Name[hi]=छपाई सेटिंग 19 | Name[hu]=Nyomtatási beállítások 20 | Name[it]=Impostazioni di stampa 21 | Name[ja]=印刷設定 22 | Name[kn]=ಮುದ್ರಣದ ಸಿದ್ಧತೆಗಳು 23 | Name[ko]=인쇄 설정 24 | Name[lv]=Drukāšanas iestatījumi 25 | Name[ml]=പ്രിന്റ് സജ്ജീകരണങ്ങള്‍ 26 | Name[mr]=छपाई सेटिंग्स् 27 | Name[nb]=Innstillinger for utskrift 28 | Name[nl]=Afdrukinstellingen 29 | Name[or]=ମୂଦ୍ରଣୀ ସଂରଚନା 30 | Name[pa]=ਪਰਿੰਟ ਸੈਟਿੰਗ 31 | Name[pl]=Ustawienia drukowania 32 | Name[pt]=Configurações da Impressora 33 | Name[pt_BR]=Configurações da impressora 34 | Name[ru]=Настройки принтера 35 | Name[sl]=Nastavitve tiskanja 36 | Name[sv]=Skrivarinställningar 37 | Name[ta]=அச்சு அமைவுகள் 38 | Name[te]=ముద్రణ అమరికలు 39 | Name[uk]=Параметри друку 40 | Name[zh_CN]=打印设置 41 | Name[zh_TW]=列印設定值 42 | Comment=Configure printers 43 | Comment[ar]=اضبط الطابعات 44 | Comment[as]=মুদ্ৰকৰ বিন্যাস কৰক 45 | Comment[bg]=Настройка на принтерите 46 | Comment[bn]=প্রিন্টার কনফিগার করুন 47 | Comment[bn_IN]=প্রিন্টার কনফিগার করুন 48 | Comment[br]=Kefluniañ ar voullerezed 49 | Comment[bs]=Konfiguriranje pisača 50 | Comment[ca]=Configureu les impressores 51 | Comment[cs]=Nastavit tiskárny 52 | Comment[da]=Indstil printere 53 | Comment[de]=Drucker konfigurieren 54 | Comment[el]=Ρύθμιση εκτυπωτών 55 | Comment[en_GB]=Configure printers 56 | Comment[es]=Configurar impresoras 57 | Comment[et]=Printerite seadistamine 58 | Comment[fa]=پیکربندی چاپگرها 59 | Comment[fi]=Muokkaa tulostimien asetuksia 60 | Comment[fr]=Configurer les imprimantes 61 | Comment[gu]=પ્રિન્ટરો રૂપરેખાંકિત કરો 62 | Comment[he]=הגדרת מדפסות 63 | Comment[hi]=मुद्रक विन्यस्त करें 64 | Comment[hr]=Konfiguriranje pisača 65 | Comment[hu]=Nyomtatók beállítása 66 | Comment[id]=Konfigurasi pencetak 67 | Comment[is]=Stilla prentara 68 | Comment[it]=Configura le stampanti 69 | Comment[ja]=プリンターの設定 70 | Comment[kn]=ಮುದ್ರಕವನ್ನು ಸ್ವರೂಪಿಸು 71 | Comment[ko]=프린터 설정 72 | Comment[lv]=Konfigurēt printerus 73 | Comment[ml]=പ്രിന്‍ററുകള്‍ സജ്ജമാക്കുക 74 | Comment[mr]=मुद्रक व्यूहरचित करा 75 | Comment[ms]=Tetapkan pencetak 76 | Comment[nb]=Konfigurer skrivere 77 | Comment[nl]=Printers configureren 78 | Comment[nn]=Set opp skrivarar 79 | Comment[or]=ମୁଦ୍ରଣୀ ମାନଙ୍କୁ ବିନ୍ଯାସ କରନ୍ତୁ 80 | Comment[pa]=ਪਰਿੰਟਰ ਸੰਰਚਨਾ 81 | Comment[pl]=Konfiguracja drukarek 82 | Comment[pt]=Configurar impressoras 83 | Comment[pt_BR]=Configure impressoras 84 | Comment[ro]=Configurează imprimantele 85 | Comment[ru]=Настроить принтеры 86 | Comment[si]=මුද්‍රකයන් මානකරන්න 87 | Comment[sk]=Konfigurovať tlačiarne 88 | Comment[sl]=Konfiguracija tiskalnikov 89 | Comment[sr]=Подешавање штампача 90 | Comment[sr@latin]=Podešavanje štampača 91 | Comment[sv]=Konfigurera skrivare 92 | Comment[ta]=அச்சடிப்பிகளை கட்டமைக்கவும் 93 | Comment[te]=ముద్రకాలను ఆకృతీకరించు 94 | Comment[th]=ตั้งค่าเครื่องพิมพ์ 95 | Comment[tr]=Yazıcıları yapılandır 96 | Comment[uk]=Налаштовування принтерів 97 | Comment[vi]=Cấu hình máy in 98 | Comment[zh_CN]=配置打印机 99 | Comment[zh_TW]=設定印表機 100 | Exec=system-config-printer 101 | Terminal=false 102 | Type=Application 103 | Icon=printer 104 | StartupNotify=true 105 | OnlyShowIn=Unity; 106 | Categories=GNOME;GTK;Settings;HardwareSettings;X-Unity-Settings-Panel; 107 | X-Unity-Settings-Panel=printing 108 | Keywords=Printer;Queue;Print;Paper;Ink;Toner; 109 | -------------------------------------------------------------------------------- /unity-gtk-module/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | 3 | # vercheck-pkgbuild: auto 4 | # vercheck-ubuntu: name=${pkgname}, repo=zesty 5 | 6 | pkgname=unity-gtk-module 7 | _actual_ver=0.0.0 8 | _extra_ver=+16.10.20160913 9 | pkgver=${_actual_ver}${_extra_ver/\+/.} 10 | pkgrel=2 11 | epoch=2 12 | pkgdesc="Unity GTK+ Module" 13 | arch=(i686 x86_64) 14 | url="https://launchpad.net/unity-gtk-module" 15 | license=(GPL) 16 | groups=(unity) 17 | depends=(gtk2-ubuntu gtk3) 18 | makedepends=(gtk-doc) 19 | provides=(appmenu-gtk2 appmenu-gtk3) 20 | replaces=(appmenu-gtk2 appmenu-gtk3) 21 | conflicts=(appmenu-gtk2 appmenu-gtk3) 22 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/unity-gtk-module_${_actual_ver}${_extra_ver}.orig.tar.gz") 23 | sha512sums=('41579c144c3baf6ed2db047cce26db32aee9681a5d73a9f015d3ffd7ba08625ad13244b3f413c47decfc2e2ec304cd5592a7d0974157af993b5c1df21077c324') 24 | 25 | build() { 26 | #cd "${pkgname}-${_actual_ver}${_extra_ver}" 27 | 28 | autoreconf -vfi 29 | 30 | [ -d build-gtk2 ] || mkdir build-gtk2 31 | pushd build-gtk2 32 | ../configure --prefix=/usr --sysconfdir=/etc --with-gtk=2 --enable-gtk-doc \ 33 | --disable-static 34 | make 35 | popd 36 | 37 | [ -d build-gtk3 ] || mkdir build-gtk3 38 | pushd build-gtk3 39 | ../configure --prefix=/usr --sysconfdir=/etc --with-gtk=3 --enable-gtk-doc \ 40 | --disable-static 41 | make 42 | popd 43 | } 44 | 45 | package() { 46 | #cd "${pkgname}-${_actual_ver}${_extra_ver}" 47 | 48 | pushd build-gtk2 49 | make DESTDIR="${pkgdir}/" install 50 | popd 51 | 52 | pushd build-gtk3 53 | make DESTDIR="${pkgdir}/" install 54 | popd 55 | 56 | rm -rv "${pkgdir}"/usr/share/upstart/ 57 | } 58 | -------------------------------------------------------------------------------- /unity-lens-applications/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Original Maintainer: György Balló 3 | # Contributor: thn81 4 | 5 | # vercheck-pkgbuild: auto 6 | # vercheck-ubuntu: name=${pkgname}, repo=yakkety 7 | # vercheck-launchpad: name=${pkgname} 8 | 9 | pkgname=unity-lens-applications 10 | _actual_ver=7.1.0 11 | _extra_ver=+16.10.20160927 12 | pkgver=${_actual_ver}${_extra_ver/+/.} 13 | pkgrel=1 14 | epoch=1 15 | pkgdesc="A daemon that exposes you applications with their usage statistics and status to Unity" 16 | arch=(i686 x86_64) 17 | url="https://launchpad.net/unity-lens-applications" 18 | license=(GPL) 19 | depends=(dconf gnome-menus libcolumbus libgee libunity libzeitgeist 20 | xapian-core zeitgeist-ubuntu) 21 | makedepends=(vala intltool) 22 | groups=(unity) 23 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/unity-lens-applications_${_actual_ver}${_extra_ver}.orig.tar.gz") 24 | sha512sums=('d93d556f2369fbf54b96f42c9c4b4899f3cf029ba22db375bb2549df0e4bd8052d25d77a328330894de7ecab4ae5ab5683bafc6ce6991be050eb1714a9792db5') 25 | 26 | build() { 27 | aclocal --install --force 28 | autoreconf -vfi 29 | intltoolize -f 30 | 31 | ./configure \ 32 | --prefix=/usr \ 33 | --sysconfdir=/etc \ 34 | --disable-static \ 35 | --libexecdir=/usr/lib/${pkgname} \ 36 | --disable-schemas-compile 37 | make 38 | } 39 | 40 | package() { 41 | make DESTDIR="${pkgdir}/" install 42 | 43 | # Use language packs 44 | rm -r "${pkgdir}/usr/locale/" 45 | } 46 | -------------------------------------------------------------------------------- /unity-lens-files/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Original Maintainer: György Balló 3 | # Contributor: thn81 4 | 5 | # vercheck-pkgbuild: auto 6 | # vercheck-ubuntu: name=${pkgname}, repo=yakkety 7 | # vercheck-launchpad: name=${pkgname} 8 | 9 | pkgname=unity-lens-files 10 | _actual_ver=7.1.0 11 | _extra_ver=+16.04.20151217 12 | pkgver=${_actual_ver}${_extra_ver/\+/.} 13 | pkgrel=3 14 | epoch=1 15 | pkgdesc="A daemon exposing your files and file history to Unity" 16 | arch=(i686 x86_64) 17 | url="https://launchpad.net/unity-place-files" 18 | license=(GPL) 19 | depends=(zeitgeist-ubuntu libgee libunity libxdg-basedir xdg-user-dirs pyxdg 20 | dconf) 21 | makedepends=(vala intltool) 22 | groups=(unity) 23 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/unity-lens-files_${_actual_ver}${_extra_ver}.orig.tar.gz") 24 | sha512sums=('d69fca31954867ab377755f19340936bd17b91c7836e200560e4d08ce11bf62c319c07ace4a9acfe5e55521cfd4fe47c4579692c183423a72a2140b956b14606') 25 | 26 | build() { 27 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 28 | 29 | aclocal --install --force 30 | autoreconf -vfi 31 | intltoolize -f 32 | ./configure --prefix=/usr --libexecdir=/usr/lib/${pkgname} --disable-static 33 | make 34 | } 35 | 36 | package() { 37 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 38 | 39 | make DESTDIR="${pkgdir}/" install 40 | 41 | # Use language packs 42 | rm -r "${pkgdir}/usr/locale/" 43 | } 44 | -------------------------------------------------------------------------------- /unity-lens-music/0001-Remove-broken-reference-to-musicstore.scope.in.patch: -------------------------------------------------------------------------------- 1 | From eef2b96328e6dc50852b7acbff5559ea84715479 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Mon, 25 Jan 2016 21:14:50 -0500 4 | Subject: [PATCH] Remove broken reference to musicstore.scope.in 5 | 6 | --- 7 | Makefile.am | 3 +-- 8 | 1 file changed, 1 insertion(+), 2 deletions(-) 9 | 10 | diff --git a/Makefile.am b/Makefile.am 11 | index 0aca69a..4fd6e84 100644 12 | --- a/Makefile.am 13 | +++ b/Makefile.am 14 | @@ -5,8 +5,7 @@ SUBDIRS = src data po tests 15 | # 16 | scope_in_files = \ 17 | banshee.scope.in \ 18 | - rhythmbox.scope.in \ 19 | - musicstore.scope.in 20 | + rhythmbox.scope.in 21 | scopedir = $(SCOPESDIR)/music 22 | scope_DATA = $(scope_in_files:.scope.in=.scope) 23 | 24 | -- 25 | 2.7.0 26 | 27 | -------------------------------------------------------------------------------- /unity-lens-music/0001-Use-libgee.patch: -------------------------------------------------------------------------------- 1 | From e7c00cd5d187b21b6539e77fe4ba56dd15366270 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Fri, 13 May 2016 23:00:55 -0400 4 | Subject: [PATCH] Use libgee 5 | 6 | --- 7 | configure.ac | 2 +- 8 | src/Makefile.am | 2 +- 9 | tests/unit/Makefile.am | 2 +- 10 | 3 files changed, 3 insertions(+), 3 deletions(-) 11 | 12 | diff --git a/configure.ac b/configure.ac 13 | index 1f1831b..1fc8f21 100644 14 | --- a/configure.ac 15 | +++ b/configure.ac 16 | @@ -73,7 +73,7 @@ PKG_CHECK_MODULES(SCOPE_DAEMON, 17 | gio-unix-2.0 >= $GLIB_REQUIRED 18 | dee-1.0 >= 1.2.5 19 | sqlite3 >= 3.7.7 20 | - gee-1.0 21 | + gee-0.8 22 | json-glib-1.0 23 | libnotify 24 | libsoup-2.4 25 | diff --git a/src/Makefile.am b/src/Makefile.am 26 | index 87a54a1..0c0470e 100644 27 | --- a/src/Makefile.am 28 | +++ b/src/Makefile.am 29 | @@ -31,7 +31,7 @@ unity_music_daemon_VALAFLAGS = \ 30 | --pkg sqlite3 \ 31 | --pkg unity \ 32 | --pkg unity-extras \ 33 | - --pkg gee-1.0 \ 34 | + --pkg gee-0.8 \ 35 | --pkg gio-2.0 \ 36 | --pkg gio-unix-2.0 \ 37 | --pkg glib-2.0 \ 38 | diff --git a/tests/unit/Makefile.am b/tests/unit/Makefile.am 39 | index 667c969..15f4d46 100644 40 | --- a/tests/unit/Makefile.am 41 | +++ b/tests/unit/Makefile.am 42 | @@ -15,7 +15,7 @@ AM_LDFLAGS = $(COVERAGE_LDFLAGS) 43 | AM_VALAFLAGS = \ 44 | -C \ 45 | --pkg dee-1.0 \ 46 | - --pkg gee-1.0 \ 47 | + --pkg gee-0.8 \ 48 | --pkg gio-2.0 \ 49 | --pkg gio-unix-2.0 \ 50 | --pkg glib-2.0 \ 51 | -- 52 | 2.8.2 53 | 54 | -------------------------------------------------------------------------------- /unity-lens-music/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Original Maintainer: György Balló 3 | # Contributor: thn81 4 | 5 | # vercheck-pkgbuild: auto 6 | # vercheck-ubuntu: name=${pkgname}, repo=yakkety 7 | # vercheck-launchpad: name=${pkgname} 8 | 9 | pkgname=unity-lens-music 10 | _actual_ver=6.9.1 11 | _extra_ver=+16.04 12 | pkgver=${_actual_ver}${_extra_ver/+/.} 13 | pkgrel=2 14 | epoch=1 15 | pkgdesc="Music, in the dash" 16 | arch=(i686 x86_64) 17 | url="https://launchpad.net/unity-place-music" 18 | license=(GPL) 19 | depends=(gstreamer gst-plugins-base libgee libnotify liboauth libsoup libunity 20 | tdb) 21 | makedepends=(vala intltool json-glib) 22 | groups=(unity) 23 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/unity-lens-music_${_actual_ver}${_extra_ver}.orig.tar.gz" 24 | 0001-Remove-broken-reference-to-musicstore.scope.in.patch 25 | 0001-Use-libgee.patch) 26 | sha512sums=('fb97b3d6472fe2f97365c3fbd0864bab7f19aacaeb9cb3439a4bfc5a0506a26b8ecdb9389189db23549bcede288e04e6af6f6b7b58957ef35e0f8145cda23afc' 27 | 'a63bb4a0740142d70d4c0855a0011368202efe691c5b047629fcff1d671795ac91bd3cc506786b2849d60463c962c1dfb604c449af70f1902b1e0a0e210a3da5' 28 | '2e15bcbd663550a4289a0870d971b71705950a9b23ef1c869396d945a58c0cf5369710229bd268c1e0412916bcaaf15dbe51c153fb8ff6fb35d3b7819b42e8c9') 29 | 30 | prepare() { 31 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 32 | patch -p1 -i ../0001-Remove-broken-reference-to-musicstore.scope.in.patch 33 | patch -p1 -i ../0001-Use-libgee.patch 34 | } 35 | 36 | build() { 37 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 38 | 39 | ./autogen.sh \ 40 | --prefix=/usr \ 41 | --libexecdir=/usr/lib/${pkgname} \ 42 | --disable-static 43 | make 44 | } 45 | 46 | package() { 47 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 48 | 49 | make DESTDIR="${pkgdir}/" install 50 | } 51 | -------------------------------------------------------------------------------- /unity-lens-photos/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | 3 | # vercheck-pkgbuild: auto 4 | # vercheck-ubuntu: name=${pkgname}, repo=yakkety 5 | # vercheck-launchpad: name=${pkgname} 6 | 7 | pkgname=unity-lens-photos 8 | _actual_ver=1.0 9 | _extra_ver=+14.04.20140318 10 | pkgver=${_actual_ver}${_extra_ver/\+/.} 11 | pkgrel=2 12 | epoch=1 13 | pkgdesc="Unity lens for browsing photos" 14 | arch=(any) 15 | url="https://launchpad.net/unity-lens-photos" 16 | license=(GPL) 17 | groups=(unity) 18 | depends=(python-httplib2 python-gobject python-oauthlib dee libunity libsoup 19 | libsoup-gnome) 20 | makedepends=(python python-distutils-extra) 21 | options=(!emptydirs) 22 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/unity-lens-photos_${_actual_ver}${_extra_ver}.orig.tar.gz") 23 | sha512sums=('8a61f8966dcec0aad69d6134bd67a211a6bc78bc81f997022b2950a556a89b019e9c1d28b5cb1840d85f513d7b8b105f2148903bb03b29647a4302330d4de61d') 24 | 25 | package() { 26 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 27 | 28 | python setup.py install --root="${pkgdir}/" --optimize=1 29 | 30 | # We don't have Ubuntu online accounts 31 | rm "${pkgdir}/usr/share/dbus-1/services/unity-scope-facebook.service" 32 | rm "${pkgdir}/usr/share/dbus-1/services/unity-scope-flickr.service" 33 | rm "${pkgdir}/usr/share/dbus-1/services/unity-scope-picasa.service" 34 | rm "${pkgdir}/usr/share/unity-scopes/facebook/unity_facebook_daemon.py" 35 | rm "${pkgdir}/usr/share/unity-scopes/flickr/unity_flickr_daemon.py" 36 | rm "${pkgdir}/usr/share/unity-scopes/picasa/unity_picasa_daemon.py" 37 | rm "${pkgdir}/usr/share/unity/scopes/photos/facebook.scope" 38 | rm "${pkgdir}/usr/share/unity/scopes/photos/flickr.scope" 39 | rm "${pkgdir}/usr/share/unity/scopes/photos/picasa.scope" 40 | 41 | # Use language packs 42 | rm -r "${pkgdir}/usr/share/locale/" 43 | } 44 | -------------------------------------------------------------------------------- /unity-lens-video/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | 3 | # vercheck-pkgbuild: auto 4 | # vercheck-ubuntu: name=${pkgname}, repo=yakkety 5 | # vercheck-launchpad: name=${pkgname} 6 | 7 | pkgname=unity-lens-video 8 | _actual_ver=0.3.15 9 | _extra_ver=+16.04.20160212.1 10 | pkgver=${_actual_ver}${_extra_ver/\+/.} 11 | pkgrel=2 12 | epoch=1 13 | pkgdesc="Unity Video lens" 14 | arch=(i686 x86_64) 15 | url="https://launchpad.net/unity-lens-videos" 16 | license=(GPL) 17 | depends=(dee json-glib libgee libsoup-gnome libunity libzeitgeist 18 | unity-lens-music) 19 | makedepends=(gnome-common intltool vala) 20 | groups=(unity) 21 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/unity-lens-video_${_actual_ver}${_extra_ver}.orig.tar.gz") 22 | sha512sums=('bf23c2a439e309a9b92281511054a67d88efe28d5db462862c8fd27f6805e93d266043ca55c245c4b5699ca964105b3dfe575aef80997e3a56111f3608b711ba') 23 | 24 | build() { 25 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 26 | 27 | autoreconf -vfi 28 | intltoolize -f 29 | ./configure --prefix=/usr --libexecdir=/usr/lib --enable-headless-tests 30 | make 31 | } 32 | 33 | package() { 34 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 35 | make DESTDIR="${pkgdir}/" install 36 | } 37 | -------------------------------------------------------------------------------- /unity-scope-home/0001-Fix-connection-issue-due-to-untrusted-SSL-CA-certifi.patch: -------------------------------------------------------------------------------- 1 | From a6ec4943a120c69f5f01bf1c8c15629dfd12f850 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Mon, 7 Apr 2014 20:22:05 -0400 4 | Subject: [PATCH 1/4] Fix connection issue due to untrusted SSL CA certificate 5 | 6 | --- 7 | src/smart-scopes-search.vala | 3 ++- 8 | 1 file changed, 2 insertions(+), 1 deletion(-) 9 | 10 | diff --git a/src/smart-scopes-search.vala b/src/smart-scopes-search.vala 11 | index 9e4fb08..eabe963 100644 12 | --- a/src/smart-scopes-search.vala 13 | +++ b/src/smart-scopes-search.vala 14 | @@ -209,7 +209,8 @@ namespace Unity.HomeScope.SmartScopes { 15 | geo_store = Environment.get_variable ("SMART_SCOPES_GEO_STORE"); 16 | 17 | session = new Soup.SessionAsync (); 18 | - session.ssl_use_system_ca_file = true; 19 | + session.ssl_use_system_ca_file = false; 20 | + session.ssl_ca_file = "/etc/ssl/certs/UbuntuOne-Go_Daddy_CA.pem"; 21 | session.ssl_strict = true; 22 | session.user_agent = "Unity Home Scope v" + Config.VERSION; 23 | session.add_feature_by_type (typeof (SoupGNOME.ProxyResolverGNOME)); 24 | -- 25 | 2.1.1 26 | 27 | -------------------------------------------------------------------------------- /unity-scope-home/0002-productsearch.ubuntu.com-only-accepts-locale-string-.patch: -------------------------------------------------------------------------------- 1 | From 2e685f380bdfc611c6de8a46615868afa4c11599 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Mon, 7 Apr 2014 20:27:16 -0400 4 | Subject: [PATCH 2/4] productsearch.ubuntu.com only accepts locale string 5 | without encoding 6 | 7 | --- 8 | src/smart-scopes-search.vala | 6 +++--- 9 | 1 file changed, 3 insertions(+), 3 deletions(-) 10 | 11 | diff --git a/src/smart-scopes-search.vala b/src/smart-scopes-search.vala 12 | index eabe963..55a1bfd 100644 13 | --- a/src/smart-scopes-search.vala 14 | +++ b/src/smart-scopes-search.vala 15 | @@ -238,7 +238,7 @@ namespace Unity.HomeScope.SmartScopes { 16 | var query_dict = new HashTable (str_hash, str_equal); 17 | if (info.locale != null) 18 | { 19 | - query_dict["locale"] = info.locale; 20 | + query_dict["locale"] = info.locale.split (".")[0]; 21 | } 22 | if (info.build_id != null) 23 | { 24 | @@ -393,7 +393,7 @@ namespace Unity.HomeScope.SmartScopes { 25 | if (info.locale != null) 26 | { 27 | sb.append ("&locale="); 28 | - sb.append (info.locale); 29 | + sb.append (info.locale.split (".")[0]); 30 | } 31 | if (info.build_id != null) 32 | { 33 | @@ -453,7 +453,7 @@ namespace Unity.HomeScope.SmartScopes { 34 | if (info.locale != null) 35 | { 36 | sb.append ("&locale="); 37 | - sb.append (info.locale); 38 | + sb.append (info.locale.split (".")[0]); 39 | } 40 | 41 | return sb.str; 42 | -- 43 | 2.1.1 44 | 45 | -------------------------------------------------------------------------------- /unity-scope-home/0003-Show-description-of-error-code.patch: -------------------------------------------------------------------------------- 1 | From 8211b626ded5384d64361585733452a7e472476b Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Mon, 7 Apr 2014 20:27:48 -0400 4 | Subject: [PATCH 3/4] Show description of error code 5 | 6 | --- 7 | src/smart-scopes-search.vala | 4 +++- 8 | 1 file changed, 3 insertions(+), 1 deletion(-) 9 | 10 | diff --git a/src/smart-scopes-search.vala b/src/smart-scopes-search.vala 11 | index 55a1bfd..80b97ea 100644 12 | --- a/src/smart-scopes-search.vala 13 | +++ b/src/smart-scopes-search.vala 14 | @@ -493,9 +493,11 @@ namespace Unity.HomeScope.SmartScopes { 15 | 16 | if (cancellable != null) 17 | cancellable.disconnect (cancel_id); 18 | + 19 | + string reason = Soup.Status.get_phrase (msg.status_code); 20 | 21 | if (msg.status_code < 100) 22 | - throw new IOError.FAILED ("Request failed with error %u", msg.status_code); 23 | + throw new IOError.FAILED ("Request failed with error %u: %s", msg.status_code, reason); 24 | 25 | if (msg.status_code != 200) 26 | { 27 | -- 28 | 2.1.1 29 | 30 | -------------------------------------------------------------------------------- /unity-scope-home/0004-Fix-vala-0.26-errors.patch: -------------------------------------------------------------------------------- 1 | From a3478dd58dd1aaef0d60ce7bf01b263e5b0a3f96 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Mon, 29 Sep 2014 14:03:27 -0400 4 | Subject: [PATCH 4/4] Fix vala 0.26 errors 5 | 6 | --- 7 | src/scope.vala | 22 ++++++++++++++++++---- 8 | src/smart-scopes-interface.vala | 3 ++- 9 | src/smart-scopes-parse.vala | 1 + 10 | 3 files changed, 21 insertions(+), 5 deletions(-) 11 | 12 | diff --git a/src/scope.vala b/src/scope.vala 13 | index e3a4fc3..456c012 100644 14 | --- a/src/scope.vala 15 | +++ b/src/scope.vala 16 | @@ -104,7 +104,14 @@ public class HomeScope : Unity.AggregatorScope 17 | scope_mgr.start_master_scopes (); 18 | 19 | debug ("Exporting home scope"); 20 | - export (); 21 | + try 22 | + { 23 | + export (); 24 | + } 25 | + catch (Error e) 26 | + { 27 | + warning ("Cannot export home scope: %s", e.message); 28 | + } 29 | 30 | scope_mgr.notify["remote-content-search"].connect ((obj, pspec) => 31 | { 32 | @@ -570,9 +577,16 @@ public class HomeScope : Unity.AggregatorScope 33 | (activation.action_type == Unity.Protocol.ActionType.ACTIVATE_RESULT || 34 | activation.action_type == Unity.Protocol.ActionType.PREVIEW_RESULT)) 35 | { 36 | - var preview = yield handle_preview (activation, session_id, server_sid); 37 | - handle_metrics (Unity.Protocol.ActionType.PREVIEW_RESULT, scope_id, session_id, server_sid); 38 | - return preview; 39 | + try 40 | + { 41 | + var preview = yield handle_preview (activation, session_id, server_sid); 42 | + handle_metrics (Unity.Protocol.ActionType.PREVIEW_RESULT, scope_id, session_id, server_sid); 43 | + return preview; 44 | + } 45 | + catch (Error e) 46 | + { 47 | + warning ("Preview request for scope %s failed: %s", activation.scope_id, e.message); 48 | + } 49 | } 50 | 51 | handle_metrics (activation.action_type, scope_id, session_id, server_sid); 52 | diff --git a/src/smart-scopes-interface.vala b/src/smart-scopes-interface.vala 53 | index 4cd3a0c..440fdcb 100644 54 | --- a/src/smart-scopes-interface.vala 55 | +++ b/src/smart-scopes-interface.vala 56 | @@ -22,7 +22,8 @@ namespace Unity.HomeScope.SmartScopes { 57 | public enum ScopeType 58 | { 59 | ClientScope, 60 | - ServerScope 61 | + ServerScope, 62 | + InvalidScope 63 | } 64 | 65 | public struct RecommendedScope 66 | diff --git a/src/smart-scopes-parse.vala b/src/smart-scopes-parse.vala 67 | index 5e6b44c..8fb03d4 100644 68 | --- a/src/smart-scopes-parse.vala 69 | +++ b/src/smart-scopes-parse.vala 70 | @@ -151,6 +151,7 @@ namespace Unity.HomeScope.SmartScopes { 71 | else if (type_str == "server") 72 | tp = ScopeType.ServerScope; 73 | else 74 | + tp = ScopeType.InvalidScope; 75 | invalid_type = true; 76 | 77 | if (!invalid_type) 78 | -- 79 | 2.1.1 80 | 81 | -------------------------------------------------------------------------------- /unity-scope-home/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | 3 | # vercheck-pkgbuild: auto 4 | # vercheck-ubuntu: name=${pkgname}, repo=yakkety 5 | 6 | pkgname=unity-scope-home 7 | _actual_ver=6.8.2 8 | _extra_ver=+16.04.20160212.1 9 | _sso_ver=13.10 10 | pkgver=${_actual_ver}${_extra_ver/+/.} 11 | pkgrel=1 12 | epoch=1 13 | pkgdesc="Home scope that aggregates results from multiple scopes" 14 | arch=(i686 x86_64) 15 | url="https://launchpad.net/unity-scope-home" 16 | license=(GPL) 17 | groups=(unity) 18 | depends=(dee glib2 json-glib libgee libsoup libunity lsb-release) 19 | makedepends=(gnome-common intltool vala) 20 | install=${pkgname}.install 21 | source=("https://launchpad.net/ubuntu/+archive/primary/+files/unity-scope-home_${_actual_ver}${_extra_ver}.orig.tar.gz" 22 | "https://launchpad.net/ubuntu/+archive/primary/+files/ubuntu-sso-client_${_sso_ver}.orig.tar.gz" 23 | 0001-Fix-connection-issue-due-to-untrusted-SSL-CA-certifi.patch 24 | 0002-productsearch.ubuntu.com-only-accepts-locale-string-.patch 25 | 0003-Show-description-of-error-code.patch 26 | 0004-Fix-vala-0.26-errors.patch) 27 | sha512sums=('376d93db6b77a5992731e0663c1cf649f9759b3e011da4ca0c6c784e66bb19d0383ac7666a574f1c820112a151820cf76e3181aee9844d136e27ae42337db492' 28 | 'c476c0026ca23d7f7ffe5bbf0de6c26b8522d0a785c496b495d8116d63065dc69768a963e05e926326a663e9f50ab2ba3560b349d3912d931eb1b575a8a3f24e' 29 | 'ffca4eaaa84c80239fb5ca531b8782f0be252295e03d3a37bcfb750250e44dfa6c9272cd42438176186d71985d69a138bb28e8ef2bdccc4aedd6c1cb325efd06' 30 | '711a8cb2f5ba75530913f8f47990f9cbb801579026b96c39a010fa1594ee7e025dfac7d873e917e3b0d78d5cc38edadf0cd601193571e89efb477dc5fb2e1445' 31 | 'df20c30ea36d2d8a7600db0263812ea26d9b33174073cb1fde57c1184511d4f3339f713cb938df65ed22477c40a947db8a422cf051e481a96d3fa070e3c8e559' 32 | '66cf3e94b1aca5a2e677803ab956e1a24cc29ae6af22c63f2d77a6a73f35c4bfeffdbb838eae8a40ee885a6a396b98ff4761d84d58b7f3de3462ca23dd60c933') 33 | 34 | prepare() { 35 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 36 | 37 | #patch -p1 -i "${srcdir}/0001-Fix-connection-issue-due-to-untrusted-SSL-CA-certifi.patch" 38 | patch -p1 -i "${srcdir}/0002-productsearch.ubuntu.com-only-accepts-locale-string-.patch" 39 | patch -p1 -i "${srcdir}/0003-Show-description-of-error-code.patch" 40 | patch -p1 -i "${srcdir}/0004-Fix-vala-0.26-errors.patch" 41 | } 42 | 43 | build() { 44 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 45 | autoreconf -vfi 46 | intltoolize -f 47 | ./configure --prefix=/usr --libexecdir=/usr/lib/unity-scope-home 48 | make 49 | } 50 | 51 | package() { 52 | cd "${pkgname}-${_actual_ver}${_extra_ver}" 53 | make DESTDIR="${pkgdir}/" install 54 | 55 | cd "../ubuntu-sso-client-${_sso_ver}/data/" 56 | # Ubuntu's Smart Scope server does not use a trusted certificate 57 | install -dm755 "${pkgdir}/etc/ssl/certs/" 58 | install -m644 UbuntuOne-Go_Daddy_CA.pem \ 59 | UbuntuOne-Go_Daddy_Class_2_CA.pem \ 60 | UbuntuOne-ValiCert_Class_2_VA.pem \ 61 | "${pkgdir}/etc/ssl/certs/" 62 | } 63 | -------------------------------------------------------------------------------- /unity-scope-home/unity-scope-home.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | trust extract-compat 3 | } 4 | 5 | post_upgrade() { 6 | post_install 7 | } 8 | 9 | post_remove() { 10 | post_install 11 | } 12 | -------------------------------------------------------------------------------- /unity-settings-daemon/0001-usd-test-screensaver-proxy-fails-to-compile.patch: -------------------------------------------------------------------------------- 1 | From efd8fc8a231cd1f41aec3584760957e6778b6ec1 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Tue, 19 Jul 2016 20:23:54 -0400 4 | Subject: [PATCH] usd-test-screensaver-proxy fails to compile 5 | 6 | --- 7 | plugins/screensaver-proxy/Makefile.am | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/plugins/screensaver-proxy/Makefile.am b/plugins/screensaver-proxy/Makefile.am 11 | index 73741d4..470e4db 100644 12 | --- a/plugins/screensaver-proxy/Makefile.am 13 | +++ b/plugins/screensaver-proxy/Makefile.am 14 | @@ -21,7 +21,7 @@ libscreensaver_proxy_la_LDFLAGS = $(GSD_PLUGIN_LDFLAGS) 15 | 16 | libscreensaver_proxy_la_LIBADD = $(SETTINGS_PLUGIN_LIBS) 17 | 18 | -libexec_PROGRAMS = usd-test-screensaver-proxy 19 | +#libexec_PROGRAMS = usd-test-screensaver-proxy 20 | 21 | usd_test_screensaver_proxy_SOURCES = \ 22 | test-screensaver-proxy.c \ 23 | -- 24 | 2.9.0 25 | 26 | -------------------------------------------------------------------------------- /unity/0002-Disable-Werror.patch: -------------------------------------------------------------------------------- 1 | From e1801ae9ad94753672b3e8973e39bbc9e30ad3b1 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Thu, 10 Apr 2014 20:10:51 -0400 4 | Subject: [PATCH 2/6] Disable -Werror 5 | 6 | --- 7 | CMakeLists.txt | 2 +- 8 | services/CMakeLists.txt | 2 +- 9 | 2 files changed, 2 insertions(+), 2 deletions(-) 10 | 11 | diff --git a/CMakeLists.txt b/CMakeLists.txt 12 | index 1c5f7e3..4358c3f 100644 13 | --- a/CMakeLists.txt 14 | +++ b/CMakeLists.txt 15 | @@ -209,7 +209,7 @@ if (BOOT_LOGGER) 16 | SET (BOOT_LOGGER_FLAG "-DENABLE_LOGGER") 17 | endif (BOOT_LOGGER) 18 | 19 | -SET (MAINTAINER_CXXFLAGS "-Werror -Wall -Wcast-align -Wempty-body -Wformat-security -Winit-self -Warray-bounds -Wno-error=deprecated-declarations") 20 | +SET (MAINTAINER_CXXFLAGS "-Wall -Wcast-align -Wempty-body -Wformat-security -Winit-self -Warray-bounds -Wno-error=deprecated-declarations") 21 | 22 | option (DISABLE_ERROR_ON_LOCAL_TYPEDEFS_WARNINGS "Disable errors when local typedefs are unused" ON) 23 | if (DISABLE_ERROR_ON_LOCAL_TYPEDEFS_WARNINGS) 24 | diff --git a/services/CMakeLists.txt b/services/CMakeLists.txt 25 | index 9a9f9e0..4958dbb 100644 26 | --- a/services/CMakeLists.txt 27 | +++ b/services/CMakeLists.txt 28 | @@ -35,7 +35,7 @@ set(PANEL_SOURCES 29 | set(CFLAGS 30 | ${SERVICE_DEPS_CFLAGS} 31 | ${SERVICE_DEPS_CFLAGS_OTHER} 32 | - "-Werror -Wall -Wno-error=deprecated-declarations" 33 | + "-Wall -Wno-error=deprecated-declarations" 34 | ) 35 | 36 | string (REPLACE ";" " " CFLAGS "${CFLAGS}") 37 | -- 38 | 2.10.2 39 | 40 | -------------------------------------------------------------------------------- /unity/0003-Fix-launchers.patch: -------------------------------------------------------------------------------- 1 | From 9f6907520fff6a91ebd97ecc0b073f2610540b51 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Thu, 10 Apr 2014 20:11:47 -0400 4 | Subject: [PATCH 3/6] Fix launchers 5 | 6 | --- 7 | data/com.canonical.Unity.gschema.xml | 2 -- 8 | 1 file changed, 2 deletions(-) 9 | 10 | diff --git a/data/com.canonical.Unity.gschema.xml b/data/com.canonical.Unity.gschema.xml 11 | index 9c8c3e9..189e705 100644 12 | --- a/data/com.canonical.Unity.gschema.xml 13 | +++ b/data/com.canonical.Unity.gschema.xml 14 | @@ -134,14 +134,12 @@ 15 | 16 | 17 | [ 18 | - 'application://ubiquity.desktop', 19 | 'application://org.gnome.Nautilus.desktop', 20 | 'application://firefox.desktop', 21 | 'application://libreoffice-writer.desktop', 22 | 'application://libreoffice-calc.desktop', 23 | 'application://libreoffice-impress.desktop', 24 | 'application://org.gnome.Software.desktop', 25 | - 'application://ubuntu-amazon-default.desktop', 26 | 'application://unity-control-center.desktop', 27 | 'unity://running-apps', 28 | 'unity://expo-icon', 29 | -- 30 | 2.10.2 31 | 32 | -------------------------------------------------------------------------------- /unity/0004-Remove-social.scope.patch: -------------------------------------------------------------------------------- 1 | From 67ad6e4de6ed5771627c9e2c4a77bcff19cd3e60 Mon Sep 17 00:00:00 2001 2 | From: Xiao-Long Chen 3 | Date: Thu, 10 Apr 2014 20:17:50 -0400 4 | Subject: [PATCH 4/6] Remove social.scope 5 | 6 | --- 7 | data/com.canonical.Unity.gschema.xml | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/data/com.canonical.Unity.gschema.xml b/data/com.canonical.Unity.gschema.xml 11 | index 189e705..65c7278 100644 12 | --- a/data/com.canonical.Unity.gschema.xml 13 | +++ b/data/com.canonical.Unity.gschema.xml 14 | @@ -188,7 +188,7 @@ 15 | 16 | 17 | 18 | - [ 'home.scope', 'applications.scope', 'files.scope', 'video.scope', 'music.scope', 'photos.scope', 'social.scope' ] 19 | + [ 'home.scope', 'applications.scope', 'files.scope', 'video.scope', 'music.scope', 'photos.scope' ] 20 | List of scope ids specifying which scopes should be created and the order to display them in. 21 | The scopes listed in the scope bar will be ordered according to this list. 22 | 23 | -- 24 | 2.10.2 25 | 26 | -------------------------------------------------------------------------------- /unity/launcher_bfb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenxiaolong/Unity-for-Arch/690714068bd0ca87a3ecbf2852a06b8362a371ab/unity/launcher_bfb.png -------------------------------------------------------------------------------- /unity/run_this_if_unity_is_on_fire.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | 3 | from gi.repository import Gio 4 | import ast 5 | import configparser 6 | 7 | SCHEMA = 'org.compiz.core' 8 | PATH = '/org/compiz/profiles/unity/plugins/core/' 9 | KEY = 'active-plugins' 10 | DEFAULTS = '/usr/share/glib-2.0/schemas/10_compiz-ubuntu.gschema.override' 11 | 12 | config = configparser.ConfigParser() 13 | config.read(DEFAULTS) 14 | plugins = ast.literal_eval(config[SCHEMA][KEY]) 15 | 16 | gsettings = Gio.Settings.new_with_path(SCHEMA, PATH) 17 | gsettings.set_strv(KEY, plugins) 18 | 19 | print('Done. New plugins:') 20 | print(gsettings.get_strv(KEY)) 21 | -------------------------------------------------------------------------------- /unity/unity-debug: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | export UNITY_LOG_SEVERITY="unity=DEBUG:nux=DEBUG" 3 | export PANEL_USE_LOCAL_SERVICE=1 4 | unity 5 | -------------------------------------------------------------------------------- /unity/unity.pam: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth substack system-login 3 | -auth optional pam_gnome_keyring.so 4 | -------------------------------------------------------------------------------- /unity/unity.reset: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Reset all of Unity's settings for the current user 4 | 5 | echo "This will reset all of Unity's settings. Continue only if you know exactly" 6 | echo "what is being done. This WILL reset the settings for the launcher, dash," 7 | echo "indicators, etc." 8 | echo "" 9 | echo "This program will:" 10 | echo " 1. Switch to the metacity window manager" 11 | echo " 2. Reset Unity's dconf/GSettings settings" 12 | echo 13 | read -p "Continue (y/N) " PROCEED 14 | 15 | if [ "x${PROCEED}" == "xy" ] || [ "x${PROCEED}" == "xY" ]; then 16 | echo 17 | 18 | echo -n "Switching to the metacity window manager..." 19 | metacity --replace &>/dev/null & 20 | echo "DONE" 21 | 22 | echo -n "Killing indicator services..." 23 | for i in indicator-application-service \ 24 | indicator-bluetooth-service \ 25 | indicator-datetime-service \ 26 | indicator-keyboard-service \ 27 | indicator-messages-service \ 28 | indicator-power-service \ 29 | indicator-printers-service \ 30 | indicator-session-service \ 31 | indicator-sound-service; do 32 | killall ${i} &>/dev/null 33 | done 34 | echo "DONE" 35 | 36 | echo -n "Waiting for Compiz/Unity to exit..." 37 | while $(pgrep compiz$ &>/dev/null); do 38 | sleep 0.1 39 | done 40 | echo "DONE" 41 | 42 | echo -n "Resetting Unity's dconf/GSettings settings..." 43 | dconf reset -f /com/canonical/indicator/ 44 | dconf reset -f /com/canonical/unity/ 45 | dconf reset -f /desktop/unity/ 46 | echo "DONE" 47 | 48 | echo 49 | echo "Please log out and log back in. To log out, run:" 50 | echo " gnome-session-quit --logout" 51 | echo "" 52 | echo "If that fails, try:" 53 | echo " killall -s 9 gnome-session" 54 | fi 55 | -------------------------------------------------------------------------------- /zeitgeist-ubuntu/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Xiao-Long Chen 2 | # Original Maintainer: Jan Alexander Steffens (heftig) 3 | # Contributor: Andrea Scarpino 4 | # Contributor: György Balló 5 | 6 | # vercheck-pkgbuild: auto 7 | # vercheck-ubuntu: name=${pkgname%-*}, repo=yakkety 8 | # vercheck-launchpad: name=${pkgname%-*} 9 | 10 | pkgname=zeitgeist-ubuntu 11 | pkgver=0.9.16 12 | _ubuntu_rel=0ubuntu5 13 | pkgrel=2 14 | pkgdesc="Service logging user activities and events" 15 | arch=(i686 x86_64) 16 | url="http://zeitgeist-project.com/" 17 | license=(GPL2 LGPL2.1) 18 | depends=(json-glib telepathy-glib gtk3 xapian-core) 19 | makedepends=(intltool gobject-introspection vala raptor python2-rdflib gnome-common) 20 | provides=(zeitgeist-datahub "zeitgeist=${pkgver}") 21 | conflicts=(zeitgeist-datahub zeitgeist) 22 | replaces=(zeitgeist-datahub) 23 | source=("https://launchpad.net/zeitgeist/${pkgver%.*}/${pkgver}/+download/zeitgeist-${pkgver}.tar.xz" 24 | "https://launchpad.net/ubuntu/+archive/primary/+files/zeitgeist_${pkgver}-${_ubuntu_rel}.debian.tar.xz") 25 | sha512sums=('eb28215c937b71c8cec12f55236db4281ad529b2854ecb3c093477d45cd8348c6ea764e2cf00a99d41645b27b685a5325f0631b318409735b578a5871087b0f1' 26 | '52f4d12bd7e8a0fd3e59c1d7fca8257838082cbb5a8cdc2c929224adb513d405de58ae32c651f0a464c6853a5dfa167780999d736be3cab1508e2b747444d407') 27 | 28 | prepare() { 29 | cd "zeitgeist-${pkgver}" 30 | 31 | sed -i 's/python -/$PYTHON -/' configure configure.ac 32 | sed -i '1s/python$/python2/' data/ontology2code 33 | 34 | for i in $(grep -v '#' ../debian/patches/series); do 35 | msg "Applying ${i}" 36 | patch -p1 -i "../debian/patches/${i}" 37 | done 38 | } 39 | 40 | build() { 41 | cd "zeitgeist-${pkgver}" 42 | export PYTHON=/usr/bin/python2 43 | autoreconf -vfi 44 | ./configure \ 45 | --prefix=/usr \ 46 | --sysconfdir=/etc \ 47 | --localstatedir=/var \ 48 | --libexecdir=/usr/lib/zeitgeist \ 49 | --enable-datahub \ 50 | --enable-fts \ 51 | --enable-telepathy 52 | sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool 53 | make 54 | } 55 | 56 | package() { 57 | cd "zeitgeist-${pkgver}" 58 | make DESTDIR="${pkgdir}" install 59 | } 60 | --------------------------------------------------------------------------------