Тут показані розбіжності між вибраною ревізією та поточною версією сторінки.
pcb [2014/03/13 20:45] wombat створено |
pcb [2014/03/14 12:39] (поточний) wombat [Сборка DEB-пакета] |
||
---|---|---|---|
Рядок 1: | Рядок 1: | ||
+ | ====== PCB ====== | ||
+ | ===== Сборка DEB-пакета ===== | ||
+ | |||
+ | wget -cS --content-disposition 'http://sourceforge.net/projects/pcb/files/pcb/pcb-20110918/pcb-20110918.tar.gz/download' | ||
+ | cp pcb-20110918.tar.gz pcb_20110918.orig.tar.gz | ||
+ | tar xvf pcb-20110918.tar.gz | ||
+ | cd pcb-20110918 | ||
+ | mkdir debian | ||
+ | mcedit debian/control | ||
+ | |||
+ | <file "control"> | ||
+ | Source: pcb | ||
+ | Maintainer: Vladimir Smolyar <wombat@wombat.org.ua> | ||
+ | Section: electronics | ||
+ | Priority: optional | ||
+ | Homepage: http://pcb.gpleda.org/ | ||
+ | Build-Depends: debhelper (>= 9), perl (>= 5.8.1), intltool (>= 0.35.0), flex, bison, libdbus-1-dev, desktop-file-utils, shared-mime-info, tk, libgtk2.0-dev, libgd2-xpm-dev | ||
+ | |||
+ | Package: pcb-gtk-noopengl | ||
+ | #Version: 20110918-1 | ||
+ | Architecture: i386 | ||
+ | Depends: libc6 (>= 2.11), libcairo2 (>= 1.2.4), libdbus-1-3 (>= 1.1.1), libgd2-xpm (>= 2.0.36~rc1~dfsg), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.28.0), libgtk2.0-0 (>= 2.18.0) | ||
+ | Replaces: pcb-common, pcb-gtk, pcb-lesstif | ||
+ | Breaks: pcb-common, pcb-gtk, pcb-lesstif | ||
+ | Description: printed circuit board (pcb) design program - GTK+ interface | ||
+ | PCB is an interactive printed circuit board editor for the X11 window | ||
+ | system. PCB includes a rats nest feature, design rule checking, and can | ||
+ | provide industry standard RS-274-X (Gerber), NC drill, and centroid data | ||
+ | (X-Y data) output for use in the board fabrication and assembly process. | ||
+ | PCB offers high end features such as an autorouter and trace optimizer | ||
+ | which can tremendously reduce layout time. | ||
+ | . | ||
+ | This package contains the GTK+ user-interface for pcb. | ||
+ | </file> | ||
+ | |||
+ | dch --create -v 20110918-1 --package pcb-gtk-noopengl | ||
+ | |||
+ | <file "debian/changelog"> | ||
+ | pcb (20110918-1) UNRELEASED; urgency=low | ||
+ | |||
+ | * Initial release. (Closes: #XXXXXX) | ||
+ | |||
+ | -- Vladimir Smolyar <wombat@wombat.org.ua> Thu, 13 Mar 2014 19:57:17 +0200 | ||
+ | </file> | ||
+ | |||
+ | mcedit debian/rules | ||
+ | |||
+ | <file "debian/rules"> | ||
+ | #!/usr/bin/make -f | ||
+ | %: | ||
+ | dh $@ | ||
+ | |||
+ | override_dh_auto_configure: | ||
+ | dh_auto_configure -- --disable-gl --enable-coord64 --with-gui=gtk --with-x \ | ||
+ | --enable-gif --enable-jpeg --enable-png --disable-doc | ||
+ | </file> | ||
+ | |||
+ | debuild -us -uc |