--- sagcad-0.9.14.orig/debian/changelog +++ sagcad-0.9.14/debian/changelog @@ -0,0 +1,84 @@ +sagcad (0.9.14-0ubuntu6) noble; urgency=medium + + * No-change rebuild for CVE-2024-3094 + + -- William Grant Mon, 01 Apr 2024 18:57:21 +1100 + +sagcad (0.9.14-0ubuntu5) noble; urgency=medium + + * No-change rebuild against libglib2.0-0t64 + + -- Steve Langasek Fri, 08 Mar 2024 06:53:29 +0000 + +sagcad (0.9.14-0ubuntu4) bionic; urgency=high + + * No change rebuild to pick up -fPIE compiler default + + -- Balint Reczey Tue, 03 Apr 2018 12:42:29 +0000 + +sagcad (0.9.14-0ubuntu3) trusty; urgency=low + + * Use autotools-dev dh helper to fix arm64 FTBFS. + + -- Logan Rosen Sun, 27 Oct 2013 03:13:28 -0400 + +sagcad (0.9.14-0ubuntu2) raring; urgency=low + + * Added missing math lib to link, fixing FTBFS. + + -- Daniel T Chen Wed, 17 Apr 2013 16:39:11 -0400 + +sagcad (0.9.14-0ubuntu1) karmic; urgency=low + + * New upstream release. + * Switch to dh7 & quilt: + - debian/control: build-depends on debhelper (>= 7.0.13), quilt (>= 0.46-7), + drop cdbs and autotools-dev + - debian/rules use rules.tiny with --with quilt. + * debian/compat: bump to 7. + * debian/control: + - bump Standards-Version to 3.8.1 + - add missing ${misc:Depends}. + * debian/patches: + - series: added + - 01-Makefiles_disable-chmod-777.patch: dropped, not needed + - update all patches with a description and the correct level. + + -- Lionel Le Folgoc Sat, 13 Jun 2009 13:44:12 +0200 + +sagcad (0.9.12-0ubuntu1) hardy; urgency=low + + * New upstream release. (LP: #58912) + * debian/fixrpath: dropped. + * debian/rules: drop tarball.mk and gnome.mk. + * debian/patches: + - 01-Makefiles_disable-chmod-777.patch, + 02-global_Browser-fix.patch, + 03-configure_docdir-exampledir-fix.patch: updated. + * debian/control: + - refresh b-ds + - bump Standards-Version to 3.7.3 + - add a Homepage field + - set sagcad-doc Section to doc. + + -- Lionel Le Folgoc Sat, 26 Jan 2008 16:06:42 +0100 + +sagcad (0.9.6-0ubuntu3) hardy; urgency=low + + * Rebuild for libglib1.2 -> libglib1.2ldbl transition. + + -- Luke Yelavich Wed, 05 Dec 2007 10:38:00 +1100 + +sagcad (0.9.6-0ubuntu2) gutsy; urgency=low + + * debian/control: Update maintainer fields according to debian- + maintainer-field spec. + + -- Martin Pitt Wed, 15 Aug 2007 08:09:59 +0000 + +sagcad (0.9.6-0ubuntu1) edgy; urgency=low + + * Initial release. + + -- Lionel Le Folgoc (mr_pouit) Thu, 03 Aug 2006 22:26:44 +0200 + --- sagcad-0.9.14.orig/debian/compat +++ sagcad-0.9.14/debian/compat @@ -0,0 +1 @@ +7 --- sagcad-0.9.14.orig/debian/control +++ sagcad-0.9.14/debian/control @@ -0,0 +1,47 @@ +Source: sagcad +Section: graphics +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Lionel Le Folgoc +Build-Depends: debhelper (>= 7.0.13), quilt (>= 0.46-7), libgtk2.0-dev (>= 2.8.0), autotools-dev +Standards-Version: 3.8.1 +Homepage: http://sagcad.sourceforge.jp/ + +Package: sagcad +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ruby +Description: CAD/CAM of 2D program + Easy to use 2D Computer Aided Drafting and Modelling application with the + following features: + * 2D CAD + * Opening/Saving/Creating of files + * Undo/Redo + * Font use Qcad cxf Font + * Cut/Copy/Paste + * SGY/DXF/IGES/NC output + * SGY/DXF/NC input + * ps(PostScript) file output + * CAM + * Ellipse and polyline + +Package: sagcad-doc +Section: doc +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: sagcad +Description: sagCAD documentation + Easy to use 2D Computer Aided Drafting and Modelling application with the + following features: + * 2D CAD + * Opening/Saving/Creating of files + * Undo/Redo + * Font use Qcad cxf Font + * Cut/Copy/Paste + * SGY/DXF/IGES/NC output + * SGY/DXF/NC input + * ps(PostScript) file output + * CAM + * Ellipse and polyline + . + This package contains a set of documents and tutorial web pages which helps + you to learn and practise with sagCAD system. --- sagcad-0.9.14.orig/debian/copyright +++ sagcad-0.9.14/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Lionel Le Folgoc (mr_pouit) on +Thu, 20 Jul 2006 19:18:46 +0200. + +It was downloaded from http://sourceforge.jp/projects/sagcad/files/ + +Upstream Author: Yutaka Sagiya + +Copyright: + Copyright (C) 1998-2003 by Yutaka Sagiya + +German translation: + Copyright (C) 2003 by Thomas Formella + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- sagcad-0.9.14.orig/debian/patches/02-global_Browser-fix.patch +++ sagcad-0.9.14/debian/patches/02-global_Browser-fix.patch @@ -0,0 +1,21 @@ +Do not harcode the browser. + +diff -Nur -x '*.orig' -x '*~' sagcad-0.9.12/src/global.c sagcad-0.9.12.new/src/global.c +--- sagcad-0.9.12/src/global.c 2007-11-08 04:47:28.000000000 +0100 ++++ sagcad-0.9.12.new/src/global.c 2008-01-26 15:19:31.000000000 +0100 +@@ -71,13 +71,13 @@ + /* 設定ファイルのパスの取得 */ + GetConfigPath(sagcad_user.ConfigPath); + +- strcpy(sagcad_user.BrowserPath, "netscape"); ++ strcpy(sagcad_user.BrowserPath, "x-www-browser"); + home_of_user(home); + strcpy(sagcad_user.CadPath, home); + strcpy(sagcad_user.KeepCadPath, home); + strcpy(sagcad_user.NcPath, "CADPATH"); + +- strcpy(sagcad_user.browser_command, "mozilla %s"); ++ strcpy(sagcad_user.browser_command, "x-www-browser %s"); + strcpy(sagcad_user.editor_command, "gvim %s"); + strcpy(sagcad_user.print_command, "lpr %s"); + --- sagcad-0.9.14.orig/debian/patches/03-configure_docdir-exampledir-fix.patch +++ sagcad-0.9.14/debian/patches/03-configure_docdir-exampledir-fix.patch @@ -0,0 +1,29 @@ +Correctly install data files to /usr/share/sagcad and not /usr/sagcad. + +diff -Nur -x '*.orig' -x '*~' sagcad-0.9.12/configure sagcad-0.9.12.new/configure +--- sagcad-0.9.12/configure 2007-11-08 04:48:51.000000000 +0100 ++++ sagcad-0.9.12.new/configure 2008-01-26 15:54:48.000000000 +0100 +@@ -6031,19 +6031,19 @@ + + + # --- DOCDIR --- +-DOCDIR='${prefix}/${PACKAGE}/doc' ++DOCDIR='${prefix}/${DATADIRNAME}/doc/${PACKAGE}/html' + + + # --- FONTDIR --- +-FONTDIR='${prefix}/${PACKAGE}/font' ++FONTDIR='${prefix}/${DATADIRNAME}/${PACKAGE}/font' + + + # --- TOOLDIR --- +-TOOLDIR='${prefix}/${PACKAGE}/tool' ++TOOLDIR='${prefix}/${DATADIRNAME}/${PACKAGE}/tool' + + + # --- EXAMPLEDIR --- +-EXAMPLEDIR='${prefix}/${PACKAGE}/example' ++EXAMPLEDIR='${prefix}/${DATADIRNAME}/doc/${PACKAGE}/examples' + + + --- sagcad-0.9.14.orig/debian/patches/04-rb_scripts-fix.patch +++ sagcad-0.9.14/debian/patches/04-rb_scripts-fix.patch @@ -0,0 +1,47 @@ +Put the shebang on the first line… + +diff -urN sagcad-0.9.12/tools/ruby/diagram.rb sagcad-0.9.12.new/tools/ruby/diagram.rb +--- sagcad-0.9.12/tools/ruby/diagram.rb 2006-07-22 16:57:27.000000000 +0200 ++++ sagcad-0.9.12.new/tools/ruby/diagram.rb 2006-07-22 17:30:43.000000000 +0200 +@@ -1,5 +1,3 @@ +-# +-# + #!/usr/bin/ruby + + # ==================================================================== +diff -urN sagcad-0.9.12/tools/ruby/ellipse_make.rb sagcad-0.9.12.new/tools/ruby/ellipse_make.rb +--- sagcad-0.9.12/tools/ruby/ellipse_make.rb 2006-07-22 16:57:27.000000000 +0200 ++++ sagcad-0.9.12.new/tools/ruby/ellipse_make.rb 2006-07-22 17:30:51.000000000 +0200 +@@ -1,5 +1,3 @@ +-# +-# + #!/usr/bin/ruby + + # +diff -urN sagcad-0.9.12/tools/ruby/sample_diagram.rb sagcad-0.9.12.new/tools/ruby/sample_diagram.rb +--- sagcad-0.9.12/tools/ruby/sample_diagram.rb 2006-07-22 16:57:27.000000000 +0200 ++++ sagcad-0.9.12.new/tools/ruby/sample_diagram.rb 2006-07-22 17:31:01.000000000 +0200 +@@ -1,5 +1,3 @@ +-# +-# + #!/usr/bin/ruby + + # +diff -urN sagcad-0.9.12/tools/ruby/square_make.rb sagcad-0.9.12.new/tools/ruby/square_make.rb +--- sagcad-0.9.12/tools/ruby/square_make.rb 2006-07-22 16:57:27.000000000 +0200 ++++ sagcad-0.9.12.new/tools/ruby/square_make.rb 2006-07-22 17:31:14.000000000 +0200 +@@ -1,5 +1,3 @@ +-# +-# + #!/usr/bin/ruby + + # +diff -urN sagcad-0.9.12/tools/ruby/test.rb sagcad-0.9.12.new/tools/ruby/test.rb +--- sagcad-0.9.12/tools/ruby/test.rb 2006-07-22 16:57:27.000000000 +0200 ++++ sagcad-0.9.12.new/tools/ruby/test.rb 2006-07-22 17:31:23.000000000 +0200 +@@ -1,5 +1,3 @@ +-# +-# + #!/usr/bin/ruby + + # --- sagcad-0.9.14.orig/debian/patches/05-libm_underlinkage.patch +++ sagcad-0.9.14/debian/patches/05-libm_underlinkage.patch @@ -0,0 +1,26 @@ +Index: sagcad-0.9.14/src/Makefile.am +=================================================================== +--- sagcad-0.9.14.orig/src/Makefile.am 2007-11-06 23:03:02.000000000 -0500 ++++ sagcad-0.9.14/src/Makefile.am 2013-04-17 16:47:56.883602143 -0400 +@@ -92,7 +92,7 @@ + endif + + +-sagcad_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) $(SAGCAD_RES) ++sagcad_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) $(SAGCAD_RES) -lm + + AM_CPPFLAGS = \ + -DPACKAGE=\""$(PACKAGE)"\" \ +Index: sagcad-0.9.14/src/Makefile.in +=================================================================== +--- sagcad-0.9.14.orig/src/Makefile.in 2007-11-12 17:46:37.000000000 -0500 ++++ sagcad-0.9.14/src/Makefile.in 2013-04-17 16:48:07.747992263 -0400 +@@ -299,7 +299,7 @@ + + @HAVE_WINDRES_FALSE@SAGCAD_RES = + @HAVE_WINDRES_TRUE@SAGCAD_RES = sagcad.res +-sagcad_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) $(SAGCAD_RES) ++sagcad_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) $(SAGCAD_RES) -lm + AM_CPPFLAGS = \ + -DPACKAGE=\""$(PACKAGE)"\" \ + -DVERSION=\""$(VERSION)"\" \ --- sagcad-0.9.14.orig/debian/patches/series +++ sagcad-0.9.14/debian/patches/series @@ -0,0 +1,4 @@ +05-libm_underlinkage.patch +02-global_Browser-fix.patch +03-configure_docdir-exampledir-fix.patch +04-rb_scripts-fix.patch --- sagcad-0.9.14.orig/debian/rules +++ sagcad-0.9.14/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f + +override_dh_install: + install -D -m 644 -o root -g root $(CURDIR)/sagcad.png \ + $(CURDIR)/debian/tmp/usr/share/pixmaps/sagcad.png + install -D -m 644 -o root -g root debian/sagcad.desktop \ + $(CURDIR)/debian/tmp/usr/share/applications/sagcad.desktop + dh_install --list-missing + +override_dh_installman: + dh_installman -psagcad debian/sagcad.1 + +%: + dh --with quilt,autotools_dev $@ --- sagcad-0.9.14.orig/debian/sagcad-doc.install +++ sagcad-0.9.14/debian/sagcad-doc.install @@ -0,0 +1,5 @@ +usr/share/doc/sagcad/examples/*.sgy +usr/share/doc/sagcad/html/de/img/*.png +usr/share/doc/sagcad/html/de/*.html +usr/share/doc/sagcad/html/ja/img/*.png +usr/share/doc/sagcad/html/ja/*.html --- sagcad-0.9.14.orig/debian/sagcad.1 +++ sagcad-0.9.14/debian/sagcad.1 @@ -0,0 +1,28 @@ +.TH SAGCAD 1 "July 20, 2006" +.SH NAME +.PP +sagcad \- CAD/CAM of 2D program +.SH SYNOPSIS +.PP +.B sagcad +.SH DESCRIPTION +.PP +This manual page documents briefly the +.B sagcad +command +.PP +This manual page was written for the \fBDebian\fP distribution +because the original program does not have a manual page. +.PP +\fBsagcad\fP is a CAD (Computer Aided Drafting) and CAM (Computer Aided Modelling) System. +With sagcad you can easily construct and change drawings with ISO-texts and many other features. +.SH OPTIONS +.PP +This command doesn't understand any commandline parameters. + +.SH AUTHOR +.PP +sagcad was written by Yutaka Sagiya . +.PP +This manual page was written by Lionel Le Folgoc (mr_pouit) , +for the Debian project (but may be used by others). --- sagcad-0.9.14.orig/debian/sagcad.desktop +++ sagcad-0.9.14/debian/sagcad.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Type=Application +Name=SagCAD +GenericName=CAD/CAM system +GenericName[fr]=Système de CAO/DAO +Comment=Draw and create +Comment[fr]=Dessinez et concevez +Categories=GTK;Graphics; +Exec=sagcad +Icon=sagcad +StartupNotify=true +Terminal=false --- sagcad-0.9.14.orig/debian/sagcad.install +++ sagcad-0.9.14/debian/sagcad.install @@ -0,0 +1,7 @@ +usr/bin/sagcad +usr/share/applications +usr/share/locale/* +usr/share/pixmaps +usr/share/sagcad/font/*.cxf +usr/share/sagcad/tool/*.ops +usr/share/sagcad/tool/ruby/*.rb --- sagcad-0.9.14.orig/debian/watch +++ sagcad-0.9.14/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://sf.net/sagcad/sagcad-(.*)\.tar\.gz