evince-41.3-x86_64-1 for Port 5.0 XFCE

If you are looking for a specific 64-bit package and you can't find it in any of the 64-bit repos, please post a request for it here
User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

evince-41.3-x86_64-1 for Port 5.0 XFCE

Post#16 by Ed_P » 05 Oct 2022, 00:56

Rava wrote:
04 Oct 2022, 17:30
As usual, the XFCE 4.12 module reports its version wrong, it is 003-xfce-4.12-20220725 and not 20220428
Suggestion, run the following terminal commands. Note, make the "URMODULESPATH" equal to the path to your /modules folder.

Code: Select all

su
password
sed  -i  's^20220428^20220725^'  /etc/porteus/003-xfce4.ver
cp  -a  --parents /etc/porteus/003-xfce4.ver     /tmp/mod/
dir2xzm   /tmp/mod   /tmp/xfce412-220705.xzm   &&  rm -rf /tmp/mod
cp   /tmp/xfce412-220705.xzm   /URMODULESPATH/modules
:)
Ed

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

evince-41.3-x86_64-1 for Port 5.0 XFCE

Post#17 by Rava » 05 Oct 2022, 01:16

Ed_P wrote:
05 Oct 2022, 00:56
Suggestion, run the following terminal commands. Note, make the "URMODULESPATH" equal to the path to your /modules folder.
During the 5.0rc days I suggested a script-based solution to fulalas that will update the date of today as

Code: Select all

date +%Y%m%d
and write that into ${YOURMODULEPATH}/etc/porteus/003-xfce4.ver … all he had to do was adjust ${YOURMODULEPATH to whatever his recent XFCE module to create path was… but he ignored that and he never replied when I pointed out that his XFCE modules got the /etc/porteus/003-xfce4.ver wrong … so I gave up. :(

And sure, doing the above would fix the /etc/porteus/003-xfce4.ver for my module, but that would also mean when some other user has the same module as mine, his and my /etc/porteus/003-xfce4.ver would now differ, even when we have the same module, because the only thing different between the user's XFCE4.12 and my module would be its /etc/porteus/003-xfce4.ver .

And that would certainly confuse people - thinking the user's own module and mine must be different ones when they are not. Therefore I keep the wrong .ver file and comment on it - unless I have either an XFCE module made by myself (unlikely, since I lack the skills fulalas has when it comes to compiling the module's binaries into cutting edge performing binaries ) or he creates newer version(s) and gets their /etc/porteus/003-xfce4.ver correct (e.g. by creating his own script based updater for /etc/porteus/003-xfce4.ver or by simply copying and adjusting my code I provided to fulalas many many moons ago) :)

Added in 2 hours 6 minutes 32 seconds:
The really nice thing about the date command is - you do not need sed or such, not even an additional echo ${date parameter} construct to get a certain needed format with extra info.

E.g.

Code: Select all

guest@porteus:~$ date +"%Y-%m-%d %H:%M"
2022-10-05 05:22
Simple enough.

But you need padding at the front and extra info at the back? Say, for logging purposes. No problemo:

Code: Select all

guest@porteus:~$ date +"                %Y-%m-%d %H:%M - script XXX.sh started"
                2022-10-05 05:22 - script XXX.sh started
Cheers!
Yours Rava

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

evince-41.3-x86_64-1 for Port 5.0 XFCE

Post#18 by Ed_P » 05 Oct 2022, 15:08

Rava wrote:
05 Oct 2022, 03:22
And sure, doing the above would fix the /etc/porteus/003-xfce4.ver for my module, but that would also mean when some other user has the same module as mine, his and my /etc/porteus/003-xfce4.ver would now differ, even when we have the same module, because the only thing different between the user's XFCE4.12 and my module would be its /etc/porteus/003-xfce4.ver .

And that would certainly confuse people - thinking the user's own module and mine must be different ones when they are not.
And when a confused person would ask where you got your version you could show them the little module. :) :good:
Ed

Post Reply