Skip to content

Commit

Permalink
Merge pull request #3 from ayhanyalcinsoy/master
Browse files Browse the repository at this point in the history
fixed some typos and added usage of some scripts into the README file…
  • Loading branch information
ayhanyalcinsoy authored May 2, 2023
2 parents 1cb9205 + cced880 commit 62e1735
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 4 deletions.
13 changes: 13 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,16 @@ pardus-dev-tools

The aim of this project is to keep several bash/python/perl scripts and bash profile.d/ hooks
together to provide a lot of facilities to maintainers and developers.

To create pisi package
----------------------
- First of all create ".pisipackager" file on the "/home/user_name/" and add required information as following and close it:
name = Ayhan Yalçınsoy
email = [email protected]
- In the directory you want to create a pisi package open the Terminal (Konsole)
- To create a package based on autotools, use command 'autotools_package package_name'
- To create a package based on cmake, use command 'cmake_package package_name'
- To create a package based on kd5, use command 'kde5_package package_name'
- To create a package based on mesontools use command 'mesontools_package package_name'
- To create a package based on qt5 use command 'qt5_package package_name'
- To create a package based on qt6 use command 'qt6_package package_name'
5 changes: 5 additions & 0 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@ TODO
----

(-) Provide several git,svn scripts to ease some workflows

For scripts of creation pisi packages
-------------------------------------
(-) Call scripts with menu
(-) Add submenus into the menu to specify whether add service.py, package.py, *.desktop into the package
2 changes: 1 addition & 1 deletion scripts/autotools_package
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ data = {"date": time.strftime("%Y-%m-%d"),
"year": time.strftime("%Y")}

temp_pspec = '''<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org.tr/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org.tr/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>%(package)s</Name>
Expand Down
4 changes: 2 additions & 2 deletions scripts/cmake_package
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ temp_pspec = '''<?xml version="1.0" ?>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/lib/cmake</Path>
</Files>
</Package>
Expand Down Expand Up @@ -110,8 +111,7 @@ from pisi.actionsapi import cmaketools, pisitools, shelltools, get
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib ", sourceDir="..")
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib ", sourceDir="..")
def build():
shelltools.cd("build")
Expand Down
2 changes: 1 addition & 1 deletion scripts/mesontools_package
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ temp_pspec = '''<?xml version="1.0" ?>
<PISI>
<Source>
<Name>%(package)s</Name>
<Homepage>https://github.com/linuxmint/%(package)s</Homepage>
<Homepage></Homepage>
<Packager>
<Name>%(packager_name)s</Name>
<Email>%(packager_email)s</Email>
Expand Down

0 comments on commit 62e1735

Please sign in to comment.