[arch-commits] Commit in gpsbabel/repos/community-x86_64 (8 files)
Date: Monday, July 13, 2020 @ 23:08:43 Author: bgyorgy Revision: 663545 archrelease: copy trunk to community-x86_64 Added: gpsbabel/repos/community-x86_64/PKGBUILD (from rev 663544, gpsbabel/trunk/PKGBUILD) gpsbabel/repos/community-x86_64/gpsbabel.appdata.xml (from rev 663544, gpsbabel/trunk/gpsbabel.appdata.xml) gpsbabel/repos/community-x86_64/install.patch (from rev 663544, gpsbabel/trunk/install.patch) gpsbabel/repos/community-x86_64/no-map.patch (from rev 663544, gpsbabel/trunk/no-map.patch) Deleted: gpsbabel/repos/community-x86_64/PKGBUILD gpsbabel/repos/community-x86_64/desktop-file.patch gpsbabel/repos/community-x86_64/drop-map.patch gpsbabel/repos/community-x86_64/gpsbabel.appdata.xml --+ PKGBUILD | 130 ++--- desktop-file.patch | 23 -- drop-map.patch | 131 - gpsbabel.appdata.xml | 38 ++-- install.patch| 459 + no-map.patch | 162 + 6 files changed, 704 insertions(+), 239 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-07-13 23:08:39 UTC (rev 663544) +++ PKGBUILD2020-07-13 23:08:43 UTC (rev 663545) @@ -1,66 +0,0 @@ -# Maintainer: Balló György -# Contributor: Sergej Pupykin -# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org -# Contributor: William Rea - -pkgname=gpsbabel -pkgver=1.7.0 -pkgrel=1 -pkgdesc="Read, write and manipulate GPS waypoints in a variety of formats" -arch=(x86_64) -url="https://www.gpsbabel.org/; -license=(GPL) -depends=(hicolor-icon-theme libusb qt5-base) # qt5-webengine -makedepends=(libicns qt5-tools) -source=(https://github.com/gpsbabel/$pkgname/archive/${pkgname}_${pkgver//./_}.tar.gz -gpsbabel.appdata.xml -desktop-file.patch -drop-map.patch) -sha256sums=('30b186631fb43db576b8177385ed5c31a5a15c02a6bc07bae1e0d7af9058a797' -'5eb52ab0c4bdde61c747856e849f9bce9ca660e942c15f730a4330a38fd6a39a' -'e66a786dc5592388f651f2bcabb4205809a42e0a937bb034cb469bd2cd50d1a1' -'d18fd718973cc9efc6bee95ec7741b7d63a0fd46fd9e2d281f687fd465b7c19e') - -prepare() { - icns2png -x $pkgname-${pkgname}_${pkgver//./_}/gui/images/appicon.icns - - cd $pkgname-${pkgname}_${pkgver//./_} - - # Remove map due to heavy WebEngine dependency - patch -Np1 -i ../drop-map.patch - - # Fix path - sed -i 's|langPath_ = QApplication::applicationDirPath();|langPath_ = "/usr/share/gpsbabel";|' gui/mainwindow.cc - sed -i 's|baseFile = QApplication::applicationDirPath() + "/gmapbase.html";|baseFile = "/usr/share/gpsbabel/gmapbase.html";|' gui/map.cc - -} - -build() { - cd $pkgname-${pkgname}_${pkgver//./_} - ./configure --prefix=/usr - make - - # GUI - cd gui - qmake - lrelease *.ts - make -} - -package() { - cd $pkgname-${pkgname}_${pkgver//./_} - make DESTDIR="$pkgdir" install - - # GUI - install -Dm755 gui/objects/gpsbabelfe "$pkgdir"/usr/bin/gpsbabelfe - install -Dm644 gui/gpsbabel.desktop "$pkgdir"/usr/share/applications/gpsbabel.desktop - install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml" - install -Dm644 gui/gmapbase.html "$pkgdir"/usr/share/gpsbabel/gmapbase.html - install -dm755 "$pkgdir"/usr/share/gpsbabel/translations/ - install -Dm644 gui/*.qm "$pkgdir"/usr/share/gpsbabel/translations/ - - for res in 16 32 128 256 512; do -install -Dm644 ../appicon_${res}x${res}x32.png \ - "$pkgdir/usr/share/icons/hicolor/${res}x${res}/apps/$pkgname.png" - done -} Copied: gpsbabel/repos/community-x86_64/PKGBUILD (from rev 663544, gpsbabel/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-07-13 23:08:43 UTC (rev 663545) @@ -0,0 +1,64 @@ +# Maintainer: Balló György +# Contributor: Sergej Pupykin +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gpsbabel +pkgver=1.7.0 +pkgrel=2 +pkgdesc="Read, write and manipulate GPS waypoints in a variety of formats" +arch=(x86_64) +url="https://www.gpsbabel.org/; +license=(GPL) +depends=(hicolor-icon-theme libusb qt5-base) +makedepends=(libicns qt5-tools) +source=(https://github.com/gpsbabel/$pkgname/archive/${pkgname}_${pkgver//./_}.tar.gz +gpsbabel.appdata.xml +install.patch +no-map.patch) +sha256sums=('30b186631fb43db576b8177385ed5c31a5a15c02a6bc07bae1e0d7af9058a797' +'5eb52ab0c4bdde61c747856e849f9bce9ca660e942c15f730a4330a38fd6a39a' +'a12a48f2bcad5c2184cf2157488ee18d90f3415cb406eb8b70513f35dfe26b16' +'378202355f7dd5a01df554af6298b8871e8ab8112aa2a7fa727d26434623da21') + +prepare() { + icns2png -x $pkgname-${pkgname}_${pkgver//./_}/gui/images/appicon.icns + + cd $pkgname-${pkgname}_${pkgver//./_} + + # Support make install for GUI on Linux systems + #
[arch-commits] Commit in gpsbabel/repos/community-x86_64 (8 files)
Date: Friday, July 10, 2020 @ 21:23:50 Author: bgyorgy Revision: 663202 archrelease: copy trunk to community-x86_64 Added: gpsbabel/repos/community-x86_64/PKGBUILD (from rev 663201, gpsbabel/trunk/PKGBUILD) gpsbabel/repos/community-x86_64/desktop-file.patch (from rev 663201, gpsbabel/trunk/desktop-file.patch) gpsbabel/repos/community-x86_64/drop-map.patch (from rev 663201, gpsbabel/trunk/drop-map.patch) gpsbabel/repos/community-x86_64/gpsbabel.appdata.xml (from rev 663201, gpsbabel/trunk/gpsbabel.appdata.xml) Deleted: gpsbabel/repos/community-x86_64/PKGBUILD gpsbabel/repos/community-x86_64/desktop-file.patch gpsbabel/repos/community-x86_64/drop-map.patch gpsbabel/repos/community-x86_64/gpsbabel.appdata.xml --+ PKGBUILD | 132 desktop-file.patch | 46 drop-map.patch | 264 - gpsbabel.appdata.xml | 38 +++ 4 files changed, 239 insertions(+), 241 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-07-10 21:23:46 UTC (rev 663201) +++ PKGBUILD2020-07-10 21:23:50 UTC (rev 663202) @@ -1,66 +0,0 @@ -# Maintainer: Balló György -# Contributor: Sergej Pupykin -# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org -# Contributor: William Rea - -pkgname=gpsbabel -pkgver=1.6.0 -_pkgver=1_6_0 -pkgrel=3 -pkgdesc="Read, write and manipulate GPS waypoints in a variety of formats" -arch=('x86_64') -url="https://www.gpsbabel.org/; -license=('GPL') -depends=('hicolor-icon-theme' 'libusb-compat' 'qt5-base') # 'qt5-webengine' -makedepends=('imagemagick' 'qt5-tools') -source=(https://github.com/gpsbabel/$pkgname/archive/${pkgname}_$_pkgver.tar.gz -gpsbabel.appdata.xml -desktop-file.patch -drop-map.patch) -sha256sums=('ad56796f725dcdb7f52d9a9509d4922f11198c382fe10fc2d6c9efa8159f2090' -'5eb52ab0c4bdde61c747856e849f9bce9ca660e942c15f730a4330a38fd6a39a' -'e66a786dc5592388f651f2bcabb4205809a42e0a937bb034cb469bd2cd50d1a1' -'5377f1a6f0d52d93f7d604c171ce1f6b18bb389c9e4c67ff4910c4079a2696fd') - -prepare() { - cd $pkgname-${pkgname}_$_pkgver - - # Correct name of Exec in desktop file - # https://github.com/gpsbabel/gpsbabel/pull/353 - patch -Np1 -i ../desktop-file.patch - - # Remove map due to heavy WebEngine dependency - patch -Np1 -i ../drop-map.patch - - # Fix path - sed -i 's|langPath_ = QApplication::applicationDirPath();|langPath_ = "/usr/share/gpsbabel";|' gui/mainwindow.cc - sed -i 's|baseFile = QApplication::applicationDirPath() + "/gmapbase.html";|baseFile = "/usr/share/gpsbabel/gmapbase.html";|' gui/map.cc - - convert gui/images/appicon.png +set date:create +set date:modify -background none -gravity center -extent 512x512 gui/images/appicon.png -} - -build() { - cd $pkgname-${pkgname}_$_pkgver - ./configure --prefix=/usr - make - - # GUI - cd gui - qmake-qt5 - lrelease-qt5 *.ts - make -} - -package() { - cd $pkgname-${pkgname}_$_pkgver - make DESTDIR="$pkgdir" install - - # GUI - install -Dm755 gui/objects/gpsbabelfe "$pkgdir"/usr/bin/gpsbabelfe - install -Dm644 gui/images/appicon.png "$pkgdir"/usr/share/icons/hicolor/512x512/apps/gpsbabel.png - install -Dm644 gui/gpsbabel.desktop "$pkgdir"/usr/share/applications/gpsbabel.desktop - install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml" - install -Dm644 gui/gmapbase.html "$pkgdir"/usr/share/gpsbabel/gmapbase.html - install -dm755 "$pkgdir"/usr/share/gpsbabel/translations/ - install -Dm644 gui/*.qm "$pkgdir"/usr/share/gpsbabel/translations/ -} Copied: gpsbabel/repos/community-x86_64/PKGBUILD (from rev 663201, gpsbabel/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-07-10 21:23:50 UTC (rev 663202) @@ -0,0 +1,66 @@ +# Maintainer: Balló György +# Contributor: Sergej Pupykin +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea + +pkgname=gpsbabel +pkgver=1.7.0 +pkgrel=1 +pkgdesc="Read, write and manipulate GPS waypoints in a variety of formats" +arch=(x86_64) +url="https://www.gpsbabel.org/; +license=(GPL) +depends=(hicolor-icon-theme libusb qt5-base) # qt5-webengine +makedepends=(libicns qt5-tools) +source=(https://github.com/gpsbabel/$pkgname/archive/${pkgname}_${pkgver//./_}.tar.gz +gpsbabel.appdata.xml +desktop-file.patch +drop-map.patch) +sha256sums=('30b186631fb43db576b8177385ed5c31a5a15c02a6bc07bae1e0d7af9058a797' +'5eb52ab0c4bdde61c747856e849f9bce9ca660e942c15f730a4330a38fd6a39a' +'e66a786dc5592388f651f2bcabb4205809a42e0a937bb034cb469bd2cd50d1a1' +'d18fd718973cc9efc6bee95ec7741b7d63a0fd46fd9e2d281f687fd465b7c19e') + +prepare() { + icns2png -x