News for hackers. Stuff that matters.
Re:Qpm: A package manager for Qt by snuxoll on Monday April 11, 2016 @01:53AM (#11469863)
This is especially true with native code, between apt/yum/zypper/pacman on Linux and pacman as part of msys2 on Windows you really should be using your system package manager (if you need to, build your own packages, it really isn't that much harder than any of these language-specific ones, I swear).
Re:Qpm: A package manager for Qt by roel_v on Monday April 11, 2016 @02:41AM (#11469981)
There was a tool I used years ago that would build rpm's from makefile-based build files. Basically, you would do './configure && make && [app name] make install' and it would then run a dummy 'make install', monitor syscalls that did copying etc. and make an rpm from that. That was easy enough to make packages from tarballs. Anything more complicated (like, having to actually know the package file formats) - forget it.

Anyone know the name of this tool? It was unmaintained for a long time already when I stopped using Linux, and that was 10 years ago.

Re:Qpm: A package manager for Qt by snuxoll on Monday April 11, 2016 @11:11AM (#11472010)
It was probably checkinstall, today I'd really recommend learning how to make an .rpm or .deb the proper way, it's really not that hard. My experience with debian packaging is fairly limited, but the typical rpmspec for a autotools based build is as simple as (minus package metadata because that's kinda noisy):

  %prep
  %setup -q


  %build
  %configure
  make %{?_smp_mflags}


  %install
  make install DESTDIR=%{buildroot}

  %files
  /usr/*
Boom, there you go, build it with rpmbuild or mock and you're done. Debian control files are just Makefiles with a bunch of magic targets that get called, and debhelper 99% of the time will automatically figure out what you are trying to package (autotools, python, ruby, java, node, etc) and build/install/package it correctly for you so that most debian/control files are one or two lines.
Re:Qpm: A package manager for Qt by regularfry on Monday April 11, 2016 @01:31PM (#11473436)
You only even need to go the debhelper route if you're intending your package to go upstream into Debian or Ubuntu itself. You can go a looooong way with just `DEBIAN/control` and `dpkg-deb --build`.
Re:Qpm: A package manager for Qt by hierro on Monday April 11, 2016 @02:56AM (#11470013)
I do remember using that tool to publish the very first aMule packages for Debian. I think it was called watchinstall.
Re:Qpm: A package manager for Qt by Sander_Marechal on Monday April 11, 2016 @03:31AM (#11470110)
It's called `checkinstall`: https://wiki.debian.org/CheckInstall
Re:Qpm: A package manager for Qt by roel_v on Monday April 11, 2016 @05:03AM (#11470385)
Yeah that's the one, seems it's maintained after all. It was/is awesome.
Re:Qpm: A package manager for Qt by Zitrax on Monday April 11, 2016 @04:29AM (#11470302)