The officially official Devuan Forum!

You are not logged in.

#1 2023-03-04 22:10:34

lhp
Member
Registered: 2023-01-04
Posts: 10  

Is there a good way to install Inkscape 1.2.2?

I am a new Devuan user (but could probably call myself a VUA), running Chimaera on my machines for some months now with great satisfaction. But I need the multi-page functionality added in Inkscape 1.2 (released May 2022.) My installed version is 1.0.2-4. After adding backports to /etc/apt/sources.list and looking with apt -t chimaera-backports search inkscape|less it seems backports only has inkscape/stable-backports 1.1.2-3~bpo11+1.

How do I install 1.2.2 on my system?

Offline

#2 2023-03-04 23:31:39

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,251  

Re: Is there a good way to install Inkscape 1.2.2?

1.2.2 seems available on daedalus and ceres, but if it was me I would probably install that into a "not unshared" overlay chroot rather that into the main system, since it does in particular upgrade libsrdc++6, and some few other libs.

Online

#3 2023-03-05 03:26:53

lhp
Member
Registered: 2023-01-04
Posts: 10  

Re: Is there a good way to install Inkscape 1.2.2?

ralph.ronnquist wrote:

1.2.2 seems available on daedalus and ceres

Well, that doesn't sound like a particular good way to do it, installing a whole unstable OS on another machine or a VM, and then also doing extra tricks to prevent other problems. Then I could just as well install a VM with NetBSD, as it seems pkgsrc has Inkscape 1.2.2 already. I was hoping for an easier solution, for something that should really not be a problem, or at worst a trivial one. It is a bit like if I said the sprinkler on my car isn't working, and the proposed solution was to replace the gas engine with a diesel and repaint the car orange.

I vaguely remember now, having had to solve this problem before, more than a decade ago; I think the solution was some package like pdfposter or PosteRazor, but not one of them. Possibly it was poster and I did the exercise in PostScript and not PDF. I'll give that a try for now, but better suggestions will be warmly welcomed.

Offline

#4 2023-03-05 04:00:01

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,251  

Re: Is there a good way to install Inkscape 1.2.2?

No I meant to mount an overlay of your current OS, and then install in the overlay. Something like

# mkdir /X/{U,W,R}
# mount -t overlay -olowerdir=/,upperdir=/X/U,workdir=/X/W oly /X/R
# chroot /X/R
# echo "deb http://deb/devuan.org/merged daedalus main" >> /etc/apt/sources.list
# cat <<EOF >> /etc/apt/preferences.d/reluctant-daedalus
Package: *
Pin: release n=daedalus*
Pin-Priority: 90
EOF
# apt-get update
# apt-get install incscape -t daedalus

And then run it there... you will need to sort out authorization for X of course, and you may want to also bind-mount lower /home onto /X/R/home. I'm sure you'll work that out.

In that way your lower / installation is unaffected by whatever the inkscape installation from daedalus pulls in.

EDIT: change "upper" to "lower" (as it should be)

Online

#5 2023-03-05 08:16:18

lhp
Member
Registered: 2023-01-04
Posts: 10  

Re: Is there a good way to install Inkscape 1.2.2?

ralph.ronnquist wrote:

No I meant to mount an overlay of your current OS, and then install in the overlay.

In that way your lower / installation is unaffected by whatever the inscape installation from daedalus pulls in.

EDIT: change "upper" to "lower" (as it should be)

Oh, I get it now, sorry, yes that would indeed work, and be a bit less effort. This looks like a nice hack for future use.

Meanwhile, I was first trying pdfarrange - which kind of does work, except it is rather crude, and seems to only allow splitting a page vertically in the middle.
Then I saved the document as EPS and tried the original poster (which I guess pdfposter is supposed to imitate or at least is inspired from, but poster only works with EPS). This actually worked perfectly.

poster -mA4 -s1  calypso_path.eps >poster-calypso.eps

yields a file of A4 pages with nice margins and cut marks, just what I needed. I suspect that must have been the same tool I used decades ago.  Now I just need to uninstall pdfposter, PosteRazor and pdfarrange, and remember to never install them again...

Offline

#6 2023-03-06 17:53:38

eyeV
Member
Registered: 2022-11-02
Posts: 13  

Re: Is there a good way to install Inkscape 1.2.2?

lhp wrote:
ralph.ronnquist wrote:

No I meant to mount an overlay of your current OS, and then install in the overlay.

In that way your lower / installation is unaffected by whatever the inscape installation from daedalus pulls in.

EDIT: change "upper" to "lower" (as it should be)

Oh, I get it now, sorry, yes that would indeed work, and be a bit less effort. This looks like a nice hack for future use.

Meanwhile, I was first trying pdfarrange - which kind of does work, except it is rather crude, and seems to only allow splitting a page vertically in the middle.
Then I saved the document as EPS and tried the original poster (which I guess pdfposter is supposed to imitate or at least is inspired from, but poster only works with EPS). This actually worked perfectly.

poster -mA4 -s1  calypso_path.eps >poster-calypso.eps

yields a file of A4 pages with nice margins and cut marks, just what I needed. I suspect that must have been the same tool I used decades ago.  Now I just need to uninstall pdfposter, PosteRazor and pdfarrange, and remember to never install them again...

I don't understand why you don't just install the flathub version of Inkscape?
It's updated to 1.2.2 there

su
apt install flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.inkscape.Inkscape

https://flatpak.org/setup/Debian
https://flathub.org/apps/details/org.inkscape.Inkscape

Offline

#7 2023-03-06 18:13:21

golinux
Administrator
Registered: 2016-11-25
Posts: 3,316  

Re: Is there a good way to install Inkscape 1.2.2?

Flatpak doesn't really resonate much with Devuan users for any number of reasons . . .

Offline

Board footer