Linux Lite 8.0 RC1 has been released - Click here


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Install Updates Development Thread
#11

Ok, feature pushed. It's somewhat raw, and I've used some of our existing zenity html code so that we can 'beautify' it later. You're welcome to review and improve since you're more familiar with the theming than me.
It uses xclip. We can't add new deps to the control file, it breaks the install process. I really wish Debian would do something about this /end rant. So I pull the necessary executables from the web and run them from /tmp as a way around the control file issue. You'll see that in the diff in GH.

Tested and working.

Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#12

Found an issue. Need a separate 32bit and 64bit executable for xclip.

Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#13

(04-23-2017, 06:33 AM)Jerry link Wrote:  Found an issue. Need a separate 32bit and 64bit executable for xclip.

This is a nice idea Jerry; I like it! Now we just need to polish it some more, formatting and the such...  :)

This is ugly! lol
Code:
...
wget https://www.linuxliteos.com/files/xclip.zip -O /tmp/xclip.zip; cd /tmp; unzip -o xclip.zip; /tmp/xclip -selection c /var/log/llupdates.log
...

It happens that those with slow connection or unable to connect to master server at the time will not be able to copy anything to the clipboard. The dialog exits and the user never gets anything she/he was hoping for.

I think we should consider some of the following options:

--- We cannot add xclip to the control file (as we know it breaks the install) so:

1- Test whether we can push it with the postinst file. (We can run a check and install xclip if not installed)
    If this is a no go, then:

2- We can add the check to Install Updates and install xclip which is rather small utility and then continue as usual.

That way we do not have to worry about x32 and x64 versions not we have to depend on users being able to connect to the internet and to master server for a feature to work.


https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

[Image: AGxgqJ6.png]
Reply
#14

1 - no options to do this with Debian packaging unfortunately.

2 - would be worth trying.

Sent from my Mobile phone using Tapatalk


Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#15

(04-23-2017, 12:58 PM)Jerry link Wrote:  1 - no options to do this with Debian packaging unfortunately.

2 - would be worth trying.

Sent from my Mobile phone using Tapatalk

I didn't even try because it is going to fail miserably in both cases... hence, I added the xclip install to updates-gui with a simple check right before starting the packages list update.

Changes committed to master.

https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

[Image: AGxgqJ6.png]
Reply
#16

Lite Software tested, packaged and released :)

Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#17

With the new check for package (xclip) code in Install Updates, we can now bypass the control file limitations and include software like Yad, etc regardless of what Series 3.x a person is using.

Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#18

(04-24-2017, 06:54 AM)Jerry link Wrote:  Lite Software tested, packaged and released :)

You're awesome! :)  <3

https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

[Image: AGxgqJ6.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)