The foxit reader UI font is somehow falling back to monospace font. How can I fix this issue?
Screenshot: https://imgur.com/a/cf8id
After the update using the packaged Qt again, opening URLs embedded in the PDF is broken.
Here a shortened log from the open operation:
CReader_AppEx::OpenURL---url: "http://de.slideshare.net/aweyenberg/realistic-user-interface-design/9"
CReader_AppEx::CheckTrustySites--m_nSiteAccessRight: 3
CReader_AppEx::CheckTrustySites--m_csSitesDataManage: ""
kde-open5: /usr/lib/foxitreader/lib/libQt5Widgets.so.5: no version information available (required by kde-open5)
...
>>> is repeated very often for many different combinations of libraries
...
kde-open5: /usr/lib/foxitreader/lib/libQt5Core.so.5: no version information available (required by /usr/lib/libKF5GuiAddons.so.5)
kde-open5: relocation error: /usr/lib/libQt5X11Extras.so.5: symbol _ZN15QGuiApplication16platformFunctionERK10QByteArray, version Qt_5 not defined in file libQt5Gui.so.5 with link time reference
EDIT: Apparently, this is because libQt5X11Extras.so.5
is not packaged so it will load the one provided by arch - which crashes because of the internal private APIs
Printing now works with the latest build.
Thanks
@RemoteAdmin the libqgtk2.so plugin is not required to run foxitreader. It's only used to apply GTK+ appearance if gtk2 is available.
If you lack the gtk2 package then you'll get the QT file chooser even if you use a GTK+ base desktop environment. If you have gtk2 installed then you'll have the GTK+ file chooser.
By the way I've found more missing dependencies, I'll add gtk2 to optdepends
@Muflone Sorry for bothering again but is there a reason for not including gtk2? It is required by libqgtk2.so or am I missing something?
/usr/lib/foxitreader/platformthemes/libqgtk2.so needs libgtk-x11-2.0.so.0
/usr/lib/foxitreader/platformthemes/libqgtk2.so needs libgdk-x11-2.0.so.0
@gourdcaptain is right. There are a few dependencies missing.
I have run readelf -d against the elf files in this package and it turns out that the following dependencies are missing:
'qt5-xmlpatterns' 'libxslt' 'gstreamer0.10-base' 'fcitx-qt5' 'gtk2'
You can verify this list by using the following:
/usr/lib/foxitreader/FoxitReader needs libGL.so.1
/usr/lib/foxitreader/fxplugins/librms.so needs libQt5XmlPatterns.so.5
/usr/lib/foxitreader/lib/libQt5WebKit.so.5.3.2 needs libXrender.so.1
/usr/lib/foxitreader/lib/libQt5WebKit.so.5.3.2 needs libXcomposite.so.1
/usr/lib/foxitreader/lib/libQt5WebKit.so.5.3.2 needs libX11.so.6
/usr/lib/foxitreader/lib/libQt5WebKit.so.5.3.2 needs libxslt.so.1
/usr/lib/foxitreader/lib/libQt5WebKit.so.5.3.2 needs libxml2.so.2
/usr/lib/foxitreader/lib/libQt5WebKit.so.5.3.2 needs libgstreamer-0.10.so.0
/usr/lib/foxitreader/lib/libQt5WebKit.so.5.3.2 needs libgstapp-0.10.so.0
/usr/lib/foxitreader/lib/libQt5WebKit.so.5.3.2 needs libgstbase-0.10.so.0
/usr/lib/foxitreader/lib/libQt5WebKit.so.5.3.2 needs libgstinterfaces-0.10.so.0
/usr/lib/foxitreader/lib/libQt5WebKit.so.5.3.2 needs libgstpbutils-0.10.so.0
/usr/lib/foxitreader/lib/libQt5WebKit.so.5.3.2 needs libgstvideo-0.10.so.0
/usr/lib/foxitreader/platforminputcontexts/libcomposeplatforminputcontextplugin.so needs libxkbcommon.so.0
/usr/lib/foxitreader/platforminputcontexts/libfcitxplatforminputcontextplugin.so needs libFcitxQt5DBusAddons.so.1
/usr/lib/foxitreader/platforms/libqeglfs.so needs libfontconfig.so.1
/usr/lib/foxitreader/platforms/libqeglfs.so needs libfreetype.so.6
/usr/lib/foxitreader/platforms/libqeglfs.so needs libEGL.so.1
/usr/lib/foxitreader/platforms/libqxcb.so needs libX11-xcb.so.1
/usr/lib/foxitreader/platforms/libqxcb.so needs libXi.so.6
/usr/lib/foxitreader/platforms/libqxcb.so needs libSM.so.6
/usr/lib/foxitreader/platforms/libqxcb.so needs libICE.so.6
/usr/lib/foxitreader/platforms/libqxcb.so needs libxcb.so.1
/usr/lib/foxitreader/platformthemes/libqgtk2.so needs libgtk-x11-2.0.so.0
/usr/lib/foxitreader/platformthemes/libqgtk2.so needs libgdk-x11-2.0.so.0
/usr/lib/foxitreader/platformthemes/libqgtk2.so needs libpango-1.0.so.0
/usr/lib/foxitreader/printsupport/libcupsprintersupport.so needs libcups.so.2
Running foxitreader with the 2.4.1.0609-8 package causes the error "/usr/lib/foxitreader/FoxitReader: error while loading shared libraries: libgstreamer-0.10.so.0: cannot open shared object file: No such file or directory", so it's missing a library dependency.
I've replaced the qt-installer script with a beautiful hack from @phiresky
Removed the qt5 dependency as it uses the shipped version (again)
@Skycoder42 fixed, thank you
@Skycoder42
Seeing as pacaur is now unmaintained I would suggest you choose a different method.
To help the maintainer could you uninstall this package built with pacaur and construct it manually by downloading the pkgbuild into a folder on desktop or home folder and manually build it to see if you get the same error?
The current version (rev 5) has an invalid path in the system desktop file:
[Desktop Entry]
Name=Foxit Reader
...
Exec=foxitreader %F
Exec=/tmp/pkg-build/foxitreader/src/foxitreader-installer/FoxitReader.sh %F
The second Exec
statement causes the problem. /tmp/pkg-build
is the folder where the package was packaged by in my case pacaur. Please fix that part of the desktop file. For rev. 4, the second line was simply not there, I guess it's simply a missed leftover from the installer script.
It took me a lot of time to fix this package.
Finally dropped the qt-installer-framework dependency (broken?) and replaced with a qt-installer custom script
There're actually two issues:
- if you build this package using your user (no chroot) then you'll have a duplicate desktop file in your ~/.local/share/applications folder
- print doesn't work for me, crashing application. This is somehow related to the QT version
Hi, I got the same problem like other guys.
[0] Warning: QFile::at: Cannot set file position 26977808
Cannot register in-binary resource.
==> 错误: 在 build() 中发生一个错误。
正在放弃...
==> 错误:Makepkg 无法构建 foxitreader.
if you can help me? thanks!
Hi,
I am experiencing systematic "segmentation fault/core dumped" crashes whenever I try printing with Foxitreader. Has anyone else had the same issue ?
Thanks
I got the same problem.
[0] Warning: QFile::at: Cannot set file position 26977808
Cannot register in-binary resource.
qt-installer-framework is installed. Qt version is qt5-base 5.10.0-2.
Manual build with makepkg -sf does not work either.
this problem seems to be related to the qt version.. as qt-installer-framework compiled against v5.9.3 will not report errors..
as arch qt5 version is now 5.10.0..
Hi!
Same problem here:
[0] Warning: QFile::at: Cannot set file position 26977808
Cannot register in-binary resource.
@Muflone I've exactly the same error as nplatis with makepkg -sf. I don't have any idea of where this comes from. Can you help me?
@nplatis
I don't know, never seen that message before.
try to build the package manually using makepkg -sf (or better with extra-x86_64-build)
A receive an error when trying to install this package (using pacaur): After "Starting build()..." I get:
[0] Warning: QFile::at: Cannot set file position 26977808
Cannot register in-binary resource.
This package doesn't need any fix to build.
You have to update the qt-installer-framework before to launch the foxitreader installation.
Here's a forced update which requires an higher version to avoid this issues.
You have errors in your build array
as it is causing the following error:
=> Starting build()...
Usage: devtool [options] binary
Options:
-h, --help Displays this help.
-v, --version Displays version information.
--verbose Verbose mode. Prints out more information.
--update <file> Updates existing installer or maintenance
tool with a new installer base.
--dump <folder> Dumps the binary content that belongs to an
installer or maintenance tool into target.
--operation <mode,name,args,...> Executes an operation with a list of
arguments. Mode can be DO or UNDO.
Arguments:
binary Existing installer or maintenance tool.
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build foxitreader package(s)
Please fix
Update qt-installer-framework before updating foxitreader to avoid build failures
==> Starting build()...
Usage: devtool [options] binary
...
Arguments:
binary Existing installer or maintenance tool.
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build foxitreader package(s)
UPD: thx nepiktaz, update qt-installer-framework to avoid failure.
Removed the fcitx and fcitx-qt5 dependencies
@phunni I've just checked the EULA checksum and it still matches.
Maybe your download is corrupt
@Muflone
The recent package update seems to have resolved the problem, and I was able to successfully install foxitreader via AUR just a couple of minutes ago. Cheers.
@phunni
Maybe foxit constantly changes their eula.html. You can edit the PKGBUILD and skip the sha256sum check of this file.
I am now getting the errors that others had before the update regarding sha256sums
==> Making package: foxitreader 2.4.1.0609-1 (Wed 5 Jul 13:45:17 BST 2017)
==> Retrieving sources...
-> Found eula.html
-> Found foxitreader.patch
-> Found FoxitReader2.4.1.0609_Server_x64_enu_Setup.run.tar.gz
-> Found foxitreader-excluded_files-x86_64
==> Validating source files with sha256sums...
eula.html ... FAILED
foxitreader.patch ... Passed
==> ERROR: One or more files did not pass the validity check!
:: failed to verify foxitreader integrity
Could somebody be so kind to post a link for the changelog? I always have a really hard time finding it, and for example today I couldn't. Thanks
Hello, I have the same error message as @vittik. I'm trying to install on Manjaro xfce 64-bit. Thanks.
100 70.2M 100 70.2M 0 0 902k 0 0:01:19 0:01:19 --:--:-- 2514k
-> Found foxitreader-excluded_files-x86_64
==> Validating source files with sha256sums...
eula.html ... FAILED
foxitreader.patch ... Passed
==> ERROR: One or more files did not pass the validity check!
pacaur -S foxitreader
100 70.2M 100 70.2M 0 0 1138k 0 0:01:03 0:01:03 --:--:-- 1179k
-> Found foxitreader-excluded_files-x86_64
==> Validating source files with sha256sums...
eula.html ... FAILED
foxitreader.patch ... Passed
==> ERROR: One or more files did not pass the validity check!
:: failed to verify foxitreader integrity
@a36233, downgrading qt5-webkit (5.8.0-3 in my /var/cache/pacman/pkg) fixed the segfault.
I also get core dumped from the command line. The core dumped information is similar to that posted by @a36233.
@severach, running foxitreader from the GUI icon also crashed.
I get core dumped on startup.
Process 1738 (FoxitReader) of user 1000 dumped core.
Stack trace of thread 1738:
#0 0x00007f83be26e088 n/a (libQt5WebKit.so.5)
#1 0x00007f83be26fa2b n/a (libQt5WebKit.so.5)
#2 0x00007f82ebfff0e5 n/a (n/a)
#3 0x00007f83be0833a2 n/a (libQt5WebKit.so.5)
#4 0x00007f83be1a0c0a _ZN3JSC8evaluateEPNS_9ExecStateERKNS_10SourceCodeENS_7JSValueEPS5_ (libQt5WebKit.so.5)
#5 0x00007f83bcc8896f n/a (libQt5WebKit.so.5)
#6 0x00007f83bcc88c67 n/a (libQt5WebKit.so.5)
#7 0x00007f83bddbb825 n/a (libQt5WebKit.so.5)
#8 0x00007f83bddbbb03 n/a (libQt5WebKit.so.5)
#9 0x00007f83bddcf7d4 n/a (libQt5WebKit.so.5)
#10 0x00007f83bcf66ade n/a (libQt5WebKit.so.5)
#11 0x00007f83ba9fadeb _ZN7QObject5eventEP6QEvent (libQt5Core.so.5)
#12 0x00007f83bbf0446c _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5)
#13 0x00007f83bbf0bcf4 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5)
#14 0x00007f83ba9cbb58 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
#15 0x00007f83baa22b6e _ZN14QTimerInfoList14activateTimersEv (libQt5Core.so.5)
#16 0x00007f83baa23311 n/a (libQt5Core.so.5)
#17 0x00007f83b76c6a47 g_main_context_dispatch (libglib-2.0.so.0)
#18 0x00007f83b76c6c78 n/a (libglib-2.0.so.0)
#19 0x00007f83b76c6d0c g_main_context_iteration (libglib-2.0.so.0)
#20 0x00007f83baa23e3f _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
#21 0x00007f83ba9ca1da _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
#22 0x00007f83ba9d2a34 _ZN16QCoreApplication4execEv (libQt5Core.so.5)
#23 0x0000000000524c98 n/a (FoxitReader)
#24 0x00007f83b966643a __libc_start_main (libc.so.6)
#25 0x0000000000523cb9 n/a (FoxitReader)
foxitreader from the command line does not work and hangs with madmax's error libQt5PrintSupport.so.5. FoxitReader from the menu works fine. FoxitReader.sh is broken.
Anyone figured out how to start Foxit Reader in HiDPI mode?
I changed the .desktop file to
Exec=env GDK_SCALE=2 GDK_DPI_SCALE=2 CLUTTER_SCALE=2 foxitreader %F
but no go :( I can barely see the icons.
@Muflone The 2017-05-13 update of extra/qt4 has fixed this for me - thanks
@madmax
is your system fully upgraded?
I cannot simulate your issue in any way.
For the last few days foxitreader refuses to be opened -
/usr/lib/foxitreader/FoxitReader: /usr/lib/foxitreader/lib/libQt5PrintSupport.so.5: no version information available (required by /usr/lib/libQt5WebKitWidgets.so.5)
IIRC this occures when an application has been built against an older version of the library than currently installed
Problem solved with the last update.
Thanks Muflone
package updated removing all the QT5 libraries except the PrintSupport which seems broke this package, resulting in a -102.70 MiB difference
@jester and @dantopa
I'm going to slim down this package by removing their bundled libraries.
In the meanwhile you can simply delete the libstdc++.so.6 __IN THE FOXITREADER/lib DIRECTORY__ which conflicts with the system library.
Same problem as jester. Also, I'm having problems with spotify and mega.
I get this error when try to run foxitreader.
/usr/lib/foxitreader/FoxitReader: /usr/lib/foxitreader/lib/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/libicuuc.so.58)
I have both files in the correct directories. But I don't know where is the problem.
package updated to version 2.4.0.14978-1 for both i686 and x86_64 architectures.
@Skycoder42
I've removed the octet stream mimetype from the desktop launcher
Could you please remove the Octet-Stream mimetype of the desktop file? This causes some file explorers to even open binaries with foxit:
-MimeType=application/pdf;application/octet-stream;
+MimeType=application/pdf;
Regarding the non-available i686 version, the probably dropped support. You could split this package to make shure updates for x86_64 are still delivered.
I'm sorry but actually I cannot update the package to the version 2.3.1 as there's no a download link for the i686 version, only for x86_64.
Please comment if anyone can find a link for the i686 version
@Muflone
please add an option to let me disable the start tab, i hate closing every time manually instantly after I start foxit up.
@zsrkmyn
I agree in removing the .svn and .directory stuff.
I dislike the use of /opt filesystem (a generic trashcan for unsorted stuff) in place of /usr and I don't want to see another error message from namcap.
@fsck_bieber
this question was already risen in the past. There's no a right way to determine what would be the best mirror for you. Even the upstream website cannot properly redirect you to the fastest mirror.
In the past we used cdn04, then cdn01 and now cdn02. Every time there's someone afraid with the download speed. The only thing I could recommend is to manually change the mirror based on the user experience.
(here from Italy every mirror except cdn02 transfers with a speed < 20 Kbps)
There are still lots of redundant '.svn' directories and '.directory' files in the package. I suggest to use `cd "$pkgdir"; find -name .svn -exec rm -rf {} +; find -name .directory -exec rm -rf {} +` to remove them.
Package updated to 2.3.0.2174
I managed to update to v2.3.0.2174 by changing the .SRCINFO and PKGBUILD files.
But, Muflone, could you keep this package updated please?
**EDIT:** Never mind I'm installing qt-installer-framework now with makepkg.
I just don't understand why the foxitreader package doesn't do this for me.
Thanks for this package.
What's up with the qt-installer-framework dependency?
[robert@designbox ~]# cd /tmp/foxitreader
[robert@designbox foxitreader]# makepkg -si
==> Making package: foxitreader 2.2.1025-1 (Sat 31 Dec 2016 12:58:50 CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
[sudo] password for robert:
error: target not found: qt-installer-framework
==> ERROR: 'pacman' failed to install missing dependencies.
Can you input Chinese character with fcitx input method? I failed to active the input method in the program.
On Linux Foxit Reader is associated to *every* file type. If a file type does not have a default application, it opens with Foxit Reader. Since Foxit is a PDF viewer, open a non-PDF file with it causes an error.
To avoid Foxit Reader to be associated to every file type, the MimeType entry in FoxitReader.desktop msut be modified from
MimeType=application/pdf;application/octet-stream;
to
MimeType=application/pdf;
Here is an updated patch to fix this annoying bug: http://pastebin.com/0Ggygssd
Package updated to version 2.2.1025
Hello,
Like @nickmcummins, I would also like to change the default font used by Foxit Reader, I'm using cinnamon DE. Can someone point me where I can change it?
Thanks,
cd /usr/lib/foxitreader/
sudo chmod 0777 configtoolbar.xml
;)
Here is a patch to update to version 2.2.1025: http://pastebin.com/31VHugi9
On startup, however, this version of Foxit Reader complains several times about a failure to open /usr/lib/foxitreader/configtoolbar.xml and the toolbar looks somewhat distorted. It looks like it tries to open this file for writing.
I found a fix for the monospace problem: in KDE5 there's no KDEHOME variable in the environment and defining it(i.e. by making `alias foxit='KDEHOME=~/.kde4 foxitreader` solves it.
On the other hand, there's another thing: There's simple way to solve problem with "connectedpdf" nags, it's necessary to rename /usr/lib/foxitreader/fxplugins directory to anything else - like stated in http://do-the-right-things.blogspot.com/2016/08/remove-nagware-from-foxit-reader-linux.html
Thanks, it works very fine!
Is there a way to change the default application font? Foxit seems to be defaulting to my default fixed-width (monospace) font for the application font, which looks pretty bad and non-uniform with all other applications I use.
There doesn't seem to be a preference to set it.. does anyone know if there is a way to override the default application font?
@bol0bal4
does your file path contain some spaces or special characters?
I'll add the epoch if you think is really needed.
Can you explain why you think is dangerous to remove the epoch? AUR doesn't keep different versions.
@Muflone OK... So will the epoch come back on the next update?
@Muflone getting rid of epoch is very annoying and even dangerous for the users...
@Universebenzene
you're right, I got rid of the epoch (1:) prefix in the version number.
Just ignore the warning for once and install it straight
The previous version of this package is 1:1.1.0.0225-1, and my package manager said that the previous version is newer than today's(2.1.0805-1)...Is there something wrong?
@bol0bal4
I cannot confirm your issue with xdg-open, here everything works fine
If you wanna use foxitreader via xdg-open, you must patch /usr/lib/foxitreader/FoxitReader.sh
Edit line 3: selfpath="$(dirname $(readlink -f) "$0")"
readlink return NULL all the times.
@Maxiride why not skip the integrity check of the EULA?
It's not critical to check at the EULA imo.
@pschichtel I've added the make dependency
@everyone package updated to the latest version
Thank you @Maxiride, that comment should be pinned.
Eula changed, accordingly the build fail because of a mismatch of the checksum =)§
Solved thanks to aleroise comment on 2014-09-27 19:37
Just for others to now, when asked edit the PKGBUILD and modify the first sha256sum with 738fc621a727e0429b9c50580b3c166776797f925f2819037d1414dad0b95f6a
If in the future anyone gets again this error just download the eula.html found in the Sources section on AUR and calculate it's sha256 =)
The build failed for me due to missing libQt5Qml.so.5 (from extra/qt5-declarative).
@nbd
Foxitreader ships its own set of libraries. Previous versions used the system libraries causing a lot of troubles for different version numbers. The new package uses the shipped libraries.
@vigilian and @ltcmdrdata please rebuild the package again
I get an error when I try to start foxitreader.
The installation works without any problem, all packets are up to date:
[jkg@ds9 Downloads]$ foxitreader
/usr/lib/foxitreader/FoxitReader: symbol lookup error: /usr/lib/foxitreader/lib/libssl.so.1.0.0: undefined symbol: OPENSSL_init_library
the print setup doesn't work. I can t configure or print anything
I tried to update foxitreader and pacman shows that the installed size has increased from 6 Mb to 126 Mb. Is it some glitch?
@Muflone
Thanks. Your new package works very nicely.
@stonyboy
You were right, the whole package was lacking the lib directory in the library path. However I didn't changed the system-wide ld.so.conf.d but only changed the application launcher to use the local libraries
I also needed to create two symlinks to stop ldconfig from complaining:
cd /usr/lib/foxitreader/lib
sudo ln -sf libsecret-1.so.0.0.0 libsecret-1.so.0
sudo ln -sf libgcrypt.so.20.0.1 libgcrypt.so.20
Creating a foxitreader.conf with this content:
/usr/lib/foxitreader/lib
And putting it in /etc/ld.so.conf.d/ seems to do the trick
After installation i get this:
foxitreader: error while loading shared libraries: libQt5PrintSupport.so.5: cannot open shared object file: No such file or directory
The SO is here: /usr/lib/foxitreader/lib/libQt5PrintSupport.so.5, so does this need to be added to the ld cache?
@bobowolf123
package updated, thank you
@Muflone.
1.1.0.0225 is out. Thanks
Oh, it seems to be working fine now. I'm not sure what the problem was previously. Sorry for the noise.
@Rhinoceros
what sha256 have you got?
I've downloaded the file again and my sha256sum matches with that on the PKGBUILD
Thanks Muflone for the fix. However, is anyone else getting the following error? I've tried downloading the sources four times.
==> Validating source files with sha256sums...
FoxitReader1.01.0925_Server_x64_enu_Setup.run.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
At last I've made it using qt-installer-framework
Package updated to the latest version
As far I can see, there's no way to extract the files from the Foxit setup without the user interaction (then, the application cannot be installed system-wide from a package).
Hints are welcomed
EDIT: ok, I found a way using qt-installer-framework but it needs a couple of fixes, stay tuned.
please update to new version, thank you. @Muflone
New Foxit Version 1.0.1.0925 just release on 10/08/2015
==> Validating source files with sha256sums...
eula.html ... FAILED
Thanks Muflone, that did the trick!
@theforeigner remove such fake symlink and rebuild the package foxitreader from scratch. It should link against libngnutls.so.30, not against the non existant lingnutls.so.28.
I still have the same problem as well. There's a softlink created /usr/lib/libgnutls.so.28 -> /usr/lib/libgnutls.so.30 but I still get the same error as forivall and kab reported.
Installing lib32-libgnutls28 doesn't work either, it fails the GPG keycheck when attempting to install dependency lib32-libnettle4.
Package updated and cleaned up a bit.
@forivall and @kab, do you still have the libgnutls.so.28 issue?
The executable file FoxitReader is linked to libgnutls.so.30
libgnutls.so.30 => /usr/lib32/libgnutls.so.30
GnuTLS got updated, which leads to a broken FoxitReader:
error while loading shared libraries: libgnutls.so.28: cannot open shared object file: No such file or directory
Awesome! Works great -- I thought this reader was not available for linux...
Change second checksum in 'sha256sums' in PKGBUILD file to :
844db1455fdaf081e9f6305a54b8d3fbd743ae79fdfcfd266213ef28405d2c28 and its ok.
If a new version of eula.html is put online, download the new eula.html, go to https://defuse.ca/checksums.htm and upload your file to it, you'll get the new checksum ;)
@nbb
lib32-gtk2 - here you should add multilib repository
lib32-sqlite3 - and change that dependency to 'lib32-sqlite'
dependencies:
- desktop-file-utils (already installed)
- lib32-gtk2 (building from AUR)
- lib32-sqlite3 (building from AUR)
Error during installation:
error: target not found: lib32-gtk2
error: target not found: lib32-sqlite3
Merged foxitreader-bin to foxitreader. Reason: duplicate package.
the 2nd sha256sum is now supposed to be
b952d68694cd913072c3091a5f296d83037b28d097dd7bb5690930347adb2bf3
the license sha256sum doesn't match anymore.
the dependency lib32-sqlite3, sqlite3 is now lib32-sqlite, sqlite
replace 2nd sha256sum with 989d43e0d10476582bf7ad6cb22ac4ba0571de9b227885204f1811272b071beb and it works.
Hi
I'm new to arch and not sure how to properly report issues. Some dependencies have been updated and previous versions are no longer present, at least on the mirror I use. e.g.: error: failed retrieving file 'lib32-libxxf86vm-1.1.2-1-x86_64.pkg.tar.xz' from ftp.tu-chemnitz.de : The requested URL returned error: 404 Not Found
I think 1.1.3.1 is the latest version available.
Not sure if I can force pacman use different versions (new to arch :) ) or you should update the package
Cheers
ok, upload the new pkgbuild, seems we don't need the alternative launcher at first= = if there's any other problem, feel free to report to me.
and, i must thank panda-z here for testing new pkgbuild under x86-64 for me :)
@leafpmsword:
i'm using arch i686,
do you mean now we can directly use FoxitReader686 (tbh it's the original launcher) to launch foxit reader under x86-64 environment?
if so, try this pkgbuild:
http://pastebin.com/eaWxSUrX
and tell me whether it works or not, if it works i'll replace current pkgbuld with it.
点击菜单中foxit图标没反应,原来是菜单图标中命令应该是:FoxitReader686才对,希望修改下~
I tried to build it with the link changed, but it tells me that the md5sum test fails for the rd_eula.htm file.
unable to download the file FoxitReader-1.1.0.tar.bz2 :(
Tried to build it on 64bit system and got an error:
$ makepkg -s
==> Making package: foxitreader 1.1-5 (Wed Sep 26 20:14:11 PDT 2012)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: lib32-gtk2
==> ERROR: 'pacman' failed to install missing dependencies.
please update the pkgbuild
Would be nice if you would update the PKGBUILD and change the source to the URL posted by carrioncrow.
@Alir3z4, if thats the case you have too ;)
Our PKGBUILDS are exactly the same..
The download link is unusable. Plz update!!!!
change md5sum for eula to 53853cd872ac7e7fde9676c210f1a473 from e0ba59e3a111f402f99c2d2177d6dfa5
The reader always opens a fixed size window. Is there any way to change this behavior to full screen height?
could you change fr.launcher (for x86_64 only) to:
#!/bin/bash
export GTK_PATH=/usr/lib32/gtk-2.0
export GDK_PIXBUF_MODULE=/usr/lib32/config/gdk/gdk-pixbuf.loaders
export PANGO_RC_FILE=/usr/lib32/config/pango/pangorc
export LD_LIBRARY_PATH="/usr/lib32:$LD_LIBRARY_PATH"
exec /usr/lib/foxitreader/FoxitReader "$@"
This way it'll load the lib32 gtk2 theme to be more attractive.
Thanks.
fr.launcher should be changed to:
exec /usr/lib/foxitreader/FoxitReader "$@"
instead of:
cd /usr/lib/foxitreader
./FoxitReader "$@"
so that local file execution will be possible.
@chris_l: The spirit of the binary rule is to prevent people from uploading malicious programs. An icon is technically a "binary" file, but I don't see why that would apply to a 4KB standard-format image. It's kind of like when people used to blindly and religiously cite the "Contributor" vs "Maintainer" PKGBUILD requirement from the guidelines wiki without putting any thought into what the purpose would be.
you need to change fr.launcher for multilib systems.
the fr.png file is a binary file, including binary files is against the rules, you need to host it on a external server
if show up with below error, Change the X Server color depth to 24bit, it works.
PS. foxitreader has many bugs in linux.
/usr/bin/foxitreader: line 18: 9980 Segmentation fault $CMD "$@"
....
---------------------
(H�8
tReader:8896): Gdk-WARNING **: /build/buildd/gtk+2.0-2.16.1/gdk/gdkpixbuf-drawable.c:1247: Source drawable has no colormap; either pass in a colormap, or set the colormap on the drawable with gdk_drawable_set_colormap()
(H�8
tReader:8896): Gdk-WARNING **: The gdk_draw_*_image require the drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap
(H�8
tReader:8896): Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a drawable with depth 16
The program 'H�8
tReader' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 5479 error_code 8 request_code 70 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
What's wrong?
--> resolving desktop-file-utils... installed
--> resolving lib32-gtk2... unresolvable
--> resolving lib32-libxdamage... unresolvable
--> resolving lib32-sqlite3... unresolvable
WARNING: unresolved dependencies: foxitreader -> lib32-gtk2 (not found)
Change md5sums to
md5sums=('585d2fd105a221c78e89607039f17126'
'e0ba59e3a111f402f99c2d2177d6dfa5'
'21e108c58effa2ed69c74fbbd2af1454'
'a211b21e29c54b997e271f15a3c8b76b'
'9dbaa8ac779463948c321fdb0d5b4725')
Eula file doesn't pass checksum check, how can I fix this?
need lib32-bug-buddy for 64
The foxit reader UI font is somehow falling back to monospace font. How can I fix this issue? Screenshot: https://imgur.com/a/cf8id