LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Adobe Air on Slackware 14.2 32-bit (https://www.linuxquestions.org/questions/slackware-14/adobe-air-on-slackware-14-2-32-bit-4175645445/)

playker 01-03-2019 01:44 PM

Adobe Air on Slackware 14.2 32-bit
 
The Polish finance ministry publishes an application for sending tax declarations over the Internet (called "e-Deklaracje Desktop"). It's supposed to work on Windows, Mac and Linux. It requires Adobe Air and Adobe Reader.

I downloaded from get.adobe.com/air the last version of Adobe Air that was released for Linux, but the graphical installer failed with an error:

Quote:

Adobe AIR could not be installed because this is not a supported Linux distribution. Only RPM- and Debian-based Linux distributions are supported.
The rpm tool is present in Slackware, but Adobe Air uses commands such as "rpm -q rpm" which fail on Slackware (and on any OS that uses something other than rpm or dpkg to install most packages in the system). Adobe Air is not open source and the installer code is in a 20MB binary .so file, but using strace one can find out what commands it runs on the system.

I had to create a simple wrapper so that Adobe Air can use rpm on Slackware.

/usr/bin/airwrap:
Code:

#!/bin/sh
export PATH="/usr/lib/airwrap/rpm:$PATH"
exec "$@"

/usr/lib/airwrap/rpm/rpm:
Code:

#!/bin/sh
if [ "$1" = "-q" -a "$2" = "rpm" ]
then
  echo rpm-4.12.0.1-1.i586
  exit 0
elif [ "$1" = "--qf" -a "$2" = '%{VERSION}' -a "$3" = "-q" -a "$4" = "rpm" ]
then
  echo 4.12.0.1
  exit 0
elif [ "$1" = "-U" ]
then
  exec /bin/rpm --nodeps "$@"
else
  exec /bin/rpm "$@"
fi

It can be used like this:

# airwrap ./AdobeAIRInstaller.bin
# airwrap "/opt/Adobe AIR/Versions/1.0/Adobe AIR Application Installer"

The first command starts the installation of the Adobe Air environment (you can download the installer from the Adobe website). The second command starts the installation of an application from an .air file.

Here are some screenshots in my local language from the installation and running of Adobe Air and an Air application on Slackware 14.2 32-bit:

https://i.imgur.com/2RSZALH.png

https://i.imgur.com/E0MGMQI.png

https://i.imgur.com/VM00p7I.png

https://i.imgur.com/xtpJakd.png

A Slackware package, airwrap.txz, can be downloaded from dropbox here: airwrap.txz.

Searching this forum I haven't found anyone using a similar method to run Adobe Air on Slackware, so perhaps this post will be useful. The same method could also work on other distributions such as Arch with a little modification.

rkelsen 01-03-2019 04:23 PM

:thumbsup:

Good job! Thanks for posting.

dugan 01-03-2019 05:28 PM

I just use WINE.

ruario 01-04-2019 05:22 AM

Dugan's solution is probably best because you will get a more recent version of Air. Failing that, I still don't think installing an rpm on Slackware directly is a good idea and can be avoided. Just extract the contents of the archive instead.

Switch to an empty working directory and fetch the binary.

Code:

$ wget http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRInstaller.bin
The .bin actually has a .tar.lzma archive inside it. You just need to find it. Grep can help you do that e.g. (assuming bash)

Code:

$ LC_CTYPE=C grep -abom1 ]$'\000\000'....$'\377\377\377\377\377\377' AdobeAIRInstaller.bin
6704:]???????

Add 1 to this value (e.g. 6705). The contents of the internal, compressed tar can be extracted like so:

Code:

$ tail -c+6705 AdobeAIRInstaller.bin | xz -qqd | tar xv
./
./setup.swf
./setup
./build/
./build/opt/
./build/opt/Adobe AIR/
./build/opt/Adobe AIR/Versions/
./build/opt/Adobe AIR/Versions/1.0/
./build/opt/Adobe AIR/Versions/1.0/Adobe AIR Application Installer
./build/opt/Adobe AIR/Versions/1.0/Adobe AIR Application Installer.swf
./build/opt/Adobe AIR/Versions/1.0/Resources/
./build/opt/Adobe AIR/Versions/1.0/Resources/rpmbuilder
./build/opt/Adobe AIR/Versions/1.0/Resources/libeggtray.so
./build/opt/Adobe AIR/Versions/1.0/Resources/ko.lproj/
./build/opt/Adobe AIR/Versions/1.0/Resources/ko.lproj/ContentUIText.xml
./build/opt/Adobe AIR/Versions/1.0/Resources/libadobecertstore.so
./build/opt/Adobe AIR/Versions/1.0/Resources/control.spec
./build/opt/Adobe AIR/Versions/1.0/Resources/AdobeAIR.png
./build/opt/Adobe AIR/Versions/1.0/Resources/cs.lproj/
./build/opt/Adobe AIR/Versions/1.0/Resources/cs.lproj/ContentUIText.xml
./build/opt/Adobe AIR/Versions/1.0/Resources/nl.lproj/
./build/opt/Adobe AIR/Versions/1.0/Resources/nl.lproj/ContentUIText.xml
./build/opt/Adobe AIR/Versions/1.0/Resources/libWebKit.so
./build/opt/Adobe AIR/Versions/1.0/Resources/airappinstaller
./build/opt/Adobe AIR/Versions/1.0/Resources/setup.deb
./build/opt/Adobe AIR/Versions/1.0/Resources/zh_Hans.lproj/
./build/opt/Adobe AIR/Versions/1.0/Resources/zh_Hans.lproj/ContentUIText.xml
./build/opt/Adobe AIR/Versions/1.0/Resources/appentry
./build/opt/Adobe AIR/Versions/1.0/Resources/it.lproj/
./build/opt/Adobe AIR/Versions/1.0/Resources/it.lproj/ContentUIText.xml
./build/opt/Adobe AIR/Versions/1.0/Resources/libaddkey.so
./build/opt/Adobe AIR/Versions/1.0/Resources/de.lproj/
./build/opt/Adobe AIR/Versions/1.0/Resources/de.lproj/ContentUIText.xml
./build/opt/Adobe AIR/Versions/1.0/Resources/libflashplayer.so
./build/opt/Adobe AIR/Versions/1.0/Resources/digest.s
./build/opt/Adobe AIR/Versions/1.0/Resources/stylesNative.swf
./build/opt/Adobe AIR/Versions/1.0/Resources/installCertificate
./build/opt/Adobe AIR/Versions/1.0/Resources/setup.swf
./build/opt/Adobe AIR/Versions/1.0/Resources/zh_Hant.lproj/
./build/opt/Adobe AIR/Versions/1.0/Resources/zh_Hant.lproj/ContentUIText.xml
./build/opt/Adobe AIR/Versions/1.0/Resources/adobecp.vch
./build/opt/Adobe AIR/Versions/1.0/Resources/xdg-utils/
./build/opt/Adobe AIR/Versions/1.0/Resources/xdg-utils/xdg-mime
./build/opt/Adobe AIR/Versions/1.0/Resources/xdg-utils/xdg-open
./build/opt/Adobe AIR/Versions/1.0/Resources/xdg-utils/xdg-icon-resource
./build/opt/Adobe AIR/Versions/1.0/Resources/xdg-utils/xdg-screensaver
./build/opt/Adobe AIR/Versions/1.0/Resources/xdg-utils/xdg-desktop-menu
./build/opt/Adobe AIR/Versions/1.0/Resources/xdg-utils/xdg-email
./build/opt/Adobe AIR/Versions/1.0/Resources/xdg-utils/xdg-desktop-icon
./build/opt/Adobe AIR/Versions/1.0/Resources/xdg-utils/xdg-user-dir-lookup
./build/opt/Adobe AIR/Versions/1.0/Resources/xdg-utils/xdg-autostart
./build/opt/Adobe AIR/Versions/1.0/Resources/xdg-utils/xdg-user-dirs-update
./build/opt/Adobe AIR/Versions/1.0/Resources/xdg-utils/xdg-su
./build/opt/Adobe AIR/Versions/1.0/Resources/aucm
./build/opt/Adobe AIR/Versions/1.0/Resources/appinstall.spec
./build/opt/Adobe AIR/Versions/1.0/Resources/ja.lproj/
./build/opt/Adobe AIR/Versions/1.0/Resources/ja.lproj/ContentUIText.xml
./build/opt/Adobe AIR/Versions/1.0/Resources/tr.lproj/
./build/opt/Adobe AIR/Versions/1.0/Resources/tr.lproj/ContentUIText.xml
./build/opt/Adobe AIR/Versions/1.0/Resources/Adobe AIR Updater
./build/opt/Adobe AIR/Versions/1.0/Resources/support/
./build/opt/Adobe AIR/Versions/1.0/Resources/support/AdobeAIR.desktop
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/22x22/
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/22x22/AdobeAIR.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/22x22/air.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/128x128/
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/128x128/AdobeAIR.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/128x128/air.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/64x64/
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/64x64/AdobeAIR.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/64x64/air.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/64x64/AirWarning.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/48x48/
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/48x48/AdobeAIR.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/48x48/air.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/24x24/
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/24x24/AdobeAIR.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/24x24/air.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/32x32/
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/32x32/AdobeAIR.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/32x32/air.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/96x96/
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/96x96/AdobeAIR.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/96x96/air.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/12x12/
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/12x12/AdobeAIR.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/12x12/air.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/20x20/
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/20x20/AdobeAIR.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/20x20/air.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/36x36/
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/36x36/AdobeAIR.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/36x36/air.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/192x192/
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/192x192/AdobeAIR.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/192x192/air.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/16x16/
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/16x16/AdobeAIR.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/icons/16x16/air.png
./build/opt/Adobe AIR/Versions/1.0/Resources/support/AdobeAIR.xml
./build/opt/Adobe AIR/Versions/1.0/Resources/libadobecp.so
./build/opt/Adobe AIR/Versions/1.0/Resources/curl-ca-bundle.crt
./build/opt/Adobe AIR/Versions/1.0/Resources/application.directory
./build/opt/Adobe AIR/Versions/1.0/Resources/en.lproj/
./build/opt/Adobe AIR/Versions/1.0/Resources/en.lproj/ContentUIText.xml
./build/opt/Adobe AIR/Versions/1.0/Resources/Thawte Root Certificate.cer
./build/opt/Adobe AIR/Versions/1.0/Resources/libpacparser.so
./build/opt/Adobe AIR/Versions/1.0/Resources/pkcon_air
./build/opt/Adobe AIR/Versions/1.0/Resources/libadobecp15.so
./build/opt/Adobe AIR/Versions/1.0/Resources/fr.lproj/
./build/opt/Adobe AIR/Versions/1.0/Resources/fr.lproj/ContentUIText.xml
./build/opt/Adobe AIR/Versions/1.0/Resources/ru.lproj/
./build/opt/Adobe AIR/Versions/1.0/Resources/ru.lproj/ContentUIText.xml
./build/opt/Adobe AIR/Versions/1.0/Resources/application.desktop
./build/opt/Adobe AIR/Versions/1.0/Resources/appinstall/
./build/opt/Adobe AIR/Versions/1.0/Resources/appinstall/prerm
./build/opt/Adobe AIR/Versions/1.0/Resources/appinstall/copyright
./build/opt/Adobe AIR/Versions/1.0/Resources/appinstall/postinst
./build/opt/Adobe AIR/Versions/1.0/Resources/appinstall/control
./build/opt/Adobe AIR/Versions/1.0/Resources/Adobe Root Certificate.cer
./build/opt/Adobe AIR/Versions/1.0/Resources/Adobe AIR.vch
./build/opt/Adobe AIR/Versions/1.0/Resources/pt.lproj/
./build/opt/Adobe AIR/Versions/1.0/Resources/pt.lproj/ContentUIText.xml
./build/opt/Adobe AIR/Versions/1.0/Resources/sv.lproj/
./build/opt/Adobe AIR/Versions/1.0/Resources/sv.lproj/ContentUIText.xml
./build/opt/Adobe AIR/Versions/1.0/Resources/pl.lproj/
./build/opt/Adobe AIR/Versions/1.0/Resources/pl.lproj/ContentUIText.xml
./build/opt/Adobe AIR/Versions/1.0/Resources/libcurl.so
./build/opt/Adobe AIR/Versions/1.0/Resources/es.lproj/
./build/opt/Adobe AIR/Versions/1.0/Resources/es.lproj/ContentUIText.xml
./build/opt/Adobe AIR/Versions/1.0/Resources/control/
./build/opt/Adobe AIR/Versions/1.0/Resources/control/conffiles
./build/opt/Adobe AIR/Versions/1.0/Resources/control/prerm
./build/opt/Adobe AIR/Versions/1.0/Resources/control/copyright
./build/opt/Adobe AIR/Versions/1.0/Resources/control/postinst
./build/opt/Adobe AIR/Versions/1.0/Resources/control/preinst
./build/opt/Adobe AIR/Versions/1.0/Resources/control/control
./build/opt/Adobe AIR/Versions/1.0/Resources/nss3/
./build/opt/Adobe AIR/Versions/1.0/Resources/nss3/0d/
./build/opt/Adobe AIR/Versions/1.0/Resources/nss3/0d/libplds4.so
./build/opt/Adobe AIR/Versions/1.0/Resources/nss3/0d/libplc4.so
./build/opt/Adobe AIR/Versions/1.0/Resources/nss3/0d/libssl3.so
./build/opt/Adobe AIR/Versions/1.0/Resources/nss3/0d/libnss3.so
./build/opt/Adobe AIR/Versions/1.0/Resources/nss3/0d/libnspr4.so
./build/opt/Adobe AIR/Versions/1.0/Resources/nss3/0d/libnssutil3.so
./build/opt/Adobe AIR/Versions/1.0/Resources/nss3/0d/libsmime3.so
./build/opt/Adobe AIR/Versions/1.0/Resources/nss3/0d/libnssdbm3.so
./build/opt/Adobe AIR/Versions/1.0/Resources/nss3/0d/libnssckbi.so
./build/opt/Adobe AIR/Versions/1.0/Resources/nss3/0d/libnssdbm3.chk
./build/opt/Adobe AIR/Versions/1.0/Resources/nss3/1d/
./build/opt/Adobe AIR/Versions/1.0/Resources/nss3/1d/libplds4.so
./build/opt/Adobe AIR/Versions/1.0/Resources/nss3/1d/libplc4.so
./build/opt/Adobe AIR/Versions/1.0/Resources/nss3/1d/libssl3.so
./build/opt/Adobe AIR/Versions/1.0/Resources/nss3/1d/libnss3.so
./build/opt/Adobe AIR/Versions/1.0/Resources/nss3/1d/libnspr4.so
./build/opt/Adobe AIR/Versions/1.0/Resources/nss3/1d/libnssutil3.so
./build/opt/Adobe AIR/Versions/1.0/Resources/nss3/1d/libsmime3.so
./build/opt/Adobe AIR/Versions/1.0/Resources/nss3/1d/libnssdbm3.so
./build/opt/Adobe AIR/Versions/1.0/Resources/nss3/1d/libnssckbi.so
./build/opt/Adobe AIR/Versions/1.0/Resources/nss3/1d/libnssdbm3.chk
./build/opt/Adobe AIR/Versions/1.0/libCore.so
./build/var/
./build/var/opt/
./build/var/opt/Adobe AIR/
./build/var/opt/Adobe AIR/Shared/
./build/var/opt/Adobe AIR/Shared/Adobe/
./build/var/opt/Adobe AIR/Shared/Adobe/AIR/
./build/var/opt/Adobe AIR/Shared/Adobe/AIR/Updater/
./build/etc/
./build/etc/opt/
./build/etc/opt/Adobe/
./build/etc/opt/Adobe/certificates/
./build/etc/opt/Adobe/certificates/AIR/
./build/etc/opt/Adobe/certificates/AIR/nss/
./build/etc/opt/Adobe/certificates/AIR/nss/cert8.db
./build/etc/opt/Adobe/certificates/AIR/nss/key3.db
./build/etc/opt/Adobe/certificates/AIR/nss/secmod.db
./build/etc/opt/Adobe/certificates/AIR/crypt/
./build/etc/opt/Adobe/certificates/AIR/crypt/1e8e7201.0
./build/etc/opt/Adobe/certificates/AIR/crypt/c1e65b0d.0
./build/etc/opt/Adobe/certificates/AIR/crypt/5021a0a2.0
./build/etc/opt/Adobe/certificates/AIR/crypt/7651b327.0
./build/etc/opt/Adobe/certificates/AIR/crypt/673b5b.0
./build/etc/opt/Adobe/certificates/AIR/crypt/2afc57aa.0
./build/etc/opt/Adobe/certificates/AIR/crypt/7a481e66.0
./build/etc/opt/Adobe/certificates/AIR/crypt/256fd83b.0
./build/etc/opt/Adobe/certificates/AIR/crypt/693dcfe1.0
./build/etc/opt/Adobe/certificates/AIR/crypt/c33a80d4.0
./build/etc/opt/Adobe/certificates/AIR/crypt/54edfa5d.0
./build/etc/opt/Adobe/certificates/AIR/crypt/facacbc6.0
./build/etc/opt/Adobe/certificates/AIR/crypt/b0f3e76e.0
./build/etc/opt/Adobe/certificates/AIR/crypt/7d453d8f.0
./build/etc/opt/Adobe/certificates/AIR/crypt/config.xml
./build/etc/opt/Adobe/certificates/AIR/crypt/111e6273.0

You can move the files under the build directory into place or create a .SlackBuild to automate all of this and allow you to easily uninstall at a later date.

ruario 01-04-2019 05:24 AM

It is the same shit as with reader, e.g. I wrote this 3 years ago

https://gist.github.com/ruario/42c6d49147863d5dfe78

[EDIT]: I see the Slackbuild for Reader still uses the tar.bz2, even though the bin is 13.5 Mb smaller. That is a lot of wasted bandwidth by all the people who have used this SlackBuild over the years. Oh well, I tried…

Quote:

Originally Posted by ruario (Post 5179266)
I did once suggest this […] to the maintainer for the SBo SlackBuild but never heard back (although the Arch PKGBUILD maintainer did take my suggestion).


playker 01-04-2019 06:30 AM

Quote:

Originally Posted by ruario (Post 5944475)
It is the same shit as with reader, e.g. I wrote this 3 years ago

https://gist.github.com/ruario/42c6d49147863d5dfe78

Adobe Air doesn't work the same way as Adobe Reader. It requires either rpm or dpkg to install .air applications on the system. So if you extract and install the files using your method, you won't be able to run "/opt/Adobe AIR/Versions/1.0/Adobe AIR Application Installer" because it fails to detect either rpm or dpkg (possibly you can use "airwrap" from the first post to run it but I haven't tested with this kind of installation).

As for Wine I associate it with glitches and problems in various applications so I wouldn't be happy using it (or recommending it) for a tax declarations app for example (which works fine on supported Linux distributions).

ruario 01-04-2019 06:42 AM

Quote:

Originally Posted by playker (Post 5944484)
Adobe Air doesn't work the same way as Adobe Reader. It requires either rpm or dpkg to install .air applications on the system. So if you extract and install the files using your method, you won't be able to run "/opt/Adobe AIR/Versions/1.0/Adobe AIR Application Installer" because it fails to detect either rpm or dpkg (possibly you can use "airwrap" from the first post to run it but I haven't tested with this kind of installation).

Then I would suggest you look at tweaking your “airwrap” with a system that does not call the real rpm but rather a similarly named shell script that extracts, converts and installs them with native tools. You don't want to be installing rpms if you can avoid it. AFAIK rpm is provided to allow you to query rpm meta-data and assist with repacking. You are not supposed to use it to install anything but of course it is your system and your choice.

P.S. Please don't take my criticism the wrong way. Your idea and method is clever, I just think that avoiding rpm altogether should be the end goal.

playker 01-04-2019 09:54 AM

All criticism is fine. What you're suggesting is more ambitious but requires more work. It's possible that calls to "rpm -q <app_name>" and "rpm -e <app_name>" (if made by Adobe Air) would need to be handled specially, if Air applications are not managed by rpm on the system. Also updating an Air application to a new version would need to be tested.

If rpm in Slackware is only meant for querying package files then why does the rpm description in Slackware even suggest using --force and --nodeps options :)

Code:

rpm: rpm (RPM package format tool)
rpm:
rpm: RPM is a tool from Red Hat Software used to install and remove
rpm: packages in the .rpm format.  When installing RPM packages on
rpm: Slackware, you may need to use the --nodeps and --force options.
rpm: Before installing any binary package, it's wise to examine it to
rpm: see what it's going to do, and if it will overwrite any files.  You
rpm: can use rpm2tgz to convert .rpm packages to .tgz packages so you
rpm: can look them over.


bamunds 01-04-2019 10:57 AM

In reading the description it is clear that Pat was recommending looking at the binary file first! He then goes on further to recommend that a proper Slackware package be created. There are many recent threads on this forum about using rpm2tgz and the errors it will create and the successes, you should review them. Since I have used rpm and rpm2tgz to install Brave and originally Palemoon, I'm very familiar with these tools and find I totally agree with ruario, don't use them if you want a working Slackware system.

playker 01-05-2019 03:44 AM

Sometimes programs come with their own installers/updaters and using them is the only easy way. Sometimes it's similar but the programs rely on rpm or dpkg instead. Using these tools has this advantage over custom installers that you can see the list of installed files and the installation scripts.

I agree with the Slackware advice to check the files and scripts when installing an rpm. In the case of Adobe Air and Air applications all files are installed under /opt/<dir>. The installation scripts mainly create application menu shortcuts, desktop sbortcuts and update the MIME type and file extension database.

I don't believe that using rpm or rpm2tgz safely will make a Slackware system broken.

rkelsen 01-05-2019 05:58 AM

Quote:

Originally Posted by playker (Post 5944813)
I don't believe that using rpm or rpm2tgz safely will make a Slackware system broken.

And you're right... Otherwise these tools would not be provided by the maintainers.

I've used rpm2tgz many times without issue.

average_user 01-05-2019 07:39 AM

Hello playker,

Another Slackware user from Poland here. It's funny but as soon as I have read the subject I already knew what problem it's going to describe. I've also been using e-deklaracje app for a few years but I had a different method for starting it on Slackware. I tried it now again and it still seems to work well. I first download 'Adobe AIR 2.6 SDK Linux (35.8 MB)' from https://helpx.adobe.com/air/kb/archi...k-version.html, unzip e-deklaracjedesktop.air to ../app/ext directory and run it like that:
Code:

./bin/adl -nodebug ../app/ext/META-INF/AIR/application.xml  ../app/ext
Application starts, I didn't try to submit the tax declaration though. I remember that a couple of years ago I asked people on #slackware for help and someone was so kind that he even provided a tarball with some binaries. It was the very first time I realized that free open source software can have better support than commercial software.

Anyway, I don't use e-deklaracje anymore these days as they started to provide pre-filled reports and you only need a web browser to access them. It was a bad idea to use Adobe Air in the first place, Adobe stopped supporting Linux in 2011.

average_user 01-05-2019 08:13 AM

Quote:

Originally Posted by bamunds (Post 5944578)
In reading the description it is clear that Pat was recommending looking at the binary file first! He then goes on further to recommend that a proper Slackware package be created. There are many recent threads on this forum about using rpm2tgz and the errors it will create and the successes, you should review them. Since I have used rpm and rpm2tgz to install Brave and originally Palemoon, I'm very familiar with these tools and find I totally agree with ruario, don't use them if you want a working Slackware system.

Instead of modifying one's real system one could consider using a throw-away virtual machine for that kind of 'tests'. I definitely would.

bamunds 01-05-2019 11:05 AM

Which is exactly what dugan suggested and I agree with.

playker 01-06-2019 01:37 AM

Quote:

Originally Posted by average_user (Post 5944868)
I first download 'Adobe AIR 2.6 SDK Linux (35.8 MB)' from https://helpx.adobe.com/air/kb/archi...k-version.html, unzip e-deklaracjedesktop.air to ../app/ext directory and run it like that:
Code:

./bin/adl -nodebug ../app/ext/META-INF/AIR/application.xml  ../app/ext

Yes, it is another method which could be used, I've seen something similar when looking at past threads about Adobe Air. I can understand why some people will prefer this method, but it's hard to tell if Air applications will always work correctly when started this way (using the SDK instead of the runtime and using "adl").

Quote:

Originally Posted by average_user (Post 5944868)
Anyway, I don't use e-deklaracje anymore these days as they started to provide pre-filled reports and you only need a web browser to access them. It was a bad idea to use Adobe Air in the first place, Adobe stopped supporting Linux in 2011.

In my case for example I need to declare extra income in the PIT-36 form, it's not covered by the pre-filled reports.

I can sort of understand why they chose Adobe Reader for the interactive forms and why Adobe Air to integrate with Reader but as you say it's not a good idea if they want to support Linux.


All times are GMT -5. The time now is 02:31 PM.