Skip to content

Commit

Permalink
New version
Browse files Browse the repository at this point in the history
  • Loading branch information
maoschanz committed Jul 25, 2019
1 parent 6f1fb87 commit 66d7bf6
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 27 deletions.
16 changes: 8 additions & 8 deletions data/com.github.maoschanz.drawing.appdata.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
<p>First stable release, including a few basic tools.</p>
</description>
</release>
<!-- <release version="0.4" date="2019-07-28"> -->
<!-- <description> -->
<!-- <p>Version 0.4 introduces a new icon, numerous bug fixes, an improved -->
<!-- toolbar for the "legacy" and "toolbar only" layouts, an action for creating -->
<!-- an image from the clipboard content, a smoother pencil, and various new -->
<!-- translations.</p> -->
<!-- </description> -->
<!-- </release> -->
<release version="0.4.1" date="2019-07-25">
<description>
<p>Version 0.4 introduces a new icon, numerous bug fixes, an improved
toolbar for the "legacy" and "toolbar only" layouts, an action for creating
an image from the clipboard content, a smoother pencil, and various new
translations.</p>
</description>
</release>
</releases>

<!-- This is just my name, do not translate it. -->
Expand Down
37 changes: 21 additions & 16 deletions deb_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,21 @@ VERSION="0.4"
previous_dir=`pwd`

# mettre en place la structure à la con voulue par les scripts de debian
DIR_NAME=$PACKAGE_NAME'_'$VERSION
mkdir -p /tmp/building-dir/$DIR_NAME
cp -r build-aux /tmp/building-dir/$DIR_NAME
cp -r data /tmp/building-dir/$DIR_NAME
cp -r debian /tmp/building-dir/$DIR_NAME
cp -r help /tmp/building-dir/$DIR_NAME
cp -r po /tmp/building-dir/$DIR_NAME
cp -r src /tmp/building-dir/$DIR_NAME
cp meson.build /tmp/building-dir/$DIR_NAME
cd /tmp/building-dir/
tar -Jcvf $PACKAGE_NAME.orig.tar.xz $DIR_NAME
cd /tmp/building-dir/$DIR_NAME
DIR_NAME=$PACKAGE_NAME'-'$VERSION
FILE_NAME=$PACKAGE_NAME'_'$VERSION
DIR_PATH=/tmp/building-dir
mkdir -p $DIR_PATH/$DIR_NAME/
cp -r build-aux $DIR_PATH/$DIR_NAME/
cp -r data $DIR_PATH/$DIR_NAME/
cp -r debian $DIR_PATH/$DIR_NAME/
cp -r help $DIR_PATH/$DIR_NAME/
cp -r po $DIR_PATH/$DIR_NAME/
cp -r src $DIR_PATH/$DIR_NAME/
cp meson.build $DIR_PATH/$DIR_NAME/
cd $DIR_PATH/
tar -Jcvf $FILE_NAME.orig.tar.xz $DIR_NAME
# tar -Jcvf $PACKAGE_NAME.orig.tar.xz $DIR_NAME
cd $DIR_PATH/$DIR_NAME/

# création des fichiers exigés
## création de 'control' à partir des appdata
Expand All @@ -29,18 +32,20 @@ cd /tmp/building-dir/$DIR_NAME
# TODO

## création de 'compat'
echo '10' > /tmp/building-dir/$DIR_NAME/debian/compat
echo '10' > $DIR_PATH/$DIR_NAME/debian/compat

# le truc qui chie des fichiers supplémentaires pour la construction
dh_make -i
dh_make -i -y

# la construction
debuild -i -us -uc -b

# récupérer le paquet dans /tmp
cp /tmp/building-dir/drawing_0.4_amd64.deb $previous_dir
cp $DIR_PATH/*.deb $previous_dir

# nettoyage
# rm -r /tmp/building-dir
ls $DIR_PATH
ls $DIR_PATH/$DIR_NAME
rm -r $DIR_PATH
cd $previous_dir

9 changes: 7 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
drawing (0.4) unstable; urgency=low
drawing (0.4.1) unstable; urgency=low

* Read the appstream data if you want an actual changelog
* New icon
* Numerous bug fixes
* Improved toolbar for the "legacy" and "toolbar only" layouts
* Action for creating an image from the clipboard content
* Smoother pencil
* Various new translations

-- Romain F. T. <[email protected]> Mon, 22 Jul 2019 00:18:12 +0100
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
project(
'drawing',
version: '0.4.0',
version: '0.4.1',
meson_version: '>= 0.50.0',
)

Expand Down

0 comments on commit 66d7bf6

Please sign in to comment.