r10 - in /packages/flasm/trunk: debian/ debian/README.Debian
debian/changelog debian/compat debian/control debian/copyright debian/dirs
debian/docs debian/flasm.1 debian/flasm.copyright debian/install
debian/manpages debian/rules debian/watch flasm.c
pabs-guest at users.alioth.debian.org
pabs-guest at users.alioth.debian.org
Fri Jun 2 09:06:59 UTC 2006
Author: pabs-guest
Date: Fri Jun 2 09:06:56 2006
New Revision: 10
URL: http://svn.debian.org/wsvn/?sc=1&rev=10
Log:
Load newtrunk into packages/flasm/trunk.
Added:
packages/flasm/trunk/debian/
packages/flasm/trunk/debian/README.Debian
packages/flasm/trunk/debian/changelog
packages/flasm/trunk/debian/compat
packages/flasm/trunk/debian/control
packages/flasm/trunk/debian/copyright
packages/flasm/trunk/debian/dirs
packages/flasm/trunk/debian/docs
packages/flasm/trunk/debian/flasm.1
packages/flasm/trunk/debian/flasm.copyright
packages/flasm/trunk/debian/install
packages/flasm/trunk/debian/manpages
packages/flasm/trunk/debian/rules (with props)
packages/flasm/trunk/debian/watch
Modified:
packages/flasm/trunk/flasm.c
Added: packages/flasm/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/packages/flasm/trunk/debian/README.Debian?rev=10&op=file
==============================================================================
--- packages/flasm/trunk/debian/README.Debian (added)
+++ packages/flasm/trunk/debian/README.Debian Fri Jun 2 09:06:56 2006
@@ -1,0 +1,8 @@
+flasm for Debian
+----------------
+
+The debian version of flasm uses /etc/flasm.ini and does not search in
+the same directory as itself for the config file.
+
+ -- Paul Wise <pabs3 at bonedaddy.net>, Mon, 24 Apr 2006 19:00:45 +0800
+
Added: packages/flasm/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/packages/flasm/trunk/debian/changelog?rev=10&op=file
==============================================================================
--- packages/flasm/trunk/debian/changelog (added)
+++ packages/flasm/trunk/debian/changelog Fri Jun 2 09:06:56 2006
@@ -1,0 +1,6 @@
+flasm (1.6-1) unstable; urgency=low
+
+ * Initial release Closes: #351429
+
+ -- Paul Wise <pabs3 at bonedaddy.net> Tue, 4 Apr 2006 18:55:16 +0800
+
Added: packages/flasm/trunk/debian/compat
URL: http://svn.debian.org/wsvn/packages/flasm/trunk/debian/compat?rev=10&op=file
==============================================================================
--- packages/flasm/trunk/debian/compat (added)
+++ packages/flasm/trunk/debian/compat Fri Jun 2 09:06:56 2006
@@ -1,0 +1,1 @@
+4
Added: packages/flasm/trunk/debian/control
URL: http://svn.debian.org/wsvn/packages/flasm/trunk/debian/control?rev=10&op=file
==============================================================================
--- packages/flasm/trunk/debian/control (added)
+++ packages/flasm/trunk/debian/control Fri Jun 2 09:06:56 2006
@@ -1,0 +1,26 @@
+Source: flasm
+Section: utils
+Priority: extra
+Maintainer: Paul Wise <pabs3 at bonedaddy.net>
+Build-Depends: debhelper (>= 4.0.0), flex, bison, gperf, zlib1g-dev
+Standards-Version: 3.6.2
+
+Package: flasm
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: assembler and disassembler for Flash (SWF) bytecode
+ Flasm disassembles your entire SWF including all the timelines and
+ events. Looking at disassembly, you learn how the Flash compiler works.
+ You can also do some optimization on the disassembled code by hand or
+ adjust the code as you wish. Flasm can then re-assemble the bytecode
+ into a new SWF.
+ .
+ It is also possible to embed Flasm actions in your ActionScript, making
+ optimization of large projects more comfortable.
+ .
+ Flasm is not a decompiler. What you get is the human readable
+ representation of SWF bytecode, not ActionScript source.
+ .
+ Flasm can also compress and decompress SWF files.
+ .
+ Homepage: http://flasm.sourceforge.net/
Added: packages/flasm/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/packages/flasm/trunk/debian/copyright?rev=10&op=file
==============================================================================
--- packages/flasm/trunk/debian/copyright (added)
+++ packages/flasm/trunk/debian/copyright Fri Jun 2 09:06:56 2006
@@ -1,0 +1,59 @@
+This package was debianized by Paul Wise <pabs3 at bonedaddy.net> on
+Tue, 4 Apr 2006 18:55:16 +0800.
+
+It was downloaded from http://flasm.sourceforge.net/
+
+Copyright:
+
+ Copyright (c) 2001 Opaque Industries, (c) 2002-2005 Igor Kogan, (c) 2005 Wang Zhen
+
+ memwatch:
+
+ Copyright (C) 1992-2003 Johan Lindh
+
+License:
+
+Redistribution and use in source and binary forms, with or without modification, are
+permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice, this list
+ of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice, this
+ list of conditions and the following disclaimer in the documentation and/or other
+ materials provided with the distribution.
+ * Neither the name of the Opaque Industries nor the names of its contributors may
+ be used to endorse or promote products derived from this software without specific
+ prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
+SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
+WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Macromedia(r) and Flash(tm) are trademarks or registered trademarks of Macromedia, Inc.
+in the United States and/or other countries.
+
+Macromedia(r) does not sponsor, affiliate, or endorse this product and/or services.
+
+ memwatch:
+
+ MEMWATCH 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.
+
+ MEMWATCH 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 with
+ your Debian GNU/Linux system, in /usr/share/common-licenses/GPL. if not,
+ write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+ Boston, MA 02111-1307 USA or visit http://www.gnu.org/licenses/gpl.html
+
Added: packages/flasm/trunk/debian/dirs
URL: http://svn.debian.org/wsvn/packages/flasm/trunk/debian/dirs?rev=10&op=file
==============================================================================
--- packages/flasm/trunk/debian/dirs (added)
+++ packages/flasm/trunk/debian/dirs Fri Jun 2 09:06:56 2006
@@ -1,0 +1,2 @@
+etc
+usr/bin
Added: packages/flasm/trunk/debian/docs
URL: http://svn.debian.org/wsvn/packages/flasm/trunk/debian/docs?rev=10&op=file
==============================================================================
--- packages/flasm/trunk/debian/docs (added)
+++ packages/flasm/trunk/debian/docs Fri Jun 2 09:06:56 2006
@@ -1,0 +1,3 @@
+flasm.html
+classic.css
+logo.gif
Added: packages/flasm/trunk/debian/flasm.1
URL: http://svn.debian.org/wsvn/packages/flasm/trunk/debian/flasm.1?rev=10&op=file
==============================================================================
--- packages/flasm/trunk/debian/flasm.1 (added)
+++ packages/flasm/trunk/debian/flasm.1 Fri Jun 2 09:06:56 2006
@@ -1,0 +1,14 @@
+.TH FLASM 1 "April 4, 2006"
+.SH NAME
+flasm \- A Flash (SWF) bytecode assembler/disassembler.
+.SH SYNOPSIS
+.B flasm
+.RI [options] " filename"
+.SH DESCRIPTION
+\fBflasm\fP is a program for assembling and disassembling Flash (SWF) bytecode.
+.SH SEE ALSO
+Please see flasm.html for more documentation.
+.SH AUTHOR
+.PP
+This manual page was written by Paul Wise <pabs3 at bonedaddy.net>,
+and placed in the public domain.
Added: packages/flasm/trunk/debian/flasm.copyright
URL: http://svn.debian.org/wsvn/packages/flasm/trunk/debian/flasm.copyright?rev=10&op=file
==============================================================================
--- packages/flasm/trunk/debian/flasm.copyright (added)
+++ packages/flasm/trunk/debian/flasm.copyright Fri Jun 2 09:06:56 2006
@@ -1,0 +1,37 @@
+This package was debianized by Paul Wise <pabs3 at bonedaddy.net> on
+Tue, 4 Apr 2006 18:55:16 +0800.
+
+It was downloaded from http://flasm.sourceforge.net/
+
+Copyright:
+
+ Copyright (c) 2001 Opaque Industries, (c) 2002-2005 Igor Kogan, (c) 2005 Wang Zhen
+
+License:
+
+Redistribution and use in source and binary forms, with or without modification, are
+permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice, this list
+ of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice, this
+ list of conditions and the following disclaimer in the documentation and/or other
+ materials provided with the distribution.
+ * Neither the name of the Opaque Industries nor the names of its contributors may
+ be used to endorse or promote products derived from this software without specific
+ prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
+SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
+WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Macromedia(r) and Flash(tm) are trademarks or registered trademarks of Macromedia, Inc.
+in the United States and/or other countries.
+
+Macromedia(r) does not sponsor, affiliate, or endorse this product and/or services.
Added: packages/flasm/trunk/debian/install
URL: http://svn.debian.org/wsvn/packages/flasm/trunk/debian/install?rev=10&op=file
==============================================================================
--- packages/flasm/trunk/debian/install (added)
+++ packages/flasm/trunk/debian/install Fri Jun 2 09:06:56 2006
@@ -1,0 +1,2 @@
+flasm.ini etc
+flasm usr/bin
Added: packages/flasm/trunk/debian/manpages
URL: http://svn.debian.org/wsvn/packages/flasm/trunk/debian/manpages?rev=10&op=file
==============================================================================
--- packages/flasm/trunk/debian/manpages (added)
+++ packages/flasm/trunk/debian/manpages Fri Jun 2 09:06:56 2006
@@ -1,0 +1,1 @@
+debian/flasm.1
Added: packages/flasm/trunk/debian/rules
URL: http://svn.debian.org/wsvn/packages/flasm/trunk/debian/rules?rev=10&op=file
==============================================================================
--- packages/flasm/trunk/debian/rules (added)
+++ packages/flasm/trunk/debian/rules Fri Jun 2 09:06:56 2006
@@ -1,0 +1,52 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+ $(MAKE) CFLAGS="$(CFLAGS)"
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ -$(MAKE) clean
+ rm -f build-stamp keywords.c flasm
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ dh_install
+ chmod a-x debian/flasm/etc/flasm.ini
+
+binary-indep: build install
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs CHANGES.TXT
+ dh_installdocs
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
Propchange: packages/flasm/trunk/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: packages/flasm/trunk/debian/watch
URL: http://svn.debian.org/wsvn/packages/flasm/trunk/debian/watch?rev=10&op=file
==============================================================================
--- packages/flasm/trunk/debian/watch (added)
+++ packages/flasm/trunk/debian/watch Fri Jun 2 09:06:56 2006
@@ -1,0 +1,2 @@
+version=3
+http://www.nowrap.de/flasm.html .*/download/flasm([\d])([\d.]*)src\.zip debian uupdate
Modified: packages/flasm/trunk/flasm.c
URL: http://svn.debian.org/wsvn/packages/flasm/trunk/flasm.c?rev=10&op=diff
==============================================================================
--- packages/flasm/trunk/flasm.c (original)
+++ packages/flasm/trunk/flasm.c Fri Jun 2 09:06:56 2006
@@ -1468,18 +1468,8 @@
int k;
if ((iniFile = fopen("flasm.ini", "r")) == NULL) {
- /* flasm.ini not found in current directory, look at executable's path */
- int pathlen = strlen(exepath);
- char inipath[pathlen + 10], *inipathptr;
- if (exepath == NULL || *exepath == '\0')
- return -1;
- strcpy(inipath, exepath);
- inipathptr = inipath + pathlen;
- while (*inipathptr != '\\' && *inipathptr != '/' && *inipathptr != ':' && inipathptr>=inipath)
- inipathptr--;
-
- strcpy(inipathptr + 1, "flasm.ini");
- if ((iniFile = fopen(inipath, "r")) == NULL)
+ /* flasm.ini not found in current directory, look at config path */
+ if ((iniFile = fopen("/etc/flasm.ini", "r")) == NULL)
return -1;
}
More information about the pkg-flash-devel
mailing list