* Newbie: Run previous version of Inkscape that exists in /gnu/store @ 2023-06-02 18:48 Rodrigo Morales 2023-06-02 22:31 ` Soren Stoutner via 2023-06-03 3:39 ` 宋文武 0 siblings, 2 replies; 6+ messages in thread From: Rodrigo Morales @ 2023-06-02 18:48 UTC (permalink / raw) To: help-guix The /gnu/store of my system contains two versions (1.1.1 and 1.2.1) of Inkscape that are already built (see last two lines below) ,---- | find /gnu/store -mindepth 1 -maxdepth 1 -name '*inkscape*' -exec du -hs {} + | sort -h `---- ,---- | 4.0K /gnu/store/500rmmh2b0m4abmhs3pv5888kfj7jmdh-inkscape-1.2.1.tar.xz.drv | 4.0K /gnu/store/b4zacwzx5lriwxrpr7y4wi1i3rl22ybx-inkscape-poppler-compat.patch | 4.0K /gnu/store/g46dzii7g1ffi7iz1mkqydkh5filn93j-inkscape-1.2.1.tar.xz.drv | 4.0K /gnu/store/jkpfxya83dzkyl42wawd8avvwvh1rjbv-inkscape-1.2.1.tar.xz.drv | 4.0K /gnu/store/ppnajjk1jmp59hmh5sy805drl5sfnqq1-inkscape.desktop | 4.0K /gnu/store/szdsqp9f75lf8n223994dgnzq0gynxkn-inkscape-1.1.1.tar.xz.drv | 4.0K /gnu/store/zzxliczm87l5l692sbja4md3nlm4kn98-inkscape-1.1.1.tar.xz.drv | 8.0K /gnu/store/0n9gsw2kpbs2affmdz5v8569inic47li-inkscape-1.2.1.tar.xz-builder | 8.0K /gnu/store/gzczswjnbjwishxdcjb38ff50ryz07y6-inkscape-1.2.1-builder | 8.0K /gnu/store/ldmc19hvi88gffrksh84clpgj4k35phx-inkscape-1.2.1.tar.xz-builder | 8.0K /gnu/store/piy8k5xdfy9lpisz3s539ga643f7lxwp-inkscape-1.1.1.tar.xz-builder | 8.0K /gnu/store/zgr855pyl4nq0wzbgvnls7y62y2hm03g-inkscape-1.2.1-builder | 12K /gnu/store/20051ywrcs9srgmc1yz3n7g39mawwj71-inkscape-1.2.1.drv | 12K /gnu/store/599w24wf1yc77qz98rdny3gl8hbwnk0v-inkscape-1.2.1.drv | 12K /gnu/store/5rm4gq898k7g1m2z8bfdyjlamh4hv94r-inkscape-1.1.1.drv | 12K /gnu/store/75hxh7536csa39ycl3lnfzp72n77640x-inkscape-1.1.1.drv | 12K /gnu/store/9mkpsshqb8f8bvag4dn6fyay83xxi89v-inkscape-1.2.1.drv | 12K /gnu/store/9saq1qq7c7knbpsnyxf2bnq316fzmjc7-inkscape-1.2.1.drv | 12K /gnu/store/bni54rrv8mc1i3i06a5va6kvvv1szkh7-inkscape-1.2.1.drv | 12K /gnu/store/kpxb5da4919c99npg7qpfa2dcb4mqi8h-inkscape-1.2.1.drv | 12K /gnu/store/mmqv80zr7wjh7cys12f4iqkhcmg58i5c-inkscape-1.2.1.drv | 12K /gnu/store/pa7hirai1r6l356xd12ldglgcp7z1x6q-inkscape-1.2.1.drv | 12K /gnu/store/rkkplpgzqri888zq4byznhf1adbrx07l-inkscape-1.2.1.drv | 12K /gnu/store/scqjnhcc1b2fyccy907wavh0maas1afh-inkscape-1.2.1.drv | 16K /gnu/store/fwgd2kvp9g7ag503rx5g1zblxq028wj0-inkscape-1.2.1-builder | 16K /gnu/store/hkhhjy304ma2kzchfr36qnpaf62iq9py-inkscape-1.2.1-builder | 16K /gnu/store/vjzh7h8r1cyxsqckymxa3z6gk3g5f4k1-inkscape-1.1.1-builder | 16K /gnu/store/xcnnj3vwj92n0pc82yn5rvhhkjwv51dp-inkscape-1.2.1-builder | 16K /gnu/store/xszjv85ywbvz33acvjhb08ajvrrh9skk-inkscape-1.2.1-builder | 16K /gnu/store/y5ack33xna7b3mcr2qlf53zklsyasrc5-inkscape-1.2.1-builder | 42M /gnu/store/i3y84nmk2xh4fh0922a6j23yhhzmw1jx-inkscape-1.2.1 | 43M /gnu/store/43cqpzdzwhb8krc2lvxfp6xvkgqj2556-inkscape-1.2.1 | 46M /gnu/store/fzmmjfm9lcw8y01iykj0j9p9v720b1f5-inkscape-1.2.1 | 47M /gnu/store/rsg27zr24h6nf9spgidg9fnj4lq1sknv-inkscape-1.2.1 | 140M /gnu/store/qp8msw5js3gdpdlq1r8nxz4frnzc39lh-inkscape-1.1.1 | 181M /gnu/store/3a7a5i1f4c917vlnzyy9d68s55ijiq50-inkscape-1.2.1 `---- My system is currently using v1.2.1. ,---- | inkscape --version `---- ,---- | Inkscape 1.2.1 (9c6d41e410, 2022-07-14) `---- I want to run v1.1.1 because I want to do some experiments to test the performance of these two versions. Preferably, I want to run those two versions at the same time. If that's not possible, at least I want to be able to switch between those two versions. How to do this? ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Newbie: Run previous version of Inkscape that exists in /gnu/store 2023-06-02 18:48 Newbie: Run previous version of Inkscape that exists in /gnu/store Rodrigo Morales @ 2023-06-02 22:31 ` Soren Stoutner via 2023-06-04 18:08 ` Rodrigo Morales 2023-06-03 3:39 ` 宋文武 1 sibling, 1 reply; 6+ messages in thread From: Soren Stoutner via @ 2023-06-02 22:31 UTC (permalink / raw) To: help-guix [-- Attachment #1: Type: text/plain, Size: 2957 bytes --] I think the following is the information you are looking for: "Each /package/ may specify a simple package name, such as guile, optionally followed by an at-sign and version number, such as guile@3.0.7 or simply guile@3.0. In the latter case, the newest version prefixed by 3.0 is selected.” It comes from the documentation at https://guix.gnu.org/manual/en/html_node/Invoking-guix-package.html[1]. Admitedly, it is not easy to find if you don’t already know what you are looking for. On Friday, June 2, 2023 11:48:45 AM MST Rodrigo Morales wrote: > The /gnu/store of my system contains two versions (1.1.1 and 1.2.1) of > Inkscape that are already built (see last two lines below) > > ,---- > > | find /gnu/store -mindepth 1 -maxdepth 1 -name '*inkscape*' -exec du > > -hs {} + | sort -h > `---- > > ,---- > > | 4.0K > | /gnu/store/500rmmh2b0m4abmhs3pv5888kfj7jmdh-inkscape-1.2.1.tar.xz.drv > | 4.0K > | /gnu/store/b4zacwzx5lriwxrpr7y4wi1i3rl22ybx-inkscape-poppler-compat.patch > | 4.0K > | /gnu/store/g46dzii7g1ffi7iz1mkqydkh5filn93j-inkscape-1.2.1.tar.xz.drv > | 4.0K > | /gnu/store/jkpfxya83dzkyl42wawd8avvwvh1rjbv-inkscape-1.2.1.tar.xz.drv > | 4.0K /gnu/store/ppnajjk1jmp59hmh5sy805drl5sfnqq1-inkscape.desktop 4.0K > | /gnu/store/szdsqp9f75lf8n223994dgnzq0gynxkn-inkscape-1.1.1.tar.xz.drv > | 4.0K > | /gnu/store/zzxliczm87l5l692sbja4md3nlm4kn98-inkscape-1.1.1.tar.xz.drv > | 8.0K > | /gnu/store/0n9gsw2kpbs2affmdz5v8569inic47li-inkscape-1.2.1.tar.xz-builder > | 8.0K > | /gnu/store/gzczswjnbjwishxdcjb38ff50ryz07y6-inkscape-1.2.1-builder 8.0K > | > | /gnu/store/ldmc19hvi88gffrksh84clpgj4k35phx-inkscape-1.2.1.tar.xz-builder > | 8.0K > | /gnu/store/piy8k5xdfy9lpisz3s539ga643f7lxwp-inkscape-1.1.1.tar.xz-builder > | 8.0K > | /gnu/store/zgr855pyl4nq0wzbgvnls7y62y2hm03g-inkscape-1.2.1-builder 12K > | /gnu/store/20051ywrcs9srgmc1yz3n7g39mawwj71-inkscape-1.2.1.drv 12K > | /gnu/store/599w24wf1yc77qz98rdny3gl8hbwnk0v-inkscape-1.2.1.drv 12K > | /gnu/store/5rm4gq898k7g1m2z8bfdyjlamh4hv94r-inkscape-1.1.1.drv 12K > | /gnu/store/75hxh7536csa39ycl3lnfzp72n77640x-inkscape-1.1.1.drv 12K > | /gnu/store/9mkpsshqb8f8bvag4dn6fyay83xxi89v-inkscape-1.2.1.drv 12K > | /gnu/store/9saq1qq7c7knbpsnyxf2bnq316fzmjc7-inkscape-1.2.1.drv 12K > | /gnu/store/bni54rrv8mc1i3i06a5va6kvvv1szkh7-inkscape-1.2.1.drv 12K > | /gnu/store/kpxb5da4919c99npg7qpfa2dcb4mqi8h-inkscape-1.2.1.drv 12K > | /gnu/store/mmqv80zr7wjh7cys12f4iqkhcmg58i5c-inkscape-1.2.1.drv 12K > | /gnu/store/pa7hirai1r6l356xd12ldglgcp7z1x6q-inkscape-1.2.1.drv 12K > | /gnu/store/rkkplpgzqri888zq4byznhf1adbrx07l-inkscape-1.2.1.drv 12K > | /gnu/store/scqjnhcc1b2fyccy907wavh0maas1afh-inkscape-1.2.1.drv 16K > | /gnu/store/fwgd2kvp9g7ag503rx5g1zblxq028wj0-inkscape-1.2.1-builder 16K > | /gnu/store/hkhhjy304ma2kzchfr36qnpaf62iq9py-inkscape-1.2.1-builder 16K [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Newbie: Run previous version of Inkscape that exists in /gnu/store 2023-06-02 22:31 ` Soren Stoutner via @ 2023-06-04 18:08 ` Rodrigo Morales 2023-06-05 19:07 ` Soren Stoutner via 0 siblings, 1 reply; 6+ messages in thread From: Rodrigo Morales @ 2023-06-04 18:08 UTC (permalink / raw) To: Soren Stoutner; +Cc: help-guix > Each /package/ may specify a simple package name, such as guile, > optionally followed by an at-sign and version number, such as > guile@3.0.7 or simply guile@3.0. In the latter case, the newest > version prefixed by 3.0 is selected. I tried using that notation. However, `guix package -i' was not able to install it. ,---- | guix package -i 'inkscape@1.1.1' | echo "--- Exit code: $?" `---- ,---- | guix package: error: inkscape: package not found for version 1.1.1 | --- Exit code: 1 `---- > It comes from the documentation at > <https://guix.gnu.org/manual/en/html_node/Invoking-guix-package.html>[1]. > Admitedly, it is not easy to find if you don’t already know what you > are looking for. I read some of the documentation that you shared and I learned that `guix package -i' can be provided with absolute paths in `/gnu/store'. By providing the full path of v1.1.1, I was able to install it. ,---- | guix package -i /gnu/store/qp8msw5js3gdpdlq1r8nxz4frnzc39lh-inkscape-1.1.1 | echo "--- Exit code: $?" `---- ,---- | The following package will be installed: | inkscape 1.1.1 | | --- Exit code: 0 `---- Because `inkscape' was installed using `guix package -i' then the binary resides in ~/.guix-profile/bin/inkscape. However, I also have installed `inkscape' using `guix home', so I removed `~/.guix-home' from `$PATH' to make sure that my shell was not using the `inkscape' that has been installed through `guix home'. See behavior below. ,---- | echo 'Before' | which inkscape | inkscape --version | export PATH=$(echo $PATH | tr ':' '\n' | grep -v '\.guix-home' | paste -sd ':') | echo 'After' | which inkscape | inkscape --version `---- ,---- | Before | /home/rdrg/.guix-home/profile/bin/inkscape | Inkscape 1.2.1 (9c6d41e410, 2022-07-14) | After | /home/rdrg/.guix-profile/bin/inkscape | Inkscape 1.1.1 (3bf5ae0d25, 2021-09-20) `---- As you can see above, at this point, the binary `inkscape' is able to print the version number. However, when I try to run Inkscape with no arguments, a window with a button "Close" and a message "Inkscape encountered an internal error and will close now" is opened and some messages are shown in the terminal where I run the command. See [1] (I'm not pasting it here because it is 198 lines long). [1] <http://web.archive.org/web/20230604180504/http://0x0.st/HbgO.txt> Am I missing something? On Fri, 2 Jun 2023 at 22:31, Soren Stoutner via <help-guix@gnu.org> wrote: > > I think the following is the information you are looking for: > > "Each /package/ may specify a simple package name, such as guile, optionally followed by > an at-sign and version number, such as guile@3.0.7 or simply guile@3.0. In the latter case, > the newest version prefixed by 3.0 is selected.” > > It comes from the documentation at https://guix.gnu.org/manual/en/html_node/Invoking-guix-package.html[1]. Admitedly, it is not easy to find if you don’t already know what you > are looking for. > > On Friday, June 2, 2023 11:48:45 AM MST Rodrigo Morales wrote: > > The /gnu/store of my system contains two versions (1.1.1 and 1.2.1) of > > Inkscape that are already built (see last two lines below) > > > > ,---- > > > > | find /gnu/store -mindepth 1 -maxdepth 1 -name '*inkscape*' -exec du > > > > -hs {} + | sort -h > > `---- > > > > ,---- > > > > | 4.0K > > | /gnu/store/500rmmh2b0m4abmhs3pv5888kfj7jmdh-inkscape-1.2.1.tar.xz.drv > > | 4.0K > > | /gnu/store/b4zacwzx5lriwxrpr7y4wi1i3rl22ybx-inkscape-poppler-compat.patch > > | 4.0K > > | /gnu/store/g46dzii7g1ffi7iz1mkqydkh5filn93j-inkscape-1.2.1.tar.xz.drv > > | 4.0K > > | /gnu/store/jkpfxya83dzkyl42wawd8avvwvh1rjbv-inkscape-1.2.1.tar.xz.drv > > | 4.0K /gnu/store/ppnajjk1jmp59hmh5sy805drl5sfnqq1-inkscape.desktop 4.0K > > | /gnu/store/szdsqp9f75lf8n223994dgnzq0gynxkn-inkscape-1.1.1.tar.xz.drv > > | 4.0K > > | /gnu/store/zzxliczm87l5l692sbja4md3nlm4kn98-inkscape-1.1.1.tar.xz.drv > > | 8.0K > > | /gnu/store/0n9gsw2kpbs2affmdz5v8569inic47li-inkscape-1.2.1.tar.xz-builder > > | 8.0K > > | /gnu/store/gzczswjnbjwishxdcjb38ff50ryz07y6-inkscape-1.2.1-builder 8.0K > > | > > | /gnu/store/ldmc19hvi88gffrksh84clpgj4k35phx-inkscape-1.2.1.tar.xz-builder > > | 8.0K > > | /gnu/store/piy8k5xdfy9lpisz3s539ga643f7lxwp-inkscape-1.1.1.tar.xz-builder > > | 8.0K > > | /gnu/store/zgr855pyl4nq0wzbgvnls7y62y2hm03g-inkscape-1.2.1-builder 12K > > | /gnu/store/20051ywrcs9srgmc1yz3n7g39mawwj71-inkscape-1.2.1.drv 12K > > | /gnu/store/599w24wf1yc77qz98rdny3gl8hbwnk0v-inkscape-1.2.1.drv 12K > > | /gnu/store/5rm4gq898k7g1m2z8bfdyjlamh4hv94r-inkscape-1.1.1.drv 12K > > | /gnu/store/75hxh7536csa39ycl3lnfzp72n77640x-inkscape-1.1.1.drv 12K > > | /gnu/store/9mkpsshqb8f8bvag4dn6fyay83xxi89v-inkscape-1.2.1.drv 12K > > | /gnu/store/9saq1qq7c7knbpsnyxf2bnq316fzmjc7-inkscape-1.2.1.drv 12K > > | /gnu/store/bni54rrv8mc1i3i06a5va6kvvv1szkh7-inkscape-1.2.1.drv 12K > > | /gnu/store/kpxb5da4919c99npg7qpfa2dcb4mqi8h-inkscape-1.2.1.drv 12K > > | /gnu/store/mmqv80zr7wjh7cys12f4iqkhcmg58i5c-inkscape-1.2.1.drv 12K > > | /gnu/store/pa7hirai1r6l356xd12ldglgcp7z1x6q-inkscape-1.2.1.drv 12K > > | /gnu/store/rkkplpgzqri888zq4byznhf1adbrx07l-inkscape-1.2.1.drv 12K > > | /gnu/store/scqjnhcc1b2fyccy907wavh0maas1afh-inkscape-1.2.1.drv 16K > > | /gnu/store/fwgd2kvp9g7ag503rx5g1zblxq028wj0-inkscape-1.2.1-builder 16K > > | /gnu/store/hkhhjy304ma2kzchfr36qnpaf62iq9py-inkscape-1.2.1-builder 16K ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Newbie: Run previous version of Inkscape that exists in /gnu/store 2023-06-04 18:08 ` Rodrigo Morales @ 2023-06-05 19:07 ` Soren Stoutner via 0 siblings, 0 replies; 6+ messages in thread From: Soren Stoutner via @ 2023-06-05 19:07 UTC (permalink / raw) To: help-guix The official channels do not seem to have retained the information necessary to build Inkscape 1.1.1. https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/inkscape.scm You would likely need to use an older version of the SCM to build 1.1.1. Perhaps something like this: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/inkscape.scm?id=12c9e59600e90206d8defcbe29e26f606390240a Once you do get a SCM that can build 1.1.1, you might be interested in using `guix shell` to run them side-by-side without having the configuration file from one cause problems for the other. https://guix.gnu.org/manual/devel/en/html_node/Invoking-guix-shell.html Something similar to the following two commands would likely do what you want. guix shell --container --no-cwd inkspace@1.1.1 -- inkscape guix shell --container --no-cwd inkscape@1.2.1 -- inkscape If you are using a local SCM for the older version of Inkscape, your first command might look something more along the lines of: guix shell --container --no-cwd /path/to/inkscape1.1.1.scm -- inkscape --- Soren Stoutner soren@stoutner.com 623-262-6169 On 2023-06-04 12:08, Rodrigo Morales wrote: > I tried using that notation. However, `guix package -i' was not able to > install it. > > ,---- > | guix package -i 'inkscape@1.1.1' > | echo "--- Exit code: $?" > `---- > > ,---- > | guix package: error: inkscape: package not found for version 1.1.1 > | --- Exit code: 1 > `---- ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Newbie: Run previous version of Inkscape that exists in /gnu/store 2023-06-02 18:48 Newbie: Run previous version of Inkscape that exists in /gnu/store Rodrigo Morales 2023-06-02 22:31 ` Soren Stoutner via @ 2023-06-03 3:39 ` 宋文武 2023-06-04 17:49 ` Rodrigo Morales 1 sibling, 1 reply; 6+ messages in thread From: 宋文武 @ 2023-06-03 3:39 UTC (permalink / raw) To: Rodrigo Morales; +Cc: help-guix Rodrigo Morales <moralesrodrigo1100@gmail.com> writes: > [...] > | 140M /gnu/store/qp8msw5js3gdpdlq1r8nxz4frnzc39lh-inkscape-1.1.1 > | 181M /gnu/store/3a7a5i1f4c917vlnzyy9d68s55ijiq50-inkscape-1.2.1 > > I want to run v1.1.1 because I want to do some experiments to test the > performance of these two versions. Preferably, I want to run those two > versions at the same time. If that's not possible, at least I want to be > able to switch between those two versions. How to do this? Does run them by path from command line in a terminal emulator works? /gnu/store/qp8msw5js3gdpdlq1r8nxz4frnzc39lh-inkscape-1.1.1/bin/inkscape /gnu/store/3a7a5i1f4c917vlnzyy9d68s55ijiq50-inkscape-1.2.1/bin/inkscape ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Newbie: Run previous version of Inkscape that exists in /gnu/store 2023-06-03 3:39 ` 宋文武 @ 2023-06-04 17:49 ` Rodrigo Morales 0 siblings, 0 replies; 6+ messages in thread From: Rodrigo Morales @ 2023-06-04 17:49 UTC (permalink / raw) To: 宋文武; +Cc: help-guix When I run Inkscape v1.2.1 using an absolute path, Inkscape is successfully opened. When I run Inkscape v1.1.1 using an absolute path, a window with a button "Close" and a message "Inkscape encountered an internal error and will close now" is opened and some messages are shown in the terminal where I run the command. See [1] (I'm not pasting it here because it is 198 lines long). I thought this problem had to do with the content of ~/.config/inkscape and ~/.cache/inkscape since those folders might be read at startup by those versions and those directories might not be backward compatible, so I deleted those folders and I run v1.1.1 using the absolute path again, but the same window was opened. See [2]. [1] http://web.archive.org/web/20230604174522/http://0x0.st/Hbg2.txt [2] http://web.archive.org/web/20230604174551/http://0x0.st/Hbg_.txt On Sat, 3 Jun 2023 at 03:39, 宋文武 <iyzsong@envs.net> wrote: > > Rodrigo Morales <moralesrodrigo1100@gmail.com> writes: > > > [...] > > | 140M /gnu/store/qp8msw5js3gdpdlq1r8nxz4frnzc39lh-inkscape-1.1.1 > > | 181M /gnu/store/3a7a5i1f4c917vlnzyy9d68s55ijiq50-inkscape-1.2.1 > > > > I want to run v1.1.1 because I want to do some experiments to test the > > performance of these two versions. Preferably, I want to run those two > > versions at the same time. If that's not possible, at least I want to be > > able to switch between those two versions. How to do this? > > Does run them by path from command line in a terminal emulator works? > > /gnu/store/qp8msw5js3gdpdlq1r8nxz4frnzc39lh-inkscape-1.1.1/bin/inkscape > /gnu/store/3a7a5i1f4c917vlnzyy9d68s55ijiq50-inkscape-1.2.1/bin/inkscape > ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-06-05 19:14 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-06-02 18:48 Newbie: Run previous version of Inkscape that exists in /gnu/store Rodrigo Morales 2023-06-02 22:31 ` Soren Stoutner via 2023-06-04 18:08 ` Rodrigo Morales 2023-06-05 19:07 ` Soren Stoutner via 2023-06-03 3:39 ` 宋文武 2023-06-04 17:49 ` Rodrigo Morales
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).