Package Details: pcb2gcode-git r250.250d53a-1

Git Clone URL: https://aur.archlinux.org/pcb2gcode-git.git (read-only, click to copy)
Package Base: pcb2gcode-git
Description: Gerber to gcode file converter
Upstream URL: https://github.com/pcb2gcode/pcb2gcode
Licenses: GPL
Conflicts: pcb2gcode
Provides: pcb2gcode
Submitter: equinoxefr
Maintainer: phragment
Last Packager: phragment
Votes: 8
Popularity: 0.000007
First Submitted: 2011-12-22 11:27 (UTC)
Last Updated: 2016-01-25 02:27 (UTC)

Dependencies (5)

Required by (1)

Sources (1)

Latest Comments

oxplot commented on 2022-12-22 14:10 (UTC)

Tiny diff to make this work again:

diff --git a/PKGBUILD b/PKGBUILD
index 4b16146..c5a153a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@

 pkgname=pcb2gcode-git
 _pkgname=pcb2gcode
-pkgver=r250.250d53a
+pkgver=r1749.174cc08a
 pkgrel=1
 pkgdesc="Gerber to gcode file converter"
 arch=('i686' 'x86_64')
@@ -13,7 +13,7 @@ makedepends=('git' 'boost')
 depends=('gtkmm' 'boost-libs' 'gerbv-git')
 provides=('pcb2gcode')
 conflicts=('pcb2gcode')
-source=("$_pkgname"::'git://github.com/pcb2gcode/pcb2gcode.git')
+source=('git+https://github.com/pcb2gcode/pcb2gcode.git')
 md5sums=('SKIP')

 pkgver() {

dzervas commented on 2022-07-10 11:59 (UTC)

git protocol on github seems to no longer be working. Maybe it should be changed to git+https?

oxplot commented on 2021-11-19 04:38 (UTC)

Added stdlib.patch:

diff --git a/configure.ac b/configure.ac
index eaac8724..ab2e7208 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,7 +50,7 @@ BOOST_FORMAT
 BOOST_OPTIONAL
 BOOST_VARIANT

-AC_SUBST([BOOST_CPPFLAGS_SYSTEM], ['$(subst -I,-isystem ,$(BOOST_CPPFLAGS))'])
+#AC_SUBST([BOOST_CPPFLAGS_SYSTEM], ['$(subst -I,-isystem ,$(BOOST_CPPFLAGS))'])

 PKG_CHECK_MODULES([glibmm], [glibmm-2.4 >= 2.8])
 PKG_CHECK_MODULES([gdkmm], [gdkmm-2.4 >= 2.8])
@@ -74,11 +74,11 @@ AS_IF([test "x$HAVE_GEOS" = "xyes"],
       [AC_MSG_NOTICE([Didn't find geos, we'll use boost geometry for all geometry functions.  If you see inaccuracies or you want faster run times, try geos.])])
 AS_IF([test "x$HAVE_GEOS" = "xyes"],
       [AC_SUBST(GEOS_EXTRA, ["-DUSE_UNSTABLE_GEOS_CPP_API -DGEOS_VERSION=\\\"\$(GEOS_VERSION)\\\""])])
-AS_IF([test "x$HAVE_GEOS" = "xyes"],
-      [AC_SUBST(GEOS_CFLAGS_SYSTEM, ['$(subst -I,-isystem ,$(GEOS_CFLAGS))'])])
+#AS_IF([test "x$HAVE_GEOS" = "xyes"],
+#      [AC_SUBST(GEOS_CFLAGS_SYSTEM, ['$(subst -I,-isystem ,$(GEOS_CFLAGS))'])])


-AC_SUBST([gdkmm_CFLAGS_SYSTEM], ['$(subst -I,-isystem ,$(gdkmm_CFLAGS))'])
+#AC_SUBST([gdkmm_CFLAGS_SYSTEM], ['$(subst -I,-isystem ,$(gdkmm_CFLAGS))'])

 AC_SUBST(gerbv_LIBS)
 AC_SUBST(gerbv_CFLAGS)

and updated PKGBUILD:

# Maintainer: Thomas Krug <t.krug@elektronenpumpe.de>
# Contributor: Pierre DOUCET <pierre at equinoxefr.org>

pkgname=pcb2gcode-git
_pkgname=pcb2gcode
pkgver=r1674.ae41f9fe
pkgrel=1
pkgdesc="Gerber to gcode file converter" 
arch=('i686' 'x86_64')
url="https://github.com/pcb2gcode/pcb2gcode"
license=('GPL')
makedepends=('git' 'boost')
depends=('gtkmm' 'boost-libs' 'gerbv-git')
provides=('pcb2gcode')
conflicts=('pcb2gcode')
source=("$_pkgname"::'git://github.com/pcb2gcode/pcb2gcode.git'
stdlib.patch)
md5sums=('SKIP' SKIP)

pkgver() {
  cd "$srcdir/$_pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
  cd "$srcdir/$_pkgname"
  patch -Np1 < ../stdlib.patch
  autoupdate
  autoreconf -i
}

build() {
  cd "$srcdir/$_pkgname"
  ./configure --prefix=/usr
  make -j
}

package() {
  cd "$srcdir/$_pkgname"
  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et:

synthead commented on 2021-06-13 20:23 (UTC)

Submitted a bug report here: https://github.com/pcb2gcode/pcb2gcode/issues/587

synthead commented on 2021-06-13 19:59 (UTC)

Downgrading to boost and boost-libs 1.76.0.1 seems to make this program work again.

Marte2007 commented on 2021-01-27 13:29 (UTC) (edited on 2021-01-27 14:20 (UTC) by Marte2007)

I can't build this, i get lots of

/usr/include/c++/10.2.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory

martini commented on 2017-01-12 21:54 (UTC)

I was not able to compile the package bacause of the -j option of make. It ate my whole RAM. Please consider removing that option from the PKGBUILD.

mirage335 commented on 2015-11-14 20:49 (UTC)

https://github.com/mirage335/pcb2gcode/commit/4db1a3341d5d1e3e32c6295f4add1d49f0b5b1f8

maleadt commented on 2015-04-19 08:01 (UTC)

I think the code has moved to https://github.com/pcb2gcode/pcb2gcode/