Package Details: nautilus-dropbox 2019.02.14-3

Git Clone URL: https://aur.archlinux.org/nautilus-dropbox.git (read-only)
Package Base: nautilus-dropbox
Description: Dropbox for Linux - Nautilus extension
Upstream URL: https://www.dropbox.com/
Licenses: GPL, custom:CC-BY-ND-3
Submitter: None
Maintainer: TheChickenMan
Last Packager: TheChickenMan
Votes: 579
Popularity: 0.802209
First Submitted: 2008-09-05 06:47
Last Updated: 2019-10-09 01:41

Latest Comments

1 2 3 4 5 6 ... Next › Last »

rafaelff commented on 2019-10-09 01:42

@FirstAirBender: What is the error message you're seeing? python-gobject IS pygobject packaged to Arch Linux, so should be working likewise.

FirstAirBender commented on 2019-10-08 21:25

Even after doing yay -S python-gobject, it still failed to update for me. I had to install pygobject from pypi for it to work.

rafaelff commented on 2019-10-08 11:28

python-gobject is also required, other build fails with:

python3 build_dropbox.py 2019.02.14 /usr/share/applications < dropbox.in > dropbox
Traceback (most recent call last):
  File "build_dropbox.py", line 3, in <module>
    gi.require_version('GdkPixbuf', '2.0')
AttributeError: module 'gi' has no attribute 'require_version'
make[2]: *** [Makefile:940: dropbox] Error 1

oscarbranson commented on 2019-10-07 13:35

Getting a python-related error in build:

Traceback (most recent call last):
  File "build_dropbox.py", line 3, in <module>
    gi.require_version('GdkPixbuf', '2.0')
  File "/[...]/lib/python3.7/site-packages/gi/__init__.py", line 129, in 
require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace GdkPixbuf not available

Any ideas?

ogarcia commented on 2019-06-27 13:22

@TheChickenMan please fix the package, add python-object in makedepends or better apply @javmorin fix, but do something because we have build problems

rafaelff commented on 2019-04-12 13:17

Please add python-object to makedepends array. This will solve building issue reported by user "ogarcia" below, issue that still happens in a clean chroot build.

TheChickenMan commented on 2019-03-26 10:58

It's an interesting idea. It's always best to remove as many dependencies as possible but I noticed a number of things missing from the package if built using that command switch. It also didn't build at all without Python. Were you trying the build with any other changes besides what you had listed there?

TheChickenMan commented on 2019-03-06 11:00

Appreciate the comments I'll go through those changes when back to the office at the end of the week

ogarcia commented on 2019-03-06 08:02

I have same error at build time:

make[2]: Entering directory '/build/nautilus-dropbox/src/nautilus-dropbox-2019.01.31'
python3 serializeimages.py 2019.01.31 /usr/share/applications < dropbox.in > dropbox
Traceback (most recent call last):
  File "serializeimages.py", line 3, in <module>
    gi.require_version('GdkPixbuf', '2.0')
AttributeError: module 'gi' has no attribute 'require_version'
make[2]: *** [Makefile:941: dropbox] Error 1
make[2]: Leaving directory '/build/nautilus-dropbox/src/nautilus-dropbox-2019.01.31'
make[1]: *** [Makefile:520: all-recursive] Error 1
make[1]: Leaving directory '/build/nautilus-dropbox/src/nautilus-dropbox-2019.01.31'
make: *** [Makefile:374: all] Error 2

But with the changes proposed by @javmorin it works like a charm.

javmorin commented on 2019-02-28 09:20

Attempting to compile this package in a clean environment (via makechrootpkg) fails with "AttributeError: module 'gi' has no attribute 'require_version'" because that is provided by "python-gobject" which isn't included as a dep.

As the python bits are only used to build files that are then deleted, changing the build and install sections as follows allows the package to build without any of the python dependencies (python pygtk and python-docutils):

build() {
    cd "$pkgname-$pkgver"
    ./configure --prefix=/usr --sysconfdir=/etc
    make -C src/ 
}

package() {
    cd "$pkgname-$pkgver"
    make -C src/  DESTDIR="$pkgdir" install

    # install the common license
    install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}