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?
Search Criteria
Package Details: nautilus-dropbox 2022.12.05-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/nautilus-dropbox.git (read-only, click to copy) |
---|---|
Package Base: | nautilus-dropbox |
Description: | Dropbox Nautilus Extension |
Upstream URL: | https://www.dropbox.com/ |
Licenses: | GPL, custom:CC-BY-ND-3 |
Submitter: | None |
Maintainer: | coreyberla |
Last Packager: | coreyberla |
Votes: | 580 |
Popularity: | 0.21 |
First Submitted: | 2008-09-05 06:47 (UTC) |
Last Updated: | 2022-12-11 06:02 (UTC) |
Dependencies (6)
- libnautilus-extension (libnautilus-extension-gitAUR, libnautilus-extension-typeaheadAUR)
- nautilus (nautilus-gitAUR, nautilus-typeaheadAUR)
- gnome-common (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- python-docutils (make)
- python-gobject (python-gobject-gitAUR) (make)
Required by (0)
Sources (1)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 15 Next › Last »
TheChickenMan commented on 2019-03-26 10:58 (UTC)
TheChickenMan commented on 2019-03-06 11:00 (UTC)
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 (UTC)
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 (UTC) (edited on 2019-02-28 09:21 (UTC) by javmorin)
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"
}
TheChickenMan commented on 2019-02-20 01:47 (UTC)
Those look like files that are supposed to belong to python-docutils. You need to figure out what package they belong to on your computer and then either update that package or remove the files manually.
$ pacman -Qo "/usr/bin/rst2html.py"
speedytux commented on 2019-02-19 13:20 (UTC)
I have a problem updating nautilus-dropbox to the 2019.01.31-1 version. There is conflicting files when it installs python-docutils.
(1/1) checking for file conflicts [########################################] 100% error: failed to commit transaction (conflicting files) python-docutils: /usr/bin/rst2html.py exists in filesystem python-docutils: /usr/bin/rst2html4.py exists in filesystem python-docutils: /usr/bin/rst2html5.py exists in filesystem python-docutils: /usr/bin/rst2latex.py exists in filesystem python-docutils: /usr/bin/rst2man.py exists in filesystem python-docutils: /usr/bin/rst2odt.py exists in filesystem python-docutils: /usr/bin/rst2odt_prepstyles.py exists in filesystem python-docutils: /usr/bin/rst2pseudoxml.py exists in filesystem python-docutils: /usr/bin/rst2s5.py exists in filesystem python-docutils: /usr/bin/rst2xetex.py exists in filesystem python-docutils: /usr/bin/rst2xml.py exists in filesystem python-docutils: /usr/bin/rstpep2html.py exists in filesystem Errors occurred, no packages were upgraded. Error installing repo packages
rafaelff commented on 2018-09-13 14:47 (UTC)
Hey there. CC-BY-ND is not a custom license, as it is provided by the 'licenses' package and made available at '/usr/share/licenses/common/CCPL/'. You may safely remove its installation and change license() array from "custom:CC-BY-ND-3" to "CCPL:by-nd"
Pinned Comments
coreyberla commented on 2022-12-11 06:04 (UTC)
Dropbox merged the updates for Nautilus 43, so their git is up to date, and now AUR is up to date. This makes my patch in the comments below unnecessary.