Package Details: gabedit 2.5.1-1

Git Clone URL: https://aur.archlinux.org/gabedit.git (read-only, click to copy)
Package Base: gabedit
Description: A graphical user interface to computational chemistry packages
Upstream URL: http://gabedit.sourceforge.net/
Licenses: custom
Submitter: None
Maintainer: Sylogista
Last Packager: Sylogista
Votes: 3
Popularity: 0.000000
First Submitted: 2016-04-12 18:12 (UTC)
Last Updated: 2021-11-12 00:10 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

gpettinello commented on 2021-10-09 13:23 (UTC) (edited on 2021-10-09 13:23 (UTC) by gpettinello)

Hello everybody, @Sylogista Yes needed the gtkglext-pangox dependncy. Please update the PKGBUILD as follows

# Maintainer: Hilary Jendrasiak <sylogista@sylogista.pl>
# Contributor: ross <prwarren8 at gmail dot com>
# Contributor: gpettinello <g_pet@hotmail.com>

pkgname=gabedit
pkgver=2.5.1
pkgrel=1
pkgdesc='A graphical user interface to computational chemistry packages'
arch=('i686' 'x86_64')
url='http://gabedit.sourceforge.net/'
license=('Custom')
depends=('pangox-compat' 'gtkglext')
_pkgver="${pkgver//\./}"
source=("http://prdownloads.sourceforge.net/gabedit/GabeditSrc$_pkgver.tar.gz" 
        'gabedit.desktop')

sha512sums=('bc02f95c605ebf0d3dc5ec41254424ba9263d49a473f3f2f9b70d15a0a32548dc90e0ee09c2903cbc24a84632b2103789b5785a83271c943ac2a97d6299e59ef' 
            'd9d2a7c6aab76ce3ba0ae11a8fd22ae7d3538dbc07221ff81fabf74fbcb57e51c788e31b1e255e99aab0618ed846a2cf3eea7083362151fb798be4fafdac0d4e')

build()
{
    cd "$srcdir/GabeditSrc$_pkgver/"
    cp platforms/CONFIG.unix CONFIG
    sed -i 's/-Wno-unused-variable/-Wno-unused-variable -fcommon/g' CONFIG
    make
    #LDFLAGS+=/lib/libm.so.6 make
}
package()
{
    mkdir -p "$pkgdir/usr/bin"
    mkdir -p "$pkgdir/usr/share/licenses/gabedit"
    mkdir -p "$pkgdir/usr/share/applications/"

    install -D -m655 "$srcdir/GabeditSrc$_pkgver/gabedit" \
    "$pkgdir/usr/bin/"
    install -D -m644 "$srcdir/GabeditSrc$_pkgver/License" \
    "$pkgdir/usr/share/licenses/gabedit"

    # install .desktop file
    install -D -m644 "$srcdir/gabedit.desktop" \
    "$pkgdir/usr/share/applications/"
    install -D -m644 "$srcdir/GabeditSrc$_pkgver/icons/Gabedit48.png" \
    "$pkgdir/usr/share/pixmaps/gabedit.png"
}

Sylogista commented on 2021-07-16 22:04 (UTC)

@a.kudelin Done, thank you!

a.kudelin commented on 2021-07-04 10:51 (UTC)

Hi @Sylogista Could you please update PKGBUILD with the following?

# Maintainer: Hilary Jendrasiak <sylogista@sylogista.pl>
# Contributor: ross <prwarren8 at gmail dot com>

pkgname=gabedit
pkgver=2.5.0
pkgrel=2
pkgdesc='A graphical user interface to computational chemistry packages'
arch=('x86_64')
url='http://gabedit.sourceforge.net/'
license=('Custom')
depends=('gtkglext-pangox')
_pkgver="${pkgver//\./}"
source=("http://prdownloads.sourceforge.net/gabedit/GabeditSrc$_pkgver.tar.gz" 
        'gabedit.desktop')
sha512sums=('c1caf916da81c68fb95f4477e69135ed52738a40427c825be33a4d024f809628fd40bbe153b02a95b01b16d2b3c8b45c8ac470c648003648ff24165af4390943' 
            'd9d2a7c6aab76ce3ba0ae11a8fd22ae7d3538dbc07221ff81fabf74fbcb57e51c788e31b1e255e99aab0618ed846a2cf3eea7083362151fb798be4fafdac0d4e')

prepare() {
  cd "$srcdir/GabeditSrc$_pkgver"
  cp platforms/CONFIG.unix CONFIG
  sed -i 's/-Wno-unused-variable/-Wno-unused-variable -fcommon/g' CONFIG
}

build() {
  cd "$srcdir/GabeditSrc$_pkgver"
  make
}
package() {
  mkdir -p "$pkgdir/usr/bin"
  mkdir -p "$pkgdir/usr/share/licenses/gabedit"
  mkdir -p "$pkgdir/usr/share/applications"

  install -D -m655 "$srcdir/GabeditSrc$_pkgver/gabedit" "$pkgdir/usr/bin"
  install -D -m644 "$srcdir/GabeditSrc$_pkgver/License" \
    "$pkgdir/usr/share/licenses/gabedit"

  # install .desktop file
  install -D -m644 "$srcdir/gabedit.desktop" "$pkgdir/usr/share/applications"
  install -D -m644 "$srcdir/GabeditSrc$_pkgver/icons/Gabedit48.png" \
    "$pkgdir/usr/share/pixmaps/gabedit.png"
}

iamkaant commented on 2021-02-20 14:59 (UTC) (edited on 2021-02-20 15:01 (UTC) by iamkaant)

@gpettinello thank you, I was able to install gabedit using your PKGBUILD, but I needed to install pangox-compat explicitly. I had pango installed, but without pangox-compat during building gabedit I've got an error

/usr/sbin/ld: cannot find -lpangox-1.0

collect2: error: ld returned 1 exit status

gpettinello commented on 2021-01-03 12:37 (UTC)

@Sylogista yes I have pango installed and that gives me no errors. So the dependency should be pango and not for instance pangox-compat (AUR) Sorry for the mistake

Sylogista commented on 2021-01-02 18:36 (UTC)

@gpettinello: I've tried your PKGBUILD on fresh Arch and it gives errors. Could you check it on fresh Arch too? For me it looks like you have pangox... could you also check ldconfig -p | grep pangox?

gpettinello commented on 2021-01-02 17:49 (UTC) (edited on 2021-01-02 17:52 (UTC) by gpettinello)

I was able to compile without pangox and without errors. Here is the PKGBUILD

# Maintainer: Hilary Jendrasiak <sylogista@sylogista.pl>
# Contributor: ross <prwarren8 at gmail dot com>
# Contributor: gianluca <g_pet@hotmail.com>

pkgname=gabedit
pkgver=2.5.1
pkgrel=1
pkgdesc='A graphical user interface to computational chemistry packages'
arch=('i686' 'x86_64')
url='http://gabedit.sourceforge.net/'
license=('Custom')
depends=('gtkglext' 'gtk2')
_pkgver="${pkgver//\./}_280820"
source=("https://sites.google.com/site/allouchear/Home/gabedit/download/GabeditSrc$_pkgver.tar.gz" 
        'gabedit.desktop')

sha512sums=('f05187f25fe65e5ed48c339be4b49fe1e1e71f48c02d1d5a95a8d025f5d3a85fffc3f8bc66c5f0306935a2077cd73997b02e15472c753cb3eabb9ce06ff6391c' 
            'd9d2a7c6aab76ce3ba0ae11a8fd22ae7d3538dbc07221ff81fabf74fbcb57e51c788e31b1e255e99aab0618ed846a2cf3eea7083362151fb798be4fafdac0d4e')

build()
{
    cd "$srcdir/GabeditSrc$_pkgver/"
    cp platforms/CONFIG.unix CONFIG
    sed -i 's/-Wno-unused-variable/-Wno-unused-variable -fcommon/g' CONFIG
    make
    #LDFLAGS+=/lib/libm.so.6 make
}
package()
{
    mkdir -p "$pkgdir/usr/bin"
    mkdir -p "$pkgdir/usr/share/licenses/gabedit"
    mkdir -p "$pkgdir/usr/share/applications/"

    install -D -m655 "$srcdir/GabeditSrc$_pkgver/gabedit" \
    "$pkgdir/usr/bin/"
    install -D -m644 "$srcdir/GabeditSrc$_pkgver/License" \
    "$pkgdir/usr/share/licenses/gabedit"

    # install .desktop file
    install -D -m644 "$srcdir/gabedit.desktop" \
    "$pkgdir/usr/share/applications/"
    install -D -m644 "$srcdir/GabeditSrc$_pkgver/icons/Gabedit48.png" \
    "$pkgdir/usr/share/pixmaps/gabedit.png"
}

You see that I moved to version 2.5.1 and that I had to use -fcommon to avoid the ld errors with gcc 10. I will mark the package as out of date. Please modify the PKGBUILD. Thanks

HaoZeke commented on 2020-09-08 09:19 (UTC) (edited on 2020-09-08 09:28 (UTC) by HaoZeke)

Requires pangox

Should be added as a dependency. Also fails due to errors noted by a.kudelin.

Full error log: https://hatebin.com/ganrhutzem

a.kudelin commented on 2020-09-05 17:55 (UTC)

Cannot build due to lots of errors like:
/usr/bin/ld: tmp/AxesGeomGL.o:(.bss+0x7d0): multiple definition of `alpha_opacity'; tmp/AnimationMD.o:(.bss+0x3c8): first defined here

iamkaant commented on 2020-04-14 12:28 (UTC)

Hi guys! I get segfault each time I press "Draw geometry" or "Display geometry" buttons. Does anyone have the same issue?