Package Details: gdb-frontend-bin 0.11.2.beta-1

Git Clone URL: https://aur.archlinux.org/gdb-frontend-bin.git (read-only, click to copy)
Package Base: gdb-frontend-bin
Description: An easy, flexible and extensionable GUI debugger
Upstream URL: https://github.com/rohanrhu/gdb-frontend
Keywords: c cpp debug debugger debugger-gdb debugging debugging-tool debugging-tools gdb gdb-extension gdb-frontend gdb-gui gdb-plugin gdb-ui
Licenses: GPL3
Provides: gdb-frontend, gdbfrontend
Submitter: ragouel
Maintainer: EvrenselKisilik
Last Packager: EvrenselKisilik
Votes: 2
Popularity: 0.090152
First Submitted: 2020-06-03 22:18 (UTC)
Last Updated: 2022-04-20 00:55 (UTC)

Latest Comments

EvrenselKisilik commented on 2022-03-07 01:23 (UTC)

Hi again @tam1m I fixed it :)

tam1m commented on 2022-03-06 06:12 (UTC)

Almost.. the two install lines belong to package(), not build() function. Otherwise it looks good

package() {
    cd "${_pkgname}-${_pkgver}"
    python setup.py install --root="$pkgdir" --optimize=1

    install -Dm644 "${srcdir}/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
    install -Dm644 "${srcdir}/${_pkgname}-${_pkgver}/frontend/images/bug.png" "$pkgdir/usr/share/pixmaps/${_pkgname}.png"
}

EvrenselKisilik commented on 2022-03-06 05:55 (UTC)

Hi @tam1m I added it but not sure if it is correct or not. Can you try it?

tam1m commented on 2022-02-19 10:44 (UTC)

@EvrenselKisilik True, forgot about that.

You can just add --terminal=true to the gendesk call in prepare().

Like this

prepare() {
    gendesk -n \
      --pkgname "${_pkgname}" \
      --exec="gdbfrontend" \
      --name="GDBFrontend" \
      --pkgdesc "GDBFrontend is an easy, flexible and extensionable gui debugger" \
      --terminal=true
}

EvrenselKisilik commented on 2022-02-19 10:32 (UTC)

Hii @tam1m does this desktop icon open a terminal? Because without that, background process would be confusing. I'm planning a session manager for the debugger :)

If it doesn't open a terminal, can you do that too?

tam1m commented on 2022-02-18 14:40 (UTC) (edited on 2022-02-18 14:43 (UTC) by tam1m)

Here is another small patch that generates a desktop file and includes an icon. For the icon I just used /frontend/images/bug.png from the source. Would be cool, if you included that in the PKGBUILD.

diff '--color=auto' -Naur gdb-frontend-bin/PKGBUILD gdb-frontend-bin.new/PKGBUILD
--- gdb-frontend-bin/PKGBUILD   2022-02-18 15:33:54.417694408 +0100
+++ gdb-frontend-bin.new/PKGBUILD   2022-02-18 15:34:14.549865381 +0100
@@ -11,10 +11,18 @@
 license=('GPL3')
 provides=('gdb-frontend' 'gdbfrontend')
 depends=('gdb' 'python' 'tmux')
-makedepends=('python-setuptools')
+makedepends=('python-setuptools' 'gendesk')
 source=("${_pkgname}-${_pkgver}.tar.gz::https://github.com/rohanrhu/gdb-frontend/archive/v${_pkgver}.tar.gz")
 sha256sums=('2c2486e527db6151c4848c80e176878aab098a731e684570846d6e38f928c4ea')

+prepare() {
+    gendesk -n \
+    --pkgname "${_pkgname}" \
+    --exec="gdbfrontend" \
+    --name="GDBFrontend" \
+    --pkgdesc "GDBFrontend is an easy, flexible and extensionable gui debugger" 
+}
+
 build() {
     cd "${_pkgname}-${_pkgver}"
     python setup.py build
@@ -23,4 +31,7 @@
 package() {
     cd "${_pkgname}-${_pkgver}"
     python setup.py install --root="$pkgdir" --optimize=1
+    
+    install -Dm644 "${srcdir}/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
+    install -Dm644 "${srcdir}/${_pkgname}-${_pkgver}/frontend/images/bug.png" "$pkgdir/usr/share/pixmaps/${_pkgname}.png"
 }

tam1m commented on 2022-02-18 13:38 (UTC)

No, no issues. Works perfectly fine now

EvrenselKisilik commented on 2022-02-18 13:35 (UTC)

Oh got it... Sooooo there is no any issue now right??

tam1m commented on 2022-02-18 13:34 (UTC)

Hi @EvrenselKisilik Yeah it works now. Problem is not the filename of the downloaded tar.gz, but its content. The directory inside does not have the -bin suffix.

But thanks anyways

EvrenselKisilik commented on 2022-02-18 11:42 (UTC)

Hiii, thank you @tam1m :)

It was like this in .SRCINFO source = gdb-frontend-0.10.3-beta.tar.gz::https://github.com/rohanrhu/gdb-frontend/archive/v0.10.3-beta.tar.gz

Sooo I think it should work buut I added changes is it working now?

tam1m commented on 2022-02-17 19:48 (UTC) (edited on 2022-02-17 19:52 (UTC) by tam1m)

@EvrenselKisilik The PKGBUILD needs a small patch to work. cd "${pkgname}-${_pkgver}" doesn't work since pkgname is gdb-frontend-bin but the extracted directory is gdb-frontend-${_pkgver} without the -bin suffix.

Here is a small patch that fixes this

--- PKGBUILD.org        2022-02-17 20:44:12.102707891 +0100
+++ PKGBUILD    2022-02-17 20:43:54.929521108 +0100
@@ -1,6 +1,7 @@
# Maintainer:  Oğuzhan Eroğlu <rohanrhu2@gmail.com>

pkgname=gdb-frontend-bin
+_pkgname=gdb-frontend
pkgver=0.10.3.beta
_pkgver=0.10.3-beta
pkgrel=2
@@ -15,11 +16,11 @@
sha256sums=('2c2486e527db6151c4848c80e176878aab098a731e684570846d6e38f928c4ea')

build() {
-    cd "${pkgname}-${_pkgver}"
+    cd "${_pkgname}-${_pkgver}"
python setup.py build
}

package() {
-    cd "${pkgname}-${_pkgver}"
+    cd "${_pkgname}-${_pkgver}"
python setup.py install --root="$pkgdir" --optimize=1
}

EvrenselKisilik commented on 2022-02-17 16:04 (UTC)

Hiiii @Lucki thank you for this :) I updated the package on the same version (pkgrel=2) can you try it? I don't use Arch :)

Lucki commented on 2022-02-14 20:29 (UTC)

Hi there, according to the documentation I should be able to call gdbfrontend --help but that only starts the application and doesn't give any further terminal output.

Also dumping everything in /opt/ seems a bit strange so I've quickly tested this properly packaged and surprisingly gdbfrontend --help works directly without any problems.

pkgname=gdb-frontend
pkgver=0.10.3.beta
_pkgver=0.10.3-beta
pkgrel=1
pkgdesc="An easy, flexible and extensionable GUI debugger"
arch=('x86_64')
url='https://oguzhaneroglu.com/projects/gdb-frontend'
license=('GPL3')
provides=('gdbfrontend')
depends=('gdb' 'python' 'tmux')
makedepends=('python-setuptools')
source=("${pkgname}-${_pkgver}.tar.gz::https://github.com/rohanrhu/gdb-frontend/archive/v${_pkgver}.tar.gz")
sha256sums=('2c2486e527db6151c4848c80e176878aab098a731e684570846d6e38f928c4ea')

build() {
    cd "${pkgname}-${_pkgver}"
    python setup.py build
}

package() {
    cd "${pkgname}-${_pkgver}"
    python setup.py install --root="$pkgdir" --optimize=1
}

EvrenselKisilik commented on 2021-11-24 09:50 (UTC)

Ah I fixed it. Thank you. Can I generate .SRCINFO on Debian?

wakamue commented on 2021-11-24 09:29 (UTC)

The PKGBUILD file still contains

pkgver=0.9.5.beta _pkgver=0.9.5-beta

instead of the announced 0.9.6.beta version.

EvrenselKisilik commented on 2021-10-11 11:13 (UTC)

Thank you too :)

Kr1ss commented on 2021-10-11 08:43 (UTC)

Thank you very much !

EvrenselKisilik commented on 2021-10-11 04:45 (UTC)

Hi, I updated the package with pkgrel. Thank you :)

Kr1ss commented on 2021-10-10 16:16 (UTC)

Oh by the way. In case you didn't know, you can generate a .SRCINFO file with

makepkg --printsrcinfo >.SRCINFO

Doing this always before pushing changes to the AUR prevents mismatches between PKGBUILD and .SRCINFO ;-)

Kr1ss commented on 2021-10-10 16:10 (UTC)

Thanks for the quick response !

Sadly, the download link is broken now, since there's no 0.6.2-beta.2 release on the upstream repo. After reading the previous comments here, I suppose that you intended to just re-release the AUR package, because of the updated checksum ?

If that's the case, may I suggest :

pkgver=0.6.2.beta
_pkgver=0.6.2-beta
pkgrel=2

(Incrementing the pkgrel variable allows you to update the package, in cases when the actual upstream release is unchanged. When you release the next version, increment pkgver/_pkgver, and reset pkgrel to 1.)

EvrenselKisilik commented on 2021-10-10 15:52 (UTC)

Hi, thank you :) I've published it again. I hope it is ok :)

Kr1ss commented on 2021-10-10 13:13 (UTC) (edited on 2021-10-10 13:15 (UTC) by Kr1ss)

Hey @EvrenselKisilik, thx for sharing this package.

There's a pkgver mismatch between PKGBUILD and .SRCINFO atm, and in the latter file, it contains an illegal character ("-").

Ref.:

Cheers !

EvrenselKisilik commented on 2021-10-10 09:56 (UTC)

Hi, thank you for feedback. I've fixed the issue.

JakobDev commented on 2021-10-10 09:36 (UTC)

The checksum failed

EvrenselKisilik commented on 2021-02-17 18:39 (UTC)

Hi, updated. Thank you.

duongdominhchau commented on 2021-02-17 16:33 (UTC)

You forgot to update the checksum. On my side it is 4832569f741dbcbad76acbf84bb270ba329378ce9c3bd495c055bf2b89dca813 for the tarball downloaded directly from GitHub.