Package Details: pince-git r1609.527ac61-1

Git Clone URL: https://aur.archlinux.org/pince-git.git (read-only, click to copy)
Package Base: pince-git
Description: A Linux reverse engineering tool inspired by Cheat Engine.
Upstream URL: https://github.com/korcankaraokcu/PINCE
Licenses: GPL-3.0-or-later WITH CC-BY-3.0
Conflicts: pince
Provides: pince
Submitter: tsar-fox
Maintainer: detian
Last Packager: detian
Votes: 15
Popularity: 0.64
First Submitted: 2016-12-13 01:08 (UTC)
Last Updated: 2024-11-24 04:34 (UTC)

Latest Comments

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

DarkShadow44 commented on 2023-08-19 09:54 (UTC)

/dev/fd/63: line 2: /usr/lib/qt6/bin/lrelease: No such file or directory
mv: cannot stat 'i18n/ts/*.qm': No such file or directory

Needs to depend on qt6-tools, or it won't build.

detian commented on 2023-08-06 14:59 (UTC)

@ardishco Can you tell me more details? My python-pyqt6 is 6.5.2-1 and PINCE runs well on it.

ardishco commented on 2023-08-06 09:50 (UTC) (edited on 2023-08-06 09:50 (UTC) by ardishco)

Hi, this is currently outdated. Would you mind updating it? It builds with Qt 6.5.1 instead of 6.5.2 which is on most arch systems.

detian commented on 2023-05-08 16:17 (UTC)

@Nohan @tsar-fox my updated pkgbuild

main changes:
  • use depends inside install_pince.sh
  • install libscanmem by the functions inside install_pince.sh
  • fixed "Please run "sh install_pince.sh" message
# Maintainer: Jakob Kreuze <jakob@memeware.net>
# Contributor: Bader <Bad3r@unsigned.sh>
# Contributor: detiam <dehe_tian at outlook dot com>

# shellcheck disable=SC1090
# shellcheck disable=SC2206
pkgname=pince-git
pkgver=r1243.71ea556
pkgrel=1
pkgdesc="A Linux reverse engineering tool inspired by Cheat Engine."
arch=('any')
url="https://github.com/korcankaraokcu/PINCE"
license=('GPL3')
depends=('base-devel') # follow upstream, set this later
makedepends=('git' 'intltool')
source=("$pkgname::git+$url.git")
md5sums=('SKIP')
_installpath='usr/share/PINCE'

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

prepare() {
  # Remove ".venv/PINCE" exist check
  sed -i '/^if \[ ! -d "\.venv\/PINCE" \]; /,/activate$/ s/^/# /' "./$pkgname/PINCE.sh"
  # Create a simple start script
  cat >pince<< \
EOF
pushd /$_installpath
sh PINCE.sh "$@"
popd
EOF
}

build() {
  pushd "$pkgname"
  # Source libscanmem installation functions
  . <(sed -n '/^compile_scanmem() /,/^}/p' install_pince.sh)
  . <(sed -n '/^install_scanmem() /,/^}/p' install_pince.sh)
  . <(sed -n '/^exit_on_error() /,/^}/p' install_pince.sh)
  # Run functions
  install_scanmem || exit_on_error
  popd
}

package() {
  pushd "$pkgname"
  # Source PKG_NAMES* vars
  . <(sed -n '/^PKG_NAMES/p' install_pince.sh)
  # Set new depends
  depends+=($PKG_NAMES_ARCH)
  for pkg in $PKG_NAMES_PIP; do
    ## why archlinux python package isn't just match "python-$pkg" format?
    ## and one of these depends in aur are outdated now 2023/05/08
    if [ "$pkg" == "distorm3" ]; then
      depends+=("python-distorm")
    elif [ "$pkg" == "pygobject" ]; then
      depends+=("python-gobject")
    else
      depends+=("python-$pkg")
    fi
  done
  # Copy files
  install -d "$pkgdir/usr/bin"
  install -Dm755 ../pince "$pkgdir/usr/bin"
  install -d "$pkgdir/$_installpath"
  install PINCE.sh PINCE.py \
    COPYING COPYING.CC-BY AUTHORS THANKS "$pkgdir/$_installpath"
  cp -r GUI libpince media "$pkgdir/$_installpath"
  popd
}

Nohan commented on 2023-05-05 21:34 (UTC)

Hello, this commit https://github.com/korcankaraokcu/PINCE/commit/4a76cd5b3b0dcae72cf3123f020be5366a9bcb8b adds "install_pince.sh", which whenever "pince" or "/usr/bin/pince" is ran, the following message appears "Please run "sh install_pince.sh" first!".

I do not know any fix and I'd like to get your help if possible.

tsar-fox commented on 2023-04-06 22:45 (UTC)

Thank you, @bader. I appreciate your help

bader commented on 2023-04-03 01:51 (UTC)

@tsar-fox Updated pkgbuild:

# Maintainer: Jakob Kreuze <jakob@memeware.net>
# Contributor: Bader <Bad3r@unsigned.sh>
pkgname=pince-git
pkgver=r1222.9db33c3
pkgrel=1
pkgdesc="A Linux reverse engineering tool inspired by Cheat Engine."
arch=('any')
url="https://github.com/korcankaraokcu/PINCE"
license=('GPL3')
depends=('python' 'python-pexpect' 'python-psutil' 'python-pyqt6' 'python-distorm' 'python-pygdbmi' 'python-gobject' 'python-keyboard' 'gdb' 'sudo')
makedepends=('git' 'intltool')
source=("$pkgname::git+https://github.com/korcankaraokcu/PINCE.git")
md5sums=('SKIP')

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

package() {
  cd "$srcdir/$pkgname"

  # Compile and copy libscanmem dependencies.
  git submodule update --init --recursive
  mkdir -p libpince/libscanmem

  cd scanmem
  sh autogen.sh
  ./configure --prefix="$pkgdir/usr"
  make libscanmem.la
  cp --preserve .libs/libscanmem.so ../libpince/libscanmem/libscanmem.so
  cp --preserve gui/scanmem.py ../libpince/libscanmem
  cp --preserve gui/misc.py ../libpince/libscanmem
  cd ..

  sed -i 's/import misc/from \. import misc/g' libpince/libscanmem/scanmem.py
  sed -i 's/\.\/gdb_pince\/gdb.*\/bin\/gdb/\/usr\/bin\/gdb/g' libpince/type_defs.py
  sed -i 's/\ssudo/cd \/usr\/share\/PINCE \&\& sudo/' PINCE.sh
  sed -i 's/\sgksudo/cd \/usr\/share\/PINCE \&\& gksudo/' PINCE.sh
  sed -i 's/OS=.*/OS="Arch"/' PINCE.sh

  install -d "$pkgdir/usr/bin"
  install PINCE.sh "$pkgdir/usr/bin/pince"
  install -d "$pkgdir/usr/share/PINCE"
  install PINCE.py COPYING AUTHORS THANKS "$pkgdir/usr/share/PINCE"
  cp -r GUI libpince media "$pkgdir/usr/share/PINCE"
}
Changelog
  • replace python-pyqt5 with python-pyqt6
  • updated the page in the sed command from pince to PINCE

TheBill2001 commented on 2023-03-19 18:09 (UTC) (edited on 2023-03-19 18:09 (UTC) by TheBill2001)

Also, the package is now requiring python-pyqt6

zefr0x commented on 2022-12-13 18:18 (UTC) (edited on 2022-12-13 19:48 (UTC) by zefr0x)

/usr/bin/pince: line 26: cd: /usr/share/pince: No such file or directory

for now can be fixed by runnig:

$ sed 's/\/usr\/share\/pince/\/usr\/share\/PINCE/g' /usr/bin/pince | sudo tee /usr/bin/pince

TheBill2001 commented on 2022-11-18 09:16 (UTC) (edited on 2022-11-18 09:16 (UTC) by TheBill2001)

@MayeulC Yeah I just look into it. Upstream change the run file and PKGBUILD has not been updated for it.