Linux is very sensible (better dont touch it!)

If it doesn't relate to Debian, but you still want to share it, please do it here

Re: Linux is very sensible (better dont touch it!)

Postby sickpig » 2019-05-11 11:23

+1 for checkinstall thats what i use when debmake + debuild does not work for me.
it does not keep track of dependencies though but that is easily solvable my maintaining a separate text file listing the packages on which that application is dependant on.
User avatar
sickpig
 
Posts: 315
Joined: 2019-01-23 10:34

Re: Linux is very sensible (better dont touch it!)

Postby Innovate » 2019-05-11 11:43

This is why I followed Steve's advice to get latest stable package I wanted on Debian Stable.
I don't have to go testing, sid like others at all.
Innovate
 
Posts: 188
Joined: 2015-12-27 01:28
Location: /dev/urandom

Re: Linux is very sensible (better dont touch it!)

Postby bester69 » 2019-05-11 14:48

wizard10000 wrote:You know, if you're allergic to snap/flatpak/whatever as I am you can always compile just about anything you want. checkinstall is a quick and dirty way to create and install a .deb package.

https://wiki.debian.org/CheckInstall

cool. :)

Also interestaing Apps for deb packages , are .:
dpkg-repack
https://packages.debian.org/stretch/dpkg-repack
and
debsums
https://packages.debian.org/stretch/debsums
bester69 wrote:You wont change my mind when I know Im right, Im not an ...
User avatar
bester69
 
Posts: 1455
Joined: 2015-04-02 13:15

Re: Linux is very sensible (better dont touch it!)

Postby stevepusser » 2019-05-12 00:40

sickpig wrote:+1 for checkinstall thats what i use when debmake + debuild does not work for me.
it does not keep track of dependencies though but that is easily solvable my maintaining a separate text file listing the packages on which that application is dependant on.


Debmake and then debuild aren't automatic at all. You have to put work into it, especially with listing build-depends and configuring the build--and the copyright files debmake generates are usually nightmares. But if someone's already done that work for you, then it can be much easier than checkinstall.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: llvm-8 toolchain, Rustc 1.36, wine-staging 4.16, Telegram-desktop 1.8.8, Pale Moon 28.7.1, Waterfox 56.2.14
User avatar
stevepusser
 
Posts: 11154
Joined: 2009-10-06 05:53

Re: Linux is very sensible (better dont touch it!)

Postby stevepusser » 2019-05-12 00:52

bester69 wrote:
stevepusser wrote:Bester, what about the packages you have installed from my third-party repos? They're reasonably safe if built in the correct way.

All of what I installed from your repos, worked great..I only trust in you repos..and debian's.

Thanks Steve. :o


Yeah...Debian went from virtualbox 5.2.24 to the problematic 6.X series upstream, and is ignoring updates to the 5.2.X series, but I managed to refresh some patches, hashsums, and create dfsg source tarballs to correctly package 5.2.28 for MX Linux (so far), which builds on 5.0 kernels and doesn't ignore the system theme like 6.X backports. Seems to work fine for testers so far.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: llvm-8 toolchain, Rustc 1.36, wine-staging 4.16, Telegram-desktop 1.8.8, Pale Moon 28.7.1, Waterfox 56.2.14
User avatar
stevepusser
 
Posts: 11154
Joined: 2009-10-06 05:53

Re: Linux is very sensible (better dont touch it!)

Postby Innovate » 2019-05-12 00:58

Every tools has it's own purpose. Checkinstall I recommend for starter who want to have a taste deb package first time for single binary build.
But always notice you can't build multiple .debs with checkinstall & checkinstall force you install binary against your will like make install.
Libreoffice, gtk3.0, qt5.10+ is the example you can't build single deb it won't work it'll cripple whole applications.
If you start to become proper package maintainer or want to have repo like Steve did. You need debbuild, debmake or dpkg-buildpackage.
After build it'll lay egg .debian.tar.xz, .orig.tar.xz .dsc that can use for autobuild debian packages on obs repo.


This tool kinda handy suitable for steal abilities for other debian based distro & reverse binary build.
Like ChaletOS layout changer for example. I did it once the result went hilariously worked.
There're some distro that have their own utility but didn't release source on github, gitlab which pissed me off.
But thx to this now I know how to absorb ability from other distros as I wanted.
Innovate
 
Posts: 188
Joined: 2015-12-27 01:28
Location: /dev/urandom

Re: Linux is very sensible (better dont touch it!)

Postby GarryRicketson » 2019-05-12 01:51

Linux is very sensible, if the system admin is sensible.
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Linux is very sensible (better dont touch it!)

Postby sickpig » 2019-05-12 02:51

stevepusser wrote:Debmake and then debuild aren't automatic at all. You have to put work into it, especially with listing build-depends and configuring the build--and the copyright files debmake generates are usually nightmares. But if someone's already done that work for you, then it can be much easier than checkinstall.

couldn't agree more and from my experience you cant set the right dh auto install override corrections without having prior programming language knowledge, in the rules file. forget the control and the copyright files they are nothing compared to the rules file.

its hit and miss if u have no clue about C or the language used for the application.

but for an admin who is not a developer or a packager, checkinstall ticks the box.

of course if u can package it correctly then yes that should be the first option.
User avatar
sickpig
 
Posts: 315
Joined: 2019-01-23 10:34

Re: Linux is very sensible (better dont touch it!)

Postby wizard10000 » 2019-05-12 06:09

Innovate wrote:... checkinstall force you install binary against your will like make install.
Code: Select all
checkinstall --install=no

:mrgreen:
we see things not as they are, but as we are.
-- anais nin
User avatar
wizard10000
 
Posts: 80
Joined: 2019-04-16 23:15
Location: southeastern us

Re: Linux is very sensible (better dont touch it!)

Postby Innovate » 2019-05-12 08:26

wizard10000 wrote:
Innovate wrote:... checkinstall force you install binary against your will like make install.
Code: Select all
checkinstall --install=no

:mrgreen:

It's not enough, you've yet to solve how to build multiple deb binaries that i mention from LibreOffice in this page:
https://packages.debian.org/source/stre ... ibreoffice
& leave .debian.tar.xz, .orig.tar.xz, .dsc after built
Without these 3 it won't be possible to upload to obs repo to auto build the package. I'm not playing around.
Sometimes checkinstall doesn't work on every sources. When you fetch too old dependencies it stop building.
Innovate
 
Posts: 188
Joined: 2015-12-27 01:28
Location: /dev/urandom

Re: Linux is very sensible (better dont touch it!)

Postby wizard10000 » 2019-05-12 09:59

Innovate wrote:It's not enough..


Maybe not for you, but for someone like me who only needs a simple package once in awhile it works just fine. The only reason I use checkinstall is that I can easily uninstall the package if I want.
we see things not as they are, but as we are.
-- anais nin
User avatar
wizard10000
 
Posts: 80
Joined: 2019-04-16 23:15
Location: southeastern us

Re: Linux is very sensible (better dont touch it!)

Postby Innovate » 2019-05-12 10:50

wizard10000 wrote:
Innovate wrote:It's not enough..


Maybe not for you, but for someone like me who only needs a simple package once in awhile it works just fine. The only reason I use checkinstall is that I can easily uninstall the package if I want.

Allow me to make this clear then & no more hard feeling, can we?

I do not offend your method. I said this method doesn't work on me anymore I've to change the strategy.
It's like you're fine with knive. But I need bow & arrow for long range atk. Even they can atk melee but the range are vast different.
In other words our perspective requirement are different lv. Otherwise I won't said checkinstall I'd recommend only for single deb binary build.
But if you start to go serious path growing packages in your repo like me, stevenpusser, package maintainer did. You'll need other command for building multiple binary. Right now you may just only build single binary package for self use. But who knows? you might evolve to packaging volunteer.

I used to be user like you want to learn about basic make deb package & loathe make install proccess a lot.
checkinstall was my first try since 2015. But later 2016+ I already to walk the same path as Steve did.
Growing 500+ of latest stable packages in my repo which even enough to boost debian stable or making debian based distro.
Innovate
 
Posts: 188
Joined: 2015-12-27 01:28
Location: /dev/urandom

Re: Linux is very sensible (better dont touch it!)

Postby wizard10000 » 2019-05-12 11:11

No hard feelings here :D
we see things not as they are, but as we are.
-- anais nin
User avatar
wizard10000
 
Posts: 80
Joined: 2019-04-16 23:15
Location: southeastern us

Re: Linux is very sensible (better dont touch it!)

Postby stevepusser » 2019-05-13 00:10

Usually multiple packages from one source are handled by the control file plus multiple .install files, like foo.install, libfoo.install, libfoo-dev.install, libfoo-doc.install, etc., where you list what files go in which package and where they are installed. But doing that from scratch can be a rather involved and tedious process, which is why backporting, or using a previous version as a template, is much easier.

Someone asked for Qosmic 1.6.0 on MX today, and the latest Debian-style package I could find is 1.5.0 from the dead getdeb PPA. So I used that as a template, but also had to account for its switch from lua-5.1 to 5.2, from Qt 4 to 5, and for a newer flam3 from upstream Debian. Then it still couldn't find the lua headers until I applied a patch solution I tracked down in the Qosmic github issues section. But now it's packaged and running, and should be in the MX repos. That's a fairly typical amount of work I have to do if I can't get the sources from upstream Debian. I also backported Mixxx 2.2.1 from Experimental for another request, but had previously backported 2.2.0 for MX, so already knew what build-depends had changed names upstream (python-scour to scour, for example), so was able to add the older Stretch and Jessie versions of those as alternatives.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: llvm-8 toolchain, Rustc 1.36, wine-staging 4.16, Telegram-desktop 1.8.8, Pale Moon 28.7.1, Waterfox 56.2.14
User avatar
stevepusser
 
Posts: 11154
Joined: 2009-10-06 05:53

Re: Linux is very sensible (better dont touch it!)

Postby sickpig » 2019-05-13 02:00

perseverance!! thats y only u could do it and not us peasants :D
User avatar
sickpig
 
Posts: 315
Joined: 2019-01-23 10:34

PreviousNext

Return to Offtopic

Who is online

Users browsing this forum: Pick2 and 10 guests

fashionable