Debianized #331

Closed
xaionaro wants to merge 2 commits from master into master
xaionaro commented 2017-01-26 16:21:45 +01:00 (Migrated from github.com)
No description provided.
buhtz commented 2017-02-01 09:42:03 +01:00 (Migrated from github.com)

I would like to test the deb-file on my Debian unstable (64bit) if someone could build it.

I would like to test the deb-file on my Debian unstable (64bit) if someone could build it.
jekader commented 2017-02-01 09:49:54 +01:00 (Migrated from github.com)

I already merged code for debian packaging a few years ago as #156
Could you please merge your changes on top of that code in the packaging directory if you think this is still needed?

I already merged code for debian packaging a few years ago as #156 Could you please merge your changes on top of that code in the packaging directory if you think this is still needed?
xaionaro commented 2017-02-01 09:51:28 +01:00 (Migrated from github.com)

Ok, sorry. Usually directory "debian/" is on the top.

Ok, sorry. Usually directory "debian/" is on the top.
xaionaro commented 2017-02-01 09:59:08 +01:00 (Migrated from github.com)

Well, my packaging works for me. @jekader, yours -- doesn't :(

dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building cool-retro-term using existing ./cool-retro-term_0.9.orig.tar.gz
dpkg-source: warning: file cool-retro-term/qmltermwidget/lib/HistorySearch.cpp has no final newline (either original or modified version)
dpkg-source: warning: file cool-retro-term/qmltermwidget/lib/README has no final newline (either original or modified version)
dpkg-source: warning: file cool-retro-term/qmltermwidget/lib/SearchBar.cpp has no final newline (either original or modified version)
dpkg-source: error: cannot represent change to qmltermwidget/lib/designer/qtermwidget.png: binary file contents changed
dpkg-source: error: add qmltermwidget/lib/designer/qtermwidget.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: error: unrepresentable changes to source
dpkg-buildpackage: error: dpkg-source -b cool-retro-term gave error exit status 2

(updated error message)

Well, my packaging works for me. @jekader, yours -- doesn't :( ``` dpkg-source: info: using source format '3.0 (quilt)' dpkg-source: info: building cool-retro-term using existing ./cool-retro-term_0.9.orig.tar.gz dpkg-source: warning: file cool-retro-term/qmltermwidget/lib/HistorySearch.cpp has no final newline (either original or modified version) dpkg-source: warning: file cool-retro-term/qmltermwidget/lib/README has no final newline (either original or modified version) dpkg-source: warning: file cool-retro-term/qmltermwidget/lib/SearchBar.cpp has no final newline (either original or modified version) dpkg-source: error: cannot represent change to qmltermwidget/lib/designer/qtermwidget.png: binary file contents changed dpkg-source: error: add qmltermwidget/lib/designer/qtermwidget.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball dpkg-source: error: unrepresentable changes to source dpkg-buildpackage: error: dpkg-source -b cool-retro-term gave error exit status 2 ``` (updated error message)
xaionaro commented 2017-02-01 10:11:00 +01:00 (Migrated from github.com)

On the other hand, never mind... No time to recheck everything right. Sorry.

On the other hand, never mind... No time to recheck everything right. Sorry.
buhtz commented 2017-02-01 10:54:09 +01:00 (Migrated from github.com)

And now can someone provide a deb-file?

And now can someone provide a deb-file?
xtaran commented 2017-02-01 12:15:36 +01:00 (Migrated from github.com)

On Wed, Feb 01, 2017 at 12:51:32AM -0800, Okunev Yu Dmitry wrote:

Ok, sorry.

No need to be sorry.

Usually directory "debian/" is on the top.

Exactly. And if it's anywhere else, don't expect people to find it as
Debian's tools only expect the "debian/" directory on top-level and
won't work if it's not on top-level.

On Wed, Feb 01, 2017 at 12:51:32AM -0800, Okunev Yu Dmitry wrote: > Ok, sorry. No need to be sorry. > Usually directory "debian/" is on the top. Exactly. And if it's anywhere else, don't expect people to find it as Debian's tools _only_ expect the "debian/" directory on top-level and won't work if it's not on top-level.
xaionaro commented 2017-02-01 15:34:55 +01:00 (Migrated from github.com)

And now can someone provide a deb-file?

Here's just built debs for debian/sid:

ftp://mirror.mephi.ru/other/2017/cool-retro-term-sid/

apt-get install git debhelper qmlscene qt5-qmake qt5-default qtdeclarative5-dev qml-module-qtquick-controls qml-module-qtgraphicaleffects qml-module-qtquick-dialogs qml-module-qtquick-localstorage qml-module-qtquick-window2
git clone https://github.com/xaionaro/cool-retro-term
cd cool-retro-term
git submodule update --init --recursive
tar --exclude-vcs -czvf ../cool-retro-term_1.0.0.orig.tar.gz -C .. cool-retro-term
dpkg-buildpackage -rfakeroot

P.S.: I checked, old "debian/" works, too:

apt-get install git debhelper qmlscene qt5-qmake qt5-default qtdeclarative5-dev qml-module-qtquick-controls qml-module-qtgraphicaleffects qml-module-qtquick-dialogs qml-module-qtquick-localstorage qml-module-qtquick-window2
git clone https://github.com/Swordfish90/cool-retro-term
cd cool-retro-term
mv packaging/debian .
git submodule update --init --recursive
tar --exclude-vcs -czvf ../cool-retro-term_0.9.orig.tar.gz -C .. cool-retro-term
dpkg-buildpackage -rfakeroot
> And now can someone provide a deb-file? Here's just built debs for debian/sid: [ftp://mirror.mephi.ru/other/2017/cool-retro-term-sid/](ftp://mirror.mephi.ru/other/2017/cool-retro-term-sid/) ``` apt-get install git debhelper qmlscene qt5-qmake qt5-default qtdeclarative5-dev qml-module-qtquick-controls qml-module-qtgraphicaleffects qml-module-qtquick-dialogs qml-module-qtquick-localstorage qml-module-qtquick-window2 git clone https://github.com/xaionaro/cool-retro-term cd cool-retro-term git submodule update --init --recursive tar --exclude-vcs -czvf ../cool-retro-term_1.0.0.orig.tar.gz -C .. cool-retro-term dpkg-buildpackage -rfakeroot ``` P.S.: I checked, old "debian/" works, too: ``` apt-get install git debhelper qmlscene qt5-qmake qt5-default qtdeclarative5-dev qml-module-qtquick-controls qml-module-qtgraphicaleffects qml-module-qtquick-dialogs qml-module-qtquick-localstorage qml-module-qtquick-window2 git clone https://github.com/Swordfish90/cool-retro-term cd cool-retro-term mv packaging/debian . git submodule update --init --recursive tar --exclude-vcs -czvf ../cool-retro-term_0.9.orig.tar.gz -C .. cool-retro-term dpkg-buildpackage -rfakeroot ```
buhtz commented 2017-02-01 20:14:08 +01:00 (Migrated from github.com)

Yes it is working! :D

Yes it is working! :D

Pull request closed

Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seeseemelk/cool-retro-term#331