* [devel] gear подход второй
@ 2006-10-17 14:26 Igor Zubkov
2006-10-17 14:40 ` Damir Shayhutdinov
2006-10-17 14:56 ` Alexey Tourbin
0 siblings, 2 replies; 6+ messages in thread
From: Igor Zubkov @ 2006-10-17 14:26 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 5876 bytes --]
Привет, Всем!
Решился на второй подход к gear.
Итак, я взял bbdock и решил на нём поэксперементировать. Вот так:
[icesik@iceberg GIT]$ ls
bbdock-0.2.6-alt1.1.src.rpm bbdock-0.2.6-alt1.src.rpm
bbdock-0.2.7-alt1.src.rpm
[icesik@iceberg GIT]$ pwd
/mnt/gentoo/1/temp/GIT
[icesik@iceberg GIT]$ mkdir bbdock
[icesik@iceberg GIT]$ cp bbdock-0.2.* bbdock
[icesik@iceberg GIT]$ cd bbdock
[icesik@iceberg bbdock]$ git-init-db
defaulting to local storage area
[icesik@iceberg bbdock]$ gear-srpmimport bbdock-0.2.6-alt1.src.rpm
Committing initial tree 16191357917798ca4b4a9e65f711ba16b5c0b118
gear-srpmimport:
Imported /mnt/gentoo/1/temp/GIT/bbdock/bbdock-0.2.6-alt1.src.rpm
gear-srpmimport: Created master branch
[icesik@iceberg bbdock]$ gear-srpmimport bbdock-0.2.6-alt1.1.src.rpm
gear-srpmimport:
Imported /mnt/gentoo/1/temp/GIT/bbdock/bbdock-0.2.6-alt1.1.src.rpm
Updating from 9c63fc6675a0b1720d29b4b353fdd503332e885c to
0c7420522386570f3e21abfca02c553aa7f9211a
Fast forward
bbdock.spec | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
gear-srpmimport: Merged srpms branch into master branch
[icesik@iceberg bbdock]$ gear-srpmimport bbdock-0.2.
bbdock-0.2.6-alt1.1.src.rpm bbdock-0.2.6-alt1.src.rpm
bbdock-0.2.7-alt1.src.rpm
[icesik@iceberg bbdock]$ gear-srpmimport bbdock-0.2.7-alt1.src.rpm
gear-srpmimport:
Imported /mnt/gentoo/1/temp/GIT/bbdock/bbdock-0.2.7-alt1.src.rpm
Updating from 0c7420522386570f3e21abfca02c553aa7f9211a to
5bdaf4c8ed966dbebca3fff9901425a83b1a9cb4
Fast forward
.gear-rules | 3
bbdock-0.2.7-alt-gcc4.patch | 12
bbdock.spec | 28
bbdock/COPYING | 1
bbdock/Makefile | 6
bbdock/Makefile.am | 3
bbdock/Makefile.in | 578 +++
bbdock/aclocal.m4 | 850 ++++
bbdock/config.h.in | 160 +
bbdock/configure | 7896
+++++++++++++++++++++++++++++++++++++
bbdock/configure.ac | 118 +
bbdock/depcomp | 530 ++
bbdock/install-sh | 323 ++
bbdock/missing | 360 ++
bbdock/{ => src}/Dock.cc | 0
bbdock/{ => src}/Dock.hh | 0
bbdock/{ => src}/Icon.cc | 0
bbdock/{ => src}/Icon.hh | 0
bbdock/src/Makefile.am | 16
bbdock/src/Makefile.in | 420 ++
bbdock/{ => src}/Render.cc | 0
bbdock/{ => src}/Render.hh | 0
bbdock/{ => src}/Slot.cc | 1
bbdock/{ => src}/Slot.hh | 0
bbdock/{ => src}/WindowManager.cc | 0
bbdock/{ => src}/WindowManager.hh | 0
bbdock/{ => src}/main.cc | 0
27 files changed, 11289 insertions(+), 16 deletions(-)
create mode 100644 bbdock-0.2.7-alt-gcc4.patch
create mode 100644 bbdock/AUTHORS
create mode 100644 bbdock/COPYING
create mode 100644 bbdock/ChangeLog
delete mode 100644 bbdock/Makefile
create mode 100644 bbdock/Makefile.am
create mode 100644 bbdock/Makefile.in
create mode 100644 bbdock/NEWS
create mode 100644 bbdock/aclocal.m4
create mode 100644 bbdock/config.h.in
create mode 100755 bbdock/configure
create mode 100644 bbdock/configure.ac
create mode 100755 bbdock/depcomp
create mode 100755 bbdock/install-sh
create mode 100755 bbdock/missing
rename bbdock/{Dock.cc => src/Dock.cc} (100%)
rename bbdock/{Dock.hh => src/Dock.hh} (100%)
rename bbdock/{Icon.cc => src/Icon.cc} (100%)
rename bbdock/{Icon.hh => src/Icon.hh} (100%)
create mode 100644 bbdock/src/Makefile.am
create mode 100644 bbdock/src/Makefile.in
rename bbdock/{Render.cc => src/Render.cc} (100%)
rename bbdock/{Render.hh => src/Render.hh} (100%)
rename bbdock/{Slot.cc => src/Slot.cc} (100%)
rename bbdock/{Slot.hh => src/Slot.hh} (100%)
rename bbdock/{WindowManager.cc => src/WindowManager.cc} (100%)
rename bbdock/{WindowManager.hh => src/WindowManager.hh} (100%)
rename bbdock/{main.cc => src/main.cc} (100%)
gear-srpmimport: Merged srpms branch into master branch
[icesik@iceberg bbdock]$ vim bbdock.spec
[icesik@iceberg bbdock]$ add_changelog bbdock.spec
[icesik@iceberg bbdock]$ vim bbdock.spec
[icesik@iceberg bbdock]$ git diff
diff --git a/bbdock.spec b/bbdock.spec
index 210af1c..633a0c5 100644
--- a/bbdock.spec
+++ b/bbdock.spec
@@ -1,6 +1,6 @@
Name: bbdock
Version: 0.2.7
-Release: alt1
+Release: alt2
Summary: BBDock displays one or more PNG icons in the BlackBox/FluxBox slit
from wich you can launch applications
License: GPL
@@ -41,6 +41,10 @@ are reading this on a display with a col
%_bindir/bbdock
%changelog
+* Tue Oct 17 2006 Igor Zubkov <icesik@altlinux.ru> 0.2.7-alt2
+- import to gear
+- rebuild with new gcc 4.1 and glibc 2.5
+
* Wed Oct 11 2006 Igor Zubkov <icesik@altlinux.org> 0.2.7-alt1
- 0.2.6 -> 0.2.7
- buildreq
[icesik@iceberg bbdock]$ gear-commit
#
# Changed but not updated:
# (use git-update-index to mark for commit)
#
# modified: bbdock.spec
#
#
# Untracked files:
# (use "git add" to add to commit)
#
# bbdock-0.2.6-alt1.1.src.rpm
# bbdock-0.2.6-alt1.src.rpm
# bbdock-0.2.7-alt1.src.rpm
# bbdock.spec~
nothing to commit
[icesik@iceberg bbdock]$ rm bbdock*.src.rpm
rm: удалить обычный файл `bbdock-0.2.6-alt1.1.src.rpm'? y
rm: удалить обычный файл `bbdock-0.2.6-alt1.src.rpm'? y
rm: удалить обычный файл `bbdock-0.2.7-alt1.src.rpm'? y
[icesik@iceberg bbdock]$ gear-commit
#
# Changed but not updated:
# (use git-update-index to mark for commit)
#
# modified: bbdock.spec
#
#
# Untracked files:
# (use "git add" to add to commit)
#
# bbdock.spec~
nothing to commit
[icesik@iceberg bbdock]$
Ну и что дальше?
--
Paradise Lost - Accept The Pain
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] gear подход второй
2006-10-17 14:26 [devel] gear подход второй Igor Zubkov
@ 2006-10-17 14:40 ` Damir Shayhutdinov
2006-10-17 14:51 ` Igor Zubkov
2006-10-17 14:56 ` Alexey Tourbin
1 sibling, 1 reply; 6+ messages in thread
From: Damir Shayhutdinov @ 2006-10-17 14:40 UTC (permalink / raw)
To: ALT Devel discussion list
> Ну и что дальше?
gear --commit --rpmbuild -- rpm -bb
Или
git-commit -a
gear --rpmbuild -- rpm -bb
вместо --rpmbuild можно юзать --hasher, тогда rpm -bb надо заменять на
hsh <workdir>.
После чего в хэшере или системе соберется пакет. Его можно поставить и
потестить. Если все работает, надо залить на git.alt
Например, это можно сделать вот так:
ssh git.alt git-init-db bbdock (создает репозиторий на git.alt)
git-repack -a -d
git-push --all git.alt:packages/bbdock
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] gear подход второй
2006-10-17 14:40 ` Damir Shayhutdinov
@ 2006-10-17 14:51 ` Igor Zubkov
2006-10-17 15:16 ` Damir Shayhutdinov
2006-10-17 16:14 ` Michael Shigorin
0 siblings, 2 replies; 6+ messages in thread
From: Igor Zubkov @ 2006-10-17 14:51 UTC (permalink / raw)
To: ALT Devel discussion list
[-- Attachment #1: Type: text/plain, Size: 2996 bytes --]
В сообщении от 17 октября 2006 17:40 Damir Shayhutdinov написал(a):
> > Ну и что дальше?
>
> gear --commit --rpmbuild -- rpm -bb
Вах! Слава Аллаху! Пакет собрался.
Только, уточнение, если охота проставить --target то это делается вот так:
gear --commit --rpmbuild -- rpmbuild -bb --target=i586
> Или
> git-commit -a
> gear --rpmbuild -- rpm -bb
>
> вместо --rpmbuild можно юзать --hasher, тогда rpm -bb надо заменять на
> hsh <workdir>.
> После чего в хэшере или системе соберется пакет. Его можно поставить и
> потестить. Если все работает, надо залить на git.alt
>
> Например, это можно сделать вот так:
>
> ssh git.alt git-init-db bbdock (создает репозиторий на git.alt)
> git-repack -a -d
> git-push --all git.alt:packages/bbdock
Хорошо, сделал.
[icesik@iceberg bbdock]$ ssh git.alt git-init-db bbdock
[icesik@iceberg bbdock]$ git-repack -a -d
Generating pack...
Done counting 45 objects.
Deltifying 45 objects.
100% (45/45) done
Writing 45 objects.
100% (45/45) done
Total 45, written 45 (delta 8), reused 0 (delta 0)
Pack pack-1aac706558def7d4460286957f0d67b76c1715cf created.
[icesik@iceberg bbdock]$ git tag -l
0.2.6-alt1
0.2.6-alt1.1
0.2.7-alt1
[icesik@iceberg bbdock]$ git-push --all git.alt:packages/bbdock
updating 'refs/heads/srpms'
from 0000000000000000000000000000000000000000
to 5bdaf4c8ed966dbebca3fff9901425a83b1a9cb4
updating 'refs/heads/master'
from 0000000000000000000000000000000000000000
to 5bdaf4c8ed966dbebca3fff9901425a83b1a9cb4
updating 'refs/tags/0.2.6-alt1'
from 0000000000000000000000000000000000000000
to 157f5c020541be5f5b5450b7d266ca55e841e034
updating 'refs/tags/0.2.6-alt1.1'
from 0000000000000000000000000000000000000000
to 60ee5db033febb440ac766f6d51152981b9a64b4
updating 'refs/tags/0.2.7-alt1'
from 0000000000000000000000000000000000000000
to 47cdf65feaebb5781398da41c2f8c141ada4583d
Generating pack...
Done counting 45 objects.
Deltifying 45 objects.
100% (45/45) done
Total 45, written 45 (delta 8), reused 45 (delta 8)
Unpacking 45 objects
refs/heads/srpms: 0000000000000000000000000000000000000000 ->
5bdaf4c8ed966dbebca3fff9901425a83b1a9cb4
refs/heads/master: 0000000000000000000000000000000000000000 ->
5bdaf4c8ed966dbebca3fff9901425a83b1a9cb4
### Pushing tag `0.2.6-alt1' to the masses
refs/tags/0.2.6-alt1: 0000000000000000000000000000000000000000 ->
157f5c020541be5f5b5450b7d266ca55e841e034
### Pushing tag `0.2.6-alt1.1' to the masses
refs/tags/0.2.6-alt1.1: 0000000000000000000000000000000000000000 ->
60ee5db033febb440ac766f6d51152981b9a64b4
### Pushing tag `0.2.7-alt1' to the masses
refs/tags/0.2.7-alt1: 0000000000000000000000000000000000000000 ->
47cdf65feaebb5781398da41c2f8c141ada4583d
[icesik@iceberg bbdock]$
Вот только tag 0.2.7-alt2 я здесь не вижу.
[icesik@iceberg bbdock]$ git tag -l
0.2.6-alt1
0.2.6-alt1.1
0.2.7-alt1
[icesik@iceberg bbdock]$
Я что-то пропустил?
--
Paradise Lost - Don't Belong
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] gear подход второй
2006-10-17 14:26 [devel] gear подход второй Igor Zubkov
2006-10-17 14:40 ` Damir Shayhutdinov
@ 2006-10-17 14:56 ` Alexey Tourbin
1 sibling, 0 replies; 6+ messages in thread
From: Alexey Tourbin @ 2006-10-17 14:56 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 515 bytes --]
On Tue, Oct 17, 2006 at 05:26:14PM +0300, Igor Zubkov wrote:
> [icesik@iceberg bbdock]$ gear-commit
> #
> # Changed but not updated:
> # (use git-update-index to mark for commit)
> #
> # modified: bbdock.spec
> #
> #
> # Untracked files:
> # (use "git add" to add to commit)
> #
> # bbdock-0.2.6-alt1.1.src.rpm
> # bbdock-0.2.6-alt1.src.rpm
> # bbdock-0.2.7-alt1.src.rpm
> # bbdock.spec~
> nothing to commit
git-commit -a
Он же индекс по умолчанию коммитит.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] gear подход второй
2006-10-17 14:51 ` Igor Zubkov
@ 2006-10-17 15:16 ` Damir Shayhutdinov
2006-10-17 16:14 ` Michael Shigorin
1 sibling, 0 replies; 6+ messages in thread
From: Damir Shayhutdinov @ 2006-10-17 15:16 UTC (permalink / raw)
To: ALT Devel discussion list
> Вот только tag 0.2.7-alt2 я здесь не вижу.
> [icesik@iceberg bbdock]$ git tag -l
> 0.2.6-alt1
> 0.2.6-alt1.1
> 0.2.7-alt1
> [icesik@iceberg bbdock]$
>
> Я что-то пропустил?
Очевидно, пропустил создание tag :)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] gear подход второй
2006-10-17 14:51 ` Igor Zubkov
2006-10-17 15:16 ` Damir Shayhutdinov
@ 2006-10-17 16:14 ` Michael Shigorin
1 sibling, 0 replies; 6+ messages in thread
From: Michael Shigorin @ 2006-10-17 16:14 UTC (permalink / raw)
To: ALT Devel discussion list
On Tue, Oct 17, 2006 at 05:51:16PM +0300, Igor Zubkov wrote:
> Только, уточнение, если охота проставить --target то это
> делается вот так: gear --commit --rpmbuild -- rpmbuild -bb
> --target=i586
$ grep cpu ~/.rpmmacros
%_target_cpu i586
$ cat ~/.hasher/config
def_target=i586
Брось куда на wiki по части начальной настройки rpm/hasher,
если ещё нет?
> Вот только tag 0.2.7-alt2 я здесь не вижу.
> [icesik@iceberg bbdock]$ git tag -l
> 0.2.6-alt1
> 0.2.6-alt1.1
> 0.2.7-alt1
> [icesik@iceberg bbdock]$
> Я что-то пропустил?
git tag -a 0.2.7-alt2
(-a -- аннотированный, иначе git.alt зарубит push)
Кстати, проверь, какой тег собрался.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-10-17 16:14 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-17 14:26 [devel] gear подход второй Igor Zubkov
2006-10-17 14:40 ` Damir Shayhutdinov
2006-10-17 14:51 ` Igor Zubkov
2006-10-17 15:16 ` Damir Shayhutdinov
2006-10-17 16:14 ` Michael Shigorin
2006-10-17 14:56 ` Alexey Tourbin
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git