Package Details: gdb-frontend-bin 0.11.3.beta-2

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: 4
Popularity: 0.000284
First Submitted: 2020-06-03 22:18 (UTC)
Last Updated: 2022-12-22 05:06 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

patlefort commented on 2022-12-20 04:48 (UTC)

Wrong checksum on source.

Excalibur commented on 2022-12-19 02:04 (UTC)

SHA256 appears to be 1e2a4ea800a055ddf7e0c1524805d5e027e0783981bde97838f7a91ebdda2898

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??