Git Product home page Git Product logo

phpstorm-deb's Introduction

phpstorm-deb

Build scripts to easily create a .deb package for PhpStorm.

Dependencies

You will need the devscripts debhelper php and php-curl packages installed in order to build the PhpStorm .deb file:

apt-get install devscripts debhelper php php-curl

Build (Automatic)

  • Run the download_latest.php file
php download_latest.php

This will execute all steps described below.

Building (Manuallly)

  • Download the .tar.gz file from PhpStorm's download page and place it in the root directory of this repo.

  • Create a new debian/changelog file using the provided update.sh script:

./update.sh
  • Build the package with the following command:
debuild -us -uc -b

Installing

Install the package with the dpkg command:

dpkg -i PhpStorm...

Alternatively, you can create your own simple repo or more professional one to host your custom deb packages.

phpstorm-deb's People

Contributors

arendvw avatar deinonychuscowboy avatar l00cyph3r avatar langemeijer avatar lloydhazlett avatar mladoux avatar raginvaldr avatar slashbunny avatar tacovandenbroek avatar verwilst avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

phpstorm-deb's Issues

dpkg-deb: error: conffile '/opt/PhpStorm/bin/phpstorm.vmoptions' does not appear in package

I received an error on the automatic PHP file, so I investigated the command that generated the error. Here is the output of that command.

$ dpkg-buildpackage -us -uc -ui -b
dpkg-buildpackage: info: source package phpstorm
dpkg-buildpackage: info: source version 2022.2.1
dpkg-buildpackage: info: source distribution stable
dpkg-buildpackage: info: source changed by Casper Langemeijer <[email protected]>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
dh_clean
dh_clean: warning: Compatibility levels before 10 are deprecated (level 5 in use)
 debian/rules build
touch build-stamp
 fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_prep
dh_installdirs
dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 5 in use)
# Untar and move upstream version
tar --directory /mnt/chromeos/removable/ChromeOS/Linux/phpstorm-deb/debian/phpstorm/opt -xzf PhpStorm-2022.2.1.tar.gz
mv /mnt/chromeos/removable/ChromeOS/Linux/phpstorm-deb/debian/phpstorm/opt/PhpStorm-222.3739.61 /mnt/chromeos/removable/ChromeOS/Linux/phpstorm-deb/debian/phpstorm/opt/PhpStorm
# Create desktop item for menu
cp phpstorm.desktop /mnt/chromeos/removable/ChromeOS/Linux/phpstorm-deb/debian/phpstorm/usr/share/applications
# Copy start script to /usr/bin
cp phpstorm.php /mnt/chromeos/removable/ChromeOS/Linux/phpstorm-deb/debian/phpstorm/usr/bin/phpstorm
dh_testdir -i
dh_testroot -i
dh_installdocs -i
dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 5 in use)
dh_install -i
dh_install: warning: Compatibility levels before 10 are deprecated (level 5 in use)
dh_fixperms -i
dh_installdeb -i
dh_installdeb: warning: Compatibility levels before 10 are deprecated (level 5 in use)
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
dpkg-deb: error: conffile '/opt/PhpStorm/bin/phpstorm.vmoptions' does not appear in package
dh_builddeb: error: dpkg-deb --build debian/phpstorm .. returned exit code 2
dh_builddeb: error: Aborting due to earlier error
make: *** [debian/rules:43: binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2

Add licence

Hi,

would you mind adding a licence to your repo?

I am trying to set up an auto-updated repository and would love to build it up on your work but with a licence provided.

Greetz

Frank

Lintian errors

There is a big number of lintian issues that need to be solved

Use correct java binary from phpstorm.sh

The phpstorm.sh file in upstream jetbrains tar.gz has some very complex code to detect where the java binary lives. This also leads to the symlink that points to the java runtime selected by update-alternatives.

The phpstorm.sh from this package should always use sun java binary in
/usr/lib/jvm/java-6-sun/jre/bin/java instead of /usr/bin/java, bypassing the update-alternatives choice.

Better readme

There are a number of dependencies that need to be fixed before you can build. Fix them in the readme file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.