first commit
This commit is contained in:
commit
95e8c9ffa5
40
.github/workflows/release.yml
vendored
Normal file
40
.github/workflows/release.yml
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
name: PikaOS Package Release
|
||||
|
||||
on:
|
||||
workflow_dispatch
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: self-hosted
|
||||
container:
|
||||
image: ubuntu:22.10
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install needed packages
|
||||
run: apt update && apt install software-properties-common sudo git bc gpg gpg-agent bison build-essential ccache cpio fakeroot flex git kmod libelf-dev libncurses5-dev libssl-dev lz4 qtbase5-dev rsync schedtool wget zstd tar reprepro dpkg-sig devscripts -y
|
||||
|
||||
- name: Import GPG key
|
||||
id: import_gpg
|
||||
uses: crazy-max/ghaction-import-gpg@v5
|
||||
with:
|
||||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
passphrase: ${{ secrets.PASSPHRASE }}
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Build Package
|
||||
run: ./main.sh
|
||||
|
||||
- name: Release Package
|
||||
run: ./release.sh
|
52
debian/changelog
vendored
Normal file
52
debian/changelog
vendored
Normal file
@ -0,0 +1,52 @@
|
||||
yad (1.12-git) jammy; urgency=medium
|
||||
|
||||
* No-change rebuild against latest gdk-pixbuf
|
||||
|
||||
-- Jeremy Bicha <jeremy.bicha@canonical.com> Wed, 09 Mar 2022 18:54:51 -0500
|
||||
|
||||
yad (0.40.0-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release (Closes: #876226).
|
||||
|
||||
-- Gustavo Soares de Lima <gustavo@logicus.com.br> Sun, 09 Sep 2018 11:49:15 -0300
|
||||
|
||||
yad (0.38.2-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release.
|
||||
* debian/clean:
|
||||
- Added to remove an extra file created by build process.
|
||||
* debian/control:
|
||||
- Bump to DH 10.
|
||||
* debian/copyright:
|
||||
- Changed license to BSD-3-Clause (Closes: #836877).
|
||||
- Updated with po/* authors.
|
||||
* debian/rules:
|
||||
- Build with enable-gio.
|
||||
- Build with enable-html.
|
||||
- Build with icon-browser (Closes: #849814).
|
||||
- Build with enable-sourceview.
|
||||
- Build with enable-spell.
|
||||
- Removed unnecessary lines.
|
||||
* debian/watch:
|
||||
- Updated to version 4.
|
||||
|
||||
-- Gustavo Soares de Lima <gustavo@logicus.com.br> Tue, 24 Jan 2017 23:23:49 -0200
|
||||
|
||||
yad (0.37.0-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
|
||||
-- Gustavo Soares de Lima <gustavo@logicus.com.br> Tue, 16 Aug 2016 18:49:00 +0000
|
||||
|
||||
yad (0.27.0-1.1) unstable; urgency=medium
|
||||
|
||||
* Non-maintainer upload.
|
||||
* Build with -fgnu89-inline. Closes: #790779.
|
||||
|
||||
-- Matthias Klose <doko@debian.org> Sat, 25 Jul 2015 13:31:28 +0200
|
||||
|
||||
yad (0.27.0-1) unstable; urgency=low
|
||||
|
||||
* Initial release (Closes: #737599)
|
||||
|
||||
-- Gustavo Soares de Lima <gustavo@logicus.com.br> Thu, 19 Feb 2015 19:37:03 -0200
|
1
debian/clean
vendored
Normal file
1
debian/clean
vendored
Normal file
@ -0,0 +1 @@
|
||||
data/yad-icon-browser.desktop
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
||||
9
|
15
debian/control
vendored
Normal file
15
debian/control
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
Source: yad
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Maintainer: Gustavo Soares de Lima <gustavo@logicus.com.br>
|
||||
Build-Depends: debhelper (>=10), autotools-dev, libgtk-3-dev, pkg-config, intltool
|
||||
Standards-Version: 3.9.8
|
||||
Homepage: http://sourceforge.net/projects/yad-dialog/
|
||||
|
||||
Package: yad
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends}
|
||||
Description: tool for creating graphical dialogs from shell scripts
|
||||
Yad allows you to display GTK+ dialog boxes from command line or shell
|
||||
scripts. It is similar to Zenity but with more dialog types and options.
|
72
debian/copyright
vendored
Normal file
72
debian/copyright
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: yad
|
||||
Source: http://sourceforge.net/projects/yad-dialog/
|
||||
|
||||
Files: *
|
||||
Copyright: 2009-2017 Victor Ananjevsky <ananasik@gmail.com>
|
||||
Glynn Foster <glynn.foster@sun.com>
|
||||
Mike Newman <mikegtn@gnome.org>
|
||||
License: GPL-3
|
||||
|
||||
Files: po/*
|
||||
Copyright: 1995-1997 Ulrich Drepper <drepper@gnu.ai.mit.edu>
|
||||
2003 Stephen Kennedy <steve9000@users.sourceforge.net>
|
||||
2004-2008 Rodney Dawes <dobey.pwns@gmail.com>
|
||||
2006-2010 Claude Paroz <claude@2xlibre.net>
|
||||
2006 Jonathan Ernst <jonathan@ernstfamily.ch>
|
||||
2007 Robert-Andreas Mauchin <zebob.m@pengzone.org>
|
||||
2009-2010 Bruno Brouard <annoa.b@gmail.com>
|
||||
2009 Manfred Mueller aka Quax <mmueller@live-modules.org>
|
||||
2009-2016 Victor Ananjevsky <ananasik@gmail.com>
|
||||
2011 Yannou90 <windaube.non.merci@gmail.com>
|
||||
2012 Wei-Lun Chao <chaoweilun@gmail.com>
|
||||
2013-2017 Gustavo Soares de Lima <gustavo@logicus.com.br>
|
||||
2013 Slavko <linux@slavino.sk>
|
||||
2017 Angela Fernanda Ferreira <angela@logicus.com.br>
|
||||
License: GPL-3
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2015-2017 Gustavo Soares de Lima <gustavo@logicus.com.br>
|
||||
License: BSD-3-Clause
|
||||
|
||||
License: GPL-3
|
||||
This package is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
.
|
||||
This package is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||
.
|
||||
On Debian systems, the complete text of the GNU General
|
||||
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
|
||||
|
||||
License: BSD-3-Clause
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
3. Neither the name of the MIPS Technologies, Inc., nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY THE MIPS TECHNOLOGIES, INC. ``AS IS'' AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE MIPS TECHNOLOGIES, INC. BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGE.
|
1
debian/docs
vendored
Normal file
1
debian/docs
vendored
Normal file
@ -0,0 +1 @@
|
||||
NEWS
|
13
debian/rules
vendored
Executable file
13
debian/rules
vendored
Executable file
@ -0,0 +1,13 @@
|
||||
#!/usr/bin/make -f
|
||||
#DH_VERBOSE = 1
|
||||
|
||||
export DEB_CFLAGS_MAINT_APPEND = -fgnu89-inline
|
||||
|
||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
export V=1
|
||||
|
||||
%:
|
||||
dh $@ --with autoreconf
|
||||
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- --with-gtk=gtk3 --enable-html --enable-gio --enable-spell --enable-sourceview --enable-icon-browser
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
2
debian/watch
vendored
Normal file
2
debian/watch
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
version=4
|
||||
http://sf.net/yad-dialog/yad-(.*)\.tar\.xz
|
20
main.sh
Executable file
20
main.sh
Executable file
@ -0,0 +1,20 @@
|
||||
# Add dependent repositories
|
||||
wget -q -O - https://ppa.pika-os.com/key.gpg | sudo apt-key add -
|
||||
add-apt-repository https://ppa.pika-os.com
|
||||
add-apt-repository ppa:pikaos/pika
|
||||
add-apt-repository ppa:kubuntu-ppa/backports
|
||||
# Clone Upstream
|
||||
https://github.com/v1cont/yad
|
||||
cp -rvf ./debian ./yad
|
||||
cd ./yad
|
||||
|
||||
# Get build deps
|
||||
apt-get build-dep ./ -y
|
||||
|
||||
# Build package
|
||||
dpkg-buildpackage
|
||||
|
||||
# Move the debs to output
|
||||
cd ../
|
||||
mkdir -p ./output
|
||||
mv ./*.deb ./output/
|
11
release.sh
Executable file
11
release.sh
Executable file
@ -0,0 +1,11 @@
|
||||
# Sign the packages
|
||||
dpkg-sig --sign builder ./output/*.deb
|
||||
|
||||
# Pull down existing ppa repo db files etc
|
||||
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
|
||||
|
||||
# Add the new package to the repo
|
||||
reprepro -V --basedir ./output/repo/ includedeb kinetic ./output/*.deb
|
||||
|
||||
# Push the updated ppa repo to the server
|
||||
rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/
|
Loading…
Reference in New Issue
Block a user