Package Details: nautilus-nutstore 6.2.8-1

Git Clone URL: https://aur.archlinux.org/nautilus-nutstore.git (read-only, click to copy)
Package Base: nautilus-nutstore
Description: Nutstore integration for Nautilus.
Upstream URL: https://www.jianguoyun.com/
Licenses: GPL2, CCPL:by-nd
Submitter: bhoppi
Maintainer: bhoppi
Last Packager: bhoppi
Votes: 11
Popularity: 0.000000
First Submitted: 2012-04-22 14:38 (UTC)
Last Updated: 2024-01-27 02:22 (UTC)

Latest Comments

1 2 3 Next › Last »

acgtyrant commented on 2023-08-14 14:18 (UTC)

这个包已经不兼容于现在的 libnautilus-extension 了,估计因为后者升级到 GTK4,break 了很多地方,比如 pkg-config 只能找到 libnautilus-extension-4;nautilus-nutstore 所依赖的 nautilus-extension-types.h 也消失了。

Zhaoye commented on 2023-05-29 06:01 (UTC)

GNOME44,通过下列命令设置了环境变量:

$ export NAUTILUS_CFLAGS="-I/usr/include/nautilus/libnautilus-extension"
$ export NAUTILUS_LIBS="-L/usr/lib -lnautilus-extension"
$ export C_INCLUDE_PATH="/usr/include/gtk4.0:/usr/include/cairo:/usr/include/pango-1.0:/usr/include/harfbuzz/:/usr/include/gdk-pixbuf-2.0:/usr/include/graphene-1.0/:/usr/lib/graphene-1.0/include/:/usr/include/nautilus"

然后执行makepkg -si,报错:

nutstore.c: In function 'nautilus_module_initialize':
nutstore.c:30:57: error: expected expression before '<' token
   30 | ble_submenu_workaround = (NAUTILUS_VERSION_MAJOR < 2 ||
      |                                                  ^


以下是完整的makepkg -si执行过程:

$ makepkg -si
==> 正在创建软件包:nautilus-nutstore 5.1.7-1 
==> 正在检查运行时依赖关系...
==> 正在检查编译时依赖关系
==> 获取源代码...
  -> 找到 nutstore_linux_src_installer.tar.gz
==> 正在验证 source 文件,使用sha256sums...
    nutstore_linux_src_installer.tar.gz ... 通过
==> 正在释放源码...
  -> 正在解压缩 nutstore_linux_src_installer.tar.gz,使用 bsdtar
==> 正在删除现存的 $pkgdir/ 目录...
==> 正在开始 build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.10... yes
checking for GLIB... yes
checking for NAUTILUS... yes
checking for nautilus extension directory... ${exec_prefix}/lib/nautilus/extension-1.0
Package libnautilus-extension was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnautilus-extension.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libnautilus-extension', required by 'virtual:world', not found
checking for ANSI C header files... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strchr... yes
checking for strdup... yes
checking for strtol... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating icons/Makefile
config.status: creating icons/hicolor/Makefile
config.status: creating icons/hicolor/16x16/Makefile
config.status: creating icons/hicolor/64x64/Makefile
config.status: creating icons/hicolor/16x16/apps/Makefile
config.status: creating icons/hicolor/64x64/emblems/Makefile
config.status: creating icons/hicolor/64x64/apps/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make  all-recursive
make[1]: 进入目录“$HOME/.cache/paru/clone/nautilus-nutstore/src/nutstore_linux_src_installer”
Making all in src
make[2]: 进入目录“$HOME/.cache/paru/clone/nautilus-nutstore/src/nutstore_linux_src_installer/src”
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread  -I/usr/include/nautilus/libnautilus-extension  -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -MT nutstore.lo -MD -MP -MF .deps/nutstore.Tpo -c -o nutstore.lo nutstore.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/nautilus/libnautilus-extension -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -MT nutstore.lo -MD -MP -MF .deps/nutstore.Tpo -c nutstore.c  -fPIC -DPIC -o .libs/nutstore.o
In file included from nautilus-nutstore.h:7,
                 from nutstore.c:10:
/usr/include/nautilus/libnautilus-extension/nautilus-info-provider.h:32:2: warning: #warning "Only <nautilus-extension.h> should be included directly." [-Wcpp]
   32 | #warning "Only <nautilus-extension.h> should be included directly."
      |  ^~~~~~~
In file included from /usr/include/nautilus/libnautilus-extension/nautilus-info-provider.h:36:
/usr/include/nautilus/libnautilus-extension/nautilus-file-info.h:28:2: warning: #warning "Only <nautilus-extension.h> should be included directly." [-Wcpp]
   28 | #warning "Only <nautilus-extension.h> should be included directly."
      |  ^~~~~~~
nutstore.c: In function 'nautilus_module_initialize':
nutstore.c:30:57: error: expected expression before '<' token
   30 | ble_submenu_workaround = (NAUTILUS_VERSION_MAJOR < 2 ||
      |                                                  ^

make[2]: *** [Makefile:330:nutstore.lo] 错误 1
make[2]: 离开目录“$HOME/.cache/paru/clone/nautilus-nutstore/src/nutstore_linux_src_installer/src”
make[1]: *** [Makefile:300:all-recursive] 错误 1
make[1]: 离开目录“$HOME/.cache/paru/clone/nautilus-nutstore/src/nutstore_linux_src_installer”
make: *** [Makefile:231:all] 错误 2
==> 错误: 在 build() 中发生一个错误。
    正在放弃...

zcorn commented on 2023-01-10 05:10 (UTC) (edited on 2023-01-10 05:30 (UTC) by zcorn)

检查了libnautilus-extension已经安装,且PKG_CONFIG_PATH正确配置,但发现/usr/bin/pkg-config无libnautilus-extension.pc,有无解决方案,提前感谢。 报错:

configure: error: Package requirements (libnautilus-extension >= 2.0.0) were not met:

Package 'libnautilus-extension', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you

installed software in a non-standard prefix.

zhjsun commented on 2021-10-22 13:15 (UTC)

sha256 needs update

Gavin_Andre commented on 2020-05-07 11:25 (UTC)

@bhoppi cleanBuild之后可以了 感谢

bhoppi commented on 2020-05-07 02:13 (UTC)

@Gavin_Andre 我试了sha256没有问题,你再重试一下?