Installing Zotero - which files to brand

  • Thread starter Deleted member 9563
  • Start date
winetricks allfonts

Possibly Worse:

1626123383161.png
 
Well done, 0mp ! It may be that using the Linux version is better than trying to build a native version for FreeBSD at *this* point. Last weekend, I decided to just upgrade my FreeBSD build from 5.0.96.2 and encountered several problems as there are many "old ports" you have to keep around (Firefox 60.8, rust-1.35 plus its c-bindings for that version of rust, python-2.7 and its components), and it results in several manual steps.

I have it as a to-do to examine this more, but I don't know how one would make this into an actual port). It obviously changes as the ports tree changes.

Having a Linux version easily installable is better than no Zotero port!
 
<https://www.zotero.org/download/> ▶ Zotero-5.0.96.2_setup.exe installed, tested with i386-wine-5.0.4_1,1 on FreeBSD 14.0-CURRENT.

Now with emulators/wine 6.0.1_5,1, I used Add/Remove Programs to remove Zotero for Windows. Its .desktop file remained:

Code:
% ls -hl /usr/home/grahamperrin/.local/share/applications/wine/Programs
total 1
drwxr-xr-x  2 grahamperrin  grahamperrin     3B 18 Sep 19:07 Electronic Arts
-rw-r--r--  1 grahamperrin  grahamperrin   385B 12 Aug 04:33 Firefox.desktop
-rw-r--r--  1 grahamperrin  grahamperrin   385B 14 Oct  2019 GTAPAgg81y07.desktop
-rw-r--r--  1 grahamperrin  grahamperrin   372B 11 Jul 11:56 Zotero.desktop
% cat /usr/home/grahamperrin/.local/share/applications/wine/Programs/Zotero.desktop
[Desktop Entry]
Name=Zotero
Exec=env WINEPREFIX="/home/grahamperrin/.wine" wine C:\\\\windows\\\\command\\\\start.exe /Unix /home/grahamperrin/.wine/dosdevices/c:/ProgramData/Microsoft/Windows/Start\\ Menu/Programs/Zotero.lnk
Type=Application
StartupNotify=true
Path=/home/grahamperrin/.wine/dosdevices/c:/Program Files/Zotero
Icon=855E_zotero.0
StartupWMClass=zotero.exe
% file /home/grahamperrin/.wine/dosdevices/c:/Program\ Files/Zotero
/home/grahamperrin/.wine/dosdevices/c:/Program Files/Zotero: cannot open `/home/grahamperrin/.wine/dosdevices/c:/Program Files/Zotero' (No such file or directory)
% rm /usr/home/grahamperrin/.local/share/applications/wine/Programs/Zotero.desktop
%

Found, after the event: <https://wiki.winehq.org/FAQ#How_do_I_uninstall_individual_Windows_applications.3F>:

You can run Wine's uninstaller command; this is like Windows' "Add/Remove Programs" function. To uninstall 64 bit applications, including wine-mono, you need to run it with wine64. The uninstaller should remove menu and desktop entries... but it's not well tested; it might not work with all apps. See below for a reliable way to remove *all* Windows apps.

Postscript: discussion moved

 
Acheron,

It'll be available in a few hours here: http://distcache.freebsd.org/local-distfiles/mikael/Zotero_FreeBSD_13.0_i386.tar.xz
You'll have to manually install the missing librairies (if any) and launch it with bash zotero (I'll fix the wrong shebang later)

I downloaded the files and followed your instructions. Zotero as you can see is working perfectly. Thank you so much.

Zotero_FreeBSD_i386.png

Zotero_FreeBSD_i386_FIndingPDFs.png

Zotero_FreeBSD_i386_Sync.png

Is there any chance of this distfile becomes a port? Could I contribute with this? I learned programming in University (Java and Python), but I dont have practice nor expertise, but I can learn or pratice if it's necessary.

Thanks!
 
Regarding porting work, people can certainly use the port skeleton I created. As I mentioned before, you also need Rust 1.37 and an older version of Firefox-esr. The set of ports linked to above has the snapshots of those ports too, but I suspect the correct way to go is to just build these as part of the Zotero build process.

Regardless, it looks like acheron may have a method too, but perhaps some of my work may also be of use.
 
Acheron

I've updated the ports tree, tried to install science/zotero that was one of the new items brought by ports tree update and I had a clean installation as you can see below:

Code:
jrlimsrw@retour:/usr/ports/science/zotero $ sudo make install clean
Senha: 
===>  License AGPLv3 accepted by the user
===>   zotero-5.0.96.3 depends on file: /usr/local/sbin/pkg - found
=> Zotero-5.0.96.3_FreeBSD-i386.tar.xz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://distcache.FreeBSD.org/local-distfiles/mikael/Zotero-5.0.96.3_FreeBSD-i386.tar.xz
Zotero-5.0.96.3_FreeBSD-i386.tar.xz                     47 MB 3446 kBps    14s
===> Fetching all distfiles required by zotero-5.0.96.3 for building
===>  Extracting for zotero-5.0.96.3
=> SHA256 Checksum OK for Zotero-5.0.96.3_FreeBSD-i386.tar.xz.
===>  Patching for zotero-5.0.96.3
===>   zotero-5.0.96.3 depends on executable: update-desktop-database - found
===>   zotero-5.0.96.3 depends on package: libiconv>=1.14_11 - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/pixman-1.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xau.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xcb.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xcomposite.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xcursor.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xdamage.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xdmcp.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xfixes.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xinerama.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xrandr.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xrender.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found
===>   zotero-5.0.96.3 depends on shared library: libasound.so - found (/usr/local/lib/libasound.so)
===>   zotero-5.0.96.3 depends on shared library: libatk-bridge-2.0.so - found (/usr/local/lib/libatk-bridge-2.0.so)
===>   zotero-5.0.96.3 depends on shared library: libatspi.so - found (/usr/local/lib/libatspi.so)
===>   zotero-5.0.96.3 depends on shared library: libdbus-1.so - found (/usr/local/lib/libdbus-1.so)
===>   zotero-5.0.96.3 depends on shared library: libepoll-shim.so - found (/usr/local/lib/libepoll-shim.so)
===>   zotero-5.0.96.3 depends on shared library: libepoxy.so - found (/usr/local/lib/libepoxy.so)
===>   zotero-5.0.96.3 depends on shared library: libevent.so - found (/usr/local/lib/libevent.so)
===>   zotero-5.0.96.3 depends on shared library: libexpat.so - found (/usr/local/lib/libexpat.so)
===>   zotero-5.0.96.3 depends on shared library: libffi.so - found (/usr/local/lib/libffi.so)
===>   zotero-5.0.96.3 depends on shared library: libfontconfig.so - found (/usr/local/lib/libfontconfig.so)
===>   zotero-5.0.96.3 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so)
===>   zotero-5.0.96.3 depends on shared library: libfribidi.so - found (/usr/local/lib/libfribidi.so)
===>   zotero-5.0.96.3 depends on shared library: libGLdispatch.so - found (/usr/local/lib/libGLdispatch.so)
===>   zotero-5.0.96.3 depends on shared library: libgraphite2.so - found (/usr/local/lib/libgraphite2.so)
===>   zotero-5.0.96.3 depends on shared library: libharfbuzz.so - found (/usr/local/lib/libharfbuzz.so)
===>   zotero-5.0.96.3 depends on shared library: libhunspell-1.7.so - found (/usr/local/lib/libhunspell-1.7.so)
===>   zotero-5.0.96.3 depends on shared library: libnss3.so - found (/usr/local/lib/libnss3.so)
===>   zotero-5.0.96.3 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so)
===>   zotero-5.0.96.3 depends on shared library: libplc4.so - found (/usr/local/lib/libplc4.so)
===>   zotero-5.0.96.3 depends on shared library: libpng16.so - found (/usr/local/lib/libpng16.so)
===>   zotero-5.0.96.3 depends on shared library: libwayland-client.so - found (/usr/local/lib/libwayland-client.so)
===>   zotero-5.0.96.3 depends on shared library: libxkbcommon.so - found (/usr/local/lib/libxkbcommon.so)
===>   zotero-5.0.96.3 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>   zotero-5.0.96.3 depends on shared library: libEGL.so - found (/usr/local/lib/libEGL.so)
===>   zotero-5.0.96.3 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so)
===>   zotero-5.0.96.3 depends on shared library: libatk-1.0.so - found (/usr/local/lib/libatk-1.0.so)
===>   zotero-5.0.96.3 depends on shared library: libcairo.so - found (/usr/local/lib/libcairo.so)
===>   zotero-5.0.96.3 depends on shared library: libgdk_pixbuf-2.0.so - found (/usr/local/lib/libgdk_pixbuf-2.0.so)
===>   zotero-5.0.96.3 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so)
===>   zotero-5.0.96.3 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>   zotero-5.0.96.3 depends on shared library: libgtk-x11-2.0.so - found (/usr/local/lib/libgtk-x11-2.0.so)
===>   zotero-5.0.96.3 depends on shared library: libgtk-3.so - found (/usr/local/lib/libgtk-3.so)
===>   zotero-5.0.96.3 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so)
===>   zotero-5.0.96.3 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so)
===>  Configuring for zotero-5.0.96.3
===>  Staging for zotero-5.0.96.3
===>   zotero-5.0.96.3 depends on executable: update-desktop-database - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/pixman-1.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xau.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xcb.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xcomposite.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xcursor.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xdamage.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xdmcp.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xfixes.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xinerama.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xrandr.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xrender.pc - found
===>   zotero-5.0.96.3 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found
===>   Generating temporary packing list
(cd /usr/ports/science/zotero/work/Zotero_FreeBSD-i386 && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) &&  /usr/bin/find -Ed $1 $3 \(   -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} +  -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE . /usr/ports/science/zotero/work/stage//usr/local/lib/zotero)
cp -f /usr/ports/science/zotero/work/stage//usr/local/lib/zotero/zotero.desktop /usr/ports/science/zotero/work/stage/usr/local/share/applications
/bin/ln -sf /usr/local/lib/zotero/chrome/icons/default/default48.png /usr/ports/science/zotero/work/stage/usr/local/share/pixmaps/zotero.png
install -l rs /usr/ports/science/zotero/work/stage//usr/local/lib/zotero/zotero /usr/ports/science/zotero/work/stage/usr/local/bin/zotero
====> Compressing man pages (compress-man)
===>  Installing for zotero-5.0.96.3
===>  Checking if zotero is already installed
===>   Registering installation for zotero-5.0.96.3
Installing zotero-5.0.96.3...
Building cache database of MIME types
===>  Cleaning for zotero-5.0.96.3

Thank you very much!
 
Back
Top