Date: Monday, June 15, 2020 @ 22:25:11 Author: muflone Revision: 645583
archrelease: copy trunk to community-x86_64 Added: dbeaver/repos/community-x86_64/PKGBUILD (from rev 645582, dbeaver/trunk/PKGBUILD) dbeaver/repos/community-x86_64/dbeaver.desktop (from rev 645582, dbeaver/trunk/dbeaver.desktop) dbeaver/repos/community-x86_64/dbeaver.hook (from rev 645582, dbeaver/trunk/dbeaver.hook) dbeaver/repos/community-x86_64/dbeaver.install (from rev 645582, dbeaver/trunk/dbeaver.install) dbeaver/repos/community-x86_64/dbeaver.profile.gz (from rev 645582, dbeaver/trunk/dbeaver.profile.gz) dbeaver/repos/community-x86_64/dbeaver.sh (from rev 645582, dbeaver/trunk/dbeaver.sh) Deleted: dbeaver/repos/community-x86_64/PKGBUILD dbeaver/repos/community-x86_64/dbeaver.desktop dbeaver/repos/community-x86_64/dbeaver.hook dbeaver/repos/community-x86_64/dbeaver.install dbeaver/repos/community-x86_64/dbeaver.profile.gz dbeaver/repos/community-x86_64/dbeaver.sh -----------------+ PKGBUILD | 216 +++++++++++++++++++++++++++--------------------------- dbeaver.desktop | 28 +++---- dbeaver.hook | 24 +++--- dbeaver.install | 10 +- dbeaver.sh | 12 +-- 5 files changed, 145 insertions(+), 145 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-06-15 22:21:54 UTC (rev 645582) +++ PKGBUILD 2020-06-15 22:25:11 UTC (rev 645583) @@ -1,108 +0,0 @@ -# Maintainer: Muflone http://www.muflone.com/contacts/english/ -# Contributor: Arne Hoch <a...@derhoch.de> - -pkgname=dbeaver -pkgver=7.0.4 -pkgrel=1 -pkgdesc="Free universal SQL Client for developers and database administrators (community edition)" -arch=('x86_64') -url="https://dbeaver.io/" -license=("Apache") -depends=('java-runtime>=8' 'gtk3' 'gtk-update-icon-cache' 'libsecret') -makedepends=('maven' 'java-runtime>=8') -optdepends=('dbeaver-plugin-office: export data in Microsoft Office Excel format' - 'dbeaver-plugin-svg-format: save diagrams in SVG format') -source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/serge-rider/dbeaver/archive/${pkgver}.tar.gz" - "${pkgname}.desktop" - "${pkgname}.sh" - "${pkgname}.profile.gz" - "${pkgname}.hook" - "${pkgname}.install") -sha256sums=('c0cd072b41a2cbceb9749502e751cdf8f22d40d8a4b0839c5c1f235d01c1e054' - '27573b6ddb62a3d4dde4841a633e9b52cb020deb338b327a6d460fd3a29c8ded' - '3d1138ef8ec6d413d9552cab0444bd3b692fa808e9798a16b280ab17b6ca3659' - '1863e74bdcf22b7328e6e8487cbebff7d5360e34bde85c1dd226b168b4737034' - 'f8b763ca210bfa4d9a4e407b656ba4f5d1bf2f3f54c67044f7a4dd0c3625fc22' - 'f8d65dd933049b587a5815ea75a30ef944300b812df383ca1c2dcd68280bc7ab') -install="${pkgname}.install" - -prepare() { - # Fix version number in profile file - gzip --decompress --keep --stdout "${pkgname}.profile.gz" | - sed "s/DBEAVER_VERSION/${pkgver}/g" | - gzip -9 > "${pkgname}.profile-${pkgver}.gz" - - # Download dependencies during prepare FS#55873 - # https://bugs.archlinux.org/task/55873 - cd "${pkgname}-${pkgver}" - export MAVEN_OPTS="-Xmx2048m" - mvn --batch-mode validate -} - -build() { - cd "${pkgname}-${pkgver}" - mvn --batch-mode package -} - -package() { - cd "${pkgname}-${pkgver}/product/standalone" - # Install icons into /usr/share/icons/hicolor - for _size in 16 32 48 64 128 256 512 - do - install -m 644 -D "icons-sources/icon_${_size}x${_size}.png" \ - "${pkgdir}/usr/share/icons/hicolor/${_size}x${_size}/apps/dbeaver.png" - done - - # Move into the target directory - cd "target/products/org.jkiss.dbeaver.core.product/linux/gtk/${CARCH}" - - # Initially install everything into /usr/lib/dbeaver - install -m 755 -d "${pkgdir}/usr/lib" - cp -r "dbeaver" "${pkgdir}/usr/lib/${pkgname}" - - # Move shared data to /usr/share/dbeaver - cd "${pkgdir}/usr/lib/${pkgname}" - install -m 755 -d "${pkgdir}/usr/share/${pkgname}" - for _file in configuration features p2 .eclipseproduct artifacts.xml dbeaver.ini readme.txt - do - mv "${_file}" "${pkgdir}/usr/share/${pkgname}" - ln -s "/usr/share/${pkgname}/${_file}" . - done - - # Install additional licenses - install -m 755 -d "${pkgdir}/usr/share/licenses" - mv licenses "${pkgdir}/usr/share/licenses/${pkgname}" - - # Install icons - install -m 755 -d "${pkgdir}/usr/share/pixmaps" - mv dbeaver.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png" - mv icon.xpm "${pkgdir}/usr/share/pixmaps/${pkgname}.xpm" - - # Install executable script into /usr/bin - install -m 755 -d "${pkgdir}/usr/bin" - install -m 755 "${srcdir}/dbeaver.sh" "${pkgdir}/usr/bin/${pkgname}" - - # Install application launcher into /usr/share/applications - install -m 755 -d "${pkgdir}/usr/share/applications" - install -m 755 -t "${pkgdir}/usr/share/applications" "${srcdir}/${pkgname}.desktop" - - # Clean up and install new profile - rm -rf "${pkgdir}/usr/share/${pkgname}/p2/org.eclipse.equinox.p2.core" - cd "${pkgdir}/usr/share/${pkgname}/p2/org.eclipse.equinox.p2.engine/profileRegistry/DefaultProfile.profile" - find . -name "*.profile.gz" -delete - install -m 644 "${srcdir}/${pkgname}.profile-${pkgver}.gz" "1502633007017.profile.gz" - cd "${pkgdir}/usr/share/${pkgname}/p2/org.eclipse.equinox.p2.engine" - rm -f ".settings/org.eclipse.equinox.p2.artifact.repository.prefs" - rm ".settings/org.eclipse.equinox.p2.metadata.repository.prefs" - rmdir ".settings" - - # Install system hook - install -m 755 -d "${pkgdir}/usr/share/libalpm/hooks" - install -m 644 "${srcdir}/${pkgname}.hook" "${pkgdir}/usr/share/libalpm/hooks" - - # Create configuration file (handled by the hook) - cd "${pkgdir}/usr/share/dbeaver/configuration/org.eclipse.equinox.simpleconfigurator" - install -m 755 -d "${pkgdir}/etc/${pkgname}/bundles.d" - mv "bundles.info" "${pkgdir}/etc/${pkgname}/bundles.d/00-${pkgname}.info" - ln -s "/etc/${pkgname}/bundles.info" . -} Copied: dbeaver/repos/community-x86_64/PKGBUILD (from rev 645582, dbeaver/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-06-15 22:25:11 UTC (rev 645583) @@ -0,0 +1,108 @@ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Arne Hoch <a...@derhoch.de> + +pkgname=dbeaver +pkgver=7.1.0 +pkgrel=1 +pkgdesc="Free universal SQL Client for developers and database administrators (community edition)" +arch=('x86_64') +url="https://dbeaver.io/" +license=("Apache") +depends=('java-runtime>=8' 'gtk3' 'gtk-update-icon-cache' 'libsecret') +makedepends=('maven' 'java-runtime>=8') +optdepends=('dbeaver-plugin-office: export data in Microsoft Office Excel format' + 'dbeaver-plugin-svg-format: save diagrams in SVG format') +source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/serge-rider/dbeaver/archive/${pkgver}.tar.gz" + "${pkgname}.desktop" + "${pkgname}.sh" + "${pkgname}.profile.gz" + "${pkgname}.hook" + "${pkgname}.install") +sha256sums=('db91db507e48196399a755ffeeea7fc61bafc9737693041ad5e2f9fe316004a3' + '27573b6ddb62a3d4dde4841a633e9b52cb020deb338b327a6d460fd3a29c8ded' + '3d1138ef8ec6d413d9552cab0444bd3b692fa808e9798a16b280ab17b6ca3659' + '1863e74bdcf22b7328e6e8487cbebff7d5360e34bde85c1dd226b168b4737034' + 'f8b763ca210bfa4d9a4e407b656ba4f5d1bf2f3f54c67044f7a4dd0c3625fc22' + 'f8d65dd933049b587a5815ea75a30ef944300b812df383ca1c2dcd68280bc7ab') +install="${pkgname}.install" + +prepare() { + # Fix version number in profile file + gzip --decompress --keep --stdout "${pkgname}.profile.gz" | + sed "s/DBEAVER_VERSION/${pkgver}/g" | + gzip -9 > "${pkgname}.profile-${pkgver}.gz" + + # Download dependencies during prepare FS#55873 + # https://bugs.archlinux.org/task/55873 + cd "${pkgname}-${pkgver}" + export MAVEN_OPTS="-Xmx2048m" + mvn --batch-mode validate +} + +build() { + cd "${pkgname}-${pkgver}" + mvn --batch-mode package +} + +package() { + cd "${pkgname}-${pkgver}/product/standalone" + # Install icons into /usr/share/icons/hicolor + for _size in 16 32 48 64 128 256 512 + do + install -m 644 -D "icons-sources/icon_${_size}x${_size}.png" \ + "${pkgdir}/usr/share/icons/hicolor/${_size}x${_size}/apps/dbeaver.png" + done + + # Move into the target directory + cd "target/products/org.jkiss.dbeaver.core.product/linux/gtk/${CARCH}" + + # Initially install everything into /usr/lib/dbeaver + install -m 755 -d "${pkgdir}/usr/lib" + cp -r "dbeaver" "${pkgdir}/usr/lib/${pkgname}" + + # Move shared data to /usr/share/dbeaver + cd "${pkgdir}/usr/lib/${pkgname}" + install -m 755 -d "${pkgdir}/usr/share/${pkgname}" + for _file in configuration features p2 .eclipseproduct artifacts.xml dbeaver.ini readme.txt + do + mv "${_file}" "${pkgdir}/usr/share/${pkgname}" + ln -s "/usr/share/${pkgname}/${_file}" . + done + + # Install additional licenses + install -m 755 -d "${pkgdir}/usr/share/licenses" + mv licenses "${pkgdir}/usr/share/licenses/${pkgname}" + + # Install icons + install -m 755 -d "${pkgdir}/usr/share/pixmaps" + mv dbeaver.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + mv icon.xpm "${pkgdir}/usr/share/pixmaps/${pkgname}.xpm" + + # Install executable script into /usr/bin + install -m 755 -d "${pkgdir}/usr/bin" + install -m 755 "${srcdir}/dbeaver.sh" "${pkgdir}/usr/bin/${pkgname}" + + # Install application launcher into /usr/share/applications + install -m 755 -d "${pkgdir}/usr/share/applications" + install -m 755 -t "${pkgdir}/usr/share/applications" "${srcdir}/${pkgname}.desktop" + + # Clean up and install new profile + rm -rf "${pkgdir}/usr/share/${pkgname}/p2/org.eclipse.equinox.p2.core" + cd "${pkgdir}/usr/share/${pkgname}/p2/org.eclipse.equinox.p2.engine/profileRegistry/DefaultProfile.profile" + find . -name "*.profile.gz" -delete + install -m 644 "${srcdir}/${pkgname}.profile-${pkgver}.gz" "1502633007017.profile.gz" + cd "${pkgdir}/usr/share/${pkgname}/p2/org.eclipse.equinox.p2.engine" + rm -f ".settings/org.eclipse.equinox.p2.artifact.repository.prefs" + rm ".settings/org.eclipse.equinox.p2.metadata.repository.prefs" + rmdir ".settings" + + # Install system hook + install -m 755 -d "${pkgdir}/usr/share/libalpm/hooks" + install -m 644 "${srcdir}/${pkgname}.hook" "${pkgdir}/usr/share/libalpm/hooks" + + # Create configuration file (handled by the hook) + cd "${pkgdir}/usr/share/dbeaver/configuration/org.eclipse.equinox.simpleconfigurator" + install -m 755 -d "${pkgdir}/etc/${pkgname}/bundles.d" + mv "bundles.info" "${pkgdir}/etc/${pkgname}/bundles.d/00-${pkgname}.info" + ln -s "/etc/${pkgname}/bundles.info" . +} Deleted: dbeaver.desktop =================================================================== --- dbeaver.desktop 2020-06-15 22:21:54 UTC (rev 645582) +++ dbeaver.desktop 2020-06-15 22:25:11 UTC (rev 645583) @@ -1,14 +0,0 @@ -[Desktop Entry] -Version=1.0 -Type=Application -Terminal=false -Name=DBeaver Community -GenericName=UniversaL Database Manager -Comment=Universal Database Manager and SQL Client. -Exec=dbeaver -Icon=dbeaver -Categories=IDE;Development -StartupWMClass=DBeaver -StartupNotify=true -Keywords=Database;SQL;IDE;JDBC;ODBC;MySQL;PostgreSQL -MimeType=application/sql Copied: dbeaver/repos/community-x86_64/dbeaver.desktop (from rev 645582, dbeaver/trunk/dbeaver.desktop) =================================================================== --- dbeaver.desktop (rev 0) +++ dbeaver.desktop 2020-06-15 22:25:11 UTC (rev 645583) @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Terminal=false +Name=DBeaver Community +GenericName=UniversaL Database Manager +Comment=Universal Database Manager and SQL Client. +Exec=dbeaver +Icon=dbeaver +Categories=IDE;Development +StartupWMClass=DBeaver +StartupNotify=true +Keywords=Database;SQL;IDE;JDBC;ODBC;MySQL;PostgreSQL +MimeType=application/sql Deleted: dbeaver.hook =================================================================== --- dbeaver.hook 2020-06-15 22:21:54 UTC (rev 645582) +++ dbeaver.hook 2020-06-15 22:25:11 UTC (rev 645583) @@ -1,12 +0,0 @@ -[Trigger] -Type = Path -Operation = Install -Operation = Upgrade -Operation = Remove -Target = etc/dbeaver/bundles.d/*.info - -[Action] -Description = Updating the DBeaver bundles.info database... -When = PostTransaction -Exec = /bin/sh -c '> /etc/dbeaver/bundles.info; cat /etc/dbeaver/bundles.d/*.info > /etc/dbeaver/bundles.info' - Copied: dbeaver/repos/community-x86_64/dbeaver.hook (from rev 645582, dbeaver/trunk/dbeaver.hook) =================================================================== --- dbeaver.hook (rev 0) +++ dbeaver.hook 2020-06-15 22:25:11 UTC (rev 645583) @@ -0,0 +1,12 @@ +[Trigger] +Type = Path +Operation = Install +Operation = Upgrade +Operation = Remove +Target = etc/dbeaver/bundles.d/*.info + +[Action] +Description = Updating the DBeaver bundles.info database... +When = PostTransaction +Exec = /bin/sh -c '> /etc/dbeaver/bundles.info; cat /etc/dbeaver/bundles.d/*.info > /etc/dbeaver/bundles.info' + Deleted: dbeaver.install =================================================================== --- dbeaver.install 2020-06-15 22:21:54 UTC (rev 645582) +++ dbeaver.install 2020-06-15 22:25:11 UTC (rev 645583) @@ -1,5 +0,0 @@ -pre_remove() { - # Remove bundles.info managed from the hook - rm /etc/dbeaver/bundles.info -} - Copied: dbeaver/repos/community-x86_64/dbeaver.install (from rev 645582, dbeaver/trunk/dbeaver.install) =================================================================== --- dbeaver.install (rev 0) +++ dbeaver.install 2020-06-15 22:25:11 UTC (rev 645583) @@ -0,0 +1,5 @@ +pre_remove() { + # Remove bundles.info managed from the hook + rm /etc/dbeaver/bundles.info +} + Deleted: dbeaver.profile.gz =================================================================== (Binary files differ) Copied: dbeaver/repos/community-x86_64/dbeaver.profile.gz (from rev 645582, dbeaver/trunk/dbeaver.profile.gz) =================================================================== (Binary files differ) Deleted: dbeaver.sh =================================================================== --- dbeaver.sh 2020-06-15 22:21:54 UTC (rev 645582) +++ dbeaver.sh 2020-06-15 22:25:11 UTC (rev 645583) @@ -1,6 +0,0 @@ -#!/bin/sh -# Disable GTK+ Overlay scrolling -# https://bugs.archlinux.org/task/63338 -# https://bugs.eclipse.org/bugs/show_bug.cgi?id=519728 -export GTK_OVERLAY_SCROLLING=0 -/usr/lib/dbeaver/dbeaver Copied: dbeaver/repos/community-x86_64/dbeaver.sh (from rev 645582, dbeaver/trunk/dbeaver.sh) =================================================================== --- dbeaver.sh (rev 0) +++ dbeaver.sh 2020-06-15 22:25:11 UTC (rev 645583) @@ -0,0 +1,6 @@ +#!/bin/sh +# Disable GTK+ Overlay scrolling +# https://bugs.archlinux.org/task/63338 +# https://bugs.eclipse.org/bugs/show_bug.cgi?id=519728 +export GTK_OVERLAY_SCROLLING=0 +/usr/lib/dbeaver/dbeaver