Package Details: 2gis 3.16.3.0-1

Git Clone URL: https://aur.archlinux.org/2gis.git (read-only)
Package Base: 2gis
Description: Geographic Information System (GIS) for some Russian and Ukrainian cities.
Upstream URL: http://help.2gis.ru/linux/
Licenses: Adware
Submitter: None
Maintainer: AlexTalker
Last Packager: AlexTalker
Votes: 49
Popularity: 0.012252
First Submitted: 2009-04-05 14:50
Last Updated: 2016-03-16 07:27

Latest Comments

Andy_Crowd commented on 2015-03-16 19:59

extract deb packages
curl http://deb.2gis.ru/pool/non-free/2/2gis/ |grep 2gis_ |sed -e 's/[^*]*href=\"//m' -e 's/%2/+/g' | cut -d'"' -f1 | sort | tail -2

Andy_Crowd commented on 2015-03-16 19:34

This will extract URL to the latest package:
curl "http://info.2gis.ru/moscow/products/download#skachat-kartu-na-komputer&linux" | awk -Fzip '{if(match($0,"2GISShell") != 0){AA=substr($2,index($2,"http"));if(match(AA,"http") != 0)print AA"zip"}}'

yohanson commented on 2015-01-10 10:09

I stopped updating 2gis packages because of distro switch. If someone wants to do it, here is a set of scripts I used monthly: http://s000.tinyupload.com/index.php?file_id=07684330455494379343

ForeverYoung commented on 2014-11-27 10:59

Fixed PKGBUILD for beta:
https://www.dropbox.com/s/rbyn1frfkalvpqo/2gis-beta-4.14.11-1.src.tar.gz?dl=0

ForeverYoung commented on 2014-11-27 09:00

Use 'icu52' dependency.

Also, these actions are needed (from deb):

# create group
groupadd --force 2gis

# set permitions
chown root:2gis /usr/bin/2gis
chmod g+s /usr/bin/2gis

chown root:2gis /var/cache/2GIS
chmod g+ws /var/cache/2GIS
chown root:2gis /var/cache/2GIS/v4
chmod g+ws /var/cache/2GIS/v4

artemklevtsov commented on 2014-11-26 17:07

Now available packahes only for ubuntu. I tried wrote PKGBUILD without success.

My experimental PKGBUILD:

kgname=2gis-beta
pkgver=4.14.11
pkgrel=1
pkgdesc="Geographic Information System (GIS) for some Russian and Ukrainian cities."
arch=('x86_64')
url="http://help.2gis.ru/linux/"
license=('Adware')
depends=('libsm' 'libcups' 'qt5-svg' 'qt5-webkit' 'hicolor-icon-theme' 'xcb-util-renderutil' 'libpng12')
install="$pkgname".install

source=("http://deb.2gis.ru/pool/non-free/2/2gis/2gis_4.14.11-0trusty1%2bshv121%2br169_amd64.deb")
md5sums=('395d06463b7ddc7b1dcb1cc61e69c907')

package() {
msg "Converting debian package..."
cd "${srcdir}"
tar xvJf data.tar.xz -C "${pkgdir}"
}

and dirty install-file:

post_install() {
xdg-icon-resource forceupdate --theme hicolor
update-desktop-database -q
ln -sf /usr/lib/libicui18n.so.54 /usr/lib/libicui18n.so.52
ln -sf /usr/lib/libicuuc.so.54 /usr/lib/libicuuc.so.52
}

post_upgrade() {
post_install $1
}

post_remove() {
xdg-icon-resource forceupdate --theme hicolor
update-desktop-database -q
rm -f /usr/lib/libicui18n.so.52
}

Now I get:
2gis: symbol lookup error: /usr/lib/2GIS/v4/lib/libQt5WebKit.so.5: undefined symbol: UCNV_FROM_U_CALLBACK_ESCAPE_52

ForeverYoung commented on 2014-11-26 16:08

What about new beta version? (maybe as a separate package)

ka_kovalenko commented on 2013-11-07 00:09

namcap 2gis-3.13.10.0-1-x86_64.pkg.tar.xz
2gis E: Files in /usr/share/icons/hicolor but no call to gtk-update-icon-cache or xdg-icon-resource to update the icon cache
2gis E: Dependency hicolor-icon-theme detected and not included (needed for hicolor theme hierarchy)

yohanson commented on 2013-04-08 06:46

Thanks, updated. Now using package().

PerfectGentleman commented on 2013-04-06 18:08

WARNING: Using a PKGBUILD without a package() function is deprecated.

dvk commented on 2012-05-08 13:41

Please commit hokum's changes asap!

dvk commented on 2012-05-08 13:19

Please commit hokum's changes asap!

hokum commented on 2012-05-05 03:37

# Contributor: stanislaw <i@archuser.pp.ru>
# Contributor: wido <widomaker2k7@gmail.com>
# Contributor: Nebulosa <nebulosa2007 na yandekse>
# Contributor: max1m <mr[dot]mxm86[at]gmail[dot]com>

pkgname=2gis
pkgver=3.6.0.2
pkgrel=1
pkgdesc="Geographic Information System (GIS) for some Russian and Ukrainian cities."
arch=('i686' 'x86_64')
url="http://help.2gis.ru/linux/"
license=('custom')
if [ "${CARCH}" = 'x86_64' ]; then
depends=('wine>=1.1.24' 'lib32-libldap' 'lib32-libxml2' )
elif [ "${CARCH}" = 'i686' ]; then
depends=('wine>=1.1.24' 'libxml2' )
fi
source=("http://download.2gis.ru/arhives/2GISShell-${pkgver}.orig.zip"
"2gis.png"
"2gis-launch"
"2gis.desktop"
"LICENSE.ru"
"LICENSE.ua")
md5sums=('081e09d9bbfff34ad5df1e1d71a6eb73'
'0c6de91e65660f270b72ced235689c50'
'd444c77bbc94c687d8edbee794f8f115'
'755fa39ea0a2b5767f5bf35c29257791'
'415c638aa454ab03b1977c5156888e14'
'841a50883a42fe12688e84f66bd26caf')

build() {

install -d $pkgdir/opt/2gis
install -D -m644 -t $pkgdir/opt/2gis $srcdir/2gis/3.0/*.*
install -d $pkgdir/opt/2gis/Plugins
install -D -m644 -t $pkgdir/opt/2gis/Plugins $srcdir/2gis/3.0/Plugins/*.*
install -D -m644 LICENSE.ru $pkgdir/usr/share/licenses/2gis/LICENSE.ru
install -D -m644 LICENSE.ua $pkgdir/usr/share/licenses/2gis/LICENSE.ua
install -D -m644 2gis.png $pkgdir/usr/share/pixmaps/2gis.png
install -D -m644 2gis.desktop $pkgdir/usr/share/applications/2gis.desktop
install -D -m777 2gis-launch $pkgdir/usr/bin/2gis
}

artemklevtsov commented on 2012-01-30 13:15

License is Adware.

artemklevtsov commented on 2012-01-30 11:01

С версии wine 1.3.37 2gis работает нормально. Только теперь он предлагает установить оболчку и карты, и устанавливает их в "$HOME/.wine/drive_c/Program Files/2gis/".

Anonymous comment on 2011-11-08 13:10

Уважаемый stanislaw, 2gis тормозит на wine=>1.3.0
Привяжите к пакету версию wine 1.2.3 - на ней лучше всего работает.
делал следующее:
1) ставил из AUR http://aur.archlinux.org/packages.php?ID=53832
2) изменял ваш файл 2gis-launch следующим образом:

#!/bin/bash

PATH="/opt/wine-1.2.3/usr/bin/:$PATH"
wine /opt/2gis/grym.exe


------------------------------------------------------------------
Dear Stanislav, 2gis brakes on wine => 1.3.0
Tie the package version of wine 1.2.3 - her best works.
do the following:
1) set of AUR http://aur.archlinux.org/packages.php?ID=53832
2) change your file 2gis-launch as follows:

#!/bin/bash

PATH="/opt/wine-1.2.3/usr/bin/:$PATH"
wine /opt/2gis/grym.exe

artemklevtsov commented on 2011-10-12 12:40

After latest update wine 2gis don't work. I get following output in the terminal:

$ wine /opt/2gis/grym.exe -noupdate
err:ntlm:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path.
err:ntlm:SECUR32_initNTLMSP Usually, you can find it in the winbind package of your distribution.
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),1,3,(nil),0,(nil)) - stub!
fixme:ole:CoResumeClassObjects stub
wine: Unhandled exception 0xc0000409 at address 0x8bedac (thread 0009), starting debugger...
Process of pid=0008 has terminated
No process loaded, cannot execute 'echo Modules:'
Cannot get info on module while no process is loaded
No process loaded, cannot execute 'echo Threads:'
process tid prio (all id:s are in hex)
0000000e services.exe
0000001e 0
0000001d 0
00000019 0
00000017 0
00000015 0
00000010 0
0000000f 0
00000012 winedevice.exe
00000018 0
00000014 0
00000013 0
0000001a plugplay.exe
0000001f 0
0000001c 0
0000001b 0
00000020 explorer.exe
00000021 0
You must be attached to a process to run this command.
No process loaded, cannot execute 'detach'

---
local/2gis 3.5.3.1-1
multilib/wine 1.3.30-1

Nebulosa commented on 2011-04-01 10:25

PKGBUILD-made script:
http://pastebin.com/J880Vqfi

PKGBUILD-FOO:
http://pastebin.com/WM8EUaGw

Launch mounthly.

Nebulosa commented on 2010-08-15 04:54

Here, I fix it! :)

hokum commented on 2010-08-14 01:08

Dependency 'lib32-libldap' is wrong for i686

flow commented on 2010-08-02 09:09

remplace
if [ "${CARCH}" = 'x86_64' ]; then
depends=('bin32-wine>=1.1.24')
elif [ "${CARCH}" = 'i686' ]; then
depends=('wine>=1.1.24')
fi

by

depends=('wine>=1.1.24')

wine exist for x86_64:
http://www.archlinux.org/packages/community/x86_64/wine/

haawda commented on 2010-07-11 02:23

Please do not use $startdir anymore, use $srcdir and $pkgdir resp.

Please use install in favour over mkdir -p and cp.

hokum commented on 2010-07-11 00:08

# Contributor: stanislaw <i@archuser.pp.ru>
# Contributor: wido <widomaker2k7@gmail.com>

pkgname=2gis
pkgver=3.0.7.1
pkgrel=1
pkgdesc="Geographic Information System (GIS) for some Russian and Ukrainian cities."
arch=('i686' 'x86_64')
url="http://help.2gis.ru/linux/"
license=('custom')
if [ "${CARCH}" = 'x86_64' ]; then
depends=('bin32-wine>=1.1.24')
elif [ "${CARCH}" = 'i686' ]; then
depends=('wine>=1.1.24')
fi
source=("http://download.2gis.ru/arhives/2GISShell-${pkgver}.orig.zip"
"2gis.xpm"
"LICENSE.ru"
"LICENSE.ua")
md5sums=('6e3ab00ef0624dce663e731868f49f23'
'f73e2e7879338958176cd066449f2aaa'
'c7fb692d8ac804b68d680165241c339b'
'841a50883a42fe12688e84f66bd26caf')

build() {

cd $startdir

# Extracting

#unzip 2GISShell-${pkgver}.orig.zip || return 1

# Installing to /opt/2gis
mkdir -p $startdir/pkg/opt/2gis/
cp -R $startdir/src/2gis/3.0/* $startdir/pkg/opt/2gis || return 1

mkdir -p $startdir/pkg/usr/share/licenses/2gis/
cp $startdir/LICENSE.ru $startdir/pkg/usr/share/licenses/2gis || return 1
cp $startdir/LICENSE.ua $startdir/pkg/usr/share/licenses/2gis || return 1


# Creating links
chmod a+rx $startdir/pkg/opt/2gis/
mkdir -p $startdir/pkg/usr/bin/
touch $startdir/pkg/usr/bin/2gis

mkdir -p $startdir/pkg/usr/share/pixmaps/
cp $startdir/2gis.xpm $startdir/pkg/usr/share/pixmaps/


mkdir -p $startdir/pkg/usr/share/applications/
touch $startdir/pkg/usr/share/applications/2gis.desktop
echo "[Desktop Entry]" | tee $startdir/pkg/usr/share/applications/2gis.desktop
echo "Encoding=UTF-8" | tee -a $startdir/pkg/usr/share/applications/2gis.desktop
echo "Type=Application" | tee -a $startdir/pkg/usr/share/applications/2gis.desktop
echo "Name=2GIS ДубльГИС 3.0" | tee -a $startdir/pkg/usr/share/applications/2gis.desktop
echo "Exec=2gis" | tee -a $startdir/pkg/usr/share/applications/2gis.desktop
echo "Icon=2gis" | tee -a $startdir/pkg/usr/share/applications/2gis.desktop
echo "StartupNotify=true" | tee -a $startdir/pkg/usr/share/applications/2gis.desktop
echo "Categories=Application;Utility;" | tee -a $startdir/pkg/usr/share/applications/2gis.desktop

# Creating launch script:
echo "#!/bin/bash" | tee $startdir/pkg/usr/bin/2gis
echo "wine /opt/2gis/grym.exe -nomta" | tee -a $startdir/pkg/usr/bin/2gis
chmod +x $startdir/pkg/usr/bin/2gis
}