From cced880b7c5fe9c4631847497c827f28b23f8ba8 Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Wed, 3 May 2023 00:14:17 +0300 Subject: [PATCH] fixed some typos and added usage of some scripts into the README file and added some improvements target into the TODO file --- README | 13 +++++++++++++ TODO | 5 +++++ scripts/autotools_package | 2 +- scripts/cmake_package | 4 ++-- scripts/mesontools_package | 2 +- 5 files changed, 22 insertions(+), 4 deletions(-) diff --git a/README b/README index dae3388..c385af6 100644 --- a/README +++ b/README @@ -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 = ayhanyalcinsoy@pisilinux.org +- 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' diff --git a/TODO b/TODO index ba9e480..68ebfe7 100644 --- a/TODO +++ b/TODO @@ -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 diff --git a/scripts/autotools_package b/scripts/autotools_package index 8c401e3..3b2ffdc 100755 --- a/scripts/autotools_package +++ b/scripts/autotools_package @@ -19,7 +19,7 @@ data = {"date": time.strftime("%Y-%m-%d"), "year": time.strftime("%Y")} temp_pspec = ''' - + %(package)s diff --git a/scripts/cmake_package b/scripts/cmake_package index 62f99c1..f7e3549 100755 --- a/scripts/cmake_package +++ b/scripts/cmake_package @@ -83,6 +83,7 @@ temp_pspec = ''' /usr/include /usr/lib/pkgconfig + /usr/lib/cmake @@ -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") diff --git a/scripts/mesontools_package b/scripts/mesontools_package index 9b74662..a4a594d 100755 --- a/scripts/mesontools_package +++ b/scripts/mesontools_package @@ -23,7 +23,7 @@ temp_pspec = ''' %(package)s - https://github.com/linuxmint/%(package)s + %(packager_name)s %(packager_email)s