forked from valr/awf
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
60 changed files
with
562 additions
and
359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
applications/awf-gtk2.desktop usr/share/applications | ||
icons-gtk2/* usr/share/icons/hicolor | ||
locale-awf-gtk2/* usr/share/locale | ||
usr/bin/awf-gtk2 usr/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
applications/awf-gtk3.desktop usr/share/applications | ||
icons-gtk3/* usr/share/icons/hicolor | ||
locale-awf-gtk3/* usr/share/locale | ||
usr/bin/awf-gtk3 usr/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
applications/awf-gtk4.desktop usr/share/applications | ||
icons-gtk4/* usr/share/icons/hicolor | ||
locale-awf-gtk4/* usr/share/locale | ||
usr/bin/awf-gtk4 usr/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
awf-gtk (2.6.0-1) experimental; urgency=low | ||
|
||
* New upstream version | ||
|
||
-- Fabrice Creuzot <code@luigifab.fr> Thu, 09 Sep 2021 20:00:00 +0000 | ||
|
||
awf-gtk (2.5.0-5) experimental; urgency=low | ||
|
||
* Initial debian package release (Closes: #959434) | ||
|
||
-- Fabrice Creuzot <code@luigifab.fr> Wed, 07 Jul 2021 20:00:00 +0000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
Source: awf-gtk | ||
Section: x11 | ||
Priority: optional | ||
Maintainer: Fabrice Creuzot <code@luigifab.fr> | ||
Build-Depends: debhelper-compat (= 13), libgtk2.0-dev, libgtk-3-dev, libgtk-4-dev | ||
Rules-Requires-Root: no | ||
Standards-Version: 4.5.1 | ||
Homepage: https://github.com/luigifab/awf-extended | ||
Vcs-Browser: https://github.com/luigifab/awf-extended | ||
Vcs-Git: https://github.com/luigifab/awf-extended.git | ||
|
||
Package: awf-gtk2 | ||
Architecture: any | ||
Depends: ${shlibs:Depends}, ${misc:Depends} | ||
Description: theme preview application for GTK 2 | ||
A widget factory is a theme preview application for GTK. It displays the | ||
various widget types provided by GTK in a single window allowing to see | ||
the visual effect of the applied theme. | ||
. | ||
This package provides the GTK 2 version. | ||
|
||
Package: awf-gtk3 | ||
Architecture: any | ||
Depends: ${shlibs:Depends}, ${misc:Depends} | ||
Description: theme preview application for GTK 3 | ||
A widget factory is a theme preview application for GTK. It displays the | ||
various widget types provided by GTK in a single window allowing to see | ||
the visual effect of the applied theme. | ||
. | ||
This package provides the GTK 3 version. | ||
|
||
Package: awf-gtk4 | ||
Architecture: any | ||
Depends: ${shlibs:Depends}, ${misc:Depends} | ||
Description: theme preview application for GTK 4 | ||
A widget factory is a theme preview application for GTK. It displays the | ||
various widget types provided by GTK in a single window allowing to see | ||
the visual effect of the applied theme. | ||
. | ||
This package provides the GTK 4 version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Source: https://github.com/luigifab/awf-extended | ||
Upstream-Contact: Fabrice Creuzot <code@luigifab.fr> | ||
|
||
Files: * | ||
Copyright: | ||
2011-2016 Valère Monseur (valr) <valere.monseur@ymail.com> | ||
2020-2021 Fabrice Creuzot (luigifab) <code@luigifab.fr> | ||
License: GPL-3+ | ||
|
||
License: GPL-3+ | ||
This program 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 <https://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". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
#!/bin/bash | ||
# debian: sudo apt install dpkg-dev devscripts build-essential dh-make dh-autoreconf intltool libgtk2.0-dev libgtk-3-dev libgtk-4-dev | ||
|
||
|
||
cd "$(dirname "$0")" | ||
version="2.6.0" | ||
|
||
|
||
rm -rf builder/ | ||
mkdir builder | ||
|
||
# copy to a tmp directory | ||
if [ true ]; then | ||
cd builder | ||
wget https://github.com/luigifab/awf-extended/archive/v$version/awf-extended-$version.tar.gz | ||
tar xzf awf-extended-$version.tar.gz | ||
cd .. | ||
else | ||
temp=awf-extended-$version | ||
mkdir /tmp/$temp | ||
cp -r ../* /tmp/$temp/ | ||
rm -rf /tmp/$temp/*/builder/ | ||
|
||
mv /tmp/$temp builder/ | ||
cp /usr/share/common-licenses/GPL-3 builder/$temp/LICENSE | ||
|
||
cd builder/ | ||
tar czf $temp.tar.gz $temp | ||
cd .. | ||
fi | ||
rm builder/awf-extended-$version/debian | ||
|
||
# create packages for debian and ubuntu | ||
for serie in experimental; do | ||
|
||
if [ $serie = "experimental" ]; then | ||
# for ubuntu | ||
cp -a builder/awf-extended-$version/ builder/awf-extended-$version+src/ | ||
# debian only | ||
cd builder/awf-extended-$version/ | ||
else | ||
# ubuntu only | ||
cp -a builder/awf-extended-$version+src/ builder/awf-extended-$version+$serie/ | ||
cd builder/awf-extended-$version+$serie/ | ||
fi | ||
|
||
dh_make -s -y -f ../awf-extended-$version.tar.gz -p awf-gtk | ||
|
||
rm -f debian/*ex debian/*EX debian/README* debian/*doc* debian/deb.sh | ||
mkdir debian/upstream | ||
cp debian-gtk/* debian/ | ||
mv debian/metadata debian/upstream/metadata | ||
|
||
|
||
|
||
if [ $serie = "experimental" ]; then | ||
dpkg-buildpackage -us -uc | ||
else | ||
# debhelper: experimental:13 hirsute:13 focal:12 bionic:9 xenial:9 trusty:9 | ||
if [ $serie = "focal" ]; then | ||
sed -i 's/debhelper-compat (= 13)/debhelper-compat (= 12)/g' debian/control | ||
fi | ||
if [ $serie = "bionic" ]; then | ||
sed -i 's/dh $@/dh $@ --with autoreconf/g' debian/rules | ||
sed -i 's/debhelper-compat (= 13)/debhelper-compat (= 9), dh-autoreconf/g' debian/control | ||
fi | ||
if [ $serie = "xenial" ]; then | ||
sed -i 's/dh $@/dh $@ --with autoreconf/g' debian/rules | ||
sed -i 's/debhelper-compat (= 13)/debhelper (>= 9), dh-autoreconf/g' debian/control | ||
sed -i ':a;N;$!ba;s/Rules-Requires-Root: no\n//g' debian/control | ||
echo 9 > debian/compat | ||
fi | ||
if [ $serie = "trusty" ]; then | ||
sed -i 's/dh $@/dh $@ --with autotools_dev,autoreconf/g' debian/rules | ||
sed -i 's/override_dh_update_autotools_config/override_dh_autotools-dev_updateconfig/g' debian/rules | ||
sed -i 's/debhelper-compat (= 13)/debhelper (>= 9), autotools-dev, dh-autoreconf/g' debian/control | ||
sed -i ':a;N;$!ba;s/Rules-Requires-Root: no\n//g' debian/control | ||
echo 9 > debian/compat | ||
fi | ||
sed -i 's/experimental/'$serie'/g' debian/changelog | ||
sed -i 's/-1) /-1+'$serie') /' debian/changelog | ||
dpkg-buildpackage -us -uc -ui -d -S | ||
fi | ||
echo "===========================" | ||
cd .. | ||
|
||
if [ $serie = "experimental" ]; then | ||
# debian only | ||
debsign awf-gtk_$version-*.changes | ||
echo "===========================" | ||
lintian -EviIL +pedantic awf-gtk_$version-*.deb | ||
else | ||
# ubuntu only | ||
debsign awf-gtk_$version*+$serie*source.changes | ||
fi | ||
echo "===========================" | ||
cd .. | ||
done | ||
|
||
ls -dltrh builder/*.deb builder/*.changes | ||
echo "===========================" | ||
|
||
# cleanup | ||
rm -rf builder/*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Bug-Database: https://github.com/luigifab/awf-extended/issues/ | ||
Bug-Submit: https://github.com/luigifab/awf-extended/issues/new | ||
Documentation: https://github.com/luigifab/awf-extended | ||
Repository: https://github.com/luigifab/awf-extended.git | ||
Repository-Browse: https://github.com/luigifab/awf-extended | ||
Screenshots: https://raw.githubusercontent.com/luigifab/awf-extended/levelup/images/gtk3.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/usr/bin/make -f | ||
|
||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all | ||
|
||
%: | ||
dh $@ | ||
|
||
override_dh_update_autotools_config: | ||
#sed -i 's/ -eq 2/ -eq -1/g' configure.ac | ||
touch NEWS | ||
touch AUTHORS | ||
touch README | ||
touch ChangeLog | ||
mv LICENSE COPYING | ||
#for gtk in "gtk3" "gtk4"; do \ | ||
for gtk in "gtk2" "gtk3" "gtk4"; do \ | ||
cp -ar icons/ icons-$$gtk/; \ | ||
for file in icons-$$gtk/*/*/awf.png; do mv $$file `dirname $$file`/awf-$$gtk.png; done; \ | ||
for file in icons-$$gtk/*/*/awf.svg; do mv $$file `dirname $$file`/awf-$$gtk.svg; done; \ | ||
for file in src/po/*.po; do \ | ||
code=`basename "$$file" .po`; \ | ||
mkdir -p locale-awf-$$gtk/$$code/LC_MESSAGES/; \ | ||
msgfmt src/po/$$code.po -o locale-awf-$$gtk/$$code/LC_MESSAGES/awf-$$gtk.mo; \ | ||
done; \ | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
version=4 | ||
https://github.com/luigifab/awf-extended/releases .*awf-([0-9.]+)\.tar\.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.