[devel] gear подход второй

Igor Zubkov =?iso-8859-1?q?icesik_=CE=C1_mail=2Eru?=
Вт Окт 17 18:26:14 MSD 2006


Привет, Всем!

Решился на второй подход к 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
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип     : application/pgp-signature
Размер  : 189 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20061017/d7291cbd/attachment-0001.bin>


Подробная информация о списке рассылки Devel