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.328780
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.

All comments