Package Details: syncthing-gtk 0.9.4.5-1

Git Clone URL: https://aur.archlinux.org/syncthing-gtk.git (read-only, click to copy)
Package Base: syncthing-gtk
Description: GTK3 based GUI and notification area icon for Syncthing.
Upstream URL: https://github.com/syncthing-gtk/syncthing-gtk
Licenses: GPL2
Conflicts: syncthing-gtk-python3
Provides: syncthing-gtk-python3
Replaces: syncthing-gtk-python3
Submitter: Salamandar
Maintainer: Salamandar
Last Packager: Salamandar
Votes: 33
Popularity: 0.073919
First Submitted: 2022-11-15 10:30 (UTC)
Last Updated: 2023-03-12 17:12 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

Salamandar commented on 2022-11-13 13:25 (UTC)

So sorry, yeah, commited the fix.

The package now uses my git repository, but I did not think the tarball was different on Github than on gitlab.

CommanderCrisp commented on 2022-11-13 12:35 (UTC) (edited on 2022-11-13 16:37 (UTC) by CommanderCrisp)

No worries, thanks for all you do!

Working build script. TLDR is the "cd" commands are no longer accurate:

# Maintainer: Salamandar <felix@piedallu.me>
# Contributor: Jaroslav Lichtblau <svetlemodry@archlinux.org>
# Contributor: Martin Wimpress <code@flexion.org>
# Contributor: kozec <kozec at kozec dot com>

_pkgname=syncthing-gtk
pkgname=syncthing-gtk-python3
pkgver=0.9.4.5
pkgrel=1
epoch=1
pkgdesc='GTK3 based GUI and notification area icon for Syncthing. Python 3 port with Debian sources.'
arch=('any')
# url='https://salsa.debian.org/debian/syncthing-gtk'
url='https://github.com/Salamandar/syncthing-gtk'
license=('GPL2')
conflicts=( 'syncthing-gtk' )
replaces=(  'syncthing-gtk' )
depends=(
    'syncthing>=0.14.50' 'gtk3' 'libnotify'
    'python-bcrypt' 'python-cairo' 'python-dateutil' 'python-gobject'
)
makedepends=('python-setuptools' 'git')
source=(
    $pkgname-$pkgver.tar.gz::https://github.com/salamandar/syncthing-gtk/archive/v$pkgver.tar.gz
    kde-statusicon.patch
)
sha256sums=(
    '19d234b3a4514420cf123ae1b477590684e11dd54b7fa208c0b19e9dccf2c465'
    '109d8c970045e60251fc64865f05322b23a0995ee6725be02905941cb3a1ae0d'
)

prepare() {
    cd "$_pkgname-$pkgver"
    # Enable Gtk.StatusIcon in KDE
    patch -Np1 -i ../kde-statusicon.patch
}

build() {
    cd "$_pkgname-$pkgver"
    python3 setup.py build
}

package() {
    cd "$_pkgname-$pkgver"
    python3 setup.py install --root="$pkgdir" --optimize=1
}

gameslayer commented on 2022-11-13 02:28 (UTC)

unable to build

Building syncthing-gtk-python3...
==> Making package: syncthing-gtk-python3 1:0.9.4.5-1 (Sun 13 Nov 2022 10:56:08)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found syncthing-gtk-python3-0.9.4.5.tar.gz
  -> Found kde-statusicon.patch
==> Validating source files with sha256sums...
    syncthing-gtk-python3-0.9.4.5.tar.gz ... Passed
    kde-statusicon.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting syncthing-gtk-python3-0.9.4.5.tar.gz with bsdtar
==> Starting prepare()...
/var/tmp/pamac-build-corey/syncthing-gtk-python3/PKGBUILD: line 33: cd: syncthing-gtk: No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...

wwklnd commented on 2022-11-12 15:07 (UTC)

wattzy's solution didn't work for me, however just changing the PKGBUILD so that prepare(), build(), and package() cd into "$_pkgname-$pkgver" instead of just "$_pkgname" fixed it.

wattzy commented on 2022-11-12 14:13 (UTC)

Works for me.

git clone https://aur.archlinux.org/syncthing-gtk-python3.git
cd syncthing-gtk-python3
makepkg

line 33: cd: syncthing-gtk: No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...

mv ./src/syncthing-gtk-0.9.4.5 ./src/syncthing-gtk
makepkg

==> Finished making: syncthing-gtk-python3 1:0.9.4.5-1 (Sat 12 Nov 2022 14:09:15 GMT)

mozzribo commented on 2022-11-12 12:50 (UTC)

Sadly that solution doesn't seem to work.

wattzy commented on 2022-11-12 06:41 (UTC) (edited on 2022-11-12 06:42 (UTC) by wattzy)

As a temporary workaround, go into the src folder in the build directory e.g. /var/tmp/pamac-build-user/syncthing-gtk-python3/src and rename the downloaded folder to syncthing-gtk-python3 or syncthing-gtk, depending on which directory error you are getting.

mozzribo commented on 2022-11-12 01:46 (UTC)

Same here.

hasmar04 commented on 2022-11-11 05:22 (UTC)

I am also having a "No such file or directory" error.

Building syncthing-gtk-python3... ==> Making package: syncthing-gtk-python3 1:0.9.4.5-1 (Fri 11 Nov 2022 15:17:47) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found syncthing-gtk-python3-0.9.4.5.tar.gz -> Found kde-statusicon.patch ==> Validating source files with sha256sums... syncthing-gtk-python3-0.9.4.5.tar.gz ... Passed kde-statusicon.patch ... Passed ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Extracting syncthing-gtk-python3-0.9.4.5.tar.gz with bsdtar ==> Starting prepare()... /var/tmp/pamac-build-hasmar/syncthing-gtk-python3/PKGBUILD: line 33: cd: syncthing-gtk-python3: No such file or directory ==> ERROR: A failure occurred in prepare(). Aborting...