Skip to content

Commit

Permalink
one tool, two implementations :P update tool attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
examachine committed Feb 23, 2017
1 parent 20162f5 commit 76bf7c1
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 5 deletions.
32 changes: 27 additions & 5 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ You can install PISI on your system with a single command.
If you are on a Pardus system, you should delete /usr/lib/pardus/pisi
when you are installing the SVN version

PiSi requires piksemel XML processing library, the newest version
PISI requires piksemel XML processing library, the newest version
Berkekey DB python bindings called "bsddb3" and Pardus configuration
manager COMAR in order to run.

Expand All @@ -39,11 +39,34 @@ run the following command as root:

For testing, please read tests/README

Downloading Uludag Sources:

$ git clone https://github.com/pars-linux/uludag.git


Installing piksemel:

$ cd uludag/piksemel
$


Ubuntu instructions:
--------------------

TODO:

Install PISI dependencies
$ sudo apt-get install python bsddb3 coreutils xz gnupg
$ pip install bsddb3 pycurl urlgrabber

set up gnupg2 if needed:

$ gpg --gen-key

Install COMAR dependencies

$ sudo port install dbus policykit
$ pip install dbus

OS X Instructions:
------------------
Expand All @@ -55,7 +78,8 @@ https://guide.macports.org/#installing
http://www.ficksworkshop.com/blog/post/installing-gcc-on-mac

Install PISI dependencies
$ sudo port install python bsddb3 coreutils xz gnupg
$ sudo port install python27 bsddb3 coreutils xz gnupg
$ sudo port select --set python python27
$ pip install bsddb3 pycurl urlgrabber

set up gnupg2 if needed:
Expand All @@ -64,7 +88,7 @@ $ gpg --gen-key

Install COMAR dependencies

$ sudo port install dbus policykit
$ sudo port install dbus policykit cmake
$ pip install dbus

Homebrew approach:
Expand Down Expand Up @@ -100,5 +124,3 @@ $ sudo cp -a /usr/local/etc/pisi/ /etc/pisi

It should work on a current OS X installation.

References:

9 changes: 9 additions & 0 deletions tools/fix-shebang.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

# try to avoid changing files under .git directories

#grep -rli --exclude '*.git*' '#!/usr/bin/python' . | \
#xargs -I {} gsed -i '' -e 's/#!\/usr\/bin\/python/#!\/usr\/bin\/env python/' {}

greptile -x .py -l -i -g '#!/usr/bin/env python' -r '#!/usr/bin/python' .

Empty file modified tools/pygettext.py
100644 → 100755
Empty file.
Empty file modified tools/update-license.sh
100644 → 100755
Empty file.

0 comments on commit 76bf7c1

Please sign in to comment.