Recommended Posts

So there was a discussion the other night about the GUI installer so I thought heck, let's try php...

So I looked for php-qt, it exists! But it haven't had any development done to it in years and isn't compatible with php 5.4 or 5.3..

So I looked back at php 5.3 and php-gtk that I remember using on windows years ago... Tried the 2.0.1 version and after fixing a few bugs with the build, it compiled. The bad thing is that it was completely broken, things opened but what was meant to change the look of things didn't change anything at all, so I tried the SVN version... It needed php-cairo so I got that and got it build, easy! But alas now trying to get php-gtk SVN to build is proving to be a pain in the arse, it's using PHP 5.4's files in /usr/include, etc. and ignoring that I said to use files in /tmp/BB so I've given up with it temporially, I'll blast out a VM on my server sometime with arch, get the PHP pkgbuild and change it to build PHP 5.3 not 5.4, make it then have a go at making the SVN extension and seeing how useful/working it is.

So if that goes well, we can stick PHP 5.3 on the live cd somewhere and use it to make/run an installer, though we'll need to code it :p.

Anyway I'll do that another time but wanted to update on it here. (Unless anyone else wants to give it a try)

  • Like 1
Link to comment
https://www.neowin.net/forum/topic/1091945-shift2-gui-installer/
Share on other sites

Nope only the GUI written in PHP, then just use it to make a list of things to run (like pacman) and run them in the background.

That sounds like most installers; GUI which kicks off some code to do other stuff :p (yes, I understand the technical detail, just felt like being an ass)

PHP for an installer? I'm by no means a coding expert, but even I know that's not a good idea.

See, this is why I voted for Debian as a basis. They have a GUI installer already which could have been modified for Shift. Writing a GUI installer from scratch for a distribution like Arch is going to be a nightmare...

Still though, why use PHP? Seems like the wrong tool for the job to me, and an unnecessary dependency. Why not pick Python or a Mono-based language, something more oriented toward desktops?

  • Like 3

well.. if you wanted.. we could make it C# Based but with your interface. I could do the C# code to your layout/design/control. Basically you would tell me/design how you want it to look/act and I can do the C# to make it do it. I've written pre-installers for apps at work using C#. Installers that install pre-requisites and such.

Using a server side scripting language for a GUI based operating system installation sounds like a questionable choice to me. There are so many good Linux installers already available, why not re-purpose them to fit your needs?

Probably be quite a few weeks till it happens...

Waiting for parts for new-server to arrive, then internets getting switched, then gotta move data and parts from old sever to new server, then get the internet routing setup and then finally try out PHP-GTK!

  • 2 weeks later...

I've been working on a basc framework/set of files. going to try and make a mono included live CD tonight and see if I can get an automated/graphicall installer made. I have installing files from the official repo done so not a crazy amount of code needed to do it assuming I can get the live CD made. as mono will be required.

I've been working on a basc framework/set of files. going to try and make a mono included live CD tonight and see if I can get an automated/graphicall installer made. I have installing files from the official repo done so not a crazy amount of code needed to do it assuming I can get the live CD made. as mono will be required.

Nice one fiery! Keeps us updated! :)

Nice one fiery! Keeps us updated! :)

Will do, I feel once I get the installs of .TAR.GZ files working then a bulk of the hard work is done. Then it's just a matter of doing other things, such as built-in repo editor, etc. For tar.gz files they will be meant for use with the AUR ones.. it will extract the .tar.gz, run a makepkg -s, accept the download of required dependencies, then once the install is built, run pacman -U (file). So pretty straight forward.

Going to look at the mono stuff tonight, and see if I can give a live-cd made with the mono, once I get that.. it's just a matter of writing the code and yea. Definitely going to need some graphics artists and the sort for the interface.. but I definitely think it's doable. It is more or less just running through all the steps of a standard arch install with an interface.

This topic is now closed to further replies.
  • Posts

    • HomeBank 5.10.1 by Razvan Serea HomeBank is a free software (as in "free speech" and also as in "free beer") that will assist you to manage your personal accounting. It is designed to easy to use and be able to analyse your personal finance and budget in detail using powerful filtering tools and beautiful charts. If you are looking for a completely free and easy application to manage your personal accounting, budget, finance then HomeBank should be the software of choice. HomeBank also benefits of more than 19 years of user experience and feedback, and is translated by its users in around 56 languages. Highlights: Cross platform, supports GNU/Linux, Microsoft Windows, Mac OS X Import easily from Intuit Quicken, Microsoft Money or other software Import bank account statements (OFX, QIF, CSV, QFX) Duplicate transaction detection Automatic cheque numbering Various account types : Bank, Cash, Asset, Credit card, Liability Scheduled transaction Category split Internal transfer Month/Annual budget Dynamic powerful reports with charts Automatic category/payee assignment Vehicule cost HomeBank 5.10.1 changelog: change: the input field helper icon + fixed some spacing inconsistency change: transaction, added some missing input tooltips and reworked existing change: category, payee and tag window add input now have a tooltip and button change: split window, refactored the layout change: split window, add display of memo and date wish : #2106800 budget report option to exclude transfers from unbudgeted line bugfix: prevent deletion of non pending transaction when rejecting bugfix: transaction warning for no rate faultly showing in transfer bugfix: report missing space for filter tooltip icon bugfix: budget report missing filter tooltip bugfix: manage account closed icon was hidding budget icon bugfix: #2154771 view transcations requires hitting Escape or X twice to close dialog bugfix: #2154337 transfer to/from closed account with different currency don't show the amount bugfix: #2154234 scheduled transaction recurring pattern daily value limited to 100 bugfix: #2149897 view split for closed accounts bugfix: #2148561 global time chart do not shows current period by default bugfix: #2148456 the main screen Total Chart is no longer showing an overall total bugfix: #2147497 editing a transaction resets scroll position bugfix: #2147377 balance mixup with transaction same day sort by amount bugfix: #2147052 quarter are wrong when fiscal year is jan 1 bugfix: #2147048 all events for the month are late but today is only the 1st bugfix: #2144993 impossible to search for transactions by value for values >999,99 bugfix: #2144698 adding new Category/Payee/Tags requires hitting -Enter- bugfix: #2144419 QIF Account name detection fail on import bugfix: #2142349 can't delete account groups bugfix: #2139409 account maximum limit is not fully used (example credit card) bugfix: #2133783 transfers shouldn't add to dashboard top spending reports Download: HomeBank 5.10.1 | 20.5 MB (Open Source) Download: 3rd party packages (macOSX. Ubuntu...etc) View: HomeBank Website | Support | Features | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Same, price was right for my Home, laptop, phone. Works great!
    • Brave and Firefox. I’ve been using them as my primary browsers for a while now, perfect combo
    • They want Ring 0 access. Should be a hard no. A middle ground needs to be found.
  • Popular Contributors

    1. 1
      +primortal
      524
    2. 2
      PsYcHoKiLLa
      232
    3. 3
      Edouard
      135
    4. 4
      ATLien_0
      88
    5. 5
      Steven P.
      83
  • Tell a friend

    Love Neowin? Tell a friend!